/* ============ 基础 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 14px;
  color: #333;
  background: #f0f0f0;
  -webkit-font-smoothing: antialiased;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; border: 0; }
h1, h2, h3, h4 { font-weight: 400; }

/* 自适应：固定 1912x953 设计稿，按窗口等比缩放铺满，并居顶 */
.viewport {
  position: relative; width: 1912px; min-height: 953px; flex: none; z-index: 1;
  transform: scale(var(--s, 1)); transform-origin: top center;
}

/* 流体背景层：不随内容缩放，铺满整个窗口，向左右及向下无限延伸 */
.bg-top  { position: fixed; left: 0; top: 0; width: 100%; height: 56px; background: #4285f4; z-index: 0; pointer-events: none; }
.bg-page { position: fixed; left: 0; top: 56px; width: 100%; height: calc(100vh - 56px); background: #f7f8fa; z-index: 0; pointer-events: none; }
.bg-white{ position: fixed; left: 574px; top: 72px; width: 974px; height: calc(100vh - 72px); background: #fff; z-index: 0; pointer-events: none; border-radius: 4px 4px 0 0; }
/* 申报页：整页白底，无灰侧、无独立白卡列 */
body.pa .bg-page  { background: #fff; }
body.pa .bg-white { display: none; }

/* ============ 顶栏 ============ */
.topbar { position: absolute; left: 0; top: 0; width: 1912px; height: 56px; background: #4285f4; z-index: 50; }
.topbar .logo { position: absolute; left: 26px; top: 3px; width: 264px; height: 46px; }
.topbar .sh { position: absolute; left: 296px; top: 10px; width: 86px; height: 33px; }
.topbar .user { position: absolute; left: 1790px; top: 5px; height: 48px; width: 122px; }
.topbar .avatar { position: absolute; left: 0; top: 0; width: 48px; height: 48px; }
.topbar .uname { position: absolute; left: 52px; top: 0; height: 48px; line-height: 48px; color: #fff; font-size: 14px; }
.topbar .caret { position: absolute; left: 86px; top: 22px; width: 8px; height: 4px; }

/* ============ 地方特色 (1.png) ============ */
.page-feature { position: absolute; left: 0; top: 56px; width: 1912px; height: 897px; background: transparent; }

.feat-side { position: absolute; left: 373px; top: 35px; width: 201px; }
.feat-side-title { text-align: center; font-size: 14px; line-height: 20px; color: #1a1a1a; font-weight: 700; }

.feat-tabs { margin-top: 19px; }
.feat-tabs li {
  height: 36px; margin-bottom: 10px; line-height: 36px;
  background: #e6e8ea; border-radius: 18px 0 0 18px; color: #333; font-size: 14px;
  padding-left: 22px;
}
.feat-tabs li.active { background: #4386f5; color: #fff; }

.feat-card { position: absolute; left: 574px; top: 16px; width: 974px; }
.feat-search {
  position: absolute; right: 10px; top: 20px; width: 300px; height: 32px;
  border: 1px solid #dcdcdc; border-radius: 2px; background: #fff;
}
.feat-search input {
  position: absolute; left: 12px; top: 0; width: 256px; height: 30px; border: 0; outline: 0;
  font-size: 14px; color: #333; background: transparent;
}
.feat-search input::placeholder { color: #999; }
.feat-search .ico { position: absolute; right: 12px; top: 7px; width: 16px; height: 15px; background: url(../images/icon-search.png) no-repeat center/contain; }

.fg-title { position: absolute; left: 10px; font-size: 14px; line-height: 20px; color: #4285f4; }
.fg-line { position: absolute; left: 10px; width: 954px; height: 1px; background: #dddddd; }
.fg-item { position: absolute; left: 10px; font-size: 14px; line-height: 20px; color: #1a1a1a; }
.fg-item.two { width: 470px; }
.fg-item a:hover { color: #4285f4; }

.fg1-title { top: 77px; }    .fg1-line { top: 103px; }   .fg1-item { top: 120px; }
.fg2-title { top: 173px; }   .fg2-line { top: 199px; }   .fg2-item { top: 216px; }
.fg2-item2 { left: 332px; }
.fg3-title { top: 269px; }   .fg3-line { top: 295px; }   .fg3-item { top: 312px; }

/* ============ 申报信息查询 (2.png) ============ */
.page-apply { position: absolute; left: 0; top: 56px; width: 1912px; min-height: 897px; background: #fff; }

.toolbar { position: absolute; left: 0; top: 0; width: 1912px; height: 60px; }
.toolbar .arrow { position: absolute; left: 367px; top: 76px; font-size: 20px; line-height: 20px; color: #333; }
.toolbar .back { position: absolute; left: 395px; top: 76px; font-size: 20px; line-height: 20px; color: #333; }
.toolbar .crumb { position: absolute; left: 455px; top: 79px; font-size: 14px; line-height: 16px; color: #4285f4; }
.toolbar .sep { position: absolute; left: 489px; top: 79px; font-size: 14px; line-height: 16px; color: #999; }
.toolbar .cur { position: absolute; left: 505px; top: 79px; font-size: 14px; line-height: 16px; color: #333; }

.qform { position: absolute; left: 137px; top: 136px; width: 1557px; }
.qrow { display: flex; }
.qitem { width: 519px; height: 53px; padding-top: 10px; display: flex; align-items: flex-start; }
.qitem .lab { width: 90px; text-align: right; font-size: 14px; line-height: 32px; color: #666; }
.qitem .lab .req { color: #f00; margin-right: 2px; }
.qitem .ctl {
  width: 170px; height: 32px; margin-left: 10px;
  border: 1px solid #dcdcdc; border-radius: 2px; background: #fff; font-size: 14px; color: #333;
  display: flex; align-items: center; padding-left: 9px; position: relative; cursor: pointer;
}
.qitem .ctl .val { color: #333; }
.qitem .ctl .ph { color: #ccc; }
.qitem .ctl input {
  border: 0; outline: 0; width: 120px; font-size: 14px; color: #333; background: transparent;
}
.qitem .ctl input::placeholder { color: #ccc; }
.qitem .ctl .chev { position: absolute; right: 10px; top: 7px; width: 12px; height: 8px; background: url(../images/icon-chev.png) no-repeat center/contain; }
.qitem .ctl .cal { position: absolute; right: 10px; top: 9px; width: 15px; height: 14px; background: url(../images/icon-cal.png) no-repeat center/contain; }

.btn-search {
  position: absolute; left: 1626px; top: 200px; width: 118px; height: 35px;
  border: 0; border-radius: 4px; background: #53acf3; color: #fff; font-size: 14px; cursor: pointer;
}
.note {
  position: absolute; left: 67px; top: 265px; width: 760px; font-size: 14px; line-height: 16px; color: #666;
}

/* 表格 */
.grid {
  position: absolute; left: 63px; top: 283px; table-layout: fixed;
  border-collapse: collapse; width: 1778px; font-size: 14px;
}
.grid th, .grid td { border: 1px solid #dfdfdf; padding: 0; font-weight: 400; }
.grid thead th { height: 37px; background: #f7f7f7; color: #333; text-align: center; }
.grid tbody td { height: 31px; text-align: left; color: #666; padding-left: 9px; }
.grid td.num, .grid td.txt { text-align: center; padding-left: 0; color: #333; }
.grid .op a { color: #0994dc; margin-right: 14px; }
.grid .op a:last-child { margin-right: 0; }
.grid th.c-idx { width: 50px; }
.grid th.c-proj { width: 414px; }
.grid th.c-name { width: 413px; }
.grid th.c-date { width: 100px; }
.grid th.c-type { width: 100px; }
.grid th.c-status { width: 100px; }
.grid th.c-from { width: 120px; }
.grid th.c-to { width: 120px; }
.grid th.c-amount { width: 120px; }
.grid th.c-op { width: 241px; }

/* ============ 日期选择器 ============ */
.datepicker {
  position: absolute; z-index: 160; display: none; width: 224px;
  background: #fff; border: 1px solid #d9d9d9; border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); padding: 8px 10px 10px;
  font-size: 12px; color: #333; user-select: none;
}
.datepicker.show { display: block; }
.datepicker .dp-head { display: flex; align-items: center; justify-content: space-between; height: 30px; margin-bottom: 4px; }
.datepicker .dp-prev, .datepicker .dp-next { cursor: pointer; width: 24px; height: 24px; line-height: 22px; text-align: center; color: #666; border-radius: 2px; font-size: 16px; }
.datepicker .dp-prev:hover, .datepicker .dp-next:hover { background: #f0f0f0; color: #333; }
.datepicker .dp-title { font-size: 13px; color: #333; font-weight: 600; }
.datepicker .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.datepicker .dp-wd { text-align: center; height: 26px; line-height: 26px; color: #999; }
.datepicker .dp-day { text-align: center; height: 26px; line-height: 26px; cursor: pointer; border-radius: 2px; }
.datepicker .dp-day:hover { background: #e8f2ff; color: #1a73e8; }
.datepicker .dp-day.dp-out { color: #c9c9c9; cursor: default; }
.datepicker .dp-day.dp-out:hover { background: none; color: #c9c9c9; }
.datepicker .dp-day.dp-today { color: #1a73e8; font-weight: 600; }

.float-ball { position: absolute; left: 1863px; top: 325px; width: 39px; height: 54px; }

/* ============ 弹窗 (3.png) ============ */
.modal-mask {
  position: fixed; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, .4); z-index: 300; display: none;
}
.modal-mask.show { display: block; }
.modal {
  position: fixed; left: 0; top: 0; width: 1524px; height: 372px;
  transform-origin: top left;
  background: #fff; border-radius: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.modal-hd {
  position: relative; height: 48px; border-bottom: 1px solid #e9e9e9;
}
.modal-hd h3 { position: absolute; left: 16px; top: 16px; font-size: 16px; line-height: 16px; color: #666; font-weight: 400; }
.modal-hd .close { position: absolute; right: 16px; top: 15px; width: 16px; height: 16px; cursor: pointer; color: #999; font-size: 18px; }

.modal-bd { padding: 31px 30px 30px; }
.modal-bd table { border-collapse: collapse; width: 100%; font-size: 14px; }
.modal-bd th, .modal-bd td { border: 1px solid #dfdfdf; padding: 0; }
.modal-bd thead th { background: #f7f7f7; height: 37px; color: #333; text-align: center; font-weight: 400; }
.modal-bd tbody td { height: 32px; text-align: left; color: #666; padding-left: 9px; }
.modal-bd th.name { width: 1097px; }
.modal-bd th.actions { width: 367px; }
.modal-bd .actions a { color: #0994dc; margin-right: 24px; }
.modal-bd .actions a:last-child { margin-right: 0; }
