body { font-family: system-ui, "Microsoft YaHei", sans-serif; margin: 0; padding: 0 16px 16px; }
.sticky-header { position: sticky; top: 0; z-index: 100; background: #fff; padding: 8px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 0; flex-shrink: 0; text-decoration: none; color: inherit; cursor: pointer; }
.logo { width: 40px; height: 40px; flex-shrink: 0; }
.logo svg { width: 100%; height: 100%; }
.titles { display: flex; flex-direction: column; justify-content: center; }
.main-title { font-size: 22px; font-weight: 700; color: #333; line-height: 1.2; }
.sub-title { font-size: 13px; color: #888; line-height: 1.2; }
.btn-group { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.view-btn.active, .lib-btn.active { background: #ff6600; color: #fff; border-color: #ff6600; }
.bar { margin-bottom: 8px; }
.bar + .bar { margin-top: 4px; }
.bar label { margin-right: 12px; white-space: nowrap; }
.bar input[type=text], .bar input[type=date], .bar input[type=time] { padding: 4px; }
.bar input[type=date] { width: 130px; }
.bar input[type=time] { width: 90px; }
button { padding: 6px 16px; cursor: pointer; }
.btn-red { background: #dc3545; color: #fff; border: 1px solid #c82333; }
.btn-red:hover { background: #c82333; }
.btn-green { background: #28a745; color: #fff; border: 1px solid #1e7e34; }
.btn-green:hover { background: #218838; }
.btn-orange { background: #ff8c00; color: #fff; border: 1px solid #ff8c00; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.btn-orange:hover { background: #e67e00; }
/* 项目汇总全屏宽度 */
#section-项目汇总 { width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; }

/* 横向可滚动：台账列多时保证每一列都能看到（不被挤没） */
.table-wrap { overflow-x: auto; overflow-y: auto; max-width: 100%; max-height: calc(100vh - 220px); border: 1px solid #eee; }
table { border-collapse: collapse; table-layout: fixed; width: 100%; }
th, td { border: 1px solid #ddd; padding: 5px 5px; text-align: left; font-size: 12px; word-break: break-all; }
th { background: #f5f5f5; cursor: pointer; position: sticky; top: 0; z-index: 10; white-space: normal; overflow: hidden; }
thead { position: sticky; top: 0; z-index: 10; }
.td-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
td { white-space: normal; word-wrap: break-word; overflow-wrap: break-word; vertical-align: top; }
tr:nth-child(even) { background: #fafafa; }
.resizer { position: absolute; right: 0; top: 0; bottom: 0; width: 5px; cursor: col-resize; z-index: 1; }
.resizer:hover { background: rgba(0,0,0,0.1); }
#status { color: #666; }
.log { margin-top: 16px; padding: 10px; background: #f7f7f7; border: 1px solid #eee;
       font-size: 12px; white-space: pre-wrap; max-height: 200px; overflow: auto; }

.panel { margin: 12px 0; padding: 12px 16px; background: #fff8f3; border: 1px solid #f0c9a8; border-radius: 6px; }
.panel h3 { margin: 0 0 8px; font-size: 14px; color: #b45309; }
.diff-item { padding: 6px 0; border-bottom: 1px dashed #f0c9a8; font-size: 13px; line-height: 1.6; }
.diff-item:last-child { border-bottom: none; }

.lib-card { margin-bottom: 14px; padding-bottom: 6px; border-bottom: 1px solid #eee; }
.lib-card:last-child { border-bottom: none; }
.lib-title { font-size: 15px; font-weight: 700; color: #333; }
.lib-sub { font-size: 12px; color: #888; margin: 2px 0 6px; }
.lib-table-wrap { overflow-x: auto; max-width: 100%; }
.lib-table { margin-top: 6px; table-layout: fixed; width: 100%; border-collapse: collapse; }
.lib-table th, .lib-table td { border: 1px solid #eee; padding: 5px 8px; font-size: 12px; word-wrap: break-word; overflow-wrap: break-word; vertical-align: top; }
.lib-table th:first-child, .lib-table td:first-child { width: 80px; }
.lib-table th { background: #fafafa; white-space: normal; }
.lib-table td.re { font-family: Consolas, "Courier New", monospace; color: #555; word-break: break-all; }
.lib-table td.alias-cell { color: #000000; line-height: 1.6; }
.lib-table td.alias-cell.has-alias { color: #dc3545; font-weight: 700; }
.lib-table td.anchor-name { color: #0369a1; }
.lib-table td.anchor-name .anchor-note { color: #b45309; font-size: 12px; font-weight: 400; margin-top: 2px; white-space: normal; }
.lib-table td.alias-cell a.alias-link { color: #dc3545; font-weight: 700; text-decoration: underline; cursor: pointer; }
.warn { color: #b45309; font-weight: 400; font-size: 12px; }
.actual { color: #047857; font-weight: 600; background: #ecfdf5; }
.link-text { color: #0066cc; text-decoration: underline; cursor: pointer; }

/* 顶部导航 + 分板块布局 */
.top-nav { display: flex; gap: 4px; border-bottom: 1px solid #eee; margin-top: 0; margin-left: 24px; }
.nav-item { position: relative; padding: 8px 18px; text-decoration: none; color: #555; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.nav-item:hover { color: #ff6600; }
.nav-item.active { color: #ff6600; border-bottom-color: #ff6600; font-weight: 600; }

.has-dropdown { padding-right: 28px; }
.has-dropdown::after { content: "▼"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #999; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; background: #fff; border: 1px solid #eee; border-top: none; box-shadow: 0 4px 8px rgba(0,0,0,0.08); z-index: 200; max-height: 70vh; overflow-y: auto; }
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item { padding: 8px 16px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.dropdown-item:hover { background: #fff8f3; color: #ff6600; }

.main-content { padding-top: 16px; }
.section { display: none; outline: none; }
.section.active { display: block; outline: none; }
.section *:focus { outline: none; }

.panel-title { font-size: 15px; font-weight: 700; color: #333; margin: 16px 0 10px; padding-left: 8px; border-left: 3px solid #ff6600; }
.panel-title:first-child { margin-top: 0; }

.hero { padding: 40px 20px; text-align: center; background: #fff8f3; border-radius: 8px; }
.hero h1 { margin: 0 0 12px; font-size: 26px; color: #333; }
.hero p { margin: 6px 0; color: #666; font-size: 14px; }

.placeholder-box { padding: 30px 20px; background: #f9f9f9; border: 1px dashed #ddd; border-radius: 6px; text-align: center; color: #888; }
.placeholder-box p { margin: 6px 0; }

.summary-cards { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.summary-card { flex: 1; min-width: 120px; padding: 16px; background: #fff; border: 1px solid #eee; border-radius: 6px; text-align: center; }
.summary-card .num { font-size: 28px; font-weight: 700; color: #ff6600; }
.summary-card .label { font-size: 13px; color: #888; margin-top: 4px; }

.setting-list { background: #fff; border: 1px solid #eee; border-radius: 6px; overflow: hidden; }
.setting-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.setting-item:last-child { border-bottom: none; }
.setting-item span:first-child { font-weight: 600; color: #333; }
.setting-item span:last-child { color: #888; font-size: 13px; }

/* 公示详情弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 999; display: flex; align-items: center; justify-content: center; }
.modal-box { background: #f5f5f5; width: 100vw; height: 100vh; max-width: none; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 15px; color: #333; background: #fafafa; }
.modal-close { padding: 4px 14px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer; font-size: 13px; color: #555; }
.modal-close:hover { border-color: #ff6600; color: #ff6600; }
.modal-body { flex: 1; overflow: auto; max-width: 1100px; margin: 20px auto; padding: 24px 40px; border: 1px solid #ddd; background: #fff; font-size: 14px; line-height: 1.9; color: #333; }
.modal-body h1, .modal-body h2, .modal-body h3 { font-size: 16px; margin: 12px 0 8px; text-align: center; }
.modal-body table { width: 100%; border-collapse: collapse; margin: 10px 0; border: 1px solid #ddd; }
.modal-body td, .modal-body th { border: 1px solid #ddd; padding: 6px 8px; font-size: 13px; }
.modal-body img { max-width: 100%; }
.row-link { cursor: pointer; }
.row-link:hover { background: #fff7f0; }

/* 采集 · 范围勾选 */
.scope-row { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 10px; }
.scope-label { width: 40px; flex: none; font-size: 13px; font-weight: 600; color: #555; line-height: 28px; }
.scope-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
.scope-tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border: 1px solid #eee; border-radius: 4px; background: #fff; color: #555; font-size: 13px; cursor: pointer; user-select: none; white-space: nowrap; }
.scope-tag:hover { border-color: #ff8c00; color: #ff8c00; }
.scope-tag.checked { background: #ffe6cc; color: #d97706; border-color: #ff8c00; font-weight: 600; }
.scope-tag.disabled { color: #bbb; background: #fafafa; cursor: default; }
.scope-tag.disabled:hover { border-color: #eee; color: #bbb; }
.scope-box { display: inline-block; width: 13px; height: 13px; border: 1px solid #ccc; border-radius: 2px; line-height: 13px; text-align: center; font-size: 11px; }
.scope-tag.checked .scope-box { border-color: #d97706; }
.scope-tag.checked .scope-box::after { content: "✓"; }

/* 采集页 · 左右两栏布局 */
.collect-layout { display: flex; gap: 16px; align-items: flex-start; }
.collect-side { width: 200px; flex: none; background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 12px; align-self: flex-start; max-height: calc(100vh - 110px); overflow-y: auto; }
.collect-side .panel-title { margin-bottom: 12px; }
/* 采集页 · 左栏「人工采集」外框 */
.collect-side .side-box { border: 1px solid #ddd; border-radius: 6px; padding: 10px; background: #fafafa; margin-bottom: 14px; }
.collect-side .side-box .panel-title { margin-bottom: 10px; }

/* 采集页 · 左栏内「人工采集」表单（纵排） */
.collect-side .bar-side { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
.collect-side .bar-side label { display: block; margin: 0; font-size: 12px; color: #555; white-space: normal; }
.collect-side .bar-side label input[type=date],
.collect-side .bar-side label input[type=time] { display: block; width: 100%; box-sizing: border-box; margin-top: 3px; }
.collect-side .bar-side button { width: 100%; }
/* 「人工采集」里 清除 按钮置顶，与 采集 拉开距离，避免误点 */
.collect-side .bar-side .btn-清除 { margin-top: 0; margin-bottom: 4px; }
/* 起始 / 结束：日期+时间 同一行 */
.collect-side .bar-side .dt-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; }
.collect-side .bar-side .dt-row label { margin: 0; }
.collect-side .bar-side .dt-row input { min-width: 0; padding: 3px 2px; font-size: 12px; }
.collect-side .bar-side .countdown { margin: 0; text-align: center; }
.scope-group { margin-bottom: 16px; }
.scope-group:last-child { margin-bottom: 0; }
.scope-group-title { font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; }
.scope-tags-ver { flex-direction: column; align-items: stretch; gap: 6px; }
.scope-tags-ver .scope-tag { width: 100%; justify-content: flex-start; }

/* 采集 · 三级折叠树（城市 → 平台 → 块） */
.scope-tree { display: flex; flex-direction: column; gap: 6px; }
.scope-tree .scope-tag { white-space: normal; line-height: 1.35; }
.scope-item { display: block; }
.scope-node { display: flex; align-items: center; gap: 4px; }
.scope-node > .scope-tag { flex: 1; min-width: 0; }
.scope-children { display: none; flex-direction: column; gap: 6px; padding: 6px 0 6px 10px; }
.scope-item:hover > .scope-children,
.scope-item.open > .scope-children { display: flex; }
.scope-ind { padding-left: 10px; }
.scope-tag-sm { font-size: 12px; padding: 4px 10px; }
.scope-caret { flex: none; width: 20px; height: 20px; position: relative; cursor: pointer; }
.scope-caret::before { content: ""; position: absolute; left: 6px; top: 6px; width: 0; height: 0; border-left: 5px solid #bbb; border-top: 4px solid transparent; border-bottom: 4px solid transparent; transform-origin: 3px 50%; transition: transform .15s; }
.scope-caret:hover::before { border-left-color: #ff6600; }
.scope-caret.open::before { transform: rotate(90deg); }
.collect-main { flex: 1; min-width: 0; }
/* 主展示区顶部：当前选择明细 */
.sel-summary { border: 1px solid #e3e3e3; border-radius: 6px; background: #f7f9fc; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; line-height: 1.7; }
.sel-summary .sel-row { display: flex; flex-wrap: nowrap; overflow-x: auto; align-items: center; gap: 8px; }
.sel-summary .sel-k { font-weight: 700; color: #333; flex: none; }
.sel-summary .sel-c { color: #1d6fb8; background: #eaf3fb; border-radius: 4px; padding: 1px 8px; white-space: nowrap; flex: none; }
.sel-summary .sel-empty { color: #999; }

/* 采集 · 运行信息 */
.run-info { font-size: 13px; color: #555; background: #fafafa; border: 1px solid #eee; border-radius: 4px; padding: 8px 12px; margin: 6px 0 10px; line-height: 1.8; }
.run-info:empty { display: none; }
.run-info .ri-item { margin-right: 18px; }
.run-info .ri-err { color: #c00; }
.countdown { font-size: 13px; font-weight: 600; color: #b45309; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 4px; padding: 4px 10px; margin-left: 4px; }
/* 表格内红字提示（如澄清修改文件下载失败） */
.cell-err { color: #c00; font-weight: 600; }
.cell-ok { color: #28a745; font-weight: 600; }

/* 采集进度条（状态行下方） */
.prog-wrap { width: 100%; max-width: 100%; height: 10px; background: #ececec; border-radius: 5px; overflow: hidden; margin: 2px 0 10px; }
.prog-bar { height: 100%; width: 0%; background: #28a745; border-radius: 5px; transition: width 0.3s linear, background 0.3s; }
.prog-bar.is-over { background: #ff8c00; }
.run-info .ri-block { padding: 8px 0; border-bottom: 1px dashed #e3e3e3; }
.run-info .ri-block:first-child { padding-top: 2px; }
.run-info .ri-block:last-child { border-bottom: none; padding-bottom: 2px; }
.run-info .ri-seq { display: inline-block; min-width: 22px; color: #999; font-size: 12px; margin-right: 4px; }
.run-info .ri-table-wrap { overflow-x: auto; }
.run-info .ri-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; table-layout: fixed; }
.run-info .ri-table th, .run-info .ri-table td { border: 1px solid #e0e0e0; padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.5; word-break: break-word; }
.run-info .ri-table th { background: #f0f5ff; font-weight: 600; white-space: nowrap; }
/* 采集核对表表头允许文字换行（中文逐字断行，不裁切） */
.run-info .ri-table.kh-table th { white-space: normal; overflow: visible; word-break: break-all; line-height: 1.25; vertical-align: top; }
.run-info .ri-table tr:nth-child(even) td { background: #fafafa; }
.run-info .ri-table .ri-del { font-size: 12px; padding: 2px 8px; cursor: pointer; border: 1px solid #d0d0d0; background: #fff; border-radius: 3px; }
.run-info .ri-table .ri-del:hover { background: #f5f5f5; }
.run-info .ri-table td[colspan="9"] { color: #666; }
/* 列宽由表头 th 内联 style 控制（两个核对表列数不同，不再用 nth-child 固定） */

/* 采集 · 自动化设置 */
/* 设置区两列排布：原来 8 行压到 4 行（前 4 项两两并排；采集块 / 保存按钮 / 日期提示跨两列） */
.auto-box { background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 10px 16px; margin: 6px 0 10px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; align-items: center; }
.auto-span { grid-column: 1 / -1; }
.auto-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 13px; color: #444; }
.auto-row > span:first-child { width: 96px; flex: none; font-weight: 600; }
.auto-row input[type="time"], .auto-row input[type="number"], .auto-last-input { padding: 4px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.auto-last-input { margin-right: 14px; }
.auto-ck { display: inline-flex; align-items: center; gap: 4px; margin-right: 14px; font-weight: 400; }
.auto-btns { margin-top: 6px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* 「已保存：…」与保存按钮同一行，没有内容时自动隐藏（.run-info:empty 已隐藏） */
.auto-saveinfo { flex: 1 1 320px; min-width: 0; margin: 0; padding: 6px 12px; }
/* 定时采集页自己的进度文字（与人工采集左栏倒计时同源） */
#定时倒计时 { display: inline-block; margin: 4px 0 10px; margin-left: 0; }
/* 采集过程挂载点：人工采集 / 定时采集 共用过程 DOM 的落点 */
.过程挂载点 { display: block; }
/* 定时采集页「采集过程」还没有记录时的提示 */
.过程提示 { font-size: 12px; color: #888; background: #fbfbfb; border: 1px dashed #e0e0e0; border-radius: 4px; padding: 10px 14px; line-height: 1.7; }
.auto-calendar { font-size: 12px; color: #2b7; background: #f3fbf6; border: 1px solid #d8f0e0; border-radius: 4px; padding: 6px 12px; margin: 4px 0 10px; line-height: 1.6; }
.auto-calendar:empty { display: none; }
.auto-check { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #555; margin: 0 0 10px; line-height: 1.6; }
.auto-check .ck-ok { color: #2b7; }
.auto-check .ck-bad { color: #c33; font-weight: 600; }
.auto-check-link { color: #2b7; cursor: pointer; text-decoration: underline; }
/* 定时采集结果汇总：按次列出每轮定时采集的条数 / 用时 / 状态 */
.auto-sum { margin: 4px 0 12px; }
.auto-sum .ri-table-wrap { overflow-x: auto; }
.auto-sum .ri-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; table-layout: fixed; }
.auto-sum .ri-table th, .auto-sum .ri-table td { border: 1px solid #e0e0e0; padding: 6px 8px; text-align: left; vertical-align: top; line-height: 1.5; word-break: break-word; }
.auto-sum .ri-table th { background: #fafafa; font-weight: 600; color: #333; }
.auto-sum-empty { font-size: 12px; color: #888; background: #fbfbfb; border: 1px dashed #e0e0e0; border-radius: 4px; padding: 10px 14px; line-height: 1.7; }
.auto-sum-state { font-weight: 600; }
.auto-sum-state.ok { color: #2b7; }
.auto-sum-state.stop { color: #c80; }
.auto-sum-state.bad { color: #c33; }
.last-ck { font-size: 12px; color: #888; margin-left: 4px; }
.btn-blue { padding: 6px 16px; border: 1px solid #2f7ed8; background: #2f7ed8; color: #fff; border-radius: 4px; cursor: pointer; font-size: 13px; }
.btn-blue:hover { background: #2769b5; }

/* 项目汇总 · 月份条 */
.month-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 12px; justify-content: flex-start; }
.month-bar.compact { margin: 10px 0 8px; }
.month-bar.compact .month-tabs { display: none; }
.month-label { font-size: 14px; font-weight: 600; color: #333; white-space: nowrap; }
.month-label .ml-k { display: none; }
.month-label .ml-c { font-weight: 600; color: #222; background: transparent; padding: 1px 8px; }
/* 招标公告 | 月份 | 中标公示：中间月份按钮，悬停/点击展开月份菜单 */
.blk-toggle { position: relative; display: inline-flex; gap: 10px; align-items: center; margin-left: 12px; vertical-align: middle; }
.blk-btn { padding: 3px 14px; font-size: 13px; cursor: pointer; user-select: none; color: #222; background: #fff; border: 1px solid #ff8c00; border-radius: 4px; white-space: nowrap; }
.blk-btn:hover { background: #fff3e0; }
.blk-btn.active { background: #ffe6cc; border-color: #ff8c00; color: #d97706; font-weight: 600; }
.blk-btn-gs { margin-left: 120px; }   /* 中标公示按钮右移，与招标公告拉开距离 */
.blk-mid { position: relative; display: none; align-items: center; }
.blk-month { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; font-size: 13px; font-weight: 600; color: #222; background: #fff; border: 1px solid #ff6600; border-radius: 4px; cursor: pointer; user-select: none; white-space: nowrap; }
.blk-month:hover { background: #ffe9d9; }
/* 点击月份进入月视图：中间月份控件高亮 */
.blk-month.on { background: #ff6600; color: #fff; border-color: #ff6600; }
.blk-month.on .blk-caret { color: #fff; }
.blk-caret { font-size: 10px; line-height: 1; }
.blk-menu { position: absolute; top: calc(100% + 4px); left: 0; width: 200px; max-height: 300px; overflow-y: auto; overflow-x: hidden; background: #fff; border: 1px solid #ff6600; border-radius: 0; box-shadow: 0 2px 10px rgba(0,0,0,.12); padding: 0; z-index: 300; }
/* 隐形热区：把按钮与菜单之间的空隙也纳入 hover 范围，避免下移时闪退 */
.blk-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.blk-mi { display: block; padding: 6px 12px; font-size: 13px; color: #ff6600; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px solid #ffe6d2; }
.blk-mi:last-child { border-bottom: none; }
.blk-mi:hover { background: #fff4ec; }
.blk-mi.active { background: #ff6600; color: #fff; font-weight: 700; }
.month-tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; }
.month-tab { padding: 5px 12px; border: 1px solid #eee; border-radius: 4px; cursor: pointer; font-size: 13px; background: #fff; color: #555; white-space: nowrap; user-select: none; }
.month-tab:hover { border-color: #ff6600; color: #ff6600; }
.month-tab.active { background: #ff6600; color: #fff; border-color: #ff6600; font-weight: 600; }

.sort-toggle { color: #ff6600; cursor: pointer; text-decoration: underline; font-weight: 600; }
.seg { display: inline-block; padding: 2px 8px; margin: 0 2px; border: 1px solid #eee; border-radius: 4px; color: #555; cursor: pointer; user-select: none; font-weight: 600; }
.seg:hover { border-color: #ff6600; color: #ff6600; }

/* 项目汇总 · 主区（块选择已移至左侧范围树） */
.board-body { display: flex; gap: 12px; align-items: flex-start; }
.board-filter { width: 100px; display: flex; flex-direction: column; gap: 6px; }
.filter-tab { padding: 6px 4px; border: 1px solid #eee; border-radius: 4px; cursor: pointer; font-size: 13px; text-align: center; background: #fff; color: #555; user-select: none; }
.filter-tab:hover { border-color: #ff6600; color: #ff6600; }
.filter-tab.active { background: #ff6600; color: #fff; border-color: #ff6600; font-weight: 600; }
.board-body .table-wrap { flex: 1; min-width: 0; max-width: 100%; }
.muted { color: #999; font-size: 13px; padding: 4px 0; }

/* 项目汇总 · 表格底部分页条 */
.board-pager { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px; border-top: 1px solid #eee; background: #fff; }
.page-btn { padding: 6px 11px; border: 1px solid #ddd; background: #fff; color: #555; cursor: pointer; font-size: 13px; min-width: 30px; }
.page-btn:hover { border-color: #ff6600; color: #ff6600; }
.page-btn.active { background: #ff6600; color: #fff; border-color: #ff6600; }
.page-btn:disabled { color: #ccc; cursor: not-allowed; border-color: #eee; background: #f7f7f7; }
.page-info { font-size: 13px; color: #666; margin: 0 4px; }
.page-ellipsis { padding: 0 4px; color: #999; font-size: 13px; }
#汇总分页条 input[type=number] { padding: 4px 3px; border: 1px solid #ddd; font-size: 13px; }
.page-select { padding: 5px 6px; border: 1px solid #ddd; background: #fff; color: #555; font-size: 13px; cursor: pointer; margin-left: 6px; }

/* ===== 星政慧投风格 · 项目汇总主展示区 ===== */
.xzh-datebar { display: flex; gap: 6px; padding: 10px 0; flex-wrap: nowrap; overflow-x: auto; position: sticky; top: 0; z-index: 6; background: #fff; }
.xzh-datecell { position: relative; min-width: 92px; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; padding: 8px 6px 10px; border: 1px solid #ffd9bf; border-radius: 6px; background: #fff; cursor: pointer; user-select: none; }
.xzh-datecell .xzh-d2 { display: inline-flex; align-items: baseline; gap: 2px; }
.xzh-datecell:hover { border-color: #ff8c00; background: #fff6ee; }
.xzh-datecell.active { background: #ffe6cc; border-color: #ff8c00; color: #d97706; }
.xzh-datecell .xzh-d { font-size: 15px; font-weight: 700; }
.xzh-datecell .xzh-w { font-size: 12px; color: #888; }
.xzh-datecell.active .xzh-w { color: #d97706; }
.xzh-datecell .xzh-i { font-size: 12px; color: #333; }
.xzh-datecell .xzh-i.red { color: #ff3b30; }
.xzh-datecell .xzh-i-n { font-size: 13px; font-weight: 700; color: #333; }
.xzh-datecell.active .xzh-i { color: #d97706; }
.xzh-datecell.active .xzh-i.red { color: #ff3b30; }
.xzh-datecell.active .xzh-i-n { color: #d97706; }
.xzh-datecell .xzh-c { position: absolute; top: -7px; right: -6px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 4px; border-radius: 9px; background: #ff3b30; color: #fff; font-size: 11px; }
.xzh-datecell.active .xzh-c { background: #ff8c00; color: #fff; }
.xzh-nav { flex: none; width: 30px; align-self: stretch; display: flex; align-items: center; justify-content: center; border: 1px solid #b7e4c7; border-radius: 6px; background: #fff; color: #2e9e4f; font-size: 14px; cursor: pointer; user-select: none; }
.xzh-nav:hover { background: #edf9f0; border-color: #2e9e4f; }

.xzh-empty { padding: 40px; text-align: center; color: #999; font-size: 14px; }
.xzh-month-tip { margin: 2px 0 10px; padding: 8px 12px; background: #fff6ee; border: 1px solid #ffd9bf; border-radius: 6px; color: #ff6600; font-size: 14px; font-weight: 600; }
#xzhCards { display: flex; flex-direction: column; gap: 24px; }
.xzh-card { background: #fff; border: 4px solid #1d6fb8; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.05); overflow: hidden; }
.xzh-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; background: #fff7ef; border-bottom: 1px solid #ffe3cc; }
/* 头部一行：内容多时自动折行（长项目名不再把整行顶出容器） */
.xzh-h1, .xzh-h2 { min-width: 0; max-width: 100%; }
.xzh-code, .xzh-name, .xzh-stage { overflow-wrap: anywhere; }
/* 头部「观看区3-1：项目信息」标签（前缀蓝 + 名称黑，与卡片②③一致） */
.hd-tag { font-size: 13px; font-weight: 700; color: #1d6fb8; white-space: nowrap; flex: none; }
.hd-tag-dark { color: #222; }
.xzh-green-frame { border: 2px solid #2e9e4f; border-radius: 6px; overflow: hidden; margin: 6px 6px 0; }
.xzh-no { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; background: #1d6fb8; color: #fff; border-radius: 11px; font-size: 13px; font-weight: 700; }
.xzh-code { font-weight: 700; color: #222; font-size: 15px; }
.xzh-name { font-weight: 600; color: #333; }
.xzh-stage { color: #666; font-size: 13px; }
.xzh-sep { color: #ffb27a; margin: 0 7px; font-weight: 400; }
.xzh-tags { display: inline-flex; gap: 6px; margin-left: auto; }
.xzh-tag { background: #ff8c00; color: #fff; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
/* 招标公告卡片：头部标签不高亮（白底灰字浅框），中标公示仍用橙色高亮 */
.xzh-tag-plain { background: #fff; color: #555; border: 1px solid #dcdfe6; font-weight: 500; }
.xzh-badge { background: #ff8c00; color: #fff; border-radius: 4px; padding: 2px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.xzh-badge-sub { background: #fff; color: #ff8c00; border: 1px solid #ff8c00; }
.xzh-badge-end { margin-left: auto; }
.xzh-badge-green { background: #2e9e4f; color: #fff; }
.xzh-badge-yellow { background: #ffc107; color: #333; }
/* 徽标后的「开标时间」文字：无底色无边框，纯文字 */
.xzh-deadline { margin-left: 6px; color: #333; font-size: 12px; font-weight: 600; white-space: nowrap; background: none; border: none; }
.xzh-pipe { margin-left: 7px; color: #c8c8c8; font-weight: 400; font-size: 12px; }
.xzh-body { display: flex; gap: 0; }
.xzh-col { flex: 1; padding: 6px 14px 10px; }
.xzh-col + .xzh-col { border-left: 1px solid #f0f0f0; }
.xzh-col-title { font-size: 13px; font-weight: 700; color: #ff8c00; padding: 6px 0 4px; border-bottom: 2px solid #ffe3cc; margin-bottom: 6px; }
.xzh-item { display: flex; gap: 8px; padding: 4px 0; font-size: 13px; line-height: 1.5; border-bottom: 1px dashed #f3f3f3; }
.xzh-item:last-child { border-bottom: none; }
.xzh-k { flex: none; width: 168px; color: #888; }
.xzh-v { flex: 1; color: #333; word-break: break-all; }
.xzh-v a { color: #1d6fb8; text-decoration: underline; }
.xzh-foot { border-top: 1px solid #f0f0f0; padding: 6px 14px 10px; }
.xzh-foot-items { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.xzh-foot .xzh-item { border-bottom: none; width: auto; }
.xzh-foot .xzh-k { width: auto; }
/* 中标公示卡片：6 列网格（每行 3 组，字段名 + 值交替各占 1 列） */
.xzh-grid { padding: 6px 14px 12px; }
.xzh-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 10px; padding: 6px 0; border-bottom: 1px dashed #f3f3f3; }
.xzh-row:last-child { border-bottom: none; }
.xzh-ck { color: #888; font-size: 12px; line-height: 1.3; align-self: center; min-width: 0; }
.xzh-cv { color: #333; font-size: 13px; line-height: 1.3; word-break: break-all; align-self: center; min-width: 0; }
.xzh-cv a { color: #1d6fb8; text-decoration: underline; word-break: break-all; }
/* 中标公示字段区：单表 4 行 × 6 列（字段名/值交替） */
.zbgs-grid-wrap { padding: 0; }
.zbgs-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.zbgs-grid td { border: 1px solid #e8e8e8; padding: 6px 10px; font-size: 13px; line-height: 1.35; word-break: break-all; vertical-align: middle; }
.zbgs-grid td.k { color: #666; background: #fafafa; width: 10%; }
.zbgs-grid td.v { color: #333; width: 15%; }
.zbgs-grid td.v a { color: #1d6fb8; text-decoration: underline; word-break: break-all; }
/* 招标文件链接（文字「招」）显浅黄，澄清链接保持蓝 */
.zbgs-grid td.v a.xzh-file-link-y { color: #eab308; }
.zbgs-grid td.v .xzh-link-sep { color: #bbb; margin: 0 4px; word-break: keep-all; }
/* 招标公告字段表：单行显示（不折行）+ 行高压缩；超长内容省略号，悬停 title 看全文 */
.xzh-info .zbgs-grid td { padding: 4px 8px; font-size: 12.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; }
.xzh-info .zbgs-grid td.k { width: 10%; }
.xzh-info .zbgs-grid td.v { width: 10%; }

/* ===== 招标公告卡片：项目信息整行 + 下方三栏（左 招标文件要求 / 中 三卡片 / 右 有效期倒计时） ===== */
.xzh-info { padding: 6px 12px 0; }
.xzh-3col { display: flex; gap: 6px; padding: 6px 6px 6px; align-items: stretch; }
.xzh-side { flex: 0 0 224px; width: 224px; display: flex; }
.xzh-mid { flex: 1 1 auto; min-width: 0; align-self: flex-start; }
.xzh-side-panel { flex: 1 1 auto; border: 2px solid #2e9e4f; border-radius: 8px; background: #fffdfb; padding: 8px 10px; }
.xzh-side-title { font-size: 13px; font-weight: 700; color: #222; padding-bottom: 5px; border-bottom: 2px solid #ffe3cc; margin-bottom: 6px; }
/* 分区前缀统一蓝色（观看区x-x：/ 程序自检区x-x：/ 操作区x-x：），后面的名称保持原色 */
.zone-pre { color: #1d6fb8; }
/* 左栏 程序自检区2-1：文件要求（卡片行 + 圆环图标 + 详情链接/状态） */
/* 左栏面板撑满整栏高度：8 条均分行高，正好填到底部 */
.xzh-side-l .xzh-side-panel { display: flex; flex-direction: column; }
.xzh-side-l .file-list { flex: 1 1 auto; }
.xzh-side-l .file-item { flex: 1 1 auto; }
.file-list { display: flex; flex-direction: column; gap: 3px; }
.file-item { display: flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid #cfe8d5; border-radius: 6px; background: #fff; line-height: 1.25; }
.file-item.bad { border-color: #f2c9c9; background: #fff6f6; }
.file-ico { flex: 0 0 auto; display: block; width: 13px; height: 13px; }
.file-k { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #222; font-weight: 600; font-size: 12px; }
.file-link { flex: 0 0 auto; color: #eab308; font-size: 12px; cursor: pointer; }
.file-v { flex: 0 0 auto; color: #2e9e4f; font-weight: 600; font-size: 12px; }
.exp-list { display: flex; flex-direction: column; gap: 6px; }
.exp-all.ok { color: #2e9e4f; font-weight: 600; }
/* 右栏 程序自检区2-2：倒计时（单行条：图标 + 标签 + 剩余天数，强制不折行） */
.exp-item { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; padding: 7px 8px; border: 1px solid #cfe8d5; border-radius: 8px; background: #fff; overflow: hidden; }
.exp-tick { flex: 0 0 auto; display: block; }
.exp-k { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #222; font-weight: 600; font-size: 12.5px; }
.exp-v { flex: 0 0 auto; white-space: nowrap; color: #2e9e4f; font-weight: 600; font-size: 12.5px; }
.exp-all { font-size: 12.5px; margin: 6px 0 4px; }
.xzh-btn { width: 100%; margin-top: 4px; padding: 6px 0; background: #fff; color: #222; border: 1px solid #f3a6a6; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; }
.xzh-btn:hover { background: #fff5f5; }
/* 按钮内「同步」两字红色，其余黑色 */
.xzh-btn-sync { color: #d93025; }
/* 中栏 三张卡片 */
.mini-card { border: 1px solid #eee; border-radius: 8px; background: #fff; padding: 8px 10px; margin-top: 6px; }
.mini-card:first-child { margin-top: 12px; }
.xzh-mid .mini-card:first-child { margin-top: 0; }
.mini-card-title { font-size: 13px; font-weight: 700; color: #333; padding-bottom: 6px; border-bottom: 1px solid #f0f0f0; margin-bottom: 8px; }
/* 卡片① 参与投标向导（6 步圆形向导） */
.wz-card { border: 2px solid #d93025; }
.wz-bar { display: flex; align-items: flex-start; gap: 10px; padding: 2px 0 9px; border-bottom: 1px solid #f0f0f0; }
.wz-side { display: flex; align-items: center; gap: 6px; flex: none; padding-right: 10px; border-right: 1px solid #e8e8e8; min-height: 36px; }
.wz-check { width: 14px; height: 14px; border: 1px solid #2e9e4f; border-radius: 3px; background: #f0f9f2; }
.wz-side-t { font-size: 13px; font-weight: 700; color: #2e9e4f; white-space: nowrap; }
.wz-side-red { color: #d93025; }
.wz-steps { display: flex; flex: 1 1 auto; min-width: 0; align-items: flex-start; }
.wz-step { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wz-step:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 50%; width: 100%; height: 2px; background: #d9d9d9; z-index: 0; }
.wz-step.active::after { background: #2e9e4f; }
.wz-num { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #d9d9d9; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wz-step.active .wz-num { background: #2e9e4f; }
.wz-name { font-size: 12px; color: #888; white-space: nowrap; }
.wz-step.active .wz-name { color: #2e9e4f; font-weight: 600; }
.wz-body { padding: 9px 0 7px; }
.wz-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wz-req { font-size: 13px; font-weight: 700; color: #222; }
.wz-tag { font-size: 11px; color: #888; border: 1px solid #d9d9d9; border-radius: 4px; background: #fafafa; padding: 1px 6px; }
.wz-select { min-width: 180px; height: 26px; padding: 0 4px; font-size: 12px; border: 1px solid #d9d9d9; border-radius: 4px; color: #888; background: #fff; }
.wz-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; border-top: 1px solid #f5f5f5; }
.wz-btn { padding: 4px 16px; font-size: 12.5px; border-radius: 4px; border: 1px solid #d9d9d9; background: #fff; color: #333; cursor: pointer; }
.wz-btn:disabled { color: #bbb; background: #fafafa; cursor: not-allowed; }
.wz-btn.primary { background: #2e9e4f; border-color: #2e9e4f; color: #fff; font-weight: 600; }
.wz-btn.primary:hover { background: #237a3c; }
/* 卡片② 制作状态（标题与内容同一行横排） */
.mk-card { border: 2px solid #2e9e4f; padding: 9px 10px; }
.mk-line { display: flex; align-items: center; flex-wrap: nowrap; overflow-x: auto; }
.mk-cell { display: flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 0 12px; border-left: 1px solid #eee; white-space: nowrap; }
.mk-cell:first-child { border-left: none; padding-left: 0; }
.mk-t { font-size: 13px; font-weight: 700; color: #1d6fb8; }
.mk-t-dark { color: #222; }
.mk-btn { margin-left: auto; flex: 0 0 auto; padding: 4px 14px; background: #fff; color: #222; border: 1px solid #f3a6a6; border-radius: 5px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mk-btn:hover { background: #fff5f5; }
.mk-sq { width: 10px; height: 10px; border-radius: 2px; background: #2e9e4f; flex: none; }
.mk-k { color: #888; }
.mk-v { color: #333; font-weight: 600; }
.mk-state { font-size: 12px; color: #666; border: 1px solid #d9d9d9; border-radius: 4px; background: #fafafa; padding: 1px 7px; }
/* 卡片③ 自动解密（横排信息行） */
.sw-card { border: 2px solid #2e9e4f; }
.sw-head { padding: 0 0 7px; border-bottom: none; margin-bottom: 0; overflow-x: auto; }
.mk-txt { color: #333; white-space: nowrap; }

/* 项目汇总 · 表头橙色 */
#t2 { font-size: 14px; }
#t2 th { background: #ff8c00; color: #fff; font-weight: 600; padding: 10px 8px; }
#t2 td { padding: 10px 8px; line-height: 1.7; }
#t2 tr { border-bottom: 3px solid #fff; background: #fff; }
#t2 tr:nth-child(even) { background: #fffaf0; }

/* 项目汇总 · 中标公示表格列宽 */
#t2.table-中标公示 { table-layout: fixed; min-width: 860px; width: 100%; }
#t2.table-中标公示 td:nth-child(1), #t2.table-中标公示 th:nth-child(1) { text-align: center; width: 50px; }
#t2.table-中标公示 td:nth-child(2), #t2.table-中标公示 th:nth-child(2) { width: 160px; }
#t2.table-中标公示 td:nth-child(3), #t2.table-中标公示 th:nth-child(3) { width: auto; min-width: 240px; }
#t2.table-中标公示 td:nth-child(4), #t2.table-中标公示 th:nth-child(4) { width: auto; min-width: 160px; }
#t2.table-中标公示 td:nth-child(5), #t2.table-中标公示 th:nth-child(5) { text-align: center; width: 95px; }
#t2.table-中标公示 td:nth-child(6), #t2.table-中标公示 th:nth-child(6) { text-align: center; width: 120px; }

.td-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* 采集矩阵：每次采集一个区块，区块顶部是该次的统计栏，区块之间留白分隔 */
.mx-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 4px 10px 6px; }
.mx-tools:empty { display: none; }
/* 采集状态：正在采集（橙，圆点闪动）/ 采集完成（绿） */
.mx-state { font-size: 12px; font-weight: 600; line-height: 18px; padding: 1px 8px; border: 1px solid; border-radius: 10px; }
.mx-state.run { color: #b45309; background: #fffbeb; border-color: #fcd34d; }
.mx-state.run::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; border-radius: 50%; background: #f59e0b; animation: mx-pulse 1s ease-in-out infinite; }
.mx-state.done { color: #15803d; background: #f0fdf4; border-color: #86efac; }
@keyframes mx-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.mx-clear { padding: 2px 10px; font-size: 12px; border: 1px solid #dc3545; background: #fff; color: #dc3545; border-radius: 3px; cursor: pointer; margin-left: auto; }
.mx-clear:hover { background: #dc3545; color: #fff; }
.mx-stat { font-size: 12px; color: #334155; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mx-stat b { color: #0f172a; }
/* 矩阵区顶部：块切换（招标公告 / 中标公示），下面的主展示区按块显示该块的采集 */
#矩阵列表统计:empty { display: none; }
.mx-blkbar { display: flex; align-items: center; gap: 8px; }
.mx-blk { font-size: 12px; line-height: 20px; padding: 1px 12px; border: 1px solid #ff8c00; border-radius: 4px; background: #fff; color: #222; cursor: pointer; user-select: none; }
.mx-blk:hover { background: #fff5ec; }
.mx-blk.on { background: #ffe6cc; color: #d97706; font-weight: 600; }
.mx-wrap { overflow-x: auto; }
.mx-block { margin-bottom: 16px; border: 1px solid #e2e8f0; border-radius: 4px; overflow: hidden; }
.mx-block:last-child { margin-bottom: 0; }
.mx-block > .mx-stat { padding: 6px 10px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.mx-block.live { border-color: #fbbf24; }
.mx-block.live > .mx-stat { background: #fffbeb; }
.mx-mini { border-collapse: collapse; font-size: 12px; table-layout: fixed; width: 100%; min-width: 1280px; }
.mx-mini th, .mx-mini td { border: 1px solid #e2e8f0; padding: 3px 3px; text-align: center; }
.mx-mini th { background: #f1f5f9; font-weight: 600; font-size: 11px; line-height: 1.2; word-break: break-all; padding: 2px 3px; }
/* 各列宽度由表格生成时按表头字数分档下发（见 app.js 的 矩阵列宽）；这里只负责对齐与样式 */
/* 第 2 列（项目名称）：不设宽度，自动吸收全部剩余宽度，名称尽量完整显示 */
.mx-mini th:nth-child(2) { text-align: left; }
.mx-mini th.mh-step { background: #eef2ff; color: #4338ca; }
.mx-mini td .mx-del { padding: 1px 6px; font-size: 11px; line-height: 16px; border: 1px solid #cbd5e1; background: #fff; color: #475569; border-radius: 3px; cursor: pointer; }
.mx-mini td .mx-del:hover { border-color: #dc3545; color: #dc3545; }
.mx-mini td.mv-name { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-mini td.mv-step { background: #fafbff; }
.mx-mini .mv-stage { display: inline-block; margin-left: 3px; padding: 0 3px; border-radius: 3px; background: #e5e7eb; color: #111827; font-size: 10px; vertical-align: 1px; }
.mx-wait { color: #94a3b8; font-size: 12px; }
.mx-mini .mv-p { color: #cbd5e1; }
.mx-mini .mv-y { color: #16a34a; }
.mx-mini .mv-n { color: #dc2626; }
.mx-mini .mv-w { color: #d97706; }
/* 完成状态：25 个任务全部完成显示绿色，少一项显示红色 */
.mx-mini .mv-done { font-weight: 700; }
.mx-mini .mv-done.ok { color: #16a34a; }
.mx-mini .mv-done.bad { color: #dc2626; }
.mx-mini td.mv-list { text-align: left; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: #334155; }
/* 澄清公告行：整行内容与环节徽标、招/澄方框一律浅蓝 + 极淡蓝底，与招标行一眼区分（失败态方框仍用红以示失败） */
.mx-mini tr.mv-clar > td { color: #4a90d9; background: #f5faff; }
.mx-mini tr.mv-clar .mv-y, .mx-mini tr.mv-clar .mv-n, .mx-mini tr.mv-clar .mv-w,
.mx-mini tr.mv-clar .mv-list { color: #4a90d9; }
.mx-mini tr.mv-clar .mv-stage { background: #e8f2fd; color: #4a90d9; }
.mx-mini tr.mv-clar td.mv-step { background: #f5faff; }
.mx-mini tr.mv-clar .badge.ok { background: #4a90d9; }
.mx-mini tr.mv-clar .box.open { background: #4a90d9; border-color: #3d7fc4; }
.mx-mini .badge { display: inline-block; width: 15px; height: 15px; line-height: 15px; border-radius: 2px; color: #fff; font-size: 11px; font-weight: 700; }
.mx-mini .badge.ok { background: #16a34a; }
.mx-mini .badge.bad { background: #dc2626; }
.mx-mini .badge.na { background: #cbd5e1; }
/* PDF文件打开格：绿/红方框 + 招/澄 一字 */
.mx-mini .box { display: inline-block; min-width: 20px; height: 20px; line-height: 20px; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 0 4px; }
.mx-mini .box.open { background: #16a34a; border: 1px solid #15803d; }
.mx-mini .box.bad { background: #dc2626; border: 1px solid #b91c1c; }

/* 序号列：横向滚动时固定在最左侧，便于定位 */
#t2 th.col-seq { position: sticky; left: 0; z-index: 3; }
#t2 td.col-seq { position: sticky; left: 0; z-index: 2; background: #fff; text-align: center; }
#t2.table-合理低价 th.col-seq { background: #ff8c00; color: #fff; }

/* 已终止行：整行标红（仅展示，不计入汇总序号 1..N） */
#t2 tr.row-term, #t2 tr.row-term td { background: #fff0f0 !important; color: #c00; }
#t2 td.col-seq.row-term { background: #fde0e0 !important; color: #c00; font-weight: 700; }

/* 合理低价 10 列报价分析表：紧凑、无横向滚动 */
#t2.table-合理低价 { table-layout: fixed; min-width: 100%; width: 100%; }
#t2.table-合理低价 th,
#t2.table-合理低价 td { padding: 4px 3px; font-size: 11px; line-height: 1.35; }
#t2.table-合理低价 th { white-space: normal; text-align: center; }
#t2.table-合理低价 td { text-align: center; }
#t2.table-合理低价 td:nth-child(4),
#t2.table-合理低价 th:nth-child(4) { text-align: left; }

/* 采集 · 结果汇总表格 */
#采集结果汇总 { width: 100%; border-collapse: collapse; table-layout: auto; min-width: 720px; }
#采集结果汇总 th { background: #ff8c00; color: #fff; font-weight: 600; padding: 10px 8px; text-align: left; }
#采集结果汇总 td { padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; }
#采集结果汇总 tr:hover { background: #fff7f0; }
#采集结果汇总 .status-ok { color: #1a7f37; font-weight: 600; }
#采集结果汇总 .status-err { color: #c0392b; font-weight: 600; }
#采集结果汇总 .status-skip { color: #888; }
#采集结果汇总 .btn-blue { padding: 4px 10px; font-size: 12px; }

/* 企业信息 · 符合性判断 */
.qiye-toolbar { display: flex; align-items: center; gap: 12px; margin: 10px 0; }
.qiye-toolbar select { padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; min-width: 280px; font-size: 14px; }
.qiye-form { display: flex; gap: 20px; flex-wrap: wrap; margin: 8px 0 12px; }
.qiye-col { flex: 1; min-width: 300px; background: #fff; border: 1px solid #eee; border-radius: 6px; padding: 14px 16px; }
.qiye-col h4 { margin: 0 0 12px; font-size: 14px; color: #333; }
.qiye-col label { display: flex; flex-direction: column; font-size: 13px; color: #666; margin-bottom: 10px; }
.qiye-col input { margin-top: 4px; padding: 7px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.qiye-req { font-size: 13px; line-height: 1.9; color: #444; }
.qiye-req .req-row { padding: 6px 0; border-bottom: 1px dashed #eee; }
.qiye-req .req-row:last-child { border-bottom: none; }
.qiye-req .req-label { font-weight: 600; color: #333; display: inline-block; width: 110px; vertical-align: top; }
.qiye-result { margin-top: 14px; }
.qiye-result .res-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #eee; border-radius: 6px; margin-bottom: 8px; background: #fff; font-size: 14px; }
.qiye-result .badge { padding: 2px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.qiye-result .badge.ok { background: #e6f7ec; color: #1a7f37; }
.qiye-result .badge.no { background: #fdeaea; color: #c0392b; }
.qiye-result .badge.unknown { background: #fff4e5; color: #b9770e; }
.qiye-result .res-note { color: #888; font-size: 12px; }

/* 字段规则纵向表（每个字段一行，单行不换行） */
.lib-table.lib-vert { table-layout: auto; }
.lib-table.lib-vert th, .lib-table.lib-vert td { white-space: nowrap; vertical-align: middle; line-height: 1.8; }
.lib-table.lib-vert th:nth-child(2), .lib-table.lib-vert td.lib-idx { width: 122px; }
.lib-table.lib-vert th:nth-child(1), .lib-table.lib-vert td.lib-no { width: 46px; color: #888; text-align: center; }
.lib-table.lib-vert td.lib-src { color: #555; }
.lib-table.lib-vert .alias-date { color: #888; font-weight: 400; font-size: 11px; margin-left: 3px; }
.lib-table.lib-vert .alias-none { color: #999; }

/* ===== 中标公示汇总 · 卡片视图 ===== */
.zbgs-cards { display:flex; flex-direction:column; gap:14px; }
.zbgs-card { background:#fff; border:1px solid #eceff3; border-radius:6px; padding:12px 18px 14px; }
.zbgs-card:hover { box-shadow:0 2px 10px rgba(47,123,224,.10); border-color:#d8e4f5; }
.zbgs-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.zbgs-code { color:#2f7be0; font-weight:700; font-size:14px; }
.zbgs-sep { color:#dfe4ea; }
.zbgs-name { font-size:14px; font-weight:600; }
.zbgs-stage { color:#6b7280; font-size:13px; }
.zbgs-badge { display:inline-block; padding:2px 10px; border-radius:3px; font-size:12px; font-weight:600; background:#fdf0e3; color:#c8791a; }
.zbgs-badge-time { background:#fdf6e3; color:#b8860b; font-weight:400; }
.zbgs-cols { display:flex; gap:0; border:1px solid #eef1f6; border-radius:4px; overflow:hidden; }
.zbgs-left { flex:1 1 55%; border-right:1px solid #eef1f6; }
.zbgs-right { flex:1 1 45%; }
.zbgs-cols table { width:100%; border-collapse:collapse; font-size:12.5px; table-layout:fixed; }
.zbgs-cols td { padding:8px 10px; border-bottom:1px solid #f0f2f5; border-right:1px solid #f0f2f5; vertical-align:middle; }
.zbgs-cols tr:last-child td { border-bottom:none; }
.zbgs-cols td:last-child { border-right:none; }
.zbgs-cols .k { color:#8a909a; background:#fafbfd; font-weight:600; width:96px; }
.zbgs-cols .k-title { color:#8a909a; background:#fafbfd; font-weight:600; width:52%; line-height:1.5; }
.zbgs-cols .v { color:#2b2f36; }
.zbgs-cols .v.em { font-weight:700; }
.zbgs-cols .v.link a { color:#2f7be0; text-decoration:underline; word-break:break-all; }
.zbgs-cols .v.gray { color:#9aa0aa; }
.zbgs-empty { text-align:center; color:#999; padding:24px; }
