:root {
  --ink: #14202b;
  --ink-2: #42556b;
  --ink-3: #586b80;
  --paper: #fbfcfd;
  --surface: #fff;
  --paper-2: #f1f5fa;
  --line: #d9e2ed;
  --line-soft: #e9eef5;
  --accent: #4f8cff;
  --accent-text: #2868c7;
  --accent-control: #2868c7;
  --accent-soft: rgba(79, 140, 255, .06);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --content-width: 1360px;
  --gutter: 32px;
  --table-text: 14px;
  --table-small: 12px;
  color-scheme: light;
}
[data-theme="dark"] {
  --ink: #e9eef5;
  --ink-2: #bac6d5;
  --ink-3: #9cacc0;
  --paper: #101720;
  --surface: #131d29;
  --paper-2: #192737;
  --line: #35465b;
  --line-soft: #27374b;
  --accent-text: #8ab4ff;
  --accent-soft: rgba(79, 140, 255, .07);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; border-radius: 3px; }
p { margin: 0; color: var(--ink-2); }
.wrap, .nav-inner, .home-hero-inner { width: min(100%, var(--content-width)); margin-inline: auto; padding-inline: var(--gutter); }
#introduction, #leaderboard, #retired-problems { scroll-margin-top: 80px; }

/* Original centered introduction above the compact results template. */
.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; }
.nav-brand-logo { width: 26px; height: 26px; border-radius: 6px; }
.nav-brand-name { font: 600 20px/1.2 var(--serif); letter-spacing: -.02em; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { border: 1px solid var(--line); border-radius: 5px; padding: 5px 12px; font-size: 13px; }
.theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-2); background: transparent; font-size: 16px; }
.nav-cta:hover, .theme-toggle:hover { background: var(--paper-2); }
.home-hero { padding: 64px 24px 43px; text-align: center; background: radial-gradient(ellipse 48% 50% at 50% 0, var(--accent-soft), transparent), var(--paper); }
.home-hero-inner { display: block; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0; }
.home-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-text); font: 500 10px/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.home-kicker > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { margin: 0 0 24px; font: 600 clamp(44px, 5vw, 66px)/1.07 var(--serif); letter-spacing: -.035em; }
h1 em { color: var(--accent-text); font-style: normal; }
.home-title-name { display: block; margin-bottom: 16px; }
.home-title-description { display: block; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
.home-actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-size: 13px; line-height: 1.4; font-weight: 500; }
.btn:hover { background: var(--paper-2); }
.btn.accent { color: #fff; background: var(--accent-control); border-color: var(--accent-control); }
.btn.accent:hover { filter: brightness(1.08); }
.leaderboard-section { padding: 20px 0 32px; }
.leaderboard-intro { padding-top: 22px; margin-bottom: 20px; border-top: 1px solid var(--line); }
h2 { margin: 0; font: 600 28px/1.25 var(--serif); letter-spacing: -.02em; }
.leaderboard-lead { margin-top: 7px; font-size: 14px; line-height: 1.6; }

/* Retired problems follow the same table treatment as the leaderboard. */
.retired-section { padding: 8px 0 48px; }
.retired-intro { padding-top: 24px; margin-bottom: 20px; border-top: 1px solid var(--line); }
.retired-description { max-width: 950px; margin-top: 10px; font-size: 14px; line-height: 1.7; }
.retired-proof-notice { margin-top: 9px; font-size: 14px; line-height: 1.7; }
.retired-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.retired-problem-column { width: 45%; }
.retired-type-column { width: 10%; }
.retired-spec-column { width: 9%; }
.retired-invariant-column { width: 12%; }
.retired-prover-column { width: 24%; }
.retired-table.document-table > thead th { padding-inline: 16px; }
.retired-table > tbody > tr > th, .retired-table > tbody > tr > td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; line-height: 1.5; }
.retired-table > tbody > tr:last-child > th, .retired-table > tbody > tr:last-child > td { border-bottom: 0; }
.retired-table > tbody > tr:hover { background: color-mix(in srgb, var(--paper-2) 55%, var(--surface)); }
.retired-problem { text-align: left; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.retired-problem a { color: var(--accent-text); }
.retired-problem a:hover { text-decoration: underline; text-underline-offset: 3px; }
.retired-type, .retired-provers { color: var(--ink-2); font-size: var(--table-small); }
.retired-specs, .retired-invariants { font-weight: 500; font-variant-numeric: tabular-nums; }
.retired-prover { display: block; line-height: 1.6; }
.retired-prover + .retired-prover { margin-top: 2px; }

@media (max-width: 700px) {
  .retired-section { padding-top: 0; padding-bottom: 32px; }
  .retired-intro { padding-top: 20px; margin-bottom: 16px; }
  .retired-description, .retired-proof-notice { font-size: 13px; }
}
@media (max-width: 800px) {
  .retired-table { display: block; table-layout: auto; }
  .retired-table colgroup, .retired-table > thead { display: none; }
  .retired-table > tbody { display: block; }
  .retired-table > tbody > tr { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 12px 16px; padding: 16px; border-bottom: 1px solid var(--line); }
  .retired-table > tbody > tr:last-child { border-bottom: 0; }
  .retired-table > tbody > tr > th, .retired-table > tbody > tr > td { min-width: 0; padding: 0; border: 0; text-align: left; }
  .retired-problem { grid-column: 1 / -1; }
  .retired-type { grid-column: 1; }
  .retired-specs { grid-column: 2; }
  .retired-invariants { grid-column: 3; }
  .retired-provers { grid-column: 1 / -1; }
  .retired-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--ink-3); font-size: 11px; font-weight: 400; line-height: 1.5; }
  .retired-provers .retired-prover { display: inline; }
  .retired-provers .retired-prover + .retired-prover::before { content: " · "; color: var(--ink-3); }
}

/* All tables share a type scale, row rhythm, and numeric alignment. */
table { width: 100%; border-collapse: collapse; }
.document-table { table-layout: fixed; font-size: var(--table-text); }
.numeric { text-align: right; }
.leaderboard-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.leaderboard-table { min-width: 1180px; }
.document-table > thead { background: var(--paper-2); }
.document-table > thead th { height: 54px; padding: 9px 10px; color: var(--ink-2); font-size: var(--table-small); font-weight: 600; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.document-table > thead th.numeric { text-align: right; }
.sort-button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: 1.4; text-align: inherit; }
.column-label { display: block; white-space: nowrap; }
.column-unit { display: block; color: var(--ink-3); font-weight: 400; line-height: 1.4; white-space: nowrap; }
.sort-arrow { flex: 0 0 auto; color: var(--ink-3); font-size: 11px; opacity: .65; }
.sort-arrow.active { color: var(--accent-text); opacity: 1; }
.model-row, .spec-row { cursor: pointer; }
.model-row:hover, .spec-row:hover { background: color-mix(in srgb, var(--paper-2) 55%, var(--surface)); }
.model-row.is-open, .spec-row.is-open { background: var(--paper-2); }
.model-row > td, .model-row > th { padding: 13px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.model-cell, .spec-name { text-align: left; }
.rank-cell { text-align: center !important; color: var(--ink-3); font-size: var(--table-small); font-weight: 400; font-variant-numeric: tabular-nums; }
.row-name-toggle { display: inline-flex; align-items: center; width: 100%; max-width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: inherit; }
.row-name-toggle:hover { color: var(--accent-text); }
.model-logo { width: 25px; height: 25px; flex: 0 0 25px; margin-right: 10px; }
[data-theme="dark"] .model-logo { padding: 2px; border-radius: 4px; background: #fff; }
.model-identity { display: grid; gap: 2px; min-width: 0; }
.model-identity strong { display: block; font-size: 15px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.model-config { display: block; color: var(--ink-2); font-size: var(--table-small); line-height: 18px; font-weight: 400; white-space: nowrap; }
.scope-cell, .metric-value { font-size: var(--table-text); line-height: 20px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-value { display: block; }
.rate-cell { text-align: right; }
.detail-row > td, .inv-expand-row > td { padding: 0; }
.model-detail { padding: 14px; background: var(--paper-2); }
.spec-table { border: 1px solid var(--line); background: var(--surface); }
.spec-row > th, .spec-row > td, .group-total > th, .group-total > td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.spec-row > th { font-size: var(--table-text); line-height: 20px; font-weight: 500; }
.family-qualifier { display: block; color: var(--ink-2); font-size: var(--table-small); line-height: 18px; font-weight: 400; margin-top: 2px; white-space: nowrap; }
.group-level { color: var(--ink-2); font-size: var(--table-small); line-height: 18px; white-space: nowrap; }
.group-total { background: var(--paper-2); }
.group-total > td, .group-total > th { border-top: 1px solid var(--line); border-bottom: 0; }
.group-total > th { font-size: var(--table-text); font-weight: 600; }

/* Scores use the same numeral size as other metrics, with color as the cue. */
.pass-score { --score-color: var(--score-ink); display: inline-flex; flex-direction: column; align-items: flex-end; gap: 2px; font-variant-numeric: tabular-nums; }
[data-theme="dark"] .pass-score { --score-color: var(--score-bright); }
.score-badge { display: inline-flex; align-items: center; color: var(--score-color); }
.score-value, .score-unit { font: 600 var(--table-text)/20px var(--sans); letter-spacing: 0; white-space: nowrap; }
.score-fraction { color: var(--ink-3); font: 400 var(--table-small)/18px var(--sans); white-space: nowrap; }

/* Invariant detail repeats the same table treatment at one level of nesting. */
.inv-panel { padding: 16px; background: var(--paper-2); border-block: 1px solid var(--line); }
.inv-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.inv-heading h4 { margin: 0; font: 600 15px/1.5 var(--sans); }
.inv-heading > span { color: var(--ink-3); font-size: var(--table-small); }
.inv-usage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.inv-usage dt { min-height: 34px; font-size: var(--table-small); line-height: 17px; color: var(--ink-2); }
.inv-usage dd { margin: 4px 0 0; font-size: var(--table-text); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.detail-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.detail-toolbar select, .mobile-sort select, .mobile-sort button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--surface); font-size: var(--table-small); }
.mobile-sort { display: none; }
.inv-table { border: 1px solid var(--line); background: var(--surface); table-layout: fixed; }
.inv-table > thead { background: var(--paper-2); }
.inv-table > thead th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: var(--table-small); font-weight: 600; text-align: left; }
.inv-table > thead th:first-child { width: 46%; }
.inv-table > thead th.numeric { text-align: right; }
.inv-table > tbody > tr > td, .inv-table > tbody > tr > th { padding: 10px 12px; border-bottom: 1px solid var(--line-soft); font-size: var(--table-text); font-variant-numeric: tabular-nums; }
.inv-name { text-align: left; font-weight: 500; overflow-wrap: anywhere; }
.inv-spec-name { display: block; margin-top: 2px; color: var(--ink-3); font-size: var(--table-small); line-height: 18px; font-weight: 400; }
.verdict { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; line-height: 18px; font-weight: 600; color: var(--ink-2); }
.verdict::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.verdict-pass { color: #197046; }
.verdict-fail, .verdict-cheating, .verdict-error { color: #ae2e2e; }
.verdict-unresolved, .verdict-timeout { color: #8b5b0d; }
[data-theme="dark"] .verdict-pass { color: #7edca5; }
[data-theme="dark"] .verdict-fail, [data-theme="dark"] .verdict-cheating, [data-theme="dark"] .verdict-error { color: #ff9e8f; }
[data-theme="dark"] .verdict-unresolved, [data-theme="dark"] .verdict-timeout { color: #f8cf6f; }
.empty-results { padding: 20px; text-align: center; color: var(--ink-3); font-size: 13px; }
.site-foot { padding: 18px 0; border-top: 1px solid var(--line); font-size: var(--table-small); color: var(--ink-3); }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-foot a:hover { color: var(--accent-text); }
.footer-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-text); }
.foot-sep { width: 1px; height: 12px; background: var(--line); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .nav-inner { min-height: 56px; }
  .nav-brand-name { font-size: 18px; }
  .nav-brand-logo { width: 24px; height: 24px; }
  .nav-right { gap: 8px; }
  .nav-cta { font-size: 12px; padding: 5px 10px; }
  .btn { font-size: 12px; padding: 8px 11px; }
  .leaderboard-section { padding-top: 0; padding-bottom: 24px; }
  .leaderboard-intro { padding-top: 20px; margin-bottom: 16px; }
  h2 { font-size: 26px; }
  .leaderboard-lead { font-size: 13px; line-height: 1.6; }
}
@media (max-width: 600px) {
  .home-hero { padding: 42px 20px 30px; }
  h1 { font-size: clamp(35px, 8.6vw, 49px); margin: 0 0 22px; }
  .home-actions { gap: 8px; margin-top: 22px; }
  .leaderboard-table { min-width: 0; table-layout: auto; }
  .document-table colgroup, .document-table > thead { display: none; }
  .mobile-sort { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
  .detail-toolbar .mobile-sort { margin: 0; }
  .mobile-sort button:disabled { opacity: .5; cursor: default; }
  .model-row { display: grid; grid-template-columns: 20px 1fr 1fr; gap: 12px 10px; padding: 15px 14px; border-bottom: 1px solid var(--line); }
  .model-row > th, .model-row > td { border: 0; padding: 0; min-width: 0; }
  .model-row .rank-cell { grid-column: 1; grid-row: 1; align-self: center; text-align: left !important; }
  .model-row .model-cell { grid-column: 2 / 4; grid-row: 1; }
  .model-logo { width: 24px; height: 24px; flex-basis: 24px; margin-right: 9px; }
  .model-identity strong { font-size: 14px; }
  .retired-problem { font-size: 14px; }
  .model-config { font-size: 11px; }
  .model-row .scope-cell { grid-column: 1 / 3; grid-row: 2; text-align: left; align-self: start; }
  .model-row .rate-cell { grid-column: 3; grid-row: 2; }
  .model-row > .metric-cell { text-align: left; }
  .model-row .metric-tokensInOutPerInvM { grid-column: 1 / 4; grid-row: 3; }
  .model-row .metric-costPerInvUsd { grid-column: 1 / 3; grid-row: 4; }
  .model-row .metric-costUsd { grid-column: 3; grid-row: 4; }
  .scope-cell::before, .metric-cell::before, .group-level::before { content: attr(data-label); display: block; color: var(--ink-2); font-size: 11px; font-weight: 400; line-height: 16px; margin-bottom: 3px; white-space: normal; }
  .model-row .rate-cell::before { content: "Score"; display: block; color: var(--ink-2); font-size: 11px; line-height: 16px; margin-bottom: 3px; }
  .model-row .metric-cell { display: flex; flex-direction: column; justify-content: space-between; }
  .model-row .pass-score { align-items: flex-end; }
  .detail-row:not([hidden]), .detail-row > td { display: block; }
  .model-detail { padding: 10px 8px; }
  .spec-table { table-layout: auto; }
  .spec-row, .group-total { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .spec-row > th, .spec-row > td, .group-total > th, .group-total > td { padding: 0; border: 0; min-width: 0; text-align: left; }
  .spec-name { grid-column: 1 / 3; grid-row: 1; font-weight: 600; }
  .family-qualifier { white-space: normal; }
  .group-level { grid-column: 1; grid-row: 2; }
  .spec-table .scope-cell { grid-column: 2; grid-row: 2; }
  .spec-score { grid-column: 1; grid-row: 3; }
  .spec-score::before { content: "Score"; display: block; color: var(--ink-2); font-size: 11px; line-height: 16px; margin-bottom: 3px; }
  .spec-score .pass-score { align-items: flex-start; }
  .spec-table .metric-tokensInOutPerInvM { grid-column: 1 / 3; grid-row: 4; }
  .spec-table .metric-costPerInvUsd { grid-column: 1; grid-row: 5; }
  .spec-table .metric-costUsd { grid-column: 2; grid-row: 5; }
  .group-total { border-top: 1px solid var(--line); }
  .inv-expand-row:not([hidden]), .inv-expand-row > td { display: block; }
  .inv-panel { padding: 14px 12px; }
  .inv-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .inv-heading h4 { font-size: 14px; }
  .inv-usage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .inv-usage dt { min-height: 0; font-size: 11px; line-height: 16px; }
  .inv-usage dd { margin-top: 3px; }
  .inv-table > thead { display: none; }
  .inv-table > tbody > tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .inv-table > tbody > tr > th, .inv-table > tbody > tr > td { border: 0; padding: 0; text-align: left; font-size: 13px; }
  .inv-name { grid-column: 1 / 3; }
  .inv-table > tbody > tr > td:nth-child(2) { grid-column: 1 / 3; }
  .inv-table td.numeric::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 11px; }
  .site-foot { font-size: 11px; }
}
@media (min-width: 601px) {
  .document-table > thead > tr > th:last-child,
  .model-row > td:last-child, .spec-row > td:last-child, .group-total > td:last-child,
  .inv-table > thead > tr > th:last-child, .inv-table > tbody > tr > td:last-child { padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Both detail levels use the same reversible height transition. */
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms cubic-bezier(.22, .7, .2, 1); overflow-anchor: none; }
.collapse.is-open { grid-template-rows: 1fr; }
.collapse-inner { min-height: 0; overflow: hidden; opacity: 0; transition: opacity 180ms ease; }
.collapse.is-open > .collapse-inner { opacity: 1; }
.model-row, .spec-row { transition: background-color 160ms ease; }
.inv-table > thead th:first-child { width: 31%; }
.inv-table > thead th:nth-child(2) { width: 11%; }
.inv-table > thead th:nth-child(4) { width: 15%; }
.proof-cell { text-align: right !important; }
.view-proof, .proof-download { padding: 0; border: 0; background: transparent; color: var(--accent-text); font-size: 12px; font-weight: 500; white-space: nowrap; }
.view-proof:hover, .proof-download:hover { text-decoration: underline; }
.proof-dialog { width: min(1040px, calc(100vw - 48px)); max-width: none; max-height: min(88vh, 1000px); padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 80px rgba(10, 24, 44, .25); }
.proof-dialog[open] { display: flex; flex-direction: column; }
.proof-dialog::backdrop { background: rgba(12, 25, 45, .46); backdrop-filter: blur(2px); }
.proof-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex: 0 0 auto; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.proof-dialog-header p { font-size: 12px; color: var(--ink-3); }
.proof-dialog-header h3 { margin: 4px 0 0; font: 600 18px/1.4 var(--sans); overflow-wrap: anywhere; }
.proof-close { padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: var(--surface); font-size: 12px; }
.proof-close:hover { background: var(--paper-2); }
.proof-dialog-body { overflow: auto; padding: 18px 22px 22px; }
.proof-overview { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; color: var(--ink-2); font-size: 12px; }
.proof-download { margin-left: auto; }
.proof-loading { padding: 20px 0; font-size: 14px; }
.proof-unit { border: 1px solid var(--line); border-radius: 5px; background: var(--paper); overflow: hidden; }
.proof-unit + .proof-unit { margin-top: 8px; }
.proof-unit summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--paper-2); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 500; }
.proof-unit summary small { flex-shrink: 0; color: var(--ink-3); font-size: 11px; font-weight: 400; }
.proof-unit summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.proof-code { margin: 0; padding: 14px 16px; overflow: auto; color: var(--ink); font: 13px/1.7 var(--mono); tab-size: 2; }
.proof-dependencies { margin-top: 20px; }
.proof-dependencies h4 { margin: 0 0 12px; font: 600 13px/1.5 var(--sans); }
.proof-dependencies h4 span { margin-left: 6px; font-weight: 400; color: var(--ink-3); }
@media (max-width: 600px) {
  .inv-table .proof-cell { grid-column: 1 / 3; margin-top: 3px; text-align: left !important; }
  .proof-dialog { width: calc(100vw - 24px); max-height: 90dvh; }
  .proof-dialog-header, .proof-dialog-body { padding: 14px; }
  .proof-dialog-header h3 { font-size: 16px; }
  .proof-overview { gap: 10px; }
  .proof-download { margin-left: 0; }
  .proof-unit summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .proof-code { padding: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .collapse, .collapse-inner, .model-row, .spec-row { transition: none; }
}
