:root {
  color-scheme: dark light;
  --bg: #0f1419;
  --surface: #171e26;
  --surface-2: #212b36;
  --text: #e7edf3;
  --text-muted: #9aa8b6;
  --border: #2b3743;
  --primary: #4f9dff;
  --primary-contrast: #061224;
  --ok: #2ecc71;
  --warn: #f1c40f;
  --danger: #ff5c5c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .28);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #eef2f6;
    --text: #14202b;
    --text-muted: #5d6b78;
    --border: #d9e2ea;
    --primary: #1565c0;
    --primary-contrast: #ffffff;
    --shadow: 0 6px 20px rgba(20, 32, 43, .10);
  }
}
