/**
 * Runtime design tokens (CSS custom properties).
 * Hex values mirror src/theme/colors.ts — update both when changing the palette.
 */
:root {
  --color-primary: #6366f1;
  --color-secondary: #64748b;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #0ea5e9;
  --color-light: #f8fafc;
  --color-dark: #0f172a;
  --color-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-background: #f1f5f9;
  --color-surface: #ffffff;

  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.06);
  --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.05);

  --font-sans: "Inter", "Nunito", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;

  --sidebar-width: 260px;
  --sidebar-width-collapsed: 72px;
  --header-height: 64px;

  /* Focus ring (matches --color-primary #6366f1); update if primary changes */
  --focus-ring: 0 0 0 3px rgb(99 102 241 / 0.22);
}
