/* Keep an unbroken parent-to-every-child route on narrow screens too. */
.inventoryPhotoList .isTreeMap{position:relative;isolation:isolate;grid-template-columns:140px minmax(0,1fr);gap:40px}
.inventoryPhotoList .isTreeLines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1;overflow:visible}
.inventoryPhotoList .isTreeRoot{width:100%;font:inherit;color:#fff;cursor:pointer;min-height:174px}
.inventoryPhotoList .isTreeRoot:after,.inventoryPhotoList .isTreeBranches:before,.inventoryPhotoList .isTreeNode:before,.inventoryPhotoList .isTreeAdd:before{display:none!important}
.inventoryPhotoList .isTreeBranches{display:flex;flex-direction:column;gap:12px;padding:0;min-width:0}
.inventoryPhotoList .isTreeNode{min-height:76px;padding:12px;align-items:center;gap:10px}
.inventoryPhotoList .isTreeNode strong{font-size:15px}.inventoryPhotoList .isTreeNode small{font-size:12px}
.inventoryPhotoList .isTreeRoot[aria-pressed=true],.inventoryPhotoList .isTreeNode[aria-pressed=true]{background:#242424!important;color:#fff!important;border-color:#fff!important;box-shadow:inset 0 0 0 1px #fff}
.inventoryPhotoList .isTreeRoot:focus-visible,.inventoryPhotoList .isPathParent:focus-visible{outline:2px solid #fff;outline-offset:3px}
.inventoryPhotoList .isTreeRoot small{color:#ccc}.inventoryPhotoList .isTreeRoot[aria-pressed=true] small,.inventoryPhotoList .isTreeNode[aria-pressed=true] small{color:#fff}
.inventoryPhotoList .isLocationPath{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px 12px;border:1px solid #666;border-radius:10px;background:#111;font-size:14px;line-height:1.5}
.inventoryPhotoList .isLocationPath:empty{display:none}.inventoryPhotoList .isLocationPath strong{overflow-wrap:anywhere}.inventoryPhotoList .isPathParent{appearance:none;font:inherit;font-weight:700;color:#fff;background:none;border:0;border-bottom:1px solid #999;border-radius:0;padding:0;min-height:32px;width:auto;cursor:pointer}
.inventoryPhotoList .isTreeResults .isSectionTitle{align-items:flex-start}.inventoryPhotoList .isTreeResults .isSectionTitle h3{line-height:1.4}
.inventoryPhotoList .isTreeAdd{grid-column:auto;flex:none}
.inventoryPhotoList .isSidewaysTree.isSimpleLocation{grid-template-columns:minmax(0,1fr);gap:0}
.inventoryPhotoList .isSimpleLocation>.isTreeMap,.inventoryPhotoList .isSimpleLocation>.isTreeResults:before{display:none}
.inventoryPhotoList .isStorageActions:empty{display:none}
.inventoryPhotoList .isStorageActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.inventoryPhotoList .isStorageActions>.btn{width:auto;min-height:42px;padding:9px 12px;font-size:13px}
@container(min-width:940px){.inventoryPhotoList .isSidewaysTree{grid-template-columns:minmax(370px,0.95fr) minmax(0,1.2fr)}}
@container(max-width:480px){
 .inventoryPhotoList .isTreeMap{grid-template-columns:minmax(0,1fr);gap:24px}
 .inventoryPhotoList .isTreeRoot{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px;text-align:left;padding:12px;min-height:90px}
 .inventoryPhotoList .isTreeRoot>.isDrawing{width:64px;height:64px;grid-row:1/3}
 .inventoryPhotoList .isTreeRoot>small{grid-column:2/4}
 .inventoryPhotoList .isTreeBranches{display:flex;margin-left:50px;gap:12px}
 .inventoryPhotoList .isTreeNode{min-height:76px;align-items:center;gap:10px;padding:12px}
 .inventoryPhotoList .isTreeNode strong{font-size:15px}.inventoryPhotoList .isTreeNode small{font-size:12px}
 .inventoryPhotoList .isTreeNode .isBubble{min-width:30px;min-height:28px;padding:3px 7px;font-size:13px}
}
