/*
 * Minimal Leaflet 1.9-compatible layout styles for this page.
 * This is a locally authored subset, not the upstream Leaflet stylesheet.
 * No default marker image assets are needed; location.js uses a CSS divIcon.
 */
.leaflet-container {
  position: relative;
  overflow: hidden;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  background: #e8edf0;
}

.leaflet-container:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }

.leaflet-map-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  pointer-events: none;
}

.leaflet-interactive,
.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path,
.leaflet-pane > canvas {
  pointer-events: auto;
  cursor: pointer;
}

.leaflet-container img,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  border: 0;
  padding: 0;
}

.leaflet-container img.leaflet-tile { user-select: none; }
.leaflet-tile { visibility: hidden; }
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-animated { transform-origin: 0 0; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition: transform .25s cubic-bezier(0, 0, .25, 1); }
.leaflet-fade-anim .leaflet-tile { transition: opacity .2s linear; }
.leaflet-zoom-anim .leaflet-tile { transition: none; }
.leaflet-zoom-hide { visibility: hidden; }
.leaflet-anim-marker { transition: transform .25s cubic-bezier(0, 0, .25, 1); }

.leaflet-control-container { position: absolute; inset: 0; pointer-events: none; }
.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}
.leaflet-top { top: 0; }
.leaflet-right { right: 0; }
.leaflet-bottom { bottom: 0; }
.leaflet-left { left: 0; }
.leaflet-control {
  position: relative;
  z-index: 800;
  float: left;
  clear: both;
  pointer-events: auto;
}
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }

.leaflet-bar {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
}
.leaflet-bar a {
  display: block;
  width: 28px;
  height: 28px;
  border-bottom: 1px solid #ccc;
  background: #fff;
  color: #222;
  line-height: 27px;
  text-align: center;
  text-decoration: none;
  font: 700 20px/27px Arial, sans-serif;
}
.leaflet-bar a:last-child { border-bottom: 0; }
.leaflet-bar a:hover,
.leaflet-bar a:focus-visible { background: #f4f4f4; color: #111; }
.leaflet-bar a.leaflet-disabled { color: #bbb; cursor: default; }

.leaflet-control-attribution {
  padding: 1px 6px;
  border-radius: 3px 0 0 0;
  background: rgba(255, 255, 255, .88);
  color: #333;
  font: 11px/1.5 Arial, sans-serif;
  box-shadow: 0 0 2px rgba(0, 0, 0, .15);
}
.leaflet-control-attribution a { color: #075985; text-decoration: underline; }
.leaflet-control-attribution a:hover { color: #0c4a6e; }

.leaflet-marker-icon { display: block; }
.leaflet-grab { cursor: grab; }
.leaflet-dragging .leaflet-grab { cursor: grabbing; }
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive { cursor: crosshair; }
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  background: #fff;
  text-align: left;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .28);
}
.leaflet-popup-content { margin: 12px 16px; line-height: 1.45; }
.leaflet-popup-tip-container { position: absolute; left: 50%; width: 40px; height: 20px; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 17px; height: 17px; margin: -10px auto 0; transform: rotate(45deg); background: #fff; box-shadow: 3px 3px 8px rgba(0, 0, 0, .22); }
.leaflet-popup-close-button { position: absolute; top: 0; right: 0; padding: 4px 7px 0 0; color: #555; font: 20px/20px Arial, sans-serif; text-decoration: none; }

.regina-home-map-marker {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 3px solid #c39f75;
  border-radius: 50% 50% 50% 2px;
  background: #2b3d2d;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .4);
  transform: rotate(-45deg);
}
.regina-home-map-marker::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.regina-map-imagery-note,
.regina-map-feedback {
  position: absolute;
  z-index: 900;
  left: 10px;
  max-width: min(28rem, calc(100% - 20px));
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  color: #24313b;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .16);
  font: 12px/1.4 Arial, sans-serif;
}
.regina-map-imagery-note { top: auto; bottom: 35px; pointer-events: none; }
.regina-map-feedback { bottom: 10px; margin: 0; }
.regina-map-fallback {
  display: grid;
  min-height: 14rem;
  place-content: center;
  gap: .5rem;
  box-sizing: border-box;
  padding: 1rem;
  background: #eef2f4;
  color: #24313b;
  text-align: center;
}
.regina-map-fallback p { margin: 0; }
.regina-map-fallback a { color: #075985; }

@media (prefers-reduced-motion: reduce) {
  .leaflet-zoom-anim .leaflet-zoom-animated,
  .leaflet-fade-anim .leaflet-tile,
  .leaflet-anim-marker { transition: none !important; }
}
