/* base.css — design tokens, full-screen map, dark map tint.
   From concept/live-air-traffic.html (lines 121–145). Linked from index.html in a fixed
   order that keeps the cascade identical to the concept. */
/* ---------- Design tokens ---------- */
:root {
  --night:   #0C1626;               /* page / map background */
  --panel:   rgba(12, 22, 38, 0.88);/* overlay panels */
  --edge:    rgba(150, 175, 210, 0.22);
  --text:    #E7EDF6;
  --muted:   #9AA8BE;
  --accent:  #7CC7FF;               /* selection, focus, buttons */
  --warn:    #F2C14E;
  --bad:     #FF8A94;
  --good:    #7FE0B5;
  --font: "B612", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

html, body { height: 100%; margin: 0; }
body { background: var(--night); color: var(--text); font: 14px/1.45 var(--font); }

/* Full-screen map */
#map { position: fixed; inset: 0; background: var(--night); }

/* Dark map: re-tint the street-map tiles with a CSS filter (toggleable). */
.map-dark .leaflet-tile-pane {
  filter: invert(1) hue-rotate(195deg) brightness(0.82) contrast(0.92) saturate(0.55);
}

