.inventory-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.inventory-summary>div{background:white;border:1px solid #e4e7ef;border-radius:16px;padding:20px}.inventory-summary strong{display:block;font-size:30px;color:#212a48}.inventory-summary span{color:#677287}.inventory-tabs{overflow:auto;white-space:nowrap}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.product-card{background:#fff;border:1px solid #e0e4ed;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;text-align:left;color:#202944;cursor:pointer;font:inherit}.product-card:hover{border-color:#be2930;box-shadow:0 8px 24px #20294412}.product-image{width:64px;height:64px;object-fit:contain;border-radius:12px;background:#f4f5f9}.product-placeholder{display:grid;place-items:center;color:#b8252c;font-size:30px}.product-card h2{font-size:18px;margin:0;line-height:1.5}.product-card small{color:#6c7688}.quantity{font-size:30px;font-weight:700}.quantity small{font-size:14px;font-weight:400}.stock-pairs{display:flex;justify-content:space-between;gap:10px;font-size:14px}.badges{display:flex;flex-wrap:wrap;gap:6px;min-height:26px}.badge{padding:4px 8px;border-radius:6px;background:#edf6f0;color:#286145;font-size:12px}.badge.warn{background:#fff0db;color:#935505}.badge.danger{background:#fce8e9;color:#ae222b}.stock-meter{height:6px;border-radius:6px;background:#e8ebf1;overflow:hidden}.stock-meter>span{display:block;height:100%;background:#389273}.stock-meter.low>span{background:#df8a27}.inventory-dialog{width:min(1000px,94vw);max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:24px}.lot-card,.movement{padding:14px 0;border-bottom:1px solid #e4e7ef;display:flex;justify-content:space-between;gap:20px}.lot-card p,.movement p{margin:5px 0;color:#677287;font-size:14px}.lot-card strong,.movement strong{overflow-wrap:anywhere}.history-filter{display:flex;gap:12px;align-items:end;margin:16px 0;flex-wrap:wrap}.history-filter input{width:auto}.incoming{color:#28764c}.outgoing{color:#b8252c}.product-grid>.empty{grid-column:1/-1}.warehouse-bar input{max-width:400px}.inventory-dialog h3{margin-top:28px}@media(max-width:600px){.inventory-summary{grid-template-columns:repeat(2,1fr);gap:8px}.inventory-summary>div{padding:14px}.product-grid{grid-template-columns:1fr}.inventory-dialog{padding:16px}.lot-card,.movement{gap:10px}.warehouse-bar{align-items:stretch}.warehouse-bar input{max-width:none}.history-filter input{max-width:155px}}
