.voyages-map {
  --voyage-map-ink: #173746;
  --voyage-map-paper: #f5f5ef;
  --voyage-map-accent: #ed9a20;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #cdd6d0;
  background: var(--voyage-map-paper);
  color: var(--voyage-map-ink);
}
.voyages-map *, .voyages-map *::before, .voyages-map *::after { box-sizing: border-box; }
.voyages-map [hidden] { display: none !important; }
.voyages-map-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 15px 18px 11px; border-bottom: 1px solid #d6ded7; }
.voyages-map-top p { margin: 0; font: 500 12px/1.5 Poppins, Arial, sans-serif; }
.voyages-map-top > span { flex: none; color: #526c75; font: 400 11px/1.5 Poppins, Arial, sans-serif; }
.voyages-map-stage { position: relative; flex: 1 1 auto; min-height: 260px; min-width: 0; overflow: hidden; background: #e7eef0; }
.voyages-map-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: hidden; cursor: grab; touch-action: pan-y; }
.voyages-map.is-panning .voyages-map-canvas { cursor: grabbing; }
.voyages-map-land { fill: #fbfaf3; stroke: #9aaeb0; stroke-width: 1.25; pointer-events: none; }
.voyages-map-sea { fill: #6d8e9b; font: italic 20px/1 Cormorant, Georgia, serif; pointer-events: none; }
.voyages-map-marker { cursor: pointer; outline: none; }
.voyages-map-leader { fill: none; stroke: #8b9f9f; stroke-width: 1; vector-effect: non-scaling-stroke; pointer-events: none; }
.voyages-map-pin circle { fill: #234c5d; stroke: #fffdf5; stroke-width: 1.7; pointer-events: none; }
.voyages-map-label rect { fill: #fffffb; stroke: #c9d3cf; stroke-width: 1; }
.voyages-map-label text { fill: #244350; font: 500 11px/1 Poppins, Arial, sans-serif; pointer-events: none; }
.voyages-map-label-arrow { fill: none; stroke: #5c7781; stroke-width: 1.3; pointer-events: none; }
.voyages-map-marker:hover .voyages-map-label rect, .voyages-map-marker.is-selected .voyages-map-label rect { fill: #193c4c; stroke: #193c4c; }
.voyages-map-marker:hover .voyages-map-label text, .voyages-map-marker.is-selected .voyages-map-label text { fill: #fffdf4; }
.voyages-map-marker:hover .voyages-map-label-arrow, .voyages-map-marker.is-selected .voyages-map-label-arrow { stroke: #f2b356; }
.voyages-map-marker.is-selected .voyages-map-pin circle { fill: var(--voyage-map-accent); stroke: #173746; }
.voyages-map-marker.is-selected .voyages-map-leader { stroke: #456777; stroke-width: 1.5; }
.voyages-map-marker:focus-visible .voyages-map-label rect { stroke: #c47a0c; stroke-width: 3; }
.voyages-map-route-lines { pointer-events: none; }
.voyages-map-route-leg { fill: none; stroke: #bd7713; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.voyages-map-route-leg.is-flight { stroke-dasharray: 5 5; }
.voyages-map-direction path { fill: none; stroke: #80531b; stroke-width: 1.5; }
.voyages-map-stop { cursor: pointer; outline: none; }
.voyages-map-stop-hit { fill: transparent; pointer-events: all; }
.voyages-map-stop-halo { fill: #fbfaf3d9; stroke: #bd77134d; stroke-width: 1; pointer-events: none; }
.voyages-map-stop-dot { fill: #bd7713; stroke: #fffdf8; stroke-width: 1; pointer-events: none; }
.voyages-map-stop:hover .voyages-map-stop-halo, .voyages-map-stop:focus-visible .voyages-map-stop-halo { stroke: #173746; stroke-width: 2.4; }
.voyages-map-place-name { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 2; max-width: calc(100% - 28px); width: max-content; margin: 0; padding: 9px 13px; border: 1px solid #c6d2cc; background: #fffffaf2; color: #173746; box-shadow: 0 4px 15px #1737460d; font: 500 12px/1.5 Poppins, Arial, sans-serif; text-align: center; pointer-events: none; }
.voyages-map-empty { position: absolute; inset: 0; display: grid; align-content: center; margin: 0; padding: 30px; background: #f5f5efd9; color: #385560; font: 400 14px/1.65 Poppins, Arial, sans-serif; text-align: center; }
.voyages-map-tools { display: grid; grid-template-columns: 1fr auto; align-items: center; flex: none; gap: 5px 12px; padding: 10px 14px; border-top: 1px solid #cfd9d3; }
.voyages-map-legend { display: flex; align-items: center; gap: 7px; min-width: 0; margin: 0; color: #55717b; font: 400 10px/1.5 Poppins, Arial, sans-serif; }
.voyages-map-legend::before { content: ''; width: 20px; flex: none; border-top: 2px solid #bd7713; }
.voyages-map-zoom { display: flex; gap: 3px; }
.voyages-map-zoom button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #cbd6d0; border-radius: 0; background: #fffffb; color: #244350; font: 400 22px/1 Arial, sans-serif; cursor: pointer; }
.voyages-map-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.voyages-map-zoom button:hover:not(:disabled) { background: #e3ece9; border-color: #658592; }
.voyages-map button:disabled { opacity: .4; cursor: default; }
.voyages-map-fit { display: flex; grid-column: 1/-1; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; width: 100%; padding: 7px 0 0; border: 0; border-top: 1px solid #dae0d9; background: transparent; color: #234552; font: 500 11px/1.5 Poppins, Arial, sans-serif; text-align: left; cursor: pointer; }
.voyages-map-fit span { font: 400 18px/1 Arial, sans-serif; }
.voyages-map button:focus-visible { outline: 2px solid #b87209; outline-offset: 2px; }
.voyages-map-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .voyages-map { flex: 1 1 auto; min-height: 0; }
  .voyages-map-top { padding: 12px 14px 9px; }
  .voyages-map-tools { padding: 7px 10px; gap: 3px 8px; }
  .voyages-map-fit { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .voyages-map * { scroll-behavior: auto !important; } }
@media print {
  .voyages-map { height: 460px; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .voyages-map-zoom, .voyages-map-fit { display: none; }
}
