.project-map-panel {
  color: var(--midnight-text, #f3f7fc);
  min-width: 0;
}
.overview-locations { margin: 28px 0; min-width: 0; }
.location-view-switch { display: flex; gap: 4px; padding: 4px; background: #101b27; border: 1px solid #293a49; border-radius: 10px; }
.location-view-switch button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #b3c1cf; min-height: 40px; padding: 8px 14px; }
.location-view-switch button[aria-pressed="true"] { background: #203343; color: #a7eff8; }
.location-view-switch button svg { width: 17px; height: 17px; }
@media(max-width:600px) { .overview-locations .section-heading { align-items: flex-start; gap: 12px; flex-wrap: wrap; } .location-view-switch { width: 100%; } .location-view-switch button { flex: 1; justify-content: center; } }
.project-map-status:not(:empty),
.project-map-empty {
  margin: 0;
  padding: 12px;
  color: #bacbde;
}
.project-map-status p { margin: 0; }
.project-map-panel [hidden] { display: none !important; }
.project-map-surface {
  width: 100%;
  height: clamp(290px, 55vh, 560px);
  overflow: hidden;
  border: 1px solid #2a4054;
  border-radius: 12px;
  background: #122333;
  isolation: isolate;
}
.project-map-surface .leaflet-tile-pane {
  filter: none;
}
.project-map-surface .leaflet-control-attribution {
  background: #111d2b;
  color: #c1d0e1;
}
.project-map-surface .leaflet-control-attribution a { color: #8cdef3; }
.project-map-surface .leaflet-bar a {
  min-width: 36px;
  min-height: 36px;
  line-height: 36px;
  color: #e1edfa;
  border-color: #3a566e;
  background: #182a3a;
}
.project-map-surface .leaflet-bar a:hover,
.project-map-surface .leaflet-bar a:focus-visible { color: #8ce7fa; background: #243c50; }
.project-map-marker {
  display: grid;
  place-items: center;
  border: 2px solid #8eefff;
  border-radius: 50%;
  background: #11425a;
  color: #f3fbff;
  box-shadow: 0 0 0 2px #0a151f, 0 2px 8px #0008;
  font-size: 12px;
  font-weight: 700;
}
.project-map-marker span:empty { width: 8px; height: 8px; border-radius: 50%; background: #a1f3ff; }
.project-map-marker:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-map-surface .leaflet-popup-content-wrapper,
.project-map-surface .leaflet-popup-tip {
  color: #f3f7fc;
  background: #122332;
}
.project-map-surface .leaflet-popup-close-button { color: #b6cadb; }
.project-map-popup, .project-map-list ul { margin: 0; padding: 0; list-style: none; }
.project-map-popup li { display: grid; justify-items: start; gap: 3px; }
.project-map-popup li + li { border-top: 1px solid #344f65; margin-top: 10px; padding-top: 10px; }
.project-map-popup li span { color: #bacbde; }
.project-map-popup button { margin-top: 5px; }
.project-map-list {
  margin-top: 10px;
  border: 1px solid #2a4054;
  border-radius: 9px;
  background: #101d2a;
}
.project-map-list summary { padding: 10px 13px; font-weight: 650; cursor: pointer; }
.project-map-list li {
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid #2a4054;
  overflow-wrap: anywhere;
}
.project-map-list li > button {
  padding: 8px 13px;
  min-width: 0;
  min-height: 44px;
  text-align: start;
  color: #edf6ff;
  border: 0;
  background: transparent;
}
.project-map-list li button:first-child { flex: 1; }
.project-map-list li span { display: block; color: #b9cadb; font-size: .82em; }
.project-map-list li .project-map-edit { color: #8ce7fa; }
.project-map-panel [data-project-map-retry] { margin: 8px 0 0; }
.site-location .project-map-surface { height: 270px; border-inline: 0; border-radius: 0; }
.site-location .project-map-list, .site-location .project-map-panel [data-project-map-retry] { margin-inline: 12px; }
@media (max-width: 600px) {
  .site-location .project-map-surface { height: 220px; }
}
@media (prefers-contrast: more), (forced-colors: active) {
  .project-map-surface .leaflet-tile-pane { filter: none; }
}
