/* Scoped to the shared native card. Broker-specific cards are deliberately unaffected. */
.central-vessel{font:14px/1.35 system-ui,sans-serif;color:#173349;background:#fff;min-width:0;max-width:100%;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 140px auto auto minmax(0,1fr) auto;gap:0!important;height:100%!important;overflow:hidden!important;border-radius:16px}
.central-vessel *{box-sizing:border-box}.central-vessel svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.central-vessel>.v3-photo-toolbar{position:static!important;display:flex!important;align-items:center;gap:5px;background:#173349;color:#fff;padding:5px 8px!important;margin:0!important;z-index:2;min-height:38px;touch-action:none}
.central-vessel .v3-vessel-navigation{display:flex;align-items:center;flex:1;min-width:0;justify-content:space-between}.central-vessel .v3-vessel-label small{display:none}.central-vessel .v4-counter{font-size:11px}.central-vessel button{cursor:pointer}.central-vessel button:focus-visible{outline:2px solid #087fb3;outline-offset:-2px}
.central-button,.central-vessel .v3-photo-toolbar button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;min-width:32px;border:1px solid #d7e2e7;border-radius:8px;background:#fff;color:#173349;padding:5px}.central-button:disabled{opacity:.35}.central-grow svg{transform:rotate(-90deg)}.central-shrink svg{transform:rotate(-90deg)}
.central-vessel>.v4-photo{height:140px!important;min-height:0!important;max-height:none!important;position:relative!important;width:100%!important;aspect-ratio:auto!important;background:#e7eff3;overflow:hidden;border-radius:0!important;margin:0!important;touch-action:pan-y}.central-vessel>.v4-photo>img:not(.v4-watermark){width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;display:block}.central-vessel .v4-credit{position:absolute;bottom:0;left:0;right:0;font-size:9px;background:#15334dcc;color:white;padding:2px 6px}.central-vessel .v4-watermark{position:absolute;bottom:22px;right:8px;max-width:55px;max-height:30px}.central-photo-prev,.central-photo-next{position:absolute;top:40%;z-index:2;background:#ffffffdf}.central-photo-prev{left:6px}.central-photo-next{right:6px}.central-photo-counter{position:absolute;top:6px;right:8px;border-radius:12px;background:#173349cf;color:white;padding:2px 8px;font-size:11px}
.central-vessel>.v4-identity{display:flex!important;flex-wrap:wrap;gap:4px;padding:8px 10px!important;align-items:flex-start;background:white;min-width:0}.central-vessel .v4-heading{flex:1;min-width:0}.central-vessel h3{margin:0;font-size:18px;line-height:1.15;overflow-wrap:anywhere}.central-vessel .v4-type{margin:3px 0;font-size:11px}.central-vessel .v4-controls{display:flex;gap:3px}.central-vessel .v4-controls .v4-connect,.central-vessel .v4-controls .v4-minimize{display:none}.central-summary{width:100%;display:grid;gap:2px}.central-core{font-size:12px}.central-last-seen{font-size:11px;color:#536d7c}.central-platform-logo{height:24px;width:28px;object-fit:contain}.central-vessel .v4-national-flag{max-width:22px}
.central-vessel .v4-tabs{display:flex!important;overflow:auto!important;flex-wrap:nowrap!important;gap:3px;padding:4px 8px!important;margin:0!important;scrollbar-width:thin;min-height:54px;background:#eef4f6;touch-action:pan-x}.central-vessel .v4-tabs .v4-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:0 0 62px;padding:4px;border:0;border-radius:8px;color:#173349;background:transparent;min-height:46px;font-size:10px}.central-vessel .v4-tabs [aria-selected=true]{background:#173349;color:#fff}.central-vessel .v4-tabs .central-platform-logo{height:23px}
.central-vessel>.v4-tab-content{overflow:auto!important;overscroll-behavior:contain;min-height:0!important;max-height:none!important;height:auto!important;padding:10px!important;touch-action:pan-y;background:#fff}.central-vessel .v4-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0}.central-vessel .v4-data>div{background:#f0f5f5;border-radius:7px;padding:7px;min-width:0}.central-vessel .v4-data dt{font-size:10px}.central-vessel .v4-data dd{font-size:12px;font-weight:600;margin:3px 0 0;overflow-wrap:anywhere}.central-vessel .v4-data>div[hidden]{display:none}.central-vessel .v4-data-heading{display:flex;gap:6px;align-items:center}.central-vessel h4{font-size:14px;margin:0 0 8px}.central-vessel .v4-location-map{display:none}.central-connection{padding:8px 0;border-bottom:1px solid #e0e8ed;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.central-connection img{width:60px;height:35px;object-fit:contain}.central-connection small{width:100%;font-size:11px}.central-connection a{color:#075f8d}
.central-vessel>.v4-profile-links{display:flex;gap:5px;padding:7px!important;margin:0;background:#fff;min-height:38px;flex-wrap:wrap}.central-vessel .v4-profile-links a{font-size:11px;padding:5px 8px;text-decoration:none;background:#173349;color:#fff;border-radius:7px}.central-vessel>.v4-feedback:empty{display:none}.central-vessel .v4-tab-content .v4-source,.central-vessel .v4-location-note{font-size:11px}
body .central-sheet{height:var(--central-height,400px)!important;max-height:var(--central-height,400px)!important;min-height:0!important;overflow:hidden!important;transition:height .18s ease}.central-sheet>.ais-sheet-bar{display:none!important}.central-sheet>.ais-sheet-body{height:100%!important;max-height:none!important;overflow:hidden!important;padding:0!important}.central-sheet .central-host{height:100%;min-height:0;overflow:hidden}.central-sheet .central-vessel{border:0!important}
.central-vessel[data-central-level="0"]{grid-template-columns:95px minmax(0,1fr);grid-template-rows:38px minmax(0,1fr)}.central-vessel[data-central-level="0"]>.v3-photo-toolbar{grid-column:1/-1}.central-vessel[data-central-level="0"]>.v4-photo{grid-column:1;grid-row:2;height:100%!important;max-height:140px!important}.central-vessel[data-central-level="0"]>.v4-identity{grid-column:2;grid-row:2;padding:6px!important;overflow:hidden}.central-vessel[data-central-level="0"] h3{font-size:16px}.central-vessel[data-central-level="0"] .v4-controls{display:none}.central-vessel[data-central-level="0"]>.v4-tabs,.central-vessel[data-central-level="0"]>.v4-tab-content,.central-vessel[data-central-level="0"]>.v4-profile-links,.central-vessel[data-central-level="0"]>.v4-feedback{display:none!important}.central-vessel[data-central-level="0"] .central-button{width:26px;height:26px;min-width:26px}.central-vessel[data-central-level="2"]{grid-template-rows:auto minmax(100px,22%) auto auto minmax(0,1fr) auto}.central-vessel[data-central-level="2"]>.v4-photo{height:100%!important}
#danser-root .detail.central-sheet{padding:0!important;display:block!important;width:min(440px,calc(100% - 16px));bottom:8px;right:8px;z-index:650;box-shadow:0 3px 20px #1234;border-radius:16px;background:#fff}#danser-root .detail.central-sheet>:not(.central-host){display:none!important}
@media(max-width:1024px){#danser-root .detail.central-sheet{left:8px;right:8px;width:auto;bottom:calc(62px + env(safe-area-inset-bottom,0px))!important}.central-sheet{padding-bottom:env(safe-area-inset-bottom,0px)}.central-vessel>.v4-photo{height:130px!important}.central-vessel{grid-template-rows:auto 130px auto auto minmax(0,1fr) auto}}
@media(prefers-reduced-motion:reduce){body .central-sheet{transition:none}}

.central-vessel[data-central-level="0"] .ais-mobile-photo-upload{display:none!important}
@media(max-height:550px) and (min-width:600px){.central-vessel:not([data-central-level="0"]){grid-template-rows:34px 50px auto 44px minmax(0,1fr) 30px}.central-vessel:not([data-central-level="0"])>.v4-photo{height:50px!important}.central-vessel .v4-identity{padding:3px 7px!important}.central-vessel .central-summary{display:flex;gap:6px}.central-vessel .v4-tabs .v4-tab{min-height:36px}.central-vessel .v4-tabs{min-height:40px}}
#danser-root .detail.central-sheet{top:auto!important;transform:none!important}#danser-root .central-vessel .v4-profile-links{display:flex!important}#danser-root .central-vessel .v4-photo img{margin:0}

#danser-root .detail.central-sheet{bottom:var(--central-bottom,8px)!important} .central-sheet .central-host{position:relative!important;width:100%!important;margin:0!important;padding:0!important}.central-vessel{position:relative!important;inset:auto!important;margin:0!important;width:100%!important}

.central-vessel .v4-controls button,.central-vessel .v4-controls a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-width:30px;border:1px solid #d9e4e8;border-radius:8px;padding:5px;background:white;color:#173349}.central-vessel .v4-national-flag,.central-vessel .v4-flag{display:inline-block;width:22px;max-height:16px;margin-right:5px}
body .ais-mobile-v1 .ais-bottom-sheet.central-sheet[data-variant=B],body .ais-mobile-v1 .ais-bottom-sheet.central-sheet[data-variant=C]{height:var(--central-height,174px)!important;max-height:var(--central-height,174px)!important;min-height:0!important}
@media(max-height:550px) and (min-width:600px){
 .central-vessel:not([data-central-level="0"]){display:block!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
 .central-vessel:not([data-central-level="0"])>.v4-tab-content{overflow:visible!important;min-height:120px!important}
 .central-vessel>.v3-photo-toolbar{position:sticky!important;top:0;z-index:5}
 .central-vessel .v4-tabs{position:sticky!important;top:42px;z-index:4}
 .central-vessel>.v4-identity{min-height:65px}
}

.central-vessel header.v4-heading{padding:0!important;margin:0!important;display:block!important;min-height:0!important;background:transparent!important;box-shadow:none!important;width:auto!important;position:static!important}.central-vessel .v4-heading h3{margin:0!important}

body .ais-base-desktop .base-desktop-detail.central-sheet{height:var(--central-height,550px)!important;max-height:var(--central-height,550px)!important;padding:0!important;overflow:hidden!important}body .ais-base-desktop .base-desktop-detail .central-vessel{height:100%!important;max-height:none!important;min-height:0!important} .central-vessel[data-central-level="0"] .base-desktop-strip{display:none!important}.central-vessel>.base-desktop-strip{min-height:0;max-height:65px;overflow:hidden}.central-vessel .base-desktop-strip .v4-tabs{min-height:54px;height:100%}
.central-vessel[data-central-level="1"]{grid-template-rows:38px 100px auto 54px minmax(0,1fr) 38px}.central-vessel[data-central-level="1"]>.v4-photo{height:100px!important}.central-vessel>.v4-identity{padding:6px 8px!important}.central-vessel .v4-heading h3{font-size:16px!important;line-height:1.15!important}.central-vessel .v4-type{font-size:10px!important;line-height:1.2!important;margin:1px 0!important}.central-vessel .central-summary{gap:0;line-height:1.2}.central-vessel .v4-tabs{height:54px!important;max-height:54px!important;min-height:54px!important}.central-vessel .v4-tabs .v4-tab{height:46px!important;min-height:46px!important;max-height:46px!important;line-height:12px!important;font-size:10px!important}.central-vessel .v4-tabs .v4-icon{width:18px;height:18px}.central-vessel>.v4-profile-links{padding:4px 6px!important;min-height:38px!important;align-items:center}.central-vessel .v4-profile-links a{padding:3px 6px!important;line-height:1!important;min-height:26px!important}.central-vessel .v4-profile-links svg{width:16px;height:16px}

.central-last-seen:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;background:#8796a0}.central-last-seen[data-ais-state=live]:before{background:#198260}.central-last-seen[data-ais-state=stale]:before{background:#a5792b}

.central-tabs-wrap{display:flex;align-items:center;min-width:0;height:54px;max-height:54px;background:#eef4f6}.central-tabs-wrap .v4-tabs{flex:1;min-width:0}.central-tabs-wrap>.central-button{display:none}.central-vessel[data-central-level="0"]>.central-tabs-wrap{display:none!important}@media(min-width:1025px){.central-tabs-wrap>.central-button{display:inline-flex;width:25px;min-width:25px;height:32px;padding:3px}}
#danser-root .central-vessel[data-central-level="0"]>.v4-profile-links{display:none!important}

.central-vessel header.v4-heading{height:auto!important}

.central-vessel header{height:auto!important;min-height:0!important;padding:0!important}

.central-vessel .v3-vessel-label small{display:none!important}

.ais-ship-zoom-content>strong,.ais-ship-zoom-content>span{display:block}

.central-vessel.central-low-height:not([data-central-level="0"]){display:block!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}.central-vessel.central-low-height>.v4-tab-content{overflow:visible!important;min-height:120px!important}.central-vessel.central-low-height>.v3-photo-toolbar{position:sticky!important;top:0;z-index:5}.central-vessel.central-low-height .v4-tabs{position:sticky;top:42px;z-index:4}.central-vessel.central-low-height>.central-tabs-wrap{position:sticky;top:42px;z-index:4}.central-vessel.central-low-height>.central-tabs-wrap .v4-tabs{position:static}

/* One shared scrollport for expanded native and broker cards; compact state remains unchanged. */
html body .v4-vessel.v4-scroll-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important;height:100%!important;min-height:0!important;gap:0!important}
html body .v4-scroll-layout>.v3-photo-toolbar{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;min-height:38px!important;margin:0!important;padding:4px 8px!important;background:#173349!important;color:#fff!important;z-index:3;grid-column:1!important;grid-row:1!important}
html body .v4-scroll-layout .v3-vessel-label small{display:block!important;font-size:12px!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
html body .v4-scroll-layout>.v4-full-scroll{display:block!important;grid-column:1;grid-row:2;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;padding:0 0 12px!important;scroll-padding-top:62px}
html body .v4-scroll-layout .v4-full-scroll>.v4-photo{position:relative!important;width:100%!important;height:clamp(120px,24dvh,200px)!important;min-height:0!important;max-height:none!important;margin:0!important;aspect-ratio:auto!important;overflow:hidden;touch-action:pan-y}
html body .v4-scroll-layout .v4-full-scroll>.v4-photo>img:not(.v4-watermark){width:100%!important;height:100%!important;object-fit:contain!important}
html body .v4-scroll-layout .v4-full-scroll>.v4-gallery{height:36px!important;min-height:36px!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important}
html body .v4-scroll-layout .v4-full-scroll>.v4-identity{display:flex!important;flex-wrap:wrap;gap:5px;padding:8px 10px!important;min-height:0!important;height:auto!important;background:white}
html body .v4-scroll-layout .v4-full-scroll>:is(.v4-tabs,.central-tabs-wrap){position:sticky!important;top:0!important;z-index:4!important;background:#eef4f6!important;min-height:54px!important;max-height:62px!important;margin:0!important}
html body .v4-scroll-layout .central-tabs-wrap>.v4-tabs{position:static!important}
html body .v4-scroll-layout .v4-full-scroll>.v4-tab-content{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:10px!important;margin:0!important;touch-action:pan-y}
html body .v4-scroll-layout .v4-data{min-width:0!important;max-width:100%!important}.v4-scroll-layout .v4-data dd{overflow-wrap:anywhere;white-space:normal!important}
html body .v4-scroll-layout>.v4-profile-links{grid-row:3;grid-column:1;position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;background:white!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))!important;margin:0!important;min-height:38px!important;border-top:1px solid #dce5eb;z-index:5}
html body .v4-scroll-layout>.v4-profile-links a{font-size:11px!important;line-height:1.2!important;min-height:28px!important;padding:6px!important}
/* Desktop Maps adds its existing mouse-arrow strips around horizontal navigation. */
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout .v4-full-scroll>.v4-tab-content{overflow:visible!important;height:auto!important;max-height:none!important;min-height:0!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout .v4-full-scroll>.base-desktop-strip:has(>.v4-tabs){position:sticky!important;top:0!important;z-index:4!important;background:#eef4f6!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout .base-desktop-strip>.v4-tabs{position:static!important}

/* Shared expanded-card navigation: close left, full-width navigation, next at the right edge. */
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:0!important;height:48px!important;min-height:48px!important;padding:2px!important;width:100%!important;box-sizing:border-box!important;position:relative!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar>.v3-close{position:static!important;transform:none!important;grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;padding:8px!important;margin:0!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar>.v3-vessel-navigation{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;align-items:center!important;justify-content:stretch!important;box-sizing:border-box!important;background:transparent!important;border-radius:0!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-previous{grid-column:1!important;grid-row:1!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-next{grid-column:3!important;grid-row:1!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar :is(.v4-previous,.v4-next){position:static!important;transform:none!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:9px!important;border:0!important;background:transparent!important;color:#fff!important;border-radius:8px!important;touch-action:manipulation}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:calc(100% - 176px)!important;max-width:none!important;text-align:center!important;min-width:0!important;pointer-events:auto!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label :is(small,.v4-counter){display:block!important;max-width:100%!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;line-height:16px!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label small{font-size:12px!important;font-weight:650!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-counter{font-size:10px!important}
html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar :is(.v4-previous,.v4-next):disabled{opacity:.35!important}

/* Match the existing desktop detail selector without affecting other cards. */
/* Shared expanded-card navigation: close left, full-width navigation, next at the right edge. */
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:0!important;height:48px!important;min-height:48px!important;padding:2px!important;width:100%!important;box-sizing:border-box!important;position:relative!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar>.v3-close{position:static!important;transform:none!important;grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;padding:8px!important;margin:0!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar>.v3-vessel-navigation{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important;align-items:center!important;justify-content:stretch!important;box-sizing:border-box!important;background:transparent!important;border-radius:0!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-previous{grid-column:1!important;grid-row:1!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-next{grid-column:3!important;grid-row:1!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar :is(.v4-previous,.v4-next){position:static!important;transform:none!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:9px!important;border:0!important;background:transparent!important;color:#fff!important;border-radius:8px!important;touch-action:manipulation}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:calc(100% - 176px)!important;max-width:none!important;text-align:center!important;min-width:0!important;pointer-events:auto!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label :is(small,.v4-counter){display:block!important;max-width:100%!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;line-height:16px!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v3-vessel-label small{font-size:12px!important;font-weight:650!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar .v4-counter{font-size:10px!important}
html body .ais-explorer .base-desktop-detail .v4-vessel.v4-scroll-layout>.v3-photo-toolbar :is(.v4-previous,.v4-next):disabled{opacity:.35!important}

html body .v4-vessel.v4-scroll-layout>.v3-photo-toolbar :is(.v4-previous,.v4-next)>svg{width:24px!important;height:24px!important;min-width:24px!important;stroke-width:2!important}

.central-copy-status{font-size:11px;color:#175e46;width:100%;margin:2px 0}.central-copy-fallback{max-width:100%;font-size:12px;width:100%}