/* Design tokens: the only place colours, spacing, type and layers are defined.
   Components use these variables; no hex values, ID selectors or !important
   elsewhere (enforced by scripts/check.mjs). */
:root {
  --color-bg: #0b1015;
  --color-surface: #141b22;
  --color-surface-raised: #1b242d;
  --color-border: #2a3540;
  --color-text: #e8eef3;
  --color-text-muted: #93a1ad;
  --color-accent: #2dd4bf;
  --color-good: #34d399;
  --color-warn: #fbbf24;
  --color-bad: #f87171;
  /* Brand: PS chip logo. Teal accent; "AI" is ink on a solid teal box. */
  --color-brand-teal: #22c3a6;
  --color-brand-ink: #070b0f;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --font-brand: "Exo 2 Brand", var(--font-sans);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-md: 15px;
  --text-lg: 18px;
  --text-xl: 22px;

  --header-height: 52px;
  --tab-bar-height: 60px;

  --z-header: 10;
  --z-tab-bar: 10;
  --z-drawer: 20;
  --z-dialog: 30;
  --z-toast: 40;
}
