:root {
  color-scheme: dark;
  --color-bg: #07090e;
  --color-bg-elevated: #0b0f16;
  --color-surface: #111722;
  --color-surface-raised: #171f2c;
  --color-surface-hover: #1d2736;
  --color-border: #263244;
  --color-border-strong: #3a4960;
  --color-text: #f3f6fb;
  --color-text-muted: #8d9aad;
  --color-accent: #786cf6;
  --color-accent-hover: #8c82ff;
  --color-accent-soft: rgb(120 108 246 / 14%);
  --color-success: #3edba0;
  --color-warning: #f3b45d;
  --color-danger: #f46f76;
  --color-info: #57b8ff;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: .6875rem;
  --text-sm: .8125rem;
  --text-md: .9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 28%);
  --shadow-md: 0 14px 38px rgb(0 0 0 / 28%);
  --shadow-lg: 0 28px 80px rgb(0 0 0 / 48%);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --sidebar-width: 224px;

  /* Backwards-compatible aliases while feature views migrate to the system. */
  --bg: var(--color-bg);
  --panel: var(--color-surface);
  --panel2: var(--color-surface-raised);
  --line: var(--color-border);
  --text: var(--color-text);
  --muted: var(--color-text-muted);
  --accent: var(--color-accent);
  --green: var(--color-success);
  --amber: var(--color-warning);
  --red: var(--color-danger);
}
