:root {
  --blue: #0056dd;
  --deep-blue: #043d9d;
  --yellow: #ffdf2b;
  --ink: #172535;
  --muted: #536578;
  --line: #d9e1eb;
  --surface: #f5f7fa;
  --tint: #eaf2ff;
  --white: #fff;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", serif;
  --sans: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font: 15px/1.65 var(--sans);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; }
a { color: var(--deep-blue); text-underline-offset: 4px; }
button, select, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 3px solid #3b81f1; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -10rem; left: 1rem; z-index: 20; padding: .8rem; background: var(--white); }
.skip:focus { top: 1rem; }
.wrap, .topbar-inner { width: min(1360px, 100% - 80px); margin-inline: auto; }
.topbar { z-index: 5; position: sticky; top: 0; background: #fffffff7; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; justify-content: space-between; align-items: stretch; min-height: 68px; gap: 18px; }
.brand, .topbar nav { display: flex; align-items: center; }
.brand { gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 17px; white-space: nowrap; }
.brand-mark { display: inline-block; width: 15px; height: 15px; background: var(--blue); box-shadow: 6px 6px 0 -1px var(--yellow); margin-right: 5px; border-radius: 50%; }
.brand span:last-child { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; font-weight: 500; }
.topbar nav { gap: 28px; font-size: 13px; }
.topbar nav a { align-self: stretch; display: flex; align-items: center; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; padding: 3px 2px 0; }
.topbar nav a:hover, .topbar nav [aria-current] { color: var(--blue); border-bottom-color: var(--blue); }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 100px); align-items: center; padding: 47px 0 39px; }
.eyebrow { color: var(--deep-blue); font-size: 12px; font-weight: 700; letter-spacing: .065em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; }
.eyebrow span { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
h1, h2, h3 { line-height: 1.25; }
.hero h1 { font-size: clamp(38px, 5.3vw, 76px); letter-spacing: -.064em; margin: 16px 0 20px; font-family: var(--serif); font-weight: 850; line-height: 1.12; }
.hero h1 span { display: inline-block; padding-right: .13em; background: linear-gradient(transparent 76%, var(--yellow) 76%, var(--yellow) 92%, transparent 92%); }
.intro { color: var(--muted); font-size: clamp(14px, 1.3vw, 17px); max-width: 490px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 22px; margin-top: 24px; }
.primary, .secondary { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; text-decoration: none; }
.primary { padding: 10px 16px; border-radius: 5px; border: 1px solid var(--blue); background: var(--blue); color: white; }
.primary:hover { background: var(--deep-blue); }
.secondary:hover { text-decoration: underline; }
.compact { padding: 6px 12px; }
.special-links { display: grid; gap: 14px; }
.special-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(116px, 32%); align-items: center; gap: 16px; padding: 21px; border: 1px solid var(--line); border-left: 4px solid var(--deep-blue); border-radius: 9px; background: #f6f9fe; }
.special-card.capacity-card { border-left-color: #976431; background: #fcf9f4; }
.special-card h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 12px; margin: 0 0 8px; font-size: clamp(17px, 2vw, 25px); }
.special-card h2 span { font-size: .72em; color: var(--deep-blue); font-weight: 650; }
.capacity-card h2 span { color: #844f22; }
.special-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.special-card .verdict { color: var(--ink); font-size: 14px; font-weight: 740; }
.special-card .board-price { margin: 11px 0 8px; }
.board-price a { margin-right: 5px; color: var(--deep-blue); font-weight: 720; text-decoration-thickness: 1px; }
.capacity-card .board-price a { color: #80511e; }
.board-image { width: 100%; height: auto; mix-blend-mode: multiply; }
.scenario-overview { margin: 7px 0 43px; }
.scenario-overview .section-head h2 { font-size: 25px; }
.scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.scenario-grid article { display: grid; grid-template-rows: auto auto 1fr auto; align-items: start; padding: 17px 18px; background: #f8fbff; }
.scenario-grid article + article { border-left: 1px solid var(--line); }
.scenario-grid h3 { margin: 0 0 11px; font-size: 14px; }
.scenario-grid p { margin: 0 0 9px; color: var(--muted); font-size: 12px; }
.scenario-grid strong { margin-right: 6px; color: var(--deep-blue); font-size: clamp(19px, 2.15vw, 30px); font-variant-numeric: tabular-nums; letter-spacing: -.045em; line-height: 1.2; }
.scenario-grid .secondary { width: fit-content; font-size: 12px; }
.quick-compare { margin: 0 0 24px; }
.view-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 17px; }
.view-buttons button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--muted); font-size: 13px; }
.view-buttons button:hover { border-color: var(--blue); color: var(--blue); }
.view-buttons button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.comparison-panel + .comparison-panel { margin-top: 29px; }
.comparison-panel[hidden] + .comparison-panel { margin-top: 0; }
.comparison-panel h3 { margin: 0 0 9px; font-size: 17px; }
.focus-table { min-width: 895px; }
.focus-table th, .focus-table td { vertical-align: middle; }
.focus-table .model-column, .focus-table tbody th { position: sticky; left: 0; z-index: 1; min-width: 142px; border-right: 1px solid var(--line); }
.focus-table .metric-group th { font-size: 11px; font-weight: 720; padding-block: 7px; background: #e5edf8; }
.focus-table thead th[scope="colgroup"] { border-left: 1px solid #cbd8eb; }
.focus-table .decode-cell { color: var(--deep-blue); font-weight: 750; }
.focus-table .decode-estimate { color: #80511e; font-weight: 700; }
.focus-table .decode-estimate a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.focus-table tbody th { background: #fff; }
.focus-table tbody tr:nth-child(even) th { background: #f7f9fc; }
.focus-table tbody .focus-row > * { background: #fff5ce; }
.focus-table tbody th span { display: block; font-size: 13px; }
.focus-table small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.focus-table td { font-variant-numeric: tabular-nums; }
.comparison-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.comparison-insights p { margin: 0; border-left: 2px solid #a6bdde; padding: 5px 10px; font-size: 13px; }
.comparison-note { margin: 10px 0; font-size: 12px; color: var(--muted); }
.extended-table { margin: 15px 0; }
.extended-table summary { cursor: pointer; width: fit-content; color: var(--deep-blue); font-size: 13px; }
.catalog { margin: 54px 0 42px; }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 31px; margin: 0 0 7px; letter-spacing: -.04em; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: grid; grid-template-columns: minmax(210px, 1.7fr) repeat(5, minmax(110px, 1fr)); padding: 14px 16px; gap: 12px; background: var(--surface); border-radius: 8px; }
.filters label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 5px; }
.filters input, .filters select { width: 100%; min-width: 0; min-height: 38px; border-radius: 4px; border: 1px solid #abb9cb; background: var(--white); color: var(--ink); padding: 6px 8px; font-size: 13px; }
.result-bar, .selection, .pagination { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 46px; }
.result-bar p, .note { color: var(--muted); font-size: 12px; }
.link-button { background: transparent; border: 0; color: var(--deep-blue); font-size: 13px; padding: 6px 4px; }
.link-button:hover { text-decoration: underline; }
.selection { padding: 8px 14px; background: var(--tint); border: 1px solid #c5d8fc; border-radius: 6px; font-size: 13px; margin-bottom: 9px; }
.selection > div { display: flex; align-items: center; gap: 10px; }
.table-scroll { width: 100%; overflow-x: auto; margin: 0; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
th, td { padding: 9px 11px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { color: #243e65; background: #edf3fb; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f7f9fc; }
.catalog-table { min-width: 850px; }
.catalog-table th:first-child, .catalog-table td:first-child { text-align: center; width: 62px; }
.catalog-table input { accent-color: var(--blue); width: 16px; height: 16px; }
.catalog-table th, .catalog-table td { vertical-align: middle; }
.catalog-table .model { min-width: 175px; }
.catalog-table small, #comparison-table small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.model-name { display: inline; padding: 0; border: 0; background: transparent; color: var(--deep-blue); font-weight: 700; text-align: left; }
.model-name:hover { text-decoration: underline; }
.catalog-measurement { color: var(--deep-blue); font-weight: 650; }
.catalog-estimate, .catalog-estimate a { color: #80511e; }
.source-links { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 12px; min-width: 90px; }
.catalog-method { margin-top: 14px; padding: 10px 14px; border-radius: 5px; background: var(--surface); font-size: 13px; }
.catalog-method summary { cursor: pointer; color: var(--deep-blue); font-weight: 600; }
.catalog-method p { margin: 8px 0; color: var(--muted); }
.catalog-table .reference-row { background: #fff8d5; }
.catalog-table td.empty { text-align: left; padding: 20px; color: var(--muted); }
.pagination { justify-content: flex-end; font-size: 12px; margin-top: 9px; }
.pagination button, .dialog-head button { padding: 4px 12px; color: var(--deep-blue); background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.pagination button:hover:not(:disabled), .dialog-head button:hover { background: var(--tint); }
.note { margin-bottom: 0; }
.mobile-table-note { display: none; }
dialog { width: min(880px, 100% - 30px); max-height: min(86vh, 780px); border: 1px solid var(--line); border-radius: 10px; padding: 22px; color: var(--ink); }
dialog::backdrop { background: #10233ebd; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 15px; }
.dialog-head h2 { margin: 0; font-size: 24px; }
#comparison-table { min-width: 550px; }
#comparison-table td { white-space: pre-line; }
.footer { border-top: 1px solid var(--line); display: flex; gap: 18px; padding: 18px 0 32px; color: var(--muted); font-size: 12px; }

.report-title { padding: 38px 0 23px; border-bottom: 1px solid var(--line); }
.report-title h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 58px); margin: 13px 0 0; letter-spacing: -.045em; }
.back { font-size: 13px; text-decoration: none; }
.report-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: 35px; padding: 22px 0 55px; }
.report-layout aside { position: sticky; top: 88px; max-height: calc(100vh - 105px); overflow-y: auto; padding-right: 7px; }
.report-layout aside strong { font-size: 12px; }
.report-layout aside a { display: block; padding: 5px 0; color: var(--deep-blue); font-size: 12px; text-decoration: none; }
.report-layout aside a:hover, .back:hover { text-decoration: underline; }
.report-layout aside .level-2 { padding-left: 9px; color: var(--muted); }
.prose { min-width: 0; overflow-wrap: break-word; }
.prose h2 { font-size: 28px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 21px; margin-top: 23px; }
.prose h4 { font-size: 17px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 92ch; }
.prose .table-scroll { margin: 13px 0; }
.prose .table-scroll table { min-width: 520px; }
.prose th { min-width: 76px; }
.prose .local-ref { color: var(--muted); text-decoration: underline dotted; text-underline-offset: 4px; }

@media (max-width: 960px) {
  .wrap, .topbar-inner { width: calc(100% - 44px); }
  .hero { padding-top: 44px; }
  .filters { grid-template-columns: repeat(5, minmax(90px, 1fr)); }
  .search { grid-column: 1 / -1; }
  .report-layout { grid-template-columns: 145px minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 96px; }
  .wrap, .topbar-inner { width: calc(100% - 32px); }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 10px; }
  .topbar nav { gap: 17px; min-height: 40px; }
  .topbar nav a { font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 33px 0 27px; gap: 24px; }
  .hero h1 { margin: 12px 0 15px; font-size: clamp(37px, 9vw, 59px); }
  .special-card { grid-template-columns: minmax(0, 1fr) minmax(90px, 28%); gap: 10px; padding: 14px 15px; }
  .special-card h2 { font-size: 17px; }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenario-grid article { padding: 13px; }
  .scenario-grid article:nth-child(odd) { border-left: 0; }
  .scenario-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .comparison-insights { grid-template-columns: 1fr; gap: 5px; }
  .focus-table tbody th:first-child { min-width: 124px; max-width: 140px; }
  .footer { flex-wrap: wrap; }
  .catalog { margin-top: 36px; }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 12px; }
  .mobile-table-note { display: block; margin: 0 0 6px; }
  .report-layout { display: block; padding-top: 14px; }
  .report-layout aside { position: static; max-height: none; background: var(--surface); padding: 10px 13px; margin-bottom: 15px; }
  .report-layout aside nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 14px; }
  .report-layout aside .level-2 { display: none; }
  .prose h2 { font-size: 23px; }
  .prose h3 { font-size: 19px; }
}
