:root {
  color-scheme: light;
  --font-sans: "Geist", "Geist Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 9px;
  --radius-full: 999px;

  --control-sm: 30px;
  --control: 36px;
  --header-height: 56px;
  --content-width: 1200px;
  --gutter: var(--space-6);

  --bg: #fafafb;
  --bg-subtle: #f5f5f7;
  --bg-muted: #eeeef1;
  --surface: #ffffff;
  --card: #ededf0;
  --card-surface: color-mix(in srgb, var(--card) 88%, transparent);
  --surface-hover: #f6f6f7;
  --border: #e6e6e9;
  --border-strong: #d4d4d8;
  --text: #18181b;
  --text-muted: #5f5f6a;
  --text-subtle: #686873;
  --primary: #b0161c;
  --primary-hover: #8e1116;
  --primary-fg: #ffffff;
  --brand: #b0161c;
  --brand-soft: #f8e9e9;
  --brand-text: #9a1419;
  --success: #15803d;
  --success-soft: #e8f6ed;
  --warning: #a15c07;
  --warning-soft: #fdf3e1;
  --danger: #c4221d;
  --danger-soft: #fdecec;
  --info: #3b5bdb;
  --info-soft: #edf1fd;
  --ring: rgba(176, 22, 28, 0.28);
  --overlay: rgba(9, 9, 11, 0.4);
  --shadow-sm: 0 1px 2px rgba(16, 16, 24, 0.05);
  --shadow: 0 1px 3px rgba(16, 16, 24, 0.06), 0 1px 2px rgba(16, 16, 24, 0.04);
  --shadow-lg: 0 12px 32px -8px rgba(16, 16, 24, 0.18), 0 4px 8px -4px rgba(16, 16, 24, 0.08);
  --chart-1: #b0161c;
  --aurora-1: #f2dddb;
  --aurora-2: #e8c0c0;
  --aurora-3: #dfa4a4;
  --aurora-4: #d68889;
  --aurora-5: #cc6b6e;
  --aurora-6: #c34f52;
  --aurora-7: #b93237;
  --aurora-8: #b0161c;
  --aurora-9: #921217;
  --aurora-10: #780f13;
  --aurora-11: #5f0c0f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c0c0e;
    --bg-subtle: #111114;
    --bg-muted: #1a1a1e;
    --surface: #131316;
    --card: #0a0a0d;
    --surface-hover: #1c1c20;
    --border: #26262b;
    --border-strong: #35353c;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-subtle: #92929d;
    --primary: #b8191f;
    --primary-hover: #cc2229;
    --primary-fg: #ffffff;
    --brand: #e4504a;
    --brand-soft: #2a1112;
    --brand-text: #ef6b62;
    --success: #4ade80;
    --success-soft: #0f2618;
    --warning: #fbbf24;
    --warning-soft: #2a1f08;
    --danger: #ff7a74;
    --danger-soft: #2c1314;
    --info: #8da2fb;
    --info-soft: #161c33;
    --ring: rgba(228, 80, 74, 0.4);
    --overlay: rgba(0, 0, 0, 0.6);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
    --chart-1: #d23a35;
    --aurora-1: #241011;
    --aurora-2: #341214;
    --aurora-3: #4a1518;
    --aurora-4: #63181c;
    --aurora-5: #801b21;
    --aurora-6: #9e1f26;
    --aurora-7: #bc242b;
    --aurora-8: #d82e34;
    --aurora-9: #ee4643;
    --aurora-10: #ff7360;
    --aurora-11: #ffb39a;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0c0e;
  --bg-subtle: #111114;
  --bg-muted: #1a1a1e;
  --surface: #131316;
  --card: #0a0a0d;
  --surface-hover: #1c1c20;
  --border: #26262b;
  --border-strong: #35353c;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-subtle: #92929d;
  --primary: #b8191f;
  --primary-hover: #cc2229;
  --primary-fg: #ffffff;
  --brand: #e4504a;
  --brand-soft: #2a1112;
  --brand-text: #ef6b62;
  --success: #4ade80;
  --success-soft: #0f2618;
  --warning: #fbbf24;
  --warning-soft: #2a1f08;
  --danger: #ff7a74;
  --danger-soft: #2c1314;
  --info: #8da2fb;
  --info-soft: #161c33;
  --ring: rgba(228, 80, 74, 0.4);
  --overlay: rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
  --chart-1: #d23a35;
  --aurora-1: #241011;
  --aurora-2: #341214;
  --aurora-3: #4a1518;
  --aurora-4: #63181c;
  --aurora-5: #801b21;
  --aurora-6: #9e1f26;
  --aurora-7: #bc242b;
  --aurora-8: #d82e34;
  --aurora-9: #ee4643;
  --aurora-10: #ff7360;
  --aurora-11: #ffb39a;
}

@font-face {
  font-family:'Geist Fallback';
  src:local('Arial');
  size-adjust:102.4585%;
  ascent-override:98.0885%;
  descent-override:28.7921%;
  line-gap-override:0%;
  unicode-range:U+20-7E,U+A0-AC,U+AE-FF;
}
@font-face {
  font-family:'Geist Mono Fallback';
  src:local('Menlo');
  size-adjust:99.6594%;
  ascent-override:100.8435%;
  descent-override:29.6008%;
  line-gap-override:0%;
  unicode-range:U+20-7E,U+A0-AC,U+AE-FF;
}
@font-face {
  font-family:Geist;
  src:url('/assets/fonts/geist.9b6f5ff45b278c74.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap;
}
@font-face {
  font-family:'Geist Mono';
  src:url('/assets/fonts/geist-mono.5f3d6ad60f29d6cb.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  font-size:var(--text-base);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,figure {
  margin:0;
}
h1 {
  font-size:var(--text-2xl);
  font-weight:650;
  line-height:1.22;
  letter-spacing:-.025em;
}
h2 {
  font-size:var(--text-lg);
  font-weight:600;
  letter-spacing:-.015em;
}
h3 {
  font-size:var(--text-md);
  font-weight:600;
}
a {
  color:inherit;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
  text-underline-offset:3px;
}
button,select {
  font:inherit;
  color:inherit;
}
button,a,select {
  -webkit-tap-highlight-color:transparent;
}
img {
  object-fit:contain;
  flex-shrink:0;
}
button {
  cursor:pointer;
}
[hidden] {
  display:none!important;
}
:focus-visible {
  outline:2px solid var(--brand);
  outline-offset:3px;
}
header {
  position:relative;
  z-index:2;
  border-bottom:1px solid var(--border);
}
.header-inner {
  max-width:1328px;
  padding:0 24px;
  margin:auto;
  display:flex;
  align-items:center;
  min-height:64px;
  gap:16px;
  flex-wrap:wrap;
}
.brand {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  white-space:nowrap;
  font-size:16px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.brand-title {
  font-weight:650;
}
.brand-by {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:12px;
  letter-spacing:0;
  color:var(--text-subtle);
}
.brand-by:hover {
  color:var(--text);
}
header nav {
  display:flex;
  gap:24px;
  margin-left:auto;
}
header nav a {
  padding:22px 0 19px;
  color:var(--text-muted);
  border-bottom:2px solid transparent;
  font-size:var(--text-sm);
}
header nav a[aria-current] {
  color:var(--text);
  border-bottom-color:var(--brand);
}
.github,.huggingface {
  display:flex;
  color:var(--text-muted);
}
.github:hover,.huggingface:hover {
  color:var(--text);
}
.sign-in {
  padding:6px 14px;
  border:1px solid var(--border-strong);
  border-radius:var(--radius-sm);
  font-size:var(--text-sm);
  font-weight:500;
  color:var(--text);
  background:var(--card);
  white-space:nowrap;
}
.sign-in:hover {
  border-color:var(--text-subtle);
}
main {
  position:relative;
  z-index:1;
  max-width:1328px;
  margin:0 auto;
  padding:42px 24px 64px;
  min-height:70vh;
}
.page-heading {
  margin-bottom:28px;
}
.tag {
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:11px;
  color:var(--text-muted);
  white-space:nowrap;
}
.demo {
  background:var(--bg-subtle);
}
label {
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:var(--text-xs);
  font-weight:500;
  color:var(--text-muted);
}
select,.picker-button {
  -webkit-appearance:none;
  appearance:none;
  background:var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b8b96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center/10px 6px;
}
select {
  border:1px solid var(--border-strong);
  border-radius:var(--radius);
  height:38px;
  padding:0 32px 0 10px;
  color:var(--text);
  font-size:var(--text-base);
  max-width:100%;
}
.button {
  display:inline-flex;
  justify-content:center;
  gap:16px;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border:1px solid var(--border-strong);
  border-radius:var(--radius);
  background:var(--card);
  font-size:var(--text-sm);
  font-weight:500;
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 16px;
}
.section-heading p {
  color:var(--text-subtle);
  font-size:var(--text-sm);
  margin-top:4px;
}
.table-scroll {
  max-width:100%;
  overflow:auto;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
}
table {
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  font-size:var(--text-sm);
}
th {
  text-align:left;
  background:var(--card);
  border-bottom:1px solid var(--border);
  font-weight:500;
  white-space:nowrap;
}
th button {
  display:block;
  text-align:left;
  width:100%;
  border:0;
  background:none;
  font-size:var(--text-sm);
  padding:12px 14px;
  font-weight:500;
}
small {
  display:block;
  color:var(--text-subtle);
  font-size:11px;
  font-weight:400;
  margin-top:3px;
  line-height:1.4;
}
.sort-icon {
  color:var(--text-subtle);
  font-size:11px;
  margin-left:6px;
}
th[aria-sort=ascending] .sort-icon,th[aria-sort=descending] .sort-icon {
  color:var(--brand);
}
td {
  padding:16px 14px;
  vertical-align:middle;
  white-space:nowrap;
  border-bottom:1px solid var(--border);
}
tbody tr:last-child td {
  border-bottom:0;
}
tbody tr:hover {
  background:var(--surface-hover);
}
td.numeric {
  font-family:var(--font-mono);
  font-variant-numeric:tabular-nums;
  text-align:right;
}
td.numeric small {
  font-family:var(--font-sans);
}
.provider-name {
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:550;
  min-width:142px;
}
.provider-logo,.model-logo {
  border-radius:var(--radius-sm);
  background:#fff;
  padding:2px;
}
.status {
  font-size:11px;
  padding:4px 7px;
  border-radius:var(--radius-sm);
  background:var(--bg-muted);
  color:var(--text-muted);
}
.status.ok {
  background:var(--success-soft);
  color:var(--success);
}
.status.degraded {
  background:var(--warning-soft);
  color:var(--warning);
}
.status.failing {
  background:var(--danger-soft);
  color:var(--danger);
}
.footnote {
  color:var(--text-subtle);
  font-size:11px;
  line-height:1.65;
  margin-top:12px;
  overflow-wrap:anywhere;
}
.footnote a {
  text-decoration:underline;
  text-underline-offset:2px;
}
.charts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
}
header, .table-bar, .view-controls, .chart-card, .directory-item, .table-scroll, .bench-preview, .rb-scroll {
  background:var(--card-surface);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.chart-card {
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:20px;
  min-width:0;
}
.chart-card figcaption p {
  font-size:var(--text-xs);
  color:var(--text-subtle);
  margin-top:4px;
}
.chart-scroll {
  overflow:auto;
  max-width:100%;
  margin-top:20px;
}
.chart-scroll svg {
  display:block;
  width:100%;
  height:auto;
  overflow:hidden;
}
.chart-scroll use {
  font-size:12px;
  fill:var(--text);
}
.chart-scroll text {
  font-family:var(--font-sans);
  font-size:12px;
  fill:var(--text);
}

.chart-scroll .axis {
  fill:var(--text-subtle);
  font-size:11px;
}
.chart-scroll .gridline {
  stroke:var(--border);
  stroke-width:1;
}

.chart-scroll [tabindex]:focus {
  outline:0;
  stroke:var(--text);
  stroke-width:2;
}
.scatter {
  margin-top:20px;
}
.scatter .chart-scroll {
  max-width:840px;
  margin:20px auto 0;
}
.quadrant-good {
  fill:var(--success-soft);
}
.quadrant {
  fill:var(--bg-subtle);
}
.quadrant-muted {
  fill:var(--bg-muted);
}
.legend {
  display:flex;
  flex-wrap:wrap;
  gap:8px 20px;
  list-style:none;
  padding:0;
  margin:16px 0 0;
  color:var(--text-muted);
  font-size:var(--text-xs);
}
.legend li {
  display:flex;
  align-items:center;
  gap:6px;
}
.legend svg {
  flex-shrink:0;
}
.history-heading {
  margin-top:36px;
}
.period-label {
  flex-direction:row;
  align-items:center;
  gap:8px;
}
.history-charts {
  margin-top:0;
}
.history-charts .chart-card:last-child {
  grid-column:1/-1;
}
.history-charts .chart-card:last-child .chart-scroll {
  max-width:840px;
  margin-left:auto;
  margin-right:auto;
}
.provider-heading {
  display:flex;
  align-items:center;
  gap:14px;
}
.provider-links {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  font-size:var(--text-sm);
  color:var(--text-muted);
}
.directory {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.directory-item {
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
}
.directory-item p {
  color:var(--text-subtle);
  font-size:var(--text-xs);
  margin-top:4px;
}
.directory-arrow {
  margin-left:auto;
  color:var(--text-subtle);
}
.prose {
  max-width:900px;
  overflow-wrap:anywhere;
}
.prose h1 {
  font-size:var(--text-xl);
}
.prose h1,.prose h2,.prose h3 {
  margin:28px 0 12px;
}
.prose h1:first-child {
  margin-top:0;
}
.prose p,.prose ul,.prose ol {
  margin:12px 0;
}
.prose a {
  text-decoration:underline;
  text-underline-offset:3px;
}
.prose table {
  display:block;
  overflow-x:auto;
}
.prose th,.prose td {
  white-space:normal;
  padding:12px;
  min-width:130px;
}
.prose pre {
  overflow:auto;
  padding:16px;
  background:var(--bg-muted);
  border-radius:var(--radius);
}
.prose code {
  font-family:var(--font-mono);
  font-size:12px;
}
footer {
  position:relative;
  z-index:1;
  border-top:1px solid var(--border);
  color:var(--text-subtle);
  font-size:var(--text-xs);
}
footer>div {
  max-width:1328px;
  margin:auto;
  padding:24px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
footer p:last-child {
  display:flex;
  gap:20px;
}
#tooltip {
  position:fixed;
  pointer-events:none;
  z-index:10;
  background:color-mix(in srgb,var(--card) 92%,transparent);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:var(--text);
  border:1px solid var(--border-strong);
  padding:8px 12px;
  font-size:12px;
  border-radius:var(--radius);
  max-width:min(310px,calc(100vw - 16px));
  box-shadow:var(--shadow);
  overflow-wrap:anywhere;
}
.sr-only,.skip:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip:focus {
  display:block;
  padding:12px;
  background:var(--surface);
}
@media(max-width:800px) {
  .header-inner {
    padding:16px;
    gap:12px;
  }
  .brand {
    font-size:14px;
  }
  .demo {
    margin-left:auto;
  }
  .github {
    order:1;
    margin-left:auto;
  }
  .demo+nav+.github {
    margin-left:0;
  }
  .huggingface,.sign-in {
    order:1;
  }
  header nav {
    order:2;
    width:100%;
    gap:0;
    justify-content:space-between;
    margin:0;
  }
  header nav a {
    font-size:12px;
    padding:8px 0 4px;
  }
  main {
    padding:28px 16px 40px;
  }
  h1 {
    font-size:25px;
  }
  .charts,.directory {
    grid-template-columns:minmax(0,1fr);
  }
  .chart-card {
    padding:16px;
  }
  .history-charts .chart-card:last-child {
    grid-column:auto;
  }
  .section-heading {
    align-items:start;
  }
  .section-heading p {
    font-size:12px;
  }
  .period-label {
    flex-direction:column;
    align-items:start;
  }
  footer>div {
    padding:24px 16px;
  }
  .directory-item h2 {
    font-size:16px;
  }
}

.scatter-plot {
  transform:translateX(65px);
}
.history-plot {
  transform:translateX(62px);
}
@media(max-width:800px) {
  .history-chart svg {
    width:calc(100% * 600 / 360);
    max-width:none;
  }
  .scatter-chart svg {
    width:calc(100% * 600 / 350);
    max-width:none;
  }
  .chart-scroll {
    overflow:hidden;
  }
  .compact-hidden {
    display:none;
  }

  .scatter-plot {
    transform:translateX(65px) scaleX(calc(260 / 500));
    --plot-inverse:calc(500 / 260);
  }
  .history-plot {
    transform:translateX(50px) scaleX(calc(285 / 513));
    --plot-inverse:calc(513 / 285);
  }
  .scatter-plot text,.history-plot text,
  .scatter-plot circle,.history-plot circle {
    transform-box:fill-box;
    transform-origin:left center;
    transform:scaleX(var(--plot-inverse));
  }
  .scatter-plot [text-anchor="middle"],
  .history-plot [text-anchor="middle"],.scatter-plot circle,.history-plot circle {
    transform-origin:center;
  }
  .scatter-plot [text-anchor="end"],
  .history-plot [text-anchor="end"] {
    transform-origin:right center;
  }

  .history-chart {
    container-type:inline-size;
  }
  .history-plot polyline {
    vector-effect:non-scaling-stroke;
    stroke-width:calc(200cqw / 360);
  }
  .history-plot [stroke-dasharray="5 3"] {
    stroke-dasharray:calc(500cqw / 360) calc(300cqw / 360);
  }

  .scatter-plot .vertical-axis {
    transform:translateX(calc(-11px * (500 / 260 - 1))) scaleX(var(--plot-inverse));
  }
  .scatter-plot .quadrant-label {
    transform:translateX(calc(13px * (500 / 260 - 1))) scaleX(var(--plot-inverse));
  }
  .history-plot [text-anchor="end"][x="-10"] {
    transform:translateX(calc(-10px * (513 / 285 - 1))) scaleX(var(--plot-inverse));
  }
}
.comparison th:first-child,.comparison td:first-child {
  position:sticky;
  left:0;
  z-index:1;
  background:color-mix(in srgb,var(--card) 55%,var(--bg));
}
.comparison th:first-child {
  z-index:2;
  background:var(--card);
}
@media(prefers-color-scheme:dark) {
  .chart-scroll [fill="#b0161c"] {
    fill:#e4504a;
  }
  .chart-scroll [stroke="#b0161c"] {
    stroke:#e4504a;
  }
  .legend [fill="#b0161c"] {
    fill:#e4504a;
  }
}
.aurora {
  pointer-events:none;
  position:fixed;
  inset:var(--header-height) 0 0;
  z-index:0;
  opacity:.3;
  -webkit-mask-image:radial-gradient(ellipse 42% 85% at 50% 40%,rgb(0 0 0 / .4) 40%,#000);
  mask-image:radial-gradient(ellipse 42% 85% at 50% 40%,rgb(0 0 0 / .4) 40%,#000);
}
.aurora canvas {
  display:block;
  width:100%;
  height:100%;
}
:root[data-theme="light"] .aurora {
  opacity:.36;
}
@media(prefers-color-scheme:light) {
  :root:not([data-theme="dark"]) .aurora {
    opacity:.36;
  }
}
.heading-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px 24px;
}
.live-status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:var(--text-muted);
  font-size:var(--text-xs);
  font-variant-numeric:tabular-nums;
}
.live-sep {
  color:var(--text-subtle);
}
.live-dot {
  position:relative;
  flex:none;
  align-self:center;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--success);
}
.live-dot::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:var(--success);
  animation:live-pulse 2.4s ease-out infinite;
}
@keyframes live-pulse {
  0% {
    transform:scale(1);
    opacity:.55;
  }
  70%,100% {
    transform:scale(2.6);
    opacity:0;
  }
}
.table-bar {
  position:sticky;
  top:0;
  z-index:5;
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 10px 10px 16px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
}
.table-bar h2 {
  margin-right:8px;
  font-size:var(--text-md);
}
.picker {
  position:relative;
}
.picker-button {
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:34px;
  padding:0 30px 0 10px;
  border:1px solid var(--border-strong);
  border-radius:var(--radius);
  color:var(--text);
  font-size:var(--text-sm);
  font-weight:500;
  white-space:nowrap;
}
.picker-button:hover {
  background-color:var(--surface-hover);
}
.picker-menu {
  position:absolute;
  top:calc(100% + 6px);
  left:0;
  z-index:10;
  min-width:100%;
  max-height:340px;
  overflow:auto;
  margin:0;
  padding:4px;
  list-style:none;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
}
.picker-menu [role="option"] {
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:var(--radius-sm);
  font-size:var(--text-sm);
  white-space:nowrap;
  cursor:pointer;
  outline:none;
}
.picker-menu [role="option"]:hover,.picker-menu [role="option"]:focus {
  background:var(--surface-hover);
}
.picker-menu [aria-selected="true"] {
  font-weight:500;
}
.picker-menu [aria-selected="true"]::after {
  content:"";
  flex:none;
  width:4px;
  height:8px;
  margin:0 4px 3px auto;
  padding-left:0;
  border-right:1.5px solid var(--brand);
  border-bottom:1.5px solid var(--brand);
  transform:rotate(45deg);
}
.picker-menu [aria-selected="true"] span {
  margin-right:16px;
}
.model-logo {
  flex:none;
}
.icon-button {
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-left:auto;
  border:1px solid var(--border-strong);
  border-radius:var(--radius);
  background:var(--card);
  color:var(--text-muted);
}
.icon-button:hover {
  color:var(--text);
  background:var(--surface-hover);
}
@media(max-width:800px) {
  .table-bar {
    flex-wrap:wrap;
    padding:10px;
  }
  .table-bar h2 {
    flex:1;
  }
  .table-bar .picker {
    order:2;
    flex:1 1 140px;
  }
  .picker-button {
    width:100%;
  }
  .picker-button span {
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
@media(prefers-reduced-motion:reduce) {
  .aurora {
    display:none;
  }
  .live-dot::after {
    animation:none;
  }
}
.data-request {
  margin-top:40px;
  padding-top:24px;
  border-top:1px solid var(--border);
}
.charts-top {
  margin-top:20px;
}

.logo-stack {
  position:relative;
  display:inline-flex;
  flex:none;
}
.gateway-logo {
  position:absolute;
  right:-4px;
  bottom:-4px;
  border-radius:3px;
  background:#fff;
  padding:1px;
  box-shadow:0 0 0 1.5px var(--bg);
}


/* Benchmark comparisons */
main { padding-top: 32px; }
.page-heading { margin-bottom: 20px; }
.aurora {
  position: absolute;
  inset: var(--header-height) 0 auto;
  height: 235px;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.aurora, :root[data-theme="light"] .aurora { opacity: .24; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .aurora { opacity: .22; }
}
.table-bar { padding: 9px 12px; gap: 16px; }
.filter-group, .filter-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-actions { margin-left: auto; gap: 12px; }
.filter-label { font-size: 12px; color: var(--text-muted); }
.filter-actions .icon-button { margin: 0; }
.filter-group .picker { min-width: 0; }
.filter-group .picker-menu { max-width: min(330px, 86vw); }
.text-link { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.text-link:hover { color: var(--text); }

.charts-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0 26px; }
.rank-card { padding: 14px; }
.rank-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.rank-card h2 { font-size: 14px; }
.rank-card figcaption span, .chart-unit { color: var(--text-muted); font-size: 11px; white-space: nowrap; font-weight: 400; }
.rank-list { list-style: none; margin: 11px 0 0; padding: 0; }
.rank-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 5px 0; align-items: center; }
.rank-route { display: flex; gap: 6px; align-items: center; min-width: 0; font-size: 12px; }
.rank-route span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-list strong { font: 12px var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text); }
.rank-list meter { display: block; grid-column: 1 / -1; width: 100%; height: 5px; appearance: none; background: var(--bg-muted); border: 0; border-radius: 2px; accent-color: var(--brand); }
.rank-list meter::-webkit-meter-bar { background: var(--bg-muted); border: 0; border-radius: 2px; }
.rank-list meter::-webkit-meter-optimum-value { background: var(--brand); border-radius: 2px; }
.rank-list meter::-moz-meter-bar { background: var(--brand); border-radius: 2px; }
.rank-list li:not(:first-child) meter { opacity: .65; }
.rank-empty { color: var(--text-muted); font-size: 12px; margin-top: 16px; }

.view-controls { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px; border: 1px solid var(--border); padding: 3px; border-radius: var(--radius); }
.view-controls button { border: 1px solid transparent; background: transparent; color: var(--text-muted); border-radius: var(--radius-sm); padding: 5px 11px; min-height: 33px; white-space: nowrap; font-size: 12px; }
.view-controls button:hover { color: var(--text); }
.view-controls button[aria-pressed="true"] { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }
.rankings .ranking-controls { display: none; }

.route-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 13px 0 8px; }
.route-heading h2 { display: flex; gap: 8px; align-items: baseline; }
.route-heading h2 span { color: var(--text-muted); font: 12px var(--font-mono); }
.column-toggle { display: flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.column-toggle input { margin: 0; accent-color: var(--brand); width: 16px; height: 16px; }
.route-data:not(:has(.column-toggle input:checked)) .detail-col { display: none; }
.comparison td { padding: 11px 14px; }
.comparison th:first-child, .comparison td:first-child { position: sticky; left: 0; z-index: 1; }
.comparison td:first-child { background: var(--card); }
.comparison tr:hover td:first-child { background: var(--surface-hover); }
.comparison .provider-name { min-width: 104px; }
.comparison th small { margin-top: 0; }
.comparison .numeric-heading button { text-align: right; }
.comparison th:has(button[data-descending]) button { white-space: nowrap; }
.metric-details { max-width: 75ch; margin: 10px 0 14px; color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; }
.metric-details summary { cursor: pointer; width: fit-content; }
.metric-details[open] summary { color: var(--text); margin-bottom: 8px; }
.metric-details p, .metric-details dd { margin: 4px 0 10px; }
.metric-details dt { color: var(--text); font-weight: 600; }
.metric-details a { text-decoration: underline; text-underline-offset: 3px; }
.search-bar { margin-bottom: 14px; }
.search-bar input { appearance: none; background: var(--card); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius); font: inherit; width: min(100%, 340px); min-height: 38px; padding: 7px 12px; }
.filter-empty { padding: 18px 0; color: var(--text-muted); }
.directory { gap: 10px; }
.directory-item { padding: 13px; }
.directory-item p { margin-top: 1px; }

@media (max-width: 1100px) {
  .charts-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .header-inner { padding: 12px 16px 0; }
  header nav { order: 2; width: 100%; margin: 0; flex-wrap: nowrap; justify-content: flex-start; overflow: auto; gap: 17px; }
  header nav a { flex: none; padding: 5px 0 8px; font-size: 12px; white-space: nowrap; }
  main { padding-top: 24px; }
  .table-bar { position: relative; padding: 8px; gap: 8px; }
  .filter-label { display: none; }
  .filter-group .picker { order: 0; flex: auto; }
  .filter-group:first-child { flex: 1 1 155px; }
  .filter-group .picker-button { min-width: 0; max-width: 100%; }
  .filter-actions { margin-left: auto; }
  .route-heading { margin-top: 10px; }
}
@media (max-width: 620px) {
  .table-bar { flex-wrap: wrap; }
  footer p:last-child { flex-wrap: wrap; gap: 10px 16px; }
  .filter-group:first-child { flex-basis: 54%; }
  .filter-actions:has([data-model-detail]) { width: 100%; justify-content: space-between; padding: 1px 1px 0; }
  .filter-actions:has([data-model-detail]) .icon-button { height: 30px; width: 30px; }
  .rankings[data-interactive] .ranking-controls { display: inline-flex; }
  .rankings { margin-top: 12px; }
  .rankings[data-interactive] [data-panel]:not([data-active]) { display: none; }
  .charts-top { grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 8px 0 16px; }
  .rankings .view-controls { display: none; width: 100%; }
  .ranking-controls button { flex: 1 0 auto; padding-inline: 7px; }
  .route-data:not(:has(.column-toggle input:checked)) .compact-optional { display: none; }
  .route-data[data-single-model]:not(:has(.column-toggle input:checked)) .comparison { table-layout: fixed; }
  .route-data[data-single-model]:not(:has(.column-toggle input:checked)) .comparison th:first-child { width: 36%; }
  .route-data[data-single-model]:not(:has(.column-toggle input:checked)) .comparison th,
  .route-data[data-single-model]:not(:has(.column-toggle input:checked)) .comparison th button { white-space: normal; }
  .comparison th button, .comparison td { padding: 9px 6px; font-size: 12px; }
  .comparison th .sort-icon { margin-left: 2px; }
  .comparison .provider-name { min-width: 86px; gap: 5px; }
  .comparison .provider-name img.provider-logo { width: 21px; height: 21px; }
  .comparison .provider-name > span:last-child { white-space: normal; overflow-wrap: anywhere; }
}

.external-results th {
  padding:12px 14px;
}
.external-results .external-attribution {
  min-width:260px;
  max-width:360px;
  white-space:normal;
}
.external-attribution a,.further-reading a {
  text-decoration:underline;
  text-underline-offset:3px;
}
.external-provenance {
  margin:0 0 20px;
}
.published-results,.further-reading {
  margin-top:40px;
}
.published-results>.footnote {
  margin-bottom:16px;
}
.further-reading {
  padding-top:24px;
  border-top:1px solid var(--border);
  color:var(--text-muted);
  font-size:var(--text-sm);
}
.further-reading ul {
  margin:12px 0 0;
  padding-left:20px;
}

.rb-page { max-width: 1080px; padding-top: 44px; padding-bottom: 64px; }
.rb-page .page-heading { margin-bottom: 12px; }
.rb-page .rb-page-title { white-space: nowrap; font-size: clamp(15px, 4.6vw, var(--text-2xl)); line-height: 1.15; letter-spacing: -.045em; }
.rb-blue { color: light-dark(#1e57af, #7ab2ff); }
.rb-title-divider { color: var(--text-muted); font-weight: 400; }
.rb-page-subtitle { font-family: Georgia, serif; font-weight: 400; }
.bench-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 24px 40px; align-items: center; padding: 22px 24px; margin-bottom: 24px; border: 1px solid var(--border-strong); border-radius: 9px; }
.bench-preview-intro h2 { font-size: var(--text-xl); }
.bench-preview-intro p { max-width: 43ch; margin: 6px 0 14px; color: var(--text-muted); }
.bench-preview-link { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border: 1px solid currentColor; border-radius: 6px; color: light-dark(#1e57af, #7ab2ff); font-weight: 600; font-size: var(--text-sm); }
.bench-preview-ranking { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--text-sm); }
.bench-preview-ranking th, .bench-preview-ranking td { padding: 6px 10px; border-bottom: 1px solid var(--border); }
.bench-preview-ranking th { background: transparent; }
.bench-preview-ranking thead th { color: var(--text-muted); font-size: var(--text-xs); white-space: nowrap; }
.bench-preview-ranking td { font: 600 var(--text-sm) var(--font-mono); font-variant-numeric: tabular-nums; }
.bench-preview-ranking tr > :first-child { padding-left: 0; }
.bench-preview-ranking tr > :last-child { padding-right: 0; text-align: right; }
.bench-preview-ranking tbody tr:last-child > * { border-bottom: 0; }
.rb-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 550; }
.rb-links a { text-decoration: underline; text-underline-offset: 4px; }
.rb-controls { display: flex; margin: 26px 0 10px; }
.rb-controls .view-controls { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0; }
.rb-controls .view-controls[hidden] { display: none; }
.rb-panel + .rb-panel { margin-top: 22px; }
.rb-leaderboard[data-interactive] [data-panel]:not([data-active]) { display: none; }
.rb-leaderboard[data-interactive] .rb-panel { margin-top: 0; }
.rb-scroll { overflow: auto; border: 1px solid var(--border-strong); border-radius: 9px; }
.rb-scroll:focus-visible { outline: 2px solid #286ec5; outline-offset: 2px; }
.rb-ranking, .rb-task-matrix { border-collapse: separate; border-spacing: 0; width: 100%; }
.rb-ranking { min-width: 950px; table-layout: fixed; }
.rb-ranking th, .rb-ranking td, .rb-task-matrix th, .rb-task-matrix td { padding: 11px 9px; border-bottom: 1px solid var(--border); text-align: left; }
.rb-ranking thead th, .rb-task-matrix thead th { vertical-align: middle; font-size: 12px; line-height: 1.22; white-space: nowrap; }
.rb-ranking th button { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.rb-ranking th button .sort-icon { margin-left: 0; }
.rb-ranking tr > :nth-child(n+5) { text-align: right; }
.rb-status-count { color: var(--text-muted); }
.rb-ranking tbody th, .rb-task-matrix tbody th { font-size: 13px; font-weight: 550; }
.rb-ranking td { white-space: nowrap; font: 13px var(--font-mono); font-variant-numeric: tabular-nums; }
.rb-ranking td small, .rb-task-matrix small { color: var(--text-muted); font-size: 11px; }
.rb-ranking td small { display: inline; }
.rb-ranking thead th:first-child { width: 52px; }
.rb-ranking thead th:nth-child(2) { width: 232px; }
.rb-ranking thead th:nth-child(3) { width: 136px; }
.rb-ranking thead th:nth-child(4) { width: 116px; }
.rb-ranking thead th:first-child, .rb-ranking tbody td:first-child { padding-left: 13px; }
.rb-ranking tr > :nth-child(2) { position: sticky; left: 0; z-index: 1; }
.rb-ranking tbody th { background: var(--card); }
.rb-ranking tr > :nth-child(2), .rb-task-matrix tbody th { border-right: 1px solid var(--border); }
.rb-ranking .rb-host { font: 12px var(--font-sans); }
.rb-ranking tbody tr:last-child > *, .rb-task-matrix tbody tr:last-child > * { border-bottom: 0; }
.rb-model { display: flex; min-width: 0; align-items: center; gap: 7px; line-height: 1.25; }
.rb-model-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-logo { display: block; flex: none; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }
.rb-score { display: grid; grid-template-columns: minmax(20px, 1fr) 5ch; align-items: center; gap: 7px; min-width: 104px; }
.rb-score strong { text-align: right; }
.rb-score svg { display: block; width: 100%; height: 8px; border-radius: 4px; background: var(--bg-muted); }
.rb-score rect { fill: #347ed5; }
.rb-task-results { margin-top: 28px; }
.rb-task-heading { margin: 0 0 10px; font-size: 17px; font-weight: 650; }
.rb-task-legend { font-size: 12px; color: var(--text-muted); }
.rb-task-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; }
.rb-task-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.rb-task-legend .rb-outcome { width: 17px; height: 17px; font-size: 11px; }
.rb-case-order { margin-left: auto; white-space: nowrap; }
.rb-case-help { display: inline-grid; width: 18px; height: 18px; padding: 0; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--card); color: var(--text-muted); font: 600 11px var(--font-sans); cursor: help; vertical-align: middle; }
.rb-case-help:hover { color: var(--text); }
.rb-case-help:focus-visible { outline: 2px solid #286ec5; outline-offset: 2px; }
.rb-task-matrix { min-width: 890px; }
.rb-task-matrix thead th:not(:first-child), .rb-task-matrix thead tr:nth-child(2) th, .rb-task-matrix td { text-align: center; }
.rb-task-matrix tr > :first-child:not([scope=col]) { position: sticky; left: 0; width: 215px; max-width: 215px; background: var(--card); border-right: 1px solid var(--border); }
.rb-task-matrix thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 1; }
.rb-task-matrix small { display: block; margin-top: 3px; font-weight: 400; }
.rb-task-matrix tbody small { padding-left: 27px; }
.rb-task-overview { min-width: 695px; }
.rb-task-grid { display: grid; grid-template-columns: repeat(10, 11px); justify-content: center; gap: 3px; }
.rb-task-grid .rb-outcome { width: 11px; height: 11px; font-size: 8px; border-radius: 2px; }
.rb-task-matrix [scope=colgroup] + [scope=colgroup], .rb-task-matrix tr:nth-child(2) th:nth-child(11), .rb-task-matrix td:nth-child(12) { border-left: 1px solid var(--border-strong); }
.rb-outcome { display: inline-grid; width: 24px; height: 23px; place-items: center; border-radius: 4px; background: var(--bg-muted); font: 600 14px var(--font-mono); }
.rb-outcome-correct { color: light-dark(#176a52, #75dbb7); background: color-mix(in srgb, #23856e 13%, var(--card)); }
.rb-outcome-refusal { color: light-dark(#a9263d, #ff8c9c); background: color-mix(in srgb, #b63448 13%, var(--card)); }
.rb-outcome-wrong { color: light-dark(#84570a, #f3bf6c); background: color-mix(in srgb, #a16a10 13%, var(--card)); }
.rb-outcome-attempt { color: light-dark(#8d1877, #efa1e1); background: color-mix(in srgb, #b343a0 17%, var(--card)); }
.rb-outcome-unavailable { color: var(--text-muted); }
.rb-method { max-width: 720px; }
.rb-method p { color: var(--text-muted); line-height: 1.55; margin: 8px 0 18px; }
.rb-method-list { margin: 12px 0 20px; font-size: 14px; }
.rb-method-list > div { display: grid; grid-template-columns: 108px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); }
.rb-method-list dt { font-weight: 600; }
.rb-method-list dd { margin: 0; color: var(--text-muted); }
@media (max-width: 620px) {
  .bench-preview { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px; }
  .rb-page { padding-top: 24px; }
  .rb-controls { margin-top: 18px; }
  .rb-ranking thead th:first-child { width: 37px; padding-left: 7px; }
  .rb-ranking tbody td:first-child { padding-left: 8px; }
  .rb-ranking thead th:nth-child(2) { width: 141px; }
  .rb-ranking thead th:nth-child(3) { width: 106px; }
  .rb-ranking .rb-logo { width: 17px; height: 17px; }
  .rb-score { min-width: 0; gap: 5px; }
  .rb-ranking tr > :nth-child(2) .rb-model { gap: 5px; }
  .rb-controls .view-controls { display: flex; }
  .rb-controls .view-controls button { flex: 0 0 auto; padding-inline: 7px; }
  .rb-task-matrix tbody th:first-child { width: 146px; max-width: 146px; }
  .rb-task-matrix { min-width: 790px; }
  .rb-task-overview { min-width: 670px; }
  .rb-case-order { margin-left: 0; }
  .rb-method-list > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
}

.red-bench-accent { color: var(--brand-text); }
.red-bench-note, .red-bench-empty {
  max-width: 78ch;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
.red-bench-note { margin: 0 0 12px; }
.red-bench-table.rb-task-matrix { min-width: 810px; }
.red-bench :is(.rb-task-matrix, .rb-ranking) tbody :is(th, td) { padding-block: 7px; }
.red-bench :is(.rb-task-matrix, .rb-ranking) tbody tr:hover > :is(th, td) { background: var(--surface-hover); }
.red-bench .rb-model { white-space: nowrap; }
.red-bench-variant { color: var(--text-muted); flex: none; font-size: var(--text-xs); }
.red-bench-table td { font: 13px var(--font-mono); font-variant-numeric: tabular-nums; }
.red-bench-ranking.rb-ranking thead th:nth-child(2) { width: 48%; }
.red-bench-ranking.rb-ranking tr > :nth-child(n+3) { text-align: right; }
.red-bench .rb-count { font: 13px var(--font-mono); font-variant-numeric: tabular-nums; }
.red-bench .rb-count small { color: var(--text-muted); font-size: 11px; }
.red-bench-task-matrix.rb-task-matrix { min-width: 100%; }
.red-bench-task-matrix th:not(:first-child) { min-width: 40px; }
.red-bench-card .bench-preview-link { color: var(--brand-text); }
.red-bench .rb-scroll:focus-visible { outline-color: var(--brand); }
.rb-outcome-none { color: var(--text-muted); font: 600 13px var(--font-mono); }
@media (max-width: 620px) {
  .red-bench .view-controls { flex-wrap: wrap; }
  .red-bench .rb-task-matrix tbody th:first-child { width: 150px; max-width: 150px; }
  .red-bench-ranking.rb-ranking { min-width: 620px; }
  .red-bench-ranking.rb-ranking thead th:nth-child(2) { width: 170px; }
}
