.route-map-pilot { padding: .8rem; }
.route-map-pilot svg,
.route-map-pilot iframe {
  display: block;
  width: 100%;
  aspect-ratio: 45 / 31;
  background: #edf1e7;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.map-halo, .map-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.map-halo { stroke: #fff; stroke-width: 6; }
.map-line { stroke: #00685d; stroke-width: 4; }
.map-line.access { stroke: #17506d; }
.map-line.approximate { stroke: #a76517; stroke-dasharray: 7 6; }
.map-pin circle { fill: #124e46; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-pin.access-gap circle { fill: #a7262d; }
.map-pin.tentative circle { fill: #8c510f; }
.map-pin text {
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
  font-weight: 800;
}
.map-controls { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.map-controls button,
.map-provider {
  padding: .35rem .62rem;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--pine);
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
}
.map-controls button[aria-pressed="true"] { background: var(--pine); color: #fff; }
.map-provider { margin-bottom: .65rem; }
.map-legend { display: flex; flex-wrap: wrap; gap: .25rem .9rem; margin: .55rem 0 0; font-size: .79rem; }
.map-legend span::before {
  display: inline-block;
  width: 1.1rem;
  margin-right: .32rem;
  border-top: 3px solid #00685d;
  vertical-align: .22em;
  content: "";
}
.map-legend .marina-access::before { border-top-color: #17506d; }
.map-legend .access-gap::before { border: 0; color: #a7262d; content: "×"; font-weight: 800; vertical-align: baseline; }
.map-legend .tentative::before { border-top: 3px dashed #a76517; }
.map-summary { margin: .25rem 0 0; color: var(--muted); font-size: .87rem; }

.route-follow { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .65rem; margin-bottom: .65rem; }
.route-follow button { padding: .4rem .7rem; min-height: 44px; border: 1px solid var(--pine); border-radius: 7px; background: var(--pine); color: #fff; cursor: pointer; font-size: .9rem; font-weight: 800; }
.route-follow p { margin: 0; color: var(--muted); font-size: .84rem; }
.route-follow [data-follow-status] { flex-basis: 100%; color: var(--pine); font-weight: 700; }
.route-follow [data-follow-status]:empty { display: none; }
.route-map-pilot[data-following] .map-provider,
.route-map-pilot[data-following] .map-controls,
.route-map-pilot[data-following] .map-summary { display: none; }
.map-location { fill: #1769d1; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
