.workbench-header{margin-bottom:16px}.work-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);margin-bottom:14px}.work-metrics div{padding:16px 18px;border-right:1px solid var(--line)}.work-metrics div:last-child{border-right:0}.work-metrics span{display:block;color:var(--muted);font-size:12px}.work-metrics strong{display:block;font-size:24px;margin-top:5px}.work-metrics .overdue-metric strong{color:var(--red)}.filter-band{background:#fff;border:1px solid var(--line);padding:14px;margin-bottom:14px}.work-filters{display:grid;grid-template-columns:minmax(230px,1.4fr) repeat(3,minmax(140px,.7fr)) auto auto;align-items:end;gap:10px}.work-filters label{display:grid;gap:5px}.work-filters label>span{color:var(--muted);font-size:11px}.work-filters input[type="search"],.work-filters select{width:100%;height:38px;border:1px solid #c8d1d5;background:#fff;padding:0 9px}.work-filters .overdue-check{height:38px;display:flex;align-items:center;gap:7px;white-space:nowrap}.work-filters .overdue-check span{font-size:12px;color:var(--ink)}.filter-actions{display:flex;height:38px}.filter-actions button,.filter-actions a{display:grid;place-items:center;border:0;padding:0 13px}.filter-actions button{background:var(--nav);color:#fff}.filter-actions a{border:1px solid #c8d1d5;background:#fff}.work-list table{min-width:1220px}.work-list th:nth-child(1){width:112px}.work-list th:nth-child(7){width:210px}.work-stage,.overdue-label{display:inline-flex;padding:5px 7px;border-radius:4px;font-size:11px;font-weight:700}.stage-cut_processing{background:#fff0d8;color:#8c5918}.stage-cut_planned{background:#edf1f5;color:#445d6b}.stage-shipment_ready{background:#e5f3ed;color:var(--green)}.stage-allocation_required{background:#f1ece3;color:#765b30}.stage-check_required{background:#fbe9e6;color:var(--red)}.overdue-label{display:flex;width:max-content;margin-top:5px;background:#fbe9e6;color:var(--red)}.overdue-row{box-shadow:inset 3px 0 var(--red)}.quantity-summary{display:flex;gap:10px}.quantity-summary span{font-size:11px;color:var(--muted)}.quantity-summary strong{margin-left:2px;color:var(--ink)}.quantity-summary .attention{color:var(--red)}.work-actions{display:flex;flex-wrap:wrap;gap:5px}.work-actions .small-button{min-height:31px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.work-actions .small-button small{display:inline;margin:0;font-size:9px}.work-actions .primary-row-action{background:var(--green);border-color:var(--green);color:#fff}.pagination{height:52px;display:flex;align-items:center;justify-content:center;gap:14px}.pagination a{color:var(--green);font-weight:700}.pagination span{color:var(--muted);font-size:12px}@media(max-width:1180px){.work-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}.keyword-filter{grid-column:span 2}}@media(max-width:760px){.work-metrics{grid-template-columns:repeat(2,1fr)}.work-metrics div:nth-child(2){border-right:0}.work-metrics div:nth-child(-n+2){border-bottom:1px solid var(--line)}.work-filters{grid-template-columns:1fr 1fr}.keyword-filter{grid-column:1/-1}.filter-actions{grid-column:1/-1}.filter-actions button,.filter-actions a{flex:1}.work-list .table-wrap{overflow:visible}.work-list table,.work-list thead,.work-list tbody,.work-list tr,.work-list td{display:block}.work-list table{min-width:0;white-space:normal}.work-list thead{display:none}.work-list tr{padding:14px;border-bottom:1px solid var(--line)}.work-list td{padding:5px 0;border:0}.work-list td:nth-child(2){font-size:15px}.quantity-summary{justify-content:space-between;background:#f7f9f9;padding:9px}.work-actions{margin-top:5px}.work-actions .small-button{flex:1;min-width:110px}}
.invoice-warning{color:var(--red)!important;font-weight:700}@media(min-width:761px){.work-metrics{grid-template-columns:repeat(5,1fr)}}
