/* v2 design tokens — docs/design/tokens.md. The only place (with FlottTheme.cs) where raw values live.
   Everything is prefixed --flott- so v1 pages are unaffected. */
:root {
    /* Color */
    --flott-primary-tint: #efedfc;
    --flott-ink: #12161c;
    --flott-ink-secondary: #5b6370;
    --flott-ink-disabled: #9aa1ab;
    --flott-line: #e4e7eb;
    --flott-hover: #f7f8fa;
    --flott-attention: #b07400;
    --flott-attention-text: #8a5a00;
    --flott-attention-tint: #fff6e0;

    /* Truck status — the Update sheet's one vivid color per status (fill + the text that sits on it).
       Every pair is >= 4.5:1. Status colors never mean anything else; urgency is the duration's own tone. */
    --flott-status-ready: #12873f;
    --flott-status-ready-text: #ffffff;
    --flott-status-prebooked: #0dbad7;
    --flott-status-prebooked-text: #12161c;
    --flott-status-covered: #f9b615;
    --flott-status-covered-text: #12161c;
    --flott-status-enroute: #2a67ec;
    --flott-status-enroute-text: #ffffff;
    --flott-status-fix: #c2410c;
    --flott-status-fix-text: #ffffff;
    --flott-status-home: #5b6370;
    --flott-status-home-text: #ffffff;

    /* Heat scale (Hot zones map and legend): 0 is no loads, 1-7 run pale to deep by rank */
    --flott-heat-0: #d6d9de;
    --flott-heat-1: #fde896;
    --flott-heat-2: #fcd75f;
    --flott-heat-3: #fbc53a;
    --flott-heat-4: #f6a823;
    --flott-heat-5: #f15757;
    --flott-heat-6: #df3c3c;
    --flott-heat-7: #8c3434;

    /* Jarvis orb: the particles' near (--flott-orb) and far (--flott-orb-light) colour and its halo. Decorative only. */
    --flott-orb: #ff7a1a;
    --flott-orb-light: #ffd2a8;
    --flott-orb-glow: rgba(255, 122, 26, 0.16);

    /* Type — three sizes only */
    --flott-font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --flott-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --flott-text-title: 24px;
    --flott-text-body: 14px;
    --flott-text-label: 12px;
    /* The Update sheet's scanning size (truck, driver, time in status): read from a chair away. */
    --flott-text-sheet: 16px;
    --flott-weight-regular: 400;
    --flott-weight-medium: 500;
    --flott-weight-bold: 600;
    --flott-tracking-label: 0.04em;

    /* Spacing — 4px grid */
    --flott-space-1: 4px;
    --flott-space-2: 8px;
    --flott-space-3: 12px;
    --flott-space-4: 16px;
    --flott-space-5: 24px;
    --flott-space-6: 32px;

    /* Shape */
    --flott-radius: 6px;
    --flott-border: 1px solid var(--flott-line);
    --flott-shadow-pop: 0 8px 24px rgba(18, 22, 28, 0.12), 0 1px 3px rgba(18, 22, 28, 0.08);

    /* Density */
    --flott-control-h: 40px;
    --flott-control-h-dense: 32px;
    --flott-row-h: 48px;
    --flott-group-h: 56px;
    --flott-row-h-sheet: 36px;
    --flott-band-h-sheet: 32px;
    --flott-nav-h: 3.5rem;

    /* Motion */
    --flott-ease: 150ms ease;
}

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