.nx-notification-bell{position:relative;display:grid;place-items:center;width:38px;height:38px;border:1px solid #e3dce9;border-radius:11px;background:#fff;color:#63348a;cursor:pointer}.nx-notification-bell svg{width:21px;height:21px}.nx-notification-count{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:#7945a6;color:white;border-radius:10px;font-size:10px;font-weight:800;border:2px solid #fff}.nx-notification-count[hidden],.nx-notification-bell[hidden],.nx-notification-panel[hidden]{display:none}.nx-live-toasts{position:fixed;right:24px;bottom:24px;z-index:12000;width:min(355px,calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;pointer-events:none}.nx-live-toast{position:relative;border:1px solid #e5d9ee;border-left:4px solid #8051a3;border-radius:14px;background:#fff;box-shadow:0 10px 36px #39234a25;padding:18px 38px 16px 18px;pointer-events:auto;animation:nx-order-arrive .22s ease-out;color:#362441;font-size:13px}.nx-live-toast>strong{display:block;font-size:14px;color:#643887;margin-bottom:9px}.nx-live-toast>b{display:block;margin-bottom:5px}.nx-live-toast p{margin:4px 0;color:#6d6277;line-height:1.5}.nx-live-toast small{display:block;color:#8b7f94}.nx-live-link{border:0;background:none;color:#71439a;font:inherit;font-size:12px;font-weight:750;padding:5px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.nx-live-toast>.nx-live-link{margin-top:7px}.nx-live-close{border:0;background:transparent;font-size:22px;color:#7d7086;cursor:pointer;line-height:1;padding:4px}.nx-live-toast>.nx-live-close{position:absolute;right:10px;top:10px}.nx-notification-panel{position:fixed;right:24px;top:72px;z-index:11990;width:min(405px,calc(100vw - 24px));max-height:calc(100dvh - 100px);border:1px solid #e4d9ec;border-radius:15px;background:#fff;box-shadow:0 12px 44px #39234a30;color:#392a44;overflow:hidden;display:flex;flex-direction:column}.nx-notification-heading{display:flex;align-items:center;gap:14px;padding:15px 16px;border-bottom:1px solid #eee7f3}.nx-notification-heading>strong{margin-right:auto;font-size:15px}.nx-notification-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:11px 16px;background:#faf7fc;font-size:11px;color:#75647f}.nx-sound-preference{display:flex;align-items:center;gap:6px}.nx-notification-history{overflow-y:auto;overscroll-behavior:contain}.nx-notification-item{border-bottom:1px solid #eee7f3;padding:14px 17px;font-size:12px}.nx-notification-item.unread{background:#f7f1fc;border-left:3px solid #9567b7;padding-left:14px}.nx-notification-item>strong{display:block;margin-bottom:5px;font-size:12px;color:#653c85}.nx-notification-item p{line-height:1.45;color:#796c82;margin:4px 0}.nx-notification-item time{color:#958b9b;font-size:10px}.nx-notification-actions{display:flex;gap:18px;margin-top:5px}.nx-notification-foot,.nx-notification-empty{margin:0;padding:13px 16px;font-size:11px;color:#8b7f94}.nx-live-conflict{display:flex;gap:12px;align-items:center;justify-content:space-between;border-color:#e0caed;background:#fbf5ff}.nx-notification-panel button:focus-visible,.nx-live-toasts button:focus-visible,.nx-notification-bell:focus-visible{outline:3px solid #9b70be;outline-offset:3px}@keyframes nx-order-arrive{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.nx-live-toasts{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}.nx-notification-panel{right:12px;top:68px;max-height:calc(100dvh - 90px)}.nx-live-conflict{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.nx-live-toast{animation:none}}

.nx-live-toast b,.nx-notification-item>div{overflow-wrap:anywhere}

@media(min-width:781px){body.nx-redesigned[data-nx-page="orders"] .content>.section-head:first-child:has(>.nx-header-hub-filters){position:relative;min-height:175px;padding-bottom:65px}}
@media(max-width:780px){body.nx-redesigned[data-nx-page="orders"] .content>.section-head:first-child>.nx-header-hub-filters{display:flex;flex-wrap:wrap;gap:7px;width:100%;margin-top:12px!important}}

/* Hub order register: independent vertical scrolling, sticky table headings */
.nx-hub-order-scroll{max-height:550px;overflow:auto;overscroll-behavior:contain;border:1px solid #eadfe8;border-radius:9px;scrollbar-width:thin;scrollbar-color:#9d78a0 #f8f5f8}
.nx-hub-order-scroll .table-wrap{overflow:visible}
.nx-hub-order-scroll table{width:100%;border-collapse:separate;border-spacing:0}
.nx-hub-order-scroll thead{position:sticky;top:0;z-index:2;background:#f7f1f6}
.nx-hub-order-scroll th{background:#f7f1f6}
.nx-order-scroll-hint{font-size:12px;color:#88748a;margin-top:10px}
@media(max-width:780px){.nx-hub-order-scroll{max-height:65vh}}

/* Visible warehouse queue scrollbar; preserve existing 520px max-height. */
body[data-nx-page="warehouse"] .nx-warehouse-full-queue .table-wrap{overflow-y:scroll;scrollbar-width:auto;scrollbar-color:#854984 #f4edf4}
body[data-nx-page="warehouse"] .nx-warehouse-full-queue .table-wrap::-webkit-scrollbar{width:12px}
body[data-nx-page="warehouse"] .nx-warehouse-full-queue .table-wrap::-webkit-scrollbar-track{background:#f4edf4;border-radius:10px}
body[data-nx-page="warehouse"] .nx-warehouse-full-queue .table-wrap::-webkit-scrollbar-thumb{background:#854984;border:2px solid #f4edf4;border-radius:10px}

/* Standardise workspace hero header sizes to the Hub Workspaces header.
   The main Overview hero, and the Hub hero used as reference, stay unchanged. */
@media(min-width:901px){
  body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) .content>.section-head:first-child,
  body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) :is(.sl-root,.dh-root)>.section-head:first-child{
    box-sizing:border-box;
    height:136px;
    min-height:136px;
    padding:23px 26px;
    margin-bottom:20px;
    border-radius:13px;
  }
  body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) .content>.section-head:first-child h1,
  body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) :is(.sl-root,.dh-root)>.section-head:first-child h1{
    font-size:26px;
  }
  body.nx-redesigned[data-nx-page="orders"] .content>.section-head:first-child:has(>.nx-header-hub-filters),
  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,
  body.nx-redesigned[data-nx-page="accounts"] .content>.section-head:first-child{
    height:136px;
    min-height:136px;
    padding:23px 26px;
  }
  body.nx-redesigned .content>.section-head:first-child>.nx-header-hub-filters,
  body.nx-redesigned[data-nx-page="hubs"] .content>.section-head:first-child>.hub-list{
    right:26px;
  }
}
@media(max-width:900px){
 body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) .content>.section-head:first-child,
 body.nx-redesigned:not([data-nx-page="overview"]):not([data-nx-page="hubs"]) :is(.sl-root,.dh-root)>.section-head:first-child{
   height:auto;
   min-height:136px;
 }
}

/* Hide redundant breadcrumb text while retaining top-bar notification and account controls. */
body.nx-redesigned .top .crumb{display:none!important}

/* Top-bar cleanup: applies to every page including main Overview. */
.main>.top .crumb{display:none!important}
.main>.top{display:flex;align-items:center;width:100%;box-sizing:border-box}
.main>.top .topright{margin-left:auto!important;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto}
.main>.top .nx-menu-button{flex:0 0 auto}
@media(max-width:700px){.main>.top .topright{gap:8px;margin-left:auto!important}}

/* Classic vehicles from the original Nexus login SVG, driving across the top navigation. */
.main>.top{position:relative;isolation:isolate;overflow:hidden;}
.main>.top .nx-top-traffic{
 position:absolute;inset:0 320px 0 0;overflow:hidden;
 pointer-events:none;z-index:0;
}
.main>.top .nx-top-traffic img{
 position:absolute;display:block;width:auto;
 height:54px;max-width:none;object-fit:contain;
 pointer-events:none;will-change:transform;
}
.main>.top .nx-traffic-van{top:17px;left:0;animation:nx-van-drive 23s linear infinite;}
.main>.top .nx-traffic-lorry{top:5px;left:0;height:64px;animation:nx-lorry-drive 27s linear infinite;}
@keyframes nx-van-drive{0%,8%{transform:translateX(-240px)}85%,100%{transform:translateX(calc(100vw - 320px))}}
@keyframes nx-lorry-drive{0%,14%{transform:translateX(calc(100vw - 320px)) scaleX(-1)}91%,100%{transform:translateX(-240px) scaleX(-1)}}
.main>.top>.nx-menu-button,.main>.top>.topright{position:relative;z-index:2}
.main>.top>.topright{margin-left:auto!important;background:#fff}
@media(max-width:1100px){.main>.top .nx-top-traffic{right:270px}}
@media(max-width:700px){.main>.top .nx-top-traffic{display:none}}
@media(prefers-reduced-motion:reduce){.main>.top .nx-top-traffic{display:none!important}}

/* Classic loading animation: outward-facing vehicles park, boxes load, both depart. */
.main>.top .nx-loading-scene{position:absolute;inset:0 318px 0 4px;overflow:hidden;z-index:0;pointer-events:none}
.main>.top .nx-loading-stage{position:relative;max-width:820px;height:100%;margin:0 auto;overflow:hidden}
.main>.top .nx-loading-stage img{position:absolute;height:auto;max-width:none;object-fit:contain;pointer-events:none}
.main>.top .nx-load-truck{width:186px!important;height:72px!important;left:calc(50% - 205px);top:4px;animation:nx-load-truck 18s ease-in-out infinite}
.main>.top .nx-load-van{width:144px!important;height:67px!important;left:calc(50% + 64px);top:8px;animation:nx-load-van 18s ease-in-out infinite}
.main>.top .nx-load-worker{width:43px!important;height:70px!important;left:calc(50% - 22px);top:5px;animation:nx-load-worker 18s ease-in-out infinite}
.main>.top .nx-load-box{position:absolute;display:block;width:13px;height:13px;top:39px;left:calc(50% - 5px);border:1px solid #91623c;border-radius:2px;background:linear-gradient(140deg,#e8be82,#b8864e);opacity:0;animation:nx-load-box 18s linear infinite}
.main>.top .nx-load-box.box-b{animation-delay:-1.8s}
@keyframes nx-load-truck{
 0%,7%{transform:translateX(-420px);opacity:0}
 18%,56%{transform:translateX(0);opacity:1}
 84%,100%{transform:translateX(-520px);opacity:0}
}
@keyframes nx-load-van{
 0%,7%{transform:translateX(470px);opacity:0}
 18%,56%{transform:translateX(0);opacity:1}
 84%,100%{transform:translateX(570px);opacity:0}
}
@keyframes nx-load-worker{
 0%,13%{opacity:0;transform:translateY(6px)}
 20%,57%{opacity:1;transform:translateY(0)}
 27%,33%,39%,45%{transform:translateY(-3px)}
 70%,85%{opacity:1;transform:translateY(0) rotate(-4deg)}
 95%,100%{opacity:0}
}
@keyframes nx-load-box{
 0%,22%{opacity:0;transform:translate(0,0) rotate(0deg)}
 26%,31%{opacity:1;transform:translate(0,-5px) rotate(-12deg)}
 38%{opacity:1;transform:translate(-65px,-5px) rotate(-12deg)}
 42%,100%{opacity:0;transform:translate(-80px,-7px)}
}
@media(max-width:1120px){.main>.top .nx-loading-scene{right:245px}.main>.top .nx-loading-stage{transform:scale(.8)}}
@media(max-width:750px){.main>.top .nx-loading-scene{display:none!important}}
@media(prefers-reduced-motion:reduce){.main>.top .nx-loading-scene{display:none!important}}

/* Vehicle artwork refresh: photographic cartoon sprites, unique filenames to bypass old browser assets */
.main>.top .nx-loading-stage .nx-load-truck{width:200px!important;height:77px!important;top:1px!important;left:calc(50% - 207px)!important}
.main>.top .nx-loading-stage .nx-load-van{width:155px!important;height:77px!important;top:1px!important;left:calc(50% + 58px)!important}

/* v5: animate a separate box delivery to EACH vehicle before departure.
   Timeline: arrive → carry to lorry → return → carry to van → return → depart. */
.main>.top .nx-loading-stage .nx-load-truck{
 animation:nx-v5-truck 22s ease-in-out infinite!important;
}
.main>.top .nx-loading-stage .nx-load-van{
 animation:nx-v5-van 22s ease-in-out infinite!important;
}
.main>.top .nx-loading-stage .nx-load-worker{
 animation:nx-v5-worker 22s ease-in-out infinite!important;
 transform-origin:center bottom;
 z-index:3;
}
.main>.top .nx-loading-stage .nx-load-box{
 width:15px;height:13px;
 top:34px;
 left:calc(50% - 4px);
 border:1.5px solid #a07144;
 background:linear-gradient(120deg,#f6d8a0,#bb8246);
 box-shadow:inset 3px 0 rgba(255,235,199,.45);
 z-index:5;
 opacity:0;
}
.main>.top .nx-loading-stage .box-a{
 animation:nx-v5-box-lorry 22s linear infinite!important;
}
.main>.top .nx-loading-stage .box-b{
 animation:nx-v5-box-van 22s linear infinite!important;
}
.main>.top .nx-loading-stage .nx-load-stock{
 display:block;position:absolute;
 top:58px;left:calc(50% - 17px);
 width:36px;height:7px;
 border-radius:1px;background:#bd945c;
 border-bottom:3px solid #8f633f;
 box-shadow:0 2px 0 #f2e8dd;
 z-index:1;
 animation:nx-v5-pallet 22s ease-in-out infinite;
}
@keyframes nx-v5-truck{
 0%,6%{transform:translateX(-420px);opacity:0}
 17%,76%{transform:translateX(0);opacity:1}
 94%,100%{transform:translateX(-520px);opacity:0}
}
@keyframes nx-v5-van{
 0%,6%{transform:translateX(470px);opacity:0}
 17%,76%{transform:translateX(0);opacity:1}
 94%,100%{transform:translateX(570px);opacity:0}
}
@keyframes nx-v5-worker{
 0%,12%{transform:translateX(0);opacity:0}
 17%,24%{transform:translateX(0);opacity:1}
 30%,38%{transform:translateX(-61px) rotate(-3deg);opacity:1}
 45%,50%{transform:translateX(0);opacity:1}
 57%,65%{transform:translateX(67px) rotate(3deg);opacity:1}
 72%,77%{transform:translateX(0);opacity:1}
 83%,100%{transform:translateX(0);opacity:0}
}
@keyframes nx-v5-box-lorry{
 0%,23%{transform:translate(0,0);opacity:0}
 25%{transform:translate(0,0);opacity:1}
 30%{transform:translate(-48px,-6px);opacity:1}
 37%{transform:translate(-81px,-9px);opacity:1}
 40%,100%{transform:translate(-81px,-9px);opacity:0}
}
@keyframes nx-v5-box-van{
 0%,50%{transform:translate(0,0);opacity:0}
 52%{transform:translate(0,0);opacity:1}
 57%{transform:translate(49px,-5px);opacity:1}
 63%{transform:translate(90px,-8px);opacity:1}
 66%,100%{transform:translate(90px,-8px);opacity:0}
}
@keyframes nx-v5-pallet{
 0%,12%{opacity:0}
 18%,76%{opacity:1}
 84%,100%{opacity:0}
}
@media(prefers-reduced-motion:reduce){
 .main>.top .nx-loading-scene{display:none!important}
}

/* Label Station workspace redesign — scoped to label controls, preserves the QR workflow. */
.nx-label-workspace{display:grid;gap:17px;margin:18px 0 26px}
.nx-label-workspace *{box-sizing:border-box}
.nx-label-panel{border:1px solid #e7dce7;background:#fff;border-radius:14px;box-shadow:0 3px 15px rgba(66,25,61,.035);padding:20px 22px;min-width:0}
.nx-label-panel-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:17px}
.nx-label-panel-head h2,.nx-label-register-head h2{margin:0;color:#391b37;font-size:17px;line-height:1.35;font-weight:800}
.nx-label-panel-head p,.nx-label-register-head p{margin:5px 0 0;color:#8a778c;font-size:12px;line-height:1.55}
.nx-label-section-number{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;background:#f3e7f1;color:#6f3365;font-size:12px;font-weight:800}
.nx-label-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nx-label-type{display:flex;align-items:center;text-align:left;gap:13px;min-height:78px;padding:14px;border:1px solid #e5d7e4;border-radius:11px;background:#fcf9fc;cursor:pointer;color:#573253;transition:border-color .15s,background .15s,box-shadow .15s}
.nx-label-type:hover{border-color:#a476a0;background:#f9f1f8}
.nx-label-type.active{border-color:#7c3a71;background:#f5eaf3;box-shadow:inset 0 0 0 1px #7c3a71}
.nx-label-type-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;color:#864c7f;background:#eee1ed;font-size:22px;font-weight:700}
.nx-label-type.active .nx-label-type-icon{background:#713064;color:#fff}
.nx-label-type-text{display:grid;gap:4px;min-width:0;flex:1}
.nx-label-type-text b{font-size:13px;color:#401d3b}.nx-label-type-text small{color:#89758b;font-size:11px;line-height:1.4}
.nx-label-type-arrow{font-size:25px;color:#a68aa2}
.nx-label-create-body{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:4px}
.nx-label-create-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.nx-label-create-actions>.button{min-height:42px;border-radius:8px}
.nx-label-identity{display:grid;gap:3px;min-width:165px;border-left:1px solid #eadfea;padding-left:19px}
.nx-label-identity span,.nx-label-identity small{color:#917c94;font-size:11px}
.nx-label-identity strong{font-size:15px;color:#492247}
.nx-label-readonly{color:#8b718b;font-size:12px}
.nx-label-find-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.nx-label-search-form{background:#fbf9fc;border:1px solid #e9e0eb;border-radius:10px;padding:14px;min-width:0;display:grid;gap:9px}
.nx-label-search-form>label{color:#4d2c4a;font-size:12px;font-weight:800}
.nx-label-search-form>small{color:#948195;font-size:11px}
.nx-label-input-row{display:flex;gap:9px;min-width:0}
.nx-label-input-row .field{min-width:0;flex:1;min-height:40px}
.nx-label-input-row>.button{flex:none;min-height:40px}
.nx-label-register{padding:0;overflow:hidden}
.nx-label-register-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 22px 16px}
.nx-label-eyebrow{color:#936e8e;letter-spacing:1.4px;font-weight:800;font-size:10px}
.nx-label-register-stats{display:flex;gap:11px}
.nx-label-register-stats>div{display:grid;gap:2px;text-align:center;padding:7px 16px;border:1px solid #eaddea;background:#fcf9fc;border-radius:9px}
.nx-label-register-stats strong{font-size:21px;color:#6b2c61;font-variant-numeric:tabular-nums}
.nx-label-register-stats span{font-size:10px;color:#8b748c;white-space:nowrap}
.nx-label-printbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:#f8f2f8;border-block:1px solid #ebdfeb;padding:11px 22px}
.nx-label-printbar>span{color:#785b78;font-size:12px}
.nx-label-printbar .button{min-height:37px}
.nx-label-results-table{overflow:auto;max-height:490px}
.nx-label-results-table table{width:100%;border-collapse:separate;border-spacing:0}
.nx-label-results-table thead th{position:sticky;top:0;z-index:2;background:#f6f0f6!important;white-space:nowrap;color:#785476}
.nx-label-results-table td,.nx-label-results-table th{padding:13px 15px}
.nx-label-results-table tbody tr:hover{background:#fbf7fb}
.nx-label-results-table code{color:#71356e;font-size:12px;font-weight:700}
.nx-label-results-table .button{font-size:12px}
.nx-label-empty{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:218px;padding:25px;text-align:center}
.nx-label-empty-symbol{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:#f3e6f1;color:#8b5285;font-size:29px;margin-bottom:13px}
.nx-label-empty h3{margin:0;font-size:16px;color:#482746}
.nx-label-empty p{max-width:380px;margin:7px 0 13px;color:#8a778a;font-size:12px;line-height:1.6}
.nx-label-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:160px;color:#785876;font-size:13px}
.nx-label-spinner{width:20px;height:20px;border:2px solid #e7d8e6;border-top-color:#713269;border-radius:50%;animation:nx-label-spin .75s linear infinite}
@keyframes nx-label-spin{to{transform:rotate(360deg)}}
.nx-label-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:57px;padding:12px 22px;border-top:1px solid #ecdfeb;color:#947e96;font-size:11px}
.nx-label-pagination{display:flex;gap:9px}
.nx-label-help{display:flex;align-items:start;gap:13px;padding:15px 17px;border:1px solid #e9ddea;border-radius:11px;background:#f9f5fa}
.nx-label-help-icon{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;color:#fff;background:#7b4372;font-size:13px;font-weight:800}
.nx-label-help strong{color:#553353;font-size:12px}
.nx-label-help p{margin:5px 0 0;color:#8b788d;line-height:1.5;font-size:11px}
@media(max-width:1050px){.nx-label-type-grid{grid-template-columns:1fr}.nx-label-find-grid{grid-template-columns:1fr}.nx-label-create-body{align-items:stretch}.nx-label-identity{border-left:0;border-top:1px solid #eadfea;padding:13px 0 0}}
@media(max-width:650px){.nx-label-panel{padding:15px}.nx-label-register{padding:0}.nx-label-register-head{padding:17px 15px;align-items:flex-start;flex-wrap:wrap}.nx-label-printbar{padding:12px 15px}.nx-label-footer{padding:12px 15px}.nx-label-input-row{flex-wrap:wrap}.nx-label-input-row .field{flex-basis:100%}.nx-label-type{min-height:68px}}
@media(prefers-reduced-motion:reduce){.nx-label-spinner{animation:none}.nx-label-type{transition:none}}

/* Nexus Management: keep animated loading scene visible in portrait phone widths.
   Fit the full truck, van and worker within the space beside the menu control. */
@media(max-width:750px) and (prefers-reduced-motion:no-preference){
 .main>.top{min-height:80px}
 .main>.top .nx-loading-scene{
   display:block!important;
   position:absolute!important;
   inset:0 8px 0 49px!important;
   width:auto!important;
   overflow:hidden!important;
   pointer-events:none;
 }
 .main>.top .nx-loading-stage{
   position:absolute!important;
   left:50%!important;
   top:50%!important;
   width:540px!important;
   max-width:none!important;
   height:80px!important;
   margin:0 0 0 -270px!important;
   transform:translateY(-50%) scale(.56)!important;
   transform-origin:center center!important;
   overflow:visible!important;
 }
 .main>.top .nx-menu-button{position:relative;z-index:3}
}
@media(min-width:540px) and (max-width:750px) and (prefers-reduced-motion:no-preference){
 .main>.top .nx-loading-stage{transform:translateY(-50%) scale(.78)!important}
}
@media(max-width:370px) and (prefers-reduced-motion:no-preference){
 .main>.top .nx-loading-stage{transform:translateY(-50%) scale(.49)!important}
}

/* Installable Nexus Management mobile app only. Browser portal headers are untouched. */
@media (max-width:750px) and (display-mode:standalone), (max-width:750px) and (display-mode:fullscreen){
 .main>.top>.nx-app-bell{
   display:grid;
   position:relative;
   z-index:4;
   flex:0 0 38px;
   margin-left:4px;
   margin-right:0;
 }
 .main>.top>.nx-app-bell[hidden]{display:none!important}
 .main>.top .nx-loading-scene{inset:0 8px 0 94px!important}
 .nx-notification-panel{left:12px;right:auto;top:calc(env(safe-area-inset-top) + 70px);max-width:calc(100vw - 24px)}
}

/* Nexus Management installed phone app: notification bell right, animation centred to the left.
   Standalone/fullscreen only; ordinary browser layout unchanged. */
@media (max-width:750px) and (display-mode:standalone), (max-width:750px) and (display-mode:fullscreen) {
  .main>.top>.nx-app-bell {
    margin-left:auto!important;
    margin-right:4px!important;
    order:3;
  }
  .nx-notification-panel {
    left:auto!important;
    right:12px!important;
  }
  .main>.top .nx-loading-scene {
    inset:0 8px 0 49px!important;
  }
  .main>.top .nx-loading-stage {
    left:calc(50% - 65px)!important;
  }
}

/* Nexus Management installed mobile app only — restore uncluttered header and menu sign-out. */
@media (max-width:750px) and (display-mode:standalone), (max-width:750px) and (display-mode:fullscreen) {
 .main>.top .nx-loading-stage {left:calc(50% - 10px)!important}
 #nx-sidebar>.nx-mobile-signout {display:block;width:calc(100% - 28px);margin:16px 14px 12px;padding:12px 14px;text-align:left;font-weight:750;font-size:14px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.1);color:inherit;border-radius:10px;cursor:pointer}
 #nx-sidebar>.nx-mobile-signout:focus-visible {outline:3px solid #c595e3;outline-offset:2px}
}

body[data-nx-page="warehouse"] #nx-shadow-workspace {
  margin-block-start: 16px;
}
