@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --color-primary: #c2410c;
  --color-primary-hover: #9a3412;
  --color-on-primary: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f5f9;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-border: #64748b;
  --color-success: #166534;
  --color-warning: #854d0e;
  --color-danger: #b91c1c;
  --color-danger-hover: #991b1b;
  --color-focus: #2563eb;
  --color-disabled: #e2e8f0;
  --color-disabled-text: #475569;
  --color-loading: var(--color-disabled-text);
  --color-backdrop: rgb(15 23 42 / 60%);
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-size-small: 0.875rem;
  --font-size-body: 1rem;
  --font-size-heading: 1.5rem;
  --font-weight-body: 400;
  --font-weight-strong: 600;
  --line-height-body: 1.5;
  --line-height-heading: 1.2;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --radius-control: 0.75rem;
  --radius-card: 1.5rem;
  --radius-pill: 999px;
  --shadow-control: 0 1px 2px rgb(15 23 42 / 8%);
  --shadow-card: 0 12px 30px rgb(15 23 42 / 8%);
  --control-height: 2.75rem;
  --focus-width: 3px;
  --motion-duration: 150ms;
}
:root.dark, :root[data-theme='dark'] {
  color-scheme: dark;
  --color-primary: #fb923c;
  --color-primary-hover: #fdba74;
  --color-on-primary: #0f172a;
  --color-surface: #0f172a;
  --color-surface-muted: #1e293b;
  --color-text: #f8fafc;
  --color-text-muted: #cbd5e1;
  --color-border: #94a3b8;
  --color-success: #86efac;
  --color-warning: #fde047;
  --color-danger: #fca5a5;
  --color-danger-hover: #fecaca;
  --color-focus: #93c5fd;
  --color-disabled: #334155;
  --color-disabled-text: #cbd5e1;
  --color-backdrop: rgb(0 0 0 / 70%);
}

/* RC-UX-003: the user-approved Manager reference uses blue. Other surfaces retain their palette. */
body[data-rc-manager] {
  --color-primary: #155be8;
  --color-primary-hover: #1146b5;
  --color-manager-tint: #eaf1ff;
  --color-manager-line: #dbe4f1;
}
:root.dark body[data-rc-manager], :root[data-theme='dark'] body[data-rc-manager] {
  --color-primary: #93c5fd;
  --color-primary-hover: #bfdbfe;
  --color-manager-tint: #172c4c;
  --color-manager-line: #475569;
}
