/* design-tokens.css — Single source of truth for the Spotmart design system */
:root {
  /* ── Colors ── */
  --sm-primary: #16a34a;
  --sm-primary-hover: #15803d;
  --sm-primary-light: #dcfce7;
  --sm-primary-subtle: #f0fdf4;
  --sm-primary-border: rgba(22, 163, 74, 0.15);

  --sm-surface: #ffffff;
  --sm-background: #f8fafc;
  --sm-background-muted: #f1f5f9;

  --sm-border: #e2e8f0;
  --sm-border-strong: #cbd5e1;

  --sm-text: #0f172a;
  --sm-text-secondary: #475569;
  --sm-text-muted: #94a3b8;
  --sm-text-inverse: #ffffff;

  --sm-error: #dc2626;
  --sm-error-light: #fef2f2;
  --sm-error-border: rgba(220, 38, 38, 0.2);

  --sm-warning: #d97706;
  --sm-warning-light: #fffbeb;
  --sm-warning-border: rgba(217, 119, 6, 0.2);

  --sm-info: #2563eb;
  --sm-info-light: #eff6ff;
  --sm-info-border: rgba(37, 99, 235, 0.2);

  --sm-success: #16a34a;
  --sm-success-light: #f0fdf4;

  /* ── Typography ── */
  --sm-font: 'Inter', system-ui, -apple-system, sans-serif;
  --sm-font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --sm-text-xs: 0.75rem;
  --sm-text-sm: 0.875rem;
  --sm-text-base: 1rem;
  --sm-text-lg: 1.125rem;
  --sm-text-xl: 1.25rem;
  --sm-text-2xl: 1.5rem;
  --sm-text-3xl: 1.875rem;

  --sm-weight-normal: 400;
  --sm-weight-medium: 500;
  --sm-weight-semibold: 600;

  --sm-leading-tight: 1.25;
  --sm-leading-normal: 1.5;
  --sm-leading-relaxed: 1.625;

  /* ── Spacing (8px grid) ── */
  --sm-space-1: 0.25rem;
  --sm-space-2: 0.5rem;
  --sm-space-3: 0.75rem;
  --sm-space-4: 1rem;
  --sm-space-5: 1.25rem;
  --sm-space-6: 1.5rem;
  --sm-space-8: 2rem;
  --sm-space-10: 2.5rem;
  --sm-space-12: 3rem;

  /* ── Radius ── */
  --sm-radius-sm: 6px;
  --sm-radius-md: 10px;
  --sm-radius-lg: 14px;
  --sm-radius-full: 999px;

  /* ── Shadows ── */
  --sm-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --sm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);
  --sm-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --sm-shadow-focus: 0 0 0 3px rgba(22, 163, 74, 0.15);

  /* ── Transitions ── */
  --sm-transition: 150ms ease;
  --sm-transition-slow: 250ms ease;

  /* ── Layout ── */
  --sm-sidebar-width: 260px;
  --sm-content-max: 1200px;
  --sm-header-height: 69px;
}
/* test pipeline deploy Tue, Mar 31, 2026 12:23:49 PM */
