/* ============================================================
   WarehouseOS — design tokens
   ============================================================ */

:root,
[data-theme="dark"] {
  --bg: #0a0e14;
  --bg-2: #0f141c;
  --bg-3: #141a24;
  --panel: #141a24;
  --panel-2: #1a2130;
  --panel-3: #222b3d;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-hazard: rgba(245, 158, 11, 0.35);
  --text: #e8edf5;
  --text-strong: #ffffff;
  --text-muted: rgba(232, 237, 245, 0.62);
  --text-dim: rgba(232, 237, 245, 0.4);
  --text-faint: rgba(232, 237, 245, 0.22);
  --steel: #3b82f6;
  --steel-2: #60a5fa;
  --steel-soft: rgba(59, 130, 246, 0.14);
  --amber: #f59e0b;
  --amber-2: #fbbf24;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --green: #10b981;
  --green-2: #34d399;
  --green-soft: rgba(16, 185, 129, 0.14);
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);
  --cyan: #06b6d4;
  --cyan-soft: rgba(6, 182, 212, 0.14);
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, 0.14);
  --nav-bg: rgba(10, 14, 20, 0.72);
  --nav-bg-scrolled: rgba(10, 14, 20, 0.95);
  --grid-line: rgba(255, 255, 255, 0.028);
  --grid-line-strong: rgba(59, 130, 246, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  --caution-stripe: repeating-linear-gradient(
    45deg,
    #f59e0b 0px,
    #f59e0b 8px,
    #0a0e14 8px,
    #0a0e14 16px
  );
}

[data-theme="light"] {
  --bg: #f4f6fa;
  --bg-2: #eef1f7;
  --bg-3: #e8ecf3;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --panel-3: #eef2f7;
  --surface: rgba(15, 23, 42, 0.02);
  --surface-2: rgba(15, 23, 42, 0.04);
  --surface-3: rgba(15, 23, 42, 0.06);
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --border-hazard: rgba(217, 119, 6, 0.4);
  --text: #0f172a;
  --text-strong: #05060a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-faint: #94a3b8;
  --steel: #2563eb;
  --steel-2: #3b82f6;
  --steel-soft: rgba(37, 99, 235, 0.1);
  --amber: #d97706;
  --amber-2: #f59e0b;
  --amber-soft: rgba(217, 119, 6, 0.1);
  --green: #059669;
  --green-2: #10b981;
  --green-soft: rgba(5, 150, 105, 0.1);
  --red: #dc2626;
  --red-soft: rgba(220, 38, 38, 0.1);
  --cyan: #0891b2;
  --cyan-soft: rgba(8, 145, 178, 0.1);
  --purple: #9333ea;
  --purple-soft: rgba(147, 51, 234, 0.1);
  --nav-bg: rgba(244, 246, 250, 0.78);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.95);
  --grid-line: rgba(15, 23, 42, 0.04);
  --grid-line-strong: rgba(37, 99, 235, 0.08);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.15);
  --caution-stripe: repeating-linear-gradient(
    45deg,
    #d97706 0px,
    #d97706 8px,
    #f4f6fa 8px,
    #f4f6fa 16px
  );
}

:root {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --container: 1280px;
  --container-wide: 1440px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
