.inventoryScan{display:grid;grid-template-columns:minmax(180px,1fr) 150px auto;gap:12px;align-items:end;margin:20px 0}
.inventoryScan input{width:100%;min-width:0}.inventoryScan button{height:44px}
.inventoryStatus{padding:14px 0;border-block:1px solid #d5dedd;overflow-wrap:anywhere}
.inventoryStatus .rowActions{margin-top:12px;flex-wrap:wrap}.inventoryLast{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 0}
#inventoryPlace{font-size:19px;overflow-wrap:anywhere}#inventoryLast{overflow-wrap:anywhere;min-width:0}
@media(max-width:650px){.inventoryScan{grid-template-columns:minmax(0,1fr) 112px}.inventoryScan>label:first-child{grid-column:1/-1}.inventoryScan button{width:100%}.inventoryLast>button{max-width:100%;white-space:normal}}

.inventoryModeTabs,.inventoryCellFilters{display:flex;gap:2px;flex-wrap:wrap}
.inventoryModeTabs button[aria-selected="true"],.inventoryCellFilters button[aria-pressed="true"]{background:#e3f1e9;color:#185d3a;border-color:#3c805a}
.inventoryCellToolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.inventoryCellToolbar>input{flex:1;min-width:160px;max-width:420px}
.inventoryCellSelection{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0;border-block:1px solid #d5dedd}
#inventoryCellsSelected{flex:1;min-width:190px;font-variant-numeric:tabular-nums}
.inventoryDanger{color:#9d252b!important;background:#fff4f3!important;border-color:#c27579!important}
.inventoryDanger:disabled{opacity:.5}
.inventoryCellsTable table{width:100%;table-layout:fixed}
.inventoryCellsTable th:first-child{width:65px}
.inventoryCellsTable th:nth-child(2){width:30%}
.inventoryCellsTable th:nth-child(3){width:22%}
.inventoryCellsTable th:last-child{width:64px}
.inventoryCellsTable td,.inventoryCellsTable th{overflow-wrap:anywhere}
.inventoryCellCheck input,.inventoryCellsTable th input,.inventoryClearAck input{width:20px;height:20px;flex:none;accent-color:#246b45}
.inventoryCellState{font-weight:600}
.inventoryCellState.filled{color:#246b45}
.inventoryCellState.empty{color:#596775}
.inventoryClearDialog{display:grid;gap:14px;min-width:0}
.inventoryClearDialog>label{display:grid;gap:6px}
.inventoryClearDialog input:not([type="checkbox"]){width:100%;min-width:0;box-sizing:border-box}
.inventoryClearTotal{font-weight:600;margin:0}
.inventoryClearList{max-height:260px;overflow:auto}
.inventoryClearList td{overflow-wrap:anywhere}
.inventoryClearAck{display:flex!important;align-items:center;gap:10px}
.inventoryClearDialog .actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.inventoryClearDialog .actions button{white-space:normal;max-width:100%}
@media(max-width:650px){
 .inventoryModeTabs{width:100%}.inventoryModeTabs button{flex:1;min-width:0;justify-content:center}
 .inventoryCellToolbar>input{max-width:none;flex-basis:100%}
 .inventoryCellFilters{flex:1}.inventoryCellFilters button{padding-inline:10px}
 .inventoryCellSelection{gap:8px}.inventoryCellSelection>span{flex-basis:100%}
 .inventoryCellSelection>button{flex:1;min-width:0;white-space:normal}
 .inventoryCellsTable .tableWrap{overflow:visible}
 .inventoryCellsTable table,.inventoryCellsTable tbody{display:block;min-width:0}
 .inventoryCellsTable thead{display:none}
 .inventoryCellsTable tr{display:grid;grid-template-columns:34px minmax(0,1fr) 44px;gap:8px;border-bottom:1px solid #d5dedd;padding:14px 0}
 .inventoryCellsTable td{display:block;border:0!important;padding:0!important;min-width:0}
 .inventoryCellsTable td:first-child{grid-column:1;grid-row:1/4}
 .inventoryCellsTable td:nth-child(2){grid-column:2;grid-row:1}
 .inventoryCellsTable td:nth-child(3){grid-column:2;grid-row:2}
 .inventoryCellsTable td:nth-child(4){grid-column:2;grid-row:3;text-align:left}
 .inventoryCellsTable td:nth-child(4)::before{content:"Артикулов: "}
 .inventoryCellsTable td:nth-child(5){grid-column:2;grid-row:4;text-align:left}
 .inventoryCellsTable td:nth-child(5)::before{content:"Количество: "}
 .inventoryCellsTable td:last-child{grid-column:3;grid-row:1}
}
