/* Design tokens: cargo-tracking. Maritime logistics: deep sea blue, safety orange accent, pale sea-mist paper.
   Contrast (hand-calculated, AA): ink on paper ~15:1, navy-700 on paper ~9.5:1, paper on navy-800 ~14:1,
   ink on safety orange ~8:1 (orange is a fill/border, never text on light), error-700 on white ~6.5:1,
   success-700 on success-bg ~6:1, warning-800 on warning-bg ~7:1.
   Alerts never rely on colour alone: each level pairs a colour with its own shape icon and a text label
   (OK = circle tick, Warning = triangle, Critical = octagon). See assets/icon-alert-*.svg.
   Type: system stacks only, 1.25 scale. Names such as --color-navy-* are what the shared layout CSS reads. */
:root {
  --color-paper: #eef3f6;
  --color-surface: #ffffff;
  --color-ink: #10202e;
  --color-navy-800: #0b2a45;
  --color-navy-700: #14507f;
  --color-teal-600: #1b7f8c;
  --color-safety: #ff8a1f;
  --color-steel-700: #46586a;
  --color-steel-300: #b6c4d0;
  --color-steel-100: #dde6ec;
  --color-error-700: #b3261e;
  --color-error-bg: #fdecea;
  --color-warning-800: #7a4a00;
  --color-warning-bg: #fff1d6;
  --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.6;
  --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: 3px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --border-width: 1px;
  --shadow-card: 0 1px 3px rgba(11, 42, 69, 0.15), 0 6px 16px rgba(11, 42, 69, 0.07);
  --content-width: 68rem;
  --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);
}
