.officeInventoryWorkspace{min-width:0;width:100%;color:#f4f4f4}.officeInventoryWorkspace [hidden]{display:none!important}.officeInventoryTools{display:flex;gap:12px;align-items:flex-start;justify-content:flex-end;margin:0 0 12px}.officeInventoryTools details>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 0}.officeInventoryTools button,.officeInventoryTools summary{min-height:44px;white-space:normal;overflow-wrap:anywhere}.officeInventoryWorkspace #list{max-height:calc(100dvh - 190px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:calc(var(--inventory-controls-height,180px) + 10px);padding:4px 8px 24px 0;min-width:0}.officeInventoryWorkspace .inventoryPhotoList .isLocation{width:100%;margin:0}.officeInventoryWorkspace .inventoryPhotoList button{color:#fff}.officeInventoryWorkspace .isTreeRoot{color:#fff}.officeInventoryWorkspace #officeInventoryNotice{padding:10px;border:1px solid #555;border-radius:10px;font-size:14px;overflow-wrap:anywhere}.officeInventoryWorkspace .inventoryPhotoList .isStickyControls{background:#101010}.officeInventoryWorkspace .isModuleNav{background:transparent}.officeInventoryWorkspace .isThumb img{box-shadow:none;border:0;background:transparent}
body>#invOverlay{display:none;position:fixed;inset:0;align-items:center;justify-content:center;padding:max(10px,env(safe-area-inset-top)) 0 max(10px,env(safe-area-inset-bottom));background:#000b;overflow:hidden}body>#invOverlay.show{display:flex}body>#invOverlay>.sheet{overflow-y:auto;overscroll-behavior:contain;border:1px solid #555;border-radius:16px;padding:16px;max-width:760px;max-height:calc(100dvh - 28px)}body>#invOverlay .sheetHeader{display:flex;gap:12px;align-items:flex-start;padding:10px 0 14px;top:-16px;background:#080808}body>#invOverlay .sheetHeader>div{flex:1;min-width:0}body>#invOverlay .sheetHeader h2{font-size:20px;line-height:1.4;margin:0;overflow-wrap:anywhere}body>#invOverlay .sheetHeader p{font-size:13px;color:#bbb;margin:4px 0 0}body>#invOverlay #invForm{margin:0;padding:0}body>#invOverlay button{cursor:pointer}body>#invOverlay .invPackForm>.invToolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}body>#invOverlay .invPackForm .invToolbar>.btn{width:100%;min-width:0;padding:12px;line-height:1.4}body>#invOverlay label{width:auto;text-align:left}body>#invOverlay [hidden]{display:none!important}@media(max-width:520px){.officeInventoryTools details{max-width:100%}.officeInventoryTools details>div{grid-template-columns:minmax(0,1fr)}.officeInventoryWorkspace #list{max-height:calc(100dvh - 160px)}}

body>#invOverlay>.sheet{scroll-padding-top:110px;scroll-padding-bottom:24px}.officeInventoryWorkspace{padding-top:16px}
.officeInventoryWorkspace .oiHeader{display:flex;align-items:center;gap:14px;margin:0 0 14px}.officeInventoryWorkspace .oiHeader>div{flex:1;min-width:0}.officeInventoryWorkspace .oiHeader h2{font-size:24px;margin:0 0 5px}.officeInventoryWorkspace .oiHeader p{margin:0;color:#bcbcbc;font-size:13px;line-height:1.5}.officeInventoryWorkspace .oiHeader>.btn{width:auto;min-height:46px;padding:11px 16px;flex:none}.officeInventoryWorkspace .oiNav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 16px}.officeInventoryWorkspace .oiNav>.btn{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:46px;height:auto;margin:0;padding:10px 8px;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:normal}.officeInventoryWorkspace .oiNav>.btn[aria-pressed=true]{background:#eee!important;color:#080808!important;border-color:#eee!important}.officeInventoryWorkspace #officeInventoryBody{min-width:0}.officeInventoryWorkspace #officeInventorySectionTitle{font-size:19px;line-height:1.4;margin:4px 0 14px}.officeInventoryWorkspace #list{max-height:calc(100dvh - 320px)}.officeInventoryWorkspace #list .isHeader,.officeInventoryWorkspace #list .isModuleNav{display:none!important}.officeInventoryWorkspace #officeInventoryLegacy #invApp>.wrap>.top,.officeInventoryWorkspace #officeInventoryLegacy #invApp>.wrap>.subnav{display:none!important}.officeInventoryWorkspace #officeInventoryLegacy #invApp>.wrap{padding:0;margin:0;width:100%;max-width:none}.officeInventoryWorkspace #officeInventoryLegacy #inv__mainGrid{display:block;margin:0}.officeInventoryWorkspace #officeInventoryLegacy .card{width:100%;min-width:0;margin:0;padding:16px;border:1px solid #444;border-radius:14px;background:#111;box-sizing:border-box}.officeInventoryWorkspace #officeInventoryLegacy #inv__cardRight>h2,.officeInventoryWorkspace #officeInventoryLegacy #inv__cardRight>.kpis,.officeInventoryWorkspace #officeInventoryLegacy #inv__cardRight>.divider,.officeInventoryWorkspace #officeInventoryLegacy #inv__cardKits>h2{display:none}.officeInventoryWorkspace #officeInventoryLegacy .form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;min-width:0}.officeInventoryWorkspace #officeInventoryLegacy .field,.officeInventoryWorkspace #officeInventoryLegacy .form>*{min-width:0}.officeInventoryWorkspace #officeInventoryLegacy .field{display:block}.officeInventoryWorkspace #officeInventoryLegacy label{display:block;text-align:left;line-height:1.5;margin-bottom:6px}.officeInventoryWorkspace #officeInventoryLegacy input:not([type=checkbox]),.officeInventoryWorkspace #officeInventoryLegacy select,.officeInventoryWorkspace #officeInventoryLegacy textarea{width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box;font-size:16px}.officeInventoryWorkspace #officeInventoryLegacy .btn{min-height:44px;height:auto;max-width:100%;width:auto;padding:10px 13px;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}.officeInventoryWorkspace #officeInventoryLegacy .row-actions{display:flex;flex-wrap:wrap;gap:8px}.officeInventoryWorkspace #officeInventoryLegacy .table-wrap{max-width:100%;overflow:auto;overscroll-behavior:contain}.officeInventoryWorkspace #officeInventoryImports{padding:16px;border:1px solid #444;border-radius:14px;background:#111}.officeInventoryWorkspace .oiImportActions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.officeInventoryWorkspace .oiImportActions>.btn{display:block;width:100%;min-width:0;min-height:46px;line-height:1.5;white-space:normal;padding:12px}.officeInventoryWorkspace .oiImportActions>.pill{grid-column:1/-1;justify-self:start;margin:0!important}.officeInventoryWorkspace .oiOrderActions{display:flex;align-items:center;gap:12px;margin:0 0 16px;flex-wrap:wrap}.officeInventoryWorkspace .oiSupplier{display:flex;gap:12px;align-items:center;margin:0 0 12px;padding:8px 12px;border:1px solid #666;border-radius:10px}.officeInventoryWorkspace .oiSupplier>span{flex:1;min-width:0;overflow-wrap:anywhere}.officeInventoryWorkspace .oiSupplier>.btn{width:44px;min-width:44px;height:44px;padding:0}.officeInventoryWorkspace[data-section=transfer] #inv__viewTransfers{border-top:1px solid #444;margin-top:24px;padding-top:20px}@media(max-width:1000px){.officeInventoryWorkspace .oiNav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.officeInventoryWorkspace .oiNav{gap:6px}.officeInventoryWorkspace .oiNav>.btn{font-size:12px;padding:9px 5px;min-height:48px}.officeInventoryWorkspace .oiHeader{gap:10px}.officeInventoryWorkspace .oiHeader h2{font-size:22px}.officeInventoryWorkspace .oiHeader p{font-size:12px}.officeInventoryWorkspace .oiHeader>.btn{font-size:13px;padding:10px 12px}.officeInventoryWorkspace #list{max-height:calc(100dvh - 280px);min-height:240px}.officeInventoryWorkspace #officeInventoryLegacy .form{grid-template-columns:minmax(0,1fr)!important}.officeInventoryWorkspace #officeInventoryLegacy .form>.field{grid-column:1/-1!important}.officeInventoryWorkspace #officeInventoryLegacy .card,.officeInventoryWorkspace #officeInventoryImports{padding:12px}.officeInventoryWorkspace .oiImportActions{grid-template-columns:minmax(0,1fr)}}
.officeInventoryWorkspace:not([data-section=browse]) #officeInventoryBody{max-height:calc(100dvh - 330px);min-height:260px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.officeInventoryWorkspace .oiNav>.btn:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* Keep the location escape route visible inside the scrollable stock browser. */
.officeInventoryWorkspace #list .isModuleNav{display:flex!important;margin:0 0 8px}.officeInventoryWorkspace #list .isModuleNav>.btn:not(#isAllLocations){display:none!important}.officeInventoryWorkspace #list #isAllLocations{flex:none;min-width:132px;min-height:44px;padding:10px 14px}

/* The original red quantity circle follows the held item; no drag panel. */
.oiDragQuantityCircle{position:fixed;pointer-events:none;z-index:999999;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#d11;color:#fff;font:800 14px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;box-shadow:0 2px 10px #0005}.oiDragQuantityCircle[data-valid=false]{outline:2px dashed #fff}
.oiLocationDragging,.oiLocationDragging *{user-select:none!important;-webkit-user-select:none!important;cursor:grabbing!important}.oiDraggingRow{opacity:.6}.oiDropTarget{outline:3px solid #fff!important;background:#eee!important;color:#080808!important}.oiDropTarget .isLocationStats,.oiDropTarget .isLocationStats b,.oiDropTarget .isLocationText small{color:#080808!important}.officeInventoryWorkspace .isLocation[aria-current=location]{border:2px solid #eee;background:linear-gradient(#333,#151515)}
.oiStockWorkspace{min-width:0}.oiStockWorkspace>div{min-width:0}.oiStockWorkspace.isLocationOpen{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}.oiStockWorkspace.isLocationOpen #isLocationCards{position:sticky;top:calc(var(--inventory-controls-height,170px) + 8px);max-height:max(170px,calc(100dvh - 505px));overflow:auto;overscroll-behavior:contain;padding:3px;scrollbar-gutter:stable;z-index:4;background:#101010;border-radius:12px}.oiStockWorkspace.isLocationOpen .isLocationGrid{grid-template-columns:minmax(0,1fr);gap:8px;margin:0}.oiStockWorkspace.isLocationOpen .isLocation{flex-direction:column;align-items:flex-start;gap:6px;padding:10px;min-height:115px}.oiStockWorkspace.isLocationOpen .isDrawing{width:46px;height:46px;flex:none}.oiStockWorkspace.isLocationOpen .isLocationText{width:100%}.oiStockWorkspace.isLocationOpen .isLocation strong{padding-right:0;font-size:13px}.oiStockWorkspace.isLocationOpen .isLocationStats{gap:3px;margin-top:6px;font-size:11px}.oiStockWorkspace.isLocationOpen .isSidewaysTree{grid-template-columns:minmax(0,1fr)}
@media(hover:hover) and (pointer:fine){.officeInventoryWorkspace [data-is-item]{cursor:grab}}
@media(max-width:1000px){.oiStockWorkspace.isLocationOpen{display:block}.oiStockWorkspace.isLocationOpen #isLocationCards{max-height:none;overflow:visible;margin-bottom:12px}.oiStockWorkspace.isLocationOpen .isLocationGrid{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:3px;touch-action:pan-x}.oiStockWorkspace.isLocationOpen .isLocation{flex:0 0 170px;min-height:58px;justify-content:center;padding:10px}.oiStockWorkspace.isLocationOpen .isLocation strong{padding-right:30px;font-size:12px}.oiStockWorkspace.isLocationOpen .isDrawing,.oiStockWorkspace.isLocationOpen .isLocationStats,.oiStockWorkspace.isLocationOpen .isLocationText>small{display:none}.oiStockWorkspace.isLocationOpen .isSidewaysTree{grid-template-columns:minmax(0,1fr)}}
/* Standard scroll-to-item/focus actions leave room for both sticky controls
 * and the compact location rail, not just the search header. */
@media(max-width:1000px){.officeInventoryWorkspace #list:has(.oiStockWorkspace.isLocationOpen){scroll-padding-top:calc(var(--inventory-controls-height,170px) + 90px)}}

/* Compact text navigation: space belongs to locations, photos and stock. */
.officeInventoryWorkspace{padding-top:8px}.officeInventoryWorkspace .oiHeader{margin-bottom:6px;gap:12px;min-height:38px}.officeInventoryWorkspace .oiHeader h2{font-size:21px;line-height:1.3;margin:0}.officeInventoryWorkspace .oiHeader>.btn{min-height:36px;padding:7px 12px;font-size:13px;line-height:1.3}.officeInventoryWorkspace .oiNav{display:flex;flex-wrap:nowrap;align-items:center;gap:18px;max-width:100%;margin:0 0 10px;padding:0 2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid #333;touch-action:pan-x}.officeInventoryWorkspace .oiNav>.oiSectionLink{appearance:none;-webkit-appearance:none;display:block;flex:0 0 auto;width:auto;min-width:0;height:36px;min-height:36px;padding:8px 0;margin:0;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;color:#bbb!important;box-shadow:none!important;font:600 13px/18px system-ui,-apple-system,Segoe UI,Roboto,sans-serif;text-align:left;white-space:nowrap;cursor:pointer;touch-action:manipulation}.officeInventoryWorkspace .oiNav>.oiSectionLink[aria-pressed=true]{color:#fff!important;border-bottom-color:#fff!important}.officeInventoryWorkspace .oiNav>.oiSectionLink:hover{color:#fff!important}.officeInventoryWorkspace .oiNav>.oiSectionLink:focus-visible{outline:2px solid #fff;outline-offset:-2px}.officeInventoryWorkspace #list{max-height:calc(100dvh - 225px);min-height:220px}.officeInventoryWorkspace:not([data-section=browse]) #officeInventoryBody{max-height:calc(100dvh - 225px)}.officeInventoryWorkspace #officeInventorySectionTitle{font-size:17px;margin:4px 0 10px}.officeInventoryWorkspace #officeInventoryNotice{font-size:12px;padding:7px 10px;margin:0 0 8px;border-radius:6px}
.officeInventoryWorkspace .inventoryPhotoList .isStickyControls{padding:3px 0 6px}.officeInventoryWorkspace .inventoryPhotoList .isSearch{gap:6px;align-items:center}.officeInventoryWorkspace .inventoryPhotoList .isSearch input{height:40px;min-height:40px;padding:8px 11px;font-size:14px;border-radius:8px}.officeInventoryWorkspace .inventoryPhotoList .isSearch>.btn{min-height:36px;height:36px;width:auto;min-width:36px;flex:0 0 36px;border-radius:7px;padding:0}.officeInventoryWorkspace .inventoryPhotoList .isSearch>#isScan{flex-basis:45px;min-width:45px;font-size:12px}.officeInventoryWorkspace #list .isModuleNav{margin:0 0 4px}.officeInventoryWorkspace #list #isAllLocations{min-height:30px;height:30px;min-width:0;padding:4px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:12px;justify-content:flex-start}.officeInventoryWorkspace .isPinnedLocation{font-size:13px;padding:6px 2px 0}.officeInventoryWorkspace .inventoryPhotoList .isResultHint{margin:5px 0 7px;font-size:12px}.officeInventoryWorkspace .inventoryPhotoList .isTabs{display:flex;flex-wrap:nowrap;gap:16px;margin:6px 0 10px;overflow-x:auto;border-bottom:1px solid #333;scrollbar-width:thin}.officeInventoryWorkspace .inventoryPhotoList .isTabs>.oiItemFilter{flex:0 0 auto;width:auto;min-width:0;min-height:32px;height:32px;padding:6px 0;margin:0;border:0!important;border-bottom:2px solid transparent!important;border-radius:0;background:none!important;box-shadow:none;font-size:12px;line-height:18px;white-space:nowrap;color:#aaa!important}.officeInventoryWorkspace .inventoryPhotoList .isTabs>.oiItemFilter[aria-pressed=true]{color:#fff!important;border-bottom-color:#fff!important}.officeInventoryWorkspace .inventoryPhotoList .isTabs>.oiItemFilter:focus-visible{outline:2px solid #fff;outline-offset:-2px}.officeInventoryWorkspace #isStorageActions>.btn{min-height:32px;height:auto;font-size:12px;padding:6px 10px}.officeInventoryWorkspace .oiStockWorkspace.isLocationOpen #isLocationCards{max-height:max(170px,calc(100dvh - 380px))}
@media(pointer:coarse){.officeInventoryWorkspace .oiNav>.oiSectionLink{height:44px;min-height:44px;padding-top:12px;padding-bottom:12px}.officeInventoryWorkspace .oiHeader>.btn,.officeInventoryWorkspace .inventoryPhotoList .isTabs>.oiItemFilter,.officeInventoryWorkspace #list #isAllLocations,.officeInventoryWorkspace #isStorageActions>.btn,.officeInventoryWorkspace .inventoryPhotoList .isSearch>.btn{min-height:44px;height:44px}.officeInventoryWorkspace .inventoryPhotoList .isSearch input{min-height:44px;height:44px;font-size:16px}}
@media(max-width:1000px){.officeInventoryWorkspace .oiNav{gap:16px}.officeInventoryWorkspace .oiStockWorkspace.isLocationOpen #isLocationCards{max-height:none}}

.officeInventoryWorkspace #isSelectionPath{display:none!important}.officeInventoryWorkspace #isScopeNote{font-size:11px;line-height:1.4;margin:3px 0 5px}.officeInventoryWorkspace .inventoryPhotoList:has(.oiStockWorkspace:not(.isLocationOpen)) #isModuleNav{display:none!important}.officeInventoryWorkspace #list #isAllLocations{color:#ccc;border:none!important;background:none!important;box-shadow:none!important;font:600 12px/18px system-ui;cursor:pointer}.officeInventoryWorkspace .oiItemFilter{appearance:none;-webkit-appearance:none;cursor:pointer}.officeInventoryWorkspace .oiItemFilter[aria-pressed=true]{font-weight:700}
