/* 标书工坊 · 基础样式（电脑版、手机版共用）
   视觉取材于投标文件本身：墨蓝的签字笔、冷白的 A4 纸、表格的细线、红色的印章。
   印章红只用在「必传」「印章」「完成」这几处；主按钮用墨蓝。 */

:root {
  --ink: #18233d;
  --ink-2: #3a4766;
  --muted: #687086;
  --paper: #f3f5f8;
  --sheet: #ffffff;
  --rule: #d6dce5;
  --rule-2: #e7ebf1;
  --blue: #2457c5;
  --blue-50: #edf2fc;
  --seal: #c1272d;
  --seal-50: #fbeced;
  --ok: #2b7a4b;
  --ok-50: #e8f4ec;
  --warn: #8f5400;
  --warn-50: #fff3d6;
  --bad: #b42318;
  --bad-50: #fdecea;
  --mark: #ffe48a;
  --r: 6px;
  --r-lg: 10px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", serif;
  --shadow-sheet: 0 1px 0 var(--rule), 0 6px 18px -12px rgba(24, 35, 61, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.7 var(--sans); letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 .8em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r); z-index: 99; }
.skip:focus { left: 12px; }

.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--muted); }
.small, small { font-size: 13px; }
.center { text-align: center; }
.ok-t { color: var(--ok); }
.warn-t { color: var(--warn); }
.bad-t { color: var(--bad); }
mark.todo { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 2px; }
code, pre { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }

/* ---------- 标题 ---------- */
.ptitle { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: .02em; margin-bottom: 6px; }
.h2 { font-size: 18px; margin: 28px 0 12px; }
.sec-t { font-family: var(--serif); font-size: 28px; letter-spacing: .02em; margin-bottom: 10px; }
.sec-d { color: var(--ink-2); max-width: 46em; }
.lead { font-size: 17px; color: var(--ink-2); }

/* ---------- 品牌 ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand b { font-family: var(--serif); font-size: 19px; letter-spacing: .06em; }
.mark {
  width: 30px; height: 30px; display: inline-grid; place-items: center;
  background: var(--seal); color: #fff; border-radius: 4px;
  font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1;
  box-shadow: inset 0 0 0 2px var(--seal), inset 0 0 0 3px rgba(255, 255, 255, .55);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--rule); background: var(--sheet); color: var(--ink);
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: #b8c2d1; background: #fafbfd; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #24345a; border-color: #24345a; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); }
.btn.primary.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn.sm { min-height: 32px; padding: 0 11px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.lnk { background: none; border: 0; padding: 0 4px; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.lnk.danger { color: var(--bad); }
.lnk-strong { font-weight: 600; }

/* ---------- 表单 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field .fl { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.req { color: var(--seal); font-style: normal; margin-left: 2px; }
.fh { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: var(--r);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 87, 197, .14); }
input[disabled] { background: var(--paper); color: var(--muted); }
input[type=file] { font-size: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.span2 { grid-column: span 2; }
fieldset { border: 0; padding: 0; margin: 0; }
details.more { border-top: 1px dashed var(--rule); padding-top: 12px; }
details.more > summary { cursor: pointer; color: var(--blue); font-size: 14px; margin-bottom: 12px; }
.type-field { display: grid; gap: 10px; }
.type-field legend { margin-bottom: 8px; }
.type-opt { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r); background: #fff; cursor: pointer; }
.type-opt input { grid-row: span 2; margin-top: 5px; }
.type-opt b { font-size: 15px; }
.type-opt small { color: var(--muted); line-height: 1.55; }
.type-opt.on, .type-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.type-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- 提示 ---------- */
.flash { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: var(--r); margin-bottom: 16px; font-size: 14px; border: 1px solid; }
.flash.ok { background: var(--ok-50); border-color: #b9dcc6; color: #1f5b37; }
.flash.err { background: var(--bad-50); border-color: #f2c1bb; color: #8a1d14; }
.flash .ic { margin-top: 2px; }
.alert { border-radius: var(--r-lg); padding: 16px 18px; margin-bottom: 18px; border: 1px solid; }
.alert h2 { font-size: 17px; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.alert-b p { margin-bottom: .4em; }
.alert.warn { background: var(--warn-50); border-color: #f0d391; }
.alert.warn h2 { color: var(--warn); }
.alert.bad { background: var(--bad-50); border-color: #f2c1bb; }
.alert.bad h2 { color: var(--bad); }
.alert.info { background: var(--blue-50); border-color: #c8d6f2; }
.announce { display: flex; gap: 8px; padding: 10px 14px; background: var(--warn-50); border: 1px solid #f0d391; border-radius: var(--r); margin-bottom: 16px; font-size: 14px; }
.note-box { background: var(--paper); border-left: 3px solid var(--ink); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; font-size: 14px; margin: 14px 0; }
.note-box p:last-child { margin: 0; }

/* ---------- 状态标签 ---------- */
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.t-neutral { background: #eef1f5; color: var(--ink-2); }
.t-info { background: var(--blue-50); color: var(--blue); }
.t-ok { background: var(--ok-50); color: var(--ok); }
.t-warn { background: var(--warn-50); color: var(--warn); }
.t-bad { background: var(--bad-50); color: var(--bad); }
.t-done { background: #fff; color: var(--seal); border-color: var(--seal); }
.need { display: inline-block; font-size: 12px; font-weight: 600; line-height: 18px; padding: 0 6px; border-radius: 3px; vertical-align: 1px; margin-left: 6px; white-space: nowrap; }
.n-seal { color: var(--seal); box-shadow: inset 0 0 0 1px var(--seal); }
.n-warn { color: var(--warn); background: var(--warn-50); }
.n-info { color: var(--blue); background: var(--blue-50); }
.n-muted { color: var(--muted); background: #eef1f5; }

/* ---------- 卡片 / 纸 ---------- */
.card { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 20px 22px; margin-bottom: 18px; }
.card-t { font-size: 16px; margin-bottom: 12px; }
details.card > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 12px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary .card-t { margin: 0; }
details.card[open] > summary { margin-bottom: 14px; }
details.card[open] > summary .lnk { visibility: hidden; }
.edit-info { margin-top: 10px; border-top: 1px dashed var(--rule); padding-top: 10px; }
.edit-info > summary { list-style: none; cursor: pointer; display: inline-flex; }
.edit-info > summary::-webkit-details-marker { display: none; }
.edit-info[open] > summary { margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.kv dd.big { font-size: 22px; font-weight: 700; font-family: var(--serif); }

/* ---------- 进度条 ---------- */
.bar { height: 8px; background: var(--rule-2); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width .6s ease; }
.bar.ok i { background: var(--ok); }
.bar.sm { height: 5px; width: 90px; }

/* ---------- 步骤条（项目页顶部） ---------- */
.stepper { display: flex; gap: 0; margin: 4px 0 20px; counter-reset: s; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); position: relative; }
.stepper li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--rule); margin: 0 10px; }
.stepper b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--rule); background: #fff; flex: none; }
.stepper b .ic { width: 14px; height: 14px; }
.stepper li.done { color: var(--ink-2); }
.stepper li.done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper li.cur { color: var(--ink); font-weight: 700; }
.stepper li.cur b { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24, 35, 61, .12); }

/* ---------- 项目页 ---------- */
.crumb { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.phead .ptitle { margin-bottom: 4px; }
.pmeta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; margin: 0; }
.phead-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cd { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center; }

/* 资料清单：像一张表格化的资料目录 */
.msec { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 18px 20px 14px; margin-bottom: 16px; scroll-margin-top: 80px; }
.msec-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.msec-h h2 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.msec-no { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 13px; font-family: var(--serif); }
.msec-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.msec-d { color: var(--muted); font-size: 13px; margin: 6px 0 4px 36px; }
.msec-note { display: flex; gap: 6px; font-size: 13px; color: var(--ok); background: var(--ok-50); padding: 8px 12px; border-radius: var(--r); margin: 10px 0 4px; }
.mgroup.rep { border: 1px solid var(--rule); border-radius: var(--r); margin: 12px 0; padding: 4px 12px 2px; }
.mgroup-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 0; border-bottom: 1px dashed var(--rule); }
.mgroup-h > b { font-size: 15px; }
.g-form { display: flex; gap: 6px; align-items: center; flex: 1; min-width: 240px; }
.g-form input { min-height: 34px !important; padding: 4px 10px !important; max-width: 320px; }
.slots { margin: 6px 0 0; }
.slot { border-top: 1px solid var(--rule-2); padding: 12px 0; }
.mgroup:not(.rep) .slots > .slot:first-child { border-top: 0; }
.slot-main { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; }
.slot-ic { width: 20px; height: 20px; margin-top: 3px; border: 1.5px solid #9aa5b8; border-radius: 4px; display: grid; place-items: center; background: #fff; }
.slot.done .slot-ic { background: var(--ok); border-color: var(--ok); color: #fff; }
.slot.done .slot-ic .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.slot.warn .slot-ic { border-color: var(--warn); }
.slot-l { margin: 0; font-weight: 600; }
.slot-h { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.slot-ai { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-size: 13px; color: var(--warn); background: var(--warn-50); padding: 6px 10px; border-radius: var(--r); }
.slot-ai.must { color: var(--bad); background: var(--bad-50); }
.slot-ai .ic { margin-top: 3px; width: 15px; height: 15px; }
.up-btn { position: relative; overflow: hidden; }
.up-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.slot.drag { background: var(--blue-50); outline: 2px dashed var(--blue); outline-offset: -2px; border-radius: var(--r); }
.files { margin: 8px 0 0 34px; display: grid; gap: 6px; }
.file { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--paper); border-radius: var(--r); font-size: 14px; }
.f-ic { color: var(--muted); display: inline-flex; }
.f-txt { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.f-txt a { color: var(--ink); overflow-wrap: anywhere; }
.f-txt small { font-size: 12px; }
.f-del { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 4px; display: inline-flex; }
.f-del:hover { color: var(--bad); background: #fff; }
.file.up { background: var(--blue-50); }
.file.up .bar { flex: 1; max-width: 160px; height: 6px; }
.file.err { background: var(--bad-50); color: var(--bad); }
.add-g { margin-top: 10px; }

/* 侧栏：资料完整度 */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 14px 0 10px; font-size: 14px; }
.comp li { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--rule); padding-bottom: 4px; }
.comp b { font-variant-numeric: tabular-nums; }
.miss { font-size: 13px; margin: 10px 0; padding: 10px 12px; background: var(--seal-50); border-radius: var(--r); }
.miss p { margin: 0 0 4px; font-weight: 600; color: var(--seal); display: flex; gap: 6px; align-items: center; }
.miss ul { list-style: disc; padding-left: 18px; }
.miss a { color: var(--ink); }
.miss.ai { background: var(--warn-50); }
.miss.ai p { color: var(--warn); }
.miss li.must { color: var(--bad); }
.submit-form { margin: 14px 0 8px; }

/* 撰写中 */
.work-card h2 { font-size: 19px; }
.wc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.wc-stage { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 10px; }
.wc-stage b { font-size: 15px; }
.wc-stage span { color: var(--ink-2); font-size: 14px; }
.stages { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 16px 0 10px; }
.stages li { flex: 1 1 0; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-align: center; position: relative; }
.stages li::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 1px; background: var(--rule); z-index: 0; }
.stages li:first-child::before { display: none; }
.stages b { width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; display: grid; place-items: center; z-index: 1; }
.stages b .ic { width: 13px; height: 13px; }
.stages li.done { color: var(--ink-2); }
.stages li.done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.stages li.cur { color: var(--ink); font-weight: 700; }
.stages li.cur b { border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(24, 35, 61, .12); } }
.events { font-size: 13px; display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.events li { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; }
.events time { color: var(--muted); font-variant-numeric: tabular-nums; }
.stat-line { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0; font-size: 13px; color: var(--muted); }
.stat-line b { font-size: 20px; color: var(--ink); font-family: var(--serif); margin-right: 4px; }

/* 预览就绪 / 已完成 */
.ready-card { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 3px solid var(--ok); }
.ready-card h2 { font-size: 20px; display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.rc-todo, .rc-check { font-size: 14px; margin: 4px 0 0; display: flex; gap: 6px; align-items: center; }
.rc-act { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.done-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; border-top: 3px solid var(--seal); }
.done-card h2 { font-size: 21px; font-family: var(--serif); margin-bottom: 6px; }
.dc-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.done-seal { color: var(--seal); display: grid; place-items: center; }
.seal { display: block; }
.done-stamp { width: 132px; height: 132px; transform: rotate(-10deg); opacity: .9; }
.regen > .pgrid, .regen .materials { margin-top: 6px; }

/* 对话框 */
.dlg { border: 0; border-radius: var(--r-lg); padding: 0; width: min(460px, calc(100vw - 32px)); box-shadow: 0 24px 60px -20px rgba(24, 35, 61, .5); color: var(--ink); }
.dlg::backdrop { background: rgba(24, 35, 61, .45); }
.dlg-in { padding: 22px 24px; display: grid; gap: 12px; }
.dlg h2 { font-family: var(--serif); font-size: 20px; }
.dlg-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.price-kv { grid-template-columns: 6em 1fr; font-size: 15px; }

/* 列表行 */
.plist { display: grid; gap: 10px; }
.prow { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 14px 18px; color: var(--ink); text-decoration: none !important; border-left: 3px solid transparent; transition: border-color .15s; }
.prow:hover { border-left-color: var(--ink); }
.prow-main { min-width: 0; }
.prow-t { font-weight: 700; margin: 0 0 2px; overflow-wrap: anywhere; }
.prow-m { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--muted); margin: 0; }
.prow-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; text-align: right; }
.prow-side small { font-size: 12px; color: var(--muted); }
.prow-pg { display: flex; align-items: center; gap: 6px; }
.empty { text-align: center; padding: 36px 16px; background: var(--sheet); border-radius: var(--r-lg); border: 1px dashed var(--rule); }
.empty-t { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.empty-d { color: var(--muted); font-size: 14px; }

/* 工作台 */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.dash-head .muted { display: flex; gap: 8px; align-items: center; margin: 0; }
.dash-sec { margin-bottom: 22px; }
.dash-sec .h2 { margin-top: 6px; }
.guide-card { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-left: 3px solid var(--seal); }
.guide-card h2 { font-size: 17px; margin-bottom: 10px; }
.mini-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.mini-steps b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; margin-right: 6px; }
.gc-act { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex: none; }

/* 表格 */
.tw { overflow-x: auto; background: var(--sheet); border-radius: var(--r); border: 1px solid var(--rule-2); }
.card .tw { border: 0; border-radius: 0; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.tbl th { font-size: 13px; color: var(--muted); font-weight: 600; background: #fafbfc; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.none { text-align: center; color: var(--muted); padding: 24px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.filter input { max-width: 280px; }
.filter select { max-width: 160px; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 16px 0; font-size: 14px; color: var(--muted); }

/* 账户 */
.wallet-card { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.wallet-bal { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1.1; margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.wc-note { font-size: 13px; color: var(--muted); text-align: right; }
.wc-note p { margin: 0 0 2px; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; }
.amt input { position: absolute; opacity: 0; }
.amt span { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r); font-weight: 600; cursor: pointer; background: #fff; }
.amt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.amt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.pay-acc { background: var(--paper); padding: 12px 14px; border-radius: var(--r); white-space: pre-wrap; font-family: var(--sans); font-size: 15px; }
.qr { width: 180px; height: auto; border: 1px solid var(--rule); border-radius: var(--r); padding: 6px; background: #fff; }
.inv-orders { display: grid; gap: 6px; padding: 10px 12px; background: var(--paper); border-radius: var(--r); }
.fb-list { display: grid; gap: 14px; }
.fb-list li { border-bottom: 1px solid var(--rule-2); padding-bottom: 12px; }
.fb-q { margin-bottom: 4px; }
.fb-a { background: var(--paper); padding: 10px 12px; border-radius: var(--r); font-size: 14px; }
.link-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 10px; }
.link-list a { display: inline-flex; gap: 6px; align-items: center; }
.contact-line { color: var(--ink-2); font-size: 14px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form .fh { flex-basis: 100%; }
.inline-form select { max-width: 420px; }
.narrow-form { max-width: 420px; }

/* 登录注册 */
.auth { min-height: calc(100vh - 220px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 16px; }
.auth-card { width: min(420px, 100%); background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 28px 28px 22px; border-top: 3px solid var(--ink); }
.auth-card .ptitle { margin-bottom: 18px; }
.auth-alt { text-align: right; font-size: 14px; margin: 12px 0 0; }
.auth-foot { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- 首页 ---------- */
.hero { display: grid; gap: 40px; align-items: center; }
.hero-t { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1.22; letter-spacing: .02em; margin-bottom: 18px; }
.hero-lead { font-size: 17px; color: var(--ink-2); max-width: 31em; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.hero-facts li { display: flex; gap: 6px; align-items: center; }
.hero-vis { position: relative; height: 420px; }
.sheet { position: absolute; background: #fff; border-radius: 3px; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -22px rgba(24, 35, 61, .45); }
.sheet.back { width: 62%; aspect-ratio: 210/297; padding: 24px 22px; }
.sheet.back i { display: block; height: 8px; background: var(--rule-2); border-radius: 2px; margin: 14px 0; }
.sheet.back i.s { width: 60%; }
.sheet.b2 { right: 2%; top: 4%; transform: rotate(6deg); }
.sheet.b1 { right: 14%; top: 8%; transform: rotate(-4deg); }
.sheet-tag { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--rule); padding: 1px 8px; border-radius: 3px; }
.sheet.front { width: 66%; aspect-ratio: 210/297; left: 4%; top: 2%; padding: 9% 8% 6%; display: flex; flex-direction: column; align-items: center; text-align: center; font-family: var(--serif); }
.cv-p { font-size: 15px; font-weight: 700; margin: 6% 0 14%; }
.cv-h { font-size: 30px; font-weight: 700; letter-spacing: .08em; margin-bottom: 4%; }
.cv-s { font-size: 15px; font-weight: 700; margin-bottom: auto; }
.cv-lines { width: 100%; display: grid; gap: 10px; font-size: 12px; text-align: left; font-family: var(--sans); color: var(--ink-2); }
.cv-lines span { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.stamp-wrap { position: absolute; right: 9%; bottom: 13%; width: 30%; color: var(--seal); }
.hero-seal { width: 100%; height: auto; opacity: .88; transform: rotate(-14deg); animation: stamp .55s cubic-bezier(.2, .9, .3, 1.2) .5s both; mix-blend-mode: multiply; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.9); } 70% { opacity: .95; } to { opacity: .88; transform: rotate(-14deg) scale(1); } }
.band { padding: 56px 0 8px; }
.steps3 { display: grid; gap: 18px; counter-reset: st; margin-top: 18px; }
.steps3 li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 20px; }
.steps3 b { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.steps3 h3 { font-size: 17px; margin-bottom: 6px; }
.steps3 p { margin: 0; color: var(--ink-2); font-size: 14px; }
.split { display: grid; gap: 28px; }
.ruled { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 6px 22px; }
.ruled li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--rule-2); }
.ruled li:last-child { border-bottom: 0; }
.ruled .ic { color: var(--ok); margin-top: 3px; stroke-width: 2.2; }
.cl-over { display: grid; gap: 14px; margin-top: 16px; }
.clo-sec { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 16px 18px; }
.clo-sec h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.clo-sec h3 small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: auto; }
.clo-no { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; font-family: var(--serif); }
.clo-sec li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px dotted var(--rule); font-size: 14px; }
.price-band .split { align-items: center; }
.price-cta { display: flex; }
.faq { display: grid; gap: 10px; margin-top: 14px; }
.faq details { background: var(--sheet); border-radius: var(--r); box-shadow: var(--shadow-sheet); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding-bottom: 14px; color: var(--ink-2); font-size: 14px; }
.final-cta { text-align: center; padding-bottom: 56px; }
.final-cta .sec-d { margin: 0 auto 18px; }

/* 文章页 */
.narrow { max-width: 760px; margin: 0 auto; }
.guide { counter-reset: g; display: grid; gap: 14px; margin: 22px 0; }
.guide li { counter-increment: g; background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 18px 20px 14px 64px; position: relative; }
.guide li::before { content: counter(g); position: absolute; left: 20px; top: 18px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.guide h2 { font-size: 17px; margin-bottom: 6px; }
.guide p { color: var(--ink-2); font-size: 14px; }
.price-card { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); padding: 22px 24px; border-top: 3px solid var(--ink); margin: 18px 0; }
.pc-main { font-size: 18px; margin-bottom: 4px; }
.pc-main b { font-family: var(--serif); font-size: 36px; margin: 0 4px; }
.video video { width: 100%; border-radius: var(--r-lg); background: #000; }
.contact p { display: flex; gap: 6px; align-items: center; }
.prose .h2 { font-size: 17px; }
.errpage { padding: 72px 16px; }
.err-code { font-family: var(--serif); font-size: 56px; color: var(--rule); font-weight: 700; margin: 0; }

/* 页脚 */
.ft { border-top: 1px solid var(--rule); background: #fff; margin-top: 40px; }
.ft-in { max-width: 1180px; margin: 0 auto; padding: 28px 24px; display: grid; gap: 20px; }
.ft-brand p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.ft-nav a { color: var(--ink-2); }
.ft-meta { font-size: 13px; color: var(--muted); }
.ft-meta p { margin: 0 0 2px; }
.ft.mini { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; padding: 14px; font-size: 12px; color: var(--muted); margin-top: 24px; border-top: 1px solid var(--rule-2); background: transparent; }

/* 手机「我的」 */
.me-head { display: flex; gap: 14px; align-items: center; padding: 8px 0 18px; }
.me-av { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.me-av .ic { width: 26px; height: 26px; }
.me-n { font-weight: 700; font-size: 17px; margin: 0; }
.menu { background: var(--sheet); border-radius: var(--r-lg); box-shadow: var(--shadow-sheet); }
.menu a { display: flex; align-items: center; gap: 12px; padding: 15px 16px; color: var(--ink); border-bottom: 1px solid var(--rule-2); text-decoration: none !important; }
.menu li:last-child a { border-bottom: 0; }
.menu span { flex: 1; }
.menu .ic:last-child { color: var(--muted); width: 16px; height: 16px; }
.me-out { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 公司资料与本次招标操作，窄屏自动换行。 */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.actions form { margin: 0; }
input[readonly] { background: var(--paper); }
