.mapframe.map-ready {
  border: 1px solid #527482;
  border-radius: 6px;
  background: #163849;
}
.map-search {
  position: relative;
  z-index: 2;
  padding: .65rem .85rem .75rem;
}
.map-search label {
  display: block;
  margin-bottom: .28rem;
  color: #e8f3f6;
  font-weight: 650;
  font-size: .9rem;
}
.map-search input {width: 100%; font-size: 1rem}
#map-results {
  position: absolute;
  left: .85rem;
  right: .85rem;
  top: calc(100% - .75rem);
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  color: var(--ink);
  border: 1px solid #8da9b1;
  border-radius: 3px;
  max-height: 12rem;
  overflow: auto;
  box-shadow: 0 6px 14px #081e2c36;
}
#map-results li:has(a) {display: flex; align-items: stretch; border-bottom: 1px solid #d8e1e3}
#map-results a, #map-results button {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: .4rem .65rem;
  background: #fff;
}
#map-results a {flex: 1; min-width: 0; gap: .5rem; text-decoration: none}
#map-results a strong {display: block; text-decoration: underline; line-height: 1.25}
#map-results a span span {display: block; font-size: .8rem; color: #46606c}
#map-results button {flex: none; border: 0; border-left: 1px solid #d8e1e3; color: #245a7f; font: inherit; font-size: .85rem; cursor: pointer}
#map-results :is(a,button):is(:hover,:focus-visible) {background: #e4f2ff}
.map-empty {padding: .7rem .85rem}
.map-sr {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
.map-ready .map-surface {
  position: relative;
  isolation: isolate;
  z-index: 0;
  background: #102e40;
  border-block: 1px solid #426372;
  height: clamp(353px, 38.7vw, 500px);
}
.map-surface .leaflet-image-layer path {vector-effect: non-scaling-stroke}
.map-surface a.selected path {fill: #ffdf85; stroke: #394a42; stroke-width: 1.7}
.map-surface a {cursor: pointer}
.map-surface .map-name {
  background: #103244de;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
  padding: 1px 4px;
  font: 600 13px/1.4 Inter, Arial, sans-serif;
  color: #fff;
  pointer-events: none;
}
.map-surface .map-name.chosen {background: #ffe7a4; color: #263b42}
.map-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .55rem .7rem .25rem;
}
.map-zoom {display: flex; gap: .35rem}
.map-zoom button, .map-open {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #7c9ba7;
  border-radius: 3px;
  background: #193f50;
  color: #f2f9fa;
  padding: .38rem .7rem;
  font: 650 .9rem/1.25 Inter, Arial, sans-serif;
  cursor: pointer;
}
.map-zoom button[data-zoom] {font-size: 1.35rem}
.map-zoom button:disabled {opacity: .46; cursor: default}
.map-zoom button:enabled:hover {background: #275568}
.map-open {display: inline-flex; align-items: center; background: #c6eaf2; color: #103244}
.map-ready figcaption {text-align: left; padding: .25rem .75rem .65rem; line-height: 1.35}
@media(max-width: 600px) {
  .map-ready .map-surface {height: clamp(347px, 101.3vw, 440px)}
}
