.warehouse-unified-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:8px;background:#f0f0f2;border:1px solid var(--line);border-radius:14px}
.warehouse-unified-tabs button{border:0;background:transparent;color:#4f4f56;border-radius:10px;padding:11px 15px;font:inherit;font-weight:800;cursor:pointer}
.warehouse-unified-tabs button:hover{background:#fff;color:#111}
.warehouse-unified-tabs button.active{background:#171719;color:#fff}
.warehouse-scope-note{margin-left:auto;padding:0 8px;color:var(--muted);font-size:13px}
@media(max-width:720px){.warehouse-unified-tabs{align-items:stretch}.warehouse-unified-tabs button{flex:1}.warehouse-scope-note{width:100%;margin:0;padding:4px 8px}}
/* Warehouse workbench */
#inventory>.head{gap:20px;flex-wrap:wrap}#inventory>.head>div:last-child{display:flex;gap:8px;flex-wrap:wrap}#inventory .wh-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:24px 0 12px}#inventory .wh-controls label,.wh-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#62646d}#inventory .wh-controls .wh-search{flex:1;min-width:240px}#inventory .wh-controls .wh-search label{margin-bottom:7px}#inventory .wh-controls input,#inventory .wh-controls select,.wh-form input,.wh-form select{width:100%;border:1px solid #dadce2;border-radius:10px;background:#fff;padding:11px 12px;font:inherit;color:#202129;min-height:43px}#inventory .wh-controls input:focus,#inventory .wh-controls select:focus,.wh-form input:focus,.wh-form select:focus{outline:2px solid #b8c8ef;outline-offset:1px}#inventory .wh-advanced{margin-bottom:20px;font-size:12px;color:#646671}#inventory .wh-advanced>summary{cursor:pointer;padding:8px 0}#inventory .wh-advanced .material-controls{margin-top:10px}#inventory .wh-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}#inventory .wh-summary article{display:flex;flex-direction:column;gap:7px;background:#fff;border:1px solid #e0e2e7;border-radius:16px;padding:19px 22px}#inventory .wh-summary span{font-size:13px;color:#51535f}#inventory .wh-summary strong{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:750}#inventory .wh-summary small{font-size:11px;color:#81838d}#inventory .wh-summary .wh-attention{background:#fff9ee;border-color:#eedfbd}#inventory .wh-attention strong{color:#9a640b}#inventory .wh-sources{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}#inventory .wh-sources button{display:flex;gap:10px;align-items:center;background:transparent;border:1px solid transparent;border-radius:10px;padding:10px 14px;font:inherit;font-size:13px;font-weight:650;color:#646671;cursor:pointer}#inventory .wh-sources button[aria-pressed=true]{background:#20232c;color:#fff}#inventory .wh-sources span{font-size:11px;background:#e8e9ed;color:#626570;border-radius:6px;padding:2px 6px}#inventory .wh-sources button[aria-pressed=true] span{background:#454853;color:#fff}#inventory .wh-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}#inventory .wh-categories{align-self:start;padding:16px 0}.wh-eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:750;color:#8a8d99}#inventory .wh-categories .wh-eyebrow{padding:0 12px 16px}#inventory .wh-categories button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;border:0;border-radius:9px;background:transparent;padding:11px 12px;font:inherit;font-size:12px;color:#60636f;cursor:pointer}#inventory .wh-categories button[aria-pressed=true]{background:#fff;color:#252832;box-shadow:0 1px 4px #1f27300b;font-weight:750}#inventory .wh-categories span{color:#8a8d98;font-size:11px}#inventory .wh-categories p{font-size:11px;line-height:1.7;color:#9699a3;padding:10px 12px}#inventory .wh-results{background:#fff;border:1px solid #dfe1e6;border-radius:16px;min-width:0;overflow:hidden}#inventory .wh-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px}#inventory .wh-results-head h2{margin:0 0 5px;font-size:17px}#inventory .wh-results-head span{font-size:11px;color:#8c8f9a}#inventory .wh-table-wrap{overflow-x:auto}#inventory .wh-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}#inventory .wh-table th{background:#f8f9fb;font-size:10px;font-weight:650;color:#7c808c;padding:12px 16px;white-space:nowrap;border-block:1px solid #eceef2}#inventory .wh-table td{padding:17px 16px;border-bottom:1px solid #eef0f4;vertical-align:middle}#inventory .wh-table tbody tr:hover{background:#fcfcfe}#inventory .wh-table td:first-child{min-width:230px;max-width:400px}#inventory .wh-table b{font-weight:650;line-height:1.5}#inventory .wh-table small{display:block;margin-top:5px;color:#9699a3;font-size:10px;line-height:1.45}#inventory .wh-qty{white-space:nowrap;font-variant-numeric:tabular-nums}#inventory .wh-low,#inventory .wh-table small.wh-low{color:#b46c16}#inventory .wh-good{color:#27816a}#inventory .wh-source{display:inline-block;font-size:9px;line-height:1.3;padding:3px 6px;border-radius:5px;margin-top:8px;background:#eef0f4;color:#727886}#inventory .wh-source-cashier{background:#eaf4f0;color:#367a64}#inventory .wh-source-material{background:#eef1fc;color:#6576b2}#inventory .wh-linked{font-size:9px;color:#9498a3;margin-left:6px}#inventory .wh-actions{position:relative;min-width:85px}#inventory .wh-actions summary{cursor:pointer;color:#51596e;font-size:12px;white-space:nowrap}#inventory .wh-actions>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}#inventory .wh-actions .btn{padding:7px 9px;font-size:11px;white-space:nowrap}#inventory .wh-table a{color:#657392;font-size:11px}#inventory .wh-table .btn{white-space:nowrap;font-size:11px}#inventory .wh-ledger-note{color:#999ca6;font-size:10px;line-height:1.6;padding:10px 20px;margin:0}#inventory .wh-empty{padding:30px;text-align:center;color:#7e8390}#inventory .wh-journal{margin-top:24px;background:white;border:1px solid #e0e2e7;border-radius:14px;overflow:hidden}#inventory .wh-journal>summary{padding:18px 22px;cursor:pointer;font-size:13px;font-weight:700}#inventory .wh-journal>summary span{color:#9699a3;font-size:11px;font-weight:400;margin-left:12px}.wh-dialog{border:1px solid #dfe1e8;border-radius:20px;padding:0;width:min(560px,calc(100vw - 24px));max-height:90vh;box-shadow:0 30px 100px #18213544;background:#fff;color:#20232b}.wh-dialog::backdrop{background:#12192566;backdrop-filter:blur(3px)}.wh-form{padding:26px;display:grid;gap:17px}.wh-dialog-head{display:flex;gap:16px;justify-content:space-between;align-items:start}.wh-dialog-head h2{font-size:21px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.wh-dialog-head p{color:#818693;font-size:12px;line-height:1.6;margin:0}.wh-current{display:grid;gap:6px;background:#f4f7fa;border-radius:12px;padding:16px}.wh-current span,.wh-current small{font-size:11px;color:#858b98}.wh-current strong{font-size:25px}.wh-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wh-form .wh-help{font-size:12px;color:#808692;line-height:1.65;margin:-7px 0 0}.wh-form footer{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #eceef2;padding-top:20px}.wh-form .wh-error{border-radius:10px;padding:12px;background:#fff0ed;color:#a33d2a;font-size:12px;line-height:1.6}.wh-form [hidden]{display:none!important}
@media(max-width:1100px){#inventory .wh-layout{grid-template-columns:180px minmax(0,1fr);gap:16px}#inventory .wh-summary article{padding:16px}#inventory .wh-summary small{line-height:1.5}#inventory .wh-controls label{flex:1;min-width:150px}}@media(max-width:760px){#inventory .wh-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#inventory .wh-layout{display:block}#inventory .wh-categories{display:flex;overflow:auto;gap:6px;padding:0 0 14px}#inventory .wh-categories button{width:auto;white-space:nowrap;border:1px solid #e1e3e8}#inventory .wh-categories p,#inventory .wh-categories .wh-eyebrow{display:none}#inventory .wh-controls{gap:8px}#inventory .wh-controls label{min-width:130px}#inventory .wh-controls .wh-search{flex-basis:100%}#inventory .wh-results-head{padding:15px}#inventory .wh-results-head h2{font-size:15px}#inventory .wh-sources button{padding:9px 10px;font-size:11px}#inventory .wh-table td{padding:14px 12px}.wh-form{padding:20px}.wh-form-grid{grid-template-columns:1fr}}
#inventory>.head [data-jump]{display:none}#inventory>.head{margin-bottom:20px}#inventory .wh-summary{margin-bottom:18px}#inventory .wh-summary article{padding:15px 20px}#inventory .wh-controls{margin-top:18px}#inventory .wh-advanced{margin-bottom:12px}
