/* ==========================================================================
   NGS EXPORT — Design System Tokens (Zero Shadow, Zero Border, Tonal Layering)
   ========================================================================== */
:root {
  /* Fonts */
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Brand Accent */
  --accent: #0033F8;
  --accent-hover: #0027C4;
  --accent-fg: #FFFFFF;
  --accent-soft: #E9EEFF;
  --accent-soft-hover: #DCE4FF;
  --accent-text: #0033F8;

  /* 5-Level Tonal Surfaces (Light Mode) */
  --bg-canvas: #FFFFFF;
  --bg-app: #F5F6F8;
  --surface-1: #F2F4F7;
  --surface-2: #E8ECF2;
  --surface-3: #DCE2EC;
  --surface-float: #FFFFFF;
  --surface-float-alt: #EEF1F6;
  --surface-inverse: #0B0F17;
  --surface-inverse-2: #151C2C;
  --header-bg: #FFFFFF;
  --scrim: rgba(9, 12, 18, 0.56);

  /* Text Hierarchy */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;
  --text-inverse-muted: #94A3B8;

  /* Semantic Status (Borderless Soft Pills) */
  --green-bg: #DCFCE7;
  --green-fg: #15803D;
  --red-bg: #FEE2E2;
  --red-fg: #B91C1C;
  --amber-bg: #FEF3C7;
  --amber-fg: #B45309;
  --blue-bg: #E9EEFF;
  --blue-fg: #0033F8;
  --wa-bg: #16A34A;
  --wa-bg-hover: #15803D;
  --wa-soft: #DCFCE7;
  --wa-fg: #15803D;

  /* Radii & Spacing */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Layout */
  --container-max: 1320px;
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"],
body[data-theme="dark"] {
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-fg: #FFFFFF;
  --accent-soft: rgba(59, 130, 246, 0.16);
  --accent-soft-hover: rgba(59, 130, 246, 0.25);
  --accent-text: #60A5FA;

  /* 5-Level Tonal Surfaces (Dark Mode) */
  --bg-canvas: #090C12;
  --bg-app: #0B0F18;
  --surface-1: #121826;
  --surface-2: #1A2234;
  --surface-3: #232E45;
  --surface-float: #1E283D;
  --surface-float-alt: #171F30;
  --surface-inverse: #06080D;
  --surface-inverse-2: #0F1420;
  --header-bg: #090C12;
  --scrim: rgba(4, 6, 10, 0.72);

  /* Text Hierarchy */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-inverse: #F8FAFC;
  --text-inverse-muted: #94A3B8;

  /* Semantic Status (Dark Mode Soft Pills) */
  --green-bg: rgba(34, 197, 94, 0.16);
  --green-fg: #4ADE80;
  --red-bg: rgba(239, 68, 68, 0.16);
  --red-fg: #F87171;
  --amber-bg: rgba(245, 158, 11, 0.16);
  --amber-fg: #FBBF24;
  --blue-bg: rgba(59, 130, 246, 0.16);
  --blue-fg: #60A5FA;
  --wa-soft: rgba(34, 197, 94, 0.16);
  --wa-fg: #4ADE80;
}
