/* Shared cemetery map controls (index + form plot picker). */
.nch-basemap-toggle {
  position: absolute;
  top: 12px;
  left: 58px;
  z-index: 1100;
  display: flex;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
.nch-basemap-toggle button {
  font-family: "Lato", "Segoe UI", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6A1113;
  background: #fff;
  border: 0;
  padding: 0.4rem 0.7rem;
  min-height: 40px;
  cursor: pointer;
}
.nch-basemap-toggle button + button {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}
.nch-basemap-toggle button.is-active,
.nch-basemap-toggle button[aria-pressed="true"] {
  background: #6A1113;
  color: #F7F1E8;
}
.nch-basemap-toggle button:hover,
.nch-basemap-toggle button:focus {
  outline: 2px solid #6A1113;
  outline-offset: 1px;
  z-index: 1;
}

/* Keep Leaflet's huge transformed panes (e.g. .leaflet-proxy) from
   expanding the document width in Safari, which pushed the header
   menu off the right edge of the window at every width. */
.leaflet-container {
  overflow: hidden;
}
.nch-map-canvas,
.nch-picker-map {
  overflow: hidden;
  min-width: 0;
  contain: paint;
}
