/* Keep Leaflet panes (z-index 200–700) and controls (1000) inside the map.
   A transformed pane otherwise paints over modals, drawers, and menus.
   inset-0 maps stay absolute: position:relative drops the stretch, and the
   vendored leaflet sheet does not give the container a height. */
.leaflet-container {
  isolation: isolate;
  z-index: 0;
}

.leaflet-container.absolute {
  position: absolute;
}

.leaflet-container:not(.absolute) {
  position: relative;
}

.leaflet-container .leaflet-pane,
.leaflet-container .leaflet-top,
.leaflet-container .leaflet-bottom,
.leaflet-container .leaflet-control {
  z-index: 1;
}

.leaflet-container img.leaflet-tile {
  mix-blend-mode: normal;
}

/* h-[32rem] is not in the compiled Blinkstrap sheet. The frame's only
   children are absolute, so without a height the map and the label collapse. */
div:has(> #person-day-map) {
  height: 32rem;
}
