.location-operations{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;background:#102a36;color:#e9f3f4;border:1px solid #45616c;border-radius:20px;padding:22px;box-shadow:0 20px 80px #0008;font:15px/1.5 system-ui}
.location-operations::backdrop{background:#03101bd9}.location-operations header{display:flex;justify-content:space-between;align-items:start;gap:16px}.location-operations h2{margin:4px 0 12px}.location-operations small,.location-hint{color:#b2cbd2}.location-operations label{display:block;margin:12px 0}.location-operations select,.location-operations input,.location-operations textarea{box-sizing:border-box;display:block;width:100%;background:#081e29;color:#f1f6f7;border:1px solid #52727d;border-radius:9px;padding:12px;font:inherit}.location-operations button{min-height:44px;background:#173b48;color:#e7f5f6;border:1px solid #52727d;border-radius:10px;padding:10px 14px;margin:4px;cursor:pointer;font:inherit}.location-operations button[type=submit]{background:#dfbf80;color:#10222b}.location-operations button:disabled{opacity:.5;cursor:wait}.location-operations :focus-visible{outline:3px solid #69d9dc;outline-offset:2px}.location-operations pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.location-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.location-cards button{text-align:left}.location-cards span,.location-cards small{display:block;white-space:pre-line}.location-operations article,.location-edit-row,.location-operations details{padding:12px;border:1px solid #3c5964;border-radius:12px;margin:12px 0}.location-operations [data-error]{color:#ffb7a3}.location-operations [hidden]{display:none!important}@media(max-width:560px){.location-cards{grid-template-columns:1fr}.location-operations{padding:14px}.location-operations h2{font-size:21px}}
.location-racks{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin:14px 0}.location-racks button{margin:0;padding:8px 3px}.location-racks button[aria-pressed=true]{background:#dfbf80;color:#10222b}.location-racks small{display:block;font-size:11px;color:inherit}.location-racks select{grid-column:1/-1}@media(max-width:400px){.location-racks{grid-template-columns:repeat(4,minmax(0,1fr))}}
.location-confirm{position:sticky;bottom:0;background:#193a48;border:2px solid #dfbf80;border-radius:12px;padding:16px;box-shadow:0 -12px 40px #0009}.location-confirm p{white-space:pre-line}.location-confirm button:first-of-type{background:#dfbf80;color:#10222b}
/* Physical bay: highest level at the top, pallet columns left to right. */
.location-operations{width:min(1180px,calc(100vw - 24px))}.location-bay-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start;margin:20px 0}.location-bay-workspace:has([data-place-management]:not([hidden])){grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.location-bay-scroll{overflow-x:auto;min-width:0}.location-bay{border-left:9px solid #527480;border-right:9px solid #527480;border-radius:8px 8px 0 0;background:#081e29;padding:0 6px;min-width:280px}.location-bay-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 5px;color:#c7dce0}.location-bay-heading strong{font-size:22px;color:#e9cb8e}.location-bay-heading span{font-size:12px}.location-bay-level{border-bottom:8px solid #bb9656;padding:6px 0 0;margin-bottom:12px}.location-level-label{display:block;color:#b2cbd2;font-size:12px;padding:0 4px 5px}.location-bay-slots,.location-bay-columns{display:grid;grid-template-columns:repeat(var(--bay-columns),minmax(0,1fr));gap:7px}.location-operations .location-pallet{min-width:0;margin:0;padding:7px 4px;border-radius:8px 8px 0 0;display:flex;flex-direction:column;align-items:stretch;background:#163845;text-align:center}.location-pallet[aria-pressed=true]{outline:2px solid #edca83;outline-offset:-2px;background:#244b57}.location-pallet>b{font-size:12px;overflow-wrap:anywhere}.location-pallet>small{font-size:10px;margin-top:auto;padding-top:7px}.location-pallet-products{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:8px 0;flex:1}.location-pallet-product{display:flex;flex-direction:column;align-items:center;min-width:0;width:100%;max-width:150px}.location-photo{display:grid;place-items:center;position:relative;width:100%;height:82px;border-radius:6px;background:#e8f0f1;color:#47606b;overflow:hidden;font-size:10px}.location-photo img{position:absolute;width:100%;height:100%;object-fit:contain;background:#fff}.location-pallet-sku{display:block;font-weight:650;font-size:11px;margin-top:4px;overflow-wrap:anywhere}.location-product-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;color:#b2cbd2}.location-operations .location-pallet.is-empty{background:transparent;border-style:dashed}.location-empty-mark{align-self:center;color:#8faeb9;font-size:12px;min-height:115px;display:grid;place-items:center}.location-slot-missing{display:grid;place-items:center;opacity:.35;min-height:120px}.location-bay-columns{text-align:center;color:#b2cbd2;font-size:12px;padding-bottom:10px}[data-place-management]{background:#16313e;border:1px solid #49616a;border-radius:14px;padding:16px;min-width:0}[data-place-management] h2{font-size:22px}[data-place-management] pre{font-size:13px}.location-operations [data-place-management] button{font-size:13px;margin:3px}.location-bay-workspace+div[data-actions]{display:flex;flex-wrap:wrap}@media(max-width:760px){.location-bay-workspace:has([data-place-management]:not([hidden])){grid-template-columns:minmax(0,1fr)}.location-bay-heading span{max-width:140px}.location-photo{height:65px}.location-pallet-products{gap:6px}.location-bay{border-width:6px;padding:0 3px}.location-bay-slots{gap:4px}.location-pallet>b{font-size:10px}.location-operations{padding:12px}.location-operations .location-pallet{padding:6px 2px}}
.location-operations>p{font-size:13px;margin:8px 0}.location-operations>header h2{margin-bottom:4px}.location-operations>.location-racks{margin:10px 0}.location-bay .location-photo{height:60px}.location-bay .location-product-name{display:none}.location-bay .location-pallet-product{max-width:125px}.location-pallet-products:has(.location-pallet-product:nth-child(2)) .location-pallet-product{width:calc(50% - 4px)}.location-bay .location-empty-mark{min-height:90px}.location-bay-level{margin-bottom:6px}.location-bay-workspace{margin:12px 0}.location-bay-workspace [data-place-management]{position:sticky;top:0}@media(max-width:760px){.location-bay-workspace [data-place-management]{position:static}.location-bay .location-photo{height:55px}}
.location-navigation{margin:12px 0}.location-navigation .location-racks{grid-template-columns:repeat(auto-fit,minmax(64px,1fr));margin:10px 0}.location-navigation .location-halls{grid-template-columns:repeat(2,minmax(0,1fr))}.location-nav-label{grid-column:1/-1;font-size:12px;color:#b2cbd2;margin:4px 0}.location-navigation .location-sections{grid-template-columns:repeat(auto-fill,minmax(68px,1fr))}.location-navigation button{min-height:48px}.location-navigation .location-sections b{font-size:12px}
.location-function-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.location-operations .location-function-choice button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;gap:8px;min-height:120px;margin:0;padding:16px;border-color:#68858e}.location-function-choice b{font-size:19px;color:#edcf94}.location-function-choice span{font-size:12px;color:#b2cbd2}.location-function-intro{color:#b2cbd2}@media(max-width:380px){.location-function-choice{grid-template-columns:1fr}}
.location-search-results{display:grid;gap:6px;max-height:320px;overflow:auto;margin:8px 0}.location-operations .location-search-hit{display:flex;gap:10px;align-items:center;text-align:left;margin:0;padding:10px;min-width:0}.location-search-hit .location-photo,.location-selected-product .location-photo{width:60px;height:60px;flex-shrink:0}.location-search-hit>span:last-child{min-width:0}.location-search-hit span span,.location-search-hit small,.location-selected-product small{display:block;font-size:12px;overflow-wrap:anywhere}.location-selected-product{display:flex;gap:10px;align-items:center;font-size:13px}.location-selected-product:empty{display:none}.location-search-hit:hover,.location-search-hit:focus-visible{background:#285360}
