/* Nasser workspace density v12 - visual-only, scoped, reversible */
@media (min-width: 950px) and (min-height: 650px) {
 #nasserSpacesBar{padding:5px 9px!important;margin:3px 0 5px!important}
 #nasserSpacesBar .nasser-spaces-heading{margin-bottom:3px!important}
 #nasserSpacesBar .nasser-space-card{height:43px!important;min-height:43px!important;padding:4px 8px!important}
 #nasserSpacesBar .nasser-space-icon{width:25px!important;height:25px!important;flex-basis:25px!important}
 /* Shared fullscreen workspace layout */
 #npSupportDesk.nps-fullscreen,#npPurchasingWorkspace.npw-fullscreen,#nasserFinanceWorkspace.nfin-dialog{overflow-y:auto!important;overflow-x:hidden!important}
 #npSupportDesk .nps-shell{padding:9px 18px 14px!important;max-width:1680px;margin:0 auto}
 #npSupportDesk .nps-header{position:relative!important;top:auto!important;padding:4px 0 7px!important}
 #npSupportDesk .nps-header h2{font-size:19px!important;margin:2px 0!important}
 #npSupportDesk .nps-header p{font-size:11px!important}
 #npSupportDesk .nps-close{padding:7px 11px!important}
 #npSupportDesk .nps-full-nav{position:sticky!important;top:0!important;padding:5px 0!important;gap:5px!important}
 #npSupportDesk .nps-full-tab{padding:7px 12px!important;font-size:12px!important}
 #npSupportDesk .nps-work-area{padding:8px 0 12px!important;min-height:0!important}
 #npSupportDesk .nps-global-toolbar .nps-top-actions{margin:5px 0!important;gap:5px!important}
 #npSupportDesk .nps-top-actions button{padding:7px 10px!important;font-size:11px!important}
 #npSupportDesk .nps-full-intro{margin:0 0 8px!important;padding:8px 12px!important}
 #npSupportDesk .nps-full-intro h3{font-size:15px!important;margin:0!important}
 #npSupportDesk .nps-full-intro p{font-size:11px!important}
 #npSupportDesk .nps-summary{gap:6px!important}
 #npSupportDesk .nps-metric{padding:8px 10px!important;gap:4px!important;border-radius:9px!important}
 #npSupportDesk .nps-metric small{font-size:10px!important}
 #npSupportDesk .nps-metric strong{font-size:19px!important}
 #npSupportDesk .nps-aging{gap:6px!important;margin-top:7px!important}
 #npSupportDesk .nps-age-card{min-height:64px!important;padding:6px 9px!important;gap:3px!important}
 #npSupportDesk .nps-age-card strong{font-size:11px!important}
 #npSupportDesk .nps-age-card b{font-size:15px!important}
 #npSupportDesk .nps-age-card small{font-size:10px!important}
 #npSupportDesk .nps-full-quick{margin:9px 0!important;gap:7px!important}
 #npSupportDesk .nps-quick-link{padding:10px 12px!important;gap:4px!important}
 #npSupportDesk .nps-quick-link strong{font-size:13px!important}
 #npSupportDesk .nps-quick-link small{font-size:10px!important}
 #npSupportDesk .nps-controls{margin:7px 0!important;gap:6px!important}
 #npSupportDesk .nps-controls input,#npSupportDesk .nps-controls select{padding:8px 10px!important;min-height:34px!important}
 #npSupportDesk .nps-selection{margin:5px 0!important;gap:5px!important}
 #npSupportDesk .nps-selection button{padding:6px 10px!important;font-size:11px!important}
 #npSupportDesk .nps-case-title{font-size:15px!important;margin:6px 0!important}
 #npSupportDesk .nps-vendor{margin:7px 0!important}
 #npSupportDesk .nps-vendor-head{padding:9px 12px!important}
 #npSupportDesk .nps-vendor-tools{padding:7px 10px!important}
 #npSupportDesk .nps-car{padding:7px 10px!important}
 #npSupportDesk .nps-results{max-height:calc(100dvh - 285px)!important;min-height:180px!important;overflow-y:auto!important;overscroll-behavior:contain}
 #npSupportDesk .nps-archive-results{max-height:calc(100dvh - 325px)!important;overflow-y:auto!important;overscroll-behavior:contain}
 /* Purchase and inventory */
 #npPurchasingWorkspace.npw-fullscreen{padding:8px 18px 12px!important}
 #npPurchasingWorkspace .npw-head{position:relative!important;top:auto!important;padding:4px 0!important;gap:5px!important}
 #npPurchasingWorkspace .npw-head h2{font-size:20px!important;margin:0!important}
 #npPurchasingWorkspace .npw-full-subtitle{font-size:11px!important}
 #npPurchasingWorkspace .npw-full-nav{position:sticky!important;top:0!important;padding:6px 0!important;gap:5px!important}
 #npPurchasingWorkspace .npw-full-link{font-size:11px!important;padding:8px 11px!important}
 #npPurchasingWorkspace .npw-full-content{padding:8px 0 12px!important;min-height:0!important}
 #npPurchasingWorkspace .npw-journey{padding:9px!important;margin:5px 0!important}
 #npPurchasingWorkspace .npw-journey h3{font-size:14px!important;margin-bottom:6px!important}
 #npPurchasingWorkspace .npw-steps{gap:6px!important}
 #npPurchasingWorkspace .npw-step{padding:7px 9px!important;min-height:42px!important}
 #npPurchasingWorkspace .npw-summary,#npPurchasingWorkspace .npw-audit{margin-top:8px!important;padding:10px!important}
 #npPurchasingWorkspace .npw-stats,#npPurchasingWorkspace .npw-audit-grid{gap:6px!important}
 #npPurchasingWorkspace .npw-stat,#npPurchasingWorkspace .npw-audit-tile{padding:8px!important}
 #npPurchasingWorkspace .npw-grid{gap:7px!important}
 #npPurchasingWorkspace .npw-card{min-height:58px!important;padding:9px!important}
 #npPurchasingWorkspace .npw-orders{padding:10px!important;margin:7px 0!important}
 #npPurchasingWorkspace .npw-orders-list{max-height:calc(100dvh - 320px)!important;overflow-y:auto!important;overscroll-behavior:contain}
 /* Finance */
 #nasserFinanceWorkspace .nfin-shell{max-width:1700px!important;padding:8px 18px 15px!important}
 #nasserFinanceWorkspace .nfin-header{padding:4px 0 8px!important;gap:8px!important}
 #nasserFinanceWorkspace .nfin-title h2{font-size:20px!important;margin:2px 0!important}
 #nasserFinanceWorkspace .nfin-title p{font-size:11px!important}
 #nasserFinanceWorkspace .nfin-exit{padding:8px 12px!important;font-size:12px!important}
 #nasserFinanceWorkspace .nfin-scope{margin:7px 0 4px!important;padding:8px 11px!important}
 #nasserFinanceWorkspace .nfin-tabs{padding:6px 0!important;gap:5px!important}
 #nasserFinanceWorkspace .nfin-tab{padding:8px 11px!important;font-size:11px!important}
 #nasserFinanceWorkspace .nfin-controls{margin:7px 0!important}
 #nasserFinanceWorkspace .nfin-search{min-height:36px!important;padding:9px 11px!important}
 #nasserFinanceWorkspace .nfin-section-head{margin:7px 0!important}
 #nasserFinanceWorkspace .nfin-section-head h3{font-size:15px!important}
 #nasserFinanceWorkspace .nfin-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important}
 #nasserFinanceWorkspace .nfin-tile{min-height:61px!important;padding:9px 10px!important;gap:7px!important}
 #nasserFinanceWorkspace .nfin-tile-icon{width:29px!important;min-width:29px!important;height:30px!important;font-size:17px!important}
 #nasserFinanceWorkspace .nfin-tile-copy{gap:3px!important}
 #nasserFinanceWorkspace .nfin-tile-copy strong{font-size:12px!important}
 #nasserFinanceWorkspace .nfin-tile-copy small{font-size:10px!important}
 #nasserFinanceWorkspace .nfin-note{margin-top:12px!important;padding:10px 12px!important}
}
/* Do not compress tap targets on touch/mobile. Keep navigation horizontal and content readable. */
@media(max-width:949px) {
 #npSupportDesk .nps-shell{padding:10px 12px!important}
 #npSupportDesk .nps-header h2{font-size:19px!important}
 #npSupportDesk .nps-full-nav{position:sticky!important;top:0!important;padding:7px 0!important}
 #npSupportDesk .nps-work-area{padding:9px 0!important}
 #npSupportDesk .nps-metric{padding:10px!important;gap:6px!important}
 #npSupportDesk .nps-age-card{min-height:75px!important;padding:9px!important}
 #npSupportDesk .nps-results{max-height:60dvh!important;overflow-y:auto!important}
 #npPurchasingWorkspace.npw-fullscreen{padding:10px 12px!important}
 #npPurchasingWorkspace .npw-full-content{padding:11px 0!important}
 #npPurchasingWorkspace .npw-full-nav{position:sticky!important;top:0!important;padding:8px 0!important}
 #nasserFinanceWorkspace .nfin-shell{padding:12px!important}
 #nasserFinanceWorkspace .nfin-tabs{padding:8px 0!important}
 #nasserFinanceWorkspace .nfin-tile{min-height:78px!important}
}
/* Focus & hidden states */
:is(#npSupportDesk,#npPurchasingWorkspace,#nasserFinanceWorkspace) button:focus-visible{outline:3px solid #4c8ea8!important;outline-offset:2px!important}
:is(#npSupportDesk,#npPurchasingWorkspace,#nasserFinanceWorkspace) [hidden]{display:none!important}
