/* ── Shared design tokens ─────────────────────────────────────
   Single source of truth for colors/spacing/radius/shadow, loaded
   before styles.css (index.html) and admin.css (admin.html). Do not
   redefine :root in either of those files — add new tokens here. */
:root {
  --primary: #1a56db;
  --primary-light: #e1effe;
  --primary-dark: #1e429f;
  --success: #059669;
  --success-light: #d1fae5;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);

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

  /* Left sidebar */
  --sidebar-width: 224px;
  --sidebar-bg: #ffffff;
  --sidebar-border: var(--gray-200);
  --sidebar-text: var(--gray-600);
  --sidebar-text-hover: var(--gray-900);
  --sidebar-active-bg: var(--primary-light);
  --sidebar-active-text: var(--primary-dark);

  /* Severity pills (used across badges/pills in later phases) */
  --sev-critical: #991b1b;
  --sev-critical-bg: var(--danger-light);
  --sev-high: var(--danger);
  --sev-high-bg: var(--danger-light);
  --sev-medium: var(--warning);
  --sev-medium-bg: var(--warning-light);
  --sev-low: var(--success);
  --sev-low-bg: var(--success-light);
  --sev-info: var(--primary);
  --sev-info-bg: var(--primary-light);
}
