body.nx-redesigned .hub-list button:hover,
body.nx-redesigned .transport-tabs button:hover,
body.nx-redesigned .nx-feature-button:hover{
  background:#f8f1f7;border-color:#d6b9d1;color:#542c50;
}
body.nx-redesigned .hub-list button.active,
body.nx-redesigned .transport-tabs button.active,
body.nx-redesigned .nx-feature-button.active{
  color:#fff;background:#713165;border-color:#713165;
  box-shadow:0 3px 8px rgba(93,31,79,.12);
}
body.nx-redesigned .nx-tools-actions{gap:7px}
body.nx-redesigned .nx-tool-details{
  border-top:1px solid #ede4ed;margin:0 0 20px;padding-top:18px
}
body.nx-redesigned .nx-tool-details>.section-head{padding:0 0 12px;margin:0 0 12px}
body.nx-redesigned .nx-tool-details>.section-head h1{font-size:19px;font-weight:850}
/* Compact but comfortable data tables */
body.nx-redesigned .table-wrap{
  border:1px solid #efe8f0;border-radius:11px;max-width:100%;
}
body.nx-redesigned .table-wrap table{width:100%;border-collapse:separate;border-spacing:0}
body.nx-redesigned .table-wrap th{
  position:sticky;top:0;z-index:3;
  color:#7d6d85;background:#f9f5f9;box-shadow:inset 0 -1px 0 #ede4ee;
  padding:13px 14px;font-size:10px;letter-spacing:.7px;text-transform:uppercase;
}
body.nx-redesigned .table-wrap td{
  border-bottom:1px solid #f0eaf0;color:#46364a;
  font-size:12px;padding:14px;
}
body.nx-redesigned .table-wrap tbody tr:nth-child(even){background:#fdfbfd}
body.nx-redesigned .table-wrap tbody tr:hover{background:#faf2f9}
body.nx-redesigned .table-wrap .link{color:#783b70;font-weight:800}
body.nx-redesigned .table-wrap .pill{font-size:10px;padding:5px 10px}
body.nx-redesigned .panel > .table-wrap,
body.nx-redesigned .panel #orderTable > .table-wrap,
body.nx-redesigned .nx-tool-details .table-wrap{max-height:470px}
/* Lists, controls and form fields */
body.nx-redesigned .item{padding:14px 0;border-color:#f0eaf0}
body.nx-redesigned .timeline{padding:14px 0;border-color:#efe8ef}
body.nx-redesigned .timebadge{background:#f2e8f1;color:#854579;border-radius:10px}
body.nx-redesigned .field{
  border-color:#e5d9e7;border-radius:9px;background:white;color:#37223c;
}
body.nx-redesigned .field:focus{
  outline:2px solid rgba(117,50,103,.19);border-color:#a56a9d
}
body.nx-redesigned .content .button:not(.primary):hover{
  color:#5e2654;background:#f9f3f8;border-color:#d7bed4;
}
body.nx-redesigned .content .button.primary{background:#753267;border-color:#753267;color:white}
body.nx-redesigned .content .button.primary:hover{background:#602657;border-color:#602657}
body.nx-redesigned .transport-btn{border-radius:9px}
body.nx-redesigned .notice{
  border-radius:11px;background:#f9f3f9;color:#704368;border-color:#ead8e8;
  border-left:3px solid #9d6792;font-size:12px;
}
body.nx-redesigned .notice.warn{
  color:#855b21;background:#fff8ed;border-color:#f1dfbf;border-left-color:#d59b3c;
}
body.nx-redesigned .hubcards .hub{
  border-radius:13px;border-color:#e8dfe9;box-shadow:0 3px 11px #41283a07;
}
/* Preserve Leaflet sizing, drag behaviour and layer controls. */
body.nx-redesigned .leaflet-container{font:12px/1.5 sans-serif}
body.nx-redesigned .leaflet-control button{box-shadow:none}
/* Responsive rules */
@media(max-width:1150px){
 body.nx-redesigned .content > .section-head:first-child{padding:25px;min-height:128px}
 body.nx-redesigned .nx-tools-row{align-items:flex-start}
 body.nx-redesigned .nx-tools-actions{justify-content:flex-start}
}
@media(max-width:800px){
 body.nx-redesigned .content > .section-head:first-child{padding:23px 20px;display:block}
 body.nx-redesigned .content > .section-head:first-child h1{font-size:25px}
 body.nx-redesigned .content > .section-head:first-child .actions{margin-top:15px;justify-content:flex-start}
 body.nx-redesigned .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.nx-redesigned .split{grid-template-columns:1fr}
}
@media(max-width:540px){
 body.nx-redesigned .content{padding:16px 12px}
 body.nx-redesigned .content > .section-head:first-child{border-radius:14px;padding:21px 17px}
 body.nx-redesigned .content > .section-head:first-child h1{font-size:23px}
 body.nx-redesigned .content > .section-head:first-child .actions{gap:7px}
 body.nx-redesigned .content > .section-head:first-child .actions .button{padding:9px 10px}
 body.nx-redesigned .content .grid .metric{padding:15px}
 body.nx-redesigned .metric .value{font-size:25px}
 body.nx-redesigned .card.panel{padding:15px}
 body.nx-redesigned .table-wrap th,body.nx-redesigned .table-wrap td{padding:11px 10px}
 body.nx-redesigned .panel > .table-wrap,
 body.nx-redesigned .panel #orderTable > .table-wrap,
 body.nx-redesigned .nx-tool-details .table-wrap{max-height:365px}
}

/* Transport and runs are now part of each hub workspace */
.nx-hub-transport{margin:0 0 22px;min-width:0}
.nx-hub-transport-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.nx-hub-transport-head h2{font-size:20px;font-weight:850;color:#36233a}
.nx-hub-transport-head p{font-size:12px;color:#86788d;margin:5px 0 0}
.nx-hub-transport-tabs{display:flex;gap:8px;margin:0 0 16px;padding:9px 11px;border:1px solid #e9dfe9;border-radius:12px;background:#fff}
.nx-hub-transport .transport-layout,.nx-hub-transport .transport-workspace{min-width:0}
@media(max-width:700px){.nx-hub-transport-head h2{font-size:18px}.nx-hub-transport-tabs{flex-wrap:wrap}}

/* Independent workspace screens: feature selection replaces the original content */
.nx-feature-workspace{min-width:0;margin:0 0 24px}
.nx-feature-workspace>.block:first-child{margin-top:0}
.nx-feature-workspace>.card.panel{margin-top:0}
.nx-workspace-nav{margin-bottom:22px!important}
.nx-workspace-nav .hub-list{flex:0 0 auto}
.nx-workspace-nav .nx-tools-actions{min-width:0}
.nx-home-button{font-weight:850!important}
@media(max-width:900px){
 .nx-workspace-nav{flex-wrap:wrap}
 .nx-workspace-nav .hub-list{flex:1 1 100%}
 .nx-workspace-nav .nx-tools-actions{flex:1 1 100%}
}

/* Compact Hub Overview — balanced columns, no scattered boxes */
body[data-nx-page="hubs"] .nx-hub-dashboard{display:flex;flex-direction:column;gap:14px;margin-top:0}
.nx-hub-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.nx-hub-stat{position:relative;overflow:hidden;border:1px solid #e9dfe9;border-radius:13px;background:white;padding:16px 18px 17px;min-width:0}
.nx-hub-stat-name{display:block;font-size:11px;font-weight:750;color:#77667e}
.nx-hub-stat-value{font-weight:850;color:#322039;font-size:29px;line-height:1.15;letter-spacing:-.8px;margin:6px 0 3px}
.nx-hub-stat small{color:#95869a;font-size:11px}
.nx-hub-stat-accent{position:absolute;bottom:0;left:0;height:3px;width:100%;background:#84517c}
.nx-hub-stat-accent-1{background:#a26cac}.nx-hub-stat-accent-2{background:#d6a259}.nx-hub-stat-accent-3{background:#3baf83}
.nx-hub-route-note{display:flex;align-items:center;gap:9px;padding:11px 14px;color:#704367;border:1px solid #e9d9e7;background:#fbf6fa;border-radius:11px;font-size:12px}
.nx-hub-route-note>span:first-child{font-size:17px}.nx-hub-route-note>strong{white-space:nowrap}
.nx-hub-content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);align-items:start;gap:14px}
.nx-hub-side{display:flex;flex-direction:column;gap:14px;min-width:0}
.nx-hub-section{border:1px solid #e8dfe9;border-radius:14px;background:#fff;overflow:hidden;min-width:0;box-shadow:0 4px 14px #36223a06}
.nx-hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 19px 14px;border-bottom:1px solid #f0e9f0}
.nx-hub-section-head h2{font-size:15px;font-weight:850;color:#38273c;margin:0 0 4px}
.nx-hub-section-head p{margin:0;font-size:11px;color:#96859a}
.nx-hub-counter{font-size:11px;color:#814878;background:#f7eef6;border-radius:20px;padding:6px 9px;white-space:nowrap;font-weight:750}
.nx-hub-order-table{padding:12px;min-width:0}
.nx-hub-order-table>.table-wrap{max-height:550px;overflow:auto;border:1px solid #eee7ef;border-radius:10px}
.nx-hub-order-table table{width:100%}
.nx-hub-order-table th{position:sticky;top:0;background:#faf6fa;z-index:3}
.nx-hub-order-table td{padding:12px 11px}
.nx-hub-list{max-height:258px;overflow-y:auto;overscroll-behavior:contain}
.nx-hub-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #f2edf2;padding:12px 18px;min-width:0}
.nx-hub-row:last-child{border-bottom:0}
.nx-hub-row:hover{background:#fcf8fc}
.nx-hub-row-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;font-weight:900}
.nx-hub-delivered{background:#e8f7ef;color:#14845c}.nx-hub-pallet{background:#f4e8f1;color:#8b4a83}
.nx-hub-row-body{display:block;min-width:0;flex:1}
.nx-hub-row-body strong{display:block;font-size:12px;color:#3b2940;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.nx-hub-row-body small{display:block;font-size:11px;color:#938498;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px}
.nx-hub-destination{font-weight:500;color:#97869b}
.nx-hub-row-action{color:#824678;font-size:11px;font-weight:750;white-space:nowrap}
.nx-hub-empty{font-size:12px;padding:22px;color:#8b7b91}
@media(max-width:1020px){.nx-hub-content-grid{grid-template-columns:1fr}.nx-hub-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.nx-hub-list{max-height:300px}}
@media(max-width:720px){.nx-hub-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-hub-side{grid-template-columns:1fr}.nx-hub-route-note{flex-wrap:wrap}.nx-hub-order-table{padding:7px}.nx-hub-stat{padding:13px}}

/* Day run cards: compact by default and expandable on demand */
.nx-hub-transport .transport-summary{gap:11px;margin:12px 0 14px}
.nx-hub-transport .transport-summary .card{padding:15px;border:1px solid #e9dfe9;border-radius:12px;box-shadow:none}
.nx-hub-transport .transport-summary strong{font-size:22px;margin:4px 0}
.nx-run-summary{display:flex;flex-wrap:wrap;align-items:center;gap:18px;background:linear-gradient(110deg,#44213d,#723263);color:#fff;border-radius:14px;padding:17px 20px;margin:14px 0 18px}
.nx-run-summary-choice{flex:1 1 180px}.nx-run-summary-choice label{display:block;font-size:10px;letter-spacing:1px;color:#e5cce0;font-weight:800;margin-bottom:7px}
.nx-run-summary-choice select{width:100%;background:#fff;border:0;color:#42223e;padding:9px 11px}
.nx-run-summary-metric{display:flex;flex-direction:column;gap:3px;min-width:75px}
.nx-run-summary-metric span{color:#ead5e6;font-size:11px}.nx-run-summary-metric strong{font-size:22px;font-weight:850;white-space:nowrap}
.nx-run-summary-weight{min-width:190px}.nx-run-summary-weight small{font-size:10px;color:#e7cfe1}
.nx-weights-config{background:#ffffff1c;color:white;border:1px solid #ffffff66;border-radius:8px;padding:10px 12px;font-size:11px;font-weight:750}
.nx-runs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}
.nx-runs-toolbar h3{font-size:17px;margin:0 0 3px;color:#342238}.nx-runs-toolbar span{font-size:11px;color:#88758d}
.nx-runs-toolbar-actions{display:flex;gap:7px;flex-wrap:wrap}
.nx-runs-toolbar-actions button{background:#fff;border:1px solid #e5d6e3;border-radius:8px;padding:8px 11px;color:#704266;font-size:11px;font-weight:800}
.nx-runs-toolbar-actions .nx-add-run{background:#713165;color:white;border-color:#713165}
.nx-hub-transport .nx-compact-runs{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:11px;margin:0 0 18px}
.nx-hub-transport .nx-compact-run{padding:0;min-width:0;overflow:hidden;border:1px solid #e8dfe9;border-top:4px solid var(--run-color);border-radius:12px;background:#fff;box-shadow:0 3px 12px #4020390a}
.nx-compact-run-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:13px 13px 4px}
.nx-run-choose{display:flex;align-items:center;text-align:left;gap:8px;flex:1;min-width:0;border:0;background:transparent;padding:0}
.nx-run-emoji{display:grid;place-items:center;width:33px;height:33px;background:#f7edf5;border-radius:9px;font-size:17px;flex:none}
.nx-run-heading-copy{min-width:0}.nx-run-heading-copy strong{font-size:12px;color:#3d2941;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nx-run-heading-copy small{font-size:10px;margin:2px 0;color:#917f94}
.nx-run-toggle{background:#fcf8fb;border:1px solid #e8dbe7;border-radius:7px;padding:8px;font-size:10px;font-weight:800;color:#743e69;white-space:nowrap}
.nx-run-figures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px 13px}
.nx-run-figures>div{background:#faf5fa;border-radius:8px;padding:8px;min-width:0}
.nx-run-figures b{display:block;font-size:15px;color:#39233c;white-space:nowrap}
.nx-run-figures small{display:block;font-size:10px;color:#958498;margin-top:4px}
.nx-weight-warning{color:#a4762d;font-size:10px;padding:0 13px 8px}
.nx-compact-run-actions{border-top:1px solid #f0eaf0;padding:10px 13px;display:flex;gap:7px}
.nx-compact-run-actions button{background:#f9f3f8;color:#774a70;border:1px solid #e6dce5;border-radius:7px;padding:8px 9px;font-size:11px;font-weight:750}
.nx-run-extra{border-top:1px solid #e9dce8;padding:13px;background:#fdfafd}
.nx-run-extra[hidden]{display:none!important}
.nx-run-extra-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:7px;font-size:11px}
.nx-run-extra-heading button{background:white;border:1px solid #e3d5e3;border-radius:7px;padding:6px 9px;color:#704266;font-size:10px}
.nx-run-delete{border-top:1px solid #f0e4ee;margin-top:12px;padding-top:10px;text-align:right}
.nx-run-delete button{border:1px solid #ecc9d1;background:#fff8f9;color:#a34552;padding:7px 9px;border-radius:7px;font-size:11px}
@media(max-width:900px){.nx-hub-transport .nx-compact-runs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.nx-hub-transport .nx-compact-runs{grid-template-columns:1fr}.nx-runs-toolbar{align-items:flex-start;flex-direction:column}.nx-run-summary{gap:13px}}

body[data-nx-page="hubs"] .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap}
body[data-nx-page="hubs"] .section-head>.hub-list{display:flex;flex:0 1 auto;justify-content:flex-end;gap:7px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
body[data-nx-page="hubs"] .section-head>.hub-list button{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;border-radius:8px;padding:9px 12px;font-size:12px;white-space:nowrap}
body[data-nx-page="hubs"] .section-head>.hub-list button.active{background:#fff;color:#55224a;border-color:#fff}
body[data-nx-page="hubs"] .nx-hub-workspace-nav>.hub-list{display:none}
@media(max-width:780px){body[data-nx-page="hubs"] .section-head>.hub-list{width:100%;justify-content:flex-start;flex-wrap:wrap}}

/* Keep hub filter controls beside the bottom line of the purple header. */
@media(min-width:781px){body.nx-redesigned[data-nx-page="hubs"] .content>.section-head:first-child>.hub-list{position:absolute!important;right:31px;bottom:17px;top:auto!important;align-self:auto!important;margin:0!important;z-index:2}}
@media(max-width:780px){body.nx-redesigned[data-nx-page="hubs"] .content>.section-head:first-child{align-items:flex-start;flex-direction:column}body.nx-redesigned[data-nx-page="hubs"] .content>.section-head:first-child>.hub-list{position:static!important;align-self:flex-start;margin-top:9px!important}}

/* Unified header positioning for Warehouse, Pallets, and Crates */
@media(min-width:781px){
 body.nx-redesigned[data-nx-page="warehouse"] .content>.section-head:first-child,
 body.nx-redesigned[data-nx-page="pallets"] .content>.section-head:first-child,
 body.nx-redesigned[data-nx-page="crates"] .content>.section-head:first-child{position:relative;min-height:155px;padding-bottom:35px}
 body.nx-redesigned .content>.section-head:first-child>.nx-header-hub-filters{
   position:absolute!important;right:31px;bottom:17px;top:auto!important;
   display:flex;justify-content:flex-end;gap:7px;align-items:center;
   width:auto;margin:0!important;padding:0;border:0;background:transparent;
   box-shadow:none;z-index:2
 }
}
body.nx-redesigned .content>.section-head:first-child>.nx-header-hub-filters button{
 border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:white;
 border-radius:8px;padding:9px 12px;font-size:12px;white-space:nowrap
}
body.nx-redesigned .content>.section-head:first-child>.nx-header-hub-filters button.active{
 background:#fff;color:#55224a;border-color:#fff
}
@media(max-width:780px){
 body.nx-redesigned .content>.section-head:first-child>.nx-header-hub-filters{
   position:static!important;display:flex;flex-wrap:wrap;justify-content:flex-start;
   width:100%;margin:9px 0 0!important;padding:0;border:0;background:transparent;box-shadow:none
 }
}

.nx-holiday-toolbar{display:flex;justify-content:flex-end;margin:12px 0 16px;gap:10px}
@media(max-width:640px){.nx-holiday-toolbar{justify-content:flex-start}}

/* Workspace navigation: start flush left and distribute available width. */
body[data-nx-page="hubs"] .nx-tools-row,
body[data-nx-page="warehouse"] .nx-tools-row{
 justify-content:flex-start;
}
body[data-nx-page="hubs"] .nx-tools-row>.nx-tools-actions,
body[data-nx-page="warehouse"] .nx-tools-row>.nx-tools-actions{
 flex:1 1 100%;
 width:100%;
 min-width:0;
 margin:0!important;
 display:flex;
 justify-content:flex-start;
 align-items:stretch;
 flex-wrap:wrap;
 gap:8px;
}
body[data-nx-page="hubs"] .nx-tools-row>.nx-tools-actions>.nx-feature-button,
body[data-nx-page="warehouse"] .nx-tools-row>.nx-tools-actions>.nx-feature-button{
 flex:1 1 auto;
 min-width:max-content;
 text-align:center;
}
body[data-nx-page="hubs"] .nx-workspace-nav,
body[data-nx-page="warehouse"] .nx-workspace-nav{
 padding-left:12px;
 padding-right:12px;
}
@media(max-width:700px){
 body[data-nx-page="hubs"] .nx-tools-row>.nx-tools-actions>.nx-feature-button,
 body[data-nx-page="warehouse"] .nx-tools-row>.nx-tools-actions>.nx-feature-button{flex:1 1 calc(50% - 8px);min-width:0;white-space:normal;}
}

/* Warehouse overview and crate tracking: align the bottom edges of both columns */
@media(min-width:901px){
 body.nx-redesigned .nx-equal-panels{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);
  align-items:stretch;
  gap:16px;
 }
 body.nx-redesigned .nx-equal-panels>.card.panel{
  min-width:0;
  height:100%;
  margin:0;
 }
 body.nx-redesigned .nx-crate-panels>#outstanding{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
  height:100%;
 }
 body.nx-redesigned .nx-crate-panels>#outstanding>.card.panel{
  flex:1 1 0;
  min-height:0;
  margin:0;
 }
}
@media(max-width:900px){
 body.nx-redesigned .nx-equal-panels{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:16px;
 }
 body.nx-redesigned .nx-crate-panels>#outstanding{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
 }
 body.nx-redesigned .nx-crate-panels>#outstanding>.card.panel{min-width:0;margin:0}
}
@media(max-width:580px){
 body.nx-redesigned .nx-crate-panels>#outstanding{grid-template-columns:minmax(0,1fr)}
}

/* User management filters live in the purple heading, actions in staff directory */
@media(min-width:781px){
 body.nx-redesigned[data-nx-page="accounts"] .content>.section-head:first-child{
  position:relative;min-height:155px;padding-bottom:35px;
 }
}
body.nx-redesigned[data-nx-page="accounts"] .content>.section-head:first-child>.nx-header-hub-filters{
 display:flex;align-items:center;justify-content:flex-end;gap:7px;
 flex-wrap:wrap;width:auto;margin:0!important;padding:0;
 border:0;background:transparent;box-shadow:none;z-index:2;
}
@media(min-width:781px){
 body.nx-redesigned[data-nx-page="accounts"] .content>.section-head:first-child>.nx-header-hub-filters{
 position:absolute!important;right:31px;bottom:17px;top:auto!important;
 }
}
@media(max-width:780px){
 body.nx-redesigned[data-nx-page="accounts"] .content>.section-head:first-child>.nx-header-hub-filters{
 position:static!important;justify-content:flex-start;width:100%;margin-top:9px!important;
 }
}

/* Hub overview: match the right stack to the full height of the customer orders panel. */
@media(min-width:1021px){
 body[data-nx-page="hubs"] .nx-hub-content-grid{
   display:grid;
   grid-template-columns:minmax(0,1.35fr) minmax(310px,1fr);
   align-items:stretch;
   gap:14px;
 }
 body[data-nx-page="hubs"] .nx-hub-content-grid>.nx-hub-side{
   display:grid;
   grid-template-columns:minmax(0,1fr);
   grid-template-rows:repeat(2,minmax(0,1fr));
   align-self:stretch;
   height:100%;
   min-height:0;
   gap:14px;
 }
 body[data-nx-page="hubs"] .nx-hub-side>.nx-hub-section{
   display:flex;
   flex-direction:column;
   min-height:0;
   height:100%;
 }
 body[data-nx-page="hubs"] .nx-hub-side>.nx-hub-section>.nx-hub-section-head{
   flex:0 0 auto;
 }
 body[data-nx-page="hubs"] .nx-hub-side>.nx-hub-section>.nx-hub-list{
   flex:1 1 0;
   min-height:0;
   max-height:none;
   overflow-y:auto;
   overflow-x:hidden;
   overscroll-behavior:contain;
   scrollbar-gutter:stable;
 }
}
@media(min-width:721px) and (max-width:1020px){
 body[data-nx-page="hubs"] .nx-hub-side{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
 }
 body[data-nx-page="hubs"] .nx-hub-side>.nx-hub-section{
  display:flex;flex-direction:column;min-height:0;
 }
 body[data-nx-page="hubs"] .nx-hub-side>.nx-hub-section>.nx-hub-list{
  flex:1;overflow-y:auto;min-height:0;
 }
}

/* Visible independent scrollbar tracks in Hub overview test lists. */
body[data-nx-page="hubs"] .nx-hub-side .nx-hub-list{
 overflow-y:scroll!important;
 scrollbar-gutter:stable;
 scrollbar-width:thin;
 scrollbar-color:#9e8a9d #f5f0f5;
}
body[data-nx-page="hubs"] .nx-hub-side .nx-hub-list::-webkit-scrollbar{width:9px}
body[data-nx-page="hubs"] .nx-hub-side .nx-hub-list::-webkit-scrollbar-track{background:#f5f0f5}


/* Keep customer balances within the crate tracking card. */
body.nx-redesigned .nx-crate-panels #outstanding > .card.panel:last-child {
 display:flex;
 flex-direction:column;
 overflow:hidden;
}
body.nx-redesigned .nx-crate-panels .nx-customer-balances-scroll {
 flex:1 1 auto;
 min-height:0;
 max-height:300px;
 overflow-y:auto;
 scrollbar-gutter:stable;
}
body.nx-redesigned .nx-crate-panels .nx-customer-balances-scroll:focus-visible {
 outline:2px solid #754279;
 outline-offset:-2px;
}
