.brand{display:flex;align-items:center;gap:12px;letter-spacing:-.6px;font-size:24px;line-height:1.1}.brand-logo{width:56px;height:56px;flex:none;border:1px solid #ffffff29;border-radius:14px}.brand-copy{display:block}.brand-copy b{font-weight:750}.brand-copy em{font-style:normal;color:#dc143c}.brand small{font-weight:400;font-size:11px;letter-spacing:1px;line-height:1.4;margin-top:7px}.auth-gate .brand-logo{width:52px;height:52px}.inventory-icon{width:26px;height:26px;vertical-align:middle;flex:none;object-fit:contain}.store-nav{display:flex;align-items:center;gap:12px}.store-emblem{display:grid;place-items:center;width:42px;height:42px;background:#edfff8;border:1px solid #cef3e4;border-radius:12px;flex:none}.nav .active .store-emblem{background:#fff}.unit-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}.unit-heading .inventory-icon{width:38px;height:38px;padding:5px;background:#eafdf5;border-radius:8px}.unit-heading h3{font-size:16px}.shelf-label{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin-top:16px}.shelf-label .inventory-icon{width:22px;height:22px}.rack .shelf{gap:7px;flex-wrap:wrap;padding:8px 0 10px}.rack .bin{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:58px;flex:1 0 58px;padding:8px 6px;border-radius:7px;background:#fff}.rack .bin.occupied{background:#dbfeef}.bin .inventory-icon{width:21px;height:21px}.bin .address-kind{font-size:9px;letter-spacing:.2px}.bin .address-number{font-size:13px;font-weight:750}.rack.wall-unit{background:#f8fffc}.wall-unit .shelf{border-bottom:0;border-top:2px solid #caf0e0;background-image:radial-gradient(#c3ebda 1px,transparent 1px);background-size:10px 10px}.wall-unit .bin{border-radius:4px 4px 11px 11px;border-bottom-width:3px}.racks{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}.hierarchy-path{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:9px;line-height:1.6}.hierarchy-path .inventory-icon{width:19px;height:19px}.current-store-title{display:flex;gap:10px;align-items:center}.current-store-title .inventory-icon{width:34px;height:34px}@media(max-width:500px){header{gap:10px;padding:17px 4%}.brand{font-size:20px}.brand-logo{width:44px;height:44px}.brand small{font-size:9px}.racks{grid-template-columns:1fr}.store-nav{gap:8px}.store-emblem{width:35px;height:35px}}
[hidden]{display:none!important}#storePage{display:block}#storePage>aside{display:none}.store-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.store-card{display:flex;align-items:center;gap:14px;padding:22px;text-align:left;background:white;border-radius:14px}.store-card small{display:block;color:var(--muted);margin-top:7px}.store-card>span:last-child{margin-left:auto;font-size:25px}.store-card .store-emblem{width:54px;height:54px}#storeTabs{display:flex;gap:10px;margin:20px 0}#storeTabs a{padding:12px 18px;color:var(--accent);border:1px solid var(--line);border-radius:8px;text-decoration:none;background:white}#storeTabs a[aria-current=page]{background:var(--accent);color:white}.stats{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.stat{padding:16px}.floor-unit{background:#edfcf6}.floor-unit .shelf{border:2px dashed #92cfb6;border-radius:8px;padding:10px}.floor-unit .bin{background:#f8fffc}@media(max-width:600px){#rows,#rows tr,#rows td{display:block}#thead{display:none}#rows tr{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:10px}#rows td{border:0;padding:6px 4px;overflow-wrap:anywhere}#rows td:nth-child(2):before{content:'Specification: ';font-weight:700}#rows td:nth-child(3):before{content:'Serial: ';font-weight:700}.tablewrap{overflow:visible}.tablewrap table{display:block}.foot{flex-wrap:wrap}.row{grid-template-columns:1fr}.stats{gap:8px}.stat strong{font-size:24px}.store-card{padding:18px}}
.rack .bin.bin-good.occupied{background:#d9f2df;border-color:#72bd83}.rack .bin.bin-reorder.occupied{background:#ffebc7;border-color:#e9a83a}.rack .bin.bin-critical.occupied{background:#f8d7da;border-color:#dc7780}.floor-unit .rack .bin.bin-good.occupied{background:#d9f2df}.floor-unit .rack .bin.bin-reorder.occupied{background:#ffebc7}.floor-unit .rack .bin.bin-critical.occupied{background:#f8d7da}
.floor-unit .bin:not(.occupied){background:#fff}

#rows tr.stockline-good>td,.machine-parts-manual tbody tr.stockline-good>td{background:#eef8ef}#rows tr.stockline-reorder>td,.machine-parts-manual tbody tr.stockline-reorder>td{background:#fff4e3}#rows tr.stockline-critical>td,.machine-parts-manual tbody tr.stockline-critical>td{background:#fceced}.stockline.stockline-good{background:#eef8ef}.stockline.stockline-reorder{background:#fff4e3}.stockline.stockline-critical{background:#fceced}
/* Store emblems are deliberately taller and tinted per store. */
.store-emblem{height:60px;width:52px;background:var(--store-color,#edfff8);border-color:color-mix(in srgb,var(--store-color,#edfff8),#24b87a 18%);border-radius:13px}.store-emblem .inventory-icon{width:36px;height:42px;object-fit:contain}.store-card .store-emblem{width:64px;height:72px}.store-card .store-emblem .inventory-icon{width:44px;height:52px}.current-store-title .store-emblem{width:48px;height:54px}.current-store-title .store-emblem .inventory-icon{width:34px;height:40px}.store-logo-preview{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.store-logo-preview .store-emblem{width:60px;height:66px}.store-logo-preview .inventory-icon{width:42px;height:48px}@media(max-width:500px){.store-emblem{width:44px;height:52px}.store-emblem .inventory-icon{width:32px;height:38px}}
.cabinet-unit{background:#f4fffa;border-left:5px solid #73c8a5}.cabinet-unit .shelf{border-bottom-color:#73a892}
.pallet-unit{background:#fff9ed;border-left:5px solid #c99037}.space-unit{background:#f4fbf8;border-left:5px solid #59a68a}
.machine-unit{background:#f3fbf8;border-left:5px solid #648b7b}

/* One consistent action bar, with QR tools revealed on demand. */
.workspace-actions{gap:10px;padding:12px;background:#eafff5;border:1px solid #c2ead7;border-radius:14px;margin-bottom:26px;align-items:center}
.workspace-actions>button,.workspace-actions>.workspace-button,.workspace-actions #allQrLabels{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:11px 17px;background:#93fdd1;color:#144933;border:1px solid #70d9ac;border-radius:10px;font-weight:650;text-decoration:none;line-height:1.25;box-shadow:0 2px 3px #14493308;transition:background .15s,border-color .15s}
.workspace-actions button:hover,.workspace-actions .workspace-button:hover{background:#b6ffe2;border-color:#24b87a}
.workspace-actions button:focus-visible,.workspace-actions a:focus-visible{outline:3px solid #18794e;outline-offset:3px}
.qr-tools{position:relative}.qr-chevron{font-size:20px;line-height:1;transition:transform .15s}
#allQrLabels[aria-expanded=true] .qr-chevron{transform:rotate(180deg)}
.qr-tools-panel{position:absolute;top:calc(100% + 8px);left:0;z-index:40;display:grid;gap:7px;width:max-content;min-width:255px;max-width:calc(100vw - 52px);padding:10px;background:#f8fffc;border:1px solid #a1dcbf;border-radius:13px;box-shadow:0 12px 30px #14493322}
.qr-tools-panel[hidden]{display:none}
.qr-tools-panel button,.qr-tools-panel a{display:block;width:100%;padding:13px 15px;border:1px solid #b0e7cd;border-radius:9px;background:#deffed;color:#144933;text-align:left;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;white-space:normal}
.qr-tools-panel button:hover,.qr-tools-panel a:hover{background:#b6ffe2;border-color:#24b87a}
@media(max-width:600px){.workspace-actions{gap:8px;padding:10px}.workspace-actions>button,.workspace-actions>.workspace-button,.workspace-actions #allQrLabels{padding:11px 13px;min-height:46px}.qr-tools-panel{min-width:230px}}

.sectioned-rack{grid-column:1/-1;min-width:0}.rack-sections{display:grid;grid-template-columns:repeat(6,minmax(195px,1fr));gap:12px;overflow-x:auto;padding-bottom:10px}.rack-section{min-width:0;border-left:3px solid #8cc5ad;padding:0 8px}.rack-section h4{margin:8px 0;background:#e6f6ee;padding:10px;border-radius:5px}.rack-section .shelf-label{flex-wrap:wrap;align-content:start}.rack-section .shelf-label button{font-size:12px;text-align:left;flex:1}.rack-section .shelf{min-height:18px}.rack-section .bin{flex-grow:0;flex-basis:calc(50% - 4px)}
html[data-device=mobile] .rack-sections{grid-template-columns:1fr;overflow:visible}html[data-device=mobile] .rack-section .bin{flex-basis:calc(33.333% - 5px)}
