:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color-scheme: light;
  color: #26352e;
  background: #f8faf7;
  font-synthesis: none;
  --ink: #26352e;
  --muted: #718077;
  --line: #dfe5de;
  --accent: #36725a;
  --paper: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; }
button, summary { cursor: pointer; }
button:disabled { opacity: .42; cursor: default; }
:focus-visible { outline: 2px solid #36725a; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
button { touch-action: manipulation; }
.skip-link { position: fixed; top: -60px; left: 12px; background: white; padding: 10px; z-index: 30; }
.skip-link:focus { top: 8px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 12px max(28px, calc((100vw - 1480px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { font-size: 15px; font-weight: 650; letter-spacing: -.3px; text-decoration: none; white-space: nowrap; }
.brand span { display: block; font-size: 10px; font-weight: 400; letter-spacing: .2px; color: var(--muted); margin-top: 2px; }
nav { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
nav a { text-decoration: none; color: #758278; padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.nav-count { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #f0f3ee; color: #748172; margin-left: 3px; font-variant-numeric: tabular-nums; }
main { max-width: 1536px; margin: 0 auto; padding: 24px 28px 48px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 18px; }
.page-heading .eyebrow { display: none; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 1.6px; font-weight: 600; margin-bottom: 8px; }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.8px; font-weight: 550; }
#page-description { color: var(--muted); margin-top: 6px; font-size: 12px; }
.page-actions { text-align: right; }
#catalog-summary { display: flex; gap: 22px; margin-bottom: 12px; font-size: 11px; color: var(--muted); }
#catalog-summary strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.page-actions button + button { margin-left: 8px; }
.button, .pagination button { border: 1px solid #cdd7cb; border-radius: 5px; background: white; padding: 7px 12px; font-size: 12px; text-decoration: none; white-space: nowrap; }
.button:hover, .pagination button:hover:not(:disabled) { background: #edf3eb; }
.button.primary { color: white; background: var(--ink); border-color: var(--ink); }
.button.primary:hover { background: #3c5144; }
.filterbar { display: flex; align-items: flex-end; gap: 12px; padding: 10px 14px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.searchbox, .organization-filter, .select-field { display: flex; flex-direction: column; gap: 6px; color: #66746a; font-size: 11px; }
.searchbox { flex: 1; max-width: 520px; }
.organization-filter { width: 190px; }
input, select { background: white; border: 1px solid #d4dcd1; border-radius: 4px; min-height: 34px; padding: 6px 9px; min-width: 0; color: var(--ink); font-size: 12px; }
input::placeholder { color: #8c978d; }
input[type="checkbox"] { min-height: auto; width: 14px; height: 14px; padding: 0; accent-color: var(--accent); margin: 0; }
.text-button, .table-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: #b8c6b7; text-underline-offset: 3px; text-align: left; }
.text-button:hover, .table-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
#clear-filters { padding: 8px 4px; white-space: nowrap; }
.featured-benchmarks { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.featured-benchmarks > span { font-size: 11px; color: var(--muted); margin-right: 8px; }
.featured-benchmarks button { font-size: 11px; border: 1px solid var(--line); border-radius: 5px; padding: 5px 10px; background: transparent; color: #708074; }
.featured-benchmarks button[aria-pressed="true"] { color: #346449; border-color: #b6cab4; background: #edf3e8; }
.featured-benchmarks button:hover { border-color: #98ad98; }
.explorer-controls { display: grid; grid-template-columns: 1.2fr 1fr 1.5fr; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.explorer-controls select { width: 100%; height: 38px; background: #fff; }
.benchmark-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 18px 0 12px; }
.benchmark-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.benchmark-heading h2 { font-size: 27px; font-weight: 550; letter-spacing: -.8px; line-height: 1.3; }
.benchmark-heading p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.heading-divider { margin: 0 9px; color: #bdc8ba; }
.view-switch { display: flex; padding: 3px; border: 1px solid #dde4d9; background: #eff3ec; border-radius: 6px; }
.view-switch button { border: 1px solid transparent; padding: 7px 16px; font-size: 12px; border-radius: 4px; background: transparent; color: #7c877c; }
.view-switch button[aria-pressed="true"] { background: white; border-color: #dbe3d6; box-shadow: 0 1px 2px #26352e08; color: #26352e; }
.comparison-toolbar { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; min-height: 35px; }
.inline-control { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.inline-control select { font-size: 11px; min-height: 30px; padding: 4px 7px; }
.selection-note { margin-left: auto; font-size: 10px; color: var(--muted); text-align: right; max-width: 370px; }
.model-picker { position: relative; font-size: 11px; }
.model-picker summary { padding: 6px 10px; background: white; border: 1px solid #d4dcd1; border-radius: 4px; white-space: nowrap; }
.model-picker summary span { color: var(--muted); margin-left: 5px; }
.model-menu { position: absolute; z-index: 12; top: calc(100% + 6px); left: 0; width: 310px; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 28px #26352e18; padding: 12px; }
.model-menu-actions { display: flex; gap: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.model-options { max-height: 330px; overflow: auto; padding-top: 6px; }
.model-options label { display: flex; gap: 10px; padding: 6px 3px; align-items: center; color: var(--ink); cursor: pointer; }
.model-options label:hover { background: #f3f6ef; }
.chart-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.chart-grid.with-scatter { grid-template-columns: minmax(0, 1.35fr) minmax(420px, 1fr); align-items: start; }
.chart-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.chart-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 20px 12px; }
.chart-panel-heading h3 { font-weight: 600; font-size: 13px; letter-spacing: -.15px; }
.chart-panel-heading p { color: var(--muted); font-size: 10px; margin-top: 3px; }
.chart-panel-heading .text-button { font-size: 11px; white-space: nowrap; }
.chart-unit { font-size: 10px; color: #8a948a; }
.plot-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 2px 20px 14px; }
.check-control { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #758273; white-space: nowrap; }
.scatter-chart { display: block; width: 100%; height: auto; padding: 0 8px; min-height: 280px; }
.plot-point { cursor: pointer; outline: none; }
.plot-point:hover .point-dot, .plot-point:focus-visible .point-dot { stroke: #233d31; stroke-width: 2.5; r: 6; }
.chart-footnote { font-size: 10px; color: #7e8a7c; border-top: 1px solid #edf0ea; padding: 11px 20px; line-height: 1.6; }
.ranking-chart { padding: 0 20px 10px; }
.ranking-head { display: flex; justify-content: space-between; color: #8e998a; letter-spacing: .5px; font-size: 9px; text-transform: uppercase; padding: 5px 0 9px; border-bottom: 1px solid #edf0ea; }
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-list li { border-bottom: 1px solid #f0f3ed; }
.rank-row { display: grid; width: 100%; grid-template-columns: 24px minmax(180px, 230px) minmax(70px, 1fr) 65px; align-items: center; gap: 12px; padding: 9px 0; border: 0; background: transparent; text-align: left; }
.rank-row:hover, .rank-row:focus-visible { background: #f7faf3; }
.rank-number { font-size: 9px; color: #a4ada0; font-variant-numeric: tabular-nums; }
.rank-name { min-width: 0; }
.rank-name strong { display: block; font-size: 12px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-name > span { display: block; color: #8c9688; font-size: 9px; margin-top: 1px; }
.rank-track { position: relative; height: 14px; background: repeating-linear-gradient(to right, #eff2ec 0, #eff2ec 1px, transparent 1px, transparent 25%); }
.rank-bar { position: absolute; height: 12px; top: 1px; background: var(--series); opacity: .75; border-radius: 0 2px 2px 0; }
.rank-interval { position: absolute; top: 3px; height: 8px; border-left: 1px solid #26352e; border-right: 1px solid #26352e; }
.rank-interval::after { content: ""; height: 1px; position: absolute; left: 0; right: 0; top: 3px; background: #26352e; }
.rank-value { text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; white-space: nowrap; }
.rank-value small { font-size: 9px; color: #96a08f; font-weight: 400; display: block; }
.rank-axis { display: flex; justify-content: space-between; margin: 8px 77px 0 278px; color: #9aa492; font-size: 9px; font-variant-numeric: tabular-nums; }
.compact .rank-row { grid-template-columns: 16px minmax(130px, 1.2fr) minmax(50px, 1fr) 46px; gap: 8px; padding: 7px 0; }
.compact .rank-name strong { font-size: 10px; }
.compact .rank-value { font-size: 11px; }
.compact .rank-axis { margin-left: calc(24px + (100% - 86px) * .545); margin-right: 54px; }
.chart-empty { display: grid; place-items: center; min-height: 280px; padding: 30px; text-align: center; color: var(--muted); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center; padding: 17px 0 8px; }
.chart-legend button { display: flex; gap: 6px; align-items: center; border: 0; padding: 2px; background: none; font-size: 10px; color: #7a8777; }
.chart-legend button:hover { color: var(--ink); text-decoration: underline; }
.chart-legend button span { width: 7px; height: 7px; border-radius: 50%; }
.comparison-context { display: flex; gap: 24px; justify-content: space-between; align-items: baseline; padding: 14px 0 24px; font-size: 10px; color: #83907e; }
.comparison-context a { white-space: nowrap; }
.results-section { padding-top: 20px; border-top: 1px solid var(--line); }
.panel-head, .table-toolbar, .table-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); margin-bottom: 12px; }
.table-toolbar, .table-status { justify-content: flex-start; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 15px; font-weight: 550; color: var(--ink); }
.panel-head h3 > span { font-size: 10px; padding: 3px 6px; background: #edf2e8; border-radius: 4px; margin-left: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.panel-head p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.table-wrap { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: 5px; background: white; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1000px; font-size: 11px; text-align: left; }
.results-table { table-layout: fixed; min-width: 1280px; }
th { position: sticky; top: 0; z-index: 1; background: #f0f4ec; border-bottom: 1px solid #d4dece; font-weight: 500; color: #6f7e67; font-size: 10px; }
th, td { padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
td { border-bottom: 1px solid #edf1e8; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fcfdfb; }
tbody tr:hover { background: #f3f7ef; }
th button { display: block; width: 100%; background: none; border: 0; text-align: left; font: inherit; padding: 0; }
th button:hover { color: var(--ink); text-decoration: underline; }
.table-link { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.results-table th:nth-child(1) { width: 55px; }
.results-table th:nth-child(2) { width: 170px; }
.results-table th:nth-child(3) { width: 180px; }
.results-table th:nth-child(4) { width: 180px; }
.results-table th:nth-child(5) { width: 95px; }
.results-table th:nth-child(6) { width: 75px; }
.results-table th:nth-child(7) { width: 150px; }
.results-table th:nth-child(8) { width: 220px; }
.results-table th:nth-child(9) { width: 100px; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; color: var(--muted); font-size: 11px; }
.pagination .controls { display: flex; gap: 12px; align-items: center; }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.empty h2 { font-size: 16px; margin-bottom: 8px; font-weight: 500; }
.empty .button { margin-top: 12px; }
.loading-state { padding: 80px 0; }
.loading-state p { margin-top: 12px; color: var(--muted); }
dialog { width: min(920px, calc(100vw - 32px)); max-height: 90vh; padding: 0; border: 1px solid #ced9c7; border-radius: 9px; background: white; color: var(--ink); box-shadow: 0 18px 70px #26352e30; }
dialog::backdrop { background: #172c2266; backdrop-filter: blur(3px); }
.dialog-top { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: #f5f8f1; border-bottom: 1px solid var(--line); font-size: 11px; }
#detail-body { padding: 24px; }
#detail-title { font-size: 23px; font-weight: 550; margin-bottom: 6px; }
.detail-subtitle, .source-detail-note, .locator, .extraction-note { color: var(--muted); }
.detail-score { font-size: 38px; font-weight: 550; letter-spacing: -1px; margin: 18px 0; }
.paired-evidence { padding: 12px; background: #f1f6ed; border-radius: 4px; font-size: 12px; }
.paired-evidence button { margin-left: 10px; }
.detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 16px; border-block: 1px solid var(--line); font-size: 12px; }
.detail-info dt { color: var(--muted); margin-bottom: 4px; font-size: 10px; }
.detail-info dd { margin: 0; overflow-wrap: anywhere; }
.detail-info .wide { grid-column: 1 / -1; }
.evidence-heading { font-size: 13px; font-weight: 600; margin: 22px 0 12px; }
.evidence { border-top: 1px solid var(--line); padding-block: 16px; }
.evidence h3 { font-size: 13px; font-weight: 550; margin-bottom: 6px; }
.evidence blockquote { margin: 12px 0; padding: 14px 16px; background: #f6f8f2; border-left: 2px solid #b2c6a8; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: 12px; }
.source-detail-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.extraction-note { font-size: 11px; margin-bottom: 10px; }
.dialog-table { margin-top: 16px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 30; background: #263b2f; color: white; padding: 12px 18px; border-radius: 6px; font-size: 12px; max-width: 90vw; }
.chart-tooltip { position: fixed; z-index: 20; width: 280px; pointer-events: none; border: 1px solid #d3ddce; border-radius: 6px; box-shadow: 0 8px 24px #26352e20; padding: 14px; background: white; font-size: 11px; }
.chart-tooltip > strong { display: block; font-size: 13px; }
.chart-tooltip > span, .chart-tooltip small { color: var(--muted); font-size: 10px; }
.chart-tooltip dl { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin: 12px 0; }
.chart-tooltip dt { color: var(--muted); }
.chart-tooltip dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.model-note { color: var(--muted); margin-bottom: 16px; }
#model-config-select { max-width: 440px; margin-bottom: 18px; }
.site-footer { max-width: 1480px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 10px; color: #8a9582; }
@media (min-width: 1600px) { .chart-grid.with-scatter { grid-template-columns: minmax(0, 1.5fr) minmax(450px, 1fr); } }
@media (max-width: 1100px) {
  .chart-grid.with-scatter { grid-template-columns: minmax(0, 1.2fr) minmax(350px, 1fr); }
  .plot-controls { gap: 8px; }
  .plot-controls .inline-control { width: 100%; }
  .page-actions #catalog-summary { gap: 12px; }
  .selection-note { max-width: 230px; }
  .compact .rank-row { grid-template-columns: 12px minmax(110px, 1.2fr) minmax(35px, 1fr) 40px; gap: 5px; }
}
@media (max-width: 820px) {
  .site-header { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  nav { gap: 20px; }
  main { padding: 26px 20px; }
  .page-heading { align-items: flex-start; }
  .page-actions #catalog-summary { display: none; }
  .chart-grid.with-scatter { grid-template-columns: 1fr; }
  .filterbar { flex-wrap: wrap; }
  .searchbox { min-width: 200px; }
  .organization-filter { width: 155px; }
  .explorer-controls { grid-template-columns: 1fr 1fr; }
  .source-field { grid-column: 1 / -1; }
  .selection-note { display: none; }
  .benchmark-heading h2 { font-size: 23px; }
  .view-switch button { padding: 6px 10px; }
  .site-footer { margin: 0 20px; }
}
@media (max-width: 540px) {
  h1 { font-size: 27px; }
  .page-heading { display: block; }
  .page-actions { text-align: left; margin-top: 16px; }
  .filterbar { padding: 12px; }
  .searchbox { max-width: none; flex-basis: 100%; }
  .organization-filter { flex: 1; width: auto; }
  .explorer-controls { display: flex; flex-direction: column; }
  .benchmark-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .comparison-toolbar { flex-wrap: wrap; gap: 10px; }
  .rank-row { grid-template-columns: 16px minmax(120px, 1fr) minmax(45px, .8fr) 50px; gap: 6px; }
  .rank-axis { display: none; }
  .comparison-context { display: block; }
  .comparison-context a { display: block; margin-top: 8px; }
  .site-footer > span:nth-child(2) { display: none; }
  .model-menu { left: auto; right: 0; width: min(310px, 85vw); }
}
@media (prefers-reduced-motion: no-preference) {
  .rank-bar { animation: reveal-bar .35s ease-out both; transform-origin: left; }
  @keyframes reveal-bar { from { transform: scaleX(.92); opacity: .25; } to { transform: scaleX(1); opacity: .75; } }
}
