/* Design tokens: erp-odoo. Clean business-software look, original and unbranded.
   Palette: cool slate ink on soft grey-white paper, indigo-blue for actions, a green accent for "done" states.
   Deliberately NOT Odoo's colours or artwork.
   Contrast (hand-calculated, AA): ink on paper ~15:1, navy-700 on paper ~9:1, white on navy-700 ~9.5:1,
   success-700 on success-bg ~6:1, error-700 on white ~6.5:1.
   Type: system stacks only, 1.25 scale. Names such as --color-navy-* and --color-safety are kept so the
   shared layout/site CSS resolves; here safety is a soft amber highlight (use as fill, not as text). */
:root {
  --color-paper: #f4f6f9;
  --color-surface: #ffffff;
  --color-ink: #18212d;
  --color-steel-700: #4b5768;
  --color-steel-300: #c3cad4;
  --color-steel-100: #e5e9ef;
  --color-navy-700: #2f4a9a;
  --color-navy-800: #223a7d;
  --color-accent-green: #2c7a55;
  --color-safety: #f0b429;
  --color-error-700: #b3261e;
  --color-error-bg: #fdecea;
  --color-success-700: #1e6b45;
  --color-success-bg: #e6f4ec;
  --color-focus: #0b63ce;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --text-sm: 0.9rem;
  --text-base: 1.0625rem;
  --text-md: 1.3rem;
  --text-lg: 1.65rem;
  --text-xl: 2.1rem;
  --text-2xl: 2.7rem;
  --leading-tight: 1.2;
  --leading-body: 1.65;
  --weight-heading: 700;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --border-width: 1px;
  --shadow-card: 0 1px 3px rgba(24, 33, 45, 0.12), 0 6px 16px rgba(24, 33, 45, 0.06);
  --content-width: 66rem;
  --measure: 64ch;

  --field-height: 3rem;
  --field-border: var(--border-width) solid var(--color-steel-700);
  --field-border-error: var(--border-width) solid var(--color-error-700);
  --focus-ring: 3px solid var(--color-focus);
}
