/* Real OpenStreetMap vectors; controls and the pin are part of the local UI. */
.nmap {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(16.25rem, 32vw, 23rem);
  min-height: 16.25rem;
  border: 1px solid #353c35;
  border-radius: 12px;
  background: #242a25;
  color: #f7f9f5;
  direction: ltr;
  line-height: 1.3;
  color-scheme: dark;
}
.nmap .nmap-view,
.nmap .nmap-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #242a25;
}
.nmap .nmap-view {
  z-index: 0;
  font-family: Arial, sans-serif;
}
.nmap .nmap-view:focus-visible,
.nmap button:focus-visible,
.nmap a:focus-visible,
.nmap .nmap-marker:focus-visible {
  outline: 3px solid #d2ffa2;
  outline-offset: -3px;
}
.nmap .nmap-geometry {
  pointer-events: none;
  overflow: hidden;
}
.nmap .nmap-labels {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 425;
}
.nmap .nmap-street {
  position: absolute;
  display: block;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  font:
    600 11px/1.1 Arial,
    sans-serif;
  letter-spacing: 0.08px;
  color: #d4dacf;
  text-shadow:
    0 1px 2px #242a25,
    0 -1px 2px #242a25,
    1px 0 1px #242a25,
    -1px 0 1px #242a25;
  pointer-events: none;
  user-select: none;
}
.nmap .nmap-marker {
  background: transparent;
  border: 0;
  filter: drop-shadow(0 2px 3px #111a12b3);
}
.nmap .nmap-pinwrap {
  position: relative;
  display: block;
  width: 36px;
  height: 44px;
}
.nmap .nmap-pinwrap > svg {
  width: 36px;
  height: 44px;
  display: block;
}
.nmap .nmap-pinlabel {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  background: #131a15;
  color: #f7fbf7;
  border: 1px solid #677463;
  padding: 5px 9px;
  border-radius: 6px;
  font:
    700 12px/1.15 Arial,
    sans-serif;
  white-space: nowrap;
  letter-spacing: 0;
}
.nmap .nmap-popup-open .nmap-pinlabel {
  visibility: hidden;
}
.nmap .nmap-tools,
.nmap .nmap-interaction,
.nmap .nmap-google,
.nmap .nmap-credits,
.nmap .nmap-state {
  position: absolute;
  z-index: 2;
}
.nmap .nmap-tools {
  inset-inline-end: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 3px;
  border: 1px solid #5d6c5b;
  background: #171f19f7;
  border-radius: 9px;
}
.nmap .nmap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  font: 600 13px/1.2 inherit;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: #f4f8f1;
  background: #171f19;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  color-scheme: dark;
  appearance: none;
  touch-action: manipulation;
}
.nmap .nmap-btn:hover {
  background: #354331;
  color: #f7fbf6;
}
.nmap .nmap-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.nmap .nmap-btn[hidden] {
  display: none;
}
.nmap .nmap-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.nmap .nmap-interaction {
  inset-inline-start: 10px;
  bottom: 25px;
  display: none;
}
.nmap .nmap-text-btn {
  padding: 0 11px;
  gap: 7px;
  border: 1px solid #697964;
  border-radius: 7px;
  min-height: 36px;
  background: #172119f7;
}
.nmap .nmap-credits {
  inset-inline-end: 0;
  bottom: 0;
  padding: 3px 7px;
  background: #101612e8;
  color: white;
  font:
    12px/1.2 Arial,
    sans-serif;
  letter-spacing: 0;
  border-start-start-radius: 5px;
}
.nmap .nmap-credits a,
.nmap .nmap-credits a:visited {
  display: inline;
  padding: 0;
  margin: 0;
  color: #e5eadf;
  font: inherit;
  text-decoration: none;
  background: none;
  border: 0;
}
.nmap .nmap-credits a:hover {
  text-decoration: underline;
}
.nmap .nmap-state {
  inset-inline: 12px;
  bottom: 25px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #172119f5;
  color: #e8efe4;
  font-size: 0.875rem;
}
.nmap .nmap-state:empty {
  display: none;
}
.nmap .leaflet-popup-content-wrapper,
.nmap .leaflet-popup-tip {
  background: #171e18;
  color: #f5f8f1;
}
.nmap .leaflet-popup-content-wrapper {
  border: 1px solid #667861;
  border-radius: 8px;
  box-shadow: 0 2px 7px #13181466;
}
.nmap .leaflet-popup-content {
  margin: 14px 20px 13px 14px;
}
.nmap .nmap-card {
  display: grid;
  justify-items: start;
  gap: 4px;
  margin: 0;
  text-align: start;
  font-family: inherit;
}
.nmap .nmap-card strong {
  font-size: 0.95rem;
  color: #f3f7ef;
}
.nmap .nmap-card span {
  font-size: 0.8rem;
  color: #cbd3c8;
}
.nmap .nmap-card a {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #b4f476;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nmap .leaflet-popup-close-button {
  color: #d6e1d1;
}
.nmap .leaflet-popup-close-button:hover {
  color: #b5f675;
  background: none;
}
.nmap .nmap-google {
  inset-inline-start: 12px;
  top: 12px;
}
.nmap .nmap-ask,
.nmap .nmap-back {
  position: absolute;
  z-index: 4;
}
.nmap .nmap-ask {
  inset: 0;
  background: #101812e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 20px;
  text-align: center;
}
.nmap .nmap-ask p {
  color: #e8efe6;
  max-width: 33ch;
  margin: 0;
  font-size: 1rem;
}
.nmap .nmap-consent-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.nmap .nmap-primary,
.nmap .nmap-primary:hover {
  color: #15210e;
  background: #a4ef52;
  border-color: #a4ef52;
}
.nmap .nmap-back {
  inset-inline-start: 10px;
  top: 10px;
}
.nmap .nmap-iframe {
  z-index: 3;
  background: #e6e9e6;
}
.nmap.nmap-google-view .nmap-tools,
.nmap.nmap-google-view .nmap-interaction,
.nmap.nmap-google-view .nmap-credits {
  visibility: hidden;
}
.nmap.nmap-consent .nmap-tools,
.nmap.nmap-consent .nmap-interaction {
  visibility: hidden;
}
@media (pointer: coarse) {
  .nmap .nmap-btn {
    min-width: 41px;
    min-height: 41px;
  }
  .nmap .nmap-interaction {
    display: block;
  }
  .nmap:not(.nmap-explore) .nmap-view {
    touch-action: pan-y pinch-zoom;
  }
  .nmap.nmap-explore .nmap-view {
    touch-action: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nmap .nmap-btn {
    transition: none;
  }
  .nmap .leaflet-zoom-animated {
    transition: none !important;
  }
}
