/* The photo retains its native aspect ratio. Marker coordinates refer to this full frame. */
#fleet-berth-photo{position:relative;margin:0;isolation:isolate;min-width:0;overflow:visible;border-radius:3px;box-shadow:0 12px 32px #071b2d12}
#fleet-berth-photo>img.berth-photo-image{position:relative;display:block;width:100%;height:auto;max-width:100%;object-fit:contain;transform:none;border-radius:3px}
.berth-hotspot{--marker:#fff;position:absolute;left:var(--berth-x);top:var(--berth-y);transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border:0;padding:0;border-radius:50%;background:transparent;color:var(--marker);cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent}
.berth-hotspot.is-ink{--marker:#061927}
.berth-hotspot::before,.berth-hotspot::after{content:"";position:absolute;width:27px;height:27px;box-sizing:border-box;border:1.5px solid currentColor;border-radius:50%;pointer-events:none}
.berth-hotspot::before{background:#ffffff0d;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);box-shadow:0 0 0 1px #0619270b;transition:background 180ms,transform 220ms}
.berth-hotspot::after{animation:berth-pulse 2.8s cubic-bezier(.16,.6,.35,1) infinite}
.berth-hotspot.is-ink::after{animation-delay:.7s}
.berth-hotspot svg{position:relative;width:12px;height:12px;stroke:currentColor;stroke-width:1.6;fill:none;pointer-events:none;transition:transform 220ms}
.berth-hotspot:hover::before,.berth-hotspot[aria-expanded="true"]::before{transform:scale(1.13);background:#ffffff26}
.berth-hotspot[aria-expanded="true"] svg{transform:rotate(45deg)}
.berth-hotspot[aria-expanded="true"]::after{animation-play-state:paused;opacity:0}
.berth-hotspot:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@keyframes berth-pulse{0%{transform:scale(1);opacity:.72}75%,100%{transform:scale(1.75);opacity:0}}
.berth-vessel-panel{overflow:auto;overscroll-behavior:contain;box-sizing:border-box;position:absolute;z-index:5;width:min(280px,calc(100% - 24px));padding:20px;border:1px solid #ffffffa3;border-radius:10px;background:linear-gradient(135deg,#f5fafbe8,#edf5f8c4);color:#112b40;backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2);box-shadow:inset 0 1px #fff,0 3px 8px #06172512,0 18px 42px #0617253b;animation:berth-card-in 200ms ease-out;font-family:var(--matsu-font,"Helvetica Neue",Helvetica,Arial,sans-serif);text-align:start}
.berth-vessel-panel[hidden]{display:none}
@keyframes berth-card-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
.berth-vessel-close{position:absolute;right:5px;top:5px;width:34px;height:34px;padding:9px;display:grid;place-items:center;background:transparent;color:#213d50;border:0;border-radius:50%;cursor:pointer}
.berth-vessel-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.berth-vessel-close:hover{background:#0b2f4610}
.berth-kicker{margin:0 0 6px!important;color:#5c7180!important;font-size:10px!important;font-weight:400!important;line-height:1.3!important;letter-spacing:.07em}
.berth-vessel-content h3{margin:0 0 16px!important;padding-right:10px;font-size:20px!important;line-height:1.2!important;font-weight:400!important;letter-spacing:-.015em}
.berth-vessel-content dl{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px;margin:0 0 16px}
.berth-vessel-content dt{color:#5b7180;font-size:10px;line-height:1.35;margin-bottom:4px}
.berth-vessel-content dd{margin:0;font-size:13px;line-height:1.35;font-weight:400}
.berth-route{grid-column:1/-1}
.berth-outstanding{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;padding-top:11px;border-top:1px solid #0e30491c}
.berth-outstanding dt{font-size:11px;margin:0}
.berth-open-vessel{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0;padding:0;border:0;background:transparent;font:400 12px/1.4 var(--matsu-font,"Helvetica Neue",Helvetica,Arial,sans-serif);color:#16435c;cursor:pointer;text-align:start}
.berth-vessel-panel button:focus-visible{outline:2px solid #267d9b;outline-offset:3px}
@media(max-width:760px){
 .berth-vessel-panel{width:min(260px,calc(100% - 24px));padding:15px}
 .berth-vessel-close{width:44px;height:44px}
 .berth-kicker{padding-inline-end:30px}
 .berth-vessel-content h3{font-size:18px!important;margin-bottom:12px!important;padding-inline-end:24px;overflow-wrap:anywhere}
 .berth-vessel-content dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-bottom:12px}
 .berth-vessel-content dl>div{min-width:0;overflow-wrap:anywhere}
 .berth-open-vessel{min-height:44px;overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.berth-hotspot::after{animation:none;opacity:.25;transform:scale(1.35)}.berth-vessel-panel{animation:none}.berth-hotspot::before,.berth-hotspot svg{transition:none}}
