.stock-stats{margin-bottom:28px}
.stock-box{overflow:hidden}
.stock-tabs{display:flex;gap:4px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);background:#fff;overflow-x:auto}
.stock-tabs .tab{white-space:nowrap}
.stock-tabs .tab b{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;padding:0 6px;border-radius:99px;background:#f2c96a;color:#6a4300;font-size:11px}
.stock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 20px;border-bottom:1px solid var(--line);background:#f8fbfc}
.stock-toolbar .search{width:min(360px,100%);flex:0 0 auto}
.stock-toolbar p{margin:0;color:var(--muted);font-size:13px;text-align:right}
.stock-count-table{min-width:760px}
.stock-count-table th:first-child,.stock-count-table td:first-child{width:30%}
.stock-count-table td{vertical-align:middle}
.stock-cell{min-width:180px;transition:background .2s ease}
.stock-cell label{display:block;margin:0}
.stock-cell input{width:88px;height:42px;padding:8px 10px;border:1px solid #bfd0d8;border-radius:8px;background:#fff;color:var(--ink);font:700 16px/1 inherit;text-align:center}
.stock-cell input:focus{outline:3px solid rgba(0,157,207,.15);border-color:var(--blue)}
.stock-cell small{display:block;margin-top:6px;color:var(--muted);font-size:11px;line-height:1.35}
.stock-cell.is-low{background:#fff8e8}
.stock-cell.is-ordered{background:#edf7fb}
.stock-cell .stock-low-text{color:#995f00;font-weight:700}
.stock-cell .stock-ok-text{color:#267444;font-weight:700}
.stock-cell .stock-ordered-text{color:#087ca4;font-weight:700}
.stock-alert-table{min-width:900px}
.stock-alert-table td small{display:block;margin-top:4px;color:var(--muted)}
.stock-number{display:inline-grid;place-items:center;min-width:40px;height:40px;border-radius:8px;font-size:19px;font-weight:800}
.stock-number.low-stock{background:#fff0cc;color:#9b5c00}
.stock-number.empty-stock{background:#fee9e7;color:#b12d20}
.stock-reminder{border-color:#e7bf65;background:#fff9e9}
@media(max-width:900px){
  .stock-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.stock-toolbar p{text-align:left}.stock-count-table{min-width:660px}.stock-cell{min-width:150px}
}
