/* Maps load automatically; local plans remain available if loading fails. */
.nursery-map {
  position: absolute;
  inset: 0;
  isolation: isolate;
  font: 400 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.nursery-map [hidden] { display: none !important; }
.nursery-map-preview { z-index: 1; }
.nursery-map-fallback-actions {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(22, 50, 75, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 5px 18px rgba(22, 50, 75, .12);
  text-align: center;
}
.nursery-map-fallback-actions .button {
  min-height: 44px;
  max-width: 100%;
  padding: 9px 16px;
  font: 700 .875rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  white-space: normal;
}
.nursery-map-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 700;
}
.nursery-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #e5eee8;
  font: inherit;
}
.nursery-map-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: calc(100% - 78px);
}
.nursery-map-tools button {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #d3dee3;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 3px 10px rgba(22, 50, 75, .1);
  font: 650 .75rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}
.nursery-map-tools button:hover { color: #a63b00; border-color: #a63b00; }
.nursery-map .leaflet-control-zoom a {
  width: 44px;
  height: 44px;
  line-height: 44px;
  color: var(--navy);
}
.nursery-map .leaflet-control-attribution {
  max-width: 100%;
  padding: 3px 7px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  font-size: 10px;
}
.nursery-map .leaflet-control-attribution a { color: #234b61; }
.nursery-map .leaflet-popup-content { color: var(--navy); font: 400 13px/1.5 system-ui, sans-serif; }
.nursery-map .leaflet-popup-content p { margin: 6px 0 0; font: inherit; }
.nursery-map .leaflet-container a.leaflet-popup-close-button { width: 44px; height: 44px; font-size: 24px; line-height: 40px; }
.nursery-map .leaflet-popup-content-wrapper { padding-right: 10px; }
.nursery-map :focus-visible { outline: 3px solid #a63b00; outline-offset: 3px; }
.nursery-map-canvas:focus-visible { outline-offset: -4px; }
.nursery-map.has-map-error .nursery-map-status {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  right: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 10px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: .75rem;
  white-space: normal;
}
@media (max-width: 420px) {
  .contact-map { flex-basis: 280px; height: 280px; }
  .nursery-map-fallback-actions { left: 8px; right: 8px; padding: 10px; }
  .nursery-map-tools { gap: 4px; }
  .nursery-map-tools button { padding: 8px; }
}
