/* ERP design tokens — Phase 1. No CDN fonts; system UI + Devanagari fallback. */
:root {
  /* Premium jewellery POS palette */
  --erp-primary: #087f70;
  --erp-primary-hover: #0a9a88;
  --erp-primary-tint: #e6f6f4;
  --erp-ink: #1e293b;
  --erp-ink-2: #334155;
  --erp-muted: #64748b;
  --erp-border: #e2e8f0;
  --erp-surface: #f4f6f8;
  --erp-panel: #ffffff;
  --erp-navy: #142b3a;
  --erp-navy-soft: #1e3a4d;
  --erp-success: #15803d;
  --erp-success-tint: #dcfce7;
  --erp-warning: #b45309;
  --erp-warning-tint: #ffedd5;
  --erp-danger: #dc2626;
  --erp-danger-tint: #fee2e2;
  --erp-info: #1d4ed8;
  --erp-info-tint: #dbeafe;
  --erp-gold: #d6ad55;
  --erp-gold-deep: #a67c2e;
  --erp-total-bg: #f8f4eb;

  --erp-space-1: 4px;
  --erp-space-2: 8px;
  --erp-space-3: 12px;
  --erp-space-4: 16px;
  --erp-space-5: 24px;
  --erp-space-6: 32px;

  --erp-radius-sm: 6px;
  --erp-radius: 10px;
  --erp-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.06);
  --erp-focus-ring: 0 0 0 2px #fff, 0 0 0 4px var(--erp-primary);

  --erp-fs-xs: 12px;
  --erp-fs-sm: 13px;
  --erp-fs: 14px;
  --erp-fs-md: 16px;
  --erp-fs-lg: 20px;
  --erp-fs-xl: 24px;
  --erp-fs-2xl: 32px;

  --erp-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans",
    "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
  --erp-font-display: var(--erp-font);

  --erp-rail-width: 56px;
  --erp-sidebar-width: 240px;
  --erp-action-bar-h: 64px;
  --erp-bottom-nav-h: 56px;
  --erp-motion: 150ms ease;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --erp-motion: 0ms;
  }
}
