/* TinyRSI site styles v2. All styling lives here (CSP: style-src 'self'; no inline styles). */
:root {
  --bg: #f6f8fb; --surface: #ffffff; --ink: #0f172a; --muted: #475569; --line: #e2e8f0;
  --accent: #1d4ed8; --accent-strong: #1e3a8a; --accent-soft: #eff6ff;
  --flag: #9a3412; --flag-soft: #fff7ed; --flag-line: #fdba74;
  --verify: #1e40af; --verify-soft: #eff6ff; --verify-line: #93c5fd;
  --gap: #57534e; --gap-soft: #f5f5f4; --gap-line: #78716c;
  --none: #334155; --none-soft: #f1f5f9; --none-line: #cbd5e1;
  --off: #475569; --off-soft: #ffffff; --off-line: #64748b;
  --sw-flag: #9a3412; --sw-verify: #3b82f6; --sw-gap: #a8a29e; --sw-none: #cbd5e1; --sw-off: #ffffff;
  --bind: #7c2d12; --bind-soft: #ffedd5; --nonbind: #334155; --nonbind-soft: #e2e8f0;
  --sample: #713f12; --sample-soft: #fef9c3; --sample-line: #fde68a;
  --stop: #991b1b; --stop-soft: #fef2f2; --stop-line: #fecaca;
  --hero: #0b1220; --hero-panel: #111b2e; --hero-ink: #e2e8f0; --hero-muted: #a3b1c6;
  --print-line: #94a3b8;
  --radius: 14px; --maxw: 1120px; --header-h: 64px;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', 'Source Han Sans SC', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
:lang(zh) { line-height: 1.75; letter-spacing: 0; }
:lang(zh) em, :lang(zh) i { font-style: normal; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; }
mark { background: var(--sample-line); color: var(--ink); padding: 0 2px; border-radius: 3px; }
.mono, .idchip, code { font-family: var(--mono); text-autospace: no-autospace; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.show-xs { display: none; }
.print-only { display: none; }

/* Header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(11, 18, 32, 0.96); border-bottom: 1px solid rgba(148, 163, 184, 0.18); }
.bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: 0.2px; flex: none; }
.brand:hover { color: #fff; }
.brand svg { width: 28px; height: 28px; }
nav.main { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
nav.main a { color: var(--hero-muted); text-decoration: none; font-size: 15px; padding: 10px 0; }
nav.main a:hover, nav.main a[aria-current='page'] { color: #fff; }
nav.main a[aria-current='page'] { text-decoration: underline; text-underline-offset: 6px; }
.lang { font-weight: 600; }
.btn-buy { flex: none; }
details.menu { display: none; margin-left: auto; position: relative; }
details.menu summary { list-style: none; cursor: pointer; color: #fff; border: 1px solid rgba(163, 177, 198, 0.5); border-radius: 10px; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; }
details.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--hero-panel); border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 12px; padding: 8px; display: grid; min-width: 220px; z-index: 30; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35); }
.menu-panel a { color: var(--hero-ink); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: flex; align-items: center; }
.menu-panel a:hover, .menu-panel a[aria-current='page'] { background: rgba(148, 163, 184, 0.14); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; font-family: var(--sans); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { border-color: rgba(163, 177, 198, 0.5); color: var(--hero-ink); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-row, .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero (dark band) */
.hero { background-color: var(--hero); background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px); background-size: 32px 32px; color: var(--hero-ink); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: #93c5fd; font-family: var(--mono); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.hero h1 { margin: 0 0 18px; font-size: 46px; line-height: 1.12; letter-spacing: -0.6px; color: #fff; }
.lede { margin: 0 0 28px; font-size: 18px; color: var(--hero-muted); max-width: 40em; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--hero-muted); }

/* Report-excerpt mock on the hero */
.mock { margin: 0; background: var(--hero-panel); border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 16px; overflow: hidden; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.2); font-size: 13px; color: var(--hero-muted); flex-wrap: wrap; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; }
.mock-status { margin-left: auto; color: #fed7aa; }
.mock-body { padding: 18px 16px 8px; }
.mock-title { margin: 0 0 6px; font-weight: 600; color: #fff; font-size: 17px; }
.mock-counts { margin: 0 0 12px; font-family: var(--mono); font-size: 13px; color: var(--hero-muted); }
.findings { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.mock figcaption { padding: 10px 16px 14px; font-size: 12px; color: var(--hero-muted); }

/* State labels (pills) and finding chips. Icons are data: SVGs (allowed by img-src 'self' data:). */
.state { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 10px; border-radius: 999px; font-size: 14px; line-height: 1.4; border: 1px solid var(--line); background: var(--surface); color: var(--ink); white-space: nowrap; }
.state b { font-weight: 700; font-variant-numeric: tabular-nums; }
.chip { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; font-size: 14px; line-height: 1.45; border: 1px solid; }
.chip strong { margin-right: 6px; }
.state::before, .chip::before { content: ''; flex: none; width: 16px; height: 16px; background-repeat: no-repeat; background-position: center; background-size: 16px 16px; }
.chip::before { width: 18px; height: 18px; background-size: 18px 18px; margin-top: 1px; }
.state.flag, .chip.flag { color: var(--flag); background-color: var(--flag-soft); border-color: var(--flag-line); }
.state.verify, .chip.verify { color: var(--verify); background-color: var(--verify-soft); border-color: var(--verify-line); }
.state.gap, .chip.gap { color: var(--gap); background-color: var(--gap-soft); border-color: var(--gap-line); border-style: dashed; }
.state.none, .chip.none { color: var(--none); background-color: var(--none-soft); border-color: var(--none-line); }
.state.off, .chip.off { color: var(--off); background-color: var(--off-soft); border-color: var(--off-line); border-style: dotted; }
.state.flag::before, .chip.flag::before { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%239a3412%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M5 21V4m0 0h11l-2 4 2 4H5%27/%3E%3C/svg%3E'); }
.state.verify::before, .chip.verify::before { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231e40af%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z%27/%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%273%27/%3E%3C/svg%3E'); }
.state.gap::before, .chip.gap::before { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2357534e%27 stroke-width=%272%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%278%27/%3E%3Cpath d=%27M6.5 17.5l11-11%27/%3E%3C/svg%3E'); }
.state.none::before, .chip.none::before { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23334155%27 stroke-width=%272%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%278%27/%3E%3Cpath d=%27M8.5 12h7%27/%3E%3C/svg%3E'); }
.state.off::before, .chip.off::before { background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23475569%27 stroke-width=%272%27 stroke-linecap=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%278%27 stroke-dasharray=%271.5 3.5%27/%3E%3C/svg%3E'); }
.states, .counts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.counts { margin: 0; gap: 8px; }
.swatch-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; border: 1px solid var(--off-line); margin-top: 10px; max-width: 520px; }
.swatch-bar span { display: block; min-width: 4px; }
.sw-flag { background: var(--sw-flag); } .sw-verify { background: var(--sw-verify); } .sw-gap { background: var(--sw-gap); } .sw-none { background: var(--sw-none); } .sw-off { background: var(--sw-off); }
.g1 { flex-grow: 1; } .g2 { flex-grow: 2; } .g3 { flex-grow: 3; } .g4 { flex-grow: 4; } .g5 { flex-grow: 5; } .g6 { flex-grow: 6; }
.g7 { flex-grow: 7; } .g8 { flex-grow: 8; } .g9 { flex-grow: 9; } .g10 { flex-grow: 10; } .g11 { flex-grow: 11; } .g12 { flex-grow: 12; }

/* Sections, grids, cards */
.section { padding: 76px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head h2 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; letter-spacing: -0.3px; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.kicker { margin: 0 0 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.page-head { padding: 56px 0 8px; }
.page-head h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.15; letter-spacing: -0.4px; }
.subtitle { margin: 0 0 16px; font-size: 20px; color: var(--muted); font-weight: 600; }
.lede-light { margin: 0 0 20px; font-size: 18px; color: var(--muted); max-width: 46em; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0 0 8px; color: var(--muted); }
.src { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.plain-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.fineprint { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.small { font-size: 14px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: '0' counter(step); display: block; font-family: var(--mono); color: var(--accent); font-size: 14px; margin-bottom: 8px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; background-repeat: no-repeat; background-size: 22px 22px; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231d4ed8%27 stroke-width=%271.8%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z%27/%3E%3C/svg%3E'); }
.checklist strong { display: block; }
.checklist span { color: var(--muted); }
.check-steps { margin: 0; padding-left: 24px; display: grid; gap: 14px; }
.check-steps li { padding-left: 4px; }

/* Price, key terms, notices, callouts */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; max-width: 760px; }
.price-card h3 { margin: 0; font-size: 20px; }
.price { margin: 4px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--muted); font-size: 15px; }
.price-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.kterms { background: var(--accent-soft); border: 1px solid var(--verify-line); border-radius: var(--radius); padding: 20px 22px; }
.kterms h2, .kterms h3 { margin: 0 0 10px; font-size: 17px; }
.kterms ol { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.kterms .zh { display: block; color: var(--muted); }
.notice { background: var(--sample-soft); color: var(--sample); border-bottom: 1px solid var(--sample-line); font-size: 14px; }
.notice .wrap { padding-top: 10px; padding-bottom: 10px; }
.sample-banner { background: var(--sample-soft); color: var(--sample); border: 1px solid var(--sample-line); border-radius: 12px; padding: 12px 16px; font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin: 24px 0 0; }
.sample-banner a { color: var(--sample); font-weight: 600; }
.callout { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.callout h3 { margin: 0 0 6px; font-size: 16px; }
.callout p { margin: 0 0 6px; }
.callout-pay { background: var(--accent-soft); border-color: var(--verify-line); }
.callout-is { background: var(--none-soft); border-color: var(--none-line); }
.callout-paid { background: var(--stop-soft); border-color: var(--stop-line); color: var(--stop); }
.callout-self { background: var(--sample-soft); border-color: var(--sample-line); color: var(--sample); }
.redirect-box { max-width: 560px; margin: 72px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.redirect-box h1 { margin: 0 0 12px; font-size: 26px; line-height: 1.25; }

/* Tables */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table.coverage, table.rtable { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
table.coverage caption, table.rtable caption { text-align: left; font-weight: 600; padding: 12px 12px 4px; }
table.coverage th, table.coverage td, table.rtable th, table.rtable td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.coverage thead th, table.rtable thead th { background: var(--none-soft); font-size: 13px; color: var(--muted); font-weight: 600; }
table.coverage tbody th, table.rtable tbody th { font-weight: 600; }
table.rtable td .state { white-space: nowrap; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--accent); font-size: 18px; }
.faq details[open] summary::after { content: '-'; }
.faq .answer { padding: 0 0 16px; }
.faq .answer p { margin: 0 0 8px; }

/* Sample report pages (HTML rendering of the PDF template) */
.report { display: grid; gap: 24px; margin: 24px 0 0; }
.report-page { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.report-head { border-bottom: 2px solid var(--hero); padding-bottom: 14px; margin-bottom: 18px; }
.report-brand { margin: 0 0 4px; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.report-head h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.25; }
.report-head h1 span { display: block; font-size: 18px; color: var(--muted); font-weight: 600; }
.report-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 0; font-size: 14px; }
.report-meta div { display: flex; gap: 8px; flex-wrap: wrap; }
.report-meta dt { color: var(--muted); min-width: 120px; }
.report-meta dd { margin: 0; }
.report-block { margin: 0 0 22px; }
.report-block h2 { font-size: 19px; margin: 0 0 10px; }
.report-block h3 { font-size: 16px; margin: 16px 0 8px; }
.summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.badge { display: inline-block; font-size: 12px; font-family: var(--mono); padding: 2px 8px; border-radius: 6px; background: var(--none-soft); color: var(--muted); }
.badge-bind { background: var(--bind-soft); color: var(--bind); font-family: var(--sans); font-weight: 600; }
.badge-nonbind { background: var(--nonbind-soft); color: var(--nonbind); font-family: var(--sans); font-weight: 600; }
.quote { margin: 6px 0; padding: 8px 12px; border-radius: 8px; background: var(--none-soft); font-size: 14px; }
.idchip { background: var(--none-soft); color: #1e293b; padding: 1px 6px; border-radius: 6px; font-size: 13px; white-space: nowrap; }
.decision-record { border: 1px solid var(--print-line); border-radius: 12px; padding: 16px 18px; }
.decision-record h3 { margin: 0 0 10px; font-size: 16px; }
.tick { font-family: var(--mono); margin-right: 16px; white-space: nowrap; }
.form-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 12px 0; }
.form-lines div { display: grid; gap: 4px; }
.form-lines dt { font-size: 13px; color: var(--muted); }
.form-lines dd { margin: 0; border-bottom: 1px solid var(--print-line); min-height: 28px; }
.report-foot { margin: 18px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.attrib { font-size: 13px; color: var(--muted); padding-left: 18px; }
.appendix { font-size: 14px; }

/* Printable bank-detail change record */
table.record-form { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); }
table.record-form th, table.record-form td { border: 1px solid var(--print-line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.record-form th { width: 40%; background: var(--none-soft); font-weight: 600; }
table.record-form td { height: 44px; }

/* Contact, footer, policy pages */
.contact-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-box dl { margin: 0; display: grid; gap: 14px; }
.contact-box dt { font-weight: 600; }
.contact-box dd { margin: 2px 0 0; color: var(--muted); }
footer.site { background: var(--hero); color: var(--hero-muted); padding: 40px 0; font-size: 14px; }
.foot { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.foot nav { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: flex-start; }
.foot a { color: var(--hero-ink); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot p, .foot-entity p { margin: 0 0 6px; max-width: 44em; }
.doc-wrap { padding: 56px 0 80px; }
.doc { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.doc h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.2; }
.doc .updated { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.doc h2 { margin: 30px 0 8px; font-size: 20px; }
.doc p, .doc li { color: #1e293b; }
.doc ul, .doc ol { padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist, .contact-box, .summary-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 760px) {
  nav.main { display: none; }
  details.menu { display: block; }
  .bar { gap: 12px; }
  .grid2, .report-meta, .form-lines { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 26px; }
  .report-page { padding: 20px 16px; }
  table.coverage thead { position: absolute; left: -9999px; }
  table.coverage, table.coverage tbody, table.coverage tr, table.coverage th, table.coverage td { display: block; width: 100%; }
  table.coverage tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.coverage td, table.coverage th { border: 0; padding: 4px 12px; }
  table.coverage td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
  table.coverage tbody th { padding-top: 10px; font-size: 15px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 30px; }
  .doc { padding: 24px 18px; }
  .price-amount { font-size: 34px; }
}
@media (max-width: 420px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .brand span { font-size: 17px; }
  .btn-buy { padding: 8px 10px; font-size: 13px; }
}

/* Print: sample reports and the bank-detail change record */
@media print {
  @page { size: A4; margin: 16mm; }
  body { background: #fff; font-size: 10pt; }
  header.site, footer.site, .skip, .no-print, details.menu, .sample-banner a { display: none !important; }
  .print-only { display: block !important; }
  .section, .page-head { padding: 0; }
  .report-page { border: 0; border-radius: 0; padding: 0; break-after: page; }
  .report-page:last-child { break-after: auto; }
  tr, .callout, .decision-record, .chip { break-inside: avoid; }
  a { color: var(--ink); text-decoration: none; }
  .state, .chip, .badge, .callout, .sample-banner, .swatch-bar span, table.record-form th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Build additions, 29 Oct 2026 (site v2). Every rule above is the canonical file, unchanged.
   An A4 page printed with 16 mm margins is about 673 px wide, so the max-width 760 px and 960 px rules
   above also apply on paper. These print rules restore the two-column blocks, drop the screen padding
   around documents, tighten report tables towards the PDF type scale, and fit the bank-detail change
   record on one A4 page. The first rule lets report pages shrink to the screen so wide tables scroll
   inside .table-box instead of widening the page on phones. */
.report { grid-template-columns: minmax(0, 1fr); }
@media print {
  .doc-wrap { padding: 0; }
  .doc { max-width: none; border: 0; border-radius: 0; padding: 0; }
  .doc h1 { font-size: 18pt; }
  .report-meta, .summary-grid, .form-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  table.rtable { font-size: 9pt; }
  table.rtable th, table.rtable td { padding: 5px 8px; }
  .state { font-size: 9pt; }
  .report-foot { display: none; }
  table.record-form { font-size: 9pt; line-height: 1.25; }
  table.record-form th { width: 50%; padding: 3px 8px; }
  table.record-form td { height: 30px; padding: 3px 8px; }
  table.record-form :lang(zh) { line-height: 1.25; }
}
/* Review fixes (see CHANGES-review.md). The phone menu takes over below 861 px, so the desktop
   nav never wraps into a two-line sticky header (TQ-08); the open menu stays on screen at 320 px (TQ-09); focus
   rings on the dark header, hero and footer meet 3:1 (TQ-10); links in the hero note use the light hero colour
   (UX-07); wide tables on phones show a scroll shadow (TQ-11); a printed FAQ includes the answers (TQ-12).
   On paper the section footers are hidden: the PDF print step adds a footer with real page numbers (ZH-28). */
.hero-note a { color: #93c5fd; }
.hero-note a:hover { color: #fff; }
@media (max-width: 860px) { nav.main { display: none; } details.menu { display: block; } }
@media (max-width: 420px) { details.menu { position: static; } .menu-panel { left: 16px; right: 16px; min-width: 0; } }
header.site a:focus-visible, header.site summary:focus-visible, .hero a:focus-visible, footer.site a:focus-visible { outline-color: #93c5fd; }
@media (max-width: 760px) {
  .table-box {
    background:
      linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
      linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0)) left center / 16px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0)) right center / 16px 100% no-repeat scroll,
      #fff;
  }
  .table-box table.rtable, .table-box table.rtable tbody th, .table-box table.rtable td { background: transparent; }
}
@media print { .faq details::details-content { content-visibility: visible; display: block; } .faq summary::after { content: none; } }
