:root {
  color-scheme: light;
  --paper: #f8f9fa;
  --ink: #18212d;
  --mute: #495665;
  --line: #d3dae2;
  --accent: #214f9d;
  --deep: #172539;
  --robust: #2ca02c;
  --map: #1f77b4;
  --pow: #ff7f0e;
  --reference: #718096;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "STIX Two Text", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure, pre { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
button, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #2780b2; outline-offset: 4px; }
.wrap { width: min(91%, 80rem); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 20; padding: 1rem; background: white; }
.masthead, footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { min-height: 4rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .55rem; align-items: center; font-size: 1.1rem; font-weight: 750; letter-spacing: -.055em; text-decoration: none; }
.mark { color: var(--accent); font: bold 1.9rem/1 var(--mono); }
nav { display: flex; gap: clamp(.85rem, 3vw, 2.4rem); }
nav a, footer > a:last-child { font-size: .9rem; font-weight: 550; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { padding-block: clamp(1.3rem, 2.6vw, 2.4rem); }
.hero-copy { text-align: center; margin-inline: auto; }
.venue, .kicker, .dataset { font: 600 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .095em; }
.venue, .kicker { color: var(--accent); }
.wordmark { display: block; font-size: clamp(2.7rem, 5vw, 4.65rem); line-height: 1.05; letter-spacing: -.075em; margin: .35rem 0 .45rem; font-weight: 750; }
.wordmark span { color: var(--accent); }
.paper-title { display: block; font: 400 clamp(1.25rem, 2.25vw, 2rem)/1.17 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.authors { margin: .8rem auto 0; font-size: .94rem; line-height: 1.8; }
.authors a { text-decoration-color: #abb9cb; white-space: nowrap; }
.resources { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; justify-content: center; }
.button, .play { padding: .62rem 1rem; min-height: 2.65rem; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; border-radius: .3rem; border: 1px solid #a2aebb; background: transparent; text-decoration: none; font: 600 .92rem/1.3 var(--sans); }
.button:hover, .play:hover { color: var(--ink); background: #e7edf5; }
.primary { color: white; background: var(--deep); border-color: var(--deep); }
.primary:hover { color: white; background: #344b67; }
.primary small { color: #d0ddee; font: .75rem var(--mono); }
.hero-summary, .teaser { max-width: 70rem; margin-inline: auto; }
.hero-summary { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.15rem, 4vw, 3rem); margin-block: clamp(1.15rem, 2vw, 1.6rem) .9rem; }
.hero-claim { font: 600 clamp(1.1rem, 2vw, 1.4rem)/1.3 var(--serif); letter-spacing: -.025em; text-wrap: pretty; }
.hero-stat { display: flex; align-items: center; gap: .75rem; border-left: 1px solid var(--line); padding-left: 1.25rem; color: var(--mute); font-size: .92rem; }
.hero-stat strong { color: var(--accent); font-size: clamp(1.45rem, 3.3vw, 2.15rem); line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.teaser-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .55rem; min-height: 3.25rem; padding: .35rem .85rem; border-bottom: 1px solid #344760; border-radius: .65rem .65rem 0 0; background: #172539; color: #c3d1e4; font-size: .85rem; }
.teaser-toolbar p { display: flex; flex-wrap: wrap; column-gap: .85rem; }
.teaser-toolbar strong { color: #eef4fc; }
.teaser video { aspect-ratio: 2 / 1; height: auto; border-radius: 0 0 .65rem .65rem; background: #111a27; }
.teaser-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1.5rem; margin-top: .75rem; color: var(--mute); font-size: .93rem; }
.teaser-caption strong { color: var(--ink); }
.teaser-caption a { color: var(--accent); font-weight: 700; }
.section, .orbit-note { background: #f0f3f8; border-top: 1px solid var(--line); color: var(--mute); font-size: .88rem; padding: .72rem 1.1rem; }
.bench-band { padding-block: clamp(2.8rem, 5vw, 4.8rem); }
.section { padding-block: clamp(1.35rem, 3vw, 2.65rem); }
.section-head { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 2rem; margin-bottom: 1.7rem; }
h2 { font: 400 clamp(2.25rem, 3.8vw, 3.75rem)/1.05 var(--serif); letter-spacing: -.052em; text-wrap: balance; }
.kicker, .dataset { margin-bottom: .7rem; }
.section-head > p, details > p { color: var(--mute); max-width: 62ch; }
.room-compare { padding: clamp(.8rem, 1.8vw, 1.35rem); background: #101826; border: 1px solid #26364b; border-radius: .65rem; color: #eef4fc; }
.room-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; margin-bottom: 1rem; }
.room-toolbar p { color: #c3d1e4; font-size: .83rem; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.room-grid figure { display: grid; grid-template-rows: 1fr auto; min-width: 0; overflow: hidden; border: 1px solid #344760; border-radius: .32rem; }
.room-grid figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .55rem; align-items: center; min-height: 2.6rem; padding: .45rem .65rem; background: #1b2b42; }
.room-grid figcaption small { color: #c3d1e4; font-size: .75rem; }
.room-grid img:not([hidden]) { display: block; width: 100%; height: auto; }
.room-note { max-width: 95ch; margin-top: .9rem; color: #c3d1e4; font-size: .88rem; }
.experiment { margin-top: 1.1rem; border: 1px solid var(--line); border-radius: .45rem; background: #fff; overflow: hidden; }
.experiment-tabs { display: flex; background: #edf1f7; border-bottom: 1px solid var(--line); }
.experiment-tabs button { border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: .85rem 1.4rem; font-size: .97rem; font-weight: 600; background: transparent; }
.experiment-tabs button[aria-pressed=true] { color: white; background: var(--deep); }
.experiment-tabs button:hover:not([aria-pressed=true]) { background: #e2e9f4; }
.experiment-tabs button:focus-visible { outline-offset: -4px; }
.toolbar { display: flex; align-items: flex-end; gap: .8rem; flex-wrap: wrap; padding: 1.1rem; }
label { display: grid; gap: .25rem; font-size: .82rem; font-weight: 600; color: var(--mute); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23495665' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .65rem center; background-size: .65rem; border: 1px solid #adb4ab; padding: .48rem 1.65rem .48rem .6rem; border-radius: .25rem; background-color: #fff; font: 500 .94rem/1.45 var(--sans); min-height: 2.5rem; }
.playback-controls:not([hidden]) { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.playback-controls .play { min-height: 2.5rem; padding: .5rem .85rem; background: white; color: var(--ink); }
.playback-controls .play:hover { background: #e7edf5; }
.playback-controls .play[aria-pressed=true] { background: #dce8f8; border-color: var(--accent); }
.room-toolbar { padding: 0; align-items: center; }
.room-toolbar label { color: #eef4fc; }
.method-robust { --method-color: var(--robust); }
.method-map { --method-color: var(--map); }
.method-pow { --method-color: var(--pow); }
.method-reference { --method-color: var(--reference); }
.method-label { display: inline-block; border-left: .25rem solid var(--method-color); padding-left: .6rem; white-space: nowrap; }
.room-grid figcaption, .triptych figcaption { border-top: 4px solid var(--method-color); }
.triptych { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; padding: 0 1.1rem; }
.triptych figure { margin: 0; background: #363636; border-radius: .25rem; overflow: hidden; }
.triptych figcaption { display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; gap: .15rem .65rem; min-height: 3.25rem; padding: .55rem .78rem; background: #26364b; color: #f3f6fa; font: 550 .9rem/1.35 var(--sans); }
.triptych figcaption small { color: #c3d1e4; font-size: .77rem; }
video { display: block; width: 100%; aspect-ratio: 16/9; background: #363636; }
.figure-note { padding: .85rem 1.1rem 1.05rem; font-size: .92rem; color: var(--mute); }
.bench-band { background: var(--deep); color: #faf9f3; }
.bench-band .kicker, .dataset { color: #b7d3ff; }
.bench-band .section-head > p, .bench-grid article > p:not(.dataset) { color: #d4dfed; }
.bench-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.bench-grid article { border-top: 1px solid #677b95; padding-top: 1.45rem; }
h3 { font: 500 1.6rem/1.18 var(--serif); letter-spacing: -.035em; }
.bench-grid article > p:not(.dataset) { margin: .65rem 0 1.3rem; max-width: 60ch; }
.bench-grid strong { color: white; }
.bench-grid small { display: block; font-size: .83rem; color: #c3d1e4; margin-top: .7rem; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: right; font: .9rem var(--mono); }
th, td { padding: .65rem .5rem; border-bottom: 1px solid #50627b; }
th:first-child { text-align: left; }
th { font: 600 .9rem var(--sans); }
thead th { color: #d1ddee; font-size: .8rem; }
.row-ours { background: #233f35; }
td b { color: #f3f6fa; }
.benchmark-note { margin-top: 1.75rem; border-top: 1px solid #677b95; padding-top: 1.1rem; color: #d4dfed; }
.benchmark-note strong { color: #fff; }
.benchmark-note a:hover { color: #bed9ff; }
.method-evidence { margin-top: 1.65rem; padding: 1rem 1.2rem; background: #eaf0f8; border-left: 3px solid #779ed7; }
.method-evidence h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.method-evidence p { max-width: 80ch; color: var(--mute); }
.method-evidence p + p { margin-top: .65rem; }
.method-evidence .table-scroll { margin-block: 1rem; }
.method-evidence caption { padding-bottom: .65rem; text-align: left; font: 600 .9rem var(--sans); color: var(--ink); }
.method-evidence th, .method-evidence td { border-color: var(--line); }
.method-evidence thead th { color: var(--mute); }
.method-evidence .row-ours { background: #dceede; color: var(--ink); }
.method-evidence td b { color: #216e26; }
.method-explainer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.65rem); }
.method-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 2.4vw, 1.8rem); background: white; border: 1px solid var(--line); border-radius: .6rem; }
.method-panel h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.method-panel > p { margin-top: .55rem; color: var(--mute); }
.observation-paths { display: grid; gap: 1rem; margin-block: 1.2rem; }
.observation-paths > div { padding: .85rem 1rem; border-left: 3px solid #779ed7; background: #f0f4fa; }
.observation-paths dt { font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.observation-paths dd { margin: 0; color: var(--mute); }
.observation-output { padding: .8rem 1rem; border: 1px solid #c1d3eb; border-radius: .35rem; background: #edf3fd; color: #174285; font-weight: 650; }
.feedback-panel figure { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin-top: 1rem; }
.feedback-panel img { display: block; width: 100%; height: auto; max-width: 32rem; margin-inline: auto; }
.feedback-panel figcaption { font-size: .9rem; color: var(--mute); margin-top: .52rem; }
.method-paper { margin-top: .75rem; font-size: .9rem; }
.long-horizon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.long-horizon figure { min-width: 0; border: 1px solid var(--line); border-radius: .5rem; overflow: hidden; background: white; }
.long-horizon .toolbar { align-items: center; border-bottom: 1px solid var(--line); }
.long-horizon .toolbar > p { font-weight: 600; }
#gallery-preview > p { margin: .75rem 1rem; font-weight: 650; }
.long-horizon img { display: block; width: 100%; height: auto; }
.long-horizon figcaption { padding: .85rem 1rem; font-size: .9rem; color: var(--mute); }
.citation { background: #eaf0f6; padding-block: 2.8rem; }
.citation-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: start; }
.citation .button { margin-top: 1.1rem; }
#copy-status { display: block; margin-top: .3rem; font-size: .85rem; }
pre { max-width: 100%; overflow: auto; font: .86rem/1.6 var(--mono); }
footer { padding-block: 1.25rem; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; }
  .bench-grid { gap: 1.25rem; }
  td, th { padding-inline: .33rem; }
}
@media (max-width: 850px) {
  .method-explainer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .section-head, .bench-grid, .citation-inner, .long-horizon { grid-template-columns: minmax(0, 1fr); }
  .hero-summary { grid-template-columns: 1fr; gap: .65rem; }
  .hero-stat { padding-left: .75rem; }
  .section-head { gap: .85rem; }
  .bench-grid { gap: 2rem; }
  .triptych { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 .65rem; gap: .35rem; }
  .triptych figcaption { padding: .48rem; font-size: .79rem; }
  .toolbar { padding: .75rem; }
  .experiment-tabs button { flex: 1; padding-inline: .5rem; }
}
@media (max-width: 520px) {
  .wrap { width: 91.5%; }
  .masthead { flex-wrap: wrap; min-height: 3.6rem; gap: .5rem; padding-block: .6rem; }
  nav { gap: .75rem; }
  nav a { font-size: .8rem; }
  .brand { font-size: 1rem; gap: .3rem; }
  .mark { font-size: 1.4rem; }
  .experiment-tabs button { font-size: .86rem; }
  .toolbar { gap: .6rem; }
  .toolbar label { flex: 1; }
  .room-toolbar > label { flex-basis: 100%; }
  .toolbar select { width: 100%; padding-right: 1.65rem; }
  .toolbar .playback-controls { width: 100%; margin-left: 0; }
  .toolbar .playback-controls .play { flex: 1; }
  .triptych { grid-template-columns: 1fr; padding: 0 .75rem; gap: .75rem; }
  .room-grid { grid-template-columns: 1fr; }
  .triptych figcaption { min-height: 0; font-size: .88rem; }
  .bench-grid table { font-size: .82rem; }
  th { font-size: .85rem; }
  .authors { font-size: .9rem; }
  .resources .button { padding-inline: .72rem; }
  .teaser-toolbar { padding-inline: .65rem; font-size: .8rem; }
  .teaser-toolbar p { display: block; }
  .teaser-toolbar p > span { display: block; }
  .figure-note { padding-inline: .75rem; }
}
@media (max-width: 360px) {
  nav { gap: .55rem; }
  .mark { display: none; }
  .toolbar label { min-width: 100%; }
  .bench-grid table { font-size: .77rem; }
}

/* Research-page layout */
:root { --paper: #fff; --ink: #202a35; --mute: #526170; --line: #e2e7ec; }
body { background: white; color: var(--ink); }
.wrap { width: min(91%, 75rem); }
.masthead { min-height: 3.8rem; }
.hero { padding-block: 3rem 2rem; }
.wordmark { font-size: clamp(2.7rem, 5vw, 4rem); letter-spacing: -.05em; }
.paper-title { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.3 var(--sans); letter-spacing: -.025em; }
.authors a { color: var(--accent); text-decoration: none; }
.authors sup { margin-left: .15em; font-size: .7em; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.15rem; margin-top: .5rem; color: var(--mute); font-size: .9rem; line-height: 1.6; }
.affiliations span { white-space: nowrap; }
.affiliations sup { color: var(--accent); font-size: .75em; }

.hero-copy > .venue { margin: 1.3rem 0 .65rem; font: 600 clamp(1.2rem, 2.2vw, 1.5rem)/1.3 var(--sans); letter-spacing: .04em; }
.resources { margin-top: 0; gap: .55rem; }
.resources .button { min-height: 2.5rem; padding: .5rem 1.05rem; gap: .5rem; border: 1px solid #363636; border-radius: 999px; background: #363636; color: #fff; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.resources a.button:hover { background: #252525; border-color: #252525; color: #fff; }
.resources .resource-icon { flex-shrink: 0; }
.resources .button:disabled { color: #626973; border-color: #e4e7eb; background: #e4e7eb; cursor: default; }
.resources .button:disabled small { font-size: .72rem; font-weight: 400; }
.button { border-radius: 2rem; }
.hero-summary { display: block; max-width: 62rem; text-align: center; margin: 2.2rem auto 1.2rem; }
.hero-claim { font: 500 1.08rem/1.6 var(--sans); letter-spacing: 0; background: #eef3fa; border-radius: .4rem; padding: 1rem 1.25rem; }
.hero-claim strong { color: var(--accent); }
.hero-stat { display: block; border: 0; padding: 0; margin-top: .35rem; font-size: .95rem; }
.hero-stat strong { font-size: 1rem; letter-spacing: 0; margin-right: .25rem; }
.teaser { max-width: 68rem; }
.teaser video { border-radius: .35rem; }
.teaser-caption { justify-content: center; text-align: center; }
.section { background: white; color: var(--ink); border: 0; padding: 3.5rem 0; }
.section-head { display: block; text-align: center; max-width: 62rem; margin: 0 auto 1.8rem; }
.section-head > p { margin: .7rem auto 0; }
h2 { font: 650 clamp(1.8rem, 2.5vw, 2.25rem)/1.2 var(--sans); letter-spacing: -.03em; }
h3 { font: 600 1.2rem/1.3 var(--sans); letter-spacing: -.015em; }
.venue, .kicker, .dataset { font: 600 .85rem/1.3 var(--sans); letter-spacing: .04em; }
.room-compare, .experiment { background: transparent; color: var(--ink); border: 0; padding: 0; border-radius: 0; }
.room-toolbar { color: var(--mute); }
.room-toolbar label, .room-toolbar p, .room-note { color: var(--mute); }
.room-grid figure { border: 0; }
.room-grid figcaption, .triptych figcaption { background: white; color: var(--ink); border-top: 0; border-left: 3px solid var(--method-color); padding: .3rem .6rem; margin-bottom: .5rem; min-height: 2.4rem; }
.room-grid figcaption small, .triptych figcaption small { color: var(--mute); }
.room-grid img, .triptych video { border-radius: .3rem; }
.triptych video { aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
#outage-comparison video { aspect-ratio: 4 / 3; object-fit: cover; background: #e8ecf1; }
.experiment-tabs { justify-content: center; background: transparent; border: 0; gap: .5rem; }
.experiment-tabs button { border: 1px solid var(--line); border-radius: 2rem; padding: .55rem 1.1rem; }
.toolbar { padding: 1rem 0; }
.triptych { padding: 0; }
.triptych figure { background: transparent; }
.figure-note, .orbit-note { background: transparent; border: 0; padding: .6rem 0 0; color: var(--mute); }
.method-figure { max-width: 66rem; margin: 0 auto; }
.method-figure img { display: block; width: 100%; height: auto; }
.method-figure figcaption { max-width: 65rem; margin: 1rem auto 0; color: var(--mute); text-align: center; }
.method-evidence { max-width: 66rem; margin: 2rem auto 0; padding: 1rem 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-evidence summary { cursor: pointer; font-weight: 650; color: var(--ink); }
.method-evidence[open] summary { margin-bottom: 1rem; }
.long-horizon figure { border: 0; border-radius: 0; }
.long-horizon .toolbar { padding-top: 0; }
.long-horizon figcaption { padding-inline: 0; }
.bench-band { background: #f7f9fb; color: var(--ink); padding-block: 3.5rem; }
.bench-band .section-head > p, .bench-grid article > p:not(.dataset), .bench-grid small, .benchmark-note { color: var(--mute); }
.bench-band .dataset { color: var(--accent); }
.bench-grid article, .benchmark-note { border-color: var(--line); }
.bench-grid strong, .benchmark-note strong { color: var(--ink); }
.bench-band thead th { color: var(--mute); }
.bench-band th, .bench-band td { border-color: var(--line); }
.bench-band .row-ours { background: #eef7ef; }
.bench-band td b { color: var(--ink); }
.citation { background: white; border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .hero { padding-top: 2rem; }
  .section { padding-block: 2.5rem; }
  .experiment-tabs button { flex: initial; }
  .triptych { padding: 0; }
  .room-grid figcaption, .triptych figcaption { min-height: 0; }
}
.measured-demo { max-width: 68rem; margin: 2rem auto 0; text-align: center; }
.measured-demo h2 { font-size: 1.65rem; }
.demo-intro { max-width: 62rem; margin: .8rem auto 1.1rem; text-align: center; color: var(--mute); font-size: .95rem; }
.recovery-poster { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; background: #0e131a; border-radius: .35rem; margin-bottom: 1rem; }
.measured-demo:has([data-interactive]:not([hidden])) > .recovery-poster { display: none; }
[data-interactive][hidden], [data-missing][hidden] { display: none; }
canvas { display: block; width: 100%; height: 34rem; border-radius: .35rem; background: #0e131a; touch-action: none; }
.recovery-stage { position: relative; }
.recovery-stage canvas { height: 32rem; }
.sequence-input { position: absolute; z-index: 1; top: .8rem; left: .8rem; width: 23%; max-width: 12rem; border: 1px solid #718096; border-radius: .25rem; overflow: hidden; background: #fff; }
.sequence-input img { display: block; width: 100%; height: auto; }
.sequence-input figcaption { padding: .3rem; font-size: .8rem; }
.sequence-input [data-missing] { display: grid; place-content: center; aspect-ratio: 4 / 3; background: #1b2b42; color: #a8d1ff; font-weight: 650; }
.sequence-input small { font-size: .75rem; font-weight: 400; }
.frame-label { margin: .8rem 0; color: var(--ink); font-weight: 600; }
.sequence-controls label { flex: 1; }
input[type=range] { width: 100%; accent-color: var(--accent); min-height: 1.8rem; cursor: pointer; }
.viewer-help, .metric-readout { font-size: .9rem; color: var(--mute); }
.sequence-chart svg { display: block; width: 100%; height: auto; max-height: 14rem; font: 14px var(--sans); }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; font-size: .85rem; color: var(--mute); }
.outage-line { border-bottom: 2px solid #214f9d; }
.clean-line { border-bottom: 2px dashed #8993a0; }
.experiment-notes { text-align: left; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; font-size: .9rem; color: var(--mute); }
.experiment-notes summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.experiment-notes p { margin-top: .75rem; }
#cloud-comparison > .button { display: flex; margin: 0 auto; }
#cloud-comparison [data-method] { border-bottom: 3px solid var(--method-color); }
#cloud-comparison .toolbar { justify-content: space-between; }
@media (max-width: 720px) {
  canvas, .recovery-stage canvas { height: 24rem; }
  .sequence-input { width: 28%; }
  .sequence-input small { display: none; }
  .sequence-controls { gap: .5rem; }
  .sequence-controls label { min-width: 100%; order: -1; }
}
[hidden] { display: none !important; }
#cloud-comparison .experiment-tabs { flex-wrap: wrap; }
.hero-teaser { max-width: 72rem; margin: 1.5rem auto 0; }
.hero-teaser video { aspect-ratio: 1600 / 930; height: auto; border-radius: .35rem; background: #fff; }
.hero-teaser > figcaption { max-width: 65rem; margin: .9rem auto 0; text-align: center; color: var(--mute); font-size: .95rem; }
.hero-teaser .experiment-notes { max-width: 65rem; margin-inline: auto; }
.diagnostic-section { padding-block: 1rem; }
.diagnostic-section > details > summary { cursor: pointer; font-weight: 600; padding-block: .8rem; border-block: 1px solid var(--line); }
.hero-teaser video.teaser-mobile { aspect-ratio: 720 / 1450; }
.hero-teaser > video { aspect-ratio: 1600 / 1000; }
.hero-teaser > video.teaser-mobile { aspect-ratio: 720 / 1260; }
.final-showcase { margin-top: 1.25rem; text-align: center; }
.final-showcase canvas { margin-top: 1rem; }
.final-showcase .toolbar { justify-content: space-between; }
.view-presets { display: flex; flex-wrap: wrap; gap: .5rem; }
.secondary-outage { margin-bottom: 1rem; }
.secondary-outage figure { margin-top: 1rem; }
.secondary-outage video { aspect-ratio: 1600 / 930; height: auto; }
.secondary-outage figcaption { margin-top: .75rem; color: var(--mute); }
.final-showcase { max-width: 72rem; margin-inline: auto; }
.benchmark-highlight strong { color: var(--accent); }
.final-showcase canvas { height: clamp(15rem, 45vw, 34rem); }
.camera-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; margin-top: 1rem; }
.camera-controls label { display: flex; align-items: center; gap: .5rem; }
.camera-controls input[type="range"] { width: clamp(8rem, 20vw, 16rem); }

/* Integrated, lazy-loaded point-cloud comparisons. */
.comparison-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-left: auto; }
.comparison-modes button { white-space: nowrap; }
.comparison-modes { display: flex; gap: .25rem; align-items: center; }
.comparison-modes button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: white; }
.choice-control { display: grid; gap: .35rem; min-width: 0; }
.choice-control > span { font-size: .82rem; font-weight: 600; color: var(--mute); }
.choice-switch { display: flex; flex-wrap: wrap; gap: .25rem; }
.choice-switch button { min-height: 2.5rem; }
.choice-switch button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: white; }

.comparison-cloud { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #e8ecf1; cursor: grab; touch-action: none; }
.comparison-cloud:active { cursor: grabbing; }
#outage-comparison .comparison-cloud { aspect-ratio: 4 / 3; }
.triptych[aria-busy="true"] .comparison-cloud { pointer-events: none; }
.cloud-help, .cloud-status { margin-top: .75rem; color: var(--mute); font-size: .9rem; }
@media (max-width: 600px) {
  .comparison-controls { flex-basis: 100%; margin-left: 0; }
  .comparison-modes { flex: 1; }
  .comparison-modes button { flex: 1; }
}

@media (max-width: 360px) {
  .comparison-controls [data-reset-cloud] { width: 100%; }
}

.room-toolbar > #room-inputs { flex-basis: 100%; }

/* Method diagram and its supporting memory benchmark. */
.method-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
.method-overview > figure { min-width: 0; margin: 0; }
.method-overview .method-figure { width: 100%; max-width: none; }
.method-overview .memory-scaling { width: 100%; max-width: 36rem; justify-self: center; }
.method-overview h3 { margin-bottom: .75rem; }
.method-overview img { display: block; width: 100%; height: auto; }
.method-overview figcaption { margin-top: .75rem; color: var(--mute); font-size: .9rem; }
.method-evidence .memory-scaling { max-width: 36rem; margin: 2rem auto 0; }
.method-evidence .memory-scaling h3 { margin-bottom: .75rem; }
.method-evidence .memory-scaling img { display: block; width: 100%; height: auto; }
.method-evidence .memory-scaling figcaption { margin-top: .75rem; color: var(--mute); font-size: .9rem; }


/* Each benchmark pairs exact values with a compact trend chart. */
.bench-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.bench-grid article { display: block; min-width: 0; }
.bench-grid article > h3 { margin-bottom: 1.15rem; }
.benchmark-result { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.benchmark-result > * { min-width: 0; }
.benchmark-chart { margin: 0; }
.benchmark-chart img { display: block; width: 100%; height: auto; }
@media (max-width: 850px) {
  .benchmark-result { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .benchmark-chart { width: 100%; max-width: 34rem; justify-self: center; }
}

/* Citation follows the centered section layout, with a contained copyable entry. */
.citation { padding-block: clamp(3rem, 6vw, 5rem); background: #f8fafc; }
.citation-inner { display: block; }
.citation .section-head { margin-bottom: 1.6rem; }
.citation .section-head > .kicker { display: inline-block; margin: 0 0 .85rem; max-width: none; padding: .3rem .75rem; border: 1px solid #dce5f1; border-radius: 2rem; background: #edf3fa; color: var(--accent); font-size: .75rem; letter-spacing: .08em; }
.citation h2 span { color: var(--accent); }
.citation-card { max-width: 60rem; margin-inline: auto; overflow: hidden; border: 1px solid #dce3ec; border-radius: .85rem; background: #fff; box-shadow: 0 8px 28px rgb(23 37 57 / 5%); }
.citation-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .85rem 1.5rem; border-bottom: 1px solid #e6ebf2; background: #fff; }
.citation-format { color: var(--mute); font: 600 .85rem var(--mono); }
.citation-actions { display: flex; align-items: center; gap: .75rem; }
.citation .button { display: inline-flex; align-items: center; gap: .45rem; margin: 0; min-height: 2.25rem; padding: .45rem .9rem; border-color: #dce5f1; background: #edf3fa; color: var(--accent); font-size: .85rem; }
.citation .button:hover { background: #e0eaf7; border-color: #b6c9e5; }
.citation .button svg { flex-shrink: 0; }
.citation #copy-status { margin: 0; color: var(--accent); }
.citation pre { margin: 0; padding: 1.5rem; background: #f6f8fb; color: #344256; font-size: .85rem; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.bib-entry { color: var(--accent); font-weight: 600; }
.bib-field { color: #54708d; }
@media (max-width: 520px) {
  .citation-toolbar { padding: .75rem 1rem; }
  .citation pre { padding: 1rem; font-size: .75rem; }
  .citation-actions { flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
}
