/* SATE-Bench project page */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --band: #f5f7fb;
  --ink: #18202f;
  --ink-soft: #444f63;
  --muted: #6b7489;
  --line: #e3e7ef;
  --accent: #2f5bd3;
  --accent-soft: #e9effd;
  --good: #1f8a4c;
  --good-soft: #e5f5ec;
  --bad: #c2412d;
  --bad-soft: #fbeae6;
  --cream: #fdf6e9;
  --cream-ink: #8a5a12;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 60, .06), 0 8px 28px rgba(20, 30, 60, .07);
  --nav-h: 56px;
}

/* The fallback note is only visible when this stylesheet fails to load. */
.file-warning { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
p, figcaption, blockquote { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

/* ---------------- Sections ---------------- */
.section { padding: 72px 0; scroll-margin-top: var(--nav-h); }
.section.band { background: var(--band); }
#top { scroll-margin-top: var(--nav-h); }
.eyebrow {
  margin: 0 0 6px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 16px; text-align: center; }
h3 { font-size: 18px; margin: 0 0 12px; }
.lead { color: var(--ink-soft); max-width: 820px; margin: 0 auto 36px; text-align: center; text-wrap: pretty; }

/* ---------------- Top navigation ---------------- */
.topnav {
  position: sticky; top: 0; z-index: 10; height: var(--nav-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.topnav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.topnav-brand { font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.topnav-brand:hover { text-decoration: none; color: var(--accent); }
.topnav-links { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.topnav-links::-webkit-scrollbar { display: none; }
.topnav-links a {
  padding: 6px 12px; border-radius: 999px; color: var(--ink-soft); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.topnav-links a:hover { text-decoration: none; background: var(--band); color: var(--ink); }
.topnav-links a.is-active { background: var(--accent-soft); color: var(--accent); }

/* ---------------- Hero ---------------- */
.hero { padding: 64px 0 40px; text-align: center; background: linear-gradient(180deg, #eef3fd 0%, #ffffff 100%); }
.title { font-size: 40px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin: 0 auto 18px; max-width: 960px; }
.venue {
  display: inline-block; margin: 0 0 14px; padding: 5px 16px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px; letter-spacing: .02em;
}
.authors { margin: 0 0 26px; }
.authors p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.authors sup { font-size: .68em; margin-left: 1px; }
.author-list { gap: 4px 22px; font-size: 18px; font-weight: 600; color: var(--ink); }
.authors .affiliations { gap: 2px 18px; margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.authors .corresponding { margin-top: 6px; font-size: 13px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; line-height: 1;
  border: 1px solid var(--ink); transition: transform .15s, background .15s;
}
.btn:hover { text-decoration: none; background: #34405a; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn small { font-weight: 500; opacity: .75; font-size: 12px; }
.btn.is-disabled { background: #8f98ac; border-color: #8f98ac; cursor: default; pointer-events: none; }
.btn.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.btn-light:hover { background: var(--band); }

/* ---------------- Figures ---------------- */
.figure { margin: 0 0 40px; }
.figure:last-child { margin-bottom: 0; }
.figure img { border-radius: var(--radius); }
.figure figcaption { color: var(--muted); font-size: 15px; margin: 14px auto 0; max-width: 900px; text-align: center; }
.figure figcaption .cap-line { display: block; }
.figure figcaption .cap-line + .cap-line { margin-top: 4px; }
.teaser img { box-shadow: var(--shadow); }
.band .figure img { background: #fff; padding: 14px; box-shadow: var(--shadow); }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* ---------------- Overview ---------------- */
#overview { padding-top: 16px; }
.stats {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.stats li { padding: 18px 12px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--ink-soft); }
.abstract { max-width: 860px; margin: 64px auto 0; }
.abstract p { text-align: justify; hyphens: auto; color: var(--ink-soft); margin: 0; }

/* ---------------- Demo ---------------- */
.demo-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 22px; max-width: 980px; }
.demo-tab {
  font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; line-height: 1.2;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
}
.demo-tab:hover { border-color: #c9d6f7; color: var(--ink); }
.demo-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo-tab.is-teaser { border-color: #ead9b7; background: var(--cream); color: var(--cream-ink); }
.demo-tab.is-teaser[aria-selected="true"] { background: var(--cream-ink); border-color: var(--cream-ink); color: #fff; }

.demo {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px;
}
.frame { position: relative; border-radius: 10px; overflow: hidden; background: #0f1320; aspect-ratio: 16 / 9; }
.frame img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.zoom-btn {
  position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: none; border-radius: 999px; background: rgba(15, 19, 32, .78); color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.zoom-btn:hover { background: rgba(15, 19, 32, .94); }
.frame-badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 19, 32, .78); color: #fff; font-size: 13px; font-weight: 600;
}
.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 14px; }
.move {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--band); color: var(--ink); line-height: 1.25;
}
.move small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.move:hover:not(:disabled) { background: var(--accent-soft); border-color: #c9d6f7; }
.move:disabled { opacity: .45; cursor: not-allowed; }
.key {
  display: inline-block; min-width: 22px; padding: 0 5px; border-radius: 6px; font-family: "JetBrains Mono", monospace;
  font-size: 13px; background: var(--ink); color: #fff;
}
.ring { width: 112px; height: 112px; }
.ring .scene { fill: var(--cream); stroke: #ead9b7; }
.ring .cam { fill: #fff; stroke: #aab3c5; stroke-width: 1.5; }
.ring .cam.visited { fill: var(--accent-soft); stroke: var(--accent); }
.ring .cam.current { fill: var(--accent); stroke: var(--accent); }
.ring text { font: 600 9px "Inter", sans-serif; fill: var(--ink-soft); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.ring .cam.current + text { fill: #fff; }
.meter { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); text-align: center; }
.meter b { color: var(--ink); }
.hint { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.link-btn { font: inherit; font-weight: 600; color: var(--accent); background: none; border: none; padding: 0; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

.demo-panel { display: flex; flex-direction: column; min-width: 0; }
.chip {
  align-self: flex-start; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--cream); color: var(--cream-ink); font-size: 13px; font-weight: 600;
}
.question { font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.options { display: flex; flex-direction: column; gap: 8px; }
.option {
  font: inherit; font-size: 15px; text-align: left; cursor: pointer; display: grid; grid-template-columns: 26px 1fr; gap: 8px;
  padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); line-height: 1.4;
}
.option:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.option b { color: var(--accent); }
.option:disabled { cursor: default; }
.option.correct { border-color: var(--good); background: var(--good-soft); }
.option.wrong { border-color: var(--bad); background: var(--bad-soft); }

.result { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--band); font-size: 15px; }
.result .verdict { font-weight: 700; margin: 0 0 6px; }
.result .verdict.good { color: var(--good); }
.result .verdict.bad { color: var(--bad); }
.result p { margin: 0 0 8px; }
.models { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.models li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.models .name { font-weight: 600; }
.models .path { grid-column: 1 / -1; font-size: 13px; color: var(--muted); font-family: "JetBrains Mono", monospace; }
.tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.tag.good { background: var(--good-soft); color: var(--good); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.reset {
  align-self: flex-start; margin-top: 14px; font: inherit; font-size: 14px; cursor: pointer;
  background: none; border: none; color: var(--accent); padding: 4px 0;
}

/* Full-resolution viewer */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: rgba(9, 12, 20, .97); }
.lightbox[hidden] { display: none; }
.lightbox-stage {
  flex: 1; min-height: 0; position: relative; overflow: hidden; padding: 56px 16px 8px;
  display: flex; align-items: center; justify-content: center; touch-action: none; cursor: grab;
}
.lightbox-stage.is-dragging { cursor: grabbing; }
.lightbox-stage img {
  max-width: 100%; max-height: 100%; border-radius: 6px; transform-origin: center;
  user-select: none; -webkit-user-drag: none; will-change: transform;
}
.lightbox-close {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid #374151; background: #1f2937; color: #e5e7eb; font-size: 16px; cursor: pointer;
}
.lightbox-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px;
  padding: 10px 16px 4px; color: #e5e7eb; font-size: 14px;
}
.lightbox-nav, .lightbox-zoom { display: inline-flex; align-items: center; gap: 8px; }
.lightbox-zoom button, .lightbox-move {
  font: inherit; font-weight: 600; min-width: 36px; height: 34px; padding: 0 10px; border-radius: 8px;
  border: 1px solid #374151; background: #1f2937; color: #e5e7eb; cursor: pointer;
}
.lightbox-move { padding: 0 14px; background: #24365f; border-color: #3b528a; }
.lightbox-move:disabled { opacity: .4; cursor: not-allowed; }
.lightbox:not(.is-demo) .lightbox-move { display: none; }
.lightbox-zoom button:hover, .lightbox-close:hover { background: #374151; }
.lightbox-move:hover:not(:disabled) { background: #2f4579; }
.lightbox-scale { min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.lightbox-hint { margin: 0 0 12px; padding: 0 16px; text-align: center; color: #9ca3af; font-size: 13px; }
body.lightbox-open { overflow: hidden; }

/* ---------------- Benchmark ---------------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; margin: 0 0 40px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; min-width: 0; }
.panel .table-wrap { border: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
th { background: var(--band); font-weight: 600; color: var(--ink-soft); font-size: 14px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tasks td[rowspan] { font-weight: 600; color: var(--ink-soft); white-space: normal; border-right: 1px solid var(--line); }
table.tasks tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.settings { margin: 0; }
.settings dt { font-weight: 700; margin-top: 16px; }
.settings dt:first-child { margin-top: 0; }
.settings dd { margin: 4px 0 0; color: var(--ink-soft); }
.pill { display: inline-block; padding: 1px 10px; margin-right: 6px; border-radius: 999px; font-size: 13px; }
.pill.active { background: var(--accent-soft); color: var(--accent); }
.pill.passive { background: var(--cream); color: var(--cream-ink); }

/* ---------------- Findings ---------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .big, .finding .big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--accent); margin: 0 0 8px; white-space: nowrap; }
.card .big small, .finding .big small { font-size: 15px; font-weight: 600; color: var(--muted); }
.card h3, .finding h4 { font-size: 18px; margin: 0 0 6px; }
.card p, .finding p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.section:not(.band) .card, .section:not(.band) .setting-card { border: 1px solid var(--line); }
.card-no { display: block; margin: 0 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9aa3b5; }

/* The 15 findings of the paper, grouped by evaluation setting */
.finding-group + .finding-group { margin-top: 56px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-index { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.group-head h3 { margin: 0; font-size: 22px; }
.group-head p { flex-basis: 100%; margin: 4px 0 0; font-size: 15.5px; color: var(--ink-soft); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.setting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.setting-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.setting-card.span-2 { grid-column: span 2; }
.setting-tag {
  align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 700;
}
.setting-card .setup { margin: 8px 0 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.finding-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.finding-pair .finding + .finding { padding-left: 24px; border-left: 1px solid var(--line); }

/* ---------------- Failure cases ---------------- */
.case-tabs { display: flex; flex-direction: column; gap: 10px; margin: 0 auto 22px; }
.case-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.case-group {
  width: 64px; text-align: right; margin-right: 2px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.case { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.case-zoom { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.case-zoom img { margin: 0 auto; border-radius: 8px; }
.case-body { max-width: 900px; margin: 18px auto 0; }
.case-meta { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.case h3 { font-size: 20px; margin: 0 0 10px; }
.case-body p { margin: 0 0 10px; font-size: 15.5px; color: var(--ink-soft); }
.case-body p:last-child { margin-bottom: 0; }
.case-body .case-q { color: var(--ink); }
.case-quote {
  margin: 0 0 10px; padding: 6px 14px; border-left: 3px solid var(--line); font-size: 15px; font-style: italic; color: var(--ink-soft);
}
.case-quote b { font-style: normal; color: var(--ink); }
.case-legend {
  display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center;
  max-width: 940px; margin: 16px auto 0; font-size: 14px; color: var(--muted);
}
.sw { display: inline-block; width: 13px; height: 13px; margin-right: 6px; border: 3px solid; border-radius: 3px; vertical-align: -1px; }
.sw-start { border-color: #e67e22; }
.sw-visit { border-color: #2962ff; }
.sw-none { border-color: #aaaaaa; }
.sw-evid { border-color: #00c853; }
.sw-ref { border-color: #ffd600; }

/* ---------------- Results ---------------- */
.results-wrap { max-width: 940px; margin: 0 auto; }
table.results tr.group td { background: var(--band); font-weight: 700; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
table.results tr.ref td { color: var(--muted); }
table.results td.drop { color: var(--bad); font-weight: 600; }
table.results tbody tr:not(.group):hover td { background: #fafbfe; }
table.results th { white-space: normal; vertical-align: bottom; }

.table-note { max-width: 940px; margin: 12px auto 0; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------------- BibTeX & footer ---------------- */
.bibtex { position: relative; }
.bibtex pre {
  margin: 0; padding: 46px 20px 18px; border-radius: var(--radius); background: #111827; color: #e5e7eb;
  font: 13.5px/1.6 "JetBrains Mono", monospace; overflow-x: auto;
}
.copy {
  position: absolute; top: 10px; right: 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 5px 12px; border-radius: 8px; border: 1px solid #374151; background: #1f2937; color: #e5e7eb;
}
.bibtex-soon { margin: 0; text-align: center; color: var(--muted); }
.ack-title { margin-top: 56px; scroll-margin-top: var(--nav-h); }
.ack { color: var(--ink-soft); margin: 0; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .cards, .cards.three, .setting-grid { grid-template-columns: repeat(2, 1fr); }
  /* keep the finding order: the expanded-selection card takes one column and stacks its two findings */
  .setting-card.span-2 { grid-column: auto; }
  .finding-pair { grid-template-columns: 1fr; gap: 0; }
  .finding-pair .finding + .finding { margin-top: 18px; padding: 18px 0 0; border-left: none; border-top: 1px solid var(--line); }
  table.results th, table.results td { padding: 8px 10px; }
  .demo { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topnav-brand { display: none; }
  .topnav-links { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li + li { border-left: none; }
  .stats li { border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: none; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:last-child { grid-column: 1 / -1; border-left: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 50px; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 28px; }
  .title { font-size: 25px; }
  h2 { font-size: 24px; }
  .lead { margin-bottom: 24px; }
  .cards, .cards.three, .setting-grid { grid-template-columns: 1fr; }
  .group-head h3 { font-size: 19px; }
  .finding-group + .finding-group { margin-top: 40px; }
  .demo { padding: 12px; gap: 18px; }
  .controls { grid-template-columns: 1fr 1fr; }
  .ring { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .demo-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 16px 6px; margin: 0 -16px 18px; scrollbar-width: thin; }
  .demo-tab, .case-group { flex: 0 0 auto; }
  .case-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 16px 6px; margin: 0 -16px; scrollbar-width: thin; }
  .case-group { width: auto; text-align: left; }
  .case { padding: 12px; }
  .case h3 { font-size: 18px; }
  .abstract { margin-top: 40px; }
  .abstract p { text-align: left; }
  .band .figure img { padding: 6px; }
  .figure.wide img { min-width: 900px; }   /* keep the 4-panel GRPO plot readable; scroll sideways */
  /* keep model names visible while the results table scrolls sideways */
  table.results th:first-child, table.results td:first-child {
    position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line);
  }
  table.results th:first-child { background: var(--band); }
  table.results tr.group td:first-child { position: static; box-shadow: none; background: var(--band); }
  table.results tr.group td span { position: sticky; left: 10px; }
  .panel { padding: 16px; }
}
