/* ==========================================================================
   Ideal Home Deco WMS — Design Tokens
   Light Industrial Warehouse Palette (WCAG AA >= 4.5:1 Contrast)
   ========================================================================== */

:root {
  /* Palette: Neutrals & Surfaces */
  --color-bg: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface-subtle: #f8fafc;
  --color-surface-muted: #e2e8f0;
  --color-border: #cbd5e1;
  --color-border-strong: #94a3b8;

  /* Palette: Typography */
  --color-ink: #0f172a;
  --color-ink-secondary: #334155;
  --color-ink-muted: #475569;

  /* Palette: Primary Brand (Industrial Cobalt / Slate) */
  --color-primary: #1d4ed8;
  --color-primary-hover: #1e40af;
  --color-primary-soft: #dbeafe;
  --color-primary-ink: #ffffff;

  /* Palette: Semantic Statuses */
  --color-success: #166534;
  --color-success-bg: #dcfce7;
  --color-success-border: #86efac;

  --color-warning: #9a3412;
  --color-warning-bg: #ffedd5;
  --color-warning-border: #fdba74;

  --color-danger: #991b1b;
  --color-danger-bg: #fee2e2;
  --color-danger-border: #fca5a5;

  --color-info: #075985;
  --color-info-bg: #e0f2fe;
  --color-info-border: #7dd3fc;

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.84rem, 0.8rem + 0.2vw, 0.9rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);

  /* Spacing Scale (rem) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;

  /* Radii & Elevations (solid surfaces, zero blur filters) */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.1);
  --focus-ring: 0 0 0 3px rgba(29, 78, 216, 0.35);

  /* Layout */
  --header-height: 4rem;
  --sidebar-width: 15.5rem;
  --max-content-width: 80rem;
}
