.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(235px, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3.5vw, 58px);
}
.map-section .map-heading { align-items: center; flex-wrap: nowrap; }
.map-canvas { min-width: 0; color: #15282f; }
.category-picker {
  appearance: none;
  width: min(100%, 220px);
  min-width: 0;
  min-height: 44px;
  padding: 7px 29px 7px 12px;
  border: 1px solid #cdd3cf;
  border-radius: 8px;
  background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 18px center / 5px 5px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 13px center / 5px 5px no-repeat #eeefe9;
  color: #192b36;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
#explore-category, #map-category {
  color: var(--orange);
  background-color: var(--ink);
  border-color: var(--ink);
}
#map-category { max-width: 64%; }
.shore-viewport {
  position: relative;
  height: clamp(390px, 35vw, 510px);
  isolation: isolate;
  overflow: hidden;
  background: #e6e7cf;
  border: 1px solid #b8cac6;
}
.shore-google-layer, .shore-google-layer iframe, .styled-google-map,
.shore-chart, .shore-geography {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.shore-chart[hidden], .shore-google-layer[hidden], .shore-google-layer iframe[hidden] { display: none; }
.shore-geography { pointer-events: none; }
.shore-water-label text {
  font: 500 17px var(--font, Manrope, sans-serif);
  letter-spacing: 1.2px;
  fill: #235c6e;
}
.shore-place-label text {
  font: 750 9px var(--font, Manrope, sans-serif);
  letter-spacing: 1.1px;
  fill: #405853;
  paint-order: stroke;
  stroke: #e6e7cf;
  stroke-width: 3px;
}
.shore-leaders { fill: #42575b; stroke: #42575b; stroke-width: 1; }
.shore-leaders path { fill: none; }
.shore-north {
  position: absolute;
  top: 11px;
  right: 12px;
  gap: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 7px;
  border-radius: 20px;
  background: rgba(249,250,240,.85);
  font: 750 9px var(--font, Manrope, sans-serif);
  color: #22363a;
}
.shore-north i {
  display: block;
  width: 7px;
  height: 11px;
  background: #22363a;
  clip-path: polygon(50% 0%, 100% 100%, 50% 73%, 0% 100%);
}
.shore-pin {
  appearance: none;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.shore-pin svg {
  box-sizing: content-box;
  width: 17px;
  height: 17px;
  padding: 5px;
  border: 2px solid #fcfbef;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 1px 3px #1b38493b;
  transition: transform .18s;
}
.shore-pin[aria-pressed="true"], .shore-pin:focus-visible { z-index: 2; }
.shore-pin[aria-pressed="true"] svg, .shore-pin:hover svg {
  box-shadow: 0 0 0 2px var(--ink), 0 2px 5px #1b38494b;
  transform: scale(1.08);
}
.shore-pin[aria-pressed="true"] svg { background: var(--orange); color: var(--ink); }
.shore-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  padding: 11px 0;
  border-bottom: 1px solid #cdd4cf;
}
.shore-selection .arrow-link { flex: none; min-height: 44px; margin-inline-start: auto; }
.shore-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172d37;
}
.shore-caption div { display: grid; gap: 2px; }
.shore-caption div > span { font-size: .7rem; color: #4e6266; line-height: 1.25; }
.shore-caption strong { font-size: .94rem; line-height: 1.2; }
.shore-stop-icon, .shore-caption-glyph {
  display: inline-grid;
  place-content: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--lake-tint);
  color: var(--ink);
}
.shore-stop-icon svg, .shore-caption-glyph svg { width: 17px; height: 17px; }
.map-stops { list-style: none; padding: 0; margin: 0; border-top: 1px solid #cad1cb; }
.map-stops li { margin: 0; border-bottom: 1px solid #cad1cb; }
.map-stops button {
  appearance: none;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: #192b36;
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: left;
}
.map-stops button:hover { background: #f0f2eb; }
.map-stops button[aria-pressed="true"] { background: var(--lake-tint); }
.map-stops button[aria-pressed="true"] .shore-stop-icon { background: var(--orange); color: var(--ink); }
.category-picker:focus-visible, .shore-pin:focus-visible, .map-stops button:focus-visible {
  outline: 2px solid #174b78;
  outline-offset: 1px;
}
@media (max-width: 740px) {
  .map-layout { grid-template-columns: 1fr; gap: 15px; }
  .shore-viewport { height: clamp(360px, 112vw, 440px); }
  .map-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9px; }
  .map-stops button { min-height: 50px; padding: 6px 3px; gap: 6px; font-size: .78rem; height: 100%; }
  .shore-stop-icon { width: 25px; height: 25px; }
  .shore-stop-icon svg { width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .shore-pin svg { transition: none; }
}
.shore-pin-label { display: none; }
@media (min-width: 1024px) {
  .shore-pin-label {
    display: block;
    position: absolute;
    left: calc(50% + 20px);
    padding: 3px 6px;
    border-radius: 2px;
    white-space: nowrap;
    font: 700 .71rem var(--font, Manrope, sans-serif);
    color: #223a42;
    background: #eff5eccf;
    pointer-events: none;
  }
}

.shore-caption p { margin-top: .12rem; font-size: .8rem; line-height: 1.35; }
