:root {
  --color-bg: #ffffff;
  --color-bg-muted: #f7f7f8;
  --color-bg-elevated: #ffffff;
  --color-surface: #ffffff;
  --color-border: #e4e4e7;
  --color-border-strong: #d4d4d8;

  --color-text: #18181b;
  --color-text-muted: #52525b;
  --color-text-subtle: #71717a;
  --color-text-inverse: #ffffff;

  --color-primary: #18181b;
  --color-primary-hover: #27272a;
  --color-primary-text: #ffffff;

  --color-accent: #b91c1c;
  --color-accent-hover: #991b1b;
  --color-accent-bg: #fef2f2;

  --color-success: #15803d;
  --color-success-bg: #f0fdf4;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;
  --color-danger: #b91c1c;
  --color-danger-bg: #fef2f2;
  --color-info: #1d4ed8;
  --color-info-bg: #eff6ff;

  --status-floor-ready: #15803d;
  --status-floor-ready-bg: #dcfce7;
  --status-backstock: #b45309;
  --status-backstock-bg: #fef3c7;
  --status-processing: #b91c1c;
  --status-processing-bg: #fee2e2;

  --pipp-regular: #18181b;
  --pipp-regular-bg: #f4f4f5;
  --pipp-feature: #1d4ed8;
  --pipp-feature-bg: #dbeafe;
  --pipp-clearance: #b91c1c;
  --pipp-clearance-bg: #fee2e2;
  --pipp-replenishment: #15803d;
  --pipp-replenishment-bg: #dcfce7;
  --pipp-holiday: #7c3aed;
  --pipp-holiday-bg: #f3e8ff;

  --priority-1: #18181b;
  --priority-1-accent: #d4af37;
  --priority-2: #1d4ed8;
  --no-backstock: #b91c1c;
  --no-backstock-bg: #fef2f2;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, "Courier New", monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --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;
  --space-12: 3rem;
  --space-16: 4rem;

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  --tap-target: 44px;

  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-wide: 1280px;

  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 320ms ease;

  --z-base: 1;
  --z-elevated: 10;
  --z-dropdown: 100;
  --z-overlay: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #09090b;
    --color-bg-muted: #18181b;
    --color-bg-elevated: #18181b;
    --color-surface: #18181b;
    --color-border: #27272a;
    --color-border-strong: #3f3f46;

    --color-text: #fafafa;
    --color-text-muted: #a1a1aa;
    --color-text-subtle: #71717a;

    --color-primary: #fafafa;
    --color-primary-hover: #e4e4e7;
    --color-primary-text: #18181b;

    --color-accent: #f87171;
    --color-accent-bg: #2a1212;

    --color-success-bg: #052e16;
    --color-warning-bg: #1c1408;
    --color-danger-bg: #2a1212;
    --color-info-bg: #0c1a3a;

    --status-floor-ready-bg: #052e16;
    --status-backstock-bg: #1c1408;
    --status-processing-bg: #2a1212;
  }
}
