/* Design tokens — every component below uses these, never raw values. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #6b7280;
  --border: #e3e5e9;
  --accent: #e31937;
  --accent-text: #ffffff;
  --radius: 10px;
  --space: 16px;
  font-family: system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #1a1d23;
    --text: #e8eaee;
    --muted: #9aa1ad;
    --border: #2a2e36;
  }
}

body { margin: 0; background: var(--bg); color: var(--text); }
.page { max-width: 960px; margin: 0 auto; padding: var(--space); }
.page-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space); }

/* Components */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); border: 0;
       border-radius: var(--radius); padding: 8px 14px; font: inherit; text-decoration: none; cursor: pointer; }
.muted { color: var(--muted); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
