@font-face {font-family:Manrope;src:url("../fonts/ManropeVariable.ttf") format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
:root {--accent:#436d8a;font-family:Manrope,Arial,Helvetica,sans-serif;font-optical-sizing:auto;color:#262626;background:#fff;color-scheme:light}
* {box-sizing:border-box}
body {margin:0}
html {scroll-behavior:smooth;scroll-padding-top:32px}
a {color:inherit;text-underline-offset:4px}
button {font:inherit;cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible {outline:2px solid #555;outline-offset:4px}
.skip {position:fixed;top:-80px;left:20px;padding:12px;background:white;z-index:10}
.skip:focus {top:10px}
.intro {max-width:1060px;margin:auto;padding:66px 24px 20px;text-align:center}
.title {font-size:clamp(28px,3.4vw,40px);line-height:1.2;letter-spacing:-.035em;font-weight:500;margin:0 0 26px}
.authors {font-size:16px;line-height:1.7;margin:0 0 6px}
.affil {font-size:14px;line-height:1.6;color:#666;margin:0}
.links {display:flex;justify-content:center;gap:26px;margin-top:24px;font-size:15px}
.links a {color:var(--accent);font-weight:500;text-decoration-thickness:1px}
.links a:hover {text-decoration-thickness:2px}
.hero {max-width:968px;margin:0 auto 38px;padding:0 24px}
.hero-live {display:block;width:100%;aspect-ratio:1400/660;height:auto;border:0;background:white}
.hero video {width:100%}
.chapter {max-width:968px;padding:48px 24px;margin:auto}
.chapter-content {min-width:0}
.chapter-content>h2,.chapter-content>p:not(.table-caption):not(.regime-description),.method-break>h3,.method-break>p {max-width:44rem;margin-left:auto;margin-right:auto}
.chapter-content>:last-child {margin-bottom:0}
.chapter.overview {padding-top:8px;padding-bottom:8px}
.heldout {max-width:440px;margin:30px auto 0}
.heldout-copy {max-width:44rem;margin:0 auto}
.heldout-copy>:last-child {margin-bottom:0}
#heldout .chapter-content {max-width:44rem;margin-left:auto;margin-right:auto}
@media(min-width:801px) {
 #heldout .chapter-content {display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:32px;align-items:center}
 #heldout .heldout-copy {min-width:0;margin:0}
 #heldout .heldout {width:100%;max-width:280px;margin:0}
}
#method figure {max-width:44rem;margin-left:auto;margin-right:auto}
h2 {font-size:28px;line-height:1.3;letter-spacing:-.025em;font-weight:500;margin:0 0 16px}
h3 {font-size:22px;line-height:1.35;font-weight:500;letter-spacing:-.015em;margin:0 0 16px}
.chapter-content>p,.heldout-copy>p,.method-break>p {font-size:17px;line-height:1.7;margin-top:0;margin-bottom:16px}
figure {margin:24px 0 0}
figure img {display:block;width:100%;height:auto}
figcaption {max-width:44rem;font-size:14px;line-height:1.65;color:#666;margin:14px auto 0}
figcaption b {font-weight:500;color:#444}
.method-break {margin-top:48px}
.method-break figure {margin-top:20px}
.regime-buttons {display:flex;flex-wrap:wrap;gap:22px;margin-top:28px}
.regime-buttons button {padding:6px 0;border:0;background:none;font-size:14px;color:#777}
.regime-buttons button[aria-pressed=true] {color:var(--accent);text-decoration:underline;text-underline-offset:6px}
.chapter-content>.regime-description {font-size:14px;line-height:1.6;color:#666;margin:16px 0 24px}
.table-caption {font-size:14px!important;color:#666;line-height:1.6!important}
.tablewrap {overflow-x:auto}
table {width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
th,td {padding:14px 12px;text-align:right;border-bottom:1px solid #e9e9e9}
th {font-size:14px;font-weight:400;color:#666}
th:first-child,td:first-child {text-align:left}
th.focus,td.focus {background:#f7f7f7}
tr.rule td {border-top:2px solid #555}
tr:last-child td {font-weight:600}
.mapa-row td {color:#000}
.citation-heading {display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.citation-heading button {padding:6px 0;border:0;background:none;color:#666;font-size:14px;text-decoration:underline;text-underline-offset:4px}
pre {overflow:auto;padding:20px;border:1px solid #e9e9e9;font-size:14px;line-height:1.7;margin:0}
#copy-status {font-size:14px;min-height:20px;margin:12px 0}
details {margin-top:30px;color:#666}
summary {font-size:15px;line-height:1.6;cursor:pointer}
details p {font-size:14px;line-height:1.75}
.page-footer {max-width:968px;margin:25px auto 0;padding:28px 24px 42px;border-top:1px solid #e9e9e9;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px;color:#666}
.page-footer p {line-height:1.7;margin:0}
.wordmark {font-size:16px;text-decoration:none;color:#333}
@media(max-width:700px) {
 .intro {padding:42px 22px 16px}
 .title {font-size:clamp(19px,5.3vw,34px)}
 .authors {font-size:14px}
 .affil {font-size:13px}
 .hero {padding:0 22px;margin-bottom:20px}
 .hero-live {aspect-ratio:1400/660}
 .chapter {padding:32px 22px}
 h2 {font-size:25px}
 h3 {font-size:21px}
 .chapter-content>p,.heldout-copy>p,.method-break>p {font-size:16px}
 .regime-buttons {gap:18px}
 .regime-buttons button {font-size:13px}
 table {min-width:470px;font-size:14px}
 th,td {padding:13px 9px}
 pre {font-size:12px;padding:16px}
 .page-footer {flex-wrap:wrap}
 .page-footer p {order:3;width:100%}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}}

/* Figures stay quiet in the page and open at a readable size on demand. */
.figure-link {display:block;text-decoration:none;cursor:zoom-in}
.figure-hint {display:block;margin-top:8px;text-align:right;font-size:13px;line-height:1.5;color:#666;text-decoration:underline;text-underline-offset:3px}
.figure-link:hover .figure-hint {color:var(--accent)}
.figure-open {overflow:hidden}
#figure-viewer {width:calc(100% - 32px);max-width:1400px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #ddd;background:white;color:#262626}
#figure-viewer[open] {display:flex;flex-direction:column}
#figure-viewer::backdrop {background:rgb(0 0 0 / .55)}
.figure-toolbar {display:flex;align-items:center;gap:16px;padding:12px 16px;border-bottom:1px solid #e9e9e9}
#figure-title {margin-right:auto;font-size:15px;font-weight:500}
.figure-toolbar button {flex-shrink:0;min-height:44px;padding:8px;background:white;border:0;text-decoration:underline;text-underline-offset:4px;font-size:14px;color:inherit}
.figure-viewport {overflow:auto;overscroll-behavior:contain;min-height:0;padding:16px}
.figure-viewport img {display:block;width:100%;height:auto}
.figure-viewport.is-zoomed img {width:200%;min-width:1100px;max-width:none}
.tablewrap:focus-visible,.figure-viewport:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:700px) {
 .regime-buttons {gap:6px 18px}
 .regime-buttons button {min-height:44px;font-size:14px}
 #figure-viewer {width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .figure-toolbar {flex-wrap:wrap;gap:0 12px;padding:8px 12px}
 #figure-title {flex-basis:100%;font-size:14px}
 #figure-zoom {margin-right:auto}
 .figure-viewport {padding:8px}
}

.table-scroll-hint {display:none}
@media(max-width:700px) {
 .chapter-content>.table-scroll-hint {display:block;font-size:13px;line-height:1.5;color:#666;margin:0 0 12px}
 th:first-child,td:first-child {position:sticky;left:0;background:#fff;z-index:1;box-shadow:1px 0 #e9e9e9}
}

.figure-viewport img {max-height:calc(100dvh - 160px);object-fit:contain}
.figure-viewport.is-zoomed img {max-height:none}

.sample-tabs {display:flex;max-width:44rem;margin:28px auto 0;padding:5px;border:1px solid #ddd;border-radius:999px;background:#f7f7f7;gap:4px}
.sample-tabs button {flex:1;min-width:0;min-height:44px;padding:10px 12px;border:0;border-radius:999px;background:transparent;color:#666;font-size:14px;line-height:1.3}
.sample-tabs button[aria-selected=true] {background:#e2e2e2;color:#111;font-weight:600}
.sample-tabs button:hover {color:#111}
.sample-figure {max-width:44rem;margin:24px auto 0}
.sample-axis-note {margin:12px 0 0;font-size:13px;line-height:1.5;color:#666}
.sample-figure [hidden] {display:none}
@media(max-width:700px) {
 .sample-tabs {gap:2px;padding:4px}
 .sample-tabs button {padding:10px 4px}
 .sample-figure {margin-top:20px}
}

.benchmark-figure {max-width:44rem;margin:12px auto 0}
.benchmark-figure [hidden] {display:none}
#results .regime-description,#results .benchmark-note,#results .table-caption {max-width:44rem;margin-left:auto;margin-right:auto}
#results .regime-description {margin-top:16px;margin-bottom:0}
#results .benchmark-note {font-size:14px;line-height:1.6;color:#666;margin-top:14px;margin-bottom:12px}

/* Section navigation follows the article without competing with the figures. */
.title>span {white-space:nowrap}
.reading-content {min-width:0}
.section-sidebar {position:sticky;top:0;z-index:3;background:#fff;align-self:start}
.section-nav-toggle {display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 24px;border:0;border-bottom:1px solid #eee;background:#fff;color:#333;font-size:14px;text-align:left}
.section-nav-toggle span {font-size:20px;line-height:1}
.section-nav {display:none;padding:8px 24px 16px}
.section-nav a {display:block;width:fit-content;padding:11px 0;color:#777;font-size:12px;line-height:1.5;text-decoration:none}
.section-nav a:hover,.section-nav a[aria-current] {color:#111}
.section-nav-toggle[aria-expanded=true]+.section-nav {display:block;max-height:70dvh;overflow:auto;border-bottom:1px solid #eee}
@media(max-width:1199px) {html {scroll-padding-top:80px}}
@media(min-width:1200px) {
 .reading-layout {display:grid;grid-template-columns:minmax(0,1fr);max-width:968px;margin:0 auto;padding:0;position:relative}
 .section-sidebar {grid-column:1;grid-row:1;top:100px;width:180px;margin-bottom:48px;padding-top:0;background:none;transform:translateX(calc(-1 * clamp(92px,calc((100vw - 1016px)/2),196px)))}
 .reading-content {grid-column:1;grid-row:1}
 .section-nav-toggle {display:none}
 .section-nav {display:block;padding:0}
 .section-nav a {padding:7px 0}
 .reading-content .chapter {padding-left:24px;padding-right:24px}
}

.chapter.citation {max-width:none;margin:24px 32px 0;padding:64px 24px;background:#f5f5f5;border-radius:8px}
.citation .chapter-content {max-width:44rem;margin:0 auto}
.citation-card {padding:0}
.citation-card pre {padding:0;border:0;background:transparent}
.citation-card #copy-status {min-height:0;margin:0}
.citation-card #copy-status:not(:empty) {margin-top:12px}
@media(max-width:700px) {.chapter.citation {margin:16px 12px 0;padding:36px 10px}}
