.inventory-product-actions{display:flex!important;flex-direction:column;gap:8px;align-items:stretch}
.inventory-product-actions button{min-height:44px;padding:8px 12px;border:1px solid #cbd5ce;border-radius:9px;background:white;color:#315840;font:inherit;cursor:pointer}
.owner-inventory-status.archived{background:#eceeec;color:#515b55}
.inventory-archive-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #d6ded7;border-radius:18px;padding:24px;background:#fff;color:#24342a;font:16px/1.5 system-ui,sans-serif}
.inventory-archive-dialog::backdrop{background:#17251cb3}
.inventory-archive-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0;background:none;color:inherit;position:static}
.inventory-archive-dialog h2{font-size:24px;margin:0}.inventory-archive-dialog h3{font-size:19px;overflow-wrap:anywhere}
.inventory-archive-dialog button{font:inherit;min-height:44px;min-width:44px;padding:10px 16px;border:1px solid #bbcbbf;border-radius:9px;background:#fff;color:#284c34;cursor:pointer}
.inventory-archive-dialog button[type=submit]{background:#274d35;color:white}
.inventory-archive-dialog button:disabled{opacity:.55;cursor:default}
.inventory-archive-dialog fieldset{border:0;padding:0;margin:18px 0}.inventory-archive-dialog label{display:grid;gap:8px;font-weight:600}
.inventory-archive-dialog textarea{box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #aebcb3;border-radius:9px;resize:vertical}
.inventory-archive-dialog .inventory-archive-confirm{display:flex;align-items:flex-start;gap:12px;margin-top:18px;font-weight:400}
.inventory-archive-confirm input{width:22px;height:22px;flex:none;margin:2px 0}
.inventory-archive-summary{padding:16px;background:#f1f5f1;border:1px solid #d5dfd6;border-radius:10px}.inventory-archive-summary p:last-child{margin-bottom:0}
.inventory-archive-dialog footer{display:flex;justify-content:flex-end;gap:12px;padding:0;background:none;position:static}.inventory-archive-dialog [data-status]{overflow-wrap:anywhere}
@media(max-width:520px){.inventory-archive-dialog{padding:20px}.inventory-archive-dialog footer button{flex:1}}
/* Scoped to the main product list; receiving and purchase orders keep their layouts. */
.owner-inventory-table{container-type:inline-size}
.inventory-order-toolbar{padding:14px 20px;background:#f4f8f5;border-block:1px solid #dce6df;margin:0;gap:12px}
.inventory-order-toolbar>span{font-size:15px;font-weight:600;margin-right:auto}
.owner-inventory-table .owner-inventory-row{grid-template-columns:minmax(230px,1.7fr) minmax(125px,.85fr) minmax(175px,1fr) 230px 85px 90px;align-items:start;gap:18px;padding:22px 20px;min-height:0}
.owner-inventory-table .owner-inventory-table-head{padding-block:12px;align-items:center}
.owner-inventory-table .owner-inventory-row>div{gap:7px}
.owner-inventory-table .owner-inventory-row>div strong{font-size:15px;white-space:normal;overflow:visible;line-height:1.4;overflow-wrap:anywhere}
.owner-inventory-table .owner-inventory-row>div:first-child>strong{font-size:18px;color:#21372a}
.owner-inventory-table .owner-inventory-row>div small{font-size:13px;line-height:1.45;white-space:normal;overflow:visible;color:#637069;overflow-wrap:anywhere}
.owner-inventory-table .owner-inventory-row .inventory-order-select{margin:0 0 4px;font-size:13px;min-height:28px;color:#526459}
.owner-inventory-table .owner-inventory-row>div:nth-child(4){grid-template-columns:1fr auto;align-items:center;background:#f6f8f6;border:1px solid #e1e7e2;border-radius:10px;padding:12px;gap:10px}
.owner-inventory-table .owner-inventory-row>div:nth-child(4)>b{font-size:17px;line-height:1.35;color:#233e2c}
.owner-inventory-table .inventory-count-shortcut{margin:0;font-size:13px;padding:6px 9px;min-height:40px;max-width:90px}
.owner-inventory-table .inventory-inline-alert{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid #dce4de;gap:8px}
.owner-inventory-table .inventory-inline-alert label{font-size:13px;gap:8px;line-height:1.4}
.owner-inventory-table .inventory-inline-alert>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.owner-inventory-table .inventory-inline-alert input[type=number]{width:100%;min-width:0;box-sizing:border-box}
.owner-inventory-table [data-alert-status]:empty{display:none}
.owner-inventory-table .owner-quick-vendor{font-size:14px;min-height:42px;width:100%;max-width:100%}
.owner-inventory-table .owner-inventory-edit-button{min-height:42px;font-size:13px}
.owner-inventory-table .owner-inventory-status{font-size:12px;white-space:normal;line-height:1.4;margin-top:5px}
@media(max-width:1200px){
 .owner-inventory-table .owner-inventory-table-head{display:none}
 .owner-inventory-table .owner-inventory-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:22px}
 .owner-inventory-table .owner-inventory-row>div:first-child{grid-column:1/-1}
 .owner-inventory-table .owner-inventory-row>div:nth-child(2)::before{content:'Price & cost';font-size:12px;font-weight:600;color:#637069}
 .owner-inventory-table .owner-inventory-row>div:nth-child(3)::before{content:'Barcode & vendor';font-size:12px;font-weight:600;color:#637069}
 .owner-inventory-table .owner-inventory-row>div:nth-child(4){grid-column:1/-1;grid-template-columns:1fr auto}
 .owner-inventory-table .inventory-inline-alert>div{grid-template-columns:minmax(80px,160px) auto;justify-content:start}
 .owner-inventory-table .owner-inventory-status{justify-self:start}
 .owner-inventory-table .owner-inventory-edit-button{justify-self:end;min-width:80px}
}
@media(max-width:520px){
 .owner-inventory-table .owner-inventory-row{padding:18px 14px;gap:16px 12px}
 .owner-inventory-table .owner-inventory-row>div:nth-child(2),.owner-inventory-table .owner-inventory-row>div:nth-child(3){grid-column:1/-1}
 .inventory-order-toolbar{padding:14px;align-items:stretch}
 .inventory-order-toolbar>span{flex-basis:100%}
}
@container(max-width:1080px){
 .owner-inventory-table .owner-inventory-table-head{display:none}
 .owner-inventory-table .owner-inventory-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;padding:20px}
 .owner-inventory-table .owner-inventory-row>div:first-child,.owner-inventory-table .owner-inventory-row>div:nth-child(4){grid-column:1/-1}
 .owner-inventory-table .owner-inventory-row>div:nth-child(2)::before{content:'Price & cost';font-size:12px;font-weight:600;color:#637069}
 .owner-inventory-table .owner-inventory-row>div:nth-child(3)::before{content:'Barcode & vendor';font-size:12px;font-weight:600;color:#637069}
 .owner-inventory-table .owner-inventory-edit-button{justify-self:end;min-width:80px}
}
