/* Tokens: copied from the AirFlow design system (Jour / Nuit). Mode comes from the day/night toggle (data-mode), else the viewer's theme. */
:root { --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 999px; --control-office: 40px; --control-compact: 34px; --control-field: 56px; --target-min: 44px; --font-display: "Sora", "Geist", system-ui, sans-serif; --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; --surface: #f6f9fc; --surface-raised: #ffffff; --surface-solid: #ffffff; --surface-sunken: #eef3f9; --hairline: rgba(7, 42, 82, 0.09); --line: rgba(7, 42, 82, 0.18); --line-strong: #7a879a; --ink: #072a52; --ink-muted: #50617a; --flow: #0065c5; --flow-deep: #072a52; --flow-soft: #e3effc; --flow-glow: rgba(0, 101, 197, 0.22); --on-flow: #ffffff; --sky: #00a5fe; --copper: #9a4f1f; --copper-soft: #f8e9dc; --success: #1f7a4d; --success-soft: #e1f3e9; --warning: #8a5a00; --warning-soft: #fcf0d2; --danger: #c0362c; --danger-soft: #fde8e6; --focus: var(--flow); --type-entretien: #00a5fe; --type-depannage: #f08a3c; --type-installation: #7a5af8; --type-etancheite: #2fb36b; --type-visite: #e0b100; --tech-1: #2f80ed; --tech-2: #8b5cf6; --tech-3: #0ea5a4; --tech-4: #e8743b; --tech-5: #d946ef; --map-ground: #f3f7fb; --map-water: #cfe6fb; --map-road: #dfe7f1; --shadow-rest: 0 1px 2px rgba(7, 42, 82, 0.04), 0 12px 32px -12px rgba(7, 42, 82, 0.16); --shadow-hover: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3); color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]):not([data-theme="light"]) { --surface: #050a14; --surface-raised: rgba(16, 27, 48, 0.72); --surface-solid: #0f1a2e; --surface-sunken: #0a1324; --hairline: rgba(255, 255, 255, 0.08); --line: rgba(255, 255, 255, 0.16); --line-strong: #6b7c99; --ink: #e9f0fb; --ink-muted: #8fa1bc; --flow: #3aa8ff; --flow-deep: #0065c5; --flow-soft: rgba(58, 168, 255, 0.14); --flow-glow: rgba(58, 168, 255, 0.35); --on-flow: #04101f; --sky: #38bbff; --copper: #ff9a5c; --copper-soft: rgba(255, 154, 92, 0.14); --success: #3ddc97; --success-soft: rgba(61, 220, 151, 0.14); --warning: #ffc85c; --warning-soft: rgba(255, 200, 92, 0.14); --danger: #ff6b6b; --danger-soft: rgba(255, 107, 107, 0.14); --focus: var(--flow); --type-entretien: #2dd4bf; --type-depannage: #ff9a5c; --type-installation: #a78bfa; --type-etancheite: #4ade80; --type-visite: #facc15; --tech-1: #2f80ed; --tech-2: #8b5cf6; --tech-3: #0ea5a4; --tech-4: #e8743b; --tech-5: #d946ef; --map-ground: #050a14; --map-water: rgba(58, 168, 255, 0.22); --map-road: rgba(255, 255, 255, 0.10); --shadow-rest: 0 20px 40px -20px rgba(0, 0, 0, 0.6); --shadow-hover: 0 24px 48px -16px rgba(0, 0, 0, 0.7); color-scheme: dark; } }
:root[data-theme="dark"]:not([data-mode="light"]), :root[data-mode="dark"] { --surface: #050a14; --surface-raised: rgba(16, 27, 48, 0.72); --surface-solid: #0f1a2e; --surface-sunken: #0a1324; --hairline: rgba(255, 255, 255, 0.08); --line: rgba(255, 255, 255, 0.16); --line-strong: #6b7c99; --ink: #e9f0fb; --ink-muted: #8fa1bc; --flow: #3aa8ff; --flow-deep: #0065c5; --flow-soft: rgba(58, 168, 255, 0.14); --flow-glow: rgba(58, 168, 255, 0.35); --on-flow: #04101f; --sky: #38bbff; --copper: #ff9a5c; --copper-soft: rgba(255, 154, 92, 0.14); --success: #3ddc97; --success-soft: rgba(61, 220, 151, 0.14); --warning: #ffc85c; --warning-soft: rgba(255, 200, 92, 0.14); --danger: #ff6b6b; --danger-soft: rgba(255, 107, 107, 0.14); --focus: var(--flow); --type-entretien: #2dd4bf; --type-depannage: #ff9a5c; --type-installation: #a78bfa; --type-etancheite: #4ade80; --type-visite: #facc15; --tech-1: #2f80ed; --tech-2: #8b5cf6; --tech-3: #0ea5a4; --tech-4: #e8743b; --tech-5: #d946ef; --map-ground: #050a14; --map-water: rgba(58, 168, 255, 0.22); --map-road: rgba(255, 255, 255, 0.10); --shadow-rest: 0 20px 40px -20px rgba(0, 0, 0, 0.6); --shadow-hover: 0 24px 48px -16px rgba(0, 0, 0, 0.7); color-scheme: dark; }
