/* aiauditfix design system — tokens (shared across products)
 * Single source of truth for colour, spacing, type, radius, shadow, motion.
 * startai.training overrides ONLY the brand accent in startai-theme.css.
 */
:root {
  /* Surfaces */
  --bg: #0f1216;
  --panel: #161b22;
  --panel-2: #1c232c;
  --line: #2a323d;

  /* Text */
  --text: #e6edf3;
  --dim: #8b97a5;

  /* Brand / interactive */
  --accent: #4c8dff;
  --accent-press: #3a78e0;

  /* Semantic status (check pass/partial/fail) */
  --pass: #30a46c;
  --partial: #f5a524;
  --fail: #e5484d;

  /* Readiness bands */
  --band-notready: #e5484d;
  --band-partial: #f5a524;
  --band-good: #3b82f6;
  --band-ready: #30a46c;
  --good: #3b82f6;
  --ready: #30a46c;

  /* Tinted backgrounds for chips/pills (status at ~15% on dark) */
  --pass-bg: rgba(48, 163, 108, 0.16);
  --partial-bg: rgba(245, 165, 36, 0.15);
  --fail-bg: rgba(229, 72, 77, 0.15);
  --accent-bg: rgba(76, 141, 255, 0.15);

  /* Spacing scale (4px base) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;

  /* Type scale */
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 16px;
  --fs-lg: 20px; --fs-xl: 26px; --fs-2xl: 32px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radius */
  --radius-sm: 6px; --radius: 10px; --radius-lg: 12px; --radius-pill: 999px;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 6px 24px rgba(0, 0, 0, 0.4);

  /* Motion */
  --t-fast: 120ms ease; --t-med: 300ms ease; --t-bar: 500ms ease;
}
