/* Port-call document desk. The harbour is illustrative, never a navigation chart. */
.port-arrival {
  --port-ink:#102e3e; --port-muted:#657985; --port-rule:#dce4e8;
  background:#f1f4f4; color:var(--port-ink); padding:68px var(--gutter,6vw) 62px;
  font-family:var(--matsu-font,"Helvetica Neue",Helvetica,Arial,sans-serif); letter-spacing:.008em;
  scroll-margin-top:96px;
}
.port-arrival *,.port-arrival *::before,.port-arrival *::after { box-sizing:border-box; }
.port-arrival button { font-family:inherit; cursor:pointer; }
.port-arrival .port-heading { max-width:1320px; margin:0 auto 30px; display:grid; grid-template-columns:1.1fr 1fr; align-items:end; gap:50px; }
.port-arrival .port-heading .eyebrow { color:#367383; font-size:11px; letter-spacing:.14em; }
.port-arrival .port-heading h2 { margin:15px 0 0; max-width:17ch; font-weight:300; font-size:clamp(34px,3.6vw,53px); line-height:1.08; letter-spacing:-.02em; text-wrap:balance; }
.port-arrival .port-heading p { max-width:43ch; margin:0 0 3px auto; color:var(--port-muted); font-size:15px; line-height:1.7; }
.port-arrival .port-document-window { max-width:1320px; margin:auto; border:1px solid #d4dee3; border-radius:7px; background:#fff; overflow:hidden; box-shadow:0 28px 65px -40px #0d28394a; }
.port-arrival .port-document-bar { min-height:43px; display:flex; align-items:center; gap:18px; padding:11px 24px; border-bottom:1px solid var(--port-rule); font-size:11px; line-height:1.5; letter-spacing:.1em; color:#69808c; }
.port-arrival .port-document-vessel { color:#314b58; margin-inline-start:auto; letter-spacing:.06em; }
.port-arrival .port-document-demo { border-inline-start:1px solid #d5dfe4; padding-inline-start:18px; letter-spacing:.02em; }
.port-arrival .port-stage-controls { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin:0; padding:0; background:#fafcfc; border-bottom:1px solid var(--port-rule); }
.port-arrival .port-stage-controls button { position:relative; display:flex; align-items:center; justify-content:flex-start; gap:14px; min-width:0; overflow-wrap:anywhere; min-height:56px; padding:12px 24px; color:#607782; border:0; border-inline-end:1px solid #e4eaed; border-radius:0; background:transparent; box-shadow:none; font-size:12px; line-height:1.5; text-align:start; transition:color .2s,background .2s; }
.port-arrival .port-stage-controls button:last-child { border-inline-end:0; }
.port-arrival .port-stage-controls button::after { content:""; height:2px; position:absolute; inset-inline:0; bottom:-1px; background:#277e8e; transform:scaleX(0); transition:transform .25s ease; }
.port-arrival .port-stage-controls button:hover { background:#f0f7f7; color:#164357; }
.port-arrival .port-stage-controls button[aria-pressed="true"] { background:#fff; color:#113b4d; }
.port-arrival .port-stage-controls button[aria-pressed="true"]::after { transform:scaleX(1); }
.port-arrival .port-step-number { font-size:11px; font-variant-numeric:tabular-nums; color:#79919b; }
.port-arrival .port-surface { display:grid; grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr); border:0; border-radius:0; background:#fff; margin:0; box-shadow:none; overflow:hidden; }
.port-arrival .port-agent { padding:25px 30px 20px; display:flex; flex-direction:column; min-width:0; background:#fff; border-inline-end:1px solid var(--port-rule); }
.port-arrival .port-agent-heading { display:flex; align-items:center; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--port-rule); }
.port-arrival .port-agent-heading > div { display:flex; flex-direction:column; gap:5px; }
.port-arrival .port-agent-heading strong { font-weight:400; font-size:14px; }
.port-arrival .port-agent-heading > div > span { color:#657d89; font-size:11px; line-height:1.5; letter-spacing:.12em; }
.port-arrival .port-agent-orb { display:block; width:28px; height:32px; color:#4b788a; flex:none; }
.port-arrival .port-agent-orb svg { width:100%; height:100%; }
.port-arrival .port-agent-content { padding-top:16px; }
.port-arrival .port-status { display:inline-flex; gap:7px; align-items:center; color:#98713c; font-size:11px; line-height:1.6; }
.port-arrival .port-status::before { content:""; width:4px; height:4px; border-radius:50%; background:currentColor; }
.port-arrival .port-agent h3 { margin:10px 0 9px; color:#183e50; font-size:27px; line-height:1.15; letter-spacing:-.018em; font-weight:300; }
.port-arrival #port-stage-summary { color:#667b85; font-size:14px; line-height:1.65; margin:0 0 18px; max-width:46ch; }
.port-arrival .port-next-card { border:0; border-inline-start:2px solid #73b9bf; background:transparent; padding:0 0 0 13px; border-radius:0; }
.port-arrival .port-next-card > span { display:block; font-size:11px; color:#577e8b; letter-spacing:.03em; }
.port-arrival .port-next-card p { margin:5px 0 11px; color:#2b4a5a; font-size:13px; line-height:1.6; }
.port-arrival .port-next-card > div { display:flex; flex-wrap:wrap; gap:5px 14px; color:#7b8e97; font-size:11px; line-height:1.5; }
.port-arrival .port-next-card strong { color:#4e6875; font-weight:400; }
.port-arrival .port-agent-actions { display:flex; align-items:center; gap:12px; margin-top:auto; }
.port-arrival #port-reset { min-height:44px; padding:8px 2px; color:#748994; font-size:11px; border:0; background:transparent; }
.port-arrival #port-reset:hover { color:#245a6c; }
.port-arrival .port-chart { position:relative; display:flex; flex-direction:column; min-width:0; min-height:460px; overflow:hidden; isolation:isolate; direction:ltr; text-align:left; background:#112f41; }
.port-arrival .port-chart-top { position:relative; display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; min-height:58px; padding:16px 24px; border-bottom:1px solid #a4d0de19; color:#d0e8ed; font-size:13px; }
.port-arrival .port-chart-top > div { display:flex; align-items:center; gap:9px; }
.port-arrival .port-chart-top strong { font-weight:400; }
.port-arrival .port-chart-top > span { font-size:11px; letter-spacing:.07em; color:#9bb6c1; }
.port-arrival .port-live-dot { width:4px; height:4px; border-radius:50%; background:#8bcad1; }
/* Real vector geography; numbered positions describe this example only. */
.port-arrival .port-map-plane { position:relative; width:100%; aspect-ratio:40 / 27; min-height:300px; flex:none; margin-block:auto; background:#dde9ed; }
.port-arrival .port-basemap { position:absolute; inset:0; }
.port-arrival .port-map-vessel { width:32px; height:70.4px; z-index:4; pointer-events:none; filter:drop-shadow(0 2px 2px #0d35483d); }
.port-arrival .port-map-vessel svg { display:block; width:100%; height:100%; overflow:visible; }
.port-arrival .port-ship-hull { fill:#153b50; stroke:#fff; stroke-width:2.2; stroke-linejoin:round; }
.port-arrival .port-ship-deck { fill:#668a9a; }
.port-arrival .port-ship-containers { fill:#c6dde4; stroke:#173f55; stroke-width:.45; }
.port-arrival .port-ship-bridge { fill:#f3f8fa; stroke:#14394e; stroke-width:.7; }
.port-arrival .port-ship-detail { fill:none; stroke:#193f54; stroke-width:1.2; stroke-linecap:round; }
.port-arrival .port-map-stop::before { content:""; position:absolute; left:calc(50% - .5px); bottom:calc(50% + 12px); width:1px; height:27px; background:#315c7273; box-shadow:1px 0 0 #ffffffb3; pointer-events:none; }
.port-arrival .port-map-point { position:relative; display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0; border-radius:50%; z-index:2; background:transparent; border:0; text-align:center; }
.port-arrival .port-marker { display:grid; place-items:center; height:27px; width:27px; border:2px solid #fff; border-radius:50%; background:#486a79; box-shadow:0 1px 5px #102c4250; color:#fff; font-size:12px; line-height:1; transition:background .2s,box-shadow .2s; }
.port-arrival .port-point-label { position:absolute; top:calc(100% - 3px); left:50%; width:max-content; max-width:135px; transform:translate(-50%,-4px); opacity:0; pointer-events:none; color:#163b4d; padding:6px 9px; border:1px solid #c9d8de; border-radius:3px; background:#fff; box-shadow:0 2px 8px #112c4219; font-size:11px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; transition:opacity .2s,transform .25s ease; }
.port-arrival .port-map-point[aria-pressed="true"] .port-marker { background:#087f98; box-shadow:0 0 0 5px #0886a026,0 1px 5px #102c4250; }
.port-arrival .port-map-point:is([aria-pressed="true"],:hover,:focus-visible) .port-point-label { opacity:1; transform:translate(-50%,0); }
.port-arrival .port-map-point:hover .port-marker { background:#0b5e75; }
.port-arrival .port-map-plane:has(.port-map-point:is(:hover,:focus-visible)) .port-map-point[aria-pressed="true"]:not(:hover):not(:focus-visible) .port-point-label { opacity:0; }
.port-arrival .port-map-point:focus-visible { outline:2px solid #0b6983; outline-offset:1px; }
.port-arrival .port-map-fit { position:absolute; z-index:3; top:10px; left:10px; min-height:32px; padding:7px 11px; background:#fff; color:#284a5b; border:1px solid #c6d3da; border-radius:3px; font-size:11px; box-shadow:0 1px 5px #102c421a; }
.port-arrival .port-map-fit:hover { background:#f0f6f7; }
.port-arrival .port-map-status { position:absolute; z-index:4; left:50%; top:50%; transform:translate(-50%,-50%); width:min(260px,90%); padding:20px; border:1px solid #cbd9e0; border-radius:3px; background:#ffffffed; color:#244859; text-align:center; font-size:13px; box-shadow:0 4px 18px #102c4214; }
.port-arrival .port-map-status strong { font-weight:400; }
.port-arrival .port-map-status p { color:#617886; font-size:12px; line-height:1.5; margin:8px 0 12px; }
.port-arrival .port-map-status button { min-height:36px; padding:7px 14px; color:#fff; background:#17475e; border:0; border-radius:3px; font-size:12px; }
.port-arrival .port-map-status[hidden],.port-arrival .port-map-status [hidden],.port-arrival .port-marker-storage[hidden] { display:none; }
.port-arrival .port-basemap .maplibregl-ctrl-attrib { font-size:11px; background:#fffffff0; color:#4e626b; max-width:100%; }
.port-arrival .port-basemap .maplibregl-ctrl-attrib a { color:#315c70; }
.port-arrival .port-basemap .maplibregl-ctrl-scale { font-size:11px; color:#315465; border-color:#315465; background:#ffffffc9; }
.port-arrival .port-basemap .maplibregl-ctrl-group { border-radius:3px; }
.port-arrival .port-basemap .maplibregl-marker:has([aria-pressed="true"]) { z-index:3; }
.port-arrival .port-voyage-strip { position:relative; margin:0 24px; padding-bottom:18px; display:flex; align-items:center; gap:28px; padding-top:15px; border-top:1px solid #a4d0de26; }
.port-arrival .port-voyage-strip > div { display:flex; flex-direction:column; gap:5px; }
.port-arrival .port-voyage-strip div > span { color:#88a7b6; font-size:11px; letter-spacing:.12em; }
.port-arrival .port-voyage-strip strong { font-weight:400; color:#d4e7ef; font-size:11px; letter-spacing:.035em; }
.port-arrival .port-chart-scale { margin-left:auto; color:#89aebf; font-size:11px; }
.port-arrival :is(button,summary):focus-visible { outline:2px solid #267f93; outline-offset:3px; }
.port-arrival .port-chart button:focus-visible { outline-color:#9ce6e7; }
[dir="rtl"] .port-arrival .port-chart { direction:ltr; }
[dir="rtl"] .port-arrival .port-agent { text-align:right; }
[dir="rtl"] .port-arrival .port-next-card { padding:0 13px 0 0; }
@media(max-width:1050px) {
 .port-arrival .port-surface { grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr); }
 .port-arrival .port-agent { padding:23px 23px 20px; }
 .port-arrival .port-stage-controls button { gap:10px; padding-inline:18px; }
 .port-arrival .port-chart-top { padding-inline:18px; }
 .port-arrival .port-voyage-strip { flex-wrap:wrap; margin-inline:18px; gap:16px 20px; }
}
@media(max-width:760px) {
 .port-arrival { padding:50px 6vw; }
 .port-arrival .port-heading { grid-template-columns:1fr; gap:18px; margin-bottom:24px; }
 .port-arrival .port-heading h2 { font-size:38px; max-width:18ch; }
 .port-arrival .port-heading p { margin:0; max-width:48ch; font-size:14px; }
 .port-arrival .port-document-bar { flex-wrap:wrap; padding-inline:18px; gap:8px 12px; letter-spacing:.035em; overflow-wrap:anywhere; }
 .port-arrival .port-stage-controls button { flex-direction:column; gap:4px; align-items:start; padding:11px 13px; font-size:12px; min-height:66px; }
 .port-arrival .port-surface { grid-template-columns:1fr; }
 .port-arrival .port-chart { min-height:0; order:0; }
 .port-arrival .port-agent { order:1; border-inline-end:0; border-top:1px solid var(--port-rule); padding:24px; }
 .port-arrival .port-map-fit,.port-arrival .port-map-status button { min-height:44px; font-size:12px; }
 .port-arrival .port-agent h3 { font-size:29px; }
 .port-arrival #port-stage-summary { font-size:14px; }
 .port-arrival .port-agent-actions { margin-top:2px; }
}
@media(max-width:430px) {
 .port-arrival .port-document-vessel { margin-inline-start:0; }
 .port-arrival .port-document-demo { border-inline-start:0; padding-inline-start:0; }
 .port-arrival .port-stage-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .port-arrival .port-stage-controls button:nth-child(2n) { border-inline-end:0; }
 .port-arrival .port-stage-controls button:nth-child(-n+2) { border-bottom:1px solid var(--port-rule); }
 .port-arrival .port-point-label { max-width:112px; }
 .port-arrival .port-stage-controls button { padding-inline:10px; }
 .port-arrival .port-voyage-strip { gap:16px 24px; }
 .port-arrival .port-chart-scale { margin-left:0; }
}
@media(prefers-reduced-motion:reduce) {
 .port-arrival *,.port-arrival *::before,.port-arrival *::after { animation:none!important; transition:none!important; }
}
