.stock-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.stock-search{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.stock-search input{flex:1;min-width:180px;padding:11px}.stock-search button{padding:9px 14px}.stock-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.stock-form label,.stock-eye label{display:grid;gap:7px;font-size:12px}.stock-form input,.stock-form select,.stock-form textarea,.stock-eye input,.stock-eye select{width:100%;padding:10px}.stock-wide{grid-column:1/-1}.stock-muted{color:var(--muted);font-size:12px;line-height:1.6}.stock-totals{display:flex;justify-content:flex-end;gap:24px;flex-wrap:wrap;padding:19px 0}.stock-totals span{display:grid;gap:7px;color:var(--muted);font-size:12px}.stock-totals strong{font-size:22px;color:#ffe277}.stock-table{min-width:720px}.stock-table td{padding:14px}.stock-table td strong{display:block;margin-bottom:5px}.stock-pager{display:flex;justify-content:space-between;align-items:center;margin:16px 0;gap:8px}.stock-eyes{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stock-eye{border:1px solid #a58ee540;border-radius:14px;padding:15px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stock-eye>h3,.stock-eye>.stock-product,.stock-eye>.stock-range{grid-column:1/-1}.stock-eye h3{margin:0}.stock-check{display:flex!important;align-items:center;gap:8px!important}.stock-check input{width:18px!important;height:18px}.workforce-dialog{width:min(1120px,96vw)!important;max-height:92dvh;overflow:auto}.stock-draft-banner{border:1px solid #ffca0060;background:#ffca000a;border-radius:13px;padding:14px;margin-bottom:16px;display:flex;gap:14px;justify-content:space-between;align-items:center}.stock-work-card{padding:20px;margin-bottom:14px}.stock-work-card h3{margin:0 0 10px}.stock-work-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}.stock-rx{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.stock-rx span{padding:8px 12px;background:#53699515;border-radius:9px;font-size:12px}.stock-price-preview{padding:15px;border:1px solid #ffca0040;background:#ffca000a;border-radius:13px;line-height:1.7}.stock-warning{color:#ffdf78}.stock-catalog-map{min-width:620px}.stock-catalog-map select{max-width:230px;padding:9px}.stock-photo{max-width:100%;max-height:65vh;object-fit:contain}.stock-subtotal{font-weight:700;color:#ffe277}.stock-detail-note{white-space:pre-wrap;overflow-wrap:anywhere}.stock-hint{font-size:11px;line-height:1.6;color:#acbdd6;margin:5px 0 0}.stock-inline-error{padding:15px;color:#ffbfda;border:1px solid #ffa7cd45;border-radius:12px}.stock-client-results{max-height:200px;overflow:auto;display:grid;gap:6px}.stock-client-results button{text-align:left;padding:10px}.stock-client-picked{padding:12px;background:#32f5c512;border:1px solid #32f5c535;border-radius:10px}.stock-form input[type=file]{font-size:11px}.stock-work-buttons{margin-top:16px}.stock-count{font-size:12px;color:#b5c4db}.stock-history{max-height:62vh;overflow:auto;display:grid;gap:10px}.stock-history article{border-bottom:1px solid #a58ee52b;padding:12px 0;overflow-wrap:anywhere}button[hidden]{display:none!important}input[type=checkbox]{accent-color:#ffca00}
@media(max-width:700px){.stock-form,.stock-eyes{grid-template-columns:1fr}.stock-totals{justify-content:space-between;gap:14px}.stock-totals strong{font-size:18px}.stock-eye{padding:12px;gap:9px}.stock-eye label{font-size:11px}.workforce-dialog{padding:17px!important}.stock-draft-banner{align-items:flex-start;flex-direction:column}.stock-work-card{padding:15px}.stock-work-head{display:grid}.stock-form label{font-size:12px}.stock-price-preview{font-size:12px}}

[hidden]{display:none!important}

/* Keep the editor visible and independent of pending dashboard requests. */
#work_orders-view[data-order-mode="editor"] > .metric-grid,
#work_orders-view[data-order-mode="editor"] > .neon-analytics{display:none!important}
#orders-content{scroll-margin-top:110px}
@media(max-width:850px){#orders-content{scroll-margin-top:90px}}
#production-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.stock-tracking-card{color:inherit;text-align:left;cursor:pointer;font:inherit}
.stock-tracking-card[aria-pressed="true"]{border-color:#24e0ff;box-shadow:0 0 20px #24e0ff20}
.stock-production-table input[type="checkbox"]{width:19px;height:19px;accent-color:#24e0ff}
.stock-production-table .stock-actions{min-width:160px}
.stock-production-table small{display:block;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:600px){#production-kpis{grid-template-columns:1fr}}
