/* LumaRoute design tokens — generated by hand from the LumaRoute design system (tokens.json v1).
   Night ("Nacht") is the primary theme; Day ("Dag") is applied with [data-theme="light"].
   Additions not in the design system are marked "LumaRoute app". */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* Colour — Nacht */
  --bg: #0b141c;
  --surface: #101824;
  --surface-raised: #14202c;
  --surface-selected: #142438;
  --map-ground: #0c1824;
  --border: #1f2c3b;
  --border-control: #5d6e84;
  --ink: #f2f5f9;
  --ink-muted: #9aa7b6;
  --primary: #70a4fc;
  --on-primary: #0a1626;
  --selected: #1a4275;
  --on-selected: #ffffff;
  --luma-mint: #64d8a8;
  --luma-blue: #3c80c8;
  --brand-text: var(--luma-mint);
  --on-gradient: #ffffff;
  --lit: #50e480;
  --lit-soft: #245c44;
  --on-lit-soft: #bff2d0;
  --partial: #f4d424;
  --partial-soft: #444c40;
  --on-partial-soft: #ecebc4;
  --unlit: #707c88;
  --start-point: #4c88e4;
  --focus: #8ec0ff;
  /* LumaRoute app: the brief distinguishes "explicitly unlit" (red) from "unknown" (grey). */
  --unlit-confirmed: #ff6b6b;
  --unlit-soft: #4a2a30;
  --on-unlit-soft: #ffd5d5;
  --danger: #ff8a8a;
  --warning-ink: var(--partial);
  /* LumaRoute app: map overlays for conflicts and lamp sources other than municipal. */
  --conflict: #d68cff;
  --lamp-provincial: #ff9f43;
  --lamp-national: #3fd0e0;
  --lamp-osm: #e8ecf2;

  /* Spacing, radius, shadow */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 12px rgba(80, 228, 128, 0.45);

  /* Map tiles are dimmed and inverted at night so only the route lights up. */
  --tile-filter: invert(1) hue-rotate(180deg) brightness(0.82) contrast(0.85) saturate(0.35);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-raised: #ecf0f4;
  --surface-selected: #e1e9f5;
  --map-ground: #e9eef3;
  --border: #d0d5dd;
  --border-control: #7b8798;
  --ink: #0f1a2b;
  --ink-muted: #56657a;
  --primary: #2f6fd6;
  --on-primary: #ffffff;
  --selected: #0c3058;
  --brand-text: #13805a;
  --lit: #1b9450;
  --lit-soft: #dcf5e6;
  --on-lit-soft: #14663a;
  --partial: #a67c00;
  --partial-soft: #f6efcf;
  --on-partial-soft: #6b5300;
  --unlit: #7d8896;
  --start-point: #2f6fd6;
  --focus: #1f5fc4;
  --unlit-confirmed: #c62828;
  --unlit-soft: #fbe3e3;
  --on-unlit-soft: #8e1c1c;
  --danger: #b3261e;
  --warning-ink: #6b5300;
  --conflict: #8e24aa;
  --lamp-provincial: #c25e00;
  --lamp-national: #00838f;
  --lamp-osm: #5f6b7a;
  --shadow-panel: 0 8px 24px rgba(15, 26, 43, 0.10);
  --tile-filter: saturate(0.85);
}
