/* Shared small-screen containment; tables scroll within their own region. */
html{box-sizing:border-box;-webkit-text-size-adjust:100%;text-size-adjust:100%}
*,*:before,*:after{box-sizing:inherit}
img,video,canvas{max-width:100%}
.fleet-menu-toggle{display:none}
#fleet-menu-dialog{margin:0 auto 0 0;width:min(300px,88vw);max-width:88vw;height:100dvh;max-height:100dvh;border:0;border-radius:0 22px 22px 0;padding:max(18px,env(safe-area-inset-top)) 14px max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:#fff;color:#102e43}
#fleet-menu-dialog::backdrop{background:#09283e66;backdrop-filter:blur(5px)}
.fleet-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 8px 22px}
#fleet-menu-dialog .fleet-nav,#fleet-menu-dialog .fleet-nav-bottom{display:grid;overflow:visible;padding:0;gap:6px}
#fleet-menu-dialog .fleet-nav-label{display:block;padding:0 12px 12px}
#fleet-menu-dialog .fleet-nav-bottom{margin-top:20px;padding-top:15px;border-top:1px solid #d9e3e9}
#fleet-menu-dialog a{font-size:14px;min-height:48px;white-space:normal}
@media(max-width:750px){
 body{margin:0;min-width:0;max-width:100%}
 #root,.shell,.content,main,.panel,.card,.field,.actions,.grid,.fleet-layout,.fleet-layout main{min-width:0;max-width:100%}
 .table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .table-wrap table{min-width:540px}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;max-width:100%;min-width:0}
 .actions{flex-wrap:wrap}.actions>.btn{max-width:100%;white-space:normal}
 dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto}
 .fleet-menu-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #d9e3e9;border-radius:12px;background:#fff;color:#103a52}
 .fleet-menu-toggle svg{width:23px;height:23px}
 .fleet-layout>.fleet-sidebar{display:none}
 .fleet-header{height:auto;min-height:72px;padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));gap:10px}
 .fleet-header-context{border:0;padding:0;flex:1;min-width:0}.fleet-header-context small{max-width:100%;font-size:11px}
 .fleet-brand{display:none}.fleet-header-context b{font-size:13px}
 .fleet-header .fleet-account .btn{min-height:44px;font-size:13px}
 .fleet-layout main{padding:20px max(14px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
 .fleet-page-head h1{font-size:26px;line-height:1.2}.fleet-page-head p{font-size:14px;line-height:1.5}
 .fleet-scope{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.fleet-scope .field{min-width:0}
 .fleet-layout .btn{min-height:44px;white-space:normal;font-size:13px}
 .fleet-layout .vessel-grid,.fleet-slots,.fleet-concept-grid{grid-template-columns:minmax(0,1fr)}
 .fleet-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-metrics .metric{min-width:0}
 .fleet-layout .panel-head,.fleet-section-heading,.fleet-concept-footer{flex-wrap:wrap}
 .fleet-card-identity,.fleet-user,.fleet-slot>strong{overflow-wrap:anywhere}
 .fleet-footer{font-size:11px}.fleet-guidance p,.fleet-slot .btn,.fleet-team-panel>.help{font-size:13px}
 .fleet-layout .table-wrap th{font-size:12px}.fleet-layout .table-wrap td{font-size:13px}
 #fleet-dialog .actions{bottom:-20px;padding-bottom:max(14px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Shared typography from the supplied 12.4.29.1 reference, including its OFL. */
@font-face{font-family:"NNS Manrope";src:url('/vessel/assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
.shell,.fleet-layout,.fleet-header,dialog{font-family:"NNS Manrope","Segoe UI",Arial,sans-serif}
.app-main,.content,.panel>*,.form-grid>*,.center-work-layout>*,.center-dossier-main>*,.concept-dashboard-grid>*,.concept-side-stack>*{min-width:0}
.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;min-width:0}
.panel-head{gap:12px;flex-wrap:wrap}.panel-head>div{min-width:0}
.panel-head h2,.notice,.support-banner p,.account-row,.center-directory-name{overflow-wrap:anywhere}
.modal-foot,.experience-top-actions{flex-wrap:wrap}
@media(max-width:820px){
 .shell,.center-shell{grid-template-columns:minmax(0,1fr);width:100%}
 .shell>.app-main{width:100%;min-width:0}
 .shell .sidebar{width:min(280px,86vw);max-width:86vw;padding-bottom:max(20px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 .shell .topbar{position:relative;min-width:0;padding:12px 14px;gap:10px;flex-wrap:wrap}
 .shell .topbar-left{min-width:0;flex:1 1 auto}
 .shell .topbar-right{min-width:0;gap:8px}
 .shell .mobile-menu{display:inline-flex;min-width:44px;min-height:44px}
 .shell .content{padding:18px max(14px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
 .shell .btn{min-height:44px;font-size:13px;white-space:normal;max-width:100%}
 .shell .nav a{min-height:46px;font-size:14px;line-height:1.4}
 .shell .form-grid,.shell .grid.two,.shell .grid.three,.center-dossier-main,.center-work-layout,.center-bottom-layout{grid-template-columns:minmax(0,1fr)}
 .shell h1{font-size:28px;line-height:1.2}.shell h2{font-size:19px}.shell .help,.shell .field{font-size:13px;line-height:1.5}
 .center-shell .topbar{display:grid;grid-template-columns:44px minmax(0,1fr)}
 .center-shell .topbar-left{grid-column:1;grid-row:1}
 .center-shell .topbar-left .crumb{display:none}
 .center-shell .topbar-right{grid-column:2;grid-row:1;display:flex;width:100%;min-width:0;flex:none}
 .center-shell .topbar .scope{flex:1 1 0;min-width:0;width:auto;max-width:none}
 .center-shell .topbar .scope select{width:100%;min-width:0;text-overflow:ellipsis}
 .center-shell .center-search{grid-column:1/-1;grid-row:2;order:0;width:100%;min-width:0;max-width:none;margin:0}
 .center-shell .center-search-field{padding:8px 10px;min-height:44px}
 .center-shell .center-search-field kbd{display:none}
 .center-shell .center-search-popover{left:0;right:0;max-height:60dvh}
 .center-shell .center-search-result b{font-size:14px}.center-shell .center-search-result small{font-size:12px}
 .center-shell .center-work-aside{display:flex;flex-direction:column}
 .center-shell .center-readiness-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .center-shell .center-directory-head,.center-shell .center-directory-tools,.center-shell .center-directory-toolbar,.center-shell .center-client-row{flex-wrap:wrap;gap:10px}
 .center-shell .center-directory-filter{width:100%;min-width:0}
 .shell .staging-strip{flex-wrap:wrap;gap:6px}.shell .staging-strip span{font-size:10px;letter-spacing:.04em}
 .shell .table-wrap,.shell .panel{max-width:100%;min-width:0}
 .shell .table-wrap{overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}
 .shell .table-wrap .table{min-width:540px}
 .shell .table th{font-size:11px}.shell .table td{font-size:13px}
 .shell .panel{padding:16px 14px;border-radius:16px}
 dialog:not(#fleet-menu-dialog){width:calc(100% - 24px);max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px 16px;overflow:auto}
 dialog .form-grid,dialog .grid,dialog .grid2{grid-template-columns:minmax(0,1fr)}
 dialog .field,dialog fieldset{min-width:0;max-width:100%}
 dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{font-size:16px;min-width:0;max-width:100%}
 dialog .modal-foot,dialog .actions{position:static;display:flex;gap:8px;flex-wrap:wrap;padding-top:16px}
 dialog .btn{min-height:44px;height:auto;flex:1 1 110px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .shell .support-banner{flex-direction:column;align-items:stretch}
 .shell .footer{flex-wrap:wrap;gap:8px;font-size:11px}
}

/* Center content must shrink at the grid/flex item, not at the font size. */
@media screen and (max-width:820px){
 .center-shell .content{overflow-wrap:anywhere}
 .center-shell :is(.grid,.grid2,.metrics,.metric-grid,.center-stats,.center-dossier-stats,.center-dossier-identity,.center-dossier-aside,.vessel-grid,.module-grid,.actions)>*{min-width:0;max-width:100%}
 .center-shell :is(.page-head,.configuration-header,.center-page-heading,.center-section-heading,.center-dossier-heading,.center-overview-caption){flex-wrap:wrap;gap:12px;min-width:0}
 .center-shell :is(.page-head,.configuration-header,.center-section-heading,.center-dossier-heading)>div{min-width:0;max-width:100%}
 .center-shell :is(.page-head,.configuration-header,.center-page-heading,.center-dossier-heading)>.actions{flex:1 1 100%;width:100%;min-width:0;max-width:100%;justify-content:flex-start}
 .center-shell .content .actions>.btn{flex:1 1 140px;min-width:0}
 .center-shell .content .btn{height:auto;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.4}
 .center-shell .center-section-heading>.btn{flex:0 1 auto;max-width:100%;font-size:13px}
 .center-shell :is(.pill,.center-stat-top,.center-stat-note){white-space:normal;max-width:100%;overflow-wrap:anywhere;flex-wrap:wrap}
 .center-shell .pill{min-width:0}
 .center-shell :is(.center-stat-top,.center-stat-note)>span{min-width:0}
 .center-shell .tabs{flex-wrap:wrap;overflow:visible;min-width:0}
 .center-shell .tabs :is(a,button){flex:1 1 140px;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px;font-size:13px;line-height:1.4;text-align:center}
 .center-shell .center-dossier-aside{grid-template-columns:minmax(0,1fr)}
 .center-shell .center-readiness-item{padding-left:0;border-left:0}
 #modal :is(.modal-head,.modal-body,.modal-foot,form,fieldset,legend,.field,.selection-option){min-width:0;max-width:100%;overflow-wrap:anywhere}
 #modal :is(.modal-head,.modal-foot){flex-wrap:wrap;gap:12px}
 #modal .modal-head>div{min-width:0}
 #modal :is(.form-grid,.grid,.grid2)>*{min-width:0;max-width:100%}
 #modal .selection-grid{grid-template-columns:minmax(0,1fr)}
 #modal .pill{white-space:normal;max-width:100%;overflow-wrap:anywhere}
 #modal input[type=file]{width:100%;min-width:0}
}
@media(max-width:420px){
 .center-shell .topbar-right>.btn{font-size:12px;padding:8px;flex:0 0 auto}
 .center-shell .center-dossier-stats,.center-shell .center-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .center-shell .center-readiness-grid{grid-template-columns:minmax(0,1fr)}
 .fleet-request-list article{flex-wrap:wrap}.fleet-request-list article>div{min-width:0;flex:1 1 140px}
 .fleet-card-head,.fleet-team-heading{flex-wrap:wrap}
}
@media(max-width:820px){
 .shell .grid2,.shell .vessel-grid,.shell .module-grid,.shell .report-currencies{grid-template-columns:minmax(0,1fr)}
 .shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shell .eco-booking{grid-template-columns:minmax(0,1fr);padding:16px;gap:8px}
 .shell .eco-booking>*,.shell .filters,.shell .row-main{min-width:0;max-width:100%}
 .shell .eco-booking h3{font-size:17px;overflow-wrap:anywhere}
 .shell .eco-booking p{font-size:13px}.shell .eco-booking .btn{justify-self:stretch}
 .shell .filters{flex-wrap:wrap}.shell .filters .field{flex:1 1 180px;min-width:0}
 .shell .panel-head .actions{width:100%}.shell .panel-head .actions>.btn{flex:1 1 130px}
 .shell .timeline,.shell pre{overflow-wrap:anywhere;white-space:pre-wrap}
}

/* Compact customer workspace, with natural text scaling and accessible tap targets. */
html{font-size:14px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.customer-shell{--navy:#0b2f4d;--bg:#f4f9fc;font-family:Manrope,Inter,system-ui,sans-serif}
.customer-shell .content{max-width:1480px;margin:auto;padding:22px;min-width:0}
.customer-shell .page-head h1{font-size:clamp(23px,2.2vw,30px)}
.customer-shell .panel{border-radius:18px;padding:18px;border:1px solid #d5e3eb;background:#fff;box-shadow:0 5px 18px #15375108}
.vessel-return{margin:0 0 18px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;text-align:center}
.customer-shell .eco-booking-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:14px}
.customer-shell .eco-booking{min-width:0;padding:16px;overflow-wrap:anywhere;border-radius:16px}
.customer-shell .eco-booking>div{min-width:0}
@media(max-width:820px){
 .customer-shell .content{padding:14px 12px max(24px,env(safe-area-inset-bottom))}
 .customer-shell .topbar{padding:10px 12px;gap:8px;min-height:60px}
 .customer-shell .crumb b{font-size:14px}.customer-shell .crumb{font-size:11px}
 .customer-shell .page-head,.customer-shell .panel-head{display:flex;flex-wrap:wrap;gap:12px}
 .customer-shell .grid2,.customer-shell .form-grid{grid-template-columns:minmax(0,1fr)}
 .customer-shell .actions{flex-wrap:wrap;gap:8px}.customer-shell .actions .btn{flex:1 1 140px;white-space:normal}
 .customer-shell .btn,.customer-shell input,.customer-shell select{min-height:44px}
 .customer-shell input,.customer-shell select,.customer-shell textarea{font-size:16px;max-width:100%;min-width:0}
 .customer-shell .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
 .customer-shell .metric-grid,.customer-shell .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .customer-shell .metric strong{font-size:23px}.customer-shell .row-card{flex-wrap:wrap;gap:10px}
 .vessel-return{width:100%;margin-bottom:14px}.customer-shell .eco-price{display:block;margin-top:8px}
 dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);overflow:auto}
}

/* Checkbox rows keep a full tap target without stretching the native control. */
.field .checkbox{min-width:0;min-height:44px;justify-content:flex-start;gap:10px;font-size:14px;line-height:1.5;letter-spacing:normal}
.field .checkbox>span{min-width:0;overflow-wrap:normal;word-break:normal}
.field .checkbox input[type=checkbox],.field .checkbox input[type=radio]{flex:0 0 20px;width:20px;height:20px;min-width:20px;max-width:20px;min-height:20px;max-height:20px;padding:0;margin:0;accent-color:var(--teal)}

/* Compact working surfaces: shared rhythm for Center, Fleet and customer tools. */
.shell{--side:224px;font-size:13px}.shell .content{padding:20px 24px}.shell .topbar{min-height:64px;padding:10px 22px}
.shell h1,.center-shell h1{font-size:clamp(24px,2.2vw,30px);line-height:1.2}.shell .panel{padding:16px;border-radius:14px}
.shell .page-head,.center-page-heading{margin-bottom:16px}.shell .nav a,.shell .nav summary{min-height:42px;padding-top:8px;padding-bottom:8px;font-size:13px}
.shell .center-stat{padding:16px;gap:10px}.shell .center-stat strong{font-size:27px}.shell .center-stat-top,.shell .center-stat-note{font-size:12px}
.shell .btn{min-height:40px;padding:8px 12px;font-size:13px}.shell .form-grid{gap:14px}
dialog .modal-head{padding:16px 20px}dialog .modal-head h2{font-size:21px}dialog .modal-body{padding:18px 20px}dialog .form-grid{gap:14px}
.initial-position-fields{min-width:0;grid-column:1/-1;border:1px solid #d5e3eb;border-radius:12px;padding:14px;margin:0}.initial-position-fields legend{padding:0 6px;font-weight:650}.initial-position-picker{margin-top:12px}.initial-position-picker .help{font-size:12px;line-height:1.5}
.initial-position-map{height:300px;min-width:0;width:100%;border:1px solid #cbdce2;border-radius:10px;isolation:isolate}
.initial-position-map .leaflet-tile,.initial-position-map .leaflet-pane{max-width:none!important;max-height:none!important}
.fleet-header{height:64px;min-height:64px;padding:8px 22px}.fleet-header .fleet-brand img{max-height:46px;width:124px;object-fit:contain}
.fleet-layout{grid-template-columns:212px minmax(0,1fr);min-height:calc(100svh - 64px)}.fleet-sidebar{top:64px;height:calc(100svh - 64px);padding:22px 12px}
.fleet-layout main{padding:20px 24px;max-width:1500px}.fleet-breadcrumb{margin-bottom:12px}.fleet-page-head{margin-bottom:16px}.fleet-layout .fleet-page-head h1{font-size:28px}.fleet-page-head p{font-size:13px;margin-top:6px}
.fleet-scope{display:flex;gap:10px;padding:12px;margin-bottom:16px}.fleet-scope .field{flex:1;min-width:0}.fleet-layout .panel{padding:16px;border-radius:14px}.fleet-layout .btn{min-height:40px;padding:8px 12px;font-size:12px}
.fleet-overview-metrics{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 16px}.fleet-overview-metrics .metric{padding:14px 14px 14px 56px;min-height:96px}.fleet-overview-metrics .metric>.fleet-icon{left:14px;top:20px;width:30px;height:30px;padding:6px}.fleet-overview-metrics .metric small{font-size:12px;padding:0}.fleet-overview-metrics .metric strong{font-size:28px;margin-top:5px}.fleet-overview-metrics .metric p{font-size:11px;margin:3px 0 0}
.fleet-operational-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);align-items:start;gap:16px}.fleet-operational-grid>*{min-width:0}.fleet-operational-boats{display:grid;gap:0}
.fleet-operational-boat{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 0;border-top:1px solid #e1ebef;min-width:0}.fleet-operational-boat>img{width:80px;height:72px;object-fit:contain}.fleet-operational-identity{min-width:0}.fleet-operational-identity h3{font-size:18px;margin:0 0 4px;overflow-wrap:anywhere}.fleet-operational-identity p{font-size:12px;margin:0 0 6px;color:#607891;overflow-wrap:anywhere}.fleet-operational-identity>span{font-size:12px;display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.fleet-operational-identity .fleet-icon{width:14px;height:14px;flex-shrink:0}.fleet-operational-action{display:grid;justify-items:end;gap:10px}.fleet-operational-action .fleet-badge{font-size:11px}
.fleet-work-list>a{display:flex;gap:10px;align-items:center;text-decoration:none;color:#163d53;padding:14px 0;border-top:1px solid #e1ebef;min-height:56px}.fleet-work-list>a>span{display:grid;place-items:center;background:#edf6f8;border-radius:9px;padding:8px}.fleet-work-list>a>div{flex:1;min-width:0}.fleet-work-list strong{display:block;font-size:13px}.fleet-work-list small{display:block;font-size:12px;color:#607891;margin-top:4px}.fleet-work-list .fleet-icon{width:18px;height:18px;flex-shrink:0}.fleet-quiet-state{font-size:13px;color:#607891;line-height:1.6;padding:12px 0;margin:0}
.fleet-upcoming,.fleet-recent{margin-top:16px}.fleet-help-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;margin-top:4px}.fleet-help-strip>div{display:flex;align-items:center;gap:12px}.fleet-help-strip strong,.fleet-help-strip small{display:block}.fleet-help-strip strong{font-size:13px}.fleet-help-strip small{font-size:12px;color:#607891;margin-top:4px}
.fleet-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}.fleet-service-card{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid #dce8ed;border-radius:12px;background:#f9fcfd}.fleet-service-icon{display:grid;place-items:center;width:36px;height:36px;background:#e6f3f6;color:#146b7c;border-radius:10px;margin-bottom:12px}.fleet-service-icon .fleet-icon{width:21px;height:21px}.fleet-service-card h3{font-size:16px;margin:0 0 7px}.fleet-service-card p{font-size:12px;color:#607891;line-height:1.6;margin:0 0 12px}.fleet-service-card ul{list-style:none;margin:0 0 16px;padding:0}.fleet-service-card li{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #e3edf1;font-size:12px}.fleet-service-card li>span{min-width:0;overflow-wrap:anywhere}.fleet-service-card li>small{font-size:11px;color:#607891}.fleet-service-card>.btn{margin-top:auto}.fleet-service-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e3edf1;padding-top:14px;margin-top:16px}.fleet-service-foot p{font-size:12px;color:#607891;margin:0}
@media(max-width:1050px){.fleet-operational-grid{grid-template-columns:minmax(0,1fr)}.fleet-layout{grid-template-columns:190px minmax(0,1fr)}.fleet-layout main{padding:18px}.fleet-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){
 .shell .content{padding:14px 12px 24px}.shell .topbar{min-height:60px;padding:8px 12px}.shell h1,.center-shell h1{font-size:24px}.shell .panel{padding:14px 12px}.shell .btn,.shell .nav a,.shell .nav summary{min-height:44px}.shell .center-stat{padding:12px}.shell .center-stat strong{font-size:25px}.shell .center-stat-top,.shell .center-stat-note{font-size:11px}
 dialog .modal-head{padding:14px 12px}dialog .modal-body{padding:14px 12px}dialog .modal-head h2{font-size:20px}dialog .field{font-size:13px}dialog .btn{min-height:44px}
 .fleet-header{height:60px;min-height:60px;padding:8px 12px}.fleet-layout{display:block}.fleet-layout main{padding:14px 12px}.fleet-layout .fleet-page-head h1{font-size:23px}.fleet-layout .fleet-page-head p{font-size:12px}.fleet-layout .panel{padding:14px 12px}.fleet-layout .btn{min-height:44px;font-size:12px}
 .fleet-scope{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;gap:8px}.fleet-scope .field{min-width:0;font-size:11px}.fleet-scope .field:first-child{grid-column:1/-1}.fleet-scope>.btn{grid-column:1/-1}.fleet-scope .field select{font-size:16px;min-height:44px}
 .fleet-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fleet-overview-metrics .metric{min-height:88px;padding:12px}.fleet-overview-metrics .metric>.fleet-icon{display:none}.fleet-overview-metrics .metric strong{font-size:25px}.fleet-overview-metrics .metric small{font-size:11px}.fleet-overview-metrics .metric p{font-size:11px}
 .fleet-operational-boat{grid-template-columns:56px minmax(0,1fr);gap:10px;padding:14px 0}.fleet-operational-boat>img{width:56px;height:56px}.fleet-operational-identity h3{font-size:17px}.fleet-operational-action{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px}.fleet-operational-action .btn{flex:0 1 auto}.fleet-service-grid{grid-template-columns:minmax(0,1fr)}.fleet-service-card{padding:14px}.fleet-service-foot,.fleet-help-strip{flex-wrap:wrap}.fleet-service-foot .btn,.fleet-help-strip>.btn{width:100%}.initial-position-map{height:260px}
}
@media(min-width:751px) and (max-width:820px){.fleet-layout>.fleet-sidebar{display:none}.fleet-menu-toggle{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #d9e3e9;border-radius:10px;background:#fff;color:#103a52}.fleet-menu-toggle svg{width:22px;height:22px}.fleet-brand{display:none}}

/* Unified Fleet fit: the hull and its status have independent rows. */
body:has(.fleet-layout){min-width:0}
.fleet-header{height:88px;min-height:88px;gap:20px;padding:6px 24px}
.fleet-header .fleet-brand{width:168px;justify-content:center}
.fleet-header .fleet-brand img{width:76px;height:76px;max-height:none;object-fit:contain}
.fleet-sidebar{top:88px;height:calc(100svh - 88px)}
.fleet-layout{min-height:calc(100svh - 88px);width:100%}
.fleet-layout main,.fleet-layout main>*,.fleet-page-head>div,.fleet-guidance p{min-width:0;max-width:100%}
.fleet-guidance p{flex:1;white-space:normal;overflow-wrap:anywhere}
.fleet-scope{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end}
.fleet-scope .field{min-width:0;width:100%;max-width:100%;flex:none}
.fleet-scope select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}
.fleet-layout .vessel-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch}
.fleet-boat-card{gap:16px;padding:18px;max-width:100%}
.fleet-boat-card>header{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0}
.fleet-boat-card>header .fleet-badge{order:-1;align-self:flex-end;flex:none;white-space:normal;word-break:normal;overflow-wrap:normal;width:auto;max-width:100%;font-size:11px}
.fleet-boat-card>header .fleet-boat-asset{display:block;width:100%;min-width:0;height:clamp(150px,16vw,210px);object-fit:contain;flex:none}
.fleet-card-identity h2{font-size:23px}.fleet-boat-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fleet-badge{flex-shrink:0;word-break:normal;overflow-wrap:normal}
.fleet-request-list .fleet-badge{white-space:normal}.fleet-header-context{flex:1;min-width:0}
.fleet-menu-heading img{display:block;width:96px;height:96px;object-fit:contain}
.fleet-layout .table-wrap{min-width:0;max-width:100%;overflow:auto}
@media(max-width:1050px){.fleet-scope{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-scope>.btn{width:100%}}
@media(max-width:820px){
 .fleet-header{height:68px;min-height:68px;padding:6px 12px;gap:10px}.fleet-header .fleet-brand{display:flex;width:48px;flex:0 0 48px}.fleet-header .fleet-brand img{width:48px;height:54px}.fleet-header-context{border:0;padding:0}.fleet-header-context b{font-size:12px}.fleet-header-context small{font-size:10px;max-width:100%}.fleet-account{margin-left:auto}.fleet-header .fleet-account .btn{font-size:12px;padding:8px;min-height:44px}.fleet-layout{display:block;min-height:calc(100svh - 68px)}
 .fleet-layout .vessel-grid{grid-template-columns:minmax(0,1fr)}.fleet-boat-card{padding:16px;gap:14px}.fleet-boat-card>header .fleet-boat-asset{height:180px}.fleet-scope{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-layout .btn{min-height:44px}.fleet-breadcrumb{letter-spacing:.06em}.fleet-page-head p{font-size:13px}
}
@media(max-width:480px){.fleet-scope{grid-template-columns:minmax(0,1fr)}.fleet-header{gap:8px}.fleet-header-context small{max-width:120px}.fleet-boat-card>header .fleet-boat-asset{height:160px}}
/* Vessel report typography and hull presentation, shared on screen and paper. */
.fleet-report-document{max-width:100%;min-width:0;color:#17374c}.fleet-report-heading{display:flex;align-items:center;gap:24px;padding-bottom:22px;border-bottom:1px solid #dce7ed;margin-bottom:22px}.fleet-report-heading>img{width:90px;height:90px;object-fit:contain;flex:none}.fleet-report-heading>div{min-width:0}.fleet-report-heading h2{font-size:24px;margin:0 0 10px}.fleet-report-heading p,.fleet-report-heading small{font-size:12px;color:#617988;margin:0}.fleet-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fleet-report-summary>div{border:1px solid #dce7ed;background:#f5f9fb;border-radius:10px;padding:14px;min-width:0}.fleet-report-summary small{display:block;font-size:11px}.fleet-report-summary strong{display:block;font-size:24px;overflow-wrap:anywhere;margin-top:6px}.fleet-report-boat{border:1px solid #dce7ed;border-radius:14px;margin:22px 0;padding:20px;break-inside:avoid}.fleet-report-boat-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center;margin-bottom:20px}.fleet-report-boat-heading>div{min-width:0}.fleet-report-boat-heading h3{font-size:24px;margin:0 0 8px;overflow-wrap:anywhere}.fleet-report-boat-heading p{font-size:12px;overflow-wrap:anywhere;color:#617988;margin:4px 0}.fleet-report-boat-heading>img{display:block;width:100%;height:130px;object-fit:contain}.fleet-report-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.fleet-report-facts>div{padding:12px;background:#f5f9fb;border-radius:8px;min-width:0}.fleet-report-facts dt{font-size:11px;color:#617988}.fleet-report-facts dd{font-size:17px;font-weight:650;margin:7px 0 0;overflow-wrap:anywhere}.fleet-report-money h4{font-size:13px;margin:0 0 10px}.fleet-report-money p,.fleet-report-totals p{font-size:12px;overflow-wrap:anywhere}.fleet-report-foot{font-size:10px;color:#617988;padding:16px 0;border-top:1px solid #dce7ed}.fleet-report-actions{margin-top:18px}.fleet-report-document .help{font-size:11px;line-height:1.6}.fleet-report-empty{padding:20px 0}.fleet-report-empty p{color:#617988;font-size:13px}
@media(max-width:680px){.fleet-report-heading{gap:14px}.fleet-report-heading>img{width:64px;height:64px}.fleet-report-heading h2{font-size:20px}.fleet-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-report-summary strong{font-size:21px}.fleet-report-boat{padding:14px}.fleet-report-boat-heading{grid-template-columns:minmax(0,1fr);gap:12px}.fleet-report-boat-heading>img{height:150px}.fleet-report-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fleet-report-actions>.btn{flex:1 1 130px}}
@media print{
 @page{size:A4;margin:14mm}
 body:has(.fleet-report-document){background:white!important}
 body:has(.fleet-report-document) .skip-link,body:has(.fleet-report-document) .fleet-header,body:has(.fleet-report-document) .fleet-sidebar,body:has(.fleet-report-document) #main> :not(.section-gap),.fleet-report-actions{display:none!important}
 body:has(.fleet-report-document) .fleet-layout{display:block!important;min-height:0;background:white!important}
 body:has(.fleet-report-document) .fleet-layout main{width:100%;max-width:none;padding:0;margin:0}
 body:has(.fleet-report-document) .fleet-layout .section-gap{padding:0;border:0;box-shadow:none;background:white;margin:0}
 .fleet-report-heading{display:flex}.fleet-report-heading>img{width:80px;height:80px}.fleet-report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.fleet-report-boat-heading{grid-template-columns:1fr 1fr}.fleet-report-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.fleet-report-boat{break-inside:avoid}.fleet-report-document{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* iOS date editors have intrinsic widths independent of their form grid. */
@media(max-width:820px){
 :is(.shell,.fleet-layout,dialog) :is(input[type=date],input[type=datetime-local],input[type=time],input[type=month]){display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-inline-size:0;-webkit-appearance:none;appearance:none}
 :is(.shell,.fleet-layout,dialog) input::-webkit-date-and-time-value{min-width:0;text-align:left}
 :is(.shell,.fleet-layout,dialog) input::-webkit-datetime-edit{min-width:0;padding:0}
 .center-shell .content .table :is(.btn,.pill){overflow-wrap:normal;word-break:normal;white-space:normal;min-width:max-content}
 .center-shell .content .table .table-actions{flex-wrap:wrap;gap:8px}
 /* Record lists become labelled cards; all actions remain in the viewport. */
 .center-shell .table-wrap:has(>.mobile-record-table){overflow:visible;border:0;background:transparent}
 .center-shell .table-wrap>.mobile-record-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto}
 .center-shell .mobile-record-table>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .center-shell .mobile-record-table>tbody{display:grid;gap:12px;width:100%}
 .center-shell .mobile-record-table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #d6e3ea;border-radius:12px;background:#fff;padding:12px;min-width:0}
 .center-shell .mobile-record-table>tbody>tr>td{display:block;width:100%;max-width:100%;min-width:0;border:0;padding:8px 0;text-align:left;overflow-wrap:anywhere}
 .center-shell .mobile-record-table>tbody>tr>td::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;color:#607891;margin-bottom:5px;letter-spacing:.03em}
 .center-shell .content .mobile-record-table :is(.btn,.pill){min-width:0;max-width:100%;overflow-wrap:normal;word-break:normal}
 .center-shell .content .mobile-record-table .btn{width:auto;white-space:normal}
 .center-shell .content :is(.btn,.pill){overflow-wrap:normal;word-break:normal}
}
