/* A white page, quiet gray structure, color only where it identifies a model or a phase. Every colour
   token is set here, once for light and once for dark (the dark set twice: for a system in dark mode, and
   for the switch in the bar). The type: Inter for text and numbers, Zilla Slab (from fonts/) for titles
   and the name. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --field: #ffffff;
  --ink: #111316;
  --ink-2: #4a5056;
  --ink-3: #676e76;
  --rule: #e6e7e8;
  --rule-soft: #f0f1f2;
  --wash: #f5f6f7;
  --wash-2: #eceef0;
  --good: #0a7d0a;
  --warn: #9a6200;
  --bad: #c23535;
  --gpu: rgba(17, 19, 22, 0.12);
  --gpu-line: rgba(17, 19, 22, 0.4);
  --gpu-h100: #857d70; --gpu-b200: #828c4c; --gpu-other: #a3a8ad;
  --gpu-strip: #aab0b6;
  --ph-prep: #cfd6dc; --ph-prep-ink: #111316;
  --ph-experiments: #e2ab3c; --ph-experiments-ink: #111316;
  --ph-train: #2f3e4c; --ph-train-ink: #ffffff;
  --ph-finish: #9b8fc6; --ph-finish-ink: #111316;
  --mx-1: #2f3e4c; --mx-2: #55677a; --mx-3: #7b8b9b; --mx-4: #9aa7b4; --mx-5: #b6c0ca; --mx-6: #cfd6dc; --mx-7: #e4e8ec; --mx-ink: #ffffff;
  --mx-3-ink: #111316; --mx-4-ink: #111316;
  --run-1: #2a78d6; --run-2: #eb6834; --run-3: #1baf7a; --run-4: #eda100;
  --run-5: #e87ba4; --run-6: #008300; --run-7: #7173d7; --run-8: #e34948;
  --kin: 60%;
  --claude-1: #cb6f4f; --claude-2: #964a2f; --claude-3: #e6a189;
  --openai-1: #1f9e74; --openai-2: #007653; --openai-3: #7bc7a6;
  --google-1: #4f90d5; --google-2: #2e65a0; --google-3: #8ab8ec;
  --meta-1: #d99a1e; --meta-2: #a17422; --meta-3: #f2ca8d;
  --kimi-1: #d07399; --kimi-2: #9c4e6f; --kimi-3: #eda6c1;
  --zai-1: #7173d7; --zai-2: #4e4fa1; --zai-3: #a4aaf0;
  --lab-bar: #aeb3ba; --lab-wash: #f4f5f6; /* a lab model's bar: its outline and slanted lines, over a faint gray */
  --shadow: 0 2px 10px rgba(17, 19, 22, 0.08); /* only on what floats: menus, the tooltip, the pick bar */
  --ref-line: #93b0e2; --ref-wash: rgba(96, 144, 222, 0.13); --ref-ink: #4f6fa8;
  --pc-warm: #c2571a; --pc-cool: #2a72b8;
  /* no accent colour for now: the mark, the name and the current tab are plain ink. The two tokens stay, so a colour can come back in one line */
  --accent: var(--ink); --accent-ink: var(--ink);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Zilla Slab", "Charter", "Iowan Old Style", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121315; --surface: #1b1c1f; --field: #1e1f22; --ink: #d3d5d8; --ink-2: #a0a4aa; --ink-3: #82878e;
    --rule: #2b2d31; --rule-soft: #1f2023; --wash: #1c1d20; --wash-2: #26282b;
    --good: #63bb73; --warn: #dba751; --bad: #df7372;
    --gpu: rgba(211, 213, 216, 0.13); --gpu-line: rgba(211, 213, 216, 0.42);
    --gpu-h100: #8f887c; --gpu-b200: #949c60; --gpu-other: #6c737a; --gpu-strip: #50575e;
    --ph-prep: #45494e; --ph-prep-ink: #d3d5d8; --ph-experiments: #d49a1c; --ph-experiments-ink: #121315;
    --ph-train: #868b92; --ph-train-ink: #121315; --ph-finish: #9a8ad1; --ph-finish-ink: #121315;
    --mx-1: #b7bcc2; --mx-2: #979ca3; --mx-3: #7c8189; --mx-4: #62676e; --mx-5: #4c5056; --mx-6: #3a3d42; --mx-7: #2c2e32; --mx-ink: #121315;
    --mx-3-ink: #121315; --mx-4-ink: #eef0f2;
    --run-1: #3987e5; --run-2: #d95926; --run-3: #199e70; --run-4: #c98500;
    --run-5: #d55181; --run-6: #008300; --run-7: #8b90f0; --run-8: #e66767;
    --kin: 50%;
    --claude-1: #dc7f5e; --claude-2: #f1aa92; --claude-3: #af5d40;
    --openai-1: #3bb388; --openai-2: #84d1af; --openai-3: #148c66;
    --google-1: #5e9fe6; --google-2: #93c2f7; --google-3: #407ab9;
    --meta-1: #dca23a; --meta-2: #f2ca8d; --meta-3: #af7f2a;
    --kimi-1: #d7799f; --kimi-2: #eda6c1; --kimi-3: #ab587b;
    --zai-1: #8b90f0; --zai-2: #b1b7fd; --zai-3: #6a6cc2;
    --lab-bar: #5c6068; --lab-wash: #1a1b1e;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    --ref-line: #5f7fb4; --ref-wash: rgba(110, 150, 225, 0.14); --ref-ink: #8fabd9;
    --pc-warm: #c8643a; --pc-cool: #4f8fd6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121315; --surface: #1b1c1f; --field: #1e1f22; --ink: #d3d5d8; --ink-2: #a0a4aa; --ink-3: #82878e;
  --rule: #2b2d31; --rule-soft: #1f2023; --wash: #1c1d20; --wash-2: #26282b;
  --good: #63bb73; --warn: #dba751; --bad: #df7372;
  --gpu: rgba(211, 213, 216, 0.13); --gpu-line: rgba(211, 213, 216, 0.42);
  --gpu-h100: #8f887c; --gpu-b200: #949c60; --gpu-other: #6c737a; --gpu-strip: #50575e;
  --ph-prep: #45494e; --ph-prep-ink: #d3d5d8; --ph-experiments: #d49a1c; --ph-experiments-ink: #121315;
  --ph-train: #868b92; --ph-train-ink: #121315; --ph-finish: #9a8ad1; --ph-finish-ink: #121315;
  --mx-1: #b7bcc2; --mx-2: #979ca3; --mx-3: #7c8189; --mx-4: #62676e; --mx-5: #4c5056; --mx-6: #3a3d42; --mx-7: #2c2e32; --mx-ink: #121315;
  --mx-3-ink: #121315; --mx-4-ink: #eef0f2;
  --run-1: #3987e5; --run-2: #d95926; --run-3: #199e70; --run-4: #c98500;
  --run-5: #d55181; --run-6: #008300; --run-7: #8b90f0; --run-8: #e66767;
  --kin: 50%;
  --claude-1: #dc7f5e; --claude-2: #f1aa92; --claude-3: #af5d40;
  --openai-1: #3bb388; --openai-2: #84d1af; --openai-3: #148c66;
  --google-1: #5e9fe6; --google-2: #93c2f7; --google-3: #407ab9;
  --meta-1: #dca23a; --meta-2: #f2ca8d; --meta-3: #af7f2a;
  --kimi-1: #d7799f; --kimi-2: #eda6c1; --kimi-3: #ab587b;
  --zai-1: #8b90f0; --zai-2: #b1b7fd; --zai-3: #6a6cc2;
  --lab-bar: #5c6068; --lab-wash: #1a1b1e;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  --ref-line: #5f7fb4; --ref-wash: rgba(110, 150, 225, 0.14); --ref-ink: #8fabd9;
  --pc-warm: #c8643a; --pc-cool: #4f8fd6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
i { font-style: normal; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
/* a link reached by Tab is not left under the compare page's sticky heads */
@media (min-width: 721px) { html:has(.compare-sticky) { scroll-padding-top: 76px; } }
#view:focus { outline: none; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 14px/1.45 var(--font); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: 26px; line-height: 1.15; }
h2 { font-size: 17px; line-height: 1.3; }
h3 { font-size: 14px; }
p { margin: 0; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.swatch { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }

.page { max-width: 1328px; margin: 0 auto; padding-inline: 24px; padding-block: 0 36px; }
@media (max-width: 640px) { .page { padding-inline: 16px; } }

/* Top bar */
/* The top bar: the name at the left, plain links at the right on one line that can grow to eight
   or so, the current one underlined in the accent colour on the bar's own rule. No tray, no badges. A narrow
   page puts the links on a row of their own that scrolls sideways. */
.top { display: flex; align-items: stretch; gap: 30px; height: 52px; border-bottom: 1px solid var(--rule); }
.mark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--head); font-size: 19.5px; font-weight: 600; letter-spacing: -0.005em; } /* the name in the title face */
/* the mark: sixteen dots for the sixteen GPUs and a loss curve ending in a red dot (blog/shared/logo-mark.svg), unboxed, in the text colour */
.mark-icon { width: 24px; height: 24px; flex: none; margin-block: -2px; color: var(--ink); overflow: visible; } /* never clipped: the red dot reaches the edge of the drawing box */
.tabs { display: flex; gap: 28px; min-width: 0; margin: 0 0 -1px auto; }
.tabs a { display: inline-flex; align-items: center; padding-top: 2px; border-bottom: 2px solid transparent; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
/* The bar's links fill its height so the accent line can sit on the rule; their focus ring goes round the words instead. */
.top .mark, .tabs a { position: relative; }
.top .mark:focus-visible, .tabs a:focus-visible { outline: none; }
.top .mark:focus-visible::after, .tabs a:focus-visible::after { content: ""; position: absolute; left: -7px; right: -7px; top: 50%; height: 30px; margin-top: -15px; border: 2px solid var(--ink); border-radius: 7px; pointer-events: none; }
@media (max-width: 720px) {
  .top { flex-wrap: wrap; height: auto; column-gap: 16px; row-gap: 0; }
  .mark { height: 48px; }
  .tabs { order: 3; width: calc(100% + 18px); height: 40px; gap: 16px; justify-content: space-between; margin-inline: -9px; padding-inline: 9px; overflow-x: auto; scrollbar-width: none; }
  .top .theme-toggle { margin-left: auto; }
  .tabs::-webkit-scrollbar { display: none; }
}

/* Buttons and small controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding-inline: 15px; border-radius: 7px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font: 600 13.5px/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { opacity: 0.86; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink-3); opacity: 1; }
.btn.small { height: 28px; padding-inline: 12px; font-size: 12.5px; }
/* the light and dark switch: it shows the mode a click goes to */
.theme-toggle { display: grid; place-items: center; align-self: center; width: 34px; height: 34px; margin: 0 -8px 0 -10px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { color: var(--ink); background: var(--wash); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle[data-to="dark"] .to-light, .theme-toggle[data-to="light"] .to-dark, .theme-toggle:not([data-to]) .to-light { display: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.linkish:hover { color: var(--ink); text-decoration-color: currentColor; }
/* A row of choices: a hairline box, the chosen one on a gray fill, no shadow */
.seg { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 2px; gap: 2px; border: 1px solid var(--rule); border-radius: 7px; }
.seg button {
  border: 0; background: transparent; color: var(--ink-2); font: 500 12.5px/1 var(--font);
  height: 28px; padding-inline: 13px; border-radius: 5px; cursor: pointer; white-space: nowrap;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--wash-2); color: var(--ink); }
.seg button:not([aria-pressed="true"]):hover { background: var(--wash); }
/* A button of its own beside a row of choices: outlined when off, filled when on. */
.view-3d {
  display: inline-flex; align-items: center; gap: 7px; flex: none; height: 34px; padding-inline: 14px 16px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 600 12.5px/1 var(--font); white-space: nowrap;
}
.view-3d:hover { border-color: var(--ink-3); }
.view-3d[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

input, textarea, select {
  font: inherit; color: var(--ink); background: var(--field);
  border: 1px solid var(--rule); border-radius: 6px; padding: 7px 10px; width: 100%; min-width: 0;
}
input:hover, textarea:hover, select:hover { border-color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; }
textarea { resize: vertical; min-height: 64px; line-height: 1.45; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 0.8; }

.empty { padding: 72px 0; display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 52ch; margin: 0 auto; }
.empty p { color: var(--ink-2); }
/* Before the data arrives: the words sit where a page starts, the foot stays below the fold, and a fast load shows nothing. */
.loading { min-height: calc(100vh - 52px); padding-top: 72px; text-align: center; animation: loading-in 0.2s 0.4s both; }
@keyframes loading-in { from { opacity: 0; } }

/* Leaderboard */
.board-head { display: flex; flex-wrap: wrap-reverse; align-items: flex-start; justify-content: space-between; gap: 14px 24px; padding-top: 26px; border-bottom: 1px solid var(--rule); }
.cue { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--good); white-space: nowrap; }
.cue-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.lb-head svg { margin-left: 4px; opacity: 0.6; }
.ref-swatch { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink-3); }

/* Two leaderboards, one tab each: test BPB, then the few-shot benchmarks */
.board-tabs { display: flex; gap: 28px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.board-tabs::-webkit-scrollbar { display: none; }
/* the page's choices, behind one button at the right end of the sub-tabs */
.fmenu { position: relative; margin-left: auto; padding-bottom: 8px; }
.fmenu > summary { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px 0 11px; border: 1px solid var(--rule); border-radius: 7px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); user-select: none; }
.fmenu > summary::-webkit-details-marker { display: none; }
.fmenu > summary:hover, .fmenu[open] > summary { border-color: var(--ink-3); color: var(--ink); }
.fmenu-n { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 4px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 600; line-height: 17px; text-align: center; font-variant-numeric: tabular-nums; }
.fmenu-panel { position: absolute; z-index: 40; right: 0; top: calc(100% - 2px); display: grid; gap: 14px; width: max-content; max-width: min(400px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }
.fmenu-row { display: grid; gap: 6px; }
.fmenu-row > span { font-size: 12px; color: var(--ink-3); }
.fmenu-row .seg { justify-self: start; }
.fmenu-row .seg button { font-size: 12.5px; }
.fmenu-reset { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; cursor: pointer; }
.fmenu-reset:hover { color: var(--ink); text-decoration-color: var(--ink); }
.board-tabs a {
  position: relative; padding: 2px 0 11px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink-3); text-decoration: none; white-space: nowrap;
}
.board-tabs a > svg { margin-left: 6px; vertical-align: 1px; opacity: 0.55; }
.board-tabs a[aria-current="page"] > svg { opacity: 1; color: var(--good); }
@media (max-width: 560px) { .board-tabs { gap: 16px; } .board-tabs a { font-size: 16px; } .board-tabs a > svg { margin-left: 4px; } }
@media (max-width: 360px) { .board-tabs { gap: 11px; } .board-tabs a { font-size: 14px; } }
/* the scrolling row keeps the active line whole, on the rule */
.board-tabs { padding-bottom: 1px; margin-bottom: -1px; }
@media (max-width: 560px) { .board-tabs.is-long { gap: 8px; } .board-tabs.is-long a { font-size: min(14px, 3.6vw); } }
@media (max-width: 720px) {
  .board-head { position: relative; }
  /* on a phone Filters joins the "Higher is better" row instead of taking a row above the tabs */
  .board-head:has(+ #board-bench, + #board-bpb) .fmenu { position: absolute; right: 0; top: calc(100% + 12px); padding-bottom: 0; z-index: 5; }
}
@media (max-width: 360px) { .board-tabs.is-long { gap: 9px; } .board-tabs.is-long a { font-size: 12.5px; } }
.board-tabs a:hover { color: var(--ink-2); }
.board-tabs a[aria-current="page"] { color: var(--ink); }
.board-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }

/* Wide data stays readable and scrolls within the page. */
.chart-scroll, .compare-scroll, .bench-scroll {
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.chart-scroll, .compare-scroll { container-type: inline-size; padding-bottom: 10px; }
.chart-scroll > .bc-frame { min-width: calc(var(--n) * 84px + var(--axis)); }
.scroll-hint { margin-block: 8px; color: var(--ink-3); font-size: 12px; }
.comparison .scroll-hint { margin: 0; padding-top: 8px; text-align: right; font-size: 11.5px; }
.method-note { margin-top: 12px; font-size: 12px; color: var(--ink-2); max-width: 86ch; }
.method-note > summary { display: flex; align-items: center; gap: 8px; width: fit-content; list-style: none; cursor: pointer; padding-block: 6px; font-size: 13px; font-weight: 500; }
.method-note > summary::-webkit-details-marker { display: none; }
.method-note > summary::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.method-note[open] > summary::before { transform: rotate(45deg); }
.method-note > summary:hover { color: var(--ink); }
.method-note > p { padding-top: 6px; line-height: 1.6; }

table.board { width: 100%; border-collapse: collapse; min-width: 860px; }
.board th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.board td { padding: 12px 10px; border-bottom: 1px solid var(--rule-soft); vertical-align: middle; white-space: nowrap; }
.board .r { text-align: right; }
.board tbody tr { cursor: pointer; }
.board tbody tr:hover td { background: var(--wash); }
.paper-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 500; line-height: 19px; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.paper-link:hover { color: var(--ink); text-decoration: underline; }
.paper-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 720px) {
  table.board { min-width: 0; }
  .board .wide-only { display: none; }
  .board td, .board th { padding-inline: 8px; }
}
.approx { color: var(--ink-3); margin-right: 3px; }

/* A board: one row per trained model, a zoomed strip down the rows, further right is better. */
.lb-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 14px 10px; }
.lb-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-left: auto; }
.lb-controls .cue { margin-left: 0; }
/* Each Pareto view starts its controls at the same edge. Extra controls wrap after the shared ones. */
html:has(#board-pareto) { overflow-y: scroll; }
#board-pareto .lb-controls { width: 100%; margin-left: 0; align-items: flex-start; }
#board-pareto .lb-controls > .seg { flex: none; }
@media (max-width: 560px) {
  #board-pareto #pareto-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  #board-pareto #pareto-views button { height: auto; min-height: 38px; padding: 4px 6px; line-height: 1.2; white-space: normal; }
}
#board-pareto .lb-controls > .cue-line { align-self: center; }
@media (min-width: 1050px) {
  #board-pareto .lb-controls > .cue-line { margin-inline-start: auto; }
}
/* every scored model as a bar, best first, over the table */
.lb-chart { padding-block: 8px 22px; }
/* the bars sit close together, in columns of a set width, over quiet lines at round scores */
.bc-frame { --plot: calc(300px * var(--grow, 1)); --axis: 34px; position: relative; isolation: isolate; padding: 26px 0 0 var(--axis); }
.bc-grid { position: absolute; left: var(--axis); right: 0; top: 26px; height: var(--plot); pointer-events: none; }
.bc-grid { z-index: -1; }
.bc-grid i { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule-soft); }
.bc-grid i:first-child { border-top-color: transparent; }
.bc-grid span { position: absolute; right: 100%; top: -0.5px; transform: translateY(-50%); padding-right: 9px; font-size: 11px; font-style: normal; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.bar-chart { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 112px)); justify-content: center; }
.bc-col { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; text-decoration: none; color: inherit; }
.bc-col > :not(.bc-plot) { max-width: calc(100% - 8px); }
/* Only the bar, its score and the name under it answer the pointer: the empty plot above a bar opens
   no box and is no link. */
.bc-col, .bc-plot { pointer-events: none; }
.bc-plot > *, .bc-col > :not(.bc-plot) { pointer-events: auto; }
.bc-plot { box-sizing: content-box; height: var(--plot); width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--rule); }
.bc-val { position: relative; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; padding-bottom: 6px; }
.bc-best { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; color: var(--good); }
.bc-col:first-child .bc-best { left: 0; transform: none; }
.bc-col:last-child:not(:first-child) .bc-best { left: auto; right: 0; transform: none; }
.bc-bar { display: block; flex: none; width: 78%; height: var(--h); border-radius: 2px 2px 0 0; }
/* a bar cut short: a slanted gap near its top, in the page's own color */
/* an agent's average: the bar under a short black line one standard error either side of it */
.bc-stack { position: relative; flex: none; display: flex; align-items: flex-end; width: 78%; height: var(--h); }
.bc-stack .bc-bar { width: 100%; }
.bc-ci { position: absolute; top: 0; bottom: var(--b); left: 50%; width: 1.5px; margin-left: -0.75px; background: var(--ink); }
.bc-ci::before, .bc-ci::after { content: ""; position: absolute; left: -3px; right: -3px; height: 1.5px; background: var(--ink); }
.bc-ci::before { top: 0; }
.bc-ci::after { bottom: 0; }
.bc-bar.is-cut { position: relative; }
/* a bar that starts below the chart: a short one with the same break */
.bc-bar.is-low { height: 32px; }
.bc-bar.is-cut.is-low::after { top: 11px; }
.bc-bar.is-cut::after { content: ""; position: absolute; left: -4px; right: -4px; top: 16px; height: 7px; background: var(--bg); transform: skewY(-14deg); }
/* a lab model's bar: a faint gray under thin gray slanted lines and a hairline edge, so it reads apart from an agent's solid colour.
   The lines are counted from the bar's foot, so they hold still while the bar grows. */
.bc-col.is-ref .bc-bar, .lb-tbar-track i.is-lab {
  box-sizing: border-box; border: 1px solid var(--lab-bar);
  background: repeating-linear-gradient(315deg, transparent 0 3.75px, var(--lab-bar) 4.25px 5px, transparent 5.5px 6px), var(--lab-wash);
}
.bc-col.is-ref .bc-bar { border-bottom: 0; }
.bc-col.is-ref .bc-val { color: var(--ink-2); font-weight: 500; }
a.bc-col:hover .bc-name { text-decoration: underline; }
a.bc-col:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.bc-name { margin-top: 7px; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.bc-col.is-ref .bc-name { color: var(--ink-2); font-weight: 600; }
.bc-col small { margin-top: 2px; font-size: 11px; line-height: 1.3; color: var(--ink-3); }
.bc-col small span { white-space: nowrap; }
.bc-col small .bc-kind { display: block; }
.bc-col .lb-flag { margin-top: 5px; white-space: normal; line-height: 1.3; }
.lb-chart-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.lb-chart-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }

/* The front page, read top to bottom: the name, a row with the task and the links, the chart, the table, how a run is scored, the other charts, the team */
.front { padding-top: 26px; }
/* the name in the launch post's title face, and under it the task in one sentence */
.front-title { font-family: var(--head); font-size: 38px; line-height: 1.15; font-weight: 600; letter-spacing: -0.018em; text-align: center; }
.front-sub { margin: 0; text-align: center; font-size: 16px; line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
/* an agent's runs, in the box that pointing at its bar or row opens */
.tip:has(.run-card) { max-width: 440px; padding: 10px 12px 9px; white-space: normal; }
.run-card { display: grid; grid-template-columns: repeat(var(--cols), auto); column-gap: 18px; row-gap: 4px; margin-block: 8px 7px; font-variant-numeric: tabular-nums; }
.run-card span { text-align: right; white-space: nowrap; color: var(--ink-2); }
.run-card .rc-h { font-size: 11px; color: var(--ink-3); }
.run-card .is-on { font-weight: 650; color: var(--ink); }
.run-card .rc-h.is-on { font-weight: 600; }
.run-card .rc-sum { margin-top: 2px; padding-top: 5px; border-top: 1px solid var(--rule); }
.run-card .rc-avg { grid-column: span 2; font-size: 11px; color: var(--ink-3); }
.tip b .rc-n { margin-left: 8px; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.rc-foot { font-size: 11.5px; color: var(--ink-3); }
.front-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 24px; }
.front-head .seg button { height: 30px; }
.front .lb-chart { padding-block: 6px 0; }
/* the chart is as wide as its bars need and sits in the middle, so it stays compact as agents are added */
.front .bc-frame { --plot: calc(184px * var(--grow, 1)); --axis: 0px; --col: 72px; width: fit-content; max-width: 100%; margin-inline: auto; }
/* under a bar the maker's logo is a quiet marker, not a picture */
.bc-col .maker-mark, .bc-col .maker-mark svg { width: 18px; height: 18px; }
.bc-col .maker-mark { margin-top: 9px; }
.bc-col .bc-name { margin-top: 5px; }
.front .bc-col.is-ref > :not(.bc-plot) { max-width: calc(100% - 3px); }
.bc-model { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 400; line-height: 1.3; color: var(--ink-3); }
.front .bc-col.is-ref > small { font-size: 10.5px; margin-top: 0; }
.front .bc-grid { display: none; }
.front .chart-scroll > .bc-frame { min-width: calc(var(--n) * 25px); }
.front .bar-chart { grid-template-columns: repeat(var(--n), minmax(0, var(--col))); }
.front .bc-bar, .front .bc-stack { width: min(42px, 68%); }
.front .bc-stack .bc-bar { width: 100%; }
.front .chart-scroll { padding-bottom: 4px; }
.bc-key { margin-top: 12px; gap: 4px 18px; justify-content: center; }
/* each sign sits on its text's first line, so a wrapped item still reads */
.bc-key span { display: inline-flex; align-items: flex-start; gap: 6px; line-height: 17px; }
.bc-key i { display: inline-block; flex: none; }
.bc-key .key-se { position: relative; width: 1.5px; height: 11px; margin: 3px 2px 0 3px; background: var(--ink); }
.bc-key .key-se::before, .bc-key .key-se::after { content: ""; position: absolute; left: -3px; right: -3px; height: 1.5px; background: var(--ink); }
.bc-key .key-se::before { top: 0; }
.bc-key .key-se::after { bottom: 0; }
.bc-key .key-lab { width: 18px; height: 11px; margin-top: 3px; box-sizing: border-box; border: 1px solid var(--lab-bar); background: repeating-linear-gradient(315deg, transparent 0 3.75px, var(--lab-bar) 4.25px 5px, transparent 5.5px 6px), var(--lab-wash); }
/* The average / best run flip: a text link in the key, not a second switch. */
.bc-key span.key-text { display: inline; }
.bc-key .key-pick { white-space: nowrap; font: inherit; line-height: inherit; color: inherit; background: none; border: 0; padding: 0; margin-left: 4px; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
.bc-key .key-pick:hover { color: var(--ink); text-decoration-color: currentColor; }
.bc-key .key-pick:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
/* The other charts, a card each: a small drawing over its name */
.front-more { margin-top: 40px; }
/* the table under the chart, and the folds under the table */
.lb.is-home { margin-top: 30px; }
/* both folds look alike here: a quiet line with a chevron before it */
.lb.is-home details.bench { margin-block: 0; }
.lb.is-home details.bench > summary { display: flex; width: fit-content; gap: 8px; margin: 0; padding: 6px 0; border-radius: 0; background: none; font-size: 13px; }
.lb.is-home details.bench > summary::after { content: none; }
.lb.is-home details.bench > summary::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.lb.is-home details.bench[open] > summary::before { transform: rotate(45deg); }
.lb.is-home details.bench[open] > summary { margin-bottom: 8px; }
.lb-fold-note { font-size: 12px; font-weight: 400; color: var(--ink-3); }
@media (max-width: 560px) { .lb-fold-note { display: none; } }
/* the one board the standard runs have besides the front page */
.board-title { padding-top: 22px; }
.board-title .back { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.board-title h1 { margin-top: 6px; }
.fm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fm-card { display: flex; flex-direction: column; padding: 8px 12px 11px; border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); font-size: 13.5px; font-weight: 560; line-height: 1.3; text-decoration: none; transition: border-color 0.15s; }
.fm-card:hover { border-color: var(--ink-3); }
.fm-card span { display: flex; align-items: end; align-items: last baseline; justify-content: space-between; gap: 8px; margin-top: auto; text-wrap: balance; }
.fm-card span svg { flex: none; color: var(--ink-3); transition: transform 0.15s; }
.fm-card:hover span svg { color: var(--ink); transform: translateX(2px); }
.fm-thumb { display: block; width: 100%; height: auto; margin-bottom: 6px; }
.fm-dot { stroke: var(--bg); stroke-width: 1.2; }
.fm-lab { fill: var(--bg); stroke: var(--ink-3); stroke-width: 1.3; }
.fm-dash { fill: none; stroke: var(--ink-3); stroke-width: 1.3; stroke-dasharray: 3 3; }
.fm-best { fill: none; stroke: var(--ink); stroke-width: 1.3; }
@media (max-width: 900px) { .fm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The bars stay upright at any width. When room runs out the names slant up to their bars and the
   numbers narrow (is-tight). barChart sets it from the room each bar has, so it follows the number of bars,
   and measures the slanted names: --name-reach is the room the first ones need on the left, --name-drop the room below. */
.lb-chart.is-tight .bc-frame { --col: 46px; padding-left: var(--name-reach, 40px); }
.lb-chart.is-tight .bc-col small { display: none; }
.lb-chart.is-tight .bc-model { margin: 0 0 0 4px; font-size: inherit; line-height: inherit; }
/* A box with no width under the middle of the bar; the name runs left from it and is turned about its end. */
.lb-chart.is-tight .bc-name { display: flex; justify-content: flex-end; width: 0; white-space: nowrap; margin: 3px 0 var(--name-drop, 74px) 9px; font-size: 11.5px; line-height: 1.1; transform-origin: 100% 50%; transform: rotate(-52deg); }
.lb-chart.is-tight .bc-val { padding: 0 1px 4px; font-size: 11px; font-stretch: 70%; }
.lb-chart.is-tight .bc-col .maker-mark, .lb-chart.is-tight .bc-col .maker-mark svg { width: 15px; height: 15px; }
.lb-chart.is-tight .bc-col .maker-mark { margin-top: 7px; }
@media (max-width: 640px) {
  .front { padding-top: 20px; }
  .front-title { font-size: 32px; }
  .front-sub { font-size: 15px; }
  .front-head { margin-top: 20px; }
}

/* Both: benchmark score against test BPB, with a stepped line through each group's frontier */
.frontier { --gut: 34px; --k: 1; max-width: 860px; margin-inline: auto; }
.fr-axis { display: flex; align-items: center; gap: 5px; margin: 0 0 10px; font-size: 12px; color: var(--ink-2); }
.fr-axis svg { color: var(--good); }
.fr-axis-x { margin: 28px 0 0 var(--gut); }
.fr-axis-x.is-right { justify-content: flex-end; margin: 26px 0 0; }
.fr-axis-x span { color: var(--ink-3); }
.fr-plot { position: relative; height: 330px; margin-left: var(--gut); border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fr-gx, .fr-gy { position: absolute; display: block; pointer-events: none; }
.fr-gx { top: 0; bottom: 0; width: 0; border-left: 1px solid var(--rule-soft); }
.fr-gy { left: 0; right: 0; height: 0; border-top: 1px solid var(--rule-soft); }
.fr-gx span, .fr-gy span { position: absolute; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fr-gx span { top: 100%; left: 0; transform: translate(-50%, 8px); }
.fr-gy span { right: 100%; top: 0; transform: translate(-8px, -50%); }
.fr-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.fr-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fr-stop { stop-color: var(--ink); }
.fr-stop.is-ref { stop-color: var(--ink-3); }
.fr-line.is-ref { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 4; }
.fr-curve { fill: none; stroke: var(--ink-3); stroke-width: 1.25; stroke-dasharray: 2 4; stroke-linecap: round; opacity: 0.8; vector-effect: non-scaling-stroke; transition: opacity 0.12s, stroke-width 0.12s; }
.fr-curve.is-hot { opacity: 1; stroke: var(--ink-2); stroke-width: 1.8; }
.fr-curve.is-dim { opacity: 0.2; }
.fr-curve-hit { fill: none; stroke: transparent; stroke-width: 14; pointer-events: stroke; vector-effect: non-scaling-stroke; cursor: pointer; }
.fr-pt { position: absolute; width: 0; height: 0; --d: calc(22px * var(--k)); }
.fr-dot {
  position: absolute; left: calc(var(--d) / -2); top: calc(var(--d) / -2); width: var(--d); height: var(--d); display: grid; place-items: center;
  border-radius: 50%; background: var(--bg); border: 1.5px solid var(--c); box-shadow: 0 0 0 2px var(--bg); color: var(--ink); transition: transform 0.12s;
}
.fr-pt.is-ref .fr-dot { border: 1.25px solid color-mix(in oklab, var(--ink-3) 60%, var(--bg)); }
.fr-pt.is-early { --d: calc(17px * var(--k)); }
.fr-dot .maker-mark { width: 58%; height: 58%; margin: 0; }
.fr-dot .maker-mark svg { width: 100%; height: 100%; }
.fr-dot .maker-mark.letter { background: none; border-radius: 0; font-size: calc(var(--d) * 0.46); line-height: 1; }
.fr-pt.is-ref .maker-mark { opacity: 0.75; }
.fr-dot:hover { transform: scale(1.08); }
.fr-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* The 3D figure shares the maker colors with the table. An outer ring in ink marks the Pareto frontier. */
.frontier.is-big.p3d { max-width: 1140px; container-type: inline-size; }
.p3d { --p3d-accent: var(--ink); --p3d-region: #56cf5f; }
.p3d-frame { margin: 0; background: var(--bg); }
.p3d-heading {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 18px 24px; border-bottom: 1px solid var(--rule);
}
.p3d-heading h2 { font-size: 1.375rem; letter-spacing: -0.035em; font-weight: 650; line-height: 1.15; }
.p3d-summary { margin-top: 4px; font-size: 0.875rem; color: var(--ink-2); }
.p3d-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.p3d-key { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 0.8125rem; color: var(--ink-2); }
.p3d-key i { width: 9px; height: 9px; flex: none; border: 1.6px solid currentColor; border-radius: 50%; }
.p3d-key.is-region i {
  width: 15px; height: 11px; border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--good) 45%, var(--bg));
  background: color-mix(in srgb, var(--p3d-region) 20%, var(--bg));
}
.p3d-key.is-front i { color: var(--p3d-accent); outline: 1.5px solid currentColor; outline-offset: 1.5px; }
.p3d-key.is-ref i { border-style: dashed; color: var(--ink-3); }
.p3d-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(228px, 24cqw, 272px); grid-template-areas: "plot leaders"; }
.p3d-viewport { grid-area: plot; min-width: 0; }
.p3d-viewport:only-child { grid-column: 1 / -1; }
.p3d-stage {
  position: relative; height: clamp(390px, 41cqw, 450px); overflow: hidden; cursor: grab;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.p3d-stage:focus-visible { outline: 2px solid var(--p3d-accent); outline-offset: -3px; }
.p3d-stage.is-dragging, .p3d-stage.is-dragging .fr-dot { cursor: grabbing; }
.p3d-canvas, .p3d-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.p3d-canvas { display: block; }
.p3d-layer .fr-dot { pointer-events: auto; }
.p3d-layer .on-front .fr-dot { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.6px var(--p3d-accent); }
.p3d-layer .fr-pt.is-ref .fr-dot { border-style: dashed; border-color: var(--ink-3); }
.p3d-layer .fr-label { font-size: 0.8125rem; text-shadow: 0 0 3px var(--bg), 0 0 6px var(--bg); }
.p3d-layer .fr-pt:not(.on-front):not(.is-pointed) .fr-label { color: var(--ink-2); font-weight: 450; }
.p3d-layer .is-pointed .fr-dot, .p3d-layer .fr-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.p3d-camera { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 8px 20px 14px; }
.p3d-hint { color: var(--ink-3); font-size: 0.8125rem; }
.p3d-presets button { height: 32px; padding-inline: 10px; }
.p3d-leaders {
  grid-area: leaders; min-width: 0; padding: 22px 16px 12px; border-left: 1px solid var(--rule);
}
.p3d-leaders h3 { margin-inline: 8px; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.025em; }
.p3d-leader-hint { margin: 4px 8px 14px; color: var(--ink-2); font-size: 0.8125rem; }
.p3d-leader-list { display: grid; }
.p3d-leader {
  position: relative; display: grid; align-content: center; justify-items: start; gap: 4px; width: 100%; min-width: 0;
  padding: 13px 8px; border: 0; border-top: 1px solid var(--rule); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.p3d-leader:hover { background: color-mix(in oklab, var(--p3d-accent) 5%, transparent); }
.p3d-leader[aria-pressed="true"] { background: color-mix(in oklab, var(--p3d-accent) 9%, transparent); box-shadow: inset 2px 0 var(--p3d-accent); }
.p3d-leader:focus-visible { outline: 2px solid var(--p3d-accent); outline-offset: -2px; }
.p3d-metric { color: var(--ink-2); font-size: 0.8125rem; font-weight: 550; }
.p3d-value { font-size: 1.7rem; line-height: 1.12; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.p3d-value sup { font-size: 0.58em; }
.p3d-value small { color: var(--ink-2); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }
.p3d-names { display: grid; gap: 2px; min-width: 0; color: var(--ink-2); font-size: 0.875rem; }
.p3d-name { display: flex; align-items: baseline; gap: 6px; overflow-wrap: anywhere; }
.p3d-tag { white-space: nowrap; }
.p3d-name i { align-self: flex-start; flex: none; margin-top: 0.48em; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.p3d-caption {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 10px 24px;
  border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.8125rem;
}
@container (max-width: 760px) {
  .p3d-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "leaders" "plot"; }
  .p3d-leaders { padding: 12px 14px 10px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .p3d-leaders h3, .p3d-leader-hint { display: inline; margin: 0 4px 0 0; }
  .p3d-leader-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
  .p3d-leader { padding: 8px 10px; border-top: 0; align-content: start; }
  .p3d-leader + .p3d-leader { border-left: 1px solid var(--rule); }
  .p3d-value { font-size: 1.375rem; }
}
@container (max-width: 500px) {
  .p3d-heading { padding: 14px; gap: 10px; }
  .p3d-heading h2 { font-size: 1.25rem; }
  .p3d-legend { gap: 5px 14px; padding-left: 2px; }
  .p3d-leaders { padding: 10px 12px 4px; }
  .p3d-leaders h3 { font-size: 0.9375rem; }
  .p3d-leader-hint { font-size: 0.75rem; }
  .p3d-leader-list { grid-template-columns: 1fr; margin-top: 6px; }
  .p3d-leader {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "metric value" "names value";
    align-items: center; align-content: center; gap: 1px 10px; min-height: 44px; padding: 6px;
  }
  .p3d-leader + .p3d-leader { border-left: 0; border-top: 1px solid var(--rule); }
  .p3d-metric { grid-area: metric; font-size: 0.75rem; font-weight: 450; }
  .p3d-value { grid-area: value; font-size: 1.125rem; }
  .p3d-names { grid-area: names; color: var(--ink); font-size: 0.8125rem; }
  .p3d-stage { height: clamp(300px, 90cqw, 375px); }
  .p3d-layer .fr-label { font-size: 0.75rem; }
  .p3d-camera { justify-content: center; gap: 5px 8px; padding: 5px 10px 10px; }
  .p3d-hint { width: 100%; text-align: center; font-size: 0.75rem; }
  .p3d-presets { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); width: 100%; max-width: 360px; }
  .p3d-presets button { height: auto; min-height: 34px; padding: 3px 5px; font-size: 0.75rem; line-height: 1.15; white-space: normal; }
  .p3d-caption { padding: 9px 14px; }
}
@media (forced-colors: active) {
  .p3d-layer .on-front .fr-dot, .p3d-leader[aria-pressed="true"], .p3d-presets button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: 2px; }
}
/* with no box round it, the 3D chart's title and caption start on the page's edge at every width */
.p3d-heading, .p3d-caption { padding-inline: 0; }
/* pointing at a model: guides to both axes with its values on them, the area it beats, and the rest faded */
.fr-hover { position: absolute; inset: 0; pointer-events: none; }
.fr-hover > * { position: absolute; }
.fr-beats { background: color-mix(in oklab, var(--c) 10%, transparent); }
.fr-guide-h { left: 0; height: 0; border-top: 1px solid var(--ink-3); }
.fr-guide-v { bottom: 0; width: 0; border-left: 1px solid var(--ink-3); }
.fr-chip { padding: 1px 6px; border-radius: 4px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 600; line-height: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 0 0 3px var(--bg); }
.fr-chip-y { right: 100%; transform: translate(-5px, -50%); }
.fr-chip-x { top: 100%; transform: translate(-50%, 6px); }
.fr-pt { transition: opacity 0.12s; }
.fr-pt.is-dim { opacity: 0.22; }
.fr-pt.is-pointed .fr-label { background: var(--bg); box-shadow: 0 0 0 3px var(--bg); border-radius: 2px; } /* so a guide never strikes through its own model's name */
.fr-pt.on-front { z-index: 1; }
.fr-pt:hover { z-index: 2; }
.fr-label { position: absolute; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; color: var(--ink); pointer-events: none; }
.fr-pt.is-ref .fr-label { font-weight: 400; color: var(--ink-3); }
.fr-label.on-line { background: var(--bg); box-shadow: 0 0 0 2px var(--bg); border-radius: 2px; }
.fr-label small { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.fr-label small svg { margin-left: 3px; }
.fr-label.is-brief { font-size: 11px; }
.frontier.is-big { max-width: 1040px; }
.frontier.has-wide-axis { --gut: 42px; } /* room for tick labels with decimals, like 0.75 */
.frontier.is-big .fr-plot { height: 470px; }
.fr-key { display: inline-flex; align-items: center; gap: 7px; }
.fr-key i { width: 20px; border-top: 2px solid var(--ink); }
.fr-key.is-ref i { border-top: 1.5px dashed var(--ink-3); }
/* what a ring's size stands for: a small ring and a large one, then the words */
.fr-key.is-size i { width: 9px; height: 9px; border: 1.5px solid var(--ink-3); border-radius: 50%; }
.fr-key.is-size i + i { width: 17px; height: 17px; margin-left: -3px; }
/* a potentially benchmaxxed model: a small mark on its ring, and the same mark in the key */
.fr-pt.is-maxxed .fr-dot::after, .fr-key.is-maxxed i {
  content: "!"; width: 13px; height: 13px; border: 0; border-radius: 50%; background: var(--warn); color: var(--bg);
  font-size: 9.5px; font-weight: 700; font-style: normal; line-height: 13px; text-align: center;
}
.fr-pt.is-maxxed .fr-dot::after { position: absolute; right: -6px; top: -6px; box-shadow: 0 0 0 1.5px var(--bg); }
.fr-key.is-maxxed { color: var(--warn); }
.fr-pt.is-close .fr-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--c, var(--ink-3)); vertical-align: 1px; }
@media (max-width: 560px) {
  .frontier { --gut: 26px; --k: 0.8; }
  .frontier.has-wide-axis { --gut: 34px; }
  .fr-plot { height: 280px; }
  .frontier.is-big .fr-plot { height: 380px; }
  .fr-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .fr-dot, .fr-pt { transition: none; } }
@media (max-width: 560px) {
  .chart-scroll > .bc-frame { min-width: calc(var(--n) * 70px + var(--axis)); }
  .bc-frame { --plot: calc(200px * var(--grow, 1)); --axis: 30px; }
  .bc-val { font-size: 12.5px; }
  .bc-name { font-size: 11px; }
}
.lb-board { --lb-cols: 22px minmax(240px, 1fr) 84px 92px 30px; font-variant-numeric: tabular-nums; }
/* the FLOPs board has one more column: the compute each model's training took */
.lb-board.has-compute { --lb-cols: 22px minmax(240px, 1fr) 84px 92px 116px 30px; }
.lb-compute { text-align: right; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.lb-head .lb-compute, .lb-head .lb-c { font-size: 12px; color: var(--ink-3); }
/* a model that does far better on the public benchmarks than on the private texts */
.lb-flag { font-size: 11px; line-height: 18px; white-space: nowrap; font-weight: 500; color: var(--warn); }
.lb-crashed { color: var(--bad); }
.lb-others { display: contents; }
.lb-row {
  display: grid; grid-template-columns: var(--lb-cols); column-gap: 16px; align-items: center;
  min-height: 52px; padding-block: 7px; border-bottom: 1px solid var(--rule-soft);
}
.lb-row > * { min-width: 0; }
.lb-head { min-height: 0; padding-bottom: 6px; border-bottom-color: var(--rule); align-items: end; font-size: 12px; color: var(--ink-3); }
.lb-rank { color: var(--ink-3); font-size: 13px; text-align: right; }
.lb-name { display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; line-height: 1.3; padding-left: 23px; }
.lb-name > .maker-mark.small { margin-left: -23px; }
.lb-row.is-lab .maker-mark { filter: grayscale(1); opacity: 0.6; }
.lb-name > :is(a:not(.paper-link), b) { min-width: 0; }
.lb-name a, .lb-name b { font-weight: 600; }
.lb-name a:not(.paper-link) { text-decoration: none; }
.lb-name a:not(.paper-link):hover { text-decoration: underline; }
.lb-name .verdict { font-size: 11.5px; }
.lb-sub { font-size: 12px; color: var(--ink-3); margin: 1px 0 0 23px; line-height: 1.35; }
.lb-sub > span { white-space: nowrap; }
.lb-pill, .lb-runs { font-size: 11px; line-height: 18px; color: var(--ink-3); white-space: nowrap; font-weight: 500; }
.lb-val { text-align: right; font-weight: 600; font-size: 14.5px; }
.lb-pm { font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.lb-pm.is-blank { visibility: hidden; }
.lb-sub a { color: inherit; text-decoration: none; display: inline-block; padding: 3px 4px 10px; margin: -3px -4px -10px; }
.lb-sub a:hover { color: var(--ink); text-decoration: underline; }
.lb-head .lb-val { font-weight: 500; font-size: 12px; color: var(--ink); }
/* the other board's score, quiet beside this one's; its heading opens that board */
.lb-other { text-align: right; font-size: 13px; color: var(--ink-2); }
.lb-none { color: var(--ink-3); }
.lb-head .lb-other { color: var(--ink-3); font-size: 12px; text-decoration: none; }
.lb-head .lb-other:hover { color: var(--ink); text-decoration: underline; }
/* what was trained, in columns: wide screens only, where they replace the line under the name */
.lb-c, .lb-links, .lb-maker { display: none; }
.lb-c { text-align: right; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.lb-maker { font-size: 12px; color: var(--ink-3); }
.lb-tool { display: none; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-head .lb-who { font-size: 12px; color: var(--ink-3); padding-left: 23px; white-space: nowrap; min-width: max-content; }
/* A column name that sorts the front table: plain text until pointed at, in ink with a small mark once it is the order. */
.lb-head .lb-sort { appearance: none; margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; text-align: right; cursor: pointer; white-space: nowrap; }
.lb-head .lb-sort:hover { color: var(--ink); text-decoration: underline; }
.lb-head .lb-sort:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.lb-head .lb-c.is-sorted { color: var(--ink); font-weight: 500; }
.lb-head button.lb-val { color: var(--ink-3); font-weight: 400; }
.lb-sort-mark { margin-left: 3px; font-size: 10px; }
.lb-early { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.lb-inline-links { display: contents; }
.lb-links { gap: 10px; justify-content: flex-end; }
.lb-links .paper-link { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.lb-links .paper-link svg { display: none; }
@media (min-width: 1160px) {
  .lb-board { --lb-cols: 22px minmax(300px, 3fr) repeat(2, minmax(84px, 1fr)) minmax(84px, 0.9fr) repeat(4, minmax(56px, 0.8fr)) 110px 26px; }
  .lb-board.has-compute { --lb-cols: 22px minmax(300px, 3fr) repeat(2, minmax(76px, 1fr)) minmax(100px, 1fr) minmax(84px, 0.9fr) repeat(4, minmax(52px, 0.8fr)) 104px 26px; }
  /* The front page: the name, then the tool it ran in (or a public model's maker) in a column of its
     own so both line up, the two scores, training compute, model size, tokens and the month the model came out. */
  .lb.is-home .lb-board { --lb-cols: 22px 178px minmax(104px, 1.5fr) repeat(2, minmax(84px, 1fr)) minmax(78px, 0.9fr) repeat(2, minmax(56px, 0.8fr)) minmax(68px, 0.8fr) 26px; }
  .lb.is-home .lb-tool { display: block; }
  .lb.is-home .lb-name > :is(.lb-cli, .lb-maker, .lb-early) { display: none; }
  .lb-row { min-height: 44px; column-gap: 14px; }
  .lb-c, .lb-maker { display: block; }
  /* Paper always at the right edge, Decisions always in the slot before it */
  .lb-links { display: grid; grid-template-columns: 1fr 34px; column-gap: 10px; justify-items: end; }
  .lb-links a[href^="decisions/"] { grid-area: 1 / 1; }
  .lb-links a[href^="papers/"] { grid-area: 1 / 2; }
  .lb-sub, .lb-inline-links, .lb-pill { display: none; }
}
.lb-more { display: grid; place-items: center; color: var(--ink-3); }
.lb-row.is-run .lb-more:has(input) { align-self: stretch; cursor: pointer; } /* the whole cell ticks the box */
/* a heading inside the Pareto board's table: the runs on the frontier, the runs behind it, the lab models */
.lb-row.lb-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; min-height: 0; padding: 20px 0 7px; border-bottom-color: var(--rule); }
.lb-head + .lb-group { padding-top: 12px; }
.lb-group b { font-size: 13px; font-weight: 650; }
.lb-group-note { font-size: 12px; color: var(--ink-3); }
.lb-more svg.up { transform: rotate(180deg); }
/* the fold at the foot of the front page's table: the public models its chart leaves out, opened on a click */
.lb-row.lb-fold { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 0; padding-block: 11px; border-bottom-color: transparent; font-size: 12.5px; color: var(--ink-3); cursor: pointer; }
.lb-row.lb-fold.is-open { border-bottom-color: var(--rule-soft); }
.lb-row.lb-fold:hover { color: var(--ink); }
.lb-row.lb-fold svg.up { transform: rotate(180deg); }
.lb-row.lb-fold:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 4px; }
.lb-row.is-run { cursor: pointer; }
.lb-row.is-run:hover, .lb-row.is-run.picked { background: var(--wash); }

/* lab rows: quieter, unranked, open into a side-by-side with the best run */
.lb-row.is-lab { cursor: pointer; }
.lb-row.is-lab .lb-name b { font-weight: 500; color: var(--ink-2); }
.lb-row.is-lab .lb-val { font-weight: 500; color: var(--ink-2); }
.lb-row.is-lab:hover, .lb-row.is-lab.is-open { background: var(--wash); }
.lb-row.is-lab:hover .lb-more { color: var(--ink); }
.lb-row.is-lab:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 4px; }
/* On the front page a lab row opens nothing */
.lb-row.is-lab.is-plain { cursor: default; }
.lb-row.is-lab.is-plain:hover { background: none; }

/* the strip: one shared zoomed axis, a guide at the best run, a line from it to each model */

.lb-panel { padding: 16px 0 20px; border-bottom: 1px solid var(--rule); }
.lb-empty { padding-block: 16px; }

/* Archived runs, folded under the board on the same scale; quieter than the current runs */
.lb-earlier { margin-top: 6px; }
.lb-earlier > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; width: fit-content;
  padding-block: 10px 6px; font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.lb-earlier > summary::-webkit-details-marker { display: none; }
.lb-earlier > summary::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
.lb-earlier[open] > summary::before { transform: rotate(45deg); }
.lb-earlier > summary:hover { color: var(--ink); }
.lb-count { font-size: 11.5px; line-height: 18px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.lb-row.is-earlier .lb-name a { font-weight: 500; color: var(--ink-2); }
.lb-row.is-earlier .lb-val { font-weight: 500; color: var(--ink-2); }

@media (max-width: 820px) {
  .lb-board { --lb-cols: 18px minmax(0, 1fr) auto 44px; }
  .lb-row { column-gap: 10px; row-gap: 2px; padding-block: 10px 8px; grid-template-areas: "rank who val more" "rank who gap more"; }
  .lb-rank { grid-area: rank; align-self: start; padding-top: 1px; }
  .lb-who { grid-area: who; align-self: start; }
  .lb-val { grid-area: val; align-self: start; }
  .lb-pm { display: block; font-size: 11.5px; }
  .lb-pm.is-blank { display: none; }
  .lb-board, .lb-board.has-compute { --lb-cols: 18px minmax(0, 1fr) auto 44px; }
  .lb.is-home .lb-board { --lb-cols: 18px minmax(0, 1fr) auto 16px; } /* its last column holds only a lab row's chevron */
  .lb-others { grid-area: gap; align-self: start; display: grid; justify-items: end; gap: 1px; }
  .lb-compute { display: none; }
  /* the Pareto table keeps its compute, as a third line under the two scores */
  .lb-board.has-compute .lb-row { grid-template-areas: "rank who val more" "rank who gap more" "rank who comp more"; }
  .lb-board.has-compute .lb-compute { display: block; grid-area: comp; align-self: start; font-size: 12px; }
  .lb-board.has-compute .lb-compute:has(sup)::after { content: " FLOPs"; font-size: 10.5px; color: var(--ink-3); }
  .lb-other { font-size: 12px; }
  .lb-inline-links { display: none; } /* a tap on the row opens the run page, which has both links */
  .lb-other::after { content: " " attr(data-short); font-size: 10.5px; color: var(--ink-3); }
  .lb-more { grid-area: more; }
  .lb-head { display: none; }
  .lb-name { gap: 4px 6px; padding-left: 21px; }
  .lb-name > .maker-mark.small { margin-left: -21px; }
  .lb-sub { margin-left: 21px; }
}

/* a lab model beside the best run's model */
.lb-tape { max-width: 600px; margin: 0 auto; }
.lb-tgrid { display: grid; grid-template-columns: 1fr minmax(120px, auto) 1fr; align-items: stretch; }
.lb-tside { display: grid; justify-items: center; align-content: start; gap: 2px; text-align: center; padding-bottom: 12px; }
.lb-tside .maker-mark { margin: 0 0 4px; }
.lb-tside b { font-size: 14px; font-weight: 600; }
.lb-tside span { font-size: 12px; color: var(--ink-3); }
.lb-tvs { align-self: center; justify-self: center; font-size: 12px; color: var(--ink-3); }
.lb-tv, .lb-tl { padding: 6px 10px; border-top: 1px solid var(--rule-soft); text-align: center; font-variant-numeric: tabular-nums; }
.lb-tv { font-size: 14px; color: var(--ink-2); }
.lb-tv.win { color: var(--ink); font-weight: 600; }
.lb-tv small, .lb-tl small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.lb-tl { font-size: 12.5px; color: var(--ink-3); }
.lb-tbars { margin-top: 16px; display: grid; gap: 6px; }
.lb-tbars p { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.lb-tbar { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12px; color: var(--ink-2); }
.lb-tbar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tbar-track { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lb-tbar-track i { display: block; height: 12px; border-radius: 0 3px 3px 0; flex: none; max-width: calc(100% - 84px); }
.lb-tbar-track span { white-space: nowrap; color: var(--ink-2); }
.lb-tsrc { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 560px) {
  .lb-tgrid { grid-template-columns: 1fr minmax(92px, auto) 1fr; }
  .lb-tv, .lb-tl { padding-inline: 4px; }
  .lb-tv { font-size: 13px; }
  .lb-tl { font-size: 11.5px; }
  .lb-tbar { grid-template-columns: 92px minmax(0, 1fr); }
}

/* Few-shot benchmarks by task: a dense grid of scores, folded under the benchmark board. On the Analysis
   page the same fold is a big-fold, a box like the table's above it, so these rules leave it alone. */
details.bench:not(.big-fold) { margin-block: 0 22px; }
details.bench:not(.big-fold) > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2); padding: 5px 12px; border-radius: 99px; background: var(--wash);
}
details.bench:not(.big-fold) > summary::-webkit-details-marker { display: none; }
details.bench:not(.big-fold) > summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
details.bench:not(.big-fold)[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
details.bench:not(.big-fold) > summary:hover { color: var(--ink); background: var(--wash-2); }
.bench .bench-scroll { overflow-x: auto; }
.bench table.bench-table { min-width: 780px; }
.bench .bench-table tbody tr { cursor: default; }
.bench .bench-table tbody tr:hover td { background: var(--wash); }
.bench .bench-table th { padding: 6px 8px; }
.bench .bench-table td { padding: 6px 8px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.bench .bench-table .task { position: sticky; left: 0; z-index: 1; min-width: 160px; background: var(--bg); white-space: normal; color: var(--ink); }
.bench .bench-table .w { width: 58px; }
.bench .bench-table th.model-col { vertical-align: bottom; min-width: 128px; line-height: 1.3; }
.bench .bench-table .col-name { display: flex; justify-content: flex-end; align-items: baseline; gap: 5px; color: var(--ink); font-weight: 600; }
.bench .bench-table .col-name .swatch { width: 7px; height: 7px; }
.bench .bench-table .col-sub { display: block; font-size: 11px; font-weight: 400; }
.bench .bench-table .first-ref { border-left: 1px solid var(--rule); }
.bench .bench-table td.best { color: var(--ink); font-weight: 600; }
.bench .bench-table td.at-chance { color: var(--ink-3); }
.bench .bench-table tr.group td { padding: 10px 8px 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); border-bottom-color: var(--rule); }
.bench .bench-table tr.group:hover td { background: none; }
.bench .bench-table tr.group td span span { font-weight: 400; }
.bench .bench-table .group-name { position: sticky; left: 8px; }
.bench .bench-table tr.combined td { padding-block: 8px 7px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--ink); vertical-align: top; }
.bench .bench-table tr.combined:hover td { background: none; }
.bench .bench-table tr.combined .task-sub { display: block; font-size: 11.5px; color: var(--ink-3); }
.maker-mark { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 12px; color: var(--ink); }
.maker-mark svg { width: 24px; height: 24px; display: block; }
.maker-mark.letter { border-radius: 4px; background: var(--wash-2); color: var(--ink-2); font-size: 13px; font-weight: 700; }
@media (max-width: 560px) { .maker-mark, .maker-mark svg { width: 20px; height: 20px; } }
.bench-foot { display: grid; gap: 6px; justify-items: start; margin-top: 10px; }
.bench-foot .linkish { font-size: 12.5px; }
.bench-foot p { font-size: 12px; color: var(--ink-3); }
@media (max-width: 720px) {
  .bench table.bench-table { width: max-content; min-width: 100%; }
  .bench .bench-table .task { min-width: 150px; max-width: 170px; box-shadow: 1px 0 0 var(--rule); }
  .bench .bench-table th.model-col { width: 96px; }
}
.pickbar {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 30;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px); padding: 7px 7px 7px 16px; border: 1px solid var(--rule); border-radius: 10px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 13.5px;
}
.pickbar > span { white-space: nowrap; }

/* Verdicts */
.verdict { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.verdict svg { flex: none; }
.v-valid { color: var(--good); }
.v-pending { color: var(--warn); }
.v-invalid { color: var(--bad); }
.v-none { color: var(--ink-3); }

/* Timelines */
.strip { position: relative; height: 16px; border-radius: 3px; background: var(--wash); container-type: inline-size; }
.strip .seg-ph { position: absolute; top: 0; bottom: 0; border-radius: 2px; box-shadow: 0 0 0 1px var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.seg-ph span { font-size: 10px; font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
@container (max-width: 560px) { .seg-ph span.if-wide { display: none; } }
.strip .over { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, transparent 0 3px, var(--wash-2) 3px 5px); border-radius: 0 3px 3px 0; }
.gpus { display: block; width: 100%; height: 18px; margin-top: 3px; }
.gpus path.area { fill: var(--gpu); }
.gpus path.line { fill: none; stroke: var(--gpu-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tl-cell { position: relative; padding-block: 2px; }
.tl-empty { font-size: 12px; color: var(--ink-3); }
.axis-head { position: relative; height: 15px; }
.axis-head span { position: absolute; white-space: nowrap; transform: translateX(-50%); font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.axis-head span:first-child { transform: none; }
.axis-head span:last-child { transform: translateX(-100%); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.sw-prep { background: var(--ph-prep); color: var(--ph-prep-ink); }
.sw-experiments { background: var(--ph-experiments); color: var(--ph-experiments-ink); }
.sw-train { background: var(--ph-train); color: var(--ph-train-ink); }
.sw-finish { background: var(--ph-finish); color: var(--ph-finish-ink); }
@media (max-width: 640px) { .axis-head span.minor { display: none; } }

.lanes { display: grid; grid-template-columns: var(--lab, 150px) minmax(0, 1fr) auto; column-gap: var(--g, 18px); row-gap: 6px; align-items: center; text-align: left; }
.lanes .lname { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lanes .lane { position: relative; height: 16px; background: var(--wash); border-radius: 3px; }
.lanes .lane .seg-ph { position: absolute; top: 0; bottom: 0; border-radius: 3px; box-shadow: 0 0 0 1px var(--surface); }
/* GPU jobs under the phase lanes: height is GPUs held, colour is GPU type, faint is a job that crashed or timed out */
.gt-h100 { --c: var(--gpu-h100); } .gt-b200 { --c: var(--gpu-b200); } .gt-other { --c: var(--gpu-other); }
.lanes .gname { align-self: start; padding-top: 4px; }
.lanes .gkey { padding-top: 2px; }
.gkey i { background: var(--c); }
.gkey .jf, .gjobs .jf { --c-x: color-mix(in oklab, var(--c) 38%, var(--surface)); }
.gkey i.jf { background: var(--c-x); }
.gjobs { display: block; align-self: start; width: 100%; margin-top: 4px; background: var(--wash); border-radius: 3px; }
.gjobs line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gjobs rect { fill: var(--c); stroke: var(--surface); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gjobs rect.jf { fill: var(--c-x); }
.gjobs rect:hover { fill: color-mix(in oklab, var(--c) 70%, var(--ink)); }
.gticks { position: relative; align-self: start; margin-top: 4px; min-width: 2.4em; }
.gticks span { position: absolute; left: 0; transform: translateY(-50%); font-size: 10.5px; line-height: 1; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gticks span:first-child { transform: none; }
@media (forced-colors: active) { .gjobs rect { fill: CanvasText; stroke: Canvas; } .gjobs rect.jf { fill: GrayText; } .gkey i { background: CanvasText; } .gkey i.jf { background: GrayText; } }
.sx > .lanes { padding-top: 12px; }
.lanes .lhours { min-width: 3.4em; font-size: 12px; color: var(--ink-2); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lanes { grid-template-columns: 96px minmax(0, 1fr) auto; } .lanes .lname { white-space: normal; line-height: 1.2; } }

/* Compare: labels in a column on the left, then one centered column per run */
.cmpx { --lab: 140px; --w: 300px; --g: 16px; max-width: max(720px, calc(var(--lab) + var(--n) * (var(--w) + var(--g)))); margin: 0 auto; }
.compare-scroll .cmpx { min-width: calc(var(--lab) + var(--n) * (140px + var(--g))); }
.cmpx.single { --w: 520px; }
.cols { display: grid; grid-template-columns: var(--lab) repeat(var(--n), minmax(0, 1fr)); column-gap: var(--g); align-items: baseline; }
.lab { font-size: 13px; color: var(--ink-2); text-align: left; min-width: 0; }
.lab-sub { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--good); padding-top: 3px; }
.lab-note { display: block; padding-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--ink-3); }
.page-title { font-size: 26px; padding-block: 30px 6px; }
/* as wide as the table under it, so the title and the add control stand on its edges */
.compare-head { --lab: 140px; --w: 300px; --g: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; max-width: max(720px, calc(var(--lab) + var(--n) * (var(--w) + var(--g)))); margin-inline: auto; padding-block: 27px 6px; }
.compare-head .page-title { padding: 0; }
/* every page's title in the name's face, at one size, the same distance under the bar */
.page-title, h1.head-name, .tr-h1, .board-title h1 { font-family: var(--head); font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.018em; }
@media (max-width: 640px) { .page-title, h1.head-name, .tr-h1, .board-title h1 { font-size: 22px; } .compare-head { padding-top: 17px; } .cmpx.single .single-head { padding-top: 20px; } }
.compare-head .compare-add { min-height: 32px; }
/* the setup every run on screen shares, said once on its own line under the title */
.compare-setup { flex-basis: 100%; margin: -4px 0 0; font-size: 13px; color: var(--ink-3); }
.compare-sticky { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); box-shadow: 0 1px 0 var(--rule); }
.compare-header-scroll { padding-bottom: 0; scrollbar-width: none; }
.compare-header-scroll::-webkit-scrollbar { display: none; }

/* One add control; existing models are changed in their column headings. */
.compare-add {
  position: relative; display: inline-flex; align-items: center; min-height: 36px; margin-left: auto; padding: 0 12px;
  border: 1px solid var(--rule); border-radius: 7px; color: var(--ink-2); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.compare-add:hover { color: var(--ink); border-color: var(--ink-3); }
.compare-add:focus-within, .colhead-select:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.compare-add select, .colhead-select select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
/* beside it, the control that opens or shuts every section under the summary */
.compare-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.compare-tools .compare-add { margin-left: 0; }
.compare-all {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 6px;
  background: none; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.compare-all:hover { background: var(--wash); color: var(--ink); }
/* a fold's chevron: it points right while shut and down once open */
.chev { flex: none; width: 5px; height: 5px; margin-inline: 1px 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
[aria-expanded="true"] > .chev, [aria-expanded="true"] > * > .chev { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }

/* Column heads: mark and short name, a tag line, the run's color; the X shows on hover or focus */
.colheads { padding-top: 4px; align-items: end; background: var(--bg); }
.colhead { position: relative; display: grid; justify-items: center; gap: 2px; min-width: 0; }
.colhead-select { position: relative; display: grid; align-content: center; justify-items: center; gap: 3px; width: calc(100% - 28px); min-height: 44px; border-radius: 6px; }
/* a head is as wide as its column, never as wide as its name */
.colhead, .colhead-select { grid-template-columns: minmax(0, 1fr); }
.colhead-select:hover { background: var(--wash); }
.colhead-name {
  display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%;
  font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.colhead-name > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* the flag takes only the room the name leaves, down to 24px, so the name is cut last */
.colhead-name .lb-flag { flex: 1 1 0; min-width: 24px; max-width: max-content; overflow: hidden; text-overflow: ellipsis; }
.select-chevron { flex: none; width: 5px; height: 5px; margin: 0 2px 3px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); }
.colhead-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.colhead-bar { justify-self: stretch; height: 3px; margin-top: 6px; border-radius: 2px 2px 0 0; }
.colhead-bar.is-ref { height: 3px; background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 7px); opacity: 0.55; }
.colhead-x {
  position: absolute; top: 0; right: 0; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 0; border-radius: 5px; background: var(--wash); color: var(--ink-2); cursor: pointer; opacity: 0; transition: opacity 0.12s;
}
.colhead-x:hover { background: var(--wash-2); color: var(--ink); }
.colhead:hover .colhead-x, .colhead:focus-within .colhead-x { opacity: 1; }
@media (hover: none) { .colhead-x { opacity: 1; } }
.colhead-links { display: none; }
.maker-mark.small { width: 15px; height: 15px; margin: 0; flex: none; }
.maker-mark.small svg { width: 15px; height: 15px; }
.maker-mark.small.letter { border-radius: 4px; font-size: 9.5px; }
.heads { padding-top: 7px; align-items: center; }
.head-sub { font-size: 12px; color: var(--ink-3); text-align: center; text-decoration: none; }
a.head-sub:hover { color: var(--ink); text-decoration: underline; }
/* who ran it and when, with the paper beside it, on one line */
.head-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 3px 8px; min-width: 0; }
.head-story { margin: 0; max-width: 64ch; padding-top: 4px; font-size: 14px; color: var(--ink-2); text-wrap: pretty; }
/* each run's day in a sentence, over its own timeline */
.tl-stories { align-items: start; padding-block: 14px 18px; }
.tl-story { min-width: 0; }
.tl-story p { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-2); text-align: left; text-wrap: pretty; }
.head-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.head-links .paper-link { padding-inline: 6px; line-height: 22px; }
.score-row { padding-block: 12px 2px; }
.score-row > .lab { align-self: center; }
.head { display: grid; justify-items: center; gap: 2px; min-width: 0; }
.head { container-type: inline-size; }
.head-score { font-size: 34px; font-size: min(34px, 26cqi); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 106; }
.bench-row { padding-block: 4px 6px; }
.bench-row > .lab { align-self: center; }
/* the best of the compared scores in bold, the others a step back */
.head.is-best .head-score { font-weight: 750; }
.head.not-best .head-score { font-weight: 400; color: var(--ink-2); }
.head.is-best .head-bench { font-weight: 750; color: var(--ink); }
.head.not-best .head-bench { font-weight: 400; }
/* a lab model is a reference: it steps back further than a beaten run */
.head.is-ref .head-score, .head.is-ref .head-bench { font-weight: 400; color: var(--ink-3); }
.head-bench { font-size: 18px; font-size: min(18px, 14cqi); font-weight: 500; line-height: 1.1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* A run's name before each value, only where the columns stack (a phone) */
.who { display: none; }
.head-cap { font-size: 12px; color: var(--ink-3); }
/* under a score: its standard error beside it, then its distance from the best and its contamination */
.head-pm { margin-left: 6px; font-size: 13px; font-weight: 400; letter-spacing: 0; font-variation-settings: normal; color: var(--ink-3); }
.head-note { font-size: 12px; line-height: 1.35; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bench-row .head-note { margin-top: 1px; }
.score-row, .bench-row { align-items: start; }
.score-row + .bench-row { padding-top: 10px; }
/* the test BPB's fold: its toggle under the label, then the kinds of text in tight rows, their labels set in */
.fold-btn {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; padding: 2px 0; border: 0; background: none;
  font: inherit; font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; cursor: pointer;
}
.fold-btn:hover, .fold-btn[aria-expanded="true"] { color: var(--ink); }
.fold-btn:focus-visible, .sx-head:focus-visible, .compare-all:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.kinds-fold { padding-block: 8px 6px; }
.spec.kind { padding-block: 3px; }
.spec.kind > .lab { padding-left: 13px; }
.kinds-cap { padding-block: 10px 1px; }
.kinds-cap > .lab { padding-left: 13px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
details.score-more { margin: 0 0 4px; }
/* The summary under the scores in three groups (size, build, hours), a rule between them, every row
   on the same rhythm and one size of figure */
.glance { margin-top: 12px; border-top: 1px solid var(--rule); }
.glance-group { padding-block: 6px; }
.glance-group + .glance-group { border-top: 1px solid var(--rule-soft); }
.glance-group > .spec { padding-block: 8px; }
.glance .spec.hero .spec-val { font-size: 16px; letter-spacing: -0.01em; }
.glance-num { display: inline-flex; align-items: center; gap: 8px; }
.glance-num .mini { width: 40px; flex: none; }
/* the number is centred; its bar hangs to the right of it */
@media (min-width: 721px) { .glance-num { position: relative; } .glance-num .mini { position: absolute; left: calc(100% + 8px); top: 50%; translate: 0 -50%; } }
.glance-group > .mix-cols { padding-block: 9px 6px; }
.glance .mixstack { height: 22px; }
.glance-group > .mix-key { padding-bottom: 6px; }
.glance > .tl-stories, .glance-group > .tl-stories { padding-block: 10px 8px; }
.glance-group > .time-more { margin-top: 0; }

/* How each run spent its hours: a bar per column on one clock, the GPUs it held in a strip under it */
.day-row { align-items: start; padding-block: 12px 2px; }
.day-lab { display: grid; justify-items: start; }
.day-lab > span:first-child { line-height: 24px; }
.day-lab .lab-note { padding-top: 2px; line-height: 12px; }
.day-cell { min-width: 0; }
.day-cell > .tl-empty { display: block; padding-top: 4px; font-size: 12.5px; line-height: 1.35; text-align: center; }
.day { position: relative; container-type: inline-size; }
@container (max-width: 190px) { .day-axis .day-mid { display: none; } }
.day-bar { position: relative; height: 24px; border-radius: 4px; background: var(--wash); overflow: hidden; }
.day-bar > i { position: absolute; top: 0; bottom: 0; display: grid; place-items: center; container-type: inline-size; overflow: hidden; box-shadow: 1px 0 0 var(--bg); }
.day-bar span { display: none; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* the hours in full where they fit, the bare number where it is tighter, nothing on a sliver */
@container (min-width: 24px) { .day-bar .day-s { display: block; } }
@container (min-width: 40px) { .day-bar .day-s { display: none; } .day-bar .day-l { display: block; } }
.day-unused, .legend i.day-unused { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--wash-2) 3px 5px); color: var(--ink-3); }
.day-bar .day-unused span { font-weight: 500; }
.legend i.day-unused { box-shadow: inset 0 0 0 1px var(--rule); }
.day-gpus { display: block; width: 100%; height: 12px; margin-top: 3px; border-radius: 2px; background: var(--wash); }
.day-gpus path.area, .legend i.day-gpu { fill: var(--gpu-strip); background: var(--gpu-strip); }
.day-gpus path.line { display: none; }
.day-gpus.is-none { background: none; }
.day .axis-head { margin-top: 3px; }
.day-key { padding: 4px 0 10px calc(var(--lab) + var(--g)); }
.compare-scroll .day-key { position: sticky; left: 0; width: min(100%, 100cqi); }
.single-head { display: grid; gap: 4px; padding-block: 28px 6px; }
.single-head .head-sub { text-align: left; }
h1.head-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
h1.head-name .swatch { width: 11px; height: 11px; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }

.sx { padding-top: 36px; }
.sx > h2 { font-size: 17px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
/* A comparison's sections, shut at first: a list of rows, each a title and a quiet line of what is in it */
.sx-list { margin-top: 28px; border-top: 1px solid var(--rule); }
.sx.fold { padding-top: 0; border-bottom: 1px solid var(--rule); }
.sx.fold > h2 { padding: 0; border: 0; font-size: inherit; }
.sx-head {
  display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); column-gap: var(--g); align-items: baseline;
  width: 100%; padding: 13px 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer;
}
.sx-title { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sx-title .chev { color: var(--ink-3); }
.sx-peek { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.sx-head:hover .sx-peek, .sx-head:hover .chev { color: var(--ink-2); }
.sx.fold.is-open .sx-peek { visibility: hidden; }
.sx.fold:not(.is-open) > .sx-body { display: none; }
.sx.fold > .sx-body { padding-bottom: 14px; }
.sx-body > details.sx-more { margin-top: 0; }
/* rows sit apart by space alone; a rule marks only where a section starts */
.spec { padding-block: 11px; }
.spec > .lab { align-self: center; }
.spec-val { font-size: 14px; text-align: center; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.spec-val.same { grid-column: 2 / -1; color: var(--ink-3); font-size: 13px; }
/* a run's verdict beside its name: a green dot when valid */
.valid-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
h1.head-name .valid-dot { width: 9px; height: 9px; margin-left: 4px; }
.spec-val.best { font-weight: 700; color: var(--ink); }
.spec.hero .spec-val { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
sup { position: relative; top: -0.55em; margin-left: 0.04em; font-size: 0.62em; line-height: 0; vertical-align: baseline; letter-spacing: 0; }
.with-bar { display: grid; justify-items: center; gap: 7px; }
.mini { position: relative; display: block; width: min(72px, 70%); height: 4px; border-radius: 2px; background: var(--wash-2); }
.mini i { display: block; height: 100%; border-radius: 2px; background: color-mix(in oklab, var(--ink-3) 60%, var(--surface)); }
.mini b { position: absolute; top: -3px; bottom: -3px; width: 1.5px; margin-left: -0.75px; border-radius: 1px; background: var(--ink-2); }
.stack { display: grid; gap: 1px; justify-items: center; }
.stack .muted { font-size: 12px; line-height: 1.35; }
.spec.hero .stack .muted { font-weight: 400; letter-spacing: 0; }
.spec-val .prose + .prose, .cmpx.single .spec-val .prose + .prose { margin-top: 8px; }
.abbr { text-decoration: underline dotted var(--ink-3); text-underline-offset: 3px; cursor: help; }
.spec-val .prose { font-size: 13px; color: var(--ink-2); line-height: 1.45; max-width: 44ch; margin: 0 auto; text-align: left; }
.spec:has(.prose, .clip) > .lab { align-self: baseline; }
/* a long text's first two lines, all of it on hover; a click opens it in place */
.spec-val .clip {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  max-width: 44ch; margin: 0 auto; font-size: 13px; line-height: 1.45; color: var(--ink-2); text-align: left; cursor: pointer;
}
/* opened: the clamp itself is switched off, since some browsers keep cutting a block at two lines while it is set */
.spec.open .spec-val .clip { display: block; overflow: visible; -webkit-line-clamp: none; line-clamp: none; max-height: none; }
.spec:not(.is-cut) .spec-val .clip { cursor: auto; }
.clip-all { display: block; margin-top: 3px; padding: 0; border: 0; background: none; font: inherit; font-size: 11.5px; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; cursor: pointer; }
.clip-all:hover { color: var(--ink); }
.clip-all:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
/* an empty cell: one small muted dash, whatever the row's size */
.spec-val .dash { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.use-of { color: var(--ink-3); }
.spec-val .chips { justify-content: center; }
.cmpx.single .spec-val, .cmpx.single .spec-val .prose { text-align: left; margin: 0; }
.cmpx.single .head { justify-items: start; }
.cmpx.single .spec-val .chips { justify-content: flex-start; }
.cmpx.single .with-bar, .cmpx.single .stack { justify-items: start; }
.cmpx.single .spec > .lab { align-self: baseline; }
.cmpx.single details.sx-more { margin-top: 0; }
.cmpx.single .sx-more-body { padding-top: 0; }
.compare-scroll .sx > h2,
.compare-scroll details.sx-more > summary,
.compare-scroll .cols > .lab {
  position: sticky; left: 0; z-index: 2; background: var(--bg);
}
.compare-scroll .sx > h2 {
  position: sticky; left: 0; width: min(100%, 100cqi);
}
.compare-scroll details.sx-more > summary { background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.chip button { all: unset; cursor: pointer; color: var(--ink-3); font-size: 15px; line-height: 1; }
.chip button:hover { color: var(--ink); }

details.sx-more { margin-top: 4px; }
details.sx-more > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 4px;
  font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 6px 0;
}
details.sx-more > summary::-webkit-details-marker { display: none; }
details.sx-more > summary::before { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s; }
details.sx-more[open] > summary::before { transform: rotate(45deg); }
details.sx-more > summary:hover { color: var(--ink); }
.sx-more-body { padding-top: 4px; }
.cmpx.single details.sx-more > summary { display: none; }

.caption { font-size: 12px; color: var(--ink-3); padding-top: 6px; }
.domain-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.domain-list div { display: grid; gap: 1px; }
.domain-list span { font-size: 12px; color: var(--ink-3); }
.domain-list b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* The training mix: each kind of text over a thin bar of its share, in the run's color */
.mix-cols { padding-block: 12px; align-items: start; }
.mix-cols > .muted { text-align: center; }
.cmpx.single .mixbars { width: min(420px, 100%); margin: 0; }
.mixbars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; width: min(170px, 100%); margin: 0 auto; text-align: left; }
.mixrow {
  display: flex; justify-content: space-between; gap: 8px; padding: 1px 0 4px; font-size: 12.5px;
  background: linear-gradient(to right, var(--c) var(--p), var(--wash-2) var(--p)) left bottom / 100% 2px no-repeat;
}
.mixrow.more { background: none; padding-bottom: 0; cursor: pointer; width: 100%; border: 0; font: inherit; text-align: left; }
.mixrow.more:hover span { color: var(--ink); }
.mixrow.more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
.mix-cols:not(.open) :is(.mixrow.extra, .when-open), .mix-cols.open .when-closed { display: none; }
.mix-cols.open .mix-name { white-space: normal; overflow: visible; }
.mix-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.mix-pct { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mixrow.more span { color: var(--ink-3); }
/* A comparison's training mix: one bar per run, the same families in the same order and shades */
.mix-cols:has(.mixstack) { align-items: center; }
.mixstack { display: flex; gap: 2px; height: 26px; border-radius: 5px; overflow: hidden; }
.mixstack i { container-type: inline-size; display: grid; place-items: center; min-width: 2px; font-style: normal; cursor: default; }
.mixstack span { display: none; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
@container (min-width: 32px) { .mixstack span { display: block; } }
.mx-web { background: var(--mx-1); color: var(--mx-ink); }
.mx-code { background: var(--mx-2); color: var(--mx-ink); }
.mx-papers { background: var(--mx-3); color: var(--mx-3-ink, var(--mx-ink)); }
.mx-reference { background: var(--mx-4); color: var(--mx-4-ink, var(--ink)); }
.mx-math { background: var(--mx-5); color: var(--ink); }
.mx-books { background: var(--mx-6); color: var(--ink); }
.mx-other { background: var(--mx-7); color: var(--ink); }
.mix-key { padding-left: calc(var(--lab) + var(--g)); }
.compare-scroll .mix-key { position: sticky; left: 0; width: min(100%, 100cqi); }

/* Pointing at a row tints it across the columns; pointing at a column's name dims the others */
.comparison [data-c] { transition: opacity 0.15s; }
.comparison .is-dim { opacity: 0.25; }
@media (hover: hover) {
  .cmpx:not(.single) :is(.spec, .mix-cols) { border-radius: 6px; }
  .cmpx:not(.single) :is(.spec, .mix-cols):hover { background: var(--wash); box-shadow: -10px 0 0 var(--wash), 10px 0 0 var(--wash); }
  .compare-scroll :is(.spec, .mix-cols):hover > .lab { background: var(--wash); }
}

/* A phone's timeline: one bar per run, one under another, on one hour scale */
.day-items { display: grid; gap: 8px; }
.day-item { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 10px; align-items: start; }
.day-item > .tl-empty { line-height: 24px; }
.tl-who { display: flex; align-items: center; gap: 6px; min-width: 0; height: 24px; font-size: 12.5px; color: var(--ink-2); }
.tl-who > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-who .swatch { width: 7px; height: 7px; }

/* On a phone, each label sits above its row instead of beside it */
@media (max-width: 720px) {
  .board-head { padding-top: 22px; }
  .lb-controls { margin-left: 0; gap: 10px; }
  .lb-controls .seg button { padding-inline: 9px; font-size: 12px; }
  .cue { margin-left: 0; }
  .cmpx { --g: 12px; }
  .compare-scroll .cmpx { min-width: calc(var(--n) * 164px + (var(--n) - 1) * var(--g)); }
  .cols { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); row-gap: 3px; }
  .cols > .lab { grid-column: 1 / -1; }
  .compare-scroll .cols > .lab { justify-self: start; width: max-content; max-width: 100cqi; padding-block: 4px; }
  .cols > .lab:empty, .heads > div:first-child { display: none; }
  .spec-val.same { grid-column: 1 / -1; }
  .score-row > .lab, .bench-row > .lab { display: flex; gap: 8px; align-items: baseline; }
  /* a value every run shares sits on its label's line, at the right like every other value */
  .cmpx:not(.single) .spec.is-same { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .cmpx:not(.single) .spec.is-same > .lab { grid-column: auto; align-self: baseline; }
  .cmpx:not(.single) .spec-val.same { grid-column: auto; display: block; text-align: right; }
  .lab-sub { padding-top: 0; }
  .head-score { font-size: 32px; }
  .head-bench { font-size: 18px; }
  .spec { padding-block: 10px; }
  .spec.hero .spec-val { font-size: 19px; }
  .colhead-name { font-size: 13.5px; }
  .cols > .lab .lab-note { display: inline; padding-left: 6px; }
  .domain-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* A comparison stacks instead of scrolling sideways: each row lists the runs one under another,
     the run's name on the left and its value on the right, so all five read at once. */
  .compare-scroll .cmpx { min-width: 0; }
  .compare-sticky { position: static; box-shadow: none; }
  .cmpx:not(.single) .cols { grid-template-columns: minmax(0, 1fr); }
  .cmpx:not(.single) .heads { display: none; }
  .cmpx:not(.single) .colheads { padding-top: 0; row-gap: 0; }
  .cmpx:not(.single) .colhead {
    grid-template-columns: 3px minmax(0, 1fr) auto 28px; grid-template-areas: "bar name links x";
    align-items: center; justify-items: start; column-gap: 10px; padding-block: 3px; border-bottom: 1px solid var(--rule-soft);
  }
  .cmpx:not(.single) .colhead-bar { grid-area: bar; align-self: stretch; width: 3px; height: auto; margin: 4px 0; border-radius: 2px; }
  .cmpx:not(.single) .colhead-bar.is-ref { background: repeating-linear-gradient(180deg, var(--ink-3) 0 4px, transparent 4px 7px); }
  .cmpx:not(.single) .colhead-select { grid-area: name; grid-template-columns: minmax(0, 1fr); width: 100%; min-height: 40px; justify-items: start; gap: 1px; padding-left: 2px; }
  .cmpx:not(.single) .colhead-name { justify-content: flex-start; }
  .cmpx:not(.single) .colhead-links { grid-area: links; display: flex; gap: 4px; }
  .cmpx:not(.single) .tl-stories { row-gap: 10px; padding-block: 12px 14px; }
  .cmpx:not(.single) .tl-story { display: grid; gap: 2px; }
  .cmpx:not(.single) .tl-story p { margin: 0; max-width: none; text-align: left; }
  .cmpx:not(.single) .colhead-x { grid-area: x; position: static; opacity: 1; }
  .cmpx:not(.single) .who { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: var(--ink-2); text-align: left; letter-spacing: 0; font-weight: 400; }
  .who > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .who .swatch { width: 7px; height: 7px; }
  .cmpx:not(.single) .head { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: baseline; column-gap: 10px; padding-block: 2px; }
  .cmpx:not(.single) .head > :is(.head-cap, .head-note) { grid-column: 2; }
  .cmpx:not(.single) .head-note.is-empty { display: none; }
  .cmpx:not(.single) .head > :not(.who) { justify-self: end; }
  .cmpx:not(.single) .head-score { font-size: 22px; letter-spacing: -0.02em; }
  .cmpx:not(.single) .head-bench { font-size: 15px; }
  .cmpx:not(.single) .score-row { padding-block: 14px 6px; }
  .cmpx:not(.single) .spec-val {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 8px; align-items: baseline;
    padding-block: 2px; text-align: right;
  }
  .cmpx:not(.single) .spec-val > :not(.who) { justify-self: end; }
  .cmpx:not(.single) .spec.hero .spec-val { font-size: 16px; }
  .cmpx:not(.single) .spec-val .with-bar { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: 10px; }
  .cmpx:not(.single) .spec-val .mini { width: 44px; flex: none; }
  .cmpx:not(.single) .spec-val .stack { justify-items: end; }
  .cmpx:not(.single) .spec-val:has(> :is(.prose, .clip, .chips, div:not(.with-bar, .stack))) { grid-template-columns: minmax(0, 1fr); row-gap: 2px; text-align: left; padding-block: 4px; }
  .cmpx:not(.single) .spec-val:has(> :is(.prose, .clip, .chips, div:not(.with-bar, .stack))) > * { justify-self: stretch; }
  .cmpx:not(.single) .spec-val :is(.prose, .clip) { max-width: none; margin: 0; }
  .cmpx:not(.single) .spec-val .chips { justify-content: flex-start; }
  .cmpx:not(.single) .mix-cols { row-gap: 10px; }
  .mix-key, .day-key { padding-left: 0; }
  .day-list { padding-block: 10px 2px; row-gap: 6px; }
  .sx-head { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding-block: 12px; }
  .sx-peek { padding-left: 16px; }
  .sx.fold.is-open .sx-peek { display: none; }
  .compare-all { padding-inline: 8px; }
  .cmpx:not(.single) .mix-cell { display: grid; gap: 4px; align-content: start; }
  .cmpx:not(.single) .mix-cols > .muted { text-align: left; }
  .cmpx:not(.single) .mixbars { width: 100%; }
  /* the test BPB by kind of text stays a small table: a kind per row, a run per column under its color */
  .cmpx:not(.single) :is(.kind, .kind-head) { grid-template-columns: 92px repeat(var(--n), minmax(0, 1fr)); column-gap: 6px; row-gap: 0; }
  .cmpx:not(.single) :is(.kind, .kind-head) > .lab { grid-column: auto; padding-left: 0; padding-block: 0; }
  .cmpx:not(.single) .kind > .lab { align-self: baseline; }
  .cmpx:not(.single) .kind .who { display: none; }
  .cmpx:not(.single) .kind .spec-val { display: block; padding-block: 0; text-align: right; }
  .cmpx:not(.single) .kind-head { padding-top: 4px; align-items: center; }
  .cmpx:not(.single) .kind-head > .lab { display: block; }
  .cmpx:not(.single) .kind > .lab { width: auto; }
  .cmpx:not(.single) .kind .lab-note { display: block; padding: 1px 0 3px; }
  .kinds-cap > .lab { padding-left: 0; }
  .kind-head > [data-c] { text-align: right; }
  .kind-head .swatch { width: 8px; height: 8px; }
}
/* A narrow phone: each run is one line in the rows kept in sight, without the small type under its
   figure; the rest of the summary opens under "More", ruled like the sections around it */
@media (max-width: 640px) {
  .cmpx:not(.single) .head-note, .cmpx:not(.single) > .glance .stack > .muted { display: none; }
  .sx-body > .glance { margin-top: 0; border-top: 0; }
  .cmpx:not(.single) .sx-list { margin-top: 16px; }
}

/* Back link and run details shared with the form */
.back { display: inline-block; font-size: 13.5px; color: var(--ink-2); text-decoration: none; margin-top: 8px; }
.back:hover { color: var(--ink); }

/* Add a run */
.add-head { padding-block: 22px 4px; display: grid; gap: 6px; }
.add-head p { color: var(--ink-2); max-width: 66ch; }
.add { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 18px; }
@media (max-width: 980px) { .add { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.start { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: stretch; }
@media (max-width: 640px) { .start { grid-template-columns: minmax(0, 1fr); } }
.drop {
  border: 1.5px dashed var(--rule); border-radius: 12px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--ink-2); font-size: 14px;
  transition: border-color 0.15s, background-color 0.15s;
}
.drop.over { border-color: var(--ink); background: var(--wash); }
.drop strong { color: var(--ink); font-weight: 600; }
.drop .grow { flex: 1; min-width: 200px; }
.drop code, .add code { font-size: 12.5px; background: var(--wash); padding: 1px 5px; border-radius: 4px; }
.from-run { display: grid; gap: 6px; align-content: center; font-size: 13px; color: var(--ink-2); min-width: 220px; }
.paste { margin-top: 10px; display: grid; gap: 8px; }
.paste textarea { min-height: 120px; font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.flash { font-size: 13.5px; padding: 10px 12px; border-radius: 8px; background: var(--wash); margin-top: 12px; }
.flash.bad { color: var(--bad); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs { padding-block: 34px 0; scroll-margin-top: 16px; }
.fs-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 14px; }
.fs-head .count { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.f { display: grid; gap: 5px; align-content: start; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f > label, .f > .label { font-size: 13.5px; font-weight: 500; display: flex; gap: 6px; align-items: baseline; }
.f .req { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.f .help { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.f .err { font-size: 12.5px; color: var(--bad); }
.f.has-err input, .f.has-err textarea { border-color: var(--bad); }
.with-unit { position: relative; }
.with-unit input { padding-right: 52px; }
.with-unit .u { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12.5px; color: var(--ink-3); pointer-events: none; }
.rows { display: grid; gap: 6px; }
.row { display: grid; gap: 6px; align-items: center; }
.row.mix { grid-template-columns: minmax(0, 1fr) 92px 30px; }
.row.phase { grid-template-columns: minmax(0, 1fr) 84px 84px 30px; }
.row.fail { grid-template-columns: 76px minmax(0, 1fr) 76px 30px; }
.row.link { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr) 30px; }
.row-head { font-size: 12px; color: var(--ink-3); }
.x { all: unset; cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: var(--ink-3); font-size: 17px; }
.x:hover { background: var(--wash); color: var(--ink); }
.x:focus-visible { outline: 2px solid var(--ink); }
.add-row { justify-self: start; margin-top: 2px; }
.sum { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sum.off { color: var(--bad); }
.domains-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .domains-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.domains-in label { font-size: 12px; color: var(--ink-3); display: grid; gap: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--rule); border-radius: 7px; background: var(--field); padding: 5px 6px; }
.tags:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--wash-2); }
.tags input { border: 0; box-shadow: none !important; padding: 3px 4px; flex: 1; min-width: 140px; width: auto; background: transparent; }
.jobs-sum { font-size: 13px; color: var(--ink-2); }
.preview { margin-top: 6px; }

.rail { position: sticky; top: 16px; display: grid; gap: 18px; }
@media (max-width: 980px) { .rail { position: static; order: -1; } }
.status { display: grid; gap: 10px; padding: 18px; border-radius: 12px; background: var(--wash); }
.status h3 { font-size: 15px; }
.status ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; }
.status li button { all: unset; cursor: pointer; color: var(--bad); text-decoration: underline; text-decoration-color: transparent; }
.status li button:hover { text-decoration-color: currentColor; }
.status li.w button, .status ul.todo button { color: var(--ink-2); }
.status .btn { width: 100%; }
.status .fine { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
details.json summary { cursor: pointer; font-size: 12.5px; color: var(--ink-2); }
details.json pre {
  margin: 8px 0 0; max-height: 340px; overflow: auto; padding: 10px; border-radius: 8px; background: var(--field);
  font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); white-space: pre;
}
.toc { display: grid; gap: 1px; font-size: 13.5px; }
.toc a { display: flex; justify-content: space-between; gap: 12px; padding: 5px 8px; border-radius: 6px; text-decoration: none; color: var(--ink-2); }
.toc a:hover { background: var(--wash); color: var(--ink); }
.toc a .count { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc a.done .count { color: var(--good); }

/* Tooltip */
.tip {
  position: fixed; z-index: 50; pointer-events: none; max-width: 280px;
  background: var(--field); color: var(--ink); border-radius: 6px; box-shadow: var(--shadow);
  padding: 8px 10px; font-size: 12.5px; line-height: 1.45; white-space: pre-line;
}
.tip b { font-weight: 600; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .strip .seg-ph, .lanes .lane .seg-ph, .bc-bar, .gap-dot { border: 1px solid CanvasText; } }

/* The Analysis page's Trends and Predictions tabs, in the Pareto board's toolbar: their switches start
   at the page's edge and which way is better sits at the right. */
html:has(#board-charts) { overflow-y: scroll; }
:is(#board-charts, #board-predict) .lb-controls { width: 100%; margin-left: 0; align-items: flex-start; }
:is(#board-charts, #board-predict) .lb-controls > .seg { flex: none; }
#board-charts .lb-controls > .cue-line { align-self: center; margin-inline-start: auto; }
@media (max-width: 560px) {
  #board-charts #trend-views, #board-predict .lb-controls > .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  #board-charts #trend-views button, #board-predict .lb-controls > .seg button { height: auto; min-height: 38px; padding: 4px 6px; line-height: 1.2; white-space: normal; }
  #board-charts .lb-controls > .cue-line { margin-inline-start: 0; }
}
/* Trends draws on the Pareto chart (frontierChart): an agent's average is its ring, with a line one
   standard error either side, and its single runs are small marks in its color under it. */
.fr-se { fill: none; stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; transition: opacity 0.12s; }
.fr-run { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--c); opacity: 0.45; transition: opacity 0.12s; }
.fr-run.is-dim, .fr-lines .is-dim { opacity: 0.12; }
/* By release date: a run that set a new best keeps the full ring and a dark name, the others are smaller and quieter */
.fr-pt.is-record { z-index: 1; }
.fr-pt.is-quiet .fr-label { font-weight: 400; color: var(--ink-2); }
.fr-key.is-avg i { position: relative; width: 22px; border-top: 1.25px solid var(--ink); }
.fr-key.is-avg i::after { content: ""; position: absolute; left: 5px; top: -6.5px; width: 9px; height: 9px; border: 2px solid var(--ink-3); border-radius: 50%; background: var(--bg); }
.fr-key.is-run i { width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--ink-3); opacity: 0.6; }
.fr-key.is-lab i { width: 11px; height: 11px; border: 1.25px solid color-mix(in oklab, var(--ink-3) 60%, var(--bg)); border-radius: 50%; }

/* The Predictions tab: its figures, drawn in SVG at the width they have, in the Pareto chart's column. */
.mc { display: grid; gap: 46px; padding-block: 10px 14px; }
.mc-fig { margin: 0; min-width: 0; max-width: 1040px; }
.mc-fig figcaption p { margin: 2px 0 14px; font-size: 13px; color: var(--ink-2); }
.mc-plot svg { display: block; overflow: visible; }
.mc-plot text { font-family: var(--font); }
.mc-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; font-size: 12px; color: var(--ink-2); }
.mc-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mc-legend i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mc-legend .mc-i-avg { background: var(--ink-3); }
.mc-legend .mc-i-ring { background: none; border: 1.5px solid var(--ref-line); }
.mc-legend .mc-i-rule { width: 16px; height: 1.5px; border-radius: 0; background: var(--ink-3); }
.mc-legend .mc-i-rule.is-ink { background: var(--ink); }
.mc-tk { font-size: 11px; fill: var(--ink-3); font-variant-numeric: tabular-nums; }
.mc-lb { font-size: 12px; fill: var(--ink); }
.mc-mu { font-size: 12px; fill: var(--ink-3); }
.mc-ref { font-size: 11px; fill: var(--ref-ink); }
.mc-num { font-variant-numeric: tabular-nums; }
.mc-halo { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.mc-grid { stroke: var(--rule-soft); stroke-width: 1; shape-rendering: crispEdges; }
.mc-dot { stroke: var(--bg); stroke-width: 2; }
.mc-lab { fill: var(--bg); stroke: var(--ref-line); stroke-width: 1.5; }
.mc-trend { stroke: var(--ink-3); stroke-width: 1; opacity: 0.55; }
.mc-se { stroke: var(--ink); stroke-width: 1.25; }
.mc-best { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mc-hit { fill: transparent; }
.mc-plot [data-m] { transition: opacity 0.12s; }
.mc-plot.is-focus [data-m]:not(.on) { opacity: 0.12; }
.mc-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); max-width: 86ch; }

/* Inside the launch post: one of the Ablations page's views in a frame, without the site's header.
   The post sizes the frame to the page, so nothing here scrolls up and down. */
html.is-embed, html.is-embed body { overflow-y: hidden !important; }
.is-embed .top, .is-embed .pickbar, .is-embed .lb-more input { display: none; }
.is-embed .page { max-width: none; padding: 0 2px 10px; }
.is-embed .board-head { padding-top: 6px; }

/* ---------- the front page's top, sections and foot ---------- */
/* the name in two colours, then the task and the links on one row */
.ft-accent { color: var(--accent-ink); }
.front-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 10px 22px; margin-top: 8px; }
/* one quiet link to the launch post beside the task, marked new */
.front-new { display: inline-flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.front-new i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.front-new span { padding-bottom: 1px; border-bottom: 1px solid var(--rule); transition: border-color 0.15s; }
.front-new:hover span { border-bottom-color: var(--ink); }
.front-new svg { align-self: center; color: var(--ink-3); transition: transform 0.15s; }
.front-new:hover svg { transform: translateX(2px); }
/* a section under the table: a centred title in the name's face, close to what it heads */
.front-part { margin-top: 40px; }
.front-part > h2, .front-more h2 { margin: 0 0 18px; font-family: var(--head); font-size: 21px; font-weight: 600; letter-spacing: -0.012em; text-align: center; color: var(--ink); }

/* How a run is scored: four steps in a row, each a number in a ring, a name and one sentence, with
   a hairline running from each ring to the next. Two by two on a narrower screen, and one above the
   other on a phone, where the rings sit to the left of the words. */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; max-width: 1040px; margin: 6px auto 0; padding: 0; list-style: none; }
.flow-step { position: relative; min-width: 0; }
.flow-step:not(:last-child)::before { content: ""; position: absolute; top: 13px; left: 38px; right: -22px; border-top: 1px solid var(--rule); }
.flow-n { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--ink); border-radius: 50%; font-size: 12.5px; font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.flow-name { margin: 14px 0 0; font: 600 15px/21px var(--font); letter-spacing: -0.005em; color: var(--ink); }
.flow-rule { margin: 6px 0 0; font-size: 13.5px; line-height: 20px; color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 899px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
  .flow-step:nth-child(2)::before { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .flow-step { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 14px; }
  .flow-step::before { display: none; }
  .flow-n { grid-row: span 2; }
  .flow-name { margin-top: 3px; }
}

/* the team: the launch post's authors in its order, with room between the names */
.front-team { margin-top: 56px; text-align: center; }
.team-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; max-width: 700px; margin: 0 auto; padding: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.team-list li { white-space: nowrap; }
.team-list a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color 0.15s; }
.team-list a:hover { text-decoration-color: var(--ink); }
.team-list sup { margin-left: 1px; font-size: 0.68em; color: var(--ink-3); }
.front-team .fa-note { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
.cite-fold { margin-top: 18px; }
.cite-fold summary { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 7px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.cite-fold summary::-webkit-details-marker { display: none; }
.cite-fold summary:hover { border-color: var(--ink-3); color: var(--ink); }
.cite-box { max-width: 720px; margin: 10px auto 0; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; text-align: left; background: var(--surface); }
.cite-box { position: relative; }
.cite-copy { position: absolute; top: 8px; right: 8px; height: 26px; padding: 0 11px; border: 1px solid var(--rule); border-radius: 7px; background: var(--surface); color: var(--ink-2); font: 500 12.5px var(--font); cursor: pointer; }
.cite-copy:hover { border-color: var(--ink-3); color: var(--ink); }
.cite-box pre { margin: 0; padding: 14px 16px; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
/* every field starts "  name = {", 12 characters, so a wrapped line hangs under the value */
.cite-box pre span { display: block; padding-left: 12ch; text-indent: -12ch; }

/* benchmark breakdown: an agent's cell is tinted by where it stands on that task */
.bench .bench-table td[style*="--t"] { background: color-mix(in oklab, var(--good) calc(var(--t) * 20%), transparent); color: var(--ink); }

/* The Predictions tab's figures (predict-chart.js) */
/* a model's maker's logo before its name; OpenAI's and Z.ai's follow the text color */
.pc-logo { color: var(--ink); overflow: visible; }
/* the scatter: axes named in words as on the Pareto chart, and a model's own recipes in the Pareto chart's ring */
.pc-stage { position: relative; }
.pc-axis { stroke: var(--rule); stroke-width: 1; shape-rendering: crispEdges; }
.mc-plot .pc-axis-x { margin: 6px 0 0; }
.fr-pt.pc-ring { --d: 18px; }
@media (max-width: 560px) { .fr-pt.pc-ring { --d: 15px; } }
.pc-rule { fill: var(--ink-3); opacity: 0.45; }
.pc-zero { stroke: var(--ink-3); stroke-width: 1; }
.pc-diag { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 4 4; }
.pc-own { stroke: var(--ink); stroke-width: 1.75; }
.pc-self { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.pc-cell { font-size: 11px; fill: var(--ink); font-variant-numeric: tabular-nums; pointer-events: none; }
.pc-cell.is-dark { fill: var(--bg); }
.pc-under { margin: 10px 0 0; }
.mc-legend .pc-i-own { width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--ink-3); }
.mc-legend .pc-i-dash { width: 16px; height: 0; border-radius: 0; border-top: 1.5px dashed var(--ink-3); }
.mc-legend .pc-i-warm, .mc-legend .pc-i-cool, .mc-legend .pc-i-self { border-radius: 2px; width: 11px; height: 11px; }
.mc-legend .pc-i-warm { background: color-mix(in oklab, var(--pc-warm) 60%, var(--bg)); }
.mc-legend .pc-i-cool { background: color-mix(in oklab, var(--pc-cool) 60%, var(--bg)); }
.mc-legend .pc-i-self { background: none; border: 1.5px solid var(--ink); }

/* the foot of every page: the name and year at the left, the links at the right */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.foot nav { display: flex; gap: 24px; }
.foot a { font-weight: 500; color: var(--ink-2); text-decoration: none; padding-block: 6px; margin-block: -6px; }
.foot a:hover { color: var(--ink); }
.is-embed .foot { display: none; }

.lb.is-home .lb-links { display: none; }
@media (max-width: 370px) { .tabs { gap: 12px; } }
@media (max-width: 359px) { .tabs { gap: 10px; } .tabs a { font-variation-settings: "wdth" 85; } }

/* a long table behind one plain bar under its chart: easy to see, one press to open */
.big-fold { margin-top: 18px; }
.big-fold + .big-fold { margin-top: 10px; }
.big-fold > summary > span { min-width: 0; }
.big-fold > summary { display: flex; align-items: baseline; gap: 12px; padding: 13px 16px; border: 1px solid var(--rule); border-radius: 6px; list-style: none; cursor: pointer; font-size: 13px; color: var(--ink-3); }
.big-fold > summary::-webkit-details-marker { display: none; }
.big-fold > summary b { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.big-fold > summary::after { content: ""; flex: none; align-self: center; width: 6px; height: 6px; margin-left: auto; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
.big-fold[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.big-fold > summary:hover { border-color: var(--ink-3); }
.big-fold[open] > summary { margin-bottom: 6px; }


/* ---------- front page: the quiet link under the table, the key's direction, the green New ---------- */
/* one small link for the score in view, as quiet as the folds above it */
.score-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12.5px; font-weight: 500; color: var(--ink-3); text-decoration: none; }
.score-link:hover { color: var(--ink); }
.score-link svg { transition: transform 0.15s; }
.score-link:hover svg { transform: translateX(2px); }
/* which way is better, in the key's own gray */
.bc-key .key-way { align-items: center; gap: 4px; }
.bc-key .key-way svg { flex: none; }
/* the page's one green word */
.front-new i { color: var(--good); }
/* the fold a link opened, marked for a moment */
.big-fold.is-flash > summary { animation: fold-flash 1.6s ease-out 1; }
@keyframes fold-flash { 0%, 35% { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 12%, transparent); } 100% { box-shadow: 0 0 0 3px transparent; } }
@media (prefers-reduced-motion: reduce) { .big-fold.is-flash > summary { animation: none; border-color: var(--ink); } }
.big-fold { scroll-margin-top: 16px; }
/* the best-fit line through the runs on the two-scores chart: thin, solid, quieter than the frontier */
.fr-fit { fill: none; stroke: var(--ink-2); stroke-width: 1.25; stroke-linecap: round; opacity: 0.7; vector-effect: non-scaling-stroke; }
.fr-key.is-fit i { width: 18px; height: 0; border: 0; border-top: 1.25px solid var(--ink-2); border-radius: 0; background: none; opacity: 0.7; }
/* a lab model's mark is gray wherever its bar is, on the Analysis page as on the front page. On a dark page it is
   brightened first, or a dark logo (Qwen) disappears into the page. */
.bc-col.is-ref .maker-mark { filter: grayscale(1); opacity: 0.6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.bc-col.is-ref, .lb-row.is-lab) .maker-mark { filter: grayscale(1) brightness(1.7); } }
:root[data-theme="dark"] :is(.bc-col.is-ref, .lb-row.is-lab) .maker-mark { filter: grayscale(1) brightness(1.7); }
/* five cards: one row on a wide screen; in two columns the first, the newest, takes a row of its own */
.fm-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fm-grid:has(> :nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fm-grid:has(> :nth-child(5)) > :first-child { grid-column: 1 / -1; } }
/* the front page's lower sections stand apart: a hairline and room above each */
.front-part, .front-more, .front-team { margin-top: 60px; padding-top: 52px; border-top: 1px solid var(--rule); }
@media (max-width: 720px) { .front-part, .front-more, .front-team { margin-top: 44px; padding-top: 38px; } }
/* the command-line agent beside a model's name on the front page's table */
.lb-cli { font-size: 12px; font-weight: 400; color: var(--ink-3); white-space: nowrap; }
/* the quiet links under the table sit on one line */
.score-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; }
.score-links .score-link { margin-top: 0; }
/* on a phone the three run scores under the name already say how many runs, so the chip gives its place to the CLI */
@media (max-width: 560px) { .lb.is-home .lb-row.is-agent .lb-runs { display: none; } }
/* the launch post's link: top right of the front page, level with the title; centred above it when there is no room beside */
.front { position: relative; }
.front > .front-new { position: absolute; top: 40px; right: 0; font-size: 13.5px; }
@media (max-width: 1000px) { .front > .front-new { position: static; display: flex; justify-content: center; margin: -6px 0 10px; } }

/* The front page's chart cards are small real charts: gridlines, tick values and both axes named. */
.fm-thumb { overflow: visible; margin: 4px 0 8px; font-family: var(--font); }
.fm-rule { stroke: var(--rule); stroke-width: 1; }
.fm-axis { stroke: var(--ink-3); stroke-width: 1; }
.fm-tick { fill: var(--ink-3); font-size: 9.5px; font-weight: 400; font-variant-numeric: tabular-nums; }
.fm-sup { font-size: 7px; }
.fm-name { fill: var(--ink-2); font-size: 9.5px; font-weight: 500; }
.fm-dot { stroke-width: 0.9; }
.fm-dash { stroke-width: 1.1; }
.fm-best { stroke-width: 1.2; }
.fm-lab { stroke-width: 1.1; }
.fm-card { padding: 12px 14px 12px; }
/* Five cards: three over two on a mid-width screen, and a row to swipe through on a narrow one, so a card never gets too small to read or wide enough to tower. */
@media (max-width: 1100px) {
  .fm-grid:has(> :nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fm-grid:has(> :nth-child(5)) > *, .fm-grid:has(> :nth-child(5)) > :first-child { grid-column: span 2; }
  .fm-grid:has(> :nth-child(5)) > :nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 820px) {
  .fm-grid, .fm-grid:has(> :nth-child(5)) { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
  .fm-grid > .fm-card { flex: 0 0 min(300px, 80%); scroll-snap-align: start; }
}

/* Names keep proportional figures: in Inter, tabular figures also widen the hyphen in "GPT-6.2". */
.lb-who, .cmp-name, .head-name, .tr-name, .spec-val .abbr, .spec-val .prose, .spec-val .chip, .spec-val .muted { font-variant-numeric: normal; }

/* Sentences keep proportional figures too (tabular figures loosen Inter's hyphens: "held-out", "few-shot"). */
.prose { font-variant-numeric: normal; }
/* The Predictions tab: each figure, with its title and note, sits in the Pareto chart's column, in the middle of the page. */
.mc { justify-items: center; }
.mc > * { width: 100%; max-width: 1040px; }

/* The front page's chart: wide bars that fill the page, each score in ink over its bar, a thin firm
   baseline under hairline grid lines, and each maker's logo on its own under the bar. */
.front .bc-frame { --plot: calc(210px * var(--grow, 1)); --col: 76px; }
@media (max-width: 640px) { .front .bc-frame { --plot: calc(190px * var(--grow, 1)); } }
.front .bc-bar, .front .bc-stack { width: 74%; }
.front .bc-bar, .front .bc-stack { transform-origin: 50% 100%; } /* they rise from the baseline (frontRise in app.js) */
.front .bc-plot { position: relative; border-bottom: 1px solid var(--ink); }
.front .bc-grid { display: block; }
.front .bc-grid i { border-top: 1px solid var(--rule-soft); }
.front .bc-grid span { display: none; }
.front .bc-val { padding-bottom: 5px; font-size: 13.5px; font-weight: 650; }
.front .bc-col.is-ref .bc-val { color: var(--ink-3); font-weight: 500; }
.front .lb-chart.long-vals .bc-val { font-size: 11.5px; }
.front .lb-chart.is-tight .bc-val { font-size: 10.5px; }
/* On a phone the chart runs into the page's side gutters, where the first slanted names have room. A score
   wider than the room its bar has (barChart measures it: vals-up) stands on its side above the bar. */
.front .lb-chart.is-tight .chart-scroll { margin-inline: -12px; }
.front .lb-chart.vals-up .bc-val { writing-mode: vertical-rl; transform: rotate(180deg); padding: 5px 0 0; font-size: 11.5px; line-height: 1; }
.front .bc-col .maker-mark { width: 22px; height: 22px; margin-top: 8px; }
.front .bc-col .maker-mark.letter { background: none; }
.front .bc-col .maker-mark svg { width: 17px; height: 17px; }
.front .lb-chart.is-tight .bc-col .maker-mark { width: 24px; height: 24px; }
.front .lb-chart.is-tight .bc-col .maker-mark svg { width: 14px; height: 14px; }
