/* ===== dark theme: treatments that are not just token values =====
 *
 * tokens.css already carries the dark palette. This file holds the effects
 * that only make sense on a dark ground — the accent glow and the map's
 * contrast lift — so the light theme is not forced to undo them.
 */
:root:not([data-theme="light"]) .brand svg {
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--accent) 45%, transparent));
}
:root:not([data-theme="light"]) .btn.primary {
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 26%, transparent);
}
/* Satellite tiles are bright; on a dark console they read as a light box
 * floating in the frame. A slight desaturation settles them into the page
 * without falsifying the imagery — the analysis layers on top are untouched. */
:root:not([data-theme="light"]) .leaflet-tile-pane {
  filter: saturate(0.88) brightness(0.9);
}
