#warehouse-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding-bottom:80px}#warehouse-workspace>.panel{margin:0;min-width:0}#warehouse-workspace .caption{margin:0 0 10px;color:var(--muted,#abb8c9);font-size:10px;letter-spacing:.15em}#warehouse-workspace h2{margin:0 0 18px;font-size:20px}#warehouse-workspace .warehouse-location{grid-column:1/-1}#warehouse-workspace .warehouse-contents{grid-column:2;grid-row:2/span 3;align-self:start}#warehouse-workspace .warehouse-entry{align-self:start}#warehouse-workspace .warehouse-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}#warehouse-workspace .shelf-cascade{width:100%;margin:0}#warehouse-workspace .warehouse-book-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}#warehouse-workspace .warehouse-book-tools>input{grid-column:1/-1;min-width:0}#warehouse-workspace .warehouse-management-tools,#warehouse-management-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}#warehouse-workspace .warehouse-secondary>summary{cursor:pointer;font-size:15px;font-weight:600;min-height:28px;color:var(--ink,#eef3fa)}#warehouse-workspace .warehouse-secondary[open]>summary{margin-bottom:18px}#warehouse-workspace .warehouse-secondary>p{font-size:13px;line-height:1.7;color:var(--muted,#abb8c9)}.warehouse-content-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.shelf-stock-total{font-size:12px;color:var(--accent,#ffab78);padding:7px 10px;border:1px solid var(--line,#384453);border-radius:8px}.warehouse-contents>input{width:100%;min-width:0;font-size:14px;margin-bottom:14px}.shelf-current-address{font-size:12px;color:var(--muted,#abb8c9);margin:0 0 6px}.shelf-product{border-bottom:1px solid var(--line,#384453)}.shelf-product-open{display:grid;grid-template-columns:48px minmax(0,1fr) auto;width:100%;gap:12px;align-items:center;text-align:left;padding:15px 0;border:0;border-radius:0;background:transparent;color:var(--ink,#eef3fa);white-space:normal;box-shadow:none}.shelf-product-open:hover{background:var(--panel,#232b36)}.shelf-product-open:focus-visible{outline:2px solid var(--accent,#ffab78);outline-offset:3px;border-radius:8px}.shelf-product-cover{display:grid;place-items:center;width:48px;height:66px;border-radius:6px;background:var(--rail,#19212b);color:var(--muted,#abb8c9);font-size:28px;overflow:hidden}.shelf-product-cover .cover{width:100%;height:100%;max-height:none;object-fit:contain;margin:0;border:0}.shelf-product-info{display:grid;gap:5px;min-width:0}.shelf-product-info strong{font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}.shelf-product-info small{font-size:11px;color:var(--muted,#abb8c9);overflow-wrap:anywhere}.shelf-product-brand{font-size:12px;color:var(--accent,#ffab78);overflow-wrap:anywhere}.shelf-product-count{display:grid;justify-items:center;min-width:35px}.shelf-product-count b{font-size:19px;line-height:1.3}.shelf-product-count small{font-size:10px;color:var(--muted,#abb8c9)}.shelf-product-count>span{font-size:22px;color:var(--accent,#ffab78)}.shelf-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:16px;font-size:12px;color:var(--muted,#abb8c9)}.shelf-pagination>div{display:flex;gap:8px}.shelf-pagination button{font-size:12px;padding:8px 12px;min-height:40px}.shelf-empty{text-align:center;padding:25px 12px;color:var(--muted,#abb8c9)}.shelf-empty>span{display:block;font-size:28px;margin-bottom:12px}.shelf-empty strong{display:block;color:var(--ink,#eef3fa);font-size:15px}.shelf-empty p{font-size:13px;line-height:1.7}.shelf-source-detail dl{display:grid;gap:12px}.shelf-source-detail dl>div{padding:12px;border:1px solid var(--line,#384453);border-radius:8px}.shelf-source-detail dt{font-size:12px;color:var(--muted,#abb8c9)}.shelf-source-detail dd{margin:7px 0 0;font-weight:600;overflow-wrap:anywhere}@media(max-width:900px){#warehouse-workspace{grid-template-columns:1fr;gap:14px}#warehouse-workspace .warehouse-contents{grid-column:auto;grid-row:auto}#warehouse-workspace .warehouse-toolbar{grid-template-columns:1fr}#warehouse-workspace .warehouse-toolbar>button{width:100%}#warehouse-workspace h2{font-size:19px}.shelf-product-open{gap:10px;grid-template-columns:44px minmax(0,1fr) 32px}.shelf-product-cover{width:44px;height:62px}#warehouse-workspace .warehouse-secondary{padding:16px}#warehouse-workspace .warehouse-secondary>summary{font-size:14px}}

.shelf-product-list{max-height:min(62dvh,620px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.shelf-product>.shelf-product-open{background:transparent}.shelf-product>.shelf-product-open:hover{background:var(--rail,#19212b)}.shelf-product-cover .cover{padding:0;min-width:0;min-height:0}.shelf-product-cover img{display:block;max-width:100%;max-height:100%}

#warehouse-workspace{grid-template-rows:auto auto 1fr}#warehouse-workspace .warehouse-contents{grid-row:2/span 2}#warehouse-workspace .warehouse-entry{grid-column:1;grid-row:2}.warehouse-tools-stack{grid-column:1;grid-row:3;display:grid;gap:14px;align-self:start}.warehouse-tools-stack>.panel{margin:0;align-self:start}@media(max-width:900px){#warehouse-workspace{grid-template-rows:none}#warehouse-workspace .warehouse-entry,#warehouse-workspace .warehouse-contents,.warehouse-tools-stack{grid-column:auto;grid-row:auto}}
