/* Design tokens — the ONLY file in the app that defines raw colors.
   Every template and app.css consume these via var(). Enterprise SaaS:
   light theme, white surfaces, single blue accent, one neutral gray scale. */

:root {
  /* Accent (single) */
  --accent:        #2563eb;
  --accent-hover:  #1d4ed8;
  --accent-weak:   #eff6ff;
  --accent-border: #bfdbfe;

  /* Neutral gray scale (single ramp) */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Surfaces & text */
  --bg:          var(--gray-100);
  --surface:     #ffffff;
  --surface-alt: var(--gray-50);
  --border:      var(--gray-200);
  --border-strong: var(--gray-300);
  --text:        var(--gray-800);
  --text-muted:  var(--gray-500);
  --text-strong: var(--gray-900);
  --on-accent:   #ffffff;

  /* Status — BLOCK(red) / ELEVATE(amber) / SOFT_FLAG(yellow) / PASS(green) */
  --danger:        #b91c1c;
  --danger-bg:     #fef2f2;
  --danger-border: #fecaca;
  --amber:         #b45309;
  --amber-bg:      #fffbeb;
  --amber-border:  #fde68a;
  --yellow:        #a16207;
  --yellow-bg:     #fefce8;
  --yellow-border: #fef08a;
  --success:       #15803d;
  --success-bg:    #f0fdf4;
  --success-border:#bbf7d0;
  --info:          #1d4ed8;
  --info-bg:       #eff6ff;
  --info-border:   #bfdbfe;

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

  /* Radii */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:    0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
               Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs:   0.75rem;
  --text-sm:   0.8125rem;
  --text-base: 0.9375rem;
  --text-md:   1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --leading:   1.5;

  /* Layout */
  --sidebar-w: 232px;
  --topbar-h:  60px;
}
