/* Shared by single-vessel, collection and port maps; not conditional on vessel count. */
.sm-intro,.sm-section {box-sizing:border-box;max-width:1440px;margin:16px auto;padding:0 24px;color:#243447}
.sm-intro h1 {font-size:clamp(22px,2.4vw,32px);line-height:1.25;margin:0 0 8px}
.sm-intro p,.sm-section-heading p {color:#556579;line-height:1.55;margin:6px 0;overflow-wrap:anywhere}
.sm-kicker {font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#42695f;margin-bottom:6px}
.sm-related {display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:12px}
.sm-related a {text-decoration:underline;text-underline-offset:3px}
.sm-collection-description {max-width:1440px!important;margin:0 auto!important;padding:0 24px!important}
.sm-collection-description .description {display:block}
.sm-map-about summary {cursor:pointer;color:#556579;font-size:13px;padding:4px 0}
.sm-map-about[open] .description {padding:8px 0;line-height:1.6}
.sm-map-notes {line-height:1.6}
.sm-collection-description .header {font-size:16px!important}
.sm-collection-description .item,.sm-collection-description .item>.content {margin:0!important;padding:0!important}
.vessel-main-segment {box-sizing:border-box!important;width:100%!important;margin-left:0!important;margin-right:0!important}
.vessel-main-segment .ui.fluid.container {width:100%!important;margin-left:0!important;margin-right:0!important}
.vessel-main-segment .map-wrap {height:clamp(440px,70vh,840px)!important;border-radius:10px;margin-top:8px}
.vessel-main-segment #map {min-height:0!important;height:100%!important;width:100%!important}
#map.leaflet-fullscreen-on {height:100%!important;border-radius:0}
#map.leaflet-pseudo-fullscreen {position:fixed!important;inset:0!important;width:100%!important;height:100%!important;z-index:100000!important}
#map .control_features {position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;clear:both!important}
#map .map-ui-toggle-btn {display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:white;color:#243447;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 2px 6px #16243526;cursor:pointer;padding:8px}
#map .map-ui-toggle-btn svg {width:22px;height:22px}
#map .control_features .map-ui-panel {box-sizing:border-box!important;position:absolute!important;right:48px!important;top:0!important;width:min(292px,calc(100vw - 116px))!important;min-width:0!important;max-height:min(520px,calc(70vh - 32px));overflow:auto!important;padding:14px!important;margin:0!important;white-space:normal!important;background:#fff!important;opacity:1!important;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 6px 24px #16243526}
#map .control_features .map-ui-panel.is-collapsed {display:none!important}
#map .map-ui-panel form {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;margin:0}
#map .control_features .map-ui-panel label {display:flex!important;float:none!important;align-items:center!important;gap:9px!important;white-space:normal!important;line-height:1.4!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:8px 0!important;font-size:13px!important;color:#243447!important;background:white!important}
#map .map-ui-panel input[type=checkbox] {position:static!important;display:inline-block!important;float:none!important;width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important;appearance:auto!important}
#map .map-ui-panel input[type=color] {width:42px;height:30px;padding:2px;border:1px solid #cbd5e1;border-radius:4px;margin-left:auto}
#map .map-ui-panel select {max-width:100%;padding:7px;border:1px solid #cbd5e1;border-radius:5px;background:white;color:#243447}
.sm-control-heading {font-weight:700;font-size:15px;margin-bottom:8px}
.sm-control-help {font-size:12px;color:#64748b;line-height:1.45;margin:6px 0 0}
#map .leaflet-control-layers-toggle,#map .leaflet-control-fullscreen a {background:#fff!important;background-image:none!important;text-indent:0!important;display:flex!important;align-items:center;justify-content:center;width:36px!important;height:36px!important;color:#243447!important}
#map .leaflet-control-fullscreen a::before,#map .leaflet-control-fullscreen a::after {content:none!important}
#map .leaflet-control-fullscreen a svg {display:block;width:22px!important;height:22px!important}
#map button:focus-visible,#map a:focus-visible,.sm-section :focus-visible {outline:3px solid #0d9488;outline-offset:2px}
.sm-share {padding:18px 24px;background:#f5f8fa;border:1px solid #dde5eb;border-radius:10px;margin-top:14px}
.sm-share h2 {font-size:18px;margin:0 0 6px}
.sm-share p {font-size:13px;color:#556579;margin:4px 0 10px}
.sm-share-row {display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}
.sm-share-row input {flex:1 1 240px;min-width:0;border:1px solid #b8c5d2;border-radius:6px;padding:10px;font-size:13px;background:#fff;color:#243447}
.sm-share-row button,.sm-vessel-actions button {border:1px solid #b8c5d2;border-radius:6px;background:white;color:#243447;padding:9px 13px;cursor:pointer;font:inherit}
.sm-share-row button:hover,.sm-vessel-actions button:hover {background:#e8f2ef}
.sm-share-status {font-size:12px;min-height:18px;margin-top:6px;color:#42695f}
.sm-section-heading {display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.sm-section-heading h2 {font-size:24px;margin:0}
.sm-vessel-search {display:flex;flex-direction:column;gap:5px;font-size:12px;color:#556579}
.sm-vessel-search input {padding:10px;border:1px solid #b8c5d2;border-radius:6px;max-width:100%;box-sizing:border-box}
.sm-vessel-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px}
.sm-vessel {display:flex;align-items:flex-start;gap:14px;border:1px solid #dde5eb;border-radius:10px;padding:16px;background:#fff;min-width:0}
.sm-vessel>img {width:72px;height:56px;border-radius:6px;object-fit:cover;flex:0 0 72px}
.sm-vessel-body {min-width:0;overflow-wrap:anywhere}
.sm-vessel h3 {font-size:16px;margin:0 0 5px}.sm-vessel p {font-size:13px;line-height:1.5;margin:3px 0;color:#556579}
.sm-identifiers {font-size:12px!important}.sm-vessel-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:12px}
.sm-vessels [hidden] {display:none!important}
@media(max-width:1300px) {body.shipinfo-vessels-map .ui.fixed.menu {display:none!important}body.shipinfo-vessels-map .secondary.pointing.menu>.item {display:none!important}body.shipinfo-vessels-map .secondary.pointing.menu>.toc.item,body.shipinfo-vessels-map .secondary.pointing.menu>.header.item {display:flex!important;align-items:center;min-height:44px}body.shipinfo-vessels-map .secondary.pointing.menu>.toc.item {min-width:44px;justify-content:center}}
@media(max-width:600px) {.sm-intro,.sm-section {padding-left:14px;padding-right:14px}.sm-share {margin-left:8px;margin-right:8px}.sm-vessel {padding:12px;gap:10px}.vessel-main-segment {padding:8px!important}.vessel-main-segment .map-wrap {height:65vh!important;min-height:400px}#map .control_features .map-ui-panel {max-height:340px}.sm-collection-description {padding:0 14px!important}}
