.inventoryPhotoList{color:#f4f4f4;min-width:0}.inventoryPhotoList *{box-sizing:border-box}.inventoryPhotoList button,.inventoryPhotoList input{font:inherit}.inventoryPhotoList button{touch-action:manipulation}.inventoryPhotoList .isHeader{display:flex;gap:12px;align-items:center;margin:0 0 16px}.inventoryPhotoList .isHeader h2{font-size:22px;margin:0 0 4px}.inventoryPhotoList .isHeader p{margin:0;color:#bcbcbc;font-size:13px}.inventoryPhotoList .isHeader>div{flex:1;min-width:0}.inventoryPhotoList .isSearch{display:flex;gap:8px;margin-bottom:12px}.inventoryPhotoList .isSearch input{width:100%;min-width:0;min-height:48px;background:#111;color:#fff;border:1px solid #555;border-radius:12px;padding:12px;font-size:16px}.inventoryPhotoList .isSearch button{flex:0 0 44px;min-width:44px;padding:0}.inventoryPhotoList .isTabs,.inventoryPhotoList .isTools{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.inventoryPhotoList .isTabs button,.inventoryPhotoList .isTools button{min-height:42px;flex:1 1 auto;margin:0;padding:9px 12px;font-size:13px;white-space:normal}.inventoryPhotoList button[aria-pressed=true]{background:#eee!important;color:#080808!important;border-color:#eee!important}.inventoryPhotoList .isLocationGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 18px}.inventoryPhotoList .isLocation{display:flex;align-items:center;gap:9px;position:relative;text-align:left;border:1px solid #484848;border-radius:14px;background:linear-gradient(#212121,#0b0b0b);color:#fff;padding:12px;min-width:0;min-height:112px}.inventoryPhotoList .isDrawing{display:block;flex:0 0 66px;width:66px;height:66px;background:url('/engineer/images/inventory-location-illustrations.jpg') center center/300% 100% no-repeat;filter:grayscale(1)}.inventoryPhotoList .isDrawing.van{background-position:left center}.inventoryPhotoList .isLocationText{min-width:0;flex:1}.inventoryPhotoList .isLocation strong{display:block;font-size:14px;overflow-wrap:anywhere;padding-right:22px}.inventoryPhotoList .isLocation small{display:block;font-size:12px;color:#bbb;margin-top:6px}.inventoryPhotoList .isBubble{display:inline-flex;align-items:center;justify-content:center;background:#104c2c;border:1px solid #387d51;color:#c2ffd2;min-width:30px;min-height:28px;padding:3px 7px;border-radius:20px;font-size:13px;font-weight:700}.inventoryPhotoList .isLocation .isBubble{position:absolute;right:9px;top:9px}.inventoryPhotoList .isLocationHero{display:flex;align-items:center;gap:12px;border:1px solid #484848;border-radius:14px;background:#151515;padding:14px;margin-bottom:14px}.inventoryPhotoList .isLocationHero>div{flex:1;min-width:0}.inventoryPhotoList .isLocationHero h3{font-size:20px;margin:0 0 5px}.inventoryPhotoList .isLocationHero p{font-size:13px;color:#bbb;margin:0}.inventoryPhotoList .isBoxes{display:flex;overflow-x:auto;gap:8px;margin:12px 0 16px;padding-bottom:5px;touch-action:pan-x}.inventoryPhotoList .isBoxes button{display:flex;flex:0 0 auto;align-items:center;gap:9px;background:#141414;border:1px solid #555;border-radius:12px;color:#fff;min-height:56px;padding:10px 13px}.inventoryPhotoList .isBoxes strong{font-size:16px}.inventoryPhotoList .isBoxes small{font-size:12px;color:inherit}.inventoryPhotoList .isSectionTitle{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:16px 0 10px}.inventoryPhotoList .isSectionTitle h3{font-size:16px;margin:0}.inventoryPhotoList .isSectionTitle span{font-size:12px;color:#bbb}.inventoryPhotoList .isItem{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;background:#121212;color:#fff;border:1px solid #3d3d3d;border-radius:14px;text-align:left;padding:12px;margin-bottom:10px;min-width:0}.inventoryPhotoList .isThumb{width:74px;height:74px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:transparent;color:#fff;font-size:12px}.inventoryPhotoList .isThumb img{width:100%;height:100%;object-fit:contain}.inventoryPhotoList .isItemText{min-width:0}.inventoryPhotoList .isItemText strong{display:block;font-size:15px;line-height:1.35;overflow-wrap:anywhere}.inventoryPhotoList .isItemText small{display:block;font-size:12px;color:#bbb;margin-top:5px;overflow-wrap:anywhere}.inventoryPhotoList .isPosition{display:block;color:#fff;font-size:13px;line-height:1.4;margin-top:7px;overflow-wrap:anywhere}.inventoryPhotoList .isQuantity{font-size:19px;align-self:start;text-align:right;max-width:85px;overflow-wrap:anywhere}.inventoryPhotoList .isQuantity small{display:block;color:#bbb;font-size:11px;margin-top:4px}.inventoryPhotoList .isEmpty{color:#bbb;background:#111;border:1px solid #3c3c3c;border-radius:14px;padding:20px 16px;font-size:14px;line-height:1.5}.inventoryPhotoList .isResultHint{color:#bbb;font-size:13px;margin:8px 0 12px}.inventoryPhotoList .isPending{display:flex;align-items:center;gap:10px;justify-content:space-between;border:1px solid #777;border-radius:12px;padding:12px;font-size:13px}.inventoryPhotoList .isShowMore{width:100%;margin-top:8px}.inventoryPhotoList .isFootnote{font-size:12px;color:#aaa;line-height:1.5;margin:16px 0}.invStoragePositions{margin:12px 0}.invStoragePositions h3{font-size:15px;margin:0 0 8px}.invStoragePosition{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #3b3b3b;font-size:14px}.invStoragePosition span{overflow-wrap:anywhere}.invStoragePosition b{text-align:right;white-space:nowrap}.isHistoryRow{border-bottom:1px solid #444;padding:12px 0;font-size:14px;overflow-wrap:anywhere}.isHistoryRow small{display:block;color:#bbb;margin-top:5px}@media(min-width:760px){.inventoryPhotoList .isLocationGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.inventoryPhotoList .isItem{grid-template-columns:88px minmax(0,1fr) auto}.inventoryPhotoList .isThumb{width:88px;height:88px}}@media(max-width:360px){.inventoryPhotoList .isLocationGrid{grid-template-columns:1fr}.inventoryPhotoList .isItem{gap:9px;padding:10px;grid-template-columns:64px minmax(0,1fr) auto}.inventoryPhotoList .isThumb{width:64px;height:64px}.inventoryPhotoList .isQuantity{font-size:17px;max-width:60px}.inventoryPhotoList .isHeader{flex-wrap:wrap}.inventoryPhotoList .isHeader>.btn{flex:1 1 auto}}
.inventoryPhotoList .isHeader>.btn{width:auto;flex:0 0 auto;padding:10px 14px;min-width:120px}.inventoryPhotoList .isPending>.btn{width:auto;flex:0 0 auto;padding:10px 14px;min-width:96px}#invOverlay .invPackForm .invToolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#invOverlay .invChoices #chooseSpare{grid-column:1/-1;min-height:90px}@media(max-width:520px){.inventoryPhotoList .isTabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inventoryPhotoList .isLocation{flex-direction:column;align-items:flex-start;gap:8px}.inventoryPhotoList .isLocationText{width:100%}.inventoryPhotoList .isLocation strong{padding-right:0;overflow-wrap:normal;word-break:normal}.inventoryPhotoList .isDrawing{flex:none}.inventoryPhotoList .isLocation small{line-height:1.4}}
/* One inventory shell and one entry point per facility. */
.inventoryPhotoList [hidden]{display:none!important}
body.engineer-inventory-active #list{overscroll-behavior-y:none;scroll-padding-top:calc(var(--inventory-controls-height,166px) + 8px)}
.inventoryPhotoList .isStickyControls{position:sticky;top:0;z-index:5;background:#080808;padding:7px 0 10px}
.inventoryPhotoList .isModuleNav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 8px;padding:0;background:#080808}
.inventoryPhotoList .isStickyControls .isSearch{margin:0}
.inventoryPhotoList .isModuleNav>.btn{flex:1 1 90px;width:auto;min-width:0;min-height:44px;padding:9px 10px;font-size:13px;display:flex;gap:6px;align-items:center;justify-content:center}
.inventoryPhotoList .isModuleNav .isBubble{min-width:23px;min-height:23px;padding:2px 5px;font-size:11px}
.inventoryPhotoList .isSearch #isScan{flex:0 0 54px;font-size:12px}
.inventoryPhotoList input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.inventoryPhotoList .isDrawing{background:currentColor;filter:none;-webkit-mask-image:url('/engineer/images/inventory-location-illustrations.jpg');mask-image:url('/engineer/images/inventory-location-illustrations.jpg');mask-mode:luminance;-webkit-mask-size:300% 100%;mask-size:300% 100%;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.inventoryPhotoList .isDrawing.van{-webkit-mask-position:left center;mask-position:left center;background-position:initial}
.inventoryPhotoList .isAuxCard{display:block;width:100%;box-sizing:border-box;min-width:0;padding:15px;margin:0 0 12px;border:1px solid #444;border-radius:14px;background:#121212;color:#fff;text-align:left;overflow-wrap:anywhere;font:inherit}
.inventoryPhotoList .isAuxHead{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;min-width:0;line-height:1.4}
.inventoryPhotoList .isAuxHead>strong{min-width:0;font-size:15px}
.inventoryPhotoList .isBadge{flex:none;max-width:48%;border:1px solid #666;border-radius:8px;padding:4px 7px;font-size:11px;line-height:1.4;text-align:center;color:#eee}
.inventoryPhotoList .isAuxCard p{font-size:13px;line-height:1.5;margin:10px 0 0}
.inventoryPhotoList .isAuxNote{display:block;font-size:12px;line-height:1.5;color:#bbb;margin-top:10px}
.inventoryPhotoList .isTransferRoute{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;font-size:13px;line-height:1.5;margin-top:12px;padding-top:12px;border-top:1px solid #333}
.inventoryPhotoList .isAuxActions{display:flex;gap:10px;margin-top:14px}
.inventoryPhotoList .isAuxActions .btn{flex:1;width:auto;min-width:0;min-height:44px}
.inventoryPhotoList .isKitCard:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Sideways location tree: no extra locations or duplicated stock balances. */
.inventoryPhotoList .isSidewaysTree.isSearching{grid-template-columns:minmax(0,1fr)}.inventoryPhotoList .isSidewaysTree.isSearching>.isTreeMap{display:none}.inventoryPhotoList .isSidewaysTree.isSearching>.isTreeResults:before{display:none}
.inventoryPhotoList{container-type:inline-size}.inventoryPhotoList .isBackLocations{width:auto;margin:0 0 14px;padding:10px 14px}
.inventoryPhotoList .isSidewaysTree{display:grid;gap:24px;margin-top:18px;min-width:0;align-items:start}
.inventoryPhotoList .isTreeMap{display:grid;grid-template-columns:132px minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.inventoryPhotoList .isTreeRoot{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 10px;border:1px solid #666;border-radius:14px;background:linear-gradient(#202020,#090909);text-align:center;min-width:0}
.inventoryPhotoList .isTreeRoot>.isDrawing{width:88px;height:76px;flex:none}.inventoryPhotoList .isTreeRoot>strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.inventoryPhotoList .isTreeRoot>small{font-size:12px;color:#bbb;line-height:1.5}
.inventoryPhotoList .isTreeRoot:after{content:'';position:absolute;right:-13px;top:37px;width:12px;border-top:1px solid #777}
.inventoryPhotoList .isTreeBranches{position:relative;display:flex;flex-direction:column;gap:10px;padding-left:12px;min-width:0}
.inventoryPhotoList .isTreeBranches:before{content:'';position:absolute;left:-12px;top:38px;bottom:36px;border-left:1px solid #777}
.inventoryPhotoList .isTreeNode,.inventoryPhotoList .isTreeAdd{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;min-height:76px;width:100%;padding:12px;background:#121212;border:1px solid #444;border-radius:12px;color:#fff;text-align:left}
.inventoryPhotoList .isTreeNode:before,.inventoryPhotoList .isTreeAdd:before{content:'›';position:absolute;left:-25px;top:calc(50% - 10px);width:24px;height:20px;font-size:18px;line-height:18px;text-align:right;color:#aaa;background:linear-gradient(#777,#777) left center/17px 1px no-repeat}
.inventoryPhotoList .isTreeNode>span:first-child{min-width:0;flex:1}.inventoryPhotoList .isTreeNode strong{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.inventoryPhotoList .isTreeNode small{display:block;margin-top:4px;color:#bbb;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.inventoryPhotoList .isTreeNode[aria-pressed=true]{background:#242424!important;color:#fff!important;border-color:#fff!important;box-shadow:inset 0 0 0 1px #fff}.inventoryPhotoList .isTreeNode .isBubble{flex:none}
.inventoryPhotoList .isTreeAdd{min-height:48px;justify-content:center;text-align:center;font-size:13px;border-style:dashed}.inventoryPhotoList .isTreeResults{min-width:0}.inventoryPhotoList .isTreeResults>.isSectionTitle{margin-top:0;min-height:30px}.inventoryPhotoList .isTreeResults .isSectionTitle h3{overflow-wrap:anywhere}.inventoryPhotoList .isTreeResults .isSectionTitle>span{flex:none}
.inventoryPhotoList .isTreeNode:focus-visible,.inventoryPhotoList .isTreeAdd:focus-visible,.inventoryPhotoList .isItem:focus-visible{outline:2px solid #fff;outline-offset:3px}
@container(min-width:940px){.inventoryPhotoList .isSidewaysTree{grid-template-columns:minmax(340px,0.9fr) minmax(0,1.25fr);gap:32px}.inventoryPhotoList .isTreeResults{position:relative}.inventoryPhotoList .isTreeResults:before{content:'→';position:absolute;left:-27px;top:2px;color:#aaa;font-size:22px}}
@container(max-width:480px){.inventoryPhotoList .isTreeMap{grid-template-columns:1fr;gap:22px}.inventoryPhotoList .isTreeRoot{display:grid;grid-template-columns:64px minmax(0,1fr) auto;text-align:left;gap:8px;padding:12px}.inventoryPhotoList .isTreeRoot>.isDrawing{width:64px;height:64px;grid-row:1/3}.inventoryPhotoList .isTreeRoot>strong{font-size:16px}.inventoryPhotoList .isTreeRoot>small{grid-column:2/4}.inventoryPhotoList .isTreeRoot:after{content:'↓';right:auto;left:30px;top:auto;bottom:-23px;width:20px;border:0;color:#aaa;font-size:20px}.inventoryPhotoList .isTreeBranches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:8px}.inventoryPhotoList .isTreeBranches:before,.inventoryPhotoList .isTreeNode:before,.inventoryPhotoList .isTreeAdd:before{display:none}.inventoryPhotoList .isTreeNode{padding:10px;min-height:86px;align-items:flex-start;gap:6px}.inventoryPhotoList .isTreeNode strong{font-size:13px}.inventoryPhotoList .isTreeNode small{font-size:11px}.inventoryPhotoList .isTreeNode .isBubble{min-width:24px;min-height:24px;padding:2px 5px;font-size:12px}.inventoryPhotoList .isTreeAdd{grid-column:1/-1}.inventoryPhotoList .isItem{grid-template-columns:64px minmax(0,1fr);gap:10px}.inventoryPhotoList .isThumb{width:64px;height:64px;grid-row:1/3}.inventoryPhotoList .isQuantity{grid-column:2;text-align:left;max-width:none;font-size:17px}.inventoryPhotoList .isQuantity small{display:inline;margin-left:5px}.inventoryPhotoList .isSidewaysTree{gap:18px}}
/* The current scope remains beside the pinned search, not behind the page. */
.isPinnedLocation{font-weight:750;color:#f5f5f5;font-size:14px;line-height:1.35;padding:9px 3px 1px;overflow-wrap:anywhere}.isPinnedLocation:empty{display:none}
.isItem{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.isHoldingItem{outline:2px solid #fff!important;opacity:.65}.isDropTarget{outline:3px solid white!important;background:#444!important}.isDragGhost{position:fixed;z-index:10012;pointer-events:none;max-width:160px;background:#eee;color:#080808;border:1px solid #fff;box-shadow:0 8px 20px #000a;border-radius:10px;padding:10px;font:700 14px system-ui;overflow-wrap:anywhere}.isDropTray{box-sizing:border-box;position:fixed;z-index:10010;left:8px;right:8px;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);max-height:42dvh;overflow:auto;background:#111;color:#fff;border:1px solid #888;border-radius:14px;padding:12px;font:14px system-ui}.isDropTray>strong,.isDropTray>span{display:block;margin:0 0 7px}.isDropTray>span{color:#bbb}.isDropTray>div{display:flex;gap:8px;flex-wrap:wrap}.isDropTray [data-is-drop]{box-sizing:border-box;min-width:75px;min-height:50px;display:flex;align-items:center;justify-content:center;border:1px solid #666;border-radius:10px;padding:10px;background:#222;overflow-wrap:anywhere;max-width:100%}.isDropTray>button{margin-top:8px;min-height:44px;border:1px solid #666;border-radius:8px;background:#222;color:#fff;padding:8px 16px}.isInventoryDragging,.isInventoryDragging *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;cursor:grabbing!important}.isInventoryDragging .isItem{touch-action:none}

/* Separate stock and equipment counts, matching the original location cards. */
.inventoryPhotoList .isLocationStats{display:flex;flex-direction:column;gap:5px;margin-top:10px;font-size:12px;line-height:1.4;color:#ddd}.inventoryPhotoList .isLocationStats>span{display:block;overflow-wrap:anywhere}.inventoryPhotoList .isLocationStats b{color:#fff}.inventoryPhotoList .isLocation{min-height:132px}

.isManageBoxList{display:grid;gap:10px;margin:12px 0}.isManageBoxRow.btn{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;width:100%;text-align:left;white-space:normal;padding:12px}.isManageBoxRow>span{min-width:0;overflow-wrap:anywhere}.isManageBoxRow>span:last-child{flex-shrink:0;font-size:12px}.isManageBoxRow strong,.isManageBoxRow small{display:block}.isManageBoxRow small{font-size:12px;color:#bbb;margin-top:4px}.isArchivedBoxes,.isBoxContents{border:1px solid #444;border-radius:12px;padding:12px;margin:12px 0}.isArchivedBoxes summary,.isBoxContents summary{cursor:pointer;min-height:24px;line-height:24px}.isBoxConfirm{display:flex!important;align-items:center;justify-content:flex-start;gap:10px;min-height:48px;text-align:left!important}.isBoxConfirm input{width:22px!important;height:22px!important;flex:0 0 22px;margin:0!important}.isBoxConfirm span{min-width:0;font-size:14px;line-height:1.4}.invPackForm section[hidden],.invPackForm button[hidden],.invPackForm label[hidden]{display:none!important}#boxManageEdit>div{margin-bottom:12px}#boxManageDescription{width:100%;min-height:80px;resize:vertical}#boxManageSave{width:100%;min-height:48px;white-space:normal}#boxManageReload{width:100%;margin-bottom:10px}#isStorageActions{display:flex;flex-wrap:wrap;gap:8px}#isStorageActions>.btn{min-height:44px;white-space:normal}

/* One root-level location action; contextual back stays in the pinned controls. */
.inventoryPhotoList .isHeaderActions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.inventoryPhotoList .isHeaderActions .btn{min-height:44px;white-space:normal}.inventoryPhotoList .isHeaderActions [hidden]{display:none!important}.inventoryPhotoList .isPackedKit .isThumb{font-size:28px}.inventoryPhotoList .isHeader{flex-wrap:wrap}.inventoryPhotoList .isHeaderActions{max-width:100%}

/* Add a location lives with locations, never in the item toolbar or drop targets. */
.inventoryPhotoList .isLocation.isAddLocation{display:flex;align-items:center;justify-content:center;flex-direction:column;background:transparent;border:1px dashed #686868;color:#eee;min-width:0;min-height:132px}.inventoryPhotoList .isAddLocationPlus{display:block;font-size:48px;font-weight:300;line-height:1;padding:16px}.inventoryPhotoList .isAddLocation:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* Larger photos shared by parts, equipment and Ad Hoc Items in both front ends. */
.inventoryPhotoList .isItem{--inventory-item-photo-size:112px;grid-template-columns:var(--inventory-item-photo-size) minmax(0,1fr) auto;min-height:calc(var(--inventory-item-photo-size) + 24px)}
.inventoryPhotoList .isItem .isThumb{width:var(--inventory-item-photo-size);height:var(--inventory-item-photo-size);flex-shrink:0;background:transparent}
.inventoryPhotoList .isItem .isThumb img{width:100%;height:100%;object-fit:contain;background:transparent}
@container(max-width:480px){.inventoryPhotoList .isItem{grid-template-columns:var(--inventory-item-photo-size) minmax(0,1fr)}.inventoryPhotoList .isItem .isThumb{grid-row:1/3}.inventoryPhotoList .isItem .isQuantity{grid-column:2;text-align:left}}
@container(max-width:340px){.inventoryPhotoList .isItem{--inventory-item-photo-size:96px}}
@container(min-width:760px){.inventoryPhotoList .isItem{--inventory-item-photo-size:136px}}
