/* =========================================================
   健康内容发布前误读风险预测工具
   版式参考：报告式排版 · 白底 · 细线 · 单一蓝色强调
   ========================================================= */

:root {
  --ink: #101828;
  --ink-2: #344054;
  --sub: #667085;
  --faint: #98a2b3;
  --line: #e4e7ec;
  --line-soft: #eef1f5;

  --blue: #1d4ed8;
  --blue-dark: #0a1a3c;
  --blue-mid: #2f4a86;
  --blue-tint: #eef3ff;

  --red: #d92d20;
  --red-bg: #fef3f2;
  --orange: #e8590c;
  --orange-bg: #fff4ed;
  --amber: #b54708;
  --amber-bg: #fffaeb;
  --green: #067647;
  --green-bg: #ecfdf3;

  --wrap: 1180px;
  --disclaimer-h: 34px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  padding-bottom: var(--disclaimer-h);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0; }
::selection { background: rgba(29, 78, 216, .16); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { height: 58px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 17px; height: 17px; display: block; position: relative;
  background: var(--blue-dark);
}
.brand-mark::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 7px; height: 7px; background: #3b6fe0;
}
.brand-name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }

.topnav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex: none; }
.topnav a, .topnav button {
  border: 0; background: none; padding: 0; font-size: 13px; color: var(--sub); white-space: nowrap;
  transition: color .15s;
}
.topnav a:hover, .topnav button:hover, .topnav a.active { color: var(--ink); }

.stepnav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.stepnav .step-arrow { color: #c3cad6; font-size: 13px; user-select: none; flex: none; }
.stepnav button {
  border: 0; background: none; padding: 0 0 3px; font-size: 12.5px; color: var(--faint);
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 7px;
  transition: color .15s, border-color .15s;
}
.stepnav button .n { font-size: 11px; color: var(--faint); }
.stepnav button:hover { color: var(--ink-2); }
.stepnav button.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--blue); }
.stepnav button.active .n { color: var(--blue); }
.stepnav button.done { color: var(--ink-2); }
/* 「下一步」暗示：紧跟当前步骤的那一步用蓝底小标签提示，引导用户主动推进 */
.stepnav button.next { color: var(--blue); }
.stepnav button.next .n { color: var(--blue); }
.stepnav .next-tag {
  font-size: 10px; font-weight: 600; color: var(--blue);
  background: var(--blue-tint); border: 1px solid #d8e2f8;
  padding: 1px 5px; border-radius: 2px;
  animation: nextPulse 2.2s ease-in-out infinite;
}
@keyframes nextPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ---------------- 首页 hero ---------------- */
.hero {
  position: relative; isolation: isolate;
  padding: 84px 0 96px;
  color: #fff;
  background-color: var(--blue-dark);
  background-image:
    linear-gradient(180deg, rgba(7, 20, 46, .72) 0%, rgba(7, 20, 46, .42) 46%, rgba(7, 20, 46, .28) 100%),
    url("/images/hero-night.jpg");
  background-size: cover;
  background-position: center 62%;
}
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: 40px; line-height: 1.28; margin: 0 0 16px;
  letter-spacing: -.03em; font-weight: 700;
}
.hero p {
  font-size: 16px; color: rgba(233, 240, 255, .82);
  max-width: 620px; margin: 0 auto 30px; line-height: 1.8;
}
.hero-tag {
  font-size: 13px; letter-spacing: 4px;
  color: rgba(233, 240, 255, .72);
  margin: 0 0 14px;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 62px 0; }
.section.tight { padding: 46px 0; }
.section-head { margin-bottom: 26px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.eyebrow {
  font-size: 11px; letter-spacing: .16em; color: var(--blue); font-weight: 600;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.section-title { font-size: 27px; margin: 0; letter-spacing: -.025em; }
.section-sub { font-size: 14px; color: var(--sub); margin-top: 8px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.link-arrow { font-size: 13px; color: var(--blue); border: 0; background: none; padding: 0; }
.link-arrow:hover { text-decoration: underline; }

/* 四步 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 30px; }
.step { border-top: 2px solid var(--blue); padding-top: 18px; }
.step .no { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.step h3 { font-size: 16.5px; margin: 8px 0 8px; }
.step p { font-size: 13.5px; color: var(--sub); line-height: 1.75; }
.note-bar {
  margin-top: 30px; padding: 14px 18px;
  background: #f7f9fc; border: 1px solid var(--line); border-left: 2px solid var(--blue);
  font-size: 13.5px; color: var(--ink-2);
}
.note-bar b { font-weight: 700; }

/* ---------------- 输入面板 ---------------- */
.compose { border: 1px solid var(--line); background: #fff; }
.compose-body { padding: 22px 24px 24px; }
.article-area { position: relative; }
textarea, input[type="text"] {
  width: 100%; border: 1px solid var(--line); border-radius: 2px;
  padding: 13px 14px; background: #fff; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea:focus, input[type="text"]:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}
textarea { min-height: 176px; resize: vertical; line-height: 1.85; font-size: 15px; }
textarea::placeholder, input::placeholder { color: var(--faint); }

.compose-tools {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.tool-label { font-size: 12px; color: var(--faint); }
.tool-label.limit { color: var(--amber); font-weight: 600; }
.short-note { font-size: 12px; color: var(--orange); }
.short-note[hidden] { display: none !important; }
.sample-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sample-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 2px;
  padding: 5px 11px; font-size: 12.5px; color: var(--ink-2);
  transition: border-color .15s, color .15s, background .15s;
}
.sample-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.sample-chip.ghost { color: var(--faint); }

/* 示例区：单独成框，明确标注是示例，不与输入内容混淆 */
.sample-box {
  margin-top: 16px; padding: 12px 15px 14px;
  border: 1px solid var(--line); background: #f8fafd;
}
.sample-box-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 11px; }
.sample-box-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--blue); background: var(--blue-tint);
  border: 1px solid #d8e2f8; padding: 2px 8px;
}
.sample-box-note { font-size: 12px; color: var(--sub); }
.sample-random {
  margin-left: auto; font-size: 12px; font-weight: 600;
  color: var(--blue); background: #fff; border: 1px solid #c6d4f0;
  padding: 3px 11px; border-radius: 2px; transition: background .15s, border-color .15s;
}
.sample-random:hover { background: var(--blue-tint); border-color: var(--blue); }
.sample-random[disabled] { color: var(--faint); border-color: var(--line); background: #f4f6fa; cursor: default; }
.chip-goal {
  display: inline-flex; align-items: center; gap: 5px; margin-right: 6px;
  padding: 2px 7px; font-size: 10.5px; color: var(--ink-2); background: #eef2f8;
}
.chip-goal::before { content: ""; width: 5px; height: 5px; background: var(--tone, var(--blue)); }
.chip-goal[data-tone="blue"]   { --tone: #1d4ed8; }
.chip-goal[data-tone="orange"] { --tone: #e8590c; }
.chip-goal[data-tone="red"]    { --tone: #d92d20; }
.chip-goal[data-tone="green"]  { --tone: #067647; }


.field-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin: 20px 0 7px; display: block; }
.field-label .opt { font-weight: 400; color: var(--faint); margin-left: 6px; }

.persona-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 22px; margin-top: 4px; }
.pick {
  display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px;
  border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, background .15s;
}
.pick:hover { border-color: #c7d2e5; }
.pick.on { border-color: #b9c9ef; background: #fbfcff; }
.pick input { margin: 4px 0 0; width: 15px; height: 15px; accent-color: var(--blue); flex: none; }
.pick .pi-name { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.pick .pi-meta { display: block; font-size: 11.5px; color: var(--faint); line-height: 1.4; }
.pick-actions { display: flex; gap: 14px; margin-left: auto; }
.pick-actions button {
  border: 0; background: none; font-size: 12px; color: var(--blue); padding: 0;
}

.submit-row { margin-top: 22px; }
.btn-block {
  width: 100%; border: 0; background: var(--blue); color: #fff;
  padding: 15px 20px; font-size: 15.5px; font-weight: 700; border-radius: 2px;
  letter-spacing: .01em; box-shadow: 0 4px 12px rgba(29, 78, 216, .16);
  transition: background .15s, transform .12s, box-shadow .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-block:hover { background: #1a45c0; transform: translateY(-1px); box-shadow: 0 7px 16px rgba(29, 78, 216, .22); }
.btn-block:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(29, 78, 216, .18); }
.btn-block:disabled { background: #93a9e8; cursor: not-allowed; }
.compose-hint { font-size: 12px; color: var(--faint); margin-top: 10px; line-height: 1.7; }

/* 一句话两种理解 */
.quote-src {
  font-size: 15px; color: var(--ink-2); line-height: 1.9;
  padding: 18px 20px; background: #fbfcfd; border-left: 2px solid var(--ink);
  margin-bottom: 20px;
}
.quote-src b { color: var(--ink); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote {
  padding: 22px 24px 20px; border-radius: 2px;
}
.quote.mis { background: var(--orange-bg); box-shadow: inset 3px 0 0 var(--orange); }
.quote.ok { background: #eff3f9; box-shadow: inset 3px 0 0 var(--blue); }
.quote .who { font-size: 12px; color: var(--sub); margin-bottom: 12px; }
.quote .who b { color: var(--ink-2); font-size: 12.5px; }
.quote .say { font-size: 19px; font-weight: 700; line-height: 1.55; letter-spacing: -.01em; }
.quote .say::before { content: "“"; }
.quote .say::after { content: "”"; }
.quote .read { font-size: 12.5px; color: var(--sub); margin-top: 12px; }
.quote .read b { color: var(--ink-2); }
.quote-cap { font-size: 12.5px; color: var(--faint); margin-top: 16px; }

/* 读者墙 */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.wall-cell {
  padding: 20px 24px 22px; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.wall-cell:nth-child(3n) { border-right: 0; }
.wall-cell h3 { font-size: 15.5px; margin: 0 0 3px; }
.wall-cell .meta { font-size: 11.5px; color: var(--faint); letter-spacing: .01em; }
.wall-cell p { font-size: 13px; color: var(--sub); margin-top: 9px; line-height: 1.7; }

/* CTA */
.cta {
  background: var(--blue-dark); color: #fff; padding: 56px 0;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(90, 130, 230, .35), transparent 68%);
}
.cta h2 { font-size: 28px; margin: 0 0 12px; letter-spacing: -.02em; max-width: 720px; }
.cta p { font-size: 14px; color: rgba(226, 235, 252, .74); max-width: 640px; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 58px; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { font-size: 13px; font-weight: 700; }
.footer-desc { font-size: 12px; color: var(--faint); margin-top: 4px; }
.footer-note { font-size: 11.5px; color: var(--faint); max-width: 460px; line-height: 1.8; }

/* ---------------- 报告页 ---------------- */
.page { padding: 40px 0 118px; }
.report-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.report-title { font-size: 40px; margin: 0 0 8px; letter-spacing: -.035em; }
.report-sub { font-size: 13.5px; color: var(--sub); }
.demo-tag {
  flex: none; font-size: 11.5px; color: var(--faint); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 2px;
}
.head-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.btn.mini { padding: 7px 13px; font-size: 13px; font-weight: 500; }
.max-risk { font-size: 18px; margin: 24px 0 20px; line-height: 1.65; letter-spacing: -.01em; }
.max-risk .lab { color: var(--sub); font-weight: 400; margin-right: 6px; }
.max-risk b { font-weight: 700; }
/* 标注进行中：浅底提示，避免与“已出结果”混淆 */
.max-risk.pending { background: #f5f7fb; padding: 12px 16px; margin-left: -16px; margin-right: -16px; }
.max-risk.pending .lab { color: var(--blue); font-weight: 600; }
.max-risk.pending b { font-weight: 400; color: var(--ink-2, #3c4a63); }
.pending-mark { color: #c3c9d4; font-weight: 400; }
/* 误读条目骨架 */
.sk-issue { padding: 6px 0 2px; }
.sk-issue i { display: block; height: 44px; margin-bottom: 10px; background: linear-gradient(90deg, #f0f2f6 0%, #f7f8fb 50%, #f0f2f6 100%); background-size: 200% 100%; animation: skShift 1.4s ease-in-out infinite; }
.sk-issue i:nth-child(2) { height: 30px; width: 82%; }
.sk-issue i:nth-child(3) { height: 30px; width: 64%; }
@keyframes skShift { 0% { background-position: 0% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk-issue i { animation: none; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 15px 22px 17px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .k { font-size: 11.5px; color: var(--sub); letter-spacing: .02em; }
.stat .v { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.25; margin-top: 4px; }
.stat .v small { font-size: 13px; font-weight: 500; margin-left: 5px; letter-spacing: 0; }
.stat.v-high .v { color: var(--red); }
.stat.v-mid .v { color: var(--orange); }
.stat.v-blue .v { color: var(--blue); }
.stat .v.word { font-size: 24px; }
.stat .v.muted { color: var(--faint); }
.stat.zero .v { color: var(--faint); font-weight: 600; }
.max-risk { text-wrap: pretty; }

/* 两栏 */
.report-body { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 44px; margin-top: 36px; align-items: start; }
.body-title { font-size: 15px; margin: 0 0 2px; }
.body-note { font-size: 11.5px; color: var(--faint); }

.readers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 18px; align-items: stretch; }
.rcard { border-top: 1.5px solid var(--ink); padding: 13px 0 24px; display: flex; flex-direction: column; }
.rcard .rcard-note { margin-top: auto; padding-top: 10px; }
.rcard.failed { opacity: .62; }
.rcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rcard-name { font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.rcard-meta { font-size: 11.5px; color: var(--faint); margin-top: 1px; }
.rcard-quote { font-size: 16px; font-weight: 700; line-height: 1.6; margin: 10px 0 10px; letter-spacing: -.01em; }
.kv { display: flex; gap: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink-2); }
.kv .k { color: var(--faint); flex: none; }
.kv + .kv { margin-top: 3px; }
.meter { margin-top: 11px; }
.meter-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 11.5px; color: var(--sub); }
.meter-val { font-size: 13px; font-weight: 700; color: var(--ink); }
.track { height: 3px; background: #eceff4; margin-top: 6px; overflow: hidden; }
.track > i { display: block; height: 100%; background: var(--blue); }
.rcard-note { font-size: 12px; line-height: 1.65; margin-top: 10px; color: var(--sub); text-wrap: pretty; }
.rcard-note.risk-high { color: var(--red); }
.rcard-note.risk-midhigh { color: var(--orange); }
.rcard-note.risk-mid { color: var(--amber); }

/* 右栏 */
.rail { border-left: 1px solid var(--line); padding-left: 30px; }
.rail-sec + .rail-sec { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.rail-sec h3 { font-size: 14px; margin: 0; display: flex; align-items: baseline; gap: 8px; }
.rail-sec h3 .count { font-size: 11.5px; color: var(--faint); font-weight: 400; }
.rail-note { font-size: 11.5px; color: var(--faint); margin-top: 3px; }
.core-text { font-size: 13px; color: var(--ink-2); margin-top: 10px; line-height: 1.8; }
.core-text.empty { color: var(--faint); }

.article-box {
  margin-top: 10px; border: 1px solid var(--line); padding: 14px 15px;
  font-size: 13px; line-height: 2; max-height: 340px; overflow: auto;
  white-space: pre-wrap; word-break: break-word; background: #fff;
}
.article-box::-webkit-scrollbar { width: 6px; }
.article-box::-webkit-scrollbar-thumb { background: #d6dbe5; }
.article-box.full { max-height: none; }

.iitem { border-top: 1px solid var(--line-soft); padding: 14px 0 15px; }
.iitem:first-of-type { border-top: 0; padding-top: 10px; }
.iitem.done { opacity: .45; }
.iitem-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--sub); }
.iitem-sentence { font-size: 13.5px; font-weight: 600; line-height: 1.7; margin-top: 8px; }
.iitem-mis {
  font-size: 12.5px; color: var(--ink-2); margin-top: 7px; line-height: 1.7;
  background: #f7f8fa; border-left: 2px solid var(--line); padding: 6px 10px 6px 9px;
}
.iitem-fix {
  font-size: 12px; color: var(--ink-2); margin-top: 6px; line-height: 1.7;
  background: var(--blue-tint); border-left: 2px solid var(--blue); padding: 7px 10px 7px 9px;
}
.iitem-fix b { color: var(--blue); font-weight: 600; }
.iitem-btns { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.iitem-inputs { display: none; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.iitem-inputs.open { display: flex; }
.iitem-inputs input { flex: 1; min-width: 120px; padding: 6px 9px; font-size: 12.5px; }
.mini-issue { border-top: 1px solid var(--line-soft); padding: 12px 0; font-size: 12.5px; }
.mini-issue .q { color: var(--ink-2); }

.anx-row { margin-top: 14px; }
.anx-top { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; color: var(--sub); }
.anx-top b { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.anx-track { height: 4px; background: #eceff4; margin-top: 7px; }
.anx-track > i { display: block; height: 100%; }
.anx-verdict { margin-top: 18px; font-size: 13px; }
.anx-verdict .lab { color: var(--sub); font-size: 11.5px; display: block; }
.anx-verdict b { font-size: 17px; color: var(--blue); letter-spacing: -.01em; }
.anx-expl { font-size: 12px; color: var(--sub); line-height: 1.75; margin-top: 8px; }

/* 标签 */
.tag {
  display: inline-block; padding: 1px 7px; font-size: 11px; font-weight: 600;
  border-radius: 2px; line-height: 1.7; letter-spacing: .01em;
}
.tag.high, .tag.risk-high { background: var(--red); color: #fff; }
.tag.midhigh, .tag.risk-midhigh { background: var(--orange); color: #fff; }
.tag.mid, .tag.risk-mid { background: #f5c75c; color: #4a3200; }
.tag.low, .tag.type { background: #eef1f5; color: var(--sub); }
.tag.ok { background: var(--green-bg); color: var(--green); }
.tag.soft { background: var(--blue-tint); color: var(--blue); }
.tag.outline { background: #fff; border: 1px solid var(--line); color: var(--sub); font-weight: 500; }

/* 底部操作条 */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: var(--disclaimer-h); z-index: 55;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -1px 0 rgba(16, 24, 40, .02);
}
.actionbar-inner {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 9px 0; flex-wrap: wrap;
}
.actionbar .ab-text { font-size: 12.5px; color: var(--sub); }
.actionbar .ab-right { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 2px; padding: 11px 20px;
  font-size: 14px; font-weight: 600; background: var(--blue); color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #1a45c0; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.line { background: #fff; color: var(--ink-2); border-color: #d0d5dd; }
.btn.line:hover { background: #f9fafb; border-color: #98a2b3; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--sub); border-color: transparent; }
.btn.ghost:hover { color: var(--ink); background: #f4f6fa; }
.btn.sm { padding: 7px 14px; font-size: 12.5px; }
.btn.xs { padding: 4px 10px; font-size: 11.5px; border-color: #d0d5dd; background: #fff; color: var(--sub); font-weight: 500; }
.btn.xs:hover { border-color: var(--ink-2); color: var(--ink); }
.btn.xs.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.danger { background: #fff; border-color: #f0c3bf; color: var(--red); }
.btn.danger:hover { background: var(--red-bg); }

/* 报告页下方的焦虑详情 */
.detail-sec { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.gauge-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gauge-item { height: 170px; }
.gauge-cap { font-size: 11.5px; color: var(--sub); text-align: center; margin-top: -6px; }
.anx-list { margin: 0; padding: 0; list-style: none; }
.anx-list li { border-top: 1px solid var(--line-soft); padding: 13px 0; font-size: 13px; line-height: 1.75; }
.anx-list li b { display: block; font-weight: 600; }
.anx-list li span { color: var(--sub); font-size: 12.5px; }

/* 读不懂清单 */
.blind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin-top: 10px; }
.blind-item { border-top: 1px solid var(--line-soft); padding: 11px 0 12px; font-size: 13px; line-height: 1.7; }
.blind-item b { display: block; font-weight: 600; color: var(--ink); }
.blind-item span { color: var(--sub); font-size: 12.5px; }

/* 理解障碍（标注员输出，不计入误读） */
.bar-list { margin-top: 10px; }
.bar-row { border-top: 1px solid var(--line-soft); padding: 12px 0 13px; font-size: 13px; line-height: 1.7; }
.bar-q { font-weight: 600; color: var(--ink); }
.bar-meta { margin-top: 2px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.bar-who { font-size: 11.5px; color: var(--blue); flex: none; }
.bar-p { color: var(--ink-2); font-size: 12.5px; }
.bar-fix { margin-top: 4px; color: var(--sub); font-size: 12px; }
.bar-fix b { color: var(--ink-2); font-weight: 600; }

/* 读者卡片的一句话反应 */
.rcard-one {
  margin: 9px 0 0; font-size: 12.5px; color: var(--sub); line-height: 1.7;
  border-left: 2px solid var(--line); padding-left: 9px;
}
.iitem-check { margin-top: 6px; font-size: 11.5px; color: var(--orange); line-height: 1.7; }

/* ---------------- 家族群转发模拟 ---------------- */
.family-sec { margin-top: 48px; padding-top: 30px; }
.family-empty {
  margin-top: 14px; padding: 18px 20px; background: #f8fafc;
  border: 1px solid var(--line-soft); font-size: 13px; color: var(--sub); line-height: 1.8;
}
.fam-list { margin-top: 18px; max-width: 720px; }
.fam-msg { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.fam-msg:first-child { border-top: 0; }
.fam-ava {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--blue-tint); display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.fam-body { min-width: 0; flex: 1; }
.fam-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--sub); }
.fam-top b { font-size: 13px; color: var(--ink); font-weight: 600; }
.fam-bubble {
  display: inline-block; max-width: 100%; box-sizing: border-box;
  margin-top: 6px; padding: 10px 13px; background: #f4f6fa; border-radius: 2px;
  font-size: 13.5px; line-height: 1.75; color: var(--ink); white-space: pre-wrap; word-break: break-word;
}
.fam-drift {
  margin-top: 6px; font-size: 12px; line-height: 1.7; color: #8a3407;
  background: #fff8e1; border-left: 2px solid #d9a017; padding: 7px 10px;
}
.fam-drift b { font-weight: 600; }
.fam-sum {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 30px; margin-top: 20px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.fam-sum .lab { font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.fam-sum p { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin: 4px 0 0; }

/* ---------------- 改写页 ---------------- */
.rw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 26px; }
.rw-col { display: flex; flex-direction: column; }
.rw-col h3 { font-size: 14px; margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; }
.rw-col h3 .hint-inline { font-size: 11.5px; color: var(--faint); font-weight: 400; }
.rw-box {
  flex: 1; border: 1px solid var(--line); padding: 18px 20px; min-height: 240px;
  font-size: 14px; line-height: 2.05; white-space: pre-wrap; word-break: break-word;
}
.rw-box.editable { border-color: #c9d3e6; background: #fff; outline: none; }
.rw-box.editable:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, .08); }
.rw-box mark { background: #e6edff; border-bottom: 2px solid var(--blue); color: inherit; padding: 0 1px; }

.chg-table { margin-top: 12px; border-top: 1px solid var(--ink); }
.chg-row {
  display: grid; grid-template-columns: 88px 84px minmax(0, 1fr); gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start;
  font-size: 13px; line-height: 1.75;
}
.chg-row .src { justify-self: start; }
.chg-row .why { color: var(--ink-2); }
.chg-row .why b { font-weight: 600; }

/* 条形对比 */
.cmp { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 40px; margin-top: 24px; }
.cmp-title { font-size: 26px; margin: 0 0 8px; }
.cmp-sub { font-size: 12.5px; color: var(--sub); line-height: 1.8; }
.cmp-quote { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 16px; }
.cmp-quote .who { font-size: 11.5px; color: var(--faint); }
.cmp-quote .say { font-size: 15.5px; font-weight: 700; margin-top: 6px; line-height: 1.65; }
.cmp-rows { display: flex; flex-direction: column; gap: 16px; }
.cmp-row .top { display: flex; align-items: baseline; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.cmp-row .val { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp-row .val .arrow { color: var(--faint); font-weight: 400; margin: 0 5px; }
.cmp-row .val .to { color: var(--blue); }
.cmp-bars { margin-top: 7px; display: flex; flex-direction: column; gap: 3px; }
.cmp-bar { height: 4px; background: #eceff4; position: relative; }
.cmp-bar > i { display: block; height: 100%; background: #ccd5e6; }
.cmp-bar.after > i { background: var(--blue); }
.cmp-legend { display: flex; gap: 18px; font-size: 11.5px; color: var(--faint); margin-bottom: 18px; }
.cmp-legend .sw { display: inline-block; width: 14px; height: 4px; margin-right: 6px; vertical-align: middle; }
.cmp-legend .before { background: #ccd5e6; }
.cmp-legend .after { background: var(--blue); }

/* 雷达图 */
.chart-box { width: 100%; max-width: 580px; height: 360px; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.data-table th, .data-table td { padding: 11px 8px; font-size: 13px; border-bottom: 1px solid var(--line); text-align: right; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { font-size: 11.5px; color: var(--faint); font-weight: 500; border-bottom: 1px solid var(--ink); }
.data-table td.up { color: var(--blue); font-weight: 600; }
.data-table td.down { color: var(--red); font-weight: 600; }

/* ---------------- 其他页 ---------------- */
.page-head { padding: 42px 0 24px; }
.page-title { font-size: 34px; margin: 0 0 8px; letter-spacing: -.03em; }
.page-sub { font-size: 13.5px; color: var(--sub); }
.panel { border: 1px solid var(--line); padding: 22px 24px; margin-bottom: 18px; }
.panel h3 { font-size: 15px; margin: 0 0 10px; }
.panel p { font-size: 13.5px; color: var(--ink-2); }
.panel ul { margin: 8px 0 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.panel li { margin-bottom: 6px; }

.history-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: 0; }
.history-item .t { font-size: 13.5px; font-weight: 600; }
.history-item .m { font-size: 11.5px; color: var(--faint); }
.spacer { flex: 1; }

.about-section h3 { font-size: 15px; margin: 24px 0 8px; }
.about-section h3:first-child { margin-top: 0; }
.about-section p, .about-section li { font-size: 14px; color: var(--ink-2); }

/* 状态框 */
.warn-box { background: var(--amber-bg); border: 1px solid #f5d9a8; color: #7a4a06; font-size: 12.5px; padding: 11px 14px; margin: 14px 0; line-height: 1.75; }
.error-box { background: var(--red-bg); border: 1px solid #f4c7c3; color: #912018; font-size: 12.5px; padding: 11px 14px; margin: 14px 0; line-height: 1.75; }
.ok-box { background: var(--green-bg); border: 1px solid #b7ebc9; color: #05603a; font-size: 12.5px; padding: 11px 14px; margin: 14px 0; line-height: 1.75; }
.empty { padding: 46px 16px; text-align: center; color: var(--faint); font-size: 13px; border: 1px dashed var(--line); }

/* loading */
.loading-page { padding: 90px 0 120px; text-align: center; }
.loading-page h2 { font-size: 22px; margin: 20px 0 8px; }
.loading-page p { font-size: 13px; color: var(--sub); }
.loading-page .loading-elapsed {
  font-size: 13px; color: var(--faint); margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.loader {
  display: inline-block; width: 18px; height: 18px; border: 2px solid #d7e0f5;
  border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton-steps { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.sk { width: 8px; height: 8px; background: #e4e7ec; }
.sk.on { background: var(--blue); }

/* toast / modal */
.toast {
  position: fixed; right: 28px; bottom: 108px; transform: translateY(10px);
  background: var(--ink); color: #fff; padding: 10px 18px; font-size: 13px;
  border-radius: 2px; opacity: 0; pointer-events: none; transition: .22s; z-index: 100; max-width: 88vw;
}
.toast.show { opacity: 1; transform: translateY(0); }

.modal-mask {
  position: fixed; inset: 0; background: rgba(16, 24, 40, .42); z-index: 90;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.modal {
  background: #fff; width: 100%; max-width: 560px; padding: 24px 26px;
  max-height: 84vh; overflow: auto; box-shadow: 0 24px 64px rgba(16, 24, 40, .22);
  border-top: 3px solid var(--blue);
}
.modal h3 { font-size: 18px; margin: 0 0 14px; }
.modal p { font-size: 13.5px; margin: 8px 0; color: var(--ink-2); line-height: 1.8; }
.modal-close { float: right; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--faint); padding: 0; }
.modal-close:hover { color: var(--ink); }
.modal pre { white-space: pre-wrap; background: #f7f9fc; padding: 12px; font-size: 12.5px; line-height: 1.8; }

/* 原文标注 */
.mark {
  padding: 0 1px; cursor: pointer; border-radius: 2px;
  border-bottom: 1.5px solid transparent; transition: background .12s;
}
.mark.risk-高 { background: #fdecea; border-bottom-color: #d92d20; color: #912018; }
.mark.risk-中高 { background: #fff1e8; border-bottom-color: #e8590c; color: #8a3407; }
.mark.risk-中 { background: #fff8e1; border-bottom-color: #d9a017; color: #6b4a00; }
.mark.anx { text-decoration: underline; text-decoration-color: rgba(29, 78, 216, .55); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.mark:hover { background: #eef3ff; }

/* 步骤条简写 */
.stepnav .label-short { display: none; }
@media (max-width: 720px) { .stepnav .label-short { display: inline; } }

/* 锚点避让吸顶导航 */
/* 顶栏 58px + 1px 描边 = 59px；留 76px 会在锚点跳转后露出 17px hero 深蓝条 */
#how, #compose, #personas { scroll-margin-top: 59px; }

/* 判定文字颜色 */
.stat .v.v-high { color: var(--red); }
.stat .v.v-blue { color: var(--blue); }
.stat .v.muted { color: var(--faint); }
.stat.zero .v { color: var(--faint); font-weight: 600; }
.max-risk { text-wrap: pretty; }

/* 固定免责声明 */
.disclaimer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: var(--disclaimer-h); display: flex; align-items: center; justify-content: center;
  background: #fff; border-top: 1px solid var(--line-soft);
  font-size: 11px; color: var(--faint); text-align: center; padding: 0 14px;
  line-height: 1.4;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .report-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
  .rail { padding-left: 24px; }
  .cmp { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  .detail-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 920px) {
  .report-body { grid-template-columns: 1fr; }
  .rail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .detail-grid { grid-template-columns: 1fr; }
  .cmp { grid-template-columns: 1fr; }
  .topnav { gap: 16px; }
  .topnav button[data-target="personas"] { display: none; }
}
@media (max-width: 720px) {
  :root { --disclaimer-h: 40px; }
  .wrap { padding: 0 18px; }
  .topbar-inner { height: 52px; gap: 12px; }
  /* 手机顶栏 52px + 1px 描边 */
  #how, #compose, #personas { scroll-margin-top: 53px; }
  .brand-name { font-size: 12.5px; white-space: normal; line-height: 1.25; max-width: 150px; }
  .topnav button { display: none; }
  body.in-report .brand-name { display: none; }
  .stepnav { gap: 8px; }
  .stepnav button { font-size: 11.5px; }
  .stepnav button .label-full { display: none; }
  .stepnav .step-arrow { font-size: 11px; }
  .stepnav .next-tag { display: none; }
  .hero { padding: 58px 0 66px; background-position: center 70%; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .hero-tag { font-size: 11.5px; letter-spacing: 3px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 22px; }
  .section-head.split { align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step p { font-size: 13px; }
  .compose-body { padding: 16px 14px 18px; }
  .persona-picks { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pick { padding: 8px; }
  .pick .pi-meta { display: none; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote .say { font-size: 17px; }
  .wall { grid-template-columns: 1fr; }
  .wall-cell { border-right: 0; padding: 16px 4px 18px; }
  .report-title { font-size: 28px; }
  .report-head { flex-direction: column; gap: 12px; }
  .head-tools { justify-content: flex-start; gap: 8px; }
  .head-tools .demo-tag { flex: 1 0 100%; }
  .head-tools .btn.mini { flex: 1; }
  .max-risk { font-size: 15.5px; line-height: 1.7; }
  .max-risk .lab { display: block; margin: 0 0 1px; }
  .actionbar .ab-text .tip { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 12px 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat .v { font-size: 24px; }
  .stat .v.word { font-size: 18px; }
  .readers { grid-template-columns: 1fr; }
  .rcard { padding-bottom: 20px; }
  .rw-grid { grid-template-columns: 1fr; gap: 22px; }
  .rw-box { min-height: 180px; font-size: 13.5px; }
  .chg-row { grid-template-columns: auto auto; justify-content: start; gap: 6px 8px; font-size: 12.5px; }
  .chg-row .why { grid-column: 1 / -1; }
  .page { padding: 26px 0 132px; }
  .actionbar-inner { gap: 8px; }
  .actionbar .ab-text { font-size: 11.5px; width: 100%; order: 2; }
  .actionbar .ab-right { margin-left: 0; width: 100%; }
  .actionbar .ab-right .btn { flex: 1; }
  .cmp-title { font-size: 22px; }
  .disclaimer-bar { font-size: 10px; }
  .chart-box { height: 300px; }
  .gauge-item { height: 140px; }
  .fam-sum { grid-template-columns: 1fr; gap: 14px; }
  .fam-ava { width: 28px; height: 28px; font-size: 14px; }
}

/* ---------------- 使用数据 ---------------- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 18px; }
.kpi { padding: 18px 20px 20px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-k { font-size: 12px; color: var(--sub); }
.kpi-v { font-size: 30px; font-weight: 700; line-height: 1.2; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.kpi-v small { font-size: 13px; font-weight: 500; color: var(--sub); margin-left: 3px; letter-spacing: 0; }
.kpi-n { font-size: 11.5px; color: var(--faint); margin-top: 5px; }

.stats-h { font-size: 15px; margin: 0 0 4px; }
.panel .stats-note, .stats-note { font-size: 12.5px; color: var(--sub); margin-bottom: 14px; line-height: 1.7; }

.funnel-row { display: grid; grid-template-columns: 104px 1fr 96px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.funnel-row:first-child { border-top: 0; padding-top: 2px; }
.funnel-label { color: var(--ink-2); }
.funnel-bar { height: 8px; background: var(--line-soft); display: block; position: relative; overflow: hidden; }
.funnel-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); display: block; }
.funnel-n { text-align: right; font-size: 12.5px; color: var(--sub); font-variant-numeric: tabular-nums; }
.funnel-n b { color: var(--ink); font-weight: 600; }

.stats-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.stats-two .panel { margin-bottom: 18px; }

.time-row { display: grid; grid-template-columns: 74px 1fr 58px 72px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--ink-2); }
.time-row:first-of-type { border-top: 0; }
.time-bar { height: 6px; background: var(--line-soft); display: block; }
.time-bar i { display: block; height: 100%; background: var(--blue-mid); }
.time-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.time-val.g { color: var(--faint); }

.kv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--sub); }
.kv-row:first-child { border-top: 0; }
.kv-row > span:last-child { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.kv-row b { font-weight: 600; }
.muted { color: var(--faint); font-size: 11.5px; font-weight: 400; }
.good { color: var(--green); }
.bad { color: var(--red); }

.advice-item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.advice-item:first-of-type { border-top: 0; }
.advice-tag { flex: none; font-size: 11px; line-height: 1.6; padding: 1px 7px; background: var(--blue-tint); color: var(--blue); margin-top: 4px; white-space: nowrap; }
.advice-tag.warn { background: var(--amber-bg); color: var(--amber); }

.rec-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; }
.rec-table th { text-align: left; font-weight: 500; color: var(--sub); font-size: 11.5px; padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); }
.rec-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rec-table tr:last-child td { border-bottom: 0; }
.rec-table td.t { color: var(--ink); }
.rec-table th:nth-child(1), .rec-table td:nth-child(1) { width: 112px; }
.rec-table th:nth-child(2), .rec-table td:nth-child(2) { width: 86px; }
.rec-table th:nth-child(3), .rec-table td:nth-child(3) { width: 72px; }
.rec-table th:nth-child(4), .rec-table td:nth-child(4) { width: 92px; }
.rec-table th:nth-child(5), .rec-table td:nth-child(5) { width: 124px; }

.stats-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.stats-foot { font-size: 12px; color: var(--faint); line-height: 1.75; }

@media (max-width: 900px) {
  .stats-two { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 14px 15px 16px; border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-last-child(-n+2) { border-bottom: 0; }
  .kpi-v { font-size: 25px; }
  .funnel-row { grid-template-columns: 82px 1fr 78px; gap: 9px; font-size: 12px; }
  .funnel-n { font-size: 11.5px; }
  .time-row { grid-template-columns: 66px 1fr 56px; }
  .time-row .time-val.g { display: none; }
  .rec-table { display: table; }
  .rec-table th, .rec-table td { white-space: normal; padding-right: 8px; font-size: 11.5px; }
  .rec-table th:nth-child(3), .rec-table td:nth-child(3),
  .rec-table th:nth-child(4), .rec-table td:nth-child(4) { display: none; }
  .rec-table th:nth-child(1), .rec-table td:nth-child(1) { width: 76px; }
  .rec-table th:nth-child(2), .rec-table td:nth-child(2) { width: 56px; }
  .rec-table th:nth-child(5), .rec-table td:nth-child(5) { width: auto; white-space: nowrap; }
  .rec-table th:nth-child(6), .rec-table td:nth-child(6) { width: 50px; }
  .rec-table td .muted { display: none; }
  .stats-actions .spacer { display: none; }
  .advice-tag { font-size: 10.5px; }
  .topnav { gap: 12px; }
  .topnav a { font-size: 12px; }
}

/* ---------------- 打印 ---------------- */
@media print {
  .topbar, .disclaimer-bar, .actionbar, .toast, .btn, .iitem-btns, .stepnav { display: none !important; }
  body { padding: 0; background: #fff; }
  .page { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .rail { break-inside: avoid; }
  .rcard { break-inside: avoid; }
}

/* 关于页：试用反馈链接 */
.about-links a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.about-links a:hover { color: #1a45c0; }
.about-links li { margin-bottom: 5px; }

/* =========================================================
   可读性调整（2026-11-21）
   用户反馈“界面难懂、字太小”：整体字号上调约一档，正文 17px
   ========================================================= */
body { font-size: 17px; }
.brand-name { font-size: 15.5px; }
.topnav a, .stepnav button { font-size: 14px; }
.stepnav button .n { font-size: 12px; }
.hero p { font-size: 17.5px; }
.hero-tag { font-size: 13.5px; }
.eyebrow { font-size: 12px; }
.section-title { font-size: 29px; }
.section-sub { font-size: 16px; line-height: 1.7; }
.step .no { font-size: 12.5px; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; line-height: 1.7; }
.note-bar { font-size: 15px; }
textarea, input[type="text"] { font-size: 17px; }
textarea { line-height: 1.9; }
.tool-label, .short-note { font-size: 13.5px; }
.sample-chip { font-size: 14px; padding: 6px 12px; }
.field-label { font-size: 15px; }
.field-label .opt { font-size: 13.5px; }
.pick { padding: 11px 13px; }
.pick .pi-name { font-size: 15.5px; }
.pick .pi-meta { font-size: 13px; }
.btn-block { font-size: 17.5px; }
.compose-hint { font-size: 13.5px; line-height: 1.75; }
.quote-src { font-size: 16.5px; }
.quote .who { font-size: 13.5px; }
.quote .who b { font-size: 14px; }
.quote .read { font-size: 14.5px; }
.quote-cap { font-size: 14px; }
.wall-cell h3 { font-size: 17px; }
.wall-cell .meta { font-size: 13px; }
.wall-cell p { font-size: 15px; }
.cta h2 { font-size: 30px; }
.cta p { font-size: 16px; }
.footer-desc { font-size: 13.5px; }
.footer-note { font-size: 13px; }

/* 结果页 */
.report-sub, .page-sub { font-size: 15px; }
.max-risk { font-size: 19px; }
.stat .k { font-size: 13px; }
.body-title { font-size: 16.5px; }
.body-note { font-size: 13px; }
.rcard-name { font-size: 17px; }
.rcard-meta { font-size: 13px; }
.rcard-quote { font-size: 17.5px; }
.kv { font-size: 14.5px; }
.meter-top { font-size: 13px; }
.meter-val { font-size: 14.5px; }
.rcard-note { font-size: 13.5px; }
.rcard-one { font-size: 14.5px; }
.rail-sec h3 { font-size: 15.5px; }
.rail-sec h3 .count, .rail-note { font-size: 13px; }
.core-text { font-size: 14.5px; }
.iitem-head { font-size: 13px; }
.iitem-sentence { font-size: 15px; }
.iitem-mis { font-size: 14px; }
.iitem-fix { font-size: 13.5px; }
.iitem-check { font-size: 13px; }
.anx-verdict, .anx-expl { font-size: 14px; }
.anx-list li, .blind-item, .bar-row { font-size: 14.5px; }
.bar-p { font-size: 14px; }
.panel h3 { font-size: 16.5px; }
.panel p, .panel ul { font-size: 15px; }
.page-title { font-size: 36px; }
.tag { font-size: 12px; }
.btn { font-size: 15px; }
.btn.sm { font-size: 13.5px; }
.fam-msg { font-size: 14.5px; }
.rw-col h3 { font-size: 15.5px; }
.cmp-sub, .cmp-legend { font-size: 13.5px; }
.data-table th, .data-table td { font-size: 14px; }

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .section-title { font-size: 25px; }
  .hero p { font-size: 16.5px; }
  .btn-block { font-size: 17px; }
  textarea, input[type="text"] { font-size: 16.5px; }
  .rcard-quote { font-size: 17px; }
  .page-title { font-size: 30px; }
}

/* ---------------- 上传文件 ---------------- */
.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.upload-btn {
  border: 1px solid var(--blue); background: var(--blue-tint); color: var(--blue);
  border-radius: 2px; padding: 7px 14px; font-size: 14px; font-weight: 600;
}
.upload-btn:hover { background: #e3ebff; }
.upload-hint { font-size: 13px; color: var(--faint); line-height: 1.6; }
@media (max-width: 720px) {
  .upload-hint { font-size: 12.5px; }
}

/* =========================================================
   全站体检修正（2026-11-21）
   1) 固定免责声明 11px 太小，改 12.5px 并同步占位高度
   2) 手机端顶栏站名与导航间距
   ========================================================= */
:root { --disclaimer-h: 36px; }
.disclaimer-bar { font-size: 12.5px; line-height: 1.45; }

@media (max-width: 720px) {
  :root { --disclaimer-h: 48px; }
  .disclaimer-bar { font-size: 12px; }
  .topbar-inner { gap: 10px; }
  .brand-name { max-width: 166px; }
  .topnav a { font-size: 12.5px; }
}

/* =========================================================
   底部操作条：手机端压成一行，避免遮挡正文（2026-11-21）
   ========================================================= */
body.in-report { padding-bottom: calc(var(--disclaimer-h) + 64px); }

@media (max-width: 720px) {
  /* 覆盖上面“文字占满一行、按钮另起一行”的旧规则，手机端压成一行 */
  .actionbar-inner { min-height: 0; padding-top: 9px; padding-bottom: 9px; gap: 10px; flex-wrap: nowrap; align-items: center; }
  .actionbar .ab-text {
    width: auto; order: 0; flex: 1 1 auto; min-width: 0; margin: 0;
    font-size: 11.5px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .actionbar .ab-right { margin-left: 0; width: auto; flex: 0 0 auto; }
  .actionbar .ab-right .btn { flex: 0 0 auto; font-size: 14px; padding: 10px 14px; white-space: nowrap; }
  body.in-report { padding-bottom: calc(var(--disclaimer-h) + 60px); }
}

/* 手机端站名换短名，避免两行挤压导航（2026-11-21） */
.bn-short { display: none; }
@media (max-width: 720px) {
  .bn-long { display: none; }
  .bn-short { display: inline; }
  .brand-name { white-space: nowrap; max-width: none; font-size: 14px; }
  body.in-report .brand-name { display: inline; }
  .topbar-inner { gap: 8px; }
  .topnav { gap: 12px; }
}

/* ---------------- 说明文字对比度（2026-11-23） ----------------
   --faint(#98a2b3) 在白底只有 2.6:1，13px 的说明句在投影和手机上几乎读不清。
   这里把“需要读”的说明文字统一提到 --sub(#667085，4.9:1)；
   --faint 只留给占位符、序号、数字单位这类不需要细读的字。 */
.compose-hint, .quote-cap, .footer-note, .body-note, .rail-note,
.rcard-meta, .upload-hint, .wall-cell .meta, .pick .pi-meta { color: var(--sub); }
.demo-tag { color: var(--sub); }
