/* Cockpit is the private inventory surface; work navigation belongs to HUB. */
.cockpit-bottom-v2{display:none!important}
.wrap,body:not(.cockpit-nav-allowed) .wrap{padding-bottom:max(18px,env(safe-area-inset-bottom))}
.lightbox,.part-modal,.compare-modal,.gate,body:not(.cockpit-nav-allowed) .gate{bottom:0}
.gate{z-index:10000}
#qrGate{inset:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));z-index:10000}
#qrGate .gatebox,body.chief-cockpit #qrGate .gatebox{height:min(850px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)}
.hub-tools-embedded .cockpit-header-v2,.hub-tools-embedded #staffBar,.hub-tools-embedded #privateTabs,.hub-tools-embedded #viewActions,.hub-tools-embedded .cockpit-floating-alert{display:none!important}
.hub-tools-embedded .wrap{width:100%;max-width:none;margin:0;padding:0 8px 12px}
.hub-tools-embedded .private-page{margin:0;padding:9px}
@media(max-width:540px){#qrGate .gatebox,body.chief-cockpit #qrGate .gatebox{padding:12px;border-radius:15px}#qrGate .gactions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}#qrGate .gactions .btn{min-height:40px;padding:8px;font-size:12px}}
