.view-switch {
  display: inline-flex;
  gap: 4px;
  margin: 0 0 20px;
  padding: 4px;
  border-radius: 12px;
  background: #e5edee;
}
.view-switch button {
  padding: 9px 18px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.view-switch button.is-active {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(11, 32, 56, .1);
}
.view-switch button:focus-visible {
  outline: 3px solid #79cdb5;
  outline-offset: 2px;
}
.explorer-view[hidden] { display: none; }
.map-panel {
  height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e9f1ef;
}
.map-status {
  display: grid;
  height: 100%;
  place-items: center;
  padding: 30px;
  color: var(--muted);
  font-weight: 750;
  text-align: center;
}
.map-status button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-weight: 800;
}
.leaflet-popup-content p { margin: 5px 0 8px; color: #526277; }
.leaflet-popup-content a { color: #087a61; font-weight: 800; }
@media (max-width: 520px) {
  .map-panel { height: 460px; }
  .view-switch { width: 100%; }
  .view-switch button { flex: 1; }
}
