:root {
  color-scheme: dark;
  --bg: #08141f;
  --nav: #0c1b27;
  --surface: #11232f;
  --ink: #f0f7fa;
  --muted: #b2c4cf;
  --rule: #2f4b5a;
  --cyan: #8ce4ef;
  --lilac: #c7b1f5;
  --gold: #ffcc77;
  font: 16px/1.45 "Avenir Next", Avenir, system-ui, sans-serif;
  scroll-padding-top: 74px;
  scrollbar-gutter: stable;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.symbols { position: absolute; width: 0; height: 0; }
h1, h2, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.layout { width: min(100%, 1400px); margin-inline: auto; padding-inline: 30px; }
.top { position: sticky; top: 0; z-index: 3; background: var(--nav); border-bottom: 1px solid var(--rule); }
.top-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; min-height: 61px; }
.brand { display: inline-flex; width: max-content; gap: 8px; align-items: center; font-size: 13px; font-weight: 650; }
.brand svg { color: var(--cyan); }
.nav { display: flex; gap: 14px; }
.nav a { padding: 18px 6px 17px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: 14px; font-weight: 630; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--cyan); border-bottom-color: var(--cyan); }
.icon { width: 35px; height: 35px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--nav); color: var(--cyan); }
.icon:hover { background: #193748; }
.icon svg { width: 17px; height: 17px; }
#fullscreen { justify-self: end; }

.cover { padding-top: 15px; }
.inline-film { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #0b1b29; }
.cover-film { max-width: min(100%,1180px,calc((100svh - 155px) * 16 / 9)); margin-inline: auto; }

.poster-section { padding-block: 22px 27px; border-bottom: 1px solid var(--rule); }
.section-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 9px 24px; margin-bottom: 13px; }
.kicker { font-size: 12px; color: var(--cyan); text-transform: uppercase; font-weight: 700; }
.section-header h2 { font-size: 26px; line-height: 1.22; margin-top: 4px; }
.cohort { display: flex; gap: 8px 15px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.cyan { color: var(--cyan) !important; }
.lilac { color: var(--lilac) !important; }
.gold { color: var(--gold) !important; }
.tiles { display: grid; gap: 14px; }
.tiles.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tile { text-align: left; display: flex; flex-direction: column; width: 100%; min-width: 0; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: var(--surface); padding: 0; transition: border-color .18s, background .18s; }
.tile:hover { border-color: var(--cyan); background: #163141; }
.tile-media { aspect-ratio: 16/9; display: block; position: relative; width: 100%; overflow: hidden; background: #0a1621; }
.tile-media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.voxel-thumb img { width: 143%; height: 143%; object-fit: cover; transform: translate(-30%,-10%); }
.tile-icon { display: grid; place-items: center; width: 32px; height: 32px; position: absolute; top: 8px; right: 8px; background: #0a1a28; border: 1px solid var(--rule); border-radius: 4px; color: var(--cyan); }
.tile-icon svg { width: 15px; height: 15px; }
.tile-text { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 9px; padding: 11px 10px 12px; flex: 1; width: 100%; border-top: 1px solid var(--rule); }
.tile-text strong, .tile-text small { display: block; line-height: 1.28; overflow-wrap: anywhere; }
.tile-text strong { font-size: 15px; font-weight: 690; }
.tile-text small { font-size: 12px; margin-top: 4px; color: var(--muted); }
.step { color: var(--cyan); font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; font-weight: 650; }
.conclusion-tile { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.conclusion-tile .tile-text { align-content: center; border-top: 0; border-left: 1px solid var(--rule); padding: 18px 24px; }
.conclusion-tile strong { font-size: 22px; }
.conclusion-tile small { font-size: 14px; margin-top: 10px; }
.footer { color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 18px; padding-block: 16px 24px; font-size: 12px; }
.footer strong { color: var(--ink); }
.footer a { color: var(--cyan); display: inline-flex; align-items: center; gap: 4px; }
.footer svg { width: 14px; height: 14px; }

body:has(dialog[open]) { overflow: hidden; }
dialog { padding: 0; width: min(94vw,1480px); max-height: 94dvh; border: 1px solid var(--rule); border-radius: 7px; background: var(--bg); color: var(--ink); overflow: hidden; }
dialog[open] { display: flex; flex-direction: column; animation: enter .22s ease-out both; }
dialog::backdrop { background: #03080de6; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.detail-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.detail-header h2 { font-size: 20px; line-height: 1.22; margin-top: 2px; overflow-wrap: anywhere; }
.tools { display: flex; gap: 5px; }
.detail-scroll { max-height: 71dvh; min-height: 0; overflow: auto; background: #070e16; }
.detail-scroll img { display: block; width: 100%; max-width: none; }
.detail-steps { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--rule); padding: 7px 14px; }
.detail-steps button { display: flex; align-items: center; min-height: 34px; gap: 6px; border: 0; background: transparent; color: var(--cyan); padding: 0 3px; font-size: 13px; font-weight: 640; }
.detail-steps button:disabled { opacity: .25; cursor: default; }
.detail-steps svg { width: 17px; height: 17px; }
#detail-counter { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }

@media (max-width: 1000px) {
  .layout { padding-inline: 18px; }
  .tiles.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-header h2 { font-size: 24px; }
}
@media (max-width: 650px) {
  :root { scroll-padding-top: 76px; }
  .layout { padding-inline: 12px; }
  .top-inner { grid-template-columns: minmax(0,1fr) auto; gap: 0 9px; min-height: 0; }
  .brand { grid-column: 1; grid-row: 1; }
  #fullscreen { grid-column: 2; grid-row: 1; width: 31px; height: 31px; margin-top: 4px; }
  .nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: 4px; }
  .nav a { font-size: 12px; padding: 7px 2px 6px; }
  .cover { padding-top: 10px; }
  .cover-film { max-width: 100%; }
  .poster-section { padding-block: 15px 19px; }
  .section-header { margin-bottom: 10px; }
  .section-header h2 { font-size: 20px; }
  .kicker { font-size: 11px; }
  .cohort, .side-note { font-size: 11px; gap: 5px 12px; }
  .tiles { gap: 8px; }
  .tile-text { padding: 7px 6px 9px; gap: 5px; }
  .tile-text strong { font-size: 12px; }
  .tile-text small, .step { font-size: 10px; }
  .tile-icon { width: 26px; height: 26px; top: 5px; right: 5px; }
  .tile-icon svg { width: 13px; height: 13px; }
  .conclusion-tile { grid-template-columns: 1fr; }
  .conclusion-tile .tile-text { border-left: 0; border-top: 1px solid var(--rule); padding: 9px; }
  .conclusion-tile strong { font-size: 15px; }
  .conclusion-tile small { margin-top: 5px; }
  .detail-header { padding: 8px; gap: 6px; }
  .detail-header h2 { font-size: 16px; }
  .detail-header .icon { width: 28px; height: 28px; }
  .detail-header .icon svg { width: 14px; height: 14px; }
  .tools { gap: 3px; }
}

.section-note, .enrollment p, .takeaway > p:not(.kicker), .closing-line p, .trace-film figcaption, .kinetic-summary dd, .scales-text p {
  color: var(--muted);
  font-size: 14px;
}
.coral { color: #ffa59b; }
.enrollment { display: grid; grid-template-columns: .8fr 1fr 1.85fr; align-items: stretch; margin-top: 20px; }
.enrollment > div { border-left: 1px solid var(--rule); padding: 4px 23px; min-width: 0; }
.enrollment > div:first-child { border-left: 0; padding-left: 0; }
.study-total strong { display: block; }
.huge { display: block; color: var(--cyan); font-size: 46px; line-height: 1; font-weight: 720; }
.arm-title { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 670; }
.arm-title svg { color: var(--cyan); }
.reference-arm > strong, .arm-branches strong { display: block; font-size: 31px; font-weight: 680; line-height: 1.1; margin-bottom: 3px; }
.reference-arm > strong { color: var(--cyan); }
.arm-branches { display: grid; grid-template-columns: minmax(0,1fr) 20px minmax(0,1.6fr); align-items: center; gap: 10px; margin-bottom: 7px; }
.arm-branches svg { color: var(--muted); }
.arm-branches small { display: block; color: var(--ink); }
.enrollment p b { color: var(--ink); }

.trace-film { margin: 0; }
.trace-film figcaption { padding-top: 7px; }
.kinetic-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-block: 15px 20px; }
.kinetic-summary > div { border-top: 1px solid var(--rule); padding-top: 10px; }
.kinetic-summary dl { margin: 7px 0 0; }
.kinetic-summary dl > div { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 8px; align-items: baseline; margin-top: 4px; }
.kinetic-summary dt { font-weight: 700; }
.kinetic-summary dd { margin: 0; }
.takeaways { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; margin-top: 23px; border-top: 1px solid var(--rule); }
.takeaway { padding-block: 13px 0; min-width: 0; }
.scales-text h3, .distribution h3, .takeaway h3 { margin: 5px 0; font-size: 18px; line-height: 1.25; }
.scales-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,390px); gap: 25px; align-items: center; padding-top: 20px; border-top: 1px solid var(--rule); }
.scales-text p { margin-top: 10px; }
.scales-text strong { color: var(--ink); }
.voxel-film { aspect-ratio: 8/9; }

.tiles.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.distribution { border-top: 1px solid var(--rule); margin-top: 26px; padding-top: 15px; }
.decile-graphs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-block: 12px 8px; }
.decile-plot { margin: 0; min-width: 0; border-top: 1px solid var(--rule); padding-top: 7px; }
.decile-plot figcaption { font-size: 14px; font-weight: 650; }
.decile-plot svg { display: block; width: 100%; height: auto; }
.decile-plot text { fill: var(--muted); stroke: none; font-size: 12px; font-family: inherit; }
.decile-plot rect { stroke: none; }
.decile-plot .decile-rule { stroke: var(--rule); stroke-width: 1; }
.decile-plot .decile-zero { stroke: var(--muted); stroke-width: 1; }

.takeaways { margin-top: 16px; }
.takeaway-icon { display: inline-grid; place-items: center; border-bottom: 1px solid currentColor; width: 52px; height: 51px; margin-bottom: 7px; }
.takeaway-icon svg { width: 32px; height: 32px; }
.takeaway h3 { font-size: 20px; }
.takeaway b { color: var(--ink); }
.closing-line { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 12px; }
.closing-line p { margin-top: 4px; }

@media (max-width: 930px) {
  .enrollment > div { padding-inline: 13px; }
  .scales-stage { grid-template-columns: minmax(0,1fr) minmax(0,300px); gap: 15px; }
  .takeaways { gap: 15px; }
}
@media (max-width: 650px) {
  .enrollment { grid-template-columns: minmax(0,1fr) minmax(0,1fr); row-gap: 14px; }
  .enrollment > .paired-arm { grid-column: 1/-1; border-left: 0; border-top: 1px solid var(--rule); padding: 9px 0 0; }
  .enrollment p, .section-note { font-size: 13px; }
  .kinetic-summary, .scales-stage, .takeaways, .tiles.three, .decile-graphs { grid-template-columns: minmax(0,1fr); }
  .kinetic-summary, .takeaways { gap: 5px; }
  .kinetic-summary > div:not(:first-child), .takeaway:not(:first-child) { border-top: 1px solid var(--rule); margin-top: 9px; }
  .voxel-film { max-width: 390px; }
  .nav { gap: 1px; }
  .nav a { font-size: 11px; }
}

.film-row { display:grid; grid-template-columns:minmax(265px,.83fr) minmax(0,1.8fr); gap:28px; align-items:center; padding:22px 0; border-top:1px solid var(--rule); }
.film-row .trace-film { min-width:0; }
.film-row .trace-film figcaption { font-size:12px; }
.process { display:grid; gap:26px; }
.station { display:grid; grid-template-columns:38px minmax(0,1fr); gap:13px; position:relative; }
.station:first-child::after { content:""; position:absolute; left:18px; top:41px; bottom:-21px; width:1px; background:var(--rule); }
.station:first-child::before { content:""; position:absolute; left:15px; bottom:-21px; width:6px; height:6px; border-right:1px solid var(--cyan); border-bottom:1px solid var(--cyan); transform:rotate(45deg); }
.station-icon { display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--rule); background:#102731; color:var(--cyan); border-radius:6px; }
.station-icon svg,.station-icon img { width:27px; height:27px; object-fit:contain; }
.station h3 { margin:2px 0 7px; line-height:1.2; font-size:20px; }
.station p:not(.kicker), .station dd { color:var(--muted); font-size:14px; line-height:1.45; }
.station p + p { margin-top:5px; }
.station dl { margin:0; }
.station dt { margin:9px 0 2px; color:var(--ink); font-size:14px; font-weight:650; }
.station dd { margin:0; }
.station b { color:var(--ink); }
.station small { display:block; margin-top:8px; color:var(--muted); font-size:12px; }
.comparison-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:20px; }
.comparison-tabs button { font:inherit; font-weight:650; padding:13px 10px; text-align:left; color:var(--muted); background:transparent; border:0; border-bottom:2px solid var(--rule); }
.comparison-tabs button span { color:var(--cyan); margin-right:5px; font-size:12px; }
.comparison-tabs button[aria-selected="true"] { border-color:var(--cyan); background:#102531; color:var(--ink); }
.comparison-tabs button:hover { color:var(--ink); }
.compare-panel { padding:17px 0 6px; }
.sample { font-size:13px; color:var(--muted); margin:0 0 12px; }
.scale-result { display:grid; grid-template-columns:30px minmax(100px,.35fr) minmax(0,2fr); gap:12px; align-items:baseline; padding:14px 0; border-top:1px solid var(--rule); }
.scale-result svg { align-self:center; color:var(--cyan); width:25px; height:25px; }
.scale-result strong { color:var(--cyan); }
.scale-result p { color:var(--muted); }
.scale-result b { color:var(--ink); }
.map-link { display:inline-flex; align-items:center; gap:9px; font-size:14px; padding:6px 0; background:none; color:var(--cyan); border:0; }
.map-link:hover,.decile-more summary:hover { text-decoration:underline; }
.map-link svg:last-child { width:14px; height:14px; }
.decile-more summary { cursor:pointer; padding:8px 0; color:var(--gold); font-size:14px; }
.test-note { margin:10px 0 0; font-size:12px; color:var(--muted); }
.ratio-graphic { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:center; gap:30px; border-top:1px solid var(--rule); padding:20px 0 0; margin:22px 0 0; }
.ratio-graphic h3 { margin:5px 0; font-size:20px; }
.ratio-graphic figcaption p:not(.kicker) { max-width:42ch; color:var(--muted); font-size:14px; }
.dot-chart { max-width:680px; width:100%; }
.dot-row { display:grid; grid-template-columns:135px minmax(0,1fr) 55px; align-items:center; gap:12px; min-height:32px; font-size:14px; }
.dot-row b { text-align:right; font-variant-numeric:tabular-nums; }
.dot-track { position:relative; border-top:1px solid var(--rule); }
.dot-track::before { content:""; position:absolute; height:32px; left:15%; top:-16px; border-left:1px dashed #537888; }
.dot-track i { position:absolute; border-radius:50%; width:12px; height:12px; transform:translate(-50%,-55%); background:currentColor; }
.dot-ticks { color:var(--muted); font-size:11px; min-height:18px; }
.dot-ticks div { display:flex; justify-content:space-between; }
@media(max-width:850px) {
  .film-row { grid-template-columns:minmax(220px,.8fr) minmax(0,1.3fr); gap:15px; }
  .ratio-graphic { grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:12px; }
  .dot-row { grid-template-columns:115px minmax(0,1fr) 43px; gap:6px; font-size:13px; }
}
@media(max-width:650px) {
  .film-row,.ratio-graphic { grid-template-columns:minmax(0,1fr); }
  .film-row { padding:16px 0; }
  .station { gap:9px; }
  .station h3 { font-size:17px; }
  .comparison-tabs button { font-size:12px; padding:9px 4px; line-height:1.3; }
  .comparison-tabs button span { display:block; }
  .scale-result { grid-template-columns:24px minmax(0,1fr); gap:5px 8px; }
  .scale-result p { grid-column:2; font-size:14px; }
  .dot-row { font-size:12px; grid-template-columns:107px minmax(0,1fr) 42px; }
}
.atlas-strip { border-top:1px solid var(--rule); padding:15px 0 0; }
.atlas-head { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; color:var(--cyan); }
.atlas-head svg { width:25px; height:25px; }
.atlas-head h3 { margin:0; font-size:16px; }
.atlas-head > span { margin-left:auto; color:var(--muted); font-size:12px; }
.atlas-support,.atlas-key { color:var(--muted); font-size:13px; }
.atlas-support { margin:5px 0 13px 37px; }
.atlas-support strong { color:var(--ink); }
.atlas-maps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.atlas-maps figure { margin:0; min-width:0; }
.atlas-maps figcaption { display:flex; align-items:baseline; gap:9px; padding:4px 0; }
.atlas-maps figcaption b { font-size:20px; }
.atlas-maps figcaption span { font-size:13px; color:var(--muted); }
.atlas-sides { display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.atlas-sides > div { position:relative; }
.atlas-sides img { display:block; width:100%; height:auto; image-rendering:pixelated; }
.atlas-sides small { position:absolute; top:3px; left:5px; font-size:11px; color:white; background:#0a1926; padding:0 3px; }
.atlas-bar { margin:8px auto 0; width:80%; }
.atlas-bar img { display:block; width:100%; height:5px; }
.atlas-bar > div { display:grid; grid-template-columns:1fr auto 1fr; font-size:11px; font-variant-numeric:tabular-nums; color:var(--muted); }
.atlas-bar span:last-child { text-align:right; }
.atlas-key { font-size:12px; display:flex; gap:4px 16px; flex-wrap:wrap; margin-top:12px; }
.atlas-key span:not(:last-child)::before { content:""; display:inline-block; width:9px; height:9px; margin-right:5px; }
.key-low::before { background:#4393c3; }
.key-high::before { background:#d6604d; }
.key-gray::before { background:#48505d; }
.takeaways { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.takeaway h3 { margin:4px 0 10px; }
.takeaway h3 small { font-size:.8em; color:var(--muted); font-weight:500; }
.takeaway > b,.takeaway > span:last-child { display:block; }
.takeaway > span:last-child { color:var(--muted); font-size:15px; }
.takeaway:not(:first-child) { border-top:0; margin-top:0; border-left:1px solid var(--rule); padding-left:18px; }
@media(max-width:650px) {
  .atlas-maps,.takeaways { gap:8px; }
  .atlas-sides { grid-template-columns:1fr; }
  .atlas-maps figcaption { display:block; }
  .atlas-maps figcaption span { display:block; font-size:11px; }
  .atlas-bar { width:100%; }
  .atlas-bar > div { font-size:10px; }
  .atlas-head > span { margin:0; }
  .atlas-support { margin-left:0; font-size:12px; }
  .takeaway:not(:first-child) { padding-left:6px; }
  .takeaway h3 { font-size:14px; overflow-wrap:anywhere; }
  .takeaway > b,.takeaway > span:last-child { font-size:13px; line-height:1.35; overflow-wrap:anywhere; }
  .takeaway-icon { width:34px; height:35px; }
  .takeaway-icon svg { width:23px; height:23px; }
}
.pipeline { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; }
.lane { display:grid; grid-template-rows:subgrid; grid-row:span 4; }
.pipeline { row-gap:6px; }
.lane header { display:flex; gap:12px; align-items:center; padding:10px 0; border-top:2px solid var(--cyan); }
.seq { font-size:26px; line-height:1; font-weight:550; color:var(--cyan); font-variant-numeric:tabular-nums; }
.lane h3,.atlas-ribbon h3 { margin:0; font-size:20px; line-height:1.2; }
.lane header div>span { display:block; font-size:13px; color:var(--muted); margin-top:3px; }
.lane header img { vertical-align:middle; object-fit:contain; height:18px; width:18px; }
.method-line,.finding { display:flex; align-items:flex-start; gap:10px; }
.method-line { padding:7px 0; border-bottom:1px solid var(--rule); }
.method-line svg,.finding svg { width:27px; height:27px; color:var(--cyan); flex:none; }
svg:has(use[href="#oxidation"]) { color:#ffbd80; }
svg:has(use[href="#balance"]) { color:#efc76e; }
.method-line b,.method-line span,.finding small,.finding strong { display:block; }
.method-line span,.finding small { font-size:13px; color:var(--muted); font-weight:500; line-height:1.35; }
.atlas-ribbon { display:flex; align-items:center; gap:22px; border-bottom:1px solid var(--rule); padding:12px 0; margin:15px 0 0; }
.atlas-ribbon img { display:block; width:32%; max-width:350px; height:auto; }
.atlas-ribbon h3 { font-size:16px; margin:2px 0; }
.atlas-ribbon figcaption>p:not(.kicker),.atlas-ribbon small { font-size:13px; color:var(--muted); line-height:1.35; }
.atlas-ribbon small { font-size:11px; }
.result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.result-cell { display:grid; grid-template-rows:subgrid; grid-row:span 4; min-width:0; }
.tone-0 { --accent:#ceb3ff; --tint:#29223e; }
.tone-1 { --accent:#ffd17e; --tint:#342c22; }
.tone-2 { --accent:#8fe5eb; --tint:#123038; }
.result-cell>header,.comparison-summary th { background:var(--tint); border-top:3px solid var(--accent); }
.result-cell>*,.comparison-summary th,.comparison-summary td { padding:12px 15px; }
.result-cell + .result-cell,.comparison-summary tr>*+* { border-left:1px solid var(--rule); }
.group-heading { margin:0; display:flex; gap:7px; align-items:center; min-width:0; font-size:15px; line-height:1.25; }
.group { display:inline-flex; gap:5px; align-items:center; font-weight:700; }
.g-t { color:var(--cyan); }.g-p { color:var(--lilac); }.g-e { color:var(--gold); }
.group svg { width:18px; height:18px; }
.versus { color:var(--muted); font-size:12px; font-weight:500; }
.short-name,.mobile-key { display:none; }
.result-cell>header p,.result-cell section>small { display:block; color:var(--muted); font-size:12px; margin-top:5px; }
.result-cell section { border-bottom:1px solid var(--rule); }
.result-cell h4 { display:flex; align-items:center; gap:6px; color:var(--cyan); margin:0 0 8px; font-size:13px; font-weight:650; }
.result-cell h4 svg { width:16px; height:16px; }
.finding strong { font-size:17px; line-height:1.25; }
.result-cell .level-result>b { font-size:15px; display:block; }
.decile-bands { margin-top:7px; }
.band { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; column-gap:7px; }
.band b { font-size:13px; }
.band svg { width:100%; height:24px; stroke:none; }
.band path { stroke:var(--rule); stroke-width:1; }
.band-ticks { margin-left:59px; display:flex; justify-content:space-between; color:var(--muted); font-size:10px; }
.mapset { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
.mapset figure { margin:0; }
.mapset figcaption { font-size:13px; font-weight:650; }
.side-pair { display:flex; }
.side-pair>div { position:relative; flex:1; min-width:0; }
.side-pair img { display:block; width:100%; height:auto; image-rendering:pixelated; }
.side-pair small { position:absolute; top:0; left:1px; color:#e4ebf3; font-size:9px; }
.map-scale { font-size:10px; color:var(--muted); font-variant-numeric:tabular-nums; }
.result-cell .atlas-strip { border-top:0; background:#0b1822; }
.reading-key { display:flex; flex-wrap:wrap; gap:3px 20px; margin-top:9px; font-size:12px; color:var(--muted); }
.reading-key b { color:var(--ink); }
.legend-lut { width:58px; height:6px; vertical-align:middle; margin:0 3px; }
.comparison-summary { table-layout:fixed; width:100%; border-collapse:collapse; text-align:left; }
.comparison-summary th,.comparison-summary td { width:33.333%; vertical-align:top; }
.comparison-summary td { border-bottom:1px solid var(--rule); }
.comparison-summary .finding small { margin-top:3px; }
.mobile-key { margin:0 0 7px; font-size:12px; color:var(--muted); }
@media(max-width:1150px) {
  .group-heading { display:grid; grid-template-columns:1fr; gap:2px; }
  .group-heading .group { min-height:20px; }
  .versus { line-height:1; }
}
@media(max-width:750px) {
  .pipeline { grid-template-columns:1fr; gap:4px; }
  .lane { grid-template-rows:auto; grid-row:auto; row-gap:2px; }
  .lane + .lane { margin-top:13px; }
  .atlas-ribbon { gap:10px; }
  .atlas-ribbon img { width:37%; }
  .atlas-ribbon h3 { font-size:14px; }
  .result-cell>*,.comparison-summary th,.comparison-summary td { padding:8px 6px; }
  .long-name { display:none; }.short-name,.mobile-key { display:block; }
  .short-name { text-decoration:none; }
  .group-heading { font-size:14px; }
  .finding { flex-direction:column; gap:4px; }
  .finding strong,.result-cell .level-result>b { font-size:13px; }
  .finding small,.result-cell section>small,.result-cell>header p { font-size:11px; }
  .result-cell h4 { align-items:flex-start; font-size:12px; line-height:1.2; }
  .band { grid-template-columns:31px minmax(0,1fr); gap:1px; }
  .band b { font-size:10px; }
  .band-ticks { margin-left:32px; }
  .mapset { grid-template-columns:1fr; gap:4px; }
  .mapset figure { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; }
  .mapset .side-pair { grid-column:1/-1; grid-row:2; }
  .mapset .map-scale { grid-column:2; grid-row:1; }
  .mapset figcaption { font-size:11px; }
  .mapset .map-scale,.side-pair small { font-size:9px; }
}
@media(max-width:460px) {
  .atlas-ribbon { flex-direction:column; align-items:flex-start; }
  .atlas-ribbon img { width:100%; max-width:255px; }
  .group svg { width:15px; height:15px; }
  .result-cell>*,.comparison-summary th,.comparison-summary td { padding-inline:4px; }
  .finding { overflow-wrap:anywhere; }
  .result-cell h4 { flex-direction:column; gap:2px; }
  .method-line b { font-size:15px; }
}
.method-line svg:has(use[href="#perfusion"]),.method-line svg:has(use[href="#oxidation"]) { width:42px; height:42px; }
.finding svg:has(use[href="#perfusion"]),.finding svg:has(use[href="#oxidation"]) { width:32px; height:32px; }
.ratio-definition { display:flex; flex-wrap:wrap; align-items:center; gap:5px 12px; margin:14px 0 0; color:var(--muted); font-size:14px; }
.ratio-definition svg { width:26px; height:26px; }
.ratio-definition b,.ratio-definition strong { color:var(--ink); }
.result-cell { grid-row:span 3; }
.result-cell .level-result { padding-block:16px; }
.profiles-band,.spatial-band { margin-top:33px; }
.profiles-band h3,.spatial-band h3 { margin:4px 0 10px; font-size:21px; line-height:1.24; }
.profile-legend { display:flex; flex-wrap:wrap; gap:5px 24px; font-weight:650; font-size:14px; margin:12px 0 19px; }
.profile-plots,.atlas-comparisons { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.profile-plots figure { margin:0; min-width:0; padding:11px 6px 3px; border-block:1px solid var(--rule); }
.profile-plots figcaption { display:flex; align-items:baseline; gap:9px; color:var(--muted); font-size:14px; }
.profile-plots figcaption b { font-size:22px; color:var(--ink); }
.profile-plots svg { width:100%; height:auto; display:block; margin-top:9px; stroke:none; }
.plot-axis text { font-family:inherit; font-size:12px; fill:var(--muted); }
.plot-axis line { stroke:var(--rule); stroke-width:.8; }
.profile-note { max-width:110ch; font-size:13px; color:var(--muted); margin:10px 0; }
.atlas-comparisons { column-gap:16px; }
.atlas-comparisons article { min-width:0; }
.atlas-comparisons header { padding:9px 10px; background:var(--tint); border-top:2px solid var(--accent); }
.atlas-comparisons .atlas-strip { padding:10px 3px; border:0; }
.atlas-comparisons .atlas-strip>small { display:block; font-size:11px; color:var(--muted); margin-top:6px; }
.side-pair { gap:3px; align-items:center; }
.side-pair img { max-height:120px; object-fit:contain; }
.side-pair small { font-size:10px; color:white; background:#0a1926; }
.ratio-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:start; gap:12px; }
.mini-ratio { margin:0; min-width:0; }
.mini-ratio figcaption,.mini-ratio>small { display:block; font-size:10px; line-height:1.3; color:var(--muted); }
.mini-ratio .dot-row { min-height:18px; grid-template-columns:13px minmax(0,1fr) 32px; gap:3px; font-size:11px; }
.mini-ratio abbr { text-decoration:none; }
.mini-ratio .dot-track::before { height:18px; top:-9px; }
.mini-ratio .dot-track i { width:7px; height:7px; }
.mini-ratio .dot-ticks { display:none; }
@media(max-width:1050px) {
  .ratio-pair { grid-template-columns:1fr; gap:7px; }
  .mini-ratio { width:100%; max-width:175px; }
  .profile-plots,.atlas-comparisons { gap:9px; }
}
@media(min-width:751px) and (max-width:900px) {
  .profile-plots { grid-template-columns:1fr; }
  .profile-plots svg { max-height:310px; }
}
@media(max-width:750px) {
  .profile-plots { grid-template-columns:minmax(0,1fr); gap:18px; }
  .profile-plots figure { padding:6px 4px; }
  .profile-plots svg { max-height:315px; }
  .atlas-comparisons { gap:5px; }
  .atlas-comparisons header { padding:6px 3px; }
  .profiles-band h3,.spatial-band h3 { font-size:18px; }
  .profile-legend { gap:5px 10px; font-size:12px; }
  .mini-ratio .dot-row { grid-template-columns:9px minmax(0,1fr) 28px; font-size:10px; }
  .comparison-summary .ratio-pair .finding { flex-wrap:wrap; }
}
