:root {
  --ink: #263247; --muted: #68758a; --line: #e4e9f0; --accent: #147f76;
  --tint: #eef8f5; --paper: #fff; --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, a, input, select { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #8ba8e8; outline-offset: 3px; }
button:disabled { cursor: default; opacity: .35; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.025em; }
.topbar, main, footer { max-width: 1380px; margin: auto; padding-left: 44px; padding-right: 44px; }
.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0f2f5; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 19px; font-weight: 720; letter-spacing: -.045em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-icon { display: grid; place-items: center; width: 27px; height: 28px; background: var(--accent); color: white; border-radius: 6px; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { color: #697486; font-size: 12px; }
nav a:last-child { color: var(--accent); }
.hero { text-align: center; padding: 43px 0 39px; }
.eyebrow { text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .15em; color: var(--muted); }
h1 { font-size: clamp(50px, 5vw, 66px); font-weight: 750; letter-spacing: -.065em; margin: 10px 0 8px; }
h1 span { color: var(--accent); }
.hero-title { font-size: 23px; font-weight: 500; letter-spacing: -.03em; }
.hero-description { font-size: 13px; color: #748092; margin-top: 11px; line-height: 1.75; }
.resource-links { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.resource-links a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 17px; border: 1px solid #dfe5ec; border-radius: 6px; font-size: 12px; color: #43516a; background: white; }
.resource-links a:hover { background: #f6f8fb; text-decoration: none; }
.resource-links a.primary { color: white; border-color: var(--accent); background: var(--accent); }
.resource-links a.primary:hover { background: #116d66; }
.resource-links svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.collection-meta { margin-top: 18px; color: #8b94a3; font-size: 10px; }
.collection-meta > span:not(.meta-separator) { color: #5e6c80; font-weight: 600; }
.meta-separator { margin: 0 12px; color: #ced4dc; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; gap: 20px; }
h2 { font-size: 21px; font-weight: 650; }
.section-heading p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.quiet-link, .quiet-button { color: #778397; font-size: 11px; }
.quiet-button { background: none; border: 1px solid var(--line); border-radius: 5px; padding: 6px 10px; white-space: nowrap; }
#leaderboard { border-top: 1px solid var(--line); padding-top: 26px; }
.matrix-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 6px #26324704; }
table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.matrix { min-width: 1240px; font-variant-numeric: tabular-nums; }
.matrix th { height: 66px; background: #f7f9fb; font-weight: 600; color: #526178; font-size: 11px; border-bottom: 1px solid var(--line); }
.matrix td { height: 77px; border-bottom: 1px solid #edf0f5; transition: background-color .12s; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: #f8fafc; }
.matrix .overall-rank { width: 44px; min-width: 44px; text-align: center; color: #69788c; font-family: var(--mono); font-size: 12px; position: sticky; left: 0; z-index: 2; background: white; }
.matrix th.overall-rank, .matrix th.method-column { background: #f7f9fb; }
.matrix .method-column { width: 188px; min-width: 188px; padding: 12px 16px 12px 8px; position: sticky; left: 44px; background: white; z-index: 2; }
.method-name { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.method-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.coverage { display: block; color: #748197; font-size: 10px; margin: 4px 0 0 16px; }
.source-column { width: 104px; min-width: 104px; padding: 0 8px; text-align: center; }
.source-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 8px; border: 1px solid; border-radius: 5px; font-size: 10px; font-weight: 500; white-space: nowrap; }
.source-badge:hover { text-decoration: none; filter: brightness(.94); }
.source-open { background: #f0f8f5; color: #207357; border-color: #cce5d9; }
.source-no { color: #8995a6; font-size: 10px; }
.elo-column { text-align: center; width: 106px; min-width: 106px; padding: 0 10px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #f4f8fb; }
.matrix th.elo-column { color: #315674; background: #eef3f8; }
.matrix tbody tr:hover .elo-column { background: #edf3f8; }
.info-link { display: inline-block; color: #77859a; border: 1px solid #a6b2c1; border-radius: 50%; width: 13px; height: 13px; line-height: 12px; font-size: 9px; text-align: center; vertical-align: 1px; margin-left: 2px; }
.elo-value { color: #244e6d; font-family: var(--mono); font-size: 17px; font-weight: 650; letter-spacing: -.035em; }
.target-column { text-align: center; min-width: 86px; }
.target-column button { display: block; width: 100%; min-height: 65px; background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 5px 8px; font-size: 11px; font-weight: 600; color: #526178; }
.target-column button:hover, .target-column button.selected { color: var(--accent); background: #f0f6f5; }
.target-column button.selected { border-bottom-color: var(--accent); }
.column-unit { display: block; font-size: 10px; color: #7c8899; font-weight: 400; margin-top: 4px; }
.result-cell { text-align: center; }
.cell-button { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; height: 76px; justify-content: center; border: 0; background: none; color: inherit; padding: 8px 5px; }
.cell-button:hover { background: #edf3f8; }
.cell-rank { font-family: var(--mono); font-size: 10px; color: #8490a1; line-height: 1.5; padding: 0 5px; border-radius: 3px; }
.cell-value { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: -.025em; }
.best-cell { background: #f3faf7; }
.matrix tbody tr:hover .best-cell { background: #eaf6f0; }
.best-cell .cell-rank { color: #207357; background: #e1f0e8; font-weight: 650; }
.best-cell .cell-value { color: #176449; font-weight: 650; }
.missing { color: #c5ccd6; font-size: 14px; }
.matrix-notes { display: flex; justify-content: space-between; gap: 30px; margin-top: 12px; font-size: 10px; color: #7d899b; }
.rank-key { color: #207357; font-family: var(--mono); background: #e1f0e8; border-radius: 3px; padding: 1px 4px; }
.note-separator { color: #b9c3d0; margin: 0 5px; }
.rating-method { margin-top: 14px; font-size: 11px; color: var(--muted); max-width: 960px; }
.rating-method summary { cursor: pointer; color: #6c7b8f; display: list-item; width: fit-content; }
.rating-method p { margin: 10px 0; font-size: 12px; line-height: 1.8; }
#target-details { margin-top: 41px; padding-top: 27px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.target-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 10px; }
.target-tabs button { border: 1px solid var(--line); border-radius: 6px; background: white; color: #627087; padding: 9px 13px; font-size: 12px; }
.target-tabs button:hover { background: #f6f8fb; color: var(--ink); }
.target-tabs button[aria-pressed=true] { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.target-description { font-size: 11px; color: #929bad; margin-bottom: 17px; }
.figure-card { border: 1px solid var(--line); border-radius: 9px; padding: 23px 24px 15px; }
.figure-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.figure-heading > div { display: flex; gap: 14px; align-items: baseline; }
.figure-heading h3 { font-size: 15px; font-weight: 600; }
#chart-unit { font-size: 10px; color: #9aa4b3; }
.point-toggle { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #8390a3; white-space: nowrap; }
.point-toggle input { accent-color: var(--accent); width: 12px; height: 12px; }
.figure-layout { display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 25px; align-items: center; }
.plot-wrap { min-width: 0; position: relative; }
.chart svg { display: block; width: 100%; height: auto; }
.grid-line { stroke: #edf0f5; stroke-width: 1; }
.axis-label { font-size: 10px; fill: #748298; font-family: var(--mono); }
.axis-title { font-size: 11px; fill: #8a96a9; }
.progress-line { vector-effect: non-scaling-stroke; }
.cursor-line { stroke: #aab5c5; stroke-width: 1; stroke-dasharray: 3 4; pointer-events: none; }
.legend { padding: 5px 0 10px 10px; }
.legend-heading { color: #a1aabb; font-size: 9px; margin-bottom: 9px; padding-left: 5px; }
.legend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; border-radius: 5px; width: 100%; padding: 10px 5px; color: #66778e; text-align: left; }
.legend-row:hover { background: #f7f9fc; }
.legend-row[aria-pressed=false] { opacity: .28; }
.legend-name { display: flex; align-items: center; gap: 8px; font-size: 11px; flex-wrap: wrap; }
.legend-name small { font-size: 8px; max-width: 110px; overflow-wrap: anywhere; }
.legend-value { font-family: var(--mono); font-size: 10px; color: #53657e; }
.legend > a { font-size: 10px; display: block; margin: 13px 5px 0; }
.figure-note { border-top: 1px solid #f0f2f6; padding-top: 13px; margin-top: 13px; font-size: 9px; color: #98a2b1; text-align: center; }
.chart-tooltip { position: absolute; top: 14px; z-index: 3; background: #fffffff5; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; box-shadow: 0 4px 14px #24365210; pointer-events: none; font-size: 10px; min-width: 180px; }
.chart-tooltip > strong { display: block; margin-bottom: 7px; color: #78869a; font-weight: 500; }
.tooltip-row { display: flex; justify-content: space-between; gap: 14px; margin-top: 5px; }
.tooltip-row > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.run-records { margin: 17px 0 54px; }
.run-records > summary { cursor: pointer; color: #7a889b; font-size: 11px; }
.run-records > summary span { color: #a6afbc; }
.records-scroll { overflow-x: auto; margin-top: 13px; border: 1px solid var(--line); border-radius: 7px; }
.records-scroll table { min-width: 740px; font-size: 11px; }
.records-scroll th { background: #f7f9fc; padding: 10px 15px; color: #7d8b9e; font-weight: 500; white-space: nowrap; }
.records-scroll td { padding: 13px 15px; border-top: 1px solid var(--line); vertical-align: top; }
.numeric { font-family: var(--mono); white-space: nowrap; font-size: 11px; }
.subtext { display: block; color: #98a3b2; margin-top: 4px; font-size: 9px; overflow-wrap: anywhere; }
.model-cell { font-size: 10px; color: #7d8b9e; max-width: 230px; overflow-wrap: anywhere; }
.evidence a { display: inline-block; margin-right: 12px; font-size: 10px; white-space: nowrap; }
.empty-chart { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.empty-chart strong { font-size: 14px; font-weight: 500; }
.empty-chart p { font-size: 11px; color: #9aa4b4; }
.empty-chart a { font-size: 11px; margin-top: 5px; }
.empty-table { padding: 30px; text-align: center; color: var(--muted); }
footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 26px; }
footer .brand { font-size: 14px; }
footer p, footer > a:last-child { font-size: 10px; color: #97a1b0; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 5; background: white; padding: 12px; }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.guide { max-width: 790px; margin: 45px auto 65px; }
.guide h1 { font-size: 43px; margin: 14px 0 17px; }
.guide .intro { max-width: 680px; font-size: 15px; }
.guide section { margin-top: 34px; }
.guide h2 { font-size: 22px; margin-bottom: 13px; }
.guide p, .guide li { color: #7b889a; font-size: 13px; }
.guide p { margin: 12px 0; }
.guide pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f8fb; border: 1px solid var(--line); border-radius: 7px; padding: 18px; font-family: var(--mono); font-size: 11px; line-height: 1.8; }
.guide code { font-family: var(--mono); font-size: .9em; }
.guide ol { padding-left: 20px; }
.guide li { margin: 8px 0; }
.notice { border-left: 3px solid var(--accent); background: var(--tint); padding: 13px 16px; margin: 20px 0 !important; }
@media (max-width: 1000px) {
  .topbar, main, footer { padding-left: 26px; padding-right: 26px; }
  .figure-layout { grid-template-columns: minmax(0,1fr) 180px; gap: 12px; }
  .figure-card { padding-left: 15px; padding-right: 15px; }
  .legend-name { font-size: 10px; }
  .matrix-notes { display: block; }.matrix-notes p + p { margin-top: 4px; }
}
@media (max-width: 650px) {
  .topbar, main, footer { padding-left: 18px; padding-right: 18px; }
  .topbar { height: 62px; }.brand { font-size: 17px; }.brand-mark { width: 23px; }
  nav { gap: 18px; } nav a { font-size: 10px; } nav a:nth-child(2) { display: none; }
  .hero { padding: 31px 0 29px; } h1 { font-size: min(57px, 15vw); }.hero-title { font-size: 21px; }
  .hero-description { font-size: 12px; }.wide-only { display: none; }.eyebrow { font-size: 8px; }
  .resource-links { gap: 7px; }.resource-links a { padding: 7px 12px; font-size: 11px; }
  .collection-meta { font-size: 9px; }.meta-separator { margin: 0 7px; }
  h2 { font-size: 20px; }.section-heading p { font-size: 11px; }.section-heading { align-items: start; }
  .matrix .overall-rank { width: 30px; min-width: 30px; }.matrix .method-column { width: 152px; min-width: 152px; left: 30px; padding-left: 5px; }
  .method-name { font-size: 12px; gap: 6px; }.coverage { margin-left: 13px; font-size: 9px; }
  .matrix .method-column { box-shadow: 4px 0 8px -7px #5c6c80; }.matrix-notes { font-size: 9px; }
  #target-details { margin-top: 28px; padding-top: 23px; }.quiet-button { font-size: 9px; padding: 5px 7px; }
  .target-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .target-tabs button { padding: 10px 3px; font-size: 10px; min-height: 44px; }.target-description { font-size: 10px; }
  .figure-card { padding: 16px 10px 12px; }.figure-heading { display: block; padding: 0 5px; margin-bottom: 12px; }
  .figure-heading > div { justify-content: space-between; }.figure-heading h3 { font-size: 14px; } #chart-unit { font-size: 9px; }
  .point-toggle { margin-top: 10px; font-size: 9px; }.figure-layout { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 0 8px; }
  .legend-heading { display: none; }.legend-row { padding: 8px 0; }.legend-name { font-size: 9px; gap: 6px; }.legend-value { font-size: 9px; }
  .legend > a { grid-column: 1 / -1; }.figure-note { font-size: 9px; padding-left: 5px; padding-right: 5px; }
  .chart-tooltip { font-size: 9px; min-width: 158px; }.tooltip-row .numeric { font-size: 9px; }
  .run-records { margin-bottom: 34px; } footer { flex-wrap: wrap; gap: 12px; }footer p { order: 3; width: 100%; font-size: 9px; }
  .guide { margin: 30px auto 45px; }.guide h1 { font-size: 36px; }
}
