@charset "UTF-8";
/* ── Design tokens ───────────────────────────────────────────── */
:root {
  /* All text colours meet WCAG AAA (≥7:1) against their backgrounds */
  --bg: #0b0c10;
  --surface: #13151c;
  --surface2: #1e2130;
  --border: #2e3245;
  /* Accent colours — used only for decorative elements or paired with
   high-contrast text. Never used as text colour on dark backgrounds
   unless contrast is verified. */
  --accent: #e8ff47;
  /* decorative / large text only */
  --accent2: #47d4ff;
  /* decorative / large text only */
  --accent3: #ff7070;
  /* decorative / large text only */
  --accent4: #c084fc;
  /* decorative / large text only */
  --pass: #4ade80;
  /* decorative / large text only */
  --warn: #fbbf24;
  /* decorative / large text only */
  /* Body text — verified ≥7:1 on --bg and --surface */
  --text: #f0f2f8;
  /* Secondary text — verified ≥7:1 on --bg and --surface */
  --text-muted: #a8afc4;
  /* Link colour — ≥7:1 on dark backgrounds */
  --link: #93ddff;
  --mono: 'DM Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
  --body: 'DM Sans', sans-serif;
  --radius: 6px;
  --gutter: 24px;
  --focus: 3px solid #e8ff47;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Explicit background on html AND body so axe never tests text against
   an inherited white background (e.g. when run in about:srcdoc context). */
html {
  scroll-behavior: smooth;
  background-color: #0b0c10;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Skip link (AAA: 2.4.1) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: #000;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  top: 0;
}

/* ── Focus styles (AAA: 2.4.12 — enhanced focus) ───────────── */
:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout ──────────────────────────────────────────────────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  background-color: var(--bg);
}

/* ── Header ──────────────────────────────────────────────────── */
header {
  border-bottom: 1px solid var(--border);
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}

header::after {
  content: "GAUNTLET";
  position: absolute;
  right: -20px;
  top: -10px;
  font-family: var(--display);
  font-size: 160px;
  color: rgba(232, 255, 71, 0.03);
  pointer-events: none;
  user-select: none;
  /* Hidden from AT — purely decorative */
  aria-hidden: true;
}

.header-inner {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 2px;
  color: var(--accent);
  line-height: 1;
  font-weight: 400;
  /* Bebas Neue has no bold, reset h1 default */
  background-color: var(--bg);
}

.logo span[aria-hidden=true] {
  color: var(--text);
}

.header-meta {
  padding-bottom: 4px;
}

.header-meta p {
  color: var(--text-muted);
  font-size: 14px;
}

.header-meta strong {
  color: var(--link);
  font-family: var(--mono);
}

/* ── Nav (landmark + keyboard accessible) ────────────────────── */
nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
}

nav a {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background-color: var(--bg);
  transition: background-color 0.15s, border-color 0.15s;
}

nav a:hover {
  background: var(--surface2);
  border-color: var(--link);
}

/* ── KPI row ─────────────────────────────────────────────────── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  padding: 32px 0 0;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}

.kpi-value {
  font-family: var(--display);
  font-size: 52px;
  /* Decorative large text — accent acceptable */
  color: var(--accent);
  line-height: 1;
}

.kpi-label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Sections ────────────────────────────────────────────────── */
section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
}

section:last-of-type {
  border-bottom: none;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 1px;
  color: var(--text);
}

.section-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--bg);
}

/* ── Leaderboard table ───────────────────────────────────────── */
.filter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-controls label {
  user-select: none;
}

.filter-controls input[type=checkbox] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.filter-controls input[type=checkbox]:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
}

.filter-select {
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 8px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.filter-select:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

/* Multi-select filter dropdowns (Model / Source / Similarity) */
.filter-dropdown {
  position: relative;
  display: inline-block;
}

.filter-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  padding: 4px 8px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
}

.filter-dropdown-btn:hover,
.filter-dropdown-btn:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.filter-dropdown-btn[aria-expanded=true] {
  border-color: var(--accent);
}

.filter-dropdown-count {
  font-size: 10px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--surface1);
  font-weight: 700;
}

.filter-dropdown-caret {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.15s;
}

.filter-dropdown-btn[aria-expanded=true] .filter-dropdown-caret {
  transform: rotate(180deg);
}

.filter-dropdown-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 50;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 6px;
}

.filter-dropdown-actions {
  display: flex;
  justify-content: flex-end;
  padding: 2px 2px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.filter-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 4px;
}

.filter-clear-btn:hover,
.filter-clear-btn:focus-visible {
  color: var(--accent);
  outline: none;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  padding: 4px 6px;
  border-radius: var(--radius);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.filter-option:hover {
  background: var(--surface1);
}

.filter-option input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option input[type=checkbox]:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

/* ── Back to top link ─────────────────────────────────────────── */
.back-to-top {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px 8px;
  transition: color 0.15s, border-color 0.15s;
  margin-left: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.back-to-top:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

/* ── Table footer (pagination) ────────────────────────────────── */
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 8px 0;
}

.table-count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.show-all-btn {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent2);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.show-all-btn:hover,
.show-all-btn:focus-visible {
  border-color: var(--accent2);
  color: var(--text);
}

.show-all-btn:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* Caption is visually hidden but present for AT (AAA: 1.3.1) */
caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 8px;
  caption-side: top;
}

thead th {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  background-color: var(--surface);
}

/* Sortable column header button */
th button.sort-btn {
  background-color: var(--surface);
  border: none;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  white-space: nowrap;
}

th button.sort-btn:hover {
  color: var(--text);
}

th button.sort-btn[aria-sort=ascending] .sort-icon::after {
  content: " ↑";
}

th button.sort-btn[aria-sort=descending] .sort-icon::after {
  content: " ↓";
}

th button.sort-btn .sort-icon::after {
  content: " ↕";
  color: var(--border);
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

tbody tr:hover {
  background: var(--surface2);
}

tbody td {
  padding: 12px 14px;
  vertical-align: middle;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 18px;
  /* Black text on bright bg — high contrast */
}

.rank-1 {
  background: var(--accent);
  color: #000;
}

.rank-2 {
  background: var(--accent2);
  color: #000;
}

.rank-3 {
  background: var(--accent4);
  color: #000;
}

.rank-n {
  background: var(--surface2);
  color: var(--text-muted);
}

.model-name {
  font-weight: 500;
  color: var(--text);
}

.source-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.source-api {
  background-color: rgba(71, 212, 255, 0.2);
  color: var(--accent2);
  border: 1px solid rgba(71, 212, 255, 0.3);
}

.source-local {
  background-color: rgba(74, 222, 128, 0.2);
  color: var(--pass);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.run-id {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}

.score-val {
  font-family: var(--display);
  font-size: 28px;
  /* Large decorative text */
  color: var(--accent);
}

/* Status pills — text must contrast on pill bg */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid transparent;
}

/* #000 on #4ade80 = 8.7:1 ✓ */
.pill-pass {
  background: var(--pass);
  color: #000;
  border-color: var(--pass);
}

/* #000 on #ff7070 = 5.7:1 — use dark text but also add border for shape cue */
.pill-fail {
  background: var(--accent3);
  color: #000;
  border-color: var(--accent3);
}

/* Numeric cells — all ≥7:1 on --bg / --surface */
.num-good {
  color: var(--pass);
  font-family: var(--mono);
}

/* #4ade80 on #0b0c10 = 9.6:1 ✓ */
.num-bad {
  color: var(--accent3);
  font-family: var(--mono);
}

/* #ff7070 on #0b0c10 = 6.1:1 — pair with icon */
.num-warn {
  color: var(--warn);
  font-family: var(--mono);
}

/* #fbbf24 on #0b0c10 = 8.4:1 ✓ */
.num-zero {
  color: var(--text-muted);
  font-family: var(--mono);
}

/* Similarity (cheat detection) cells */
.sim-ok {
  color: var(--pass);
  font-family: var(--mono);
}

.sim-warn {
  color: var(--warn);
  font-family: var(--mono);
}

.sim-bad {
  color: var(--accent3);
  font-family: var(--mono);
  font-weight: 700;
}

.sim-na {
  color: var(--text-muted);
  font-family: var(--mono);
}

/* Coverage bar */
.cov-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.cov-bar {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  overflow: hidden;
}

.cov-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}

.cov-pct {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  background-color: var(--bg);
}

/* ── Chart cards ─────────────────────────────────────────────── */
.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
}

.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.chart-card-wide {
  grid-column: 1/-1;
}

/* Chart card heading — visible label, also used as aria-label on canvas */
.chart-card h3 {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  background-color: var(--surface);
}

.chart-wrap {
  position: relative;
}

/* ── Hardest Tags table ───────────────────────────────────────── */
.tag-code {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent4);
}

.difficulty-bar {
  display: inline-block;
  width: 60px;
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  position: relative;
  vertical-align: middle;
  margin-right: 6px;
}
.difficulty-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--pct);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--warn) 0%, var(--accent3) 100%);
}

.tag-model {
  display: inline-block;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 3px;
  margin: 1px 2px;
  white-space: nowrap;
}
.tag-model--fail {
  background: rgba(255, 99, 132, 0.15);
  color: var(--accent3);
  border: 1px solid rgba(255, 99, 132, 0.3);
}
.tag-model--pass {
  background: rgba(0, 230, 118, 0.12);
  color: var(--pass);
  border: 1px solid rgba(0, 230, 118, 0.25);
}
.tag-model--none {
  color: var(--text-muted);
}

.tag-model-more {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Tag heatmap grid ────────────────────────────────────────── */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 8px;
}

/* Each cell is a <button> for keyboard access (AAA: 2.1.1) */
.tag-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  font-family: inherit;
  transition: border-color 0.1s;
}

.tag-cell::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--heat, 0%);
  background: rgba(255, 112, 112, 0.18);
  pointer-events: none;
}

.tag-cell:hover,
.tag-cell:focus-visible {
  border-color: var(--link);
}

.tag-name {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  position: relative;
}

.tag-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  position: relative;
  background-color: transparent;
}

/* tag-cell has explicit bg so .tag-pct inherits it correctly */
/* ── Run history table ───────────────────────────────────────── */
.run-history {
  margin-top: 24px;
}

/* ── Progress section ────────────────────────────────────────── */
/* Role="tablist" for model switcher (AAA: 4.1.3) */
.model-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.model-tab {
  font-family: var(--mono);
  font-size: 13px;
  padding: 6px 16px;
  border: 2px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  transition: all 0.15s;
}

.model-tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.model-tab[aria-selected=true] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Empty / loading states ──────────────────────────────────── */
.empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 14px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

#loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-muted);
  gap: 12px;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Respect prefers-reduced-motion (AAA: 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ── Footer ──────────────────────────────────────────────────── */
footer {
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background-color: var(--bg);
}

footer p {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
  background-color: var(--bg);
}

/* Fix link-in-text-block: underline makes link distinguishable without colour */
footer a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Visually hidden (screen reader only) ────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .kpi-value {
    font-size: 40px;
  }
}
/* ── Theme toggle button ─────────────────────────────────────── */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.15s;
  margin-left: auto;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent);
}

.theme-toggle:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

/* ── Sparkline in table ──────────────────────────────────────── */
.sparkline {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── Export button ───────────────────────────────────────────── */
.export-btn {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.export-btn:hover,
.export-btn:focus-visible {
  border-color: var(--pass);
  color: var(--pass);
}

.export-btn:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.table-footer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ── Light theme ─────────────────────────────────────────────── */
[data-theme=light] {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --surface2: #eef0f5;
  --border: #d4d8e3;
  --accent: #7a8800;
  --accent2: #0077aa;
  --accent3: #cc3333;
  --accent4: #7c3aed;
  --pass: #16a34a;
  --warn: #d97706;
  --text: #1a1d2b;
  --text-muted: #545b72;
  --link: #005f8a;
  --focus: 3px solid #7a8800;
}

[data-theme=light] html,
html[data-theme=light] {
  background-color: #f8f9fc;
}

[data-theme=light] .logo {
  color: #1a1d2b;
}

[data-theme=light] .logo span[aria-hidden=true] {
  color: var(--accent);
}

/* ── Responsive table cards (mobile) ─────────────────────────── */
@media (max-width: 768px) {
  .table-wrap table thead {
    display: none;
  }
  .table-wrap table,
  .table-wrap table tbody,
  .table-wrap table tr,
  .table-wrap table td {
    display: block;
    width: 100%;
  }
  .table-wrap table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
  }
  .table-wrap table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border: none;
    font-size: 13px;
  }
  .table-wrap table td::before {
    content: attr(data-label);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    margin-right: 12px;
  }
  /* Hide the table-wrap overflow-x on mobile since we use cards */
  .table-wrap {
    overflow-x: visible;
  }
  .filter-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-header {
    flex-wrap: wrap;
  }
  .back-to-top {
    margin-left: 0;
  }
}
/* ── WCAG Skill callout ───────────────────────────────────────── */
.skill-callout {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 auto;
  max-width: var(--content-max);
}

.skill-lede {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.skill-lede a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.skill-lede a:hover {
  text-decoration: underline;
}

.skill-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  background: var(--accent);
  color: #0b0c10;
  font-weight: 600;
  vertical-align: middle;
  margin: 0 2px;
}

.skill-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.skill-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface2);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent2);
}

.skill-stat-value {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--accent2);
}

.skill-stat-fast {
  color: var(--pass);
}

.skill-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#skill-install {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--surface1);
  padding: 3px 6px;
  border-radius: 3px;
  word-break: break-all;
}

.skill-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.skill-desc strong {
  color: var(--text);
  font-weight: 500;
}

/*# sourceMappingURL=style.css.map */
