:root{--paper:#fbfaf8;--surface:#fff;--ink:#161c26;--muted:#59616e;--blue:#245fbf;--bright:#3479e5;--line:#dfe3e9;--soft:#eef4fd;--radius:16px;color-scheme:light;font-family:"IBM Plex Sans",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;-webkit-font-smoothing:antialiased}a{color:var(--blue);text-underline-offset:4px}button,input,select{font:inherit}button,select,input[type=range],summary{cursor:pointer}button,a,summary,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--bright);outline-offset:4px}img,video{display:block;max-width:100%;height:auto}figure,p,h1,h2,h3{margin:0}button{color:inherit}button,.button{min-height:46px}button{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:10px 16px}.wrap{max-width:1184px;margin:0 auto;padding:0 32px}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.topbar{position:sticky;top:0;z-index:20;background:rgba(251,250,248,.97);border-bottom:1px solid var(--line)}.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}.brand{font-weight:600;font-size:17px;letter-spacing:-.4px;color:var(--ink);text-decoration:none;white-space:nowrap}.brand span{color:var(--blue)}nav{display:flex;gap:24px;align-items:center}nav a{color:var(--muted);font-size:14px;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}nav a:hover{color:var(--blue)}.eyebrow{font-size:14px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--blue)}.hero{display:block;padding:72px 0 42px}.hero>div{max-width:850px}.hero h1{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(3rem,6.4vw,5.3rem);font-weight:400;letter-spacing:-.04em;line-height:1.03;margin:18px 0}.hero-title{font-size:clamp(1.5rem,2.45vw,2rem);line-height:1.24;letter-spacing:-.025em;max-width:800px;font-weight:500}.lede{font-size:18px;line-height:1.65;color:var(--muted);max-width:760px;margin-top:22px}.hero-figure{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px 12px 20px}.hero-figure img{width:100%;aspect-ratio:1060/734;object-fit:contain;border-radius:10px}.hero-figure figcaption{font-size:14px;line-height:1.45;color:var(--muted);padding:10px 16px 0}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:26px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:11px 18px;text-decoration:none;font-size:15px;font-weight:500;background:var(--surface)}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.button:hover{border-color:var(--blue)}.authors{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0}.author-list{display:flex;flex-wrap:wrap;gap:6px 19px;font-size:15px;line-height:1.7;list-style:none;padding:0;margin:0}.author-list sup{color:var(--blue);font-size:10px;margin-left:2px}.affiliations{margin-top:13px;font-size:14px;line-height:1.8;color:var(--muted)}.author-notes{font-size:12px;color:var(--muted);line-height:1.6;margin-top:7px}.section{padding-top:88px}.section-head{display:flex;gap:32px;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.section h2{font-family:inherit;font-size:clamp(1.5rem,2.4vw,2rem);font-weight:500;line-height:1.3;letter-spacing:-.015em;margin-top:12px}.section-intro{max-width:670px;font-size:18px;line-height:1.6;color:var(--muted);margin-top:18px}.section-meta{font-size:14px;color:var(--muted);white-space:nowrap}.video-shell{border-radius:var(--radius);overflow:hidden;background:#000;border:1px solid #151b25}.video-shell video{width:100%;aspect-ratio:1920/840;background:#000}.video-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:13px}.video-tools a{font-size:14px;min-height:44px;display:inline-flex;align-items:center}.note{font-size:14px;line-height:1.6;color:var(--muted)}.video-tools button{font-size:14px}.details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:24px}.details+.details{margin-top:-1px}.details summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;min-height:64px;font-size:17px;font-weight:500;list-style:none}.details summary::-webkit-details-marker{display:none}.details summary::after{content:"+";font-size:24px;line-height:1;color:var(--blue);flex-shrink:0}.details[open]>summary::after{content:"−"}.details-body{padding-bottom:28px;min-width:0}.details-body>p{font-size:16px;line-height:1.65;color:var(--muted);max-width:850px}.walkthrough{padding-left:24px;margin:0;display:grid;gap:12px;font-size:16px;line-height:1.6;color:var(--muted)}.method-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:32px 0}.step{border-top:2px solid var(--line);padding-top:17px}.step-number{font-family:"IBM Plex Mono",monospace;font-size:14px;color:var(--blue)}h3{font-size:22px;line-height:1.3;letter-spacing:-.02em;font-weight:500}.step h3{margin:12px 0 10px}.step p{font-size:16px;line-height:1.65;color:var(--muted)}.figure-panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;min-width:0}.figure-panel img{width:100%;object-fit:contain}.figure-panel a{display:block}.figure-panel figcaption{font-size:15px;line-height:1.6;color:var(--muted);margin-top:18px}.figure-panel figcaption a,.full-figure{display:inline-flex;min-height:44px;align-items:center;font-size:14px}.inference-note{display:flex;gap:14px;padding:20px 24px;background:var(--soft);margin-top:18px;border-left:3px solid var(--bright);font-size:16px;line-height:1.6;color:var(--muted)}.inference-note strong{color:var(--ink)}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:34px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.metric{padding:26px 28px 28px 0}.metric+.metric{border-left:1px solid var(--line);padding-left:28px}.metric-label{font-size:15px;font-weight:500;line-height:1.4}.metric-number{font-family:inherit;font-weight:500;font-size:64px;line-height:1.15;letter-spacing:-.04em;color:var(--blue);margin-top:10px}.metric-number span{font-size:34px;margin-left:3px}.metric-comparison{font-size:14px;line-height:1.6;color:var(--muted);margin-top:6px}.metric-comparison strong{color:var(--blue);font-weight:500}.chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}.chart-head label{font-size:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}select{font-size:15px;min-height:44px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:9px 34px 9px 12px;max-width:100%}.bars{display:grid;gap:14px}.bar-row{display:grid;grid-template-columns:180px minmax(0,1fr) 52px;gap:14px;align-items:center;font-size:14px}.bar-label{overflow-wrap:anywhere}.bar-track{height:21px;background:#edf0f4;border-radius:3px;overflow:hidden}.bar-fill{height:100%;border-radius:3px}.bar-value{font-variant-numeric:tabular-nums;text-align:right}.chart-note{margin-top:18px}.table-region{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:10px;margin-top:18px;background:#fff}.table-region table{width:100%;border-collapse:collapse;min-width:840px;font-size:14px;font-variant-numeric:tabular-nums}.table-region th,.table-region td{padding:12px;text-align:right;border-bottom:1px solid #e7eaf0;white-space:nowrap}.table-region th{font-size:13px;color:var(--muted);font-weight:500;background:#f4f6f9}.table-region td:first-child,.table-region th:first-child{text-align:left}.table-region th:first-child,.table-region td:first-child{position:sticky;left:0;background:var(--surface)}.table-region tr:last-child td{background:#eaf2ff;color:#1b4b97;font-weight:600}.table-region tr:last-child td:first-child{background:#eaf2ff}.table-region td[colspan]{font-weight:600;color:var(--muted);background:#f4f6f9}.subsection{margin-top:32px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.analysis-item h3{margin-bottom:12px}.analysis-item p{font-size:16px;color:var(--muted);line-height:1.65;margin-bottom:20px}.analysis-item .figure-panel{padding:18px}.analysis-item .figure-panel img{height:auto;object-fit:contain}.explorers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.explorer{padding:24px;background:#f3f6fa;border-radius:12px;min-width:0}.explorer label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:17px;font-weight:500}.explorer output{color:var(--blue);font-family:"IBM Plex Mono",monospace}.explorer input[type=range]{display:block;width:100%;height:44px;accent-color:var(--bright);margin:14px 0 0}.range-ends{display:flex;justify-content:space-between;font-size:14px;color:var(--muted)}.score-pair{display:flex;flex-wrap:wrap;gap:12px 26px;margin:22px 0 12px;font-size:15px}.score-pair strong{font-size:26px;color:var(--blue);font-weight:500;margin-right:4px}.explorer p{font-size:15px;line-height:1.6;color:var(--muted)}.comparison-wrap{max-width:900px}.comparison-image{width:100%;aspect-ratio:var(--comparison-aspect);background-image:url('assets/correspondence.png');background-size:var(--comparison-size);border:1px solid var(--line)}.comparison-input{background-position:var(--comparison-x) 14.602446%}.comparison{position:relative;margin-top:18px;overflow:hidden}.comparison .baseline{background-position:var(--comparison-x) 57.186544%}.comparison .ours{position:absolute;inset:0;background-position:var(--comparison-x) 99.770642%}.wipe-line{position:absolute;top:0;bottom:0;width:3px;background:var(--bright)}.compare-controls{margin-top:16px}.compare-controls label{font-size:15px;display:flex;justify-content:space-between;gap:16px}.compare-controls input{width:100%;height:44px;accent-color:var(--bright)}.small-table table{min-width:420px}.citation{margin-top:28px;background:#f1f3f6;border:1px solid var(--line);border-radius:12px;padding:24px}.citation pre{margin:0;font-family:"IBM Plex Mono",monospace;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.citation-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}.citation-tools span{font-size:14px;color:var(--muted)}footer{padding:38px 0;margin-top:72px;border-top:1px solid var(--line);font-size:14px;line-height:1.7;color:var(--muted)}.abstract{max-width:900px;font-size:16px;line-height:1.75;color:var(--muted)}
@media(min-width:1500px){.wrap{max-width:1248px}.hero{padding-top:88px}.hero h1{font-size:92px}}
@media(max-width:900px){.hero h1{font-size:clamp(2.7rem,6.5vw,4.4rem)}.wrap{padding:0 24px}.method-steps{gap:22px}.metric{padding-right:18px}.metric+.metric{padding-left:18px}.two-col{gap:20px}.bar-row{grid-template-columns:160px minmax(0,1fr) 48px}}
@media(max-width:680px){html{scroll-padding-top:20px}.wrap{padding:0 20px}.topbar{position:static}.topbar-inner{display:block;padding-top:14px;padding-bottom:6px}.brand{display:inline-flex;min-height:38px;align-items:center}nav{justify-content:space-between;gap:8px}nav a{font-size:14px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:42px 0 28px;gap:30px}.hero h1{font-size:clamp(2.8rem,12.6vw,4.3rem);overflow-wrap:break-word}.hero-title{font-size:1.7rem;max-width:32ch}.lede{font-size:17px;margin-top:18px}.hero-figure{padding:8px 8px 15px}.hero-figure figcaption{padding:9px 10px 0;font-size:14px}.actions{margin-top:22px;gap:10px}.button{flex:1 1 auto}.authors{padding:22px 0}.author-list{font-size:14px;gap:5px 14px}.affiliations{font-size:14px}.section{padding-top:56px}.section-head{display:block;margin-bottom:23px}.section h2{font-size:1.5rem;max-width:34ch}.section-meta{margin-top:16px}.section-intro{font-size:17px}.video-shell{border-radius:10px}.video-tools{align-items:stretch}.video-tools button{flex:1}.video-tools a{justify-content:center;flex:1}.method-steps{grid-template-columns:1fr;gap:24px;margin:28px 0}.step{display:grid;grid-template-columns:30px 1fr;column-gap:12px}.step-number{padding-top:3px;grid-row:1/3}.step h3{margin:0 0 8px}.step p{grid-column:2}h3{font-size:21px}.figure-panel{padding:13px;border-radius:10px}.figure-panel figcaption{font-size:15px}.inference-note{padding:17px 18px;font-size:15px}.metrics{grid-template-columns:1fr}.metric,.metric+.metric{display:grid;grid-template-columns:1fr auto;gap:8px 16px;padding:20px 0;border-left:0}.metric+.metric{border-top:1px solid var(--line)}.metric-number{font-size:52px;margin:0;grid-column:2;grid-row:1/3;align-self:center}.metric-number span{font-size:26px}.metric-label{align-self:end}.metric-comparison{grid-column:1;margin:0;max-width:24ch}.two-col,.explorers{grid-template-columns:1fr;gap:30px}.analysis-item .figure-panel{padding:12px}.details summary{font-size:16px;line-height:1.5;padding:17px 0}.bar-row{grid-template-columns:minmax(0,1fr) 45px;gap:7px 12px}.bar-label{grid-row:1;grid-column:1}.bar-value{grid-row:1;grid-column:2}.bar-track{grid-column:1/3;grid-row:2;height:18px}.bars{gap:18px}.chart-head{align-items:stretch}.chart-head label{width:100%;justify-content:space-between}.explorer{padding:20px}.citation{padding:18px}.citation pre{font-size:12px}.table-region th,.table-region td{padding:11px}.table-region{border-radius:8px}.comparison-wrap{min-width:0}footer{margin-top:48px}.author-notes{font-size:12px}.note{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.topbar,.video-shell,.video-tools,button,input,select{display:none}.wrap{max-width:none;padding:0}.hero{padding-top:0}.section{padding-top:30px}details>*{display:block!important}.figure-panel{break-inside:avoid}a{color:inherit}}

/* Motivation and the transition into the model overview. */
#motivation-title{max-width:960px}
#overview-title{max-width:900px}
.motivation-figure{max-width:600px;margin:0 auto;overflow:hidden;border-radius:var(--radius);background:#f8f5f2}
.motivation-figure img,.motivation-figure video{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.motivation-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;align-items:center}
.motivation-copy{font-size:18px;line-height:1.7;color:var(--muted)}
.motivation-copy p+p{margin-top:18px}
.motivation-layout .motivation-figure{width:100%;max-width:600px}
@media(max-width:760px){.motivation-layout{grid-template-columns:1fr;gap:24px}.motivation-layout .motivation-figure{grid-row:1}.motivation-copy{grid-row:2;font-size:17px}}
@media(max-width:680px){.motivation-figure{border-radius:10px}}

.publication-label{text-transform:none}
.author-list a{text-decoration:none}
.author-list a:hover{text-decoration:underline}

.section h2.overview-label{font-size:14px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);margin:0}
#method-title{font-size:clamp(1.5rem,2.2vw,1.75rem);max-width:960px;line-height:1.35}
.method-subtitle{font-size:20px;font-weight:500;line-height:1.45;color:var(--muted);margin-top:14px}

/* Static stage figures share one responsive frame. */
.method-steps{gap:14px;margin:28px 0 20px}
button.step{display:block;text-align:left;border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--surface);transition:background .2s,border-color .2s,box-shadow .2s}
button.step:hover{border-color:var(--bright);background:#f7faff}
button.step[aria-pressed=true]{border-color:var(--bright);background:var(--soft);box-shadow:inset 0 3px 0 var(--bright)}
.step-title{display:block;font-size:20px;font-weight:500;line-height:1.3;margin:10px 0}
.step-description{display:block;font-size:15px;line-height:1.55;color:var(--muted)}
.architecture-panel{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}
.architecture-figure{width:100%;padding:20px 0 8px}
.architecture-canvas{position:relative;width:100%;aspect-ratio:1600/682;background:#fff}
.arch-layer{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.arch-step-1 .arch-summary,.arch-step-2 .arch-decoding,.arch-step-3 .arch-teacher{display:block}
.architecture-panel figcaption{padding:20px 24px;border-top:1px solid var(--line);background:#fafbfd}
.architecture-caption{min-height:84px;max-width:880px;font-size:15px;line-height:1.6;color:var(--muted)}
.architecture-caption strong{display:block;color:var(--ink);font-size:17px;font-weight:500;margin-bottom:5px}
@media(max-width:680px){
  .method-steps{gap:10px}
  button.step{display:grid;grid-template-columns:28px 1fr;column-gap:10px;padding:15px 16px}
  .step-title{font-size:18px;margin:0 0 6px}
  .step-description{grid-column:2;font-size:14px}
  .architecture-panel{border-radius:10px}
  .architecture-figure{padding:12px 0 8px}
  .architecture-panel figcaption{padding:17px 18px}
  .architecture-caption{min-height:140px}
  .method-subtitle{font-size:18px}
}
@media print{.method-steps button{display:block}.arch-layer{display:none!important}.arch-teacher{display:block!important}.architecture-caption{display:none}}

/* Benchmark groups and individual metrics stay visually distinct. */
.chart-metric{margin-left:auto;font-size:14px;color:var(--muted);white-space:nowrap}
.benchmark-table thead th{text-align:center}
.benchmark-table thead th:first-child{text-align:left}
.benchmark-table thead th[scope=colgroup]{text-align:center;border-left:2px solid #c7d0dc}
.benchmark-table thead tr:last-child th,.benchmark-table tbody td:not([colspan]){border-right:1px solid #e1e6ed}
.benchmark-table thead tr:last-child th:last-child,.benchmark-table tbody td:last-child{border-right:0}
.qa-table tr:last-child th:nth-child(2),.qa-table tr:last-child th:nth-child(4),.qa-table tr:last-child th:nth-child(6),.qa-table tbody td:nth-child(2),.qa-table tbody td:nth-child(4),.qa-table tbody td:nth-child(6),.caption-table tr:last-child th:nth-child(2),.caption-table tr:last-child th:nth-child(6),.caption-table tr:last-child th:nth-child(8),.caption-table tbody td:nth-child(2),.caption-table tbody td:nth-child(6),.caption-table tbody td:nth-child(8){border-left:2px solid #c7d0dc}

.analysis-item{display:flex;flex-direction:column;min-width:0}
.figure-panel.figure-zoomable{position:relative;padding:16px 16px 58px}
.analysis-item .figure-zoomable{margin-top:auto}
.analysis-item .figure-zoomable img{height:clamp(180px,17vw,220px);object-fit:contain}
.figure-enlarge{position:absolute;bottom:8px;right:10px;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:7px 10px;font-size:13px;color:var(--blue);background:#fff;border-color:var(--line);cursor:zoom-in}
.figure-enlarge span{font-size:19px;line-height:1}
.figure-enlarge:hover{background:var(--soft);border-color:var(--bright)}
.comparison-wrap{--comparison-aspect:2223/534;--comparison-size:209.08682% 344.94382%;--comparison-x:6.268041%;max-width:680px;margin:0 auto}
.pca-comparison{--comparison-aspect:2243/534;--comparison-size:207.22247% 344.94382%;--comparison-x:99.83368%}
.comparison-visual{position:relative;padding-bottom:54px}
.comparison-visual .figure-enlarge{right:0;bottom:0}
.figure-lightbox{width:min(1600px,94vw);max-width:94vw;max-height:96dvh;padding:52px 0 0;border:0;background:transparent;color:#fff;overflow:auto}
.figure-lightbox::backdrop{background:rgba(28,25,22,.78)}
.lightbox-close{position:absolute;top:0;right:0;width:44px;height:44px;min-height:44px;padding:0;background:#fff;color:var(--ink);font-size:20px;border:0;cursor:pointer}
.lightbox-image{width:auto;max-width:100%;max-height:76dvh;height:auto;object-fit:contain;margin:0 auto;background:#fff;border-radius:3px;cursor:zoom-out}
.lightbox-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 2px;font-size:15px;line-height:1.5}
.lightbox-hint{font-size:13px;color:#d0d2d8;white-space:nowrap}
.details-body>.ablation-lead{font-size:21px;font-weight:500;color:var(--ink);margin-bottom:12px}
.ablation-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin:26px 0 0}
.ablation-variants>div{border-left:2px solid #c5d7f2;padding-left:16px}
.ablation-variants dt{font-weight:500;font-size:16px;color:var(--ink);margin-bottom:6px}
.ablation-variants dd{margin:0;font-size:15px;line-height:1.65;color:var(--muted)}
.training-chart{margin-top:18px}
.ablation-results>div{min-width:0}
/* Native chart: transparent SVG geometry with unscaled HTML labels. */
.training-chart{--baseline:#8198b7;--reconstruction:var(--bright);--full:#aa781b}
.training-axis-title,.training-x-title{font-size:14px;line-height:1.5;color:var(--muted)}
.training-plot{position:relative;height:232px;margin:26px 18px 0 34px;font-size:13px;font-variant-numeric:tabular-nums}
.training-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.training-lines line,.training-lines polyline{vector-effect:non-scaling-stroke;fill:none}
.training-grid{stroke:var(--ink);stroke-opacity:.08;stroke-width:1;stroke-dasharray:3 4}
.training-axis{stroke:var(--line);stroke-width:1}
.training-series{stroke:var(--series);stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.training-baseline{--series:var(--baseline)}
.training-reconstruction{--series:var(--reconstruction)}
.training-full{--series:var(--full)}
.training-y-tick{position:absolute;left:-34px;width:25px;text-align:right;transform:translateY(-50%);color:var(--muted)}
.training-x-tick{position:absolute;top:100%;padding-top:9px;transform:translateX(-50%);color:var(--muted)}
.training-point{position:absolute;width:0;height:0;color:var(--series)}
.training-dot{position:absolute;width:10px;height:10px;border:2px solid var(--paper);border-radius:50%;background:var(--series);transform:translate(-50%,-50%)}
.training-value{position:absolute;left:0;bottom:10px;transform:translateX(-50%);font-weight:500;line-height:1;white-space:nowrap}
.training-label-below .training-value{top:10px;bottom:auto}
.training-star{position:absolute;left:0;top:0;transform:translate(-50%,-50%);font-size:28px;line-height:1;color:#d4a02e;-webkit-text-stroke:.6px var(--full)}
.training-baseline .training-value{color:var(--muted)}
.training-reconstruction .training-value{color:var(--blue)}
.training-full .training-value{bottom:17px;font-weight:600;color:#8a631a}
.training-x-title{text-align:center;margin:34px 18px 0 34px}
.training-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 20px;margin-top:16px;font-size:13px;line-height:1.6;color:var(--muted)}
.training-legend>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.training-legend i{position:relative;display:inline-block;width:22px;height:2px;background:var(--series);border-radius:1px}
.training-legend i::after{content:"";position:absolute;left:8px;top:-2px;width:6px;height:6px;border-radius:50%;background:var(--series)}
.training-legend b{font-size:20px;line-height:1;color:#d4a02e;font-weight:400;-webkit-text-stroke:.5px var(--full)}
@media(max-width:420px){.training-plot{height:212px}.training-legend{column-gap:16px}}
.details-body>.ablation-takeaway{max-width:none;margin-top:26px;padding:20px 24px;background:var(--soft);border-left:3px solid var(--bright)}
.ablation-takeaway strong{font-weight:500;color:var(--ink)}
.analysis-grid{grid-template-rows:auto auto auto;gap:12px 28px}
.analysis-grid .analysis-item{display:grid;grid-template-rows:subgrid;grid-row:span 3}
.analysis-grid .analysis-item h3,.analysis-grid .analysis-copy{margin:0}
.analysis-grid .figure-zoomable{margin-top:8px}
@media(max-width:760px){.ablation-variants{grid-template-columns:1fr;gap:18px}.ablation-results{grid-template-columns:1fr}.details-body>.ablation-takeaway{padding:18px}}
@media(max-width:680px){.analysis-grid{display:block}.analysis-grid .analysis-item{display:block;margin-bottom:30px}.analysis-grid .analysis-item:last-child{margin-bottom:0}.analysis-grid .analysis-item h3{margin-bottom:12px}.analysis-grid .analysis-copy{margin-bottom:20px}.analysis-grid .figure-zoomable{margin-top:0}}
@media(max-width:680px){
  .analysis-item .figure-zoomable img{height:180px}
  .figure-panel.figure-zoomable{padding:12px 12px 58px}
  .figure-lightbox{width:96vw;max-width:96vw;padding-top:50px}
  .lightbox-caption{font-size:14px;gap:10px}
  .lightbox-hint{display:none}
}

/* Blue emphasis follows the wordmark colour. */
.blue-emphasis{color:var(--blue);font-style:normal;font-weight:500}
/* Keep the desktop comparison compact, with both captions ending together. */
@media(min-width:761px){
  .ablation-results>div{display:flex;flex-direction:column}
  .ablation-results>div>.chart-note{margin-top:auto;padding-top:18px}
  .training-plot{height:145px;margin-top:16px}
  .training-x-title{margin-top:26px}
  .training-legend{margin-top:10px}
}
/* A short preview stays visible while the full explanation is optional. */
.analysis-grid .analysis-copy>p{margin:0}
.analysis-details{margin-top:4px}
.analysis-details summary{display:flex;align-items:center;gap:8px;width:fit-content;min-height:44px;list-style:none;color:var(--blue);font-size:14px;font-weight:500}
.analysis-details summary::-webkit-details-marker{display:none}
.analysis-details summary::after{content:"+";font-size:18px;font-weight:400}
.analysis-details[open] summary::after{content:"−"}
.analysis-details .details-hide,.analysis-details[open] .details-read{display:none}
.analysis-details[open] .details-hide{display:inline}
.analysis-details>p{margin:4px 0 0}
