/* Design tokens (10 §3): 18 px text that follows the browser text size (RNF-ACS-02),
   48 px touch targets, 4 px spacing grid. System fonts. */
:root {
  --font-size-base: 112.5%;
  --tap-size: 48px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --color-bg: #ffffff;
  --color-text: #1f2328;
  --color-primary: #1d4e89;
  --color-banner-bg: #fff3cd;
  --color-banner-text: #5c4400;
  --color-banner-border: #e0b84c;
  --color-focus: #1d4e89;
}

/* Grid of nights (10 §3): solid colours distinct by luminance, ≥ 3:1 on white (WCAG 1.4.11).
   DA VALIDARE nei test di usabilità e clinicamente (05A, domande 47, 48, 51, 52). */
:root {
  --night-sleep: #1b2f6b;
  --night-awake: #4d97d6;
  --night-other: #c24b44;
  --night-border: #8a8f98;
  --night-axis: #d0d4da;
  --chart-line: #1d4e89;
}
