:root {
  color-scheme: light dark;
  --paper: #fff;
  --ink: #242424;
  --muted: #616161;
  --line: #ddd;
  --wash: #f5f5f5;
  --blue: #165acb;
  --red: #a82d26;
  --accent: #edf3ff;
  font: 16px/1.7 Monaco, "Cascadia Mono", "Liberation Mono", monospace;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #000;
    --ink: #dedede;
    --muted: #aaa;
    --line: #333;
    --wash: #111;
    --blue: #8bb8ff;
    --red: #ff9890;
    --accent: #101a2a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #000; --ink: #dedede; --muted: #aaa; --line: #333;
  --wash: #111; --blue: #8bb8ff; --red: #ff9890; --accent: #101a2a;
}
:root[data-theme="light"] { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
button, input, select, details, blockquote { border-radius: 0; }
p { margin: 0 0 1.2em; }
strong { font-weight: 700; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); letter-spacing: -.055em; margin: 24px 0 18px; }
h2 { font-size: 1.45rem; letter-spacing: -.035em; margin: 0 0 24px; }
h3 { font-size: 1rem; margin: 24px 0 12px; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
code { font: inherit; font-size: .9em; background: var(--wash); padding: 2px 4px; overflow-wrap: anywhere; }
ul, ol { padding-left: 1.5em; }
li { margin: 8px 0; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; font-weight: 400; color: var(--muted); }
caption { text-align: left; margin-bottom: 12px; font-size: .85rem; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--paper); padding: 8px; }
.skip:focus { top: 8px; }
.site-nav, .article, .site-footer { width: min(100% - 48px, 800px); margin-inline: auto; }
.article { width: min(100% - 48px, 1320px); }
.article > .article-header, .article > section { width: min(100%, 800px); margin-inline: auto; }
.article > #results { width: 100%; }
#results > h2, #results > p, #results > .model-comparison { width: min(100%, 800px); margin-inline: auto; }
.model-comparison { margin-top: 32px; border-block: 1px solid var(--line); }
.model-comparison > summary { padding: 16px 0; cursor: pointer; }
.model-comparison > p { margin-top: 16px; }
.site-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 40px; font-size: .8rem; }
.site-nav a { text-decoration: none; }
.article-header { padding: 30px 0 8px; }
.byline, .text-small, figcaption { font-size: .78rem; line-height: 1.65; }
.byline, .text-small, figcaption, .table-note { color: var(--muted); }
.byline { margin-bottom: 24px; }
.article > section { margin-top: 56px; scroll-margin-top: 28px; }
.plate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 12px; }
.plate-grid a, .control-grid a { display: block; }
.plate { width: 100%; aspect-ratio: 1; background: #f5f5f5; }
figcaption { margin-top: 10px; }
figcaption strong { display: block; color: var(--ink); font-weight: 400; }
.figure-note { margin-top: 14px; }
.score-heading, .model > summary { display: grid; grid-template-columns: minmax(200px, 1fr) repeat(3, 94px); column-gap: 12px; align-items: center; }
.score-heading { padding: 10px 0; font-size: .72rem; color: var(--muted); }
.score-heading span:not(:first-child) { text-align: right; }
.model { border-bottom: 1px solid var(--line); }
.model > summary { padding: 14px 0; cursor: pointer; list-style: none; font-size: .83rem; }
.model > summary::-webkit-details-marker { display: none; }
.model > summary:hover, .model[open] > summary { background: var(--wash); }
.model-name { display: flex; align-items: baseline; gap: 10px; }
.model-name::before { content: "+"; flex: 0 0 12px; color: var(--muted); }
.model[open] > summary .model-name::before { content: "−"; }
.rank { color: var(--muted); width: 18px; flex: 0 0 18px; font-size: .7rem; }
.score { text-align: right; font-variant-numeric: tabular-nums; }
.score-label { display: none; }
.score strong { font-weight: 400; }
.score-bar { display: block; background: var(--wash); height: 3px; margin-top: 5px; }
.score-bar i { display: block; height: 100%; width: var(--score); background: var(--blue); }
.false-count { color: var(--red); }
.model-detail { padding: 12px 20px 24px; border-left: 3px solid var(--line); margin: 2px 0 20px; font-size: .82rem; }
.model-detail p { margin-bottom: 12px; }
.configurations { border-top: 1px solid var(--line); margin-top: 24px; }
.configuration > summary { padding: 12px 0; cursor: pointer; }
.configuration > .model-detail { margin-bottom: 8px; }
.table-scroll { overflow-x: auto; }
.threshold-table { min-width: 570px; font-size: .74rem; margin-block: 18px; }
.threshold-table th, .threshold-table td { text-align: right; padding: 8px; }
.threshold-table th:first-child { text-align: left; }
.detail-meta { overflow-wrap: anywhere; }
.control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; gap: 24px; margin: 24px 0; }
.supporting-details > details { border-bottom: 1px solid var(--line); }
.supporting-details > details > summary { padding: 16px 0; cursor: pointer; font-size: .9rem; }
.support-body { padding: 8px 0 20px; }
.prompt { margin: 18px 0; padding: 8px 0 8px 20px; border-left: 4px solid var(--line); font-size: .83rem; }
.site-footer { margin-block: 56px 40px; border-top: 1px solid var(--line); padding-top: 24px; font-size: .76rem; color: var(--muted); }
@media (max-width: 680px) {
  :root { font-size: 14px; }
  .site-nav, .article, .site-footer { width: calc(100% - 32px); }
  .site-nav { padding-top: 24px; }
  .article-header { padding-top: 16px; }
  .article > section { margin-top: 42px; }
  .plate-grid { gap: 10px; }
  .score-heading { display: none; }
  .model > summary { grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; }
  .model-name { grid-column: 1 / -1; font-size: .9rem; }
  .score { text-align: left; }
  .score-label { display: block; color: var(--muted); font-size: .7rem; }
  .model-detail { padding: 8px 0 20px 12px; }
  .control-grid { gap: 16px; }
}
@media (max-width: 400px) {
  .plate-grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .plate-grid figure { margin-bottom: 12px; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #000; --muted: #444; }
  .site-nav { display: none; }
  .article { width: 100%; }
  .article > section { break-inside: avoid; }
}
