/* v364 - final visual contract. Loaded last to neutralize historical overrides. */
:root {
  --v364-red:#a1262d;
  --v364-red-dark:#761b22;
  --v364-navy:#0b1b2d;
  --v364-ink:#132238;
  --v364-muted:#607087;
  --v364-line:#d3dee9;
  --v364-bg:#eef3f8;
  --v364-soft:#f7f9fc;
  --v364-success:#12805d;
  --v364-warning:#a66112;
  --v364-sidebar:236px;
}

html,body{min-width:0;margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;letter-spacing:0;color:var(--v364-ink)}
*,*::before,*::after{box-sizing:border-box;letter-spacing:0}
html,body,button,input,select,textarea{font-family:"Segoe UI",Arial,sans-serif!important}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body){font-size:13px;background:var(--v364-bg)}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .app-shell{
  display:grid!important;grid-template-columns:var(--v364-sidebar) minmax(0,1fr)!important;align-items:stretch!important;min-height:100vh!important;overflow:visible!important
}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .content{
  min-width:0!important;width:auto!important;max-width:none!important;padding:0 14px 26px!important;overflow-x:clip!important;background:var(--v364-bg)!important
}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .content>*:not(.platform-topbar-v295):not(.flash-stack){max-width:100%;min-width:0}

/* Light corporate sidebar, one real width at every desktop breakpoint. */
body:not(.endpoint-auth-login) .platform-sidebar-v295.sidebar.sidebar-dense{
  position:sticky!important;inset:0 auto auto 0!important;z-index:90!important;width:var(--v364-sidebar)!important;min-width:var(--v364-sidebar)!important;height:100vh!important;padding:15px 13px!important;display:flex!important;flex-direction:column!important;overflow-x:hidden!important;overflow-y:auto!important;background:#f6f8fb!important;border-right:1px solid #d2dde8!important;box-shadow:none!important;scrollbar-width:thin!important
}
html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) aside.platform-sidebar-v295.sidebar.sidebar-dense{
  width:var(--v364-sidebar)!important;min-width:var(--v364-sidebar)!important;max-width:var(--v364-sidebar)!important;padding:15px 13px!important
}
@media(min-width:901px){
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar.platform-sidebar-v295.sidebar.sidebar-dense{
    width:var(--v364-sidebar)!important;min-width:var(--v364-sidebar)!important;max-width:var(--v364-sidebar)!important;padding:15px 13px!important
  }
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-brand-v295.brand-panel-premium{
    display:block!important;min-height:132px!important;margin:0 0 10px!important;padding:8px 4px 16px!important;border:0!important;border-bottom:1px solid #d8e1ea!important;border-radius:0!important;background:transparent!important;text-align:left!important
  }
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-brand-v295 a{display:block!important;width:auto!important;margin:0!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-logo-large{display:block!important;width:148px!important;max-width:148px!important;height:62px!important;max-height:62px!important;margin:0!important;object-position:left center!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-copy{display:grid!important;justify-items:start!important;gap:5px!important;margin:11px 0 0!important;text-align:left!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-subtitle{color:var(--v364-navy)!important;font-size:11px!important;letter-spacing:0!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-tag{max-width:none!important;color:#5c6d82!important;font-size:10px!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-nav-v295{gap:8px!important;margin:0!important;padding:0!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-v294{margin:0!important;border:1px solid #d3dee8!important;border-radius:8px!important;background:#fff!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-v294[open]{border-color:#cbd7e3!important;background:#fff!important;box-shadow:inset 3px 0 0 var(--v364-red),0 4px 12px rgba(19,34,56,.05)!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-v294>summary{grid-template-columns:20px minmax(0,1fr) 15px!important;min-height:56px!important;padding:9px 10px!important;gap:9px!important;color:var(--v364-ink)!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-v294>summary>span{font-size:13px!important;line-height:1.15!important;color:var(--v364-ink)!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-v294>summary small{margin-top:3px!important;color:#607087!important;font-size:9px!important;line-height:1.25!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-body-v294{gap:3px!important;padding:2px 7px 9px!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-body-v294 .nav-link{grid-template-columns:18px minmax(0,1fr)!important;gap:9px!important;min-height:37px!important;height:auto!important;padding:7px 9px!important;border-radius:6px!important;color:#29405a!important;font-size:11.5px!important;line-height:1.2!important}
  html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .nav-module-body-v294 .nav-link.active{background:var(--v364-red)!important;color:#fff!important}
}
body:not(.endpoint-auth-login) .platform-brand-v295.brand-panel-premium{
  min-height:132px!important;margin:0 0 10px!important;padding:8px 4px 16px!important;border:0!important;border-bottom:1px solid #d8e1ea!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--v364-ink)!important
}
body:not(.endpoint-auth-login) .platform-brand-v295 .brand-logo-large{display:block!important;width:148px!important;max-width:148px!important;height:62px!important;object-fit:contain!important;object-position:left center!important}
body:not(.endpoint-auth-login) .platform-brand-v295 .brand-copy{display:grid!important;gap:5px!important;margin-top:11px!important}
body:not(.endpoint-auth-login) .platform-brand-v295 .brand-subtitle{color:var(--v364-navy)!important;font-size:11px!important;font-weight:900!important;line-height:1.15!important;text-transform:uppercase!important}
body:not(.endpoint-auth-login) .platform-brand-v295 .brand-tag{color:#5c6d82!important;font-size:10px!important;line-height:1.35!important}
body:not(.endpoint-auth-login) .platform-nav-v295.nav-modules-v294{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding:0!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294{
  display:block!important;margin:0!important;border:1px solid #d3dee8!important;border-radius:8px!important;background:#fff!important;box-shadow:0 3px 9px rgba(19,34,56,.035)!important;overflow:hidden!important
}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294[open]{border-color:#cbd7e3!important;background:#fff!important;box-shadow:inset 3px 0 0 var(--v364-red),0 4px 12px rgba(19,34,56,.05)!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary{
  display:grid!important;grid-template-columns:20px minmax(0,1fr) 15px!important;align-items:center!important;gap:9px!important;min-height:56px!important;height:auto!important;padding:9px 10px!important;list-style:none!important;color:var(--v364-ink)!important;cursor:pointer!important
}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary::-webkit-details-marker{display:none!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary>svg,
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary>i{position:static!important;width:18px!important;height:18px!important;color:#40536b!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary>span{display:block!important;min-width:0!important;color:var(--v364-ink)!important;font-size:13px!important;font-weight:850!important;line-height:1.15!important;white-space:normal!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-v294>summary small{display:block!important;margin-top:3px!important;color:#607087!important;font-size:9px!important;font-weight:600!important;line-height:1.25!important;white-space:normal!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294{display:grid!important;gap:3px!important;padding:2px 7px 9px!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294 .nav-link{
  position:relative!important;display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:37px!important;height:auto!important;padding:7px 9px!important;border-radius:6px!important;color:#29405a!important;background:transparent!important;font-size:11.5px!important;font-weight:800!important;line-height:1.2!important;text-indent:0!important;text-decoration:none!important;white-space:normal!important;overflow:visible!important
}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294 .nav-link>svg,
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294 .nav-link>i{position:static!important;grid-column:1!important;width:16px!important;height:16px!important;color:inherit!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294 .nav-link:hover{background:#f2f5f8!important;color:#172b43!important}
body:not(.endpoint-auth-login) .platform-nav-v295 .nav-module-body-v294 .nav-link.active{background:var(--v364-red)!important;color:#fff!important;box-shadow:0 5px 12px rgba(161,38,45,.17)!important}
body:not(.endpoint-auth-login) .platform-sidebar-footer-v295{display:grid!important;gap:8px!important;margin-top:11px!important;padding-top:11px!important;border-top:1px solid #d8e1ea!important}
body:not(.endpoint-auth-login) .platform-sidebar-footer-v295 .platform-language-v306,
body:not(.endpoint-auth-login) .platform-sidebar-footer-v295 .platform-quick-v295{min-height:40px!important;border:1px solid #d3dee8!important;border-radius:7px!important;background:#edf3f8!important}
body:not(.endpoint-auth-login) .platform-sidebar-footer-v295 .user-card{min-width:0!important;border:1px solid #d3dee8!important;border-radius:7px!important;background:#fff!important;color:var(--v364-ink)!important}

/* Connected two-row topbar. */
body:not(.endpoint-auth-login) .platform-topbar-v295.ops-topbar-v291{
  position:sticky!important;top:0!important;z-index:80!important;width:100%!important;min-height:116px!important;height:116px!important;margin:0 0 12px!important;padding:0!important;border:1px solid #d4dee8!important;border-top:0!important;border-radius:0 0 8px 8px!important;background:#fff!important;box-shadow:0 7px 18px rgba(15,30,48,.06)!important;overflow:visible!important
}
html body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) header.platform-topbar-v295.ops-topbar-v291{
  width:100%!important;height:116px!important;min-height:116px!important;margin:0 0 12px!important;overflow:visible!important
}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-row-v291{
  display:grid!important;grid-template-columns:182px minmax(300px,1fr) 142px 84px 150px!important;align-items:center!important;gap:12px!important;width:100%!important;height:71px!important;min-height:71px!important;padding:0 14px!important
}
body:not(.endpoint-auth-login) .platform-topbar-v295 .topbar-menu-v295{display:none!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;height:48px!important;color:var(--v364-ink)!important;text-decoration:none!important;overflow:hidden!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291 img{flex:0 0 auto!important;width:78px!important;max-width:78px!important;height:38px!important;object-fit:contain!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291 span{display:grid!important;min-width:0!important;gap:2px!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291 small{color:var(--v364-red)!important;font-size:8px!important;font-weight:900!important;line-height:1!important;text-transform:uppercase!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291 strong{overflow:hidden!important;color:var(--v364-ink)!important;font-size:11px!important;font-weight:850!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291{display:grid!important;grid-template-columns:34px minmax(0,1fr) 44px!important;align-items:center!important;width:100%!important;max-width:none!important;height:44px!important;min-height:44px!important;border:1px solid #cbd7e3!important;border-radius:8px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,30,48,.035)!important;overflow:hidden!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291>svg{justify-self:center!important;width:17px!important;height:17px!important;color:#607087!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291 input{width:100%!important;min-width:0!important;height:42px!important;padding:0 7px!important;border:0!important;background:transparent!important;box-shadow:none!important;color:var(--v364-ink)!important;font-size:12px!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291 button{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:0 7px 7px 0!important;background:var(--v364-navy)!important;color:#fff!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-live-v291{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;align-content:center!important;align-items:center!important;gap:0 8px!important;min-width:0!important;width:142px!important;height:50px!important;min-height:50px!important;padding:4px 9px!important;border:0!important;border-left:1px solid #e0e7ef!important;border-right:1px solid #e0e7ef!important;overflow:hidden!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-icon-v342{grid-row:1/-1!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#edf4fb!important;color:#496b92!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-icon-v342 svg{width:21px!important;height:21px!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-copy-v342{display:grid!important;min-width:0!important;gap:0!important;overflow:hidden!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-copy-v342 span{overflow:hidden!important;color:#4f6177!important;font-size:8px!important;font-weight:750!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-copy-v342 strong{overflow:hidden!important;color:var(--v364-ink)!important;font-size:11px!important;font-weight:900!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-weather-copy-v342 small{overflow:hidden!important;color:#6a798b!important;font-size:7px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .platform-language-top-v306{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:center!important;width:84px!important;height:38px!important;padding:3px!important;border:1px solid #d3dee8!important;border-radius:7px!important;background:#f3f6f9!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .platform-language-top-v306 a{display:grid!important;place-items:center!important;height:30px!important;border-radius:5px!important;color:#506176!important;font-size:9px!important;font-weight:850!important;text-decoration:none!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .platform-language-top-v306 a.active{background:var(--v364-red)!important;color:#fff!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tools-v291{display:grid!important;grid-template-columns:repeat(4,34px)!important;align-items:center!important;justify-content:end!important;gap:4px!important;width:150px!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tools-v291 a{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;border:1px solid transparent!important;border-radius:6px!important;color:#20344d!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tools-v291 a:hover{border-color:#d3dee8!important;background:#f5f8fb!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tools-v291 svg{width:17px!important;height:17px!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tools-v291 span{display:none!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tabs-v291{display:flex!important;align-items:center!important;gap:4px!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 12px!important;border-top:1px solid #edf1f5!important;background:#fff!important;overflow:visible!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tabs-v291 a{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;padding:0 12px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#24384f!important;font-size:10.5px!important;font-weight:800!important;text-decoration:none!important;box-shadow:none!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tabs-v291 a.active::after{content:""!important;position:absolute!important;left:10px!important;right:10px!important;bottom:0!important;height:3px!important;border-radius:3px 3px 0 0!important;background:var(--v364-red)!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tabs-v291 .atlas-link-v291{margin-left:auto!important;height:34px!important;min-height:34px!important;padding:0 13px!important;border-radius:6px!important;background:var(--v364-red)!important;color:#fff!important;box-shadow:0 5px 12px rgba(161,38,45,.17)!important}
body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-tabs-v291 .atlas-link-v291::after{display:none!important}

/* Shared sizing: no stretched selectors or clipped controls. */
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){min-width:0;max-width:100%;font-family:inherit;font-size:12px;line-height:1.35}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select){min-height:40px}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) button,
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .btn{font-family:inherit;font-size:11px;line-height:1.2}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) table{width:100%;max-width:100%;border-collapse:collapse;table-layout:auto}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) th{font-size:9px;line-height:1.25}
body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) td{font-size:10.5px;line-height:1.35}

/* Dashboard proportions matching the approved reference. */
body.endpoint-main-dashboard .command-center-v291{display:grid!important;gap:12px!important;max-width:none!important}
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291{min-height:214px!important;height:214px!important;border:1px solid #cbd8e4!important;border-radius:8px!important;background-position:center right!important;background-size:cover!important;overflow:hidden!important}
body.endpoint-main-dashboard .cc-hero-copy-v297{max-width:520px!important;padding:36px 40px!important}
body.endpoint-main-dashboard .cc-hero-v291 h1{font-size:30px!important;line-height:1.1!important;letter-spacing:0!important}
body.endpoint-main-dashboard .cc-hero-v291 p{max-width:440px!important;font-size:13px!important;line-height:1.5!important}
body.endpoint-main-dashboard .cc-hero-actions-v297.cc-quick-actions-v291{top:28px!important;right:24px!important;gap:8px!important;padding:0!important;border-radius:0!important;background:transparent!important;backdrop-filter:none!important}
body.endpoint-main-dashboard .cc-hero-actions-v297 a{height:38px!important;min-width:92px!important;border-radius:6px!important;font-size:10px!important}
body.endpoint-main-dashboard .cc-metrics-icons-v297.cc-metrics-v291{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
body.endpoint-main-dashboard .cc-metrics-icons-v297 article{min-width:0!important;min-height:96px!important;padding:14px 15px!important;gap:12px!important;border:1px solid #cfdbe6!important;border-radius:8px!important}
body.endpoint-main-dashboard .cc-kpi-icon-v297{flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:8px!important}
body.endpoint-main-dashboard .cc-kpi-copy-v297 small{font-size:8px!important}
body.endpoint-main-dashboard .cc-kpi-copy-v297 strong{overflow:hidden!important;font-size:19px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.endpoint-main-dashboard .cc-kpi-copy-v297 span{font-size:9px!important}
body.endpoint-main-dashboard :where(.cc-main-v291,.cc-side-v291)>article,
body.endpoint-main-dashboard .cc-main-v291{border-radius:8px!important}
body.endpoint-main-dashboard .cc-table-wrap-v291{overflow:auto!important;max-height:475px!important;scrollbar-gutter:stable!important}
body.endpoint-main-dashboard .cc-table-wrap-v291 th{height:34px!important;padding:0 10px!important}
body.endpoint-main-dashboard .cc-table-wrap-v291 td{height:43px!important;padding:7px 10px!important;font-size:10px!important}

/* Atlas final hierarchy: readable without becoming oversized. */
body.endpoint-main-operations_atlas .atlas63{gap:11px!important}
body.endpoint-main-operations_atlas .atlas63-head{min-height:82px!important;padding:15px 18px!important;border-radius:8px!important}
body.endpoint-main-operations_atlas .atlas63-head h1{font-size:24px!important}
body.endpoint-main-operations_atlas .atlas63-head p{font-size:11px!important}
body.endpoint-main-operations_atlas .atlas63-kpis article{min-height:76px!important;border-radius:8px!important}
body.endpoint-main-operations_atlas .atlas63-kpis b{font-size:18px!important}
body.endpoint-main-operations_atlas .atlas63-toolbar{grid-template-columns:175px 150px 150px minmax(260px,1fr) auto!important;border-radius:8px!important}
body.endpoint-main-operations_atlas .atlas63-workspace{grid-template-columns:286px minmax(520px,1fr) 310px!important;gap:10px!important}
body.endpoint-main-operations_atlas :where(.atlas63-rail,.atlas63-map-panel,.atlas63-inspector){height:650px!important;border-radius:8px!important}
body.endpoint-main-operations_atlas .atlas63-branch-list b,
body.endpoint-main-operations_atlas .atlas63-operation-list b{font-size:10.5px!important}
body.endpoint-main-operations_atlas .atlas63-branch-list small,
body.endpoint-main-operations_atlas .atlas63-operation-list small{font-size:8.5px!important}
body.endpoint-main-operations_atlas .atlas63 .maplibregl-popup-content{border-radius:7px!important}

/* Line-up, update board and stuffing use bounded panels instead of page overflow. */
body.endpoint-main-jobs_board :where(.lineup-board,.jobs-board,.lineup-layout),
body.endpoint-main-lineup_update_board :where(.lineup-board,.jobs-board,.lineup-layout){min-width:0!important;max-width:100%!important}
body.endpoint-main-jobs_board :where(.table-wrap,.lineup-table-wrap),
body.endpoint-main-lineup_update_board :where(.table-wrap,.lineup-table-wrap){max-width:100%!important;overflow:auto!important;scrollbar-gutter:stable!important}
body.endpoint-main-jobs_board select,
body.endpoint-main-lineup_update_board select{height:38px!important;min-height:38px!important;font-size:11px!important}

/* The operational line-up keeps both fleets on one page and gives each table
   the full working width. Filters stay available as a compact drawer above it. */
body.endpoint-main-jobs_board .lineup-workspace{
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-areas:"filters" "workspace";
  gap:12px!important;
}
body.endpoint-main-jobs_board .lineup-main{grid-area:workspace;min-width:0!important}
body.endpoint-main-jobs_board .lineup-side-panel{
  grid-area:filters;
  position:static!important;
  min-width:0!important;
}
body.endpoint-main-jobs_board .lineup-filter-drawer-v344>summary{
  min-height:50px;
  padding:10px 14px!important;
}
body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card{
  grid-template-columns:minmax(220px,1.35fr) repeat(4,minmax(150px,1fr));
  align-items:end;
  padding:12px 14px!important;
}
body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>.lineup-date-filter-v84,
body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>.lineup-filter-grid,
body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>.report-action-row{
  grid-column:span 2;
}
body.endpoint-main-jobs_board .lineup-split{
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
}
body.endpoint-main-jobs_board .lineup-board-card{min-width:0!important}
body.endpoint-main-jobs_board .lineup-table-scroll{
  width:100%;
  max-width:100%;
  max-height:330px!important;
  overflow:auto!important;
  scrollbar-gutter:stable both-edges;
}
body.endpoint-main-jobs_board .lineup-board-card.estimated .lineup-table{min-width:1320px}
body.endpoint-main-jobs_board .lineup-board-card.operating .lineup-table{min-width:1110px}
body.endpoint-main-jobs_board .lineup-board-card.all .lineup-table{min-width:1740px}
body.endpoint-main-jobs_board .lineup-table th,
body.endpoint-main-jobs_board .lineup-table td{
  height:auto!important;
  padding:8px 9px!important;
  line-height:1.25!important;
}
body.endpoint-main-jobs_board .lineup-table th{font-size:9px!important}
body.endpoint-main-jobs_board .lineup-table td{font-size:10.5px!important}
body.endpoint-main-jobs_board .lineup-table td small{font-size:8.5px!important}

@media(max-width:1180px){
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>*{grid-column:auto!important}
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>.lineup-date-filter-v84,
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>.report-action-row{grid-column:1/-1!important}
}

@media(max-width:680px){
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card{grid-template-columns:1fr}
  body.endpoint-main-jobs_board .lineup-filter-drawer-v344[open] .lineup-filter-card>*{grid-column:1!important}
  body.endpoint-main-jobs_board .lineup-board-title{align-items:flex-start;gap:6px;padding:10px 12px!important}
  body.endpoint-main-jobs_board .lineup-table-scroll{max-height:360px!important}
}
.stuffing-lineup-v345{width:100%!important;max-width:none!important;margin:0!important}
.stuffing-lineup-v345 :where(.stuffing-lineup-head-v345,.stuffing-lineup-board-v345,.stuffing-lineup-side-v345 section,.stuffing-lineup-filters-v345,.stuffing-lineup-kpis-v345 article){border-radius:8px!important}

/* Mobile field screens: one task per screen, compact controls and stable bottom navigation. */
@media(max-width:860px){
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .app-shell{display:block!important}
  body:not(.endpoint-auth-login) .platform-sidebar-v295.sidebar.sidebar-dense{position:fixed!important;transform:translateX(-105%)!important;width:min(286px,88vw)!important;min-width:0!important;transition:transform .18s ease!important}
  body.sidebar-open-v295 .platform-sidebar-v295.sidebar.sidebar-dense{transform:translateX(0)!important}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) .content{width:100%!important;padding:0 9px 76px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295.ops-topbar-v291{height:auto!important;min-height:70px!important;margin-bottom:9px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-row-v291{grid-template-columns:38px minmax(0,1fr) 132px!important;height:70px!important;min-height:70px!important;padding:7px 9px!important;gap:7px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .topbar-menu-v295{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border:1px solid #d3dee8!important;border-radius:6px!important;background:#fff!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-topbar-brand-v291{display:none!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291{height:42px!important;min-height:42px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291 input{height:40px!important;font-size:11px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-command-v291 button{height:42px!important;width:42px!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 .ops-live-v291{display:grid!important;width:132px!important;height:48px!important;min-height:48px!important;padding:3px 6px!important;border:0!important}
  body:not(.endpoint-auth-login) .platform-topbar-v295 :where(.platform-language-top-v306,.ops-tools-v291,.ops-tabs-v291){display:none!important}
  body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291{height:auto!important;min-height:230px!important;background-position:64% center!important}
  body.endpoint-main-dashboard .cc-hero-copy-v297{padding:28px 22px!important}
  body.endpoint-main-dashboard .cc-hero-v291 h1{font-size:25px!important}
  body.endpoint-main-dashboard .cc-hero-actions-v297.cc-quick-actions-v291{position:relative!important;inset:auto!important;justify-content:flex-start!important;flex-wrap:wrap!important;margin-top:20px!important}
  body.endpoint-main-dashboard .cc-metrics-icons-v297.cc-metrics-v291{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-dashboard .cc-metrics-icons-v297 article:last-child{grid-column:1/-1!important}
  body.endpoint-main-operations_atlas .atlas63-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-operations_atlas .atlas63-toolbar .search,
  body.endpoint-main-operations_atlas .atlas63-layers{grid-column:1/-1!important}
  body.endpoint-main-operations_atlas .atlas63-workspace{grid-template-columns:1fr!important}
  body.endpoint-main-operations_atlas :where(.atlas63-rail,.atlas63-map-panel){height:490px!important}
  body.endpoint-main-operations_atlas .atlas63-inspector{height:auto!important}
}

@media(max-width:520px){
  body.endpoint-main-dashboard .cc-metrics-icons-v297.cc-metrics-v291{grid-template-columns:1fr!important}
  body.endpoint-main-dashboard .cc-metrics-icons-v297 article:last-child{grid-column:auto!important}
  body.endpoint-main-operations_atlas .atlas63-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-operations_atlas .atlas63-toolbar{grid-template-columns:1fr!important}
  body.endpoint-main-operations_atlas .atlas63-toolbar .search,
  body.endpoint-main-operations_atlas .atlas63-layers{grid-column:1!important}
}

/* High-resolution TV mode: true 1080p/4K layout, no pseudo-pages. */
.lineup-tv-body.lineup-tv-v342{display:grid!important;grid-template-rows:70px 48px 98px minmax(400px,1fr) 230px!important;gap:9px!important;width:100vw!important;min-width:1280px!important;height:100vh!important;min-height:720px!important;margin:0!important;padding:0 12px 10px!important;overflow:hidden!important;background:#edf3f8!important;color:#0b1b2d!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important}
.lineup-tv-body .lineup-tv-top{height:70px!important;min-height:70px!important;margin:0 -12px!important;padding:0 16px!important;border-bottom:1px solid #d3dee8!important;background:#fff!important}
.lineup-tv-body .lineup-tv-brand img{width:140px!important;height:58px!important;object-fit:contain!important}
.lineup-tv-body .lineup-tv-kicker{font-size:9px!important;letter-spacing:0!important}
.lineup-tv-body .lineup-tv-brand h1{font-size:25px!important;line-height:1.05!important;letter-spacing:0!important}
.lineup-tv-body .lineup-tv-toolbar{gap:10px!important}
.lineup-tv-body .lineup-tv-toolbar :where(.btn,.lineup-live-pill){height:38px!important;border-radius:6px!important;font-size:10px!important}
.lineup-tv-body .lineup-tv-clock strong{font-size:18px!important}.lineup-tv-body .lineup-tv-clock small{font-size:7px!important}
.lineup-tv-body .lineup-tv-filter-hint{min-height:48px!important;height:48px!important;margin:0!important;border-radius:7px!important}
.lineup-tv-body .lineup-tv-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:0!important}
.lineup-tv-body .lineup-tv-kpi{min-height:98px!important;height:98px!important;border-radius:8px!important;overflow:hidden!important}
.lineup-tv-body .lineup-tv-kpi-icon{width:98px!important;min-width:98px!important}.lineup-tv-body .lineup-tv-kpi strong{font-size:27px!important}.lineup-tv-body .lineup-tv-kpi span{font-size:10px!important}
.lineup-tv-body .lineup-tv-main{display:grid!important;grid-template-columns:minmax(650px,1.18fr) minmax(520px,.92fr) 298px!important;gap:10px!important;min-height:0!important;height:100%!important;margin:0!important}
.lineup-tv-body :where(.lineup-tv-panel,.lineup-tv-support-rail,.lineup-tv-chart-panel){min-width:0!important;border-radius:8px!important;overflow:hidden!important}
.lineup-tv-body .lineup-tv-panel{display:grid!important;grid-template-rows:40px minmax(0,1fr) 26px!important;height:100%!important}
.lineup-tv-body .lineup-tv-panel-title{height:40px!important;min-height:40px!important;font-size:11px!important}
.lineup-tv-body .lineup-tv-table-wrap{min-height:0!important;max-height:none!important;height:auto!important;overflow:auto!important;scrollbar-gutter:stable!important;overscroll-behavior:contain!important}
.lineup-tv-body .lineup-tv-table{table-layout:fixed!important}.lineup-tv-body .lineup-tv-table th{height:31px!important;padding:5px 5px!important;font-size:7.5px!important}.lineup-tv-body .lineup-tv-table td{height:35px!important;padding:5px!important;font-size:8px!important;line-height:1.18!important}.lineup-tv-body .lineup-tv-table td small{font-size:6px!important}
.lineup-tv-body .lineup-tv-table-footer{height:26px!important;min-height:26px!important;font-size:8px!important}
.lineup-tv-body .lineup-tv-support-rail{display:grid!important;grid-template-rows:1fr 1fr!important;gap:9px!important;background:transparent!important;overflow:visible!important}
.lineup-tv-body .watch-card{min-height:0!important;height:100%!important;border-radius:8px!important;overflow:hidden!important}.lineup-tv-body .watch-list{min-height:0!important;overflow:auto!important}
.lineup-tv-body .lineup-tv-lower{display:grid!important;grid-template-columns:1.15fr 1fr .9fr!important;gap:10px!important;height:230px!important;min-height:230px!important;margin:0!important}
.lineup-tv-body .lineup-tv-chart-panel{height:230px!important;min-height:230px!important}.lineup-tv-body .lineup-tv-section-title{height:38px!important;min-height:38px!important;font-size:10px!important}
.lineup-tv-body .lineup-tv-product-bars{height:190px!important;padding:8px 12px!important;align-items:center!important}.lineup-tv-body .tv-product-donut{width:76px!important;height:76px!important}.lineup-tv-body .tv-product-icon{width:42px!important;height:42px!important;object-fit:contain!important}.lineup-tv-body .tv-product-value{font-size:8px!important}.lineup-tv-body .tv-product-bar strong{font-size:8px!important}.lineup-tv-body .tv-product-bar em{font-size:13px!important}

@media(min-width:2500px) and (min-height:1200px){
  .lineup-tv-body.lineup-tv-v342{grid-template-rows:92px 60px 132px minmax(560px,1fr) 310px!important;gap:14px!important;padding:0 18px 16px!important}
  .lineup-tv-body .lineup-tv-top{height:92px!important;min-height:92px!important;margin:0 -18px!important;padding:0 26px!important}
  .lineup-tv-body .lineup-tv-brand img{width:190px!important;height:76px!important}.lineup-tv-body .lineup-tv-brand h1{font-size:36px!important}.lineup-tv-body .lineup-tv-kicker{font-size:12px!important}
  .lineup-tv-body .lineup-tv-filter-hint{height:60px!important}.lineup-tv-body .lineup-tv-kpi{height:132px!important}.lineup-tv-body .lineup-tv-kpi-icon{width:132px!important;min-width:132px!important}.lineup-tv-body .lineup-tv-kpi strong{font-size:38px!important}
  .lineup-tv-body .lineup-tv-main{grid-template-columns:minmax(900px,1.2fr) minmax(720px,.9fr) 420px!important;gap:14px!important}
  .lineup-tv-body .lineup-tv-panel{grid-template-rows:52px minmax(0,1fr) 34px!important}.lineup-tv-body .lineup-tv-panel-title{height:52px!important;font-size:15px!important}
  .lineup-tv-body .lineup-tv-table th{height:42px!important;font-size:10px!important}.lineup-tv-body .lineup-tv-table td{height:48px!important;font-size:11px!important}.lineup-tv-body .lineup-tv-table td small{font-size:8px!important}
  .lineup-tv-body .lineup-tv-lower,.lineup-tv-body .lineup-tv-chart-panel{height:310px!important;min-height:310px!important}.lineup-tv-body .lineup-tv-section-title{height:50px!important;font-size:14px!important}.lineup-tv-body .lineup-tv-product-bars{height:258px!important}.lineup-tv-body .tv-product-donut{width:104px!important;height:104px!important}.lineup-tv-body .tv-product-icon{width:58px!important;height:58px!important}
}

/* Atlas management detail and map legibility. */
body.endpoint-main-operations_atlas .atlas63-finance-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
body.endpoint-main-operations_atlas .atlas63-finance-metrics article{display:grid;gap:3px;min-width:0;padding:8px;border:1px solid #dce4ec;border-radius:6px;background:#f7f9fb}
body.endpoint-main-operations_atlas .atlas63-finance-metrics span{color:#65758a;font-size:7.5px;font-weight:850;text-transform:uppercase}
body.endpoint-main-operations_atlas .atlas63-finance-metrics b{overflow:hidden;color:var(--v364-ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
body.endpoint-main-operations_atlas .atlas63-branch-health{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}
body.endpoint-main-operations_atlas .atlas63-branch-health span{display:grid;gap:2px;padding:7px;border:1px solid #dce4ec;border-radius:6px;background:#f7f9fb;color:#65758a;font-size:7px;font-weight:850;text-transform:uppercase}
body.endpoint-main-operations_atlas .atlas63-branch-health b{color:var(--v364-ink);font-size:12px}
body.endpoint-main-operations_atlas .maplibregl-popup{z-index:15;max-width:min(330px,calc(100vw - 28px))!important}
body.endpoint-main-operations_atlas .maplibregl-popup-content{padding:12px 13px!important;border:1px solid #d5dfe8!important;box-shadow:0 14px 34px rgba(12,28,47,.18)!important}
body.endpoint-main-operations_atlas .atlas63-popup{display:grid;gap:7px;min-width:220px}
body.endpoint-main-operations_atlas .atlas63-popup header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;padding-bottom:7px;border-bottom:1px solid #e4eaf0}
body.endpoint-main-operations_atlas .atlas63-popup h4{margin:0;color:var(--v364-ink);font-size:13px;line-height:1.2}
body.endpoint-main-operations_atlas .atlas63-popup small{color:#637388;font-size:8.5px;line-height:1.3}
body.endpoint-main-operations_atlas .atlas63-popup dl{display:grid;grid-template-columns:78px minmax(0,1fr);gap:5px 8px;margin:0}
body.endpoint-main-operations_atlas .atlas63-popup dt{color:#708095;font-size:7px;font-weight:900;text-transform:uppercase}
body.endpoint-main-operations_atlas .atlas63-popup dd{min-width:0;margin:0;color:#21364e;font-size:9px;font-weight:750;overflow-wrap:anywhere}
body.endpoint-main-operations_atlas .atlas63-popup a{display:flex;align-items:center;justify-content:center;min-height:33px;border-radius:5px;background:var(--v364-red);color:#fff;font-size:9px;font-weight:900;text-decoration:none}
body.endpoint-main-operations_atlas .atlas63-map-panel .maplibregl-canvas{outline:0}

/* Fertilizer identification table: compact neutral labels in HTML/PDF. */
body.endpoint-main-job_fertilizer_report .fert-report-main-table{
  width:100%!important;height:auto!important;table-layout:fixed!important;border-collapse:collapse!important
}
body.endpoint-main-job_fertilizer_report .fert-report-main-table tr{
  height:auto!important;min-height:0!important
}
body.endpoint-main-job_fertilizer_report .fert-report-main-table th,
body.endpoint-main-job_fertilizer_report .fert-report-main-table td{
  height:auto!important;min-height:0!important;padding:1.4px 4px!important;vertical-align:middle!important;font-size:7.35pt!important;line-height:1.08!important
}
body.endpoint-main-job_fertilizer_report .fert-report-main-table th{
  width:32%!important;background:#e8edf2!important;background-color:#e8edf2!important;color:#263547!important;text-align:left!important
}
body.endpoint-main-job_fertilizer_report .fert-report-main-table td{
  background:#fff!important;color:#111827!important;text-align:left!important
}

/* Maritime Field Mode: compact stowage-style input with one active task. */
body.endpoint-main-field_job .fm248{width:100%;max-width:1120px;margin:0 auto 48px;padding:0 5px}
body.endpoint-main-field_job .fm248-sticky{position:sticky!important;top:120px!important;z-index:45!important;margin:0!important;padding:5px 0!important;background:rgba(238,243,248,.97)!important;backdrop-filter:blur(10px)!important}
body.endpoint-main-field_job .fm248-topbar{min-height:54px!important;padding:7px 9px!important;border-radius:8px!important;box-shadow:0 5px 14px rgba(16,31,48,.07)!important}
body.endpoint-main-field_job .fm248-vessel b{font-size:14px!important}
body.endpoint-main-field_job .fm248-vessel span{font-size:9px!important}
body.endpoint-main-field_job .fm248-status{padding:6px 8px!important;border-radius:5px!important;font-size:8px!important}
body.endpoint-main-field_job .fm248-tabs{position:static!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important;padding:5px 0 0!important;overflow:visible!important;background:transparent!important}
body.endpoint-main-field_job .fm248-tab{min-width:0!important;min-height:34px!important;padding:6px 7px!important;border-radius:5px!important;font-size:9px!important;white-space:normal!important}
body.endpoint-main-field_job .fm248-hero{margin:7px 0!important;padding:12px 13px!important;border-left-width:4px!important;border-radius:8px!important}
body.endpoint-main-field_job .fm248-hero h1{font-size:20px!important}
body.endpoint-main-field_job .fm248-hero p{font-size:11px!important}
body.endpoint-main-field_job .fm248-kpis{gap:6px!important;margin-top:9px!important}
body.endpoint-main-field_job .fm248-kpi{padding:8px 9px!important;border-radius:6px!important}
body.endpoint-main-field_job .fm248-kpi b{font-size:15px!important}
body.endpoint-main-field_job .fm248-kpi span{font-size:7px!important}
body.endpoint-main-field_job .fm248-card{margin:8px 0!important;padding:12px!important;border-radius:8px!important;box-shadow:0 5px 14px rgba(16,31,48,.045)!important;overflow:hidden!important}
body.endpoint-main-field_job .fm248-head{margin-bottom:9px!important}
body.endpoint-main-field_job .fm248-head h2{font-size:16px!important;line-height:1.2!important}
body.endpoint-main-field_job .fm248-head p{font-size:10px!important;line-height:1.35!important}
body.endpoint-main-field_job .fm248-form{gap:8px!important}
body.endpoint-main-field_job .fm248-form label{gap:4px!important;font-size:8px!important;letter-spacing:0!important}
body.endpoint-main-field_job .fm248-form :where(input,select){min-height:38px!important;height:38px!important;padding:7px 9px!important;border-radius:6px!important;font-size:12px!important}
body.endpoint-main-field_job .fm248-form textarea{min-height:66px!important;padding:8px 9px!important;border-radius:6px!important;font-size:12px!important}
body.endpoint-main-field_job .fm248-table-wrap{max-width:100%!important;border-radius:7px!important;overflow:auto!important;scrollbar-gutter:stable!important}
body.endpoint-main-field_job .fm248-cargo-plan-v298{width:100%!important;min-width:0!important;table-layout:fixed!important}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th{padding:7px!important;font-size:7.5px!important}
body.endpoint-main-field_job .fm248-cargo-plan-v298 td{padding:6px!important;font-size:9px!important;overflow-wrap:anywhere!important}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(1){width:7%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(2){width:22%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(3){width:22%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(4){width:10%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(5){width:10%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(6){width:13%}
body.endpoint-main-field_job .fm248-cargo-plan-v298 th:nth-child(7){width:16%}
body.endpoint-main-field_job .fm248-period-bar{grid-template-columns:1.1fr 1fr .8fr .8fr 1.15fr!important;gap:6px!important;padding:8px!important;border-radius:7px!important}
body.endpoint-main-field_job .fm248-period-bar :where(input,select){min-height:36px!important;height:36px!important;font-size:11px!important}
body.endpoint-main-field_job .fm248-stowage-entry{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
body.endpoint-main-field_job .fm248-quantity-hold-card{min-height:0!important;padding:9px!important;gap:7px!important;border-radius:7px!important}
body.endpoint-main-field_job .fm248-quantity-hold-card>header b{font-size:13px!important}
body.endpoint-main-field_job .fm248-quantity-hold-card .fm248-hold-balance strong{font-size:11px!important}
body.endpoint-main-field_job .fm248-quantity-hold-card .fm248-hold-quantity input{height:43px!important;font-size:18px!important;text-align:center!important}
body.endpoint-main-field_job .fm248-entry-list{gap:8px!important}
body.endpoint-main-field_job .fm248-entry-card{padding:9px!important;border-radius:7px!important}
body.endpoint-main-field_job .fm248-entry-grid{gap:6px!important}
body.endpoint-main-field_job .fm248-presets{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}
body.endpoint-main-field_job .fm248-presets button{min-height:35px!important;padding:6px 8px!important;border-radius:6px!important;font-size:9px!important;white-space:normal!important}
body.endpoint-main-field_job .fm248-submit{min-height:41px!important;padding:9px 12px!important;border-radius:6px!important;font-size:11px!important;box-shadow:0 7px 15px rgba(138,42,43,.17)!important}

/* Stuffing Field Mode: discrete screens, compact mobile hierarchy. */
body.endpoint-main-stuffing_field_operation .stuffing-mobile-v295,
body.endpoint-main-stuffing_field_index .stuffing-field-index-v295{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:5px!important;gap:8px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-head-v295{position:sticky!important;top:120px!important;z-index:45!important;grid-template-columns:36px minmax(0,1fr) 8px 36px!important;gap:7px!important;padding:8px 9px!important;border-radius:8px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-head-v295>a{width:36px!important;height:36px!important;border-radius:5px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-head-v295 b{font-size:14px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-head-v295 em{font-size:9px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-containers-v295{gap:6px!important;padding:6px!important;border-radius:7px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-containers-v295 a{flex:0 0 138px!important;min-width:138px!important;min-height:45px!important;padding:7px 8px!important;border-radius:6px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-tabs-v295{position:sticky!important;top:181px!important;z-index:44!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;padding:5px!important;border-radius:7px!important;background:rgba(255,255,255,.98)!important;overflow:visible!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-tabs-v295 a{min-width:0!important;min-height:45px!important;flex-basis:auto!important;padding:4px!important;border-radius:5px!important;font-size:8px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-tabs-v295 svg{width:16px!important;height:16px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295{margin:0!important;padding:0!important;border-radius:8px!important;overflow:hidden!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295>header{padding:9px 10px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295 h2{font-size:14px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295>form:not(.stuffing-mobile-checks-v295){gap:8px!important;padding:10px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295 form>label,
body.endpoint-main-stuffing_field_operation .mobile-field-grid-v295 label,
body.endpoint-main-stuffing_field_operation .mobile-time-grid-v295 label{font-size:8px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295 :where(input,select){min-height:42px!important;height:42px!important;padding:7px 9px!important;border-radius:6px!important;font-size:14px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-card-v295 textarea{min-height:62px!important;padding:8px 9px!important;border-radius:6px!important;font-size:14px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:8px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295 article{grid-template-columns:48px minmax(0,1fr) 32px!important;min-height:66px!important;padding:7px!important;border-radius:6px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295 article>img{width:48px!important;height:48px!important;object-fit:cover!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295 b{font-size:8.5px!important}
body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295 small{font-size:7.5px!important}
body.endpoint-main-stuffing_field_operation .mobile-save-v295{min-height:42px!important;border-radius:6px!important;font-size:10px!important}

@media(max-width:860px){
  body.endpoint-main-field_job .fm248-sticky{top:76px!important}
  body.endpoint-main-field_job .fm248-tabs{display:flex!important;overflow-x:auto!important;scrollbar-width:none!important}
  body.endpoint-main-field_job .fm248-tab{flex:0 0 82px!important}
  body.endpoint-main-field_job .fm248-stowage-entry{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-field_job .fm248-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-stuffing_field_operation .stuffing-mobile-head-v295{top:76px!important}
  body.endpoint-main-stuffing_field_operation .stuffing-mobile-tabs-v295{top:137px!important}
}

@media(max-width:560px){
  body.endpoint-main-field_job .fm248{padding:0!important}
  body.endpoint-main-field_job .fm248-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-field_job .fm248-period-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.endpoint-main-field_job .fm248-period-bar label:last-child{grid-column:1/-1!important}
  body.endpoint-main-field_job .fm248-stowage-entry{grid-template-columns:1fr!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 thead{display:none!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 tbody{display:grid!important;gap:7px!important;padding:7px!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;border:1px solid #dbe3eb!important;border-radius:7px!important;background:#fff!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td{display:grid!important;gap:3px!important;padding:0!important;border:0!important;font-size:10px!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td::before{color:#6a798b;font-size:7px;font-weight:900;text-transform:uppercase}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(1)::before{content:"Hold"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(2)::before{content:"Cargo"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(3)::before{content:"Planned MT"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(4)::before{content:"Moved MT"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(5)::before{content:"Balance"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(6)::before{content:"Status"}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(7){grid-column:1/-1!important}
  body.endpoint-main-field_job .fm248-cargo-plan-v298 td:nth-child(7) button{width:100%!important}
  body.endpoint-main-stuffing_field_operation .stuffing-mobile-v295{padding:0!important}
  body.endpoint-main-stuffing_field_operation .stuffing-mobile-photo-grid-v295{grid-template-columns:1fr!important}
  body.endpoint-main-stuffing_field_operation .mobile-field-grid-v295,
  body.endpoint-main-stuffing_field_operation .mobile-time-grid-v295{grid-template-columns:1fr!important}
  body.endpoint-main-stuffing_field_operation .mobile-time-grid-v295 label:nth-child(3){grid-column:auto!important}
}
