/*
 * Residual stylesheet.
 *
 * Everything that is a component now lives in the Tailwind layer of
 * _layout.php. What remains here is what Tailwind cannot express cleanly:
 * the design tokens still referenced by the map screens, and the Leaflet
 * overlays that are injected as raw HTML by the map library.
 */

:root {
  --ink: #151a1f;
  --muted: #6b7280;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #fff;
  --accent: #1f5f4b;
  --accent-soft: #eef6f2;
  --warn: #b45309;
}

/* Maps -------------------------------------------------------------------- */
.map {
  height: 320px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  z-index: 0;
}
.map.small { height: 220px; }
.map.tall { height: 460px; margin-bottom: 8px; }

.maplegend {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.maplegend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.maplegend .dot.all { background: rgba(31, 95, 75, .5); }
.maplegend .dot.page { background: #3b82c4; }
.maplegend .sep { margin: 0 4px; }

/* Cluster bubbles are built as raw HTML inside a Leaflet divIcon, so they are
   outside the reach of the Tailwind layer. */
.cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 95, 75, .85);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 1px 4px rgba(16, 24, 32, .25);
}

.leaflet-container { font: inherit; }
.leaflet-popup-content { font-size: 13px; line-height: 1.5; }
