.port-profile{max-width:1500px;margin:22px auto;padding:0 18px;color:#1f2933}
.port-card,.port-panel{background:#fff;border:1px solid #dfe5eb;border-radius:10px;box-shadow:0 3px 14px rgba(25,40,55,.06);padding:18px}
.port-kicker,.port-muted{color:#667788}
.port-heading{margin:14px 0 18px}
.port-heading h1{margin:4px 0 12px}
.port-heading p{margin:7px 0}
.port-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:14px;align-items:stretch}
.port-map-panel{min-width:0;border:1px solid #d6dee5;border-radius:8px;overflow:hidden;background:#e7eef0}
#port-map{width:100%;height:clamp(560px,72vh,760px);min-height:500px}
.port-map-legend{display:flex;gap:18px;flex-wrap:wrap;padding:9px 14px;background:#fff;color:#566573;font-size:12px}
.port-map-legend span{display:inline-flex;align-items:center;gap:6px}
.port-map-legend i{width:11px;height:11px;display:inline-block;border-radius:50%;background:#247aa5}
.port-map-legend .port-legend-port{background:#c93636;border:2px solid #fff;box-shadow:0 0 0 1px #a92323}
.port-map-legend .port-legend-route{height:3px;width:18px;border-radius:2px;background:#248a67}
.port-side-panel{max-height:clamp(560px,72vh,760px);overflow:auto;padding:18px 20px}
.port-side-panel h2{margin:0 0 14px;font-size:20px}
.port-side-panel h3{margin:22px 0 10px;font-size:16px}
.port-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.port-stat{border:1px solid #e5eaf0;border-radius:8px;padding:11px}
.port-stat strong{display:block;font-size:21px;color:#173d59;font-variant-numeric:tabular-nums}
.port-stat span{font-size:12px;color:#667788}
.port-map-controls{display:grid;gap:8px;border-top:1px solid #e8edf2;border-bottom:1px solid #e8edf2;padding:12px 0;margin:12px 0}
.port-map-controls label{display:flex;align-items:flex-start;gap:8px;font-weight:600;line-height:1.4}
.port-map-controls label input{margin-top:3px}
.port-map-controls small{color:#667788;margin:-6px 0 3px 24px}
.port-event-list{list-style:none;padding:0;margin:0}
.port-event-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:9px 0;border-bottom:1px solid #edf0f3;font-size:13px}
.port-event-list li span,.port-event-list li time{color:#667788;font-size:12px}
.port-event-list li time{grid-column:1/-1}
.port-route-list{list-style:none;margin:0;padding:0}.port-route-list li{display:grid;gap:3px;padding:8px 0;border-bottom:1px solid #edf0f3;font-size:13px}.port-route-list li span{color:#667788;font-size:12px}
.port-vessel-icon{display:block;color:#246d91;font:16px/18px Arial,sans-serif;text-align:center;text-shadow:0 0 2px #fff,0 1px 3px #fff;transform-origin:center}
.port-heading,.port-section{margin-bottom:18px}
.port-section{margin-top:24px}
.port-table-wrap{overflow:auto}
.port-table{width:100%;border-collapse:collapse}
.port-table th,.port-table td{text-align:left;border-bottom:1px solid #e8edf2;padding:10px 8px;vertical-align:top}
.port-faq details{border-top:1px solid #e5eaf0;padding:13px 0}
#port-congestion-chart{display:block;width:100%;height:150px;margin-top:8px}
#port-congestion-current{display:block;color:#173d59;margin:8px 0}
.port-map-unavailable{padding:40px;background:#f2f5f7;color:#667788}
@media(max-width:1100px){.port-map-layout{grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:850px){.port-map-layout{grid-template-columns:1fr}.port-side-panel{max-height:none}.port-profile{padding:0 12px}#port-map{height:58vh;min-height:390px}}
@media(max-width:520px){#port-map{height:420px;min-height:360px}.port-side-panel{padding:14px}.port-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.port-map-legend{gap:10px;font-size:11px}}
