:root {
  --bg: #fff;
  --card: #fff;
  --ink: #202a35;
  --muted: #617080;
  --line: #e1e6eb;
  --red: #aa383a;
  --red-soft: #fff1f0;
  --green: #287a63;
  --amber: #925b16;
  --mono: 'Consolas', 'SFMono-Regular', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; max-width: 100%; overflow: visible; }
svg text { font-family: var(--sans); }
::selection { background: #f3d9d9; }
.mono { font-family: var(--mono); }
.skip-link { position: fixed; top: -70px; left: 20px; background: var(--ink); color: white; padding: 10px 20px; z-index: 100; }
.skip-link:focus { top: 10px; }

/* Navigation stays quiet; the report carries the visual emphasis. */
.report-header { height: 82px; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--red); font-size: 23px; font-weight: 650; letter-spacing: -.7px; line-height: 1.2; }
.brand img { object-fit: contain; }
.brand-cn { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: 1px; margin-top: 7px; }
.header-center { font: 11px var(--mono); letter-spacing: .7px; color: var(--muted); }
.header-center span { margin: 0 12px; color: #bbc3cc; }
.back-link { font-size: 13px; white-space: nowrap; }
.back-link span { margin-left: 12px; color: var(--red); }
.report-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); max-width: 1640px; margin: auto; }
.sidebar { padding: 32px 18px 24px 24px; border-right: 1px solid var(--line); position: sticky; top: 82px; height: calc(100vh - 82px); overflow-y: auto; }
.workspace-label { font: 9px var(--mono); letter-spacing: .7px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.tiny-square { height: 5px; width: 5px; background: var(--red); }
.sidebar-heading { font-size: 11px; color: var(--muted); margin: 12px 0 30px; }
.report-index { font-size: 12px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; }
.report-index span { font: 9px var(--mono); color: var(--muted); align-self: center; }
.section-nav { display: flex; flex-direction: column; gap: 5px; }
.section-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 9px; border-left: 2px solid transparent; font-size: 13px; color: #536170; border-radius: 0 5px 5px 0; transition: background .2s; }
.section-nav a > span { font: 11px var(--mono); color: var(--muted); }
.section-nav a i { font-style: normal; margin-left: auto; opacity: 0; }
.section-nav a:hover { color: var(--red); background: #fff7f6; }
.section-nav a.active { background: var(--red-soft); border-left-color: var(--red); color: var(--red); font-weight: 600; }
.section-nav a.active > span { color: var(--red); }
.section-nav a.active i { opacity: 1; }
.sidebar-art { margin: 24px auto 20px; text-align: center; }
.sidebar-art svg { width: 118px; height: 145px; margin: auto; }
.sidebar-art > span { font: 9px/1.8 var(--mono); color: var(--muted); letter-spacing: .6px; }
.sidebar-note { border-top: 1px solid var(--line); padding-top: 18px; font-size: 12px; color: #48586a; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: var(--green); border-radius: 50%; vertical-align: middle; margin-right: 7px; }
.sidebar-note p { margin-top: 8px; color: var(--muted); font-size: 11px; }
.sidebar-contact { margin-top: 15px; color: var(--red); font-size: 12px; display: flex; justify-content: space-between; }

/* White surfaces, readable text and clearly separated numerical results. */
main { padding: 28px 38px 0; min-width: 0; }
.report-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb span { padding: 0 9px; color: #a6afb8; }
.edition { font: 11px var(--mono); white-space: nowrap; }
.edition-dot { color: var(--red); margin: 0 5px 0 12px; font-size: 9px; }
.title-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.eyebrow { color: var(--red); font: 10px var(--mono); letter-spacing: 1.3px; margin-bottom: 12px; }
h1 { font-size: 32px; font-weight: 650; letter-spacing: -.5px; line-height: 1.4; }
h1 > span { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 11px; }
.export-button { display: flex; align-items: center; gap: 8px; flex-shrink: 0; border: 1px solid #cdd4dc; background: white; padding: 10px 15px; font-size: 13px; border-radius: 5px; }
.export-button:hover { background: #f6f8fa; border-color: #a9b4c0; }
.export-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.metadata { display: flex; flex-wrap: wrap; gap: 10px 23px; font-size: 12px; color: var(--muted); padding: 23px 0 18px; border-bottom: 1px solid var(--line); }
.metadata b { font-weight: 500; color: var(--ink); margin-left: 8px; }
.demo-note { display: flex; align-items: baseline; gap: 9px; font-size: 12px; line-height: 1.8; color: var(--muted); padding: 14px 0 21px; }
.demo-note > span { font: 10px var(--mono); color: #705526; background: #fff7e8; padding: 3px 5px; border-radius: 3px; }
.summary-card { display: grid; grid-template-columns: 1fr .8fr 1.25fr; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 8px; background: #fff; overflow: hidden; }
.age-result { padding: 28px 0 26px 28px; }
.card-eyebrow { font-size: 14px; font-weight: 600; }
.card-eyebrow > span { display: block; font: 10px var(--mono); letter-spacing: 1px; color: var(--muted); margin-top: 4px; }
.age-number { font-size: 80px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -4px; line-height: 1.2; color: #22624f; margin: 13px 0 10px; }
.age-number > span { font-size: 15px; font-weight: 400; letter-spacing: 0; margin-left: 8px; color: var(--muted); }
.age-difference { color: #226c56; font-size: 13px; }
.age-difference strong { font-weight: 650; }
.subtle { color: var(--muted); font-size: 12px; margin-top: 9px; }
.age-gauge { display: flex; align-items: center; justify-content: center; padding: 20px 10px 10px 0; }
.age-gauge svg { width: 100%; max-width: 245px; }
.summary-reading { padding: 8px 26px 8px 28px; border-left: 1px solid var(--line); margin: 28px 0; }
.reading-label { font-size: 12px; color: var(--green); margin-bottom: 12px; }
.summary-reading h2 { font-size: 19px; font-weight: 600; line-height: 1.7; }
.summary-reading p { font-size: 13px; color: #566574; line-height: 1.9; margin-top: 12px; }
.summary-reading a { display: inline-block; font-size: 12px; color: var(--red); margin-top: 15px; }
.summary-reading a span { margin-left: 12px; }
.summary-bottom { grid-column: 1/-1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding: 12px 28px; color: var(--muted); font-size: 11px; }
.summary-bottom > span:first-child { color: #296d58; }
.summary-bottom .mono { font-size: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 18px; }
.metric-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.metric-card > p { display: flex; align-items: center; justify-content: space-between; gap: 5px; font-size: 13px; font-weight: 500; }
.metric-card > p > span { font: 8px var(--mono); color: var(--muted); }
.metric-card > div { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 6px; }
.metric-card strong { font-size: 37px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; letter-spacing: -1.5px; }
.metric-card .fraction { font-size: 22px; color: var(--muted); margin-left: 3px; font-weight: 400; }
.metric-card > div > span { font-size: 12px; color: var(--muted); }
.sparkline { width: 75px; height: 32px; margin-left: auto; align-self: center; }
.metric-card small { display: flex; flex-wrap: wrap; gap: 5px; justify-content: space-between; font-size: 11px; color: var(--muted); }
.metric-card small b { font-weight: 400; color: var(--green); }
.metric-card small .amber { color: var(--amber); }
.mini-bars { display: flex; gap: 2px; margin-left: auto; align-self: center; }
.mini-bars i { display: block; width: 4px; height: 20px; background: #579b82; }
.mini-bars i:nth-last-child(-n+3) { background: #deb573; }

/* Charts retain color for the data, with larger explanatory labels. */
.report-section { scroll-margin-top: 105px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin: 44px 0 21px; }
.section-number { font: 10px var(--mono); color: var(--muted); letter-spacing: 1px; }
.section-heading h2 { font-size: 23px; font-weight: 650; line-height: 1.5; margin-top: 8px; }
.section-heading > p { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.charts-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 23px 24px 0; }
.panel-heading h3 { font-size: 16px; font-weight: 600; }
.panel-heading p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.segmented { display: flex; flex-shrink: 0; border: 1px solid var(--line); border-radius: 5px; padding: 3px; gap: 2px; }
.segmented button { padding: 6px 9px; font-size: 12px; background: white; border: 0; border-radius: 3px; color: #536170; white-space: nowrap; }
.segmented button.selected { background: var(--red-soft); color: var(--red); font-weight: 600; }
.chart-legend, .radar-legend, .contribution-legend { display: flex; flex-wrap: wrap; gap: 17px; font-size: 12px; color: #536170; }
.chart-legend { padding: 22px 24px 12px; }
.legend-bio:before, .legend-actual:before, .legend-green:before, .legend-band:before { content: ''; display: inline-block; width: 15px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 6px; }
.legend-actual:before { background: none; border-top: 2px dashed #687b93; }
.legend-band:before { height: 9px; background: #f2dddb; }
.legend-green:before { background: var(--green); }
.chart { width: 100%; height: auto; }
.trend-panel > .chart { padding: 0 12px 0 6px; }
.chart-footnote { display: flex; align-items: flex-start; gap: 8px; margin: 0 24px; padding: 14px 0 18px; border-top: 1px solid var(--line); color: #38566a; font-size: 12px; }
.small-dot { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--green); margin-top: 8px; }
.chart-footnote p span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.micro-badge { border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.radar-panel > .chart { max-width: 365px; margin: auto; padding: 8px 8px 0; }
.radar-legend { justify-content: center; gap: 18px; }
.radar-note { text-align: center; font-size: 12px; color: var(--muted); padding: 15px 10px 20px; }
.radar-note b { margin-left: 6px; color: var(--amber); font-weight: 500; }
.radar-note p { font-size: 11px; margin-top: 4px; }
.reference-chip { font-size: 12px; color: var(--muted); padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; }
.peer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.peer-panel { padding: 23px 21px 19px; }
.peer-title { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 7px; }
.peer-title h3 { font-size: 14px; font-weight: 600; }
.peer-title h3 span { font: 11px var(--mono); color: var(--muted); margin-left: 4px; }
.tag { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.amber-tag { background: #fff3dd; color: #875315; }
.green-tag { background: #eaf6f0; color: #256b53; }
.peer-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; font-size: 35px; font-weight: 600; letter-spacing: -1px; margin-top: 16px; }
.peer-value > span { font: 11px var(--mono); color: var(--muted); letter-spacing: 0; }
.peer-value small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: auto; letter-spacing: 0; }
.peer-value small b { color: var(--red); }
.distribution-chart { width: 100%; margin: 9px 0 13px; }
.peer-explainer { font-size: 13px; color: #536170; }
.peer-explainer strong { color: var(--red); font-weight: 650; }
.peer-range { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 12px; font-size: 11px; color: var(--muted); }
.peer-range span { font-family: var(--mono); }
.section-note { font-size: 12px; color: var(--muted); line-height: 1.9; margin-top: 14px; }

/* Indicator reference and longitudinal matrix. */
.coverage-strip { display: grid; grid-template-columns: 1.8fr 1.25fr 1fr 1.15fr .6fr; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.coverage-strip > span { padding: 15px 17px; font-size: 13px; border-right: 1px solid var(--line); }
.coverage-strip > span:last-child { border-right: 0; }
.coverage-strip b { font-size: 23px; font-weight: 600; color: #376d8a; margin-right: 5px; }
.coverage-strip small { display: block; color: var(--muted); font: 10px/1.9 var(--mono); margin-top: 4px; }
.biomarker-grid { display: grid; grid-template-columns: 1.85fr 1fr; gap: 20px; align-items: start; }
.text-button { color: var(--red); border: 0; padding: 5px 0; background: transparent; font-size: 13px; }
.text-button > span { margin-left: 10px; }
.table-scroll { overflow-x: auto; padding: 18px 24px 0; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; white-space: nowrap; }
th { padding: 12px 8px; font-size: 12px; font-weight: 500; color: #536170; background: #f7f9fb; border-bottom: 1px solid var(--line); }
td { padding: 15px 8px; border-bottom: 1px solid var(--line); color: #3c4d5e; }
th:first-child, td:first-child { padding-left: 8px; }
td:first-child { font-weight: 500; max-width: 175px; white-space: normal; }
td:first-child small { display: block; font: 11px/1.8 var(--mono); color: var(--muted); margin-top: 3px; }
td:nth-child(2) { font: 600 14px var(--mono); color: var(--ink); }
td:nth-child(3) { font: 12px var(--mono); color: #536170; }
td svg { width: 57px; height: 10px; }
.expand-button { display: flex; width: 100%; justify-content: space-between; color: var(--red); border: 0; border-radius: 0 0 8px 8px; background: white; font-size: 13px; padding: 16px 24px; }
.expand-button:hover { background: #fff7f6; }
.contribution-legend { margin: 23px 24px 14px; }
.contribution-panel > .chart { padding: 0 17px; }
.contribution-note { margin: 16px 23px 23px; padding: 15px 0 0; border-top: 1px solid var(--line); }
.contribution-note > span { color: #354d63; font-size: 13px; font-weight: 600; }
.contribution-note p { margin-top: 7px; font-size: 13px; color: #536170; line-height: 1.9; }
.contribution-note small { display: block; font-size: 11px; color: var(--muted); margin-top: 9px; }
.matrix-panel { margin-top: 20px; }
.matrix-scroll { padding: 18px 17px 0; overflow-x: auto; }
.matrix-scroll svg { width: 100%; min-width: 980px; }
.matrix-legend { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.matrix-legend i { display: block; width: 17px; height: 9px; }
.matrix-low { background: #c4d1c5; }.matrix-normal { background: #b7c4a4; }.matrix-high { background: #d7ae85; }
.matrix-note { font-size: 12px; color: var(--muted); padding: 9px 24px 21px; }

/* Interactive what-if analysis. */
.interactive-badge { font-size: 12px; color: #256b53; background: #eaf6f0; padding: 5px 10px; border-radius: 20px; }
.simulation-panel { display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--line); border-top: 3px solid #3b84ad; border-radius: 8px; background: white; }
.simulation-controls { padding: 29px 32px 28px; }
.simulation-kicker { font: 11px var(--mono); color: #396f93; letter-spacing: 1px; }
.simulation-controls h3 { font-size: 21px; font-weight: 600; margin: 13px 0 12px; line-height: 1.6; }
.simulation-controls > p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.scenario-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.scenario-presets button { border: 1px solid #d4dfe7; border-radius: 5px; background: white; color: #425d72; padding: 6px 10px; font-size: 12px; }
.scenario-presets button:hover { border-color: #3b84ad; color: #24638a; }
.scenario-presets button[aria-pressed=true] { border-color: #3b84ad; background: #edf7fc; color: #205a7c; }
.range-control { margin-top: 26px; }
.range-control label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; font-size: 14px; font-weight: 500; }
.range-control output { font-size: 21px; font-weight: 650; color: #226d55; }
.range-control output small { font: 11px var(--mono); color: var(--muted); margin-left: 4px; }
input[type=range] { display: block; width: 100%; height: 6px; margin: 18px 0 12px; accent-color: #287a63; cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; gap: 5px; font: 11px var(--mono); color: var(--muted); }
.simulation-controls > .text-button { font-size: 12px; margin-top: 20px; }
.simulation-results { border-left: 1px solid var(--line); padding: 0 30px; margin: 30px 0; display: flex; flex-direction: column; justify-content: center; }
.simulation-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.sim-age { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 15px; }
.sim-age strong { color: #22624f; font-size: 62px; font-weight: 650; letter-spacing: -2px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.sim-age > span { font-size: 14px; color: var(--muted); }
.sim-age .sim-delta { font-size: 12px; padding: 4px 8px; background: #eaf6f0; color: #256b53; border-radius: 4px; margin-left: 6px; }
.simulation-footnote { font-size: 12px; color: var(--muted); }
.roadmap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 23px; }
.roadmap-grid article { border-top: 2px solid #c5d3df; padding: 22px 4px 16px; position: relative; }
.step-number { display: block; font-size: 30px; font-weight: 600; color: #50738e; line-height: 1; margin-bottom: 22px; }
.step-timing { position: absolute; top: 27px; right: 5px; font: 10px var(--mono); color: var(--muted); }
.roadmap-grid h3 { font-size: 16px; font-weight: 600; }
.roadmap-grid p { font-size: 13px; color: #536170; line-height: 1.95; margin: 12px 0 17px; }
.roadmap-grid a { display: flex; justify-content: space-between; font-size: 13px; color: var(--red); }
.step-bottom { font-size: 12px; color: var(--muted); }
.methodology { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; color: #536170; font-size: 13px; }
.methodology summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; cursor: pointer; padding: 20px 0; list-style: none; }
.methodology summary::-webkit-details-marker { display: none; }
.methodology summary > span + span { font: 10px var(--mono); color: var(--muted); }
.methodology summary i { font-style: normal; font-size: 18px; margin-left: 20px; }
.methodology[open] summary i { display: inline-block; transform: rotate(45deg); }
.methodology > div { padding: 0 0 18px; max-width: 930px; }
.methodology p { margin-bottom: 10px; line-height: 1.95; }
.report-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--red); font-size: 21px; font-weight: 600; letter-spacing: -.7px; }
.footer-brand > span { font-size: 10px; vertical-align: top; margin-left: 3px; }
.report-footer p { font-size: 11px; margin-top: 7px; }
.report-footer > div:last-child { text-align: right; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,20px); padding: 12px 24px; color: white; background: #263e51; font-size: 13px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }

@media (min-width:1450px) {
  main { padding: 34px 48px 0; }
  .report-layout { grid-template-columns: 220px minmax(0,1fr); }
  .sidebar { padding-left: 30px; }
  .age-number { font-size: 88px; }
}
@media (max-width:1150px) {
  main { padding: 26px 25px 0; }
  .report-layout { grid-template-columns: 185px minmax(0,1fr); }
  .sidebar { padding: 28px 14px; }
  .workspace-label { font-size: 8px; letter-spacing: 0; }
  .header-center { display: none; }
  .summary-card { grid-template-columns: 1fr .8fr; }
  .summary-reading { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--line); margin: 0 25px; padding: 20px 0; }
  .summary-reading h2 br { display: none; }
  .summary-reading p { max-width: 680px; }
  .age-result { padding: 24px 0 24px 28px; }
  .age-gauge svg { max-width: 215px; }
  .metric-card { padding: 17px 15px; }
  .metric-card > p > span, .sparkline, .mini-bars { display: none; }
  .metric-card strong { font-size: 32px; }
  .charts-grid { grid-template-columns: 1.4fr 1fr; }
  .panel-heading { padding: 20px 18px 0; }
  .peer-grid { grid-template-columns: 1fr; }
  .peer-panel { display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 22px; }
  .peer-panel .distribution-chart { grid-column: 2; grid-row: 1/5; align-self: center; margin: 0; }
  .peer-value { margin-top: 12px; }
  .biomarker-grid { grid-template-columns: 1fr; }
  .contribution-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .contribution-panel .panel-heading, .contribution-legend { grid-column: 1; }
  .contribution-panel > .chart { grid-column: 2; grid-row: 1/4; max-width: 370px; align-self: center; justify-self: center; padding: 20px; }
  .contribution-note { margin-top: 8px; }
  .coverage-strip { grid-template-columns: repeat(5,1fr); }
  .coverage-strip > span { padding: 14px 12px; }
  .coverage-strip small { font-size: 9px; }
  .simulation-panel { grid-template-columns: 1fr 1fr; }
  .simulation-controls { padding: 25px; }
  .simulation-results { padding: 0 22px; }
  .roadmap-grid { gap: 18px; }
  .step-timing { font-size: 9px; }
}
@media (max-width:900px) {
  .report-header { height: 74px; padding: 0 24px; }
  .report-layout { display: block; }
  .sidebar { position: sticky; top: 74px; padding: 0 17px; height: auto; border-right: 0; border-bottom: 1px solid var(--line); background: white; z-index: 25; overflow: visible; }
  .workspace-label, .sidebar-heading, .report-index, .sidebar-art, .sidebar-note, .sidebar-contact { display: none; }
  .section-nav { flex-direction: row; gap: 10px; justify-content: space-between; overflow-x: auto; }
  .section-nav a { flex-shrink: 0; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 13px 5px; font-size: 12px; }
  .section-nav a.active { background: white; border-bottom-color: var(--red); }
  .section-nav a i, .section-nav a > span { display: none; }
  .charts-grid { grid-template-columns: 1.5fr 1fr; }
  .report-section { scroll-margin-top: 151px; }
  html { scroll-padding-top: 151px; }
  .section-heading > p { display: none; }
}
@media (max-width:650px) {
  .report-header { height: 72px; padding: 0 18px; gap: 10px; }
  .brand { font-size: 21px; }
  .brand img { width: 28px; height: 32px; }
  .brand-cn { font-size: 10px; }
  .back-link { font-size: 12px; }
  .back-link span { margin-left: 5px; }
  .sidebar { top: 72px; padding: 0 13px; }
  .section-nav { gap: 18px; }
  .section-nav a { padding: 12px 3px; }
  main { padding: 22px 18px 0; }
  .report-topline { font-size: 11px; flex-wrap: wrap; }
  .edition { font-size: 10px; }
  .title-row { flex-wrap: wrap; align-items: flex-start; gap: 16px; margin-top: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: .6px; }
  h1 { font-size: 26px; letter-spacing: -.6px; }
  h1 > span { font-size: 13px; margin-top: 12px; line-height: 1.8; }
  .export-button { font-size: 12px; padding: 8px 13px; }
  .metadata { font-size: 12px; gap: 9px 18px; padding-top: 21px; }
  .metadata b { margin-left: 6px; }
  .demo-note { align-items: baseline; font-size: 11px; padding-bottom: 18px; }
  .summary-card { grid-template-columns: 1fr .85fr; }
  .age-result { padding: 23px 0 21px 19px; }
  .card-eyebrow { font-size: 13px; }
  .card-eyebrow > span { font-size: 9px; }
  .age-number { font-size: 65px; letter-spacing: -3px; }
  .age-number > span { font-size: 13px; margin-left: 5px; }
  .age-difference { font-size: 11px; }
  .subtle { font-size: 10px; }
  .age-gauge { padding: 15px 9px 5px 0; }
  .summary-reading { margin: 0 19px; padding: 20px 0; }
  .summary-reading h2 { font-size: 18px; }
  .summary-reading p { font-size: 13px; }
  .summary-reading a { font-size: 12px; }
  .summary-bottom { padding: 12px 19px; font-size: 11px; }
  .summary-bottom > span:nth-child(2), .summary-bottom .mono { display: none; }
  .metric-grid { gap: 8px; margin-top: 12px; }
  .metric-card { padding: 14px 9px; }
  .metric-card > p { font-size: 11px; min-height: 36px; align-items: flex-start; }
  .metric-card > div { gap: 3px; flex-wrap: wrap; margin: 7px 0; }
  .metric-card strong { font-size: 28px; letter-spacing: -1px; }
  .metric-card .fraction { font-size: 17px; }
  .metric-card > div > span { font-size: 10px; }
  .metric-card small { font-size: 10px; line-height: 1.8; }
  .metric-card small b, .metric-card small a { display: none; }
  .section-heading { margin: 35px 0 18px; gap: 12px; }
  .section-number { font-size: 9px; letter-spacing: .5px; }
  .section-heading h2 { font-size: 21px; line-height: 1.6; }
  .charts-grid { grid-template-columns: 1fr; gap: 16px; }
  .panel-heading { padding: 21px 18px 0; gap: 13px; }
  .panel-heading h3 { font-size: 16px; }
  .panel-heading p { font-size: 12px; }
  .segmented button { font-size: 12px; padding: 5px 9px; }
  .chart-legend { padding: 19px 18px 12px; gap: 12px; font-size: 11px; }
  .chart-footnote { margin: 0 18px; font-size: 12px; }
  .chart-footnote p span { font-size: 11px; }
  .radar-panel > .chart { max-width: 350px; }
  .peer-panel { display: block; padding: 23px 21px 20px; }
  .peer-title h3 { font-size: 14px; }
  .peer-value { margin-top: 14px; font-size: 36px; }
  .peer-panel .distribution-chart { margin: 10px 0 15px; }
  .peer-range { font-size: 11px; }
  .reference-chip { font-size: 11px; }
  .section-note { font-size: 12px; }
  .coverage-strip { grid-template-columns: repeat(3,1fr); }
  .coverage-strip > span { padding: 12px 10px; font-size: 12px; border-bottom: 1px solid var(--line); }
  .coverage-strip b { font-size: 21px; }
  .coverage-strip > span:nth-child(3) { border-right: 0; }
  .coverage-strip > span:nth-last-child(-n+2) { border-bottom: 0; }
  .coverage-strip small { font-size: 9px; }
  .table-scroll { padding: 17px 12px 0; }
  table { min-width: 475px; font-size: 12px; }
  th { font-size: 11px; }
  td:first-child { max-width: 145px; }
  td { padding: 14px 7px; }
  td:nth-child(2) { font-size: 13px; }
  td:nth-child(3) { font-size: 11px; }
  td svg { width: 46px; }
  .expand-button { padding: 16px 18px; font-size: 12px; }
  .contribution-panel { display: block; }
  .contribution-panel > .chart { max-width: 375px; margin: auto; padding: 0 17px; }
  .contribution-legend { margin: 22px 19px 16px; }
  .contribution-note { margin: 17px 20px 22px; }
  .matrix-scroll { padding: 19px 10px 0; }
  .matrix-note { padding: 13px 18px 20px; font-size: 11px; }
  .simulation-panel { grid-template-columns: 1fr; }
  .simulation-controls { padding: 26px 21px; }
  .simulation-controls h3 { font-size: 21px; }
  .range-control label { font-size: 13px; }
  .range-control output { font-size: 20px; }
  .range-labels { font-size: 10px; }
  .simulation-results { border-left: 0; border-top: 1px solid var(--line); margin: 0 21px; padding: 25px 0; }
  .sim-age strong { font-size: 59px; }
  .simulation-results > .chart { margin-top: 10px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 16px; }
  .roadmap-grid article { padding: 22px 2px 12px; }
  .step-timing { font-size: 11px; }
  .step-number { margin-bottom: 18px; }
  .roadmap-grid p { font-size: 14px; }
  .methodology summary { font-size: 13px; gap: 5px; }
  .methodology summary > span + span { font-size: 8px; }
  .methodology summary i { margin-left: 4px; }
  .methodology p { font-size: 12px; }
  .report-footer { flex-direction: column; align-items: flex-start; gap: 20px; font-size: 12px; }
  .report-footer > div:last-child { text-align: left; }
  .toast { width: max-content; max-width: 90vw; font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: white; font-size: 10px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report-header { position: static; height: 65px; padding: 0; }
  .report-layout { display: block; }
  .sidebar, .back-link, .export-button, .text-button, .expand-button, .toast, .skip-link, .segmented { display: none !important; }
  .scenario-presets { display: none; }
  main { padding: 20px 0 0; }
  h1 { font-size: 27px; }
  h1 > span { font-size: 12px; }
  .title-row { margin-top: 18px; }
  .summary-card { grid-template-columns: 1fr .8fr 1.25fr; }
  .summary-reading { grid-column: auto; border-top: 0; border-left: 1px solid var(--line); margin: 20px 0; padding: 0 20px; }
  .summary-reading h2 { font-size: 16px; }
  .summary-reading p { font-size: 11px; }
  .age-result { padding-left: 20px; }
  .age-number { font-size: 64px; }
  .summary-bottom { font-size: 10px; }
  .metric-card { padding: 15px; }
  .metric-card > p > span { display: none; }
  .section-heading { margin-top: 28px; break-after: avoid; }
  .section-heading h2 { font-size: 19px; }
  .charts-grid { grid-template-columns: 1.5fr 1fr; }
  .peer-grid { grid-template-columns: repeat(3,1fr); gap: 12px; }
  .peer-panel { display: block; padding: 15px; }
  .peer-value { font-size: 27px; }
  .peer-value small { font-size: 10px; }
  .peer-explainer, .peer-range { font-size: 10px; }
  .peer-title h3 { font-size: 12px; }
  .biomarker-grid { grid-template-columns: 1fr; }
  .panel-heading { padding: 17px 17px 0; }
  .panel-heading h3 { font-size: 14px; }
  .panel-heading p { font-size: 10px; }
  .panel, .summary-card, .metric-grid, .simulation-panel, .roadmap-grid, details { break-inside: avoid; }
  .table-scroll { overflow: visible; padding: 12px 17px 0; }
  table { min-width: 0; font-size: 11px; }
  td { padding: 8px; }
  td:first-child small { font-size: 10px; }
  .coverage-strip { grid-template-columns: 1.8fr 1.25fr 1fr 1.15fr .6fr; }
  .coverage-strip > span { padding: 10px; font-size: 11px; }
  .coverage-strip small { font-size: 8px; }
  .matrix-scroll { overflow: visible; }
  .matrix-scroll svg { min-width: 0; }
  .matrix-note, .section-note { font-size: 10px; }
  .simulation-controls { padding: 22px; }
  .simulation-controls h3 { font-size: 18px; }
  .simulation-results { padding: 0 22px; }
  .roadmap-grid { grid-template-columns: repeat(3,1fr); }
  .roadmap-grid h3 { font-size: 13px; }
  .roadmap-grid p { font-size: 11px; }
  .report-footer { padding-bottom: 0; }
  .methodology > div { display: block; }
}
