/* ============================================================
   目策工具 MuCe Tools — 浅色底 × 灰黑科技感（V2.2）
   浅灰底 + 冷调弥散光斑 + 半透明白玻璃卡片 + 深炭黑主色
   报告视图为独立"纸张"版式，打印/导出 PDF 走 @media print
   ============================================================ */

:root {
  --bg: #eef0f4;
  --ink: #171e29;          /* 主文字：深炭黑 */
  --ink-2: #45505f;        /* 次级 */
  --ink-3: #8792a3;        /* 弱化 */
  --ink-hero: #11161f;
  --primary: #1c232f;      /* 灰黑主色（按钮/强调） */
  --primary-2: #39434f;
  --primary-grad: linear-gradient(135deg, #2a3342, #12161e);
  --accent: #0e9db8;       /* 科技青（点缀） */
  --accent-soft: rgba(14, 157, 184, .12);
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.6));
  --glass-border: 1px solid rgba(255,255,255,.85);
  --glass-shadow: 0 10px 34px rgba(23,30,41,.1);
  --glass-shadow-lift: 0 16px 46px rgba(23,30,41,.16);
  --radius: 22px;
  --radius-sm: 14px;
  --ok: #14935f;
  --warn: #b96a05;
  --danger: #d0453e;
  --line: rgba(23,30,41,.12);
  --field-bg: rgba(255,255,255,.8);
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(14,157,184,.25); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(23,30,41,.18); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ── 浅色弥散光斑背景（冷调低饱和）───────────────────────── */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; }
.orb-1 { width: 44vw; height: 44vw; left: -12vw; top: -14vw; background: #d5dfea; }
.orb-2 { width: 36vw; height: 36vw; right: -10vw; top: -8vw; background: #cfe8ea; }
.orb-3 { width: 34vw; height: 34vw; left: 24vw; bottom: -16vw; background: #e0ddef; }
.orb-4 { width: 22vw; height: 22vw; right: 6vw; bottom: -8vw; background: #d8e6ee; opacity: .55; }
.orb-5 { width: 16vw; height: 16vw; left: 56vw; top: 30vh; background: #e4e8f2; opacity: .6; }
.grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.8) .5px, transparent .5px);
  background-size: 7px 7px;
}

/* ── 玻璃卡片 ─────────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.9);
  border-radius: var(--radius);
}

/* ── 顶部导航 ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 14px; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  max-width: 1280px; margin: 14px auto 0; padding: 10px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--primary-grad); color: #fff; font-size: 19px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(23,30,41,.3);
}
.brand-name { font-size: 15.5px; letter-spacing: .5px; }
.brand-name b { font-weight: 500; color: var(--ink-2); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 15px; border-radius: 11px; color: var(--ink-2); font-size: 14.5px; transition: all .2s ease; }
.nav-links a:hover { background: rgba(23,30,41,.06); color: var(--ink); }
.nav-links a.active { background: rgba(23,30,41,.09); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(23,30,41,.12); }
.nav-user { display: flex; align-items: center; gap: 10px; }

/* ── 通用元件 ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 26px 20px 60px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  cursor: pointer; border-radius: 12px; border: 1px solid rgba(23,30,41,.14);
  padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.75);
  box-shadow: 0 2px 10px rgba(23,30,41,.06);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
  min-height: 42px;
}
.btn:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 6px 18px rgba(23,30,41,.12); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--primary-grad); color: #fff; border: none;
  box-shadow: 0 6px 18px rgba(23,30,41,.3);
}
.btn-primary:hover { background: var(--primary-grad); box-shadow: 0 9px 26px rgba(23,30,41,.38); }
.btn-ghost { background: transparent; border: 1px solid rgba(23,30,41,.22); box-shadow: none; }
.btn-sm { padding: 6px 13px; font-size: 13px; min-height: 34px; border-radius: 10px; }
.btn-danger { color: var(--danger); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: rgba(23,30,41,.06); border: 1px solid rgba(23,30,41,.12);
  color: var(--ink-2);
}
.chip-accent { background: linear-gradient(120deg, rgba(14,157,184,.12), rgba(23,30,41,.08)); color: #0b6f85; border-color: rgba(14,157,184,.3); }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; border: 1px solid transparent; }
.badge-ok { background: rgba(20,147,95,.1); color: var(--ok); border-color: rgba(20,147,95,.25); }
.badge-warn { background: rgba(185,106,5,.1); color: var(--warn); border-color: rgba(185,106,5,.25); }
.badge-danger { background: rgba(208,69,62,.09); color: var(--danger); border-color: rgba(208,69,62,.22); }
.badge-info { background: rgba(14,157,184,.1); color: #0b6f85; border-color: rgba(14,157,184,.28); }

.hint { font-size: 12px; color: var(--ink-3); }
.divider { height: 1px; background: var(--line); border: none; margin: 14px 0; }
.mono { font-variant-numeric: tabular-nums; }

/* ── 表单 ─────────────────────────────────────────────────── */
.field { margin-bottom: 13px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.field-label .unit { font-weight: 400; color: var(--ink-3); font-size: 12px; }
.field input, .field select {
  width: 100%; min-height: 42px; padding: 8px 12px;
  border-radius: 11px; border: 1px solid rgba(23,30,41,.16);
  background: var(--field-bg); color: var(--ink);
  font-size: 14.5px; font-family: inherit;
  transition: border .18s ease, box-shadow .18s ease;
  font-variant-numeric: tabular-nums;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus {
  outline: none; border-color: rgba(14,157,184,.6);
  box-shadow: 0 0 0 3px rgba(14,157,184,.14);
  background: #fff;
}
.field .src-hint { margin-top: 4px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 12px; }

.seg { display: flex; gap: 4px; background: rgba(23,30,41,.06); border-radius: 11px; padding: 4px; }
.seg button {
  flex: 1; border: none; background: transparent; cursor: pointer;
  padding: 8px 4px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2);
  transition: all .18s ease; min-height: 36px; font-family: inherit;
}
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 2px 8px rgba(23,30,41,.12), inset 0 0 0 1px rgba(23,30,41,.1); }

.para-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.para-item {
  cursor: pointer; border-radius: 12px; padding: 10px 12px;
  border: 1px solid rgba(23,30,41,.14); background: rgba(255,255,255,.55);
  transition: all .18s ease;
}
.para-item:hover { border-color: rgba(14,157,184,.45); }
.para-item.on { border-color: rgba(23,30,41,.55); background: linear-gradient(135deg, rgba(23,30,41,.06), rgba(14,157,184,.08)); box-shadow: 0 3px 12px rgba(23,30,41,.12); }
.para-item .p-name { font-size: 13.5px; font-weight: 600; }
.para-item .p-desc { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; }
.para-detail { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(14,157,184,.07); border: 1px dashed rgba(14,157,184,.35); font-size: 12px; color: var(--ink-2); line-height: 1.65; }
.para-detail b { color: #0b6f85; }

details.adv { border-top: 1px dashed rgba(23,30,41,.22); padding-top: 10px; margin-top: 14px; }
details.adv summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 6px 2px; user-select: none;
}
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary .arrow { transition: transform .2s ease; font-size: 11px; color: var(--ink-3); }
details.adv[open] summary .arrow { transform: rotate(90deg); }
details.adv .adv-body { padding-top: 8px; }
details.adv details.adv { border-top-color: rgba(23,30,41,.12); margin-top: 8px; padding-top: 6px; }
details.adv details.adv summary { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }

/* ── 测算页布局 ───────────────────────────────────────────── */
.calc-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 22px; align-items: start; }
.panel { padding: 20px; }
.panel-sticky { position: sticky; top: 86px; max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; }
.panel-title { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.panel-sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }

.results { display: flex; flex-direction: column; gap: 22px; min-height: 60vh; }
.results-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 20px; }
.results-head .spacer { flex: 1; }
.view-toggle { display: flex; gap: 4px; background: rgba(23,30,41,.06); border-radius: 11px; padding: 4px; }
.view-toggle button { border: none; background: transparent; padding: 7px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink-2); font-family: inherit; }
.view-toggle button.on { background: #fff; font-weight: 600; color: var(--ink); box-shadow: 0 2px 8px rgba(23,30,41,.12); }

.verdict-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.badges-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 18px 22px 10px; }
.badges-row .br-note { font-size: 12.5px; color: var(--ink-3); }

/* 指标卡 */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 20px 22px; }
.metric {
  border-radius: 14px; padding: 14px 16px;
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 3px 14px rgba(23,30,41,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.metric:hover { transform: translateY(-2px); border-color: rgba(14,157,184,.4); box-shadow: 0 8px 24px rgba(23,30,41,.12); }
.metric .m-label { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.metric .m-value { font-size: 23px; font-weight: 700; margin-top: 3px; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.metric .m-value small { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.metric .m-sub { font-size: 10.5px; color: #9aa3b2; margin-top: 2px; line-height: 1.5; }
.metric-hl { background: linear-gradient(135deg, rgba(28,35,47,.05), rgba(14,157,184,.08)); border-color: rgba(14,157,184,.3); }
.metric-hl .m-value { color: var(--ink); }
.neg { color: var(--danger); }

/* 参考值条 */
.ref-strip { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 16px; }
.ref-item { font-size: 12px; color: var(--ink-2); background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.95); padding: 5px 11px; border-radius: 9px; box-shadow: 0 1px 6px rgba(23,30,41,.05); }
.ref-item b { font-variant-numeric: tabular-nums; }

.section-card { padding: 18px 20px; }
.section-card h3 { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.section-card h3 .s-tag { font-size: 11px; font-weight: 500; color: var(--ink-3); background: rgba(23,30,41,.06); padding: 2px 8px; border-radius: 6px; }
.footnote { font-size: 12px; color: var(--ink-3); margin-top: 10px; line-height: 1.6; }

.locked { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; border: 1px dashed rgba(23,30,41,.25); background: rgba(255,255,255,.4); }
.locked .lk-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: rgba(23,30,41,.07); }
.locked .lk-body { flex: 1; }
.locked .lk-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.locked .lk-desc { font-size: 12px; color: var(--ink-3); }

/* 表格 */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid rgba(23,30,41,.16); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid rgba(23,30,41,.07); }
.tbl tr:last-child td { border-bottom: none; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td:first-child { white-space: nowrap; }
.tbl .row-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-wrap { position: relative; }
.chart-tip {
  position: absolute; pointer-events: none; display: none; z-index: 5;
  background: rgba(255,255,255,.97); border: 1px solid rgba(23,30,41,.12);
  border-radius: 10px; padding: 8px 11px; font-size: 12px; box-shadow: 0 8px 24px rgba(23,30,41,.16);
  min-width: 130px; font-variant-numeric: tabular-nums; color: var(--ink);
}
.chart-tip .t-month { font-weight: 700; margin-bottom: 3px; }
.chart-tip .t-row { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }

.advice-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.advice-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.advice-list li .a-ico { flex: none; margin-top: 1px; color: var(--accent); }
.note-list { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); }
.note-list .n-item { display: flex; gap: 8px; line-height: 1.65; }

.report-actions { display: flex; align-items: center; gap: 14px; padding: 16px 20px; flex-wrap: wrap; }
.report-actions .ra-note { font-size: 12.5px; color: var(--ink-3); flex: 1; min-width: 200px; }

/* ════════════════ 报告纸张版式（更像报告 + 可打印）════════════════ */
.report-shell { max-width: 920px; margin: 0 auto; }
.report-doc {
  background: #fdfdfe; color: #1e293b; border-radius: 10px;
  border: 1px solid rgba(23,30,41,.08);
  box-shadow: 0 24px 70px rgba(23,30,41,.16);
  padding: 46px 52px 40px;
  font-size: 13.5px; line-height: 1.7;
}
.report-doc .rd-head { border-bottom: 2.5px solid #141a24; padding-bottom: 18px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.report-doc .rd-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; color: #45505f; letter-spacing: 2px; }
.report-doc .rd-brand .rd-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-grad); color: #fff; display: grid; place-items: center; font-size: 15px; }
.report-doc .rd-meta { font-size: 11.5px; color: #64748b; text-align: right; line-height: 1.7; }
.report-doc h1.rd-title { font-size: 26px; font-weight: 800; text-align: center; letter-spacing: 6px; margin: 6px 0 2px; color: #10151d; }
.report-doc .rd-subtitle { text-align: center; color: #64748b; font-size: 12px; letter-spacing: 1px; margin-bottom: 20px; }
.report-doc h2.rd-sec { font-size: 15.5px; font-weight: 700; color: #10151d; margin: 32px 0 14px; padding-left: 10px; border-left: 4px solid #1c232f; display: flex; align-items: baseline; gap: 10px; }
.report-doc h2.rd-sec .rd-sec-tag { font-size: 11px; color: #94a3b8; font-weight: 500; }
.report-doc .rd-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.report-doc .rd-kpi { border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; background: #fff; }
.report-doc .rd-kpi .k { font-size: 11px; color: #64748b; }
.report-doc .rd-kpi .v { font-size: 20px; font-weight: 800; color: #10151d; font-variant-numeric: tabular-nums; }
.report-doc .rd-kpi .v small { font-size: 11px; color: #94a3b8; font-weight: 500; }
.report-doc .rd-kpi.hl { background: linear-gradient(135deg, rgba(14,157,184,.06), rgba(23,30,41,.04)); border-color: #bfdde6; }
.report-doc .rd-kpi .v.neg { color: #d0453e; }
.report-doc .rd-kpi-sub { font-size: 10px; color: #94a3b8; margin-top: 3px; line-height: 1.5; font-weight: 400; }
.report-doc .rd-verdicts { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.report-doc .rd-tag { font-size: 12px; padding: 4px 12px; border-radius: 999px; border: 1px solid; font-weight: 600; }
.report-doc .rd-tag.ok { color: #14935f; border-color: #9fdcc3; background: #f0fbf6; }
.report-doc .rd-tag.warn { color: #b96a05; border-color: #f0cf9a; background: #fffaf0; }
.report-doc .rd-tag.danger { color: #d0453e; border-color: #f2b8b5; background: #fef3f2; }
.report-doc .rd-tag.info { color: #0b6f85; border-color: #a8d8e2; background: #f0f9fb; }
.report-doc .tbl { font-size: 12.5px; }
.report-doc .tbl th { color: #64748b; border-bottom: 1px solid #cbd5e1; }
.report-doc .tbl td { border-bottom: 1px solid #e8edf3; color: #334155; }
.report-doc .rd-params { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px; font-size: 12.5px; }
.report-doc .rd-params .pr { display: flex; justify-content: space-between; border-bottom: 1px dashed #e2e8f0; padding: 5px 0; }
.report-doc .rd-params .pr span { color: #64748b; }
.report-doc .rd-params .pr b { font-variant-numeric: tabular-nums; }
.report-doc .rd-note { font-size: 11.5px; color: #64748b; margin-top: 10px; line-height: 1.7; }
.report-doc .rd-foot { margin-top: 30px; border-top: 1px solid #e2e8f0; padding-top: 14px; font-size: 11px; color: #94a3b8; line-height: 1.8; }
.report-doc .rd-page-note { text-align: center; color: #cbd5e1; font-size: 10.5px; margin-top: 8px; letter-spacing: 1px; }
.report-doc .rd-chart-cell { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.report-doc .rd-chart-cell h5 { font-size: 12px; color: #475569; margin-bottom: 6px; font-weight: 600; }
.report-doc .rd-chart-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; align-items: start; }
.report-doc .rd-chart-grid.rev { grid-template-columns: 7fr 5fr; }
.report-doc .rd-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.report-doc .rd-mini { border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #fff; }
.report-doc .rd-mini .k { font-size: 10.5px; color: #64748b; }
.report-doc .rd-mini .v { font-size: 15px; font-weight: 700; color: #10151d; }
.report-doc .chart-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.report-doc .legend { color: #45505f; }
.report-doc .gauge-wrap { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.report-actions.paper-ops { max-width: 920px; margin: 0 auto 14px; }

/* ── 首页 ─────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 66px 20px 40px; }
.hero-text { text-align: left; }
.hero-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); background: rgba(23,30,41,.06); border: 1px solid rgba(23,30,41,.14); padding: 6px 15px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(32px, 4.8vw, 52px); font-weight: 800; letter-spacing: 1px; line-height: 1.2; color: var(--ink-hero); }
.hero h1 .grad { background: linear-gradient(120deg, #1c232f 30%, #0e7c92); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { max-width: 560px; margin: 18px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.hero-cta { display: flex; gap: 13px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 30px; font-size: 15.5px; border-radius: 14px; min-height: 50px; }
.hero-chips { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.demo-hint { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }
.demo-hint code { background: rgba(23,30,41,.06); border: 1px solid rgba(23,30,41,.12); padding: 2px 8px; border-radius: 7px; font-size: 12px; margin: 0 2px; color: var(--ink-2); }

/* Hero visual：中心图 + 浮动玻璃卡片 */
.hero-visual { position: relative; }
.hero-img-wrap { position: relative; border-radius: 30px; overflow: visible; }
.hero-img { width: 100%; height: auto; display: block; border-radius: 30px; box-shadow: 0 30px 70px rgba(23,30,41,.22); border: 1px solid rgba(255,255,255,.6); }
.float-card { position: absolute; padding: 10px 14px; border-radius: 16px; animation: floaty 5s ease-in-out infinite; }
.float-card .fc-label { font-size: 11px; color: var(--ink-3); }
.float-card .fc-value { font-size: 22px; font-weight: 800; color: var(--ink-hero); font-variant-numeric: tabular-nums; line-height: 1.1; }
.float-card .fc-value span { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-left: 2px; }
.float-card .fc-badge { font-size: 13px; font-weight: 700; color: var(--accent); }
.fc-1 { top: -16px; left: -20px; animation-delay: 0s; }
.fc-2 { top: 22%; right: -22px; animation-delay: .8s; }
.fc-3 { bottom: -14px; left: 10%; animation-delay: 1.6s; }
.fc-4 { bottom: 14%; right: -10px; animation-delay: 2.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.home-sec { margin-top: 56px; }
.home-sec > h2 { font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.home-sec > .sec-sub { text-align: center; color: var(--ink-3); font-size: 14.5px; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.home-sec-dark { background: linear-gradient(180deg, rgba(23,30,41,.04), transparent); border-radius: 28px; padding: 40px 24px; margin-left: -10px; margin-right: -10px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-lift); border-color: rgba(14,157,184,.35); }
.feature .f-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; background: var(--primary-grad); color: #fff; }
.feature h4 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

.para-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.para-card { padding: 22px 24px; }
.para-card h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.para-card .pc-tag { font-size: 11px; color: #0b6f85; background: rgba(14,157,184,.1); padding: 2px 9px; border-radius: 6px; font-weight: 500; }
.para-card p { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.para-card .pc-pay { margin-top: 10px; font-size: 12px; color: #0b6f85; background: rgba(14,157,184,.06); border: 1px dashed rgba(14,157,184,.3); border-radius: 8px; padding: 7px 10px; line-height: 1.6; }
.para-card .pc-meta { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.tier-card { padding: 24px; display: flex; flex-direction: column; position: relative; }
.tier-card.hot { border-color: rgba(28,35,47,.4); box-shadow: 0 12px 44px rgba(23,30,41,.16); }
.tier-card .t-badge { position: absolute; top: -11px; right: 18px; font-size: 11px; background: var(--primary-grad); color: #fff; padding: 3px 11px; border-radius: 999px; font-weight: 700; }
.tier-card h4 { font-size: 16px; }
.tier-card .t-price { font-size: 30px; font-weight: 800; margin: 10px 0 2px; font-variant-numeric: tabular-nums; }
.tier-card .t-price small { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.tier-card .t-limit { font-size: 12.5px; color: #0b6f85; font-weight: 600; margin-bottom: 12px; }
.tier-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; flex: 1; }
.tier-card li { font-size: 13px; color: var(--ink-2); display: flex; gap: 7px; }
.tier-card li .tick { color: var(--accent); font-weight: 700; }

.home-footer { text-align: center; padding: 40px 20px 26px; color: var(--ink-3); font-size: 12.5px; line-height: 1.8; }

/* ── 历史记录 ─────────────────────────────────────────────── */
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head h2 { font-size: 21px; font-weight: 700; }
.page-head .ph-sub { color: var(--ink-3); font-size: 13px; }
.page-head .spacer { flex: 1; }
.hist-list { display: flex; flex-direction: column; gap: 12px; }
.hist-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; transition: transform .18s ease, box-shadow .18s ease; }
.hist-item:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow-lift); }
.hist-item .h-name { font-weight: 700; font-size: 14.5px; }
.hist-item .h-time { font-size: 12px; color: var(--ink-3); }
.hist-item .h-metrics { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.hist-item .hm { text-align: right; }
.hist-item .hm .v { font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.hist-item .hm .k { font-size: 11px; color: var(--ink-3); }
.hist-item .h-ops { display: flex; gap: 8px; }
.hist-item .h-body { flex: 1; min-width: 200px; }
.hist-item .h-check { display: flex; align-items: center; }
.hist-item .h-check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.hist-item.sel { box-shadow: 0 0 0 2px var(--accent-soft), var(--glass-shadow-lift); background: linear-gradient(135deg, rgba(14,157,184,.06), rgba(255,255,255,.82)); }
.hist-batch { display: flex; align-items: center; gap: 12px; }
.batch-toggle { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; user-select: none; }
.batch-toggle input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty .e-ico { font-size: 40px; margin-bottom: 10px; }

/* ── 会员中心 ─────────────────────────────────────────────── */
.me-grid { display: grid; grid-template-columns: 380px 1fr; gap: 18px; align-items: start; }
.me-user { padding: 24px; text-align: center; }
.me-avatar { width: 64px; height: 64px; border-radius: 22px; margin: 0 auto 12px; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; background: var(--primary-grad); box-shadow: 0 8px 24px rgba(23,30,41,.25); }
.me-user h3 { font-size: 18px; }
.me-tier-line { margin: 8px 0 4px; }
.usage-bar { height: 9px; border-radius: 999px; background: rgba(23,30,41,.1); overflow: hidden; margin: 12px 0 6px; }
.usage-bar i { display: block; height: 100%; border-radius: 999px; background: var(--primary-grad); transition: width .4s ease; }
.usage-bar i.full { background: linear-gradient(90deg, #d97706, #d0453e); }
.benefit-tbl-wrap { overflow-x: auto; }

/* ── 弹窗 / 提示 ──────────────────────────────────────────── */
.modal-mask { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(23,30,41,.32); backdrop-filter: blur(6px); animation: fadeIn .2s ease; }
.modal { width: min(400px, calc(100vw - 36px)); padding: 26px; animation: riseIn .25s ease; max-height: 86vh; overflow-y: auto; position: relative; }
.modal h3 { font-size: 18px; margin-bottom: 4px; }
.modal .m-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.tabs { display: flex; gap: 4px; background: rgba(23,30,41,.06); border-radius: 11px; padding: 4px; margin-bottom: 16px; }
.tabs button { flex: 1; border: none; background: transparent; padding: 8px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); font-family: inherit; }
.tabs button.on { background: #fff; font-weight: 600; color: var(--ink); box-shadow: 0 2px 8px rgba(23,30,41,.12); }
.form-err { color: var(--danger); font-size: 12.5px; margin: 8px 0 2px; min-height: 18px; }
.modal-close { position: absolute; top: 14px; right: 16px; border: none; background: transparent; font-size: 17px; cursor: pointer; color: var(--ink-3); }

#toast-root { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { padding: 11px 20px; border-radius: 13px; font-size: 13.5px; font-weight: 500; background: rgba(255,255,255,.96); border: 1px solid rgba(23,30,41,.12); box-shadow: 0 10px 32px rgba(23,30,41,.18); animation: riseIn .25s ease; max-width: 84vw; text-align: center; color: var(--ink); }
.toast.err { color: var(--danger); }
.toast.ok { color: var(--ok); }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(9px); } }
.fade-in { animation: riseIn .3s ease; }

/* ── 页面切换：轻盈卡片在玻璃平面上滑动 ──────────────────────── */
@keyframes glassSlideIn {
  from { opacity: 0; transform: translateX(36px) translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: translateX(0) translateY(0); filter: blur(0); }
}
#app { position: relative; }
#app > * { animation: glassSlideIn .42s cubic-bezier(.22,.61,.36,1); }
.page-enter { animation: glassSlideIn .42s cubic-bezier(.22,.61,.36,1) !important; }

/* 卡片悬浮呼吸感（导航栏除外） */
.glass:not(.nav) { transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, border-color .22s ease; }
.glass:not(.nav):hover { transform: translateY(-2px); box-shadow: var(--glass-shadow-lift); }

/* ── 响应式 ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .report-doc .rd-summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-text { text-align: center; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .calc-grid, .me-grid { grid-template-columns: 1fr; }
  .panel-sticky { position: static; max-height: none; }
  .nav { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
  .nav-links { order: 3; width: 100%; justify-content: center; margin-left: 0; }
  .para-cards { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .hist-item .h-metrics { margin-left: 0; text-align: left; }
  .hist-item .hm { text-align: left; }
  .deep-grid { grid-template-columns: 1fr !important; }
  .report-doc { padding: 26px 20px; }
  .rd-chart-grid { grid-template-columns: 1fr !important; }
  .rd-mini-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric .m-value { font-size: 19px; }
  .brand-name b { display: none; }
  .report-doc .rd-params { grid-template-columns: 1fr; }
}

/* ════════════════ 打印 / 导出 PDF（A4 纸张）══════════════════ */
@page { size: A4; margin: 12mm 10mm; }
@media print {
  body { background: #fff !important; }
  .orbs, .nav, #toast-root, .modal-mask, .report-actions, .page-head .btn, .results-head, .badges-row, .ref-strip, #param-panel, .view-toggle { display: none !important; }
  .container { max-width: none; padding: 0; }
  .calc-grid { display: block; }
  .report-shell { max-width: none; }
  .report-doc {
    box-shadow: none !important; border-radius: 0 !important; padding: 0 !important;
    background: #fff !important; color: #1e293b !important;
  }
  .report-doc h2.rd-sec { break-after: avoid; page-break-after: avoid; }
  .report-doc .rd-kpi, .report-doc .tbl, .report-doc .rd-chart-cell, .report-doc .rd-chart-grid, .report-doc .rd-mini-grid { break-inside: avoid; page-break-inside: avoid; }
  .report-actions { display: none !important; }
}

/* ── V2.2 参数组与报告补充 ────────────────────────────────── */
.lock-tag { font-size: 10px; opacity: .7; }
details.adv-group summary { justify-content: flex-start; gap: 8px; }
details.adv-group { border-top: 1px dashed rgba(23,30,41,.22); padding-top: 10px; margin-top: 12px; }
.field[data-locked] input { opacity: .65; background: rgba(23,30,41,.04); }
.report-doc .rd-monthly { font-size: 10px; }
.report-doc .rd-monthly th, .report-doc .rd-monthly td { padding: 4px 5px; }
@media print {
  details.adv-group { display: none !important; }
}

/* ── V2.2 报告图表等高 / 月度表滚动 ───────────────────────── */
.toast.warn { color: #b96a05; }
.report-doc .rd-chart-grid { align-items: stretch; }
.report-doc .rd-chart-cell { display: flex; flex-direction: column; }
.report-doc .rd-chart-cell .chart-box { flex: 1; min-height: 205px; display: flex; align-items: center; justify-content: center; }
.report-doc .rd-chart-grid .rd-chart-cell svg { max-height: 225px; width: auto; max-width: 100%; }
.rd-tbl-scroll { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 8px; }
.rd-tbl-scroll .rd-monthly { min-width: 1500px; margin: 0; }
@media print {
  .rd-tbl-scroll { overflow: visible; border: none; }
  .rd-tbl-scroll .rd-monthly, .rd-tbl-scroll .rd-yearly { min-width: 0; width: 100%; table-layout: fixed; font-size: 10.5px; }
  .rd-tbl-scroll .rd-monthly th, .rd-tbl-scroll .rd-monthly td,
  .rd-tbl-scroll .rd-yearly th, .rd-tbl-scroll .rd-yearly td { padding: 4px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rd-chart-cell .chart-box { min-height: 190px; }
  .rd-chart-grid .rd-chart-cell svg { max-height: 190px; }
}
.rd-chart-cell.rd-wide .chart-box { align-items: stretch; }
.rd-chart-cell.rd-wide svg { width: 100%; max-height: none; height: auto; }

/* ── 月度表冻结列：首列 + 末 3 列（收入差额/累计回报/货币资金）────────── */
.rd-monthly th:first-child, .rd-monthly td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 #cbd5e1; font-weight: 600; }
.rd-monthly th:nth-last-child(1), .rd-monthly td:nth-last-child(1) { position: sticky; right: 0; z-index: 2; background: #fff; box-shadow: -1px 0 0 #cbd5e1; font-weight: 600; }
.rd-monthly th:nth-last-child(2), .rd-monthly td:nth-last-child(2) { position: sticky; right: 64px; z-index: 2; background: #fff; box-shadow: -1px 0 0 #e2e8f0; }
.rd-monthly th:nth-last-child(3), .rd-monthly td:nth-last-child(3) { position: sticky; right: 128px; z-index: 2; background: #fff; box-shadow: -1px 0 0 #e2e8f0; }
.rd-monthly th:nth-last-child(1), .rd-monthly th:nth-last-child(2), .rd-monthly th:nth-last-child(3) { z-index: 3; }
.rd-monthly td:nth-last-child(1), .rd-monthly td:nth-last-child(2), .rd-monthly td:nth-last-child(3), .rd-monthly td:first-child { min-width: 62px; max-width: 78px; }
@media print { .rd-monthly td, .rd-monthly th { position: static !important; box-shadow: none !important; background: #fff !important; } }

/* ── V2.2 报告商业化版式 / 品牌化 / 卡片间距 ───────────────── */
.brand-logo { background: none !important; box-shadow: none !important; }
.brand-logo svg { display: block; }
.metrics { gap: 16px; padding: 14px 20px 20px; }
.metric { padding: 15px 17px; }

.report-doc .rd-head {
  background: #14181f; color: #fff;
  margin: -46px -52px 28px; padding: 20px 52px;
  border-radius: 10px 10px 0 0;
  border-bottom: none; align-items: center;
}
.report-doc .rd-brand { color: #fff; font-size: 14px; letter-spacing: 2px; }
.report-doc .rd-brand .rd-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.report-doc .rd-meta { color: rgba(255,255,255,.78); }
.report-doc h1.rd-title { letter-spacing: 8px; }
.report-doc h2.rd-sec {
  border-left: none; padding-left: 0;
  border-bottom: 1px solid #e2e8f0; padding-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.report-doc h2.rd-sec .rd-no {
  width: 28px; height: 28px; border-radius: 7px; background: #14181f; color: #fff;
  display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 700; flex: none;
}
.report-doc h2.rd-sec .rd-sec-tag { margin-left: auto; }
.report-doc .rd-kpi { border-top: 3px solid #14181f; }
.report-doc .rd-kpi.hl { border-top-color: #0e7c92; }
.report-doc .rd-h5 {
  font-size: 13px; font-weight: 700; color: #10151d;
  margin: 20px 0 8px; padding-left: 8px; border-left: 3px solid #14181f;
}
.report-doc .rd-summary-grid { gap: 12px; }
@media print {
  .report-doc .rd-head { background: #14181f !important; color: #fff !important; border-bottom: none; }
  .report-doc .rd-brand { color: #fff !important; }
  .report-doc .rd-meta { color: rgba(255,255,255,.78) !important; }
  .report-doc .rd-brand .rd-logo { background: #fff; }
  .report-doc .rd-brand .rd-logo path { stroke: #14181f !important; }
}

/* ── 示例水印（演示账号报告）──────────────────────────────── */
.report-doc { position: relative; }
.rd-sample-stamp {
  position: absolute; top: 130px; right: 44px;
  transform: rotate(12deg);
  font-size: 26px; font-weight: 800; letter-spacing: 6px;
  color: rgba(180, 83, 9, .18); border: 3px solid rgba(180, 83, 9, .18);
  padding: 6px 18px; border-radius: 8px; pointer-events: none; user-select: none;
}
@media print { .rd-sample-stamp { color: rgba(180,83,9,.25); border-color: rgba(180,83,9,.25); position: fixed; top: 40mm; right: 18mm; } }

/* ── 演示账号参数锁定 ─────────────────────────────────────── */
.panel-locked .field input, .panel-locked .field select { opacity: .62; background: rgba(23,30,41,.045); }
.panel-locked [data-locked] { pointer-events: none; }
.panel-locked .para-item, .panel-locked .seg button { opacity: .55; pointer-events: none; }
.panel-locked .para-item.on { opacity: 1; }

/* ── V2.2 报告专业排版 ────────────────────────────────────── */
.report-doc .tbl thead th { background: #f1f5f9; border-bottom: 1.5px solid #cbd5e1; }
.report-doc .tbl tbody tr:nth-child(even) td { background: #f8fafc; }
.report-doc .rd-tbl-scroll .rd-monthly thead th { background: #14181f; color: #fff; position: sticky; top: 0; }
.report-doc .rd-tbl-scroll .rd-monthly td { font-size: 10.5px; }
.report-doc .rd-yearly { font-size: 11.5px; }
.report-doc .rd-yearly thead th { white-space: nowrap; }
.report-doc .rd-note { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 8px; padding: 8px 12px; }

/* 打印分页：每个主要章节独立成页，表格防截断 */
@media print {
  .report-doc .rd-sec { break-before: page; page-break-before: always; }
  .report-doc h2.rd-sec:first-of-type { break-before: auto; page-break-before: auto; }
  .report-doc .rd-chart-grid, .report-doc .rd-summary-grid, .report-doc .rd-mini-grid { break-inside: avoid; }
  .report-doc .rd-tbl-scroll { overflow: visible; }
  .report-doc .rd-monthly thead th { position: static; color: #fff; background: #14181f; }
  .report-doc .rd-yearly { font-size: 11px; }
  .report-doc .rd-yearly th, .report-doc .rd-yearly td { padding: 4px 5px; }
}

/* ── 年度汇总表冻结列：首列 + 末 2 列（业主押金 / 期末累计）────────────── */
.rd-yearly th:first-child, .rd-yearly td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 0 #cbd5e1; font-weight: 600; }
.rd-yearly th:nth-last-child(1), .rd-yearly td:nth-last-child(1) { position: sticky; right: 0; z-index: 2; background: #fff; box-shadow: -1px 0 0 #cbd5e1; font-weight: 600; }
.rd-yearly th:nth-last-child(2), .rd-yearly td:nth-last-child(2) { position: sticky; right: 88px; z-index: 2; background: #fff; box-shadow: -1px 0 0 #e2e8f0; }
.rd-yearly th:nth-last-child(1), .rd-yearly th:nth-last-child(2) { z-index: 3; }
.rd-yearly td:first-child, .rd-yearly td:nth-last-child(1), .rd-yearly td:nth-last-child(2) { min-width: 76px; max-width: 92px; }
@media print { .rd-yearly td, .rd-yearly th { position: static !important; box-shadow: none !important; background: transparent !important; } }

/* ── 冻结列修复：定宽 + 精确偏移 + separate 边框（消除穿插）────────────── */
.report-doc .rd-tbl-scroll table { border-collapse: separate; border-spacing: 0; }
/* 月度表：冻结列定宽 66px，偏移 0 / 66 / 132 */
.rd-monthly td:nth-last-child(1), .rd-monthly th:nth-last-child(1),
.rd-monthly td:nth-last-child(2), .rd-monthly th:nth-last-child(2),
.rd-monthly td:nth-last-child(3), .rd-monthly th:nth-last-child(3) { width: 66px; min-width: 66px; max-width: 66px; }
.rd-monthly td:nth-last-child(2), .rd-monthly th:nth-last-child(2) { right: 66px; }
.rd-monthly td:nth-last-child(3), .rd-monthly th:nth-last-child(3) { right: 132px; }
.rd-monthly td:first-child, .rd-monthly th:first-child { width: 52px; min-width: 52px; max-width: 52px; }
/* 年度表：冻结列定宽 88px，偏移 0 / 88 */
.rd-yearly td:nth-last-child(1), .rd-yearly th:nth-last-child(1),
.rd-yearly td:nth-last-child(2), .rd-yearly th:nth-last-child(2) { width: 88px; min-width: 88px; max-width: 88px; }
.rd-yearly td:first-child, .rd-yearly th:first-child { width: 64px; min-width: 64px; max-width: 64px; }
/* 冻结列背景统一不透明（奇偶行一致），滚动内容不会透出 */
.rd-monthly tbody tr:nth-child(even) td:nth-last-child(-n+3),
.rd-monthly tbody tr:nth-child(even) td:first-child { background: #f1f5f9; }
.rd-yearly tbody tr:nth-child(even) td:nth-last-child(-n+2),
.rd-yearly tbody tr:nth-child(even) td:first-child { background: #f1f5f9; }
.rd-monthly tbody tr:nth-child(odd) td:nth-last-child(-n+3),
.rd-monthly tbody tr:nth-child(odd) td:first-child,
.rd-yearly tbody tr:nth-child(odd) td:nth-last-child(-n+2),
.rd-yearly tbody tr:nth-child(odd) td:first-child { background: #fff; }
@media print {
  .report-doc .rd-tbl-scroll table { border-collapse: collapse; }
}
