.stats-filter{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:16px 0}.stats-filter>.field{flex:1 1 150px;min-width:0;max-width:320px}.stats-filter input,.stats-filter select,.stats-filter textarea{max-width:100%;width:100%}.stats-filter input[type=checkbox]{width:20px;height:20px}.stats-filter .errorlist{flex-basis:100%}.stats-filter>.button{flex-shrink:0;margin-bottom:0}.stats-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #d9dfe1;margin:24px 0;gap:4px}.stats-tabs a{padding:12px 16px;color:#4c5756;text-decoration:none;border-bottom:3px solid transparent}.stats-tabs a[aria-current=page]{color:#17644d;border-color:#238565;font-weight:700}.stats-details{padding:10px 0}.stats-details summary{cursor:pointer;color:#495550}.stat-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));border-top:1px solid #dce1e0;border-bottom:1px solid #dce1e0}.stat-block{padding:20px 16px;min-width:0;display:flex;flex-direction:column;gap:8px;border-right:1px solid #dce1e0}.stat-block>span{color:#566360;font-size:13px}.stat-block>strong{font-size:28px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stat-block small{color:#65726b;font-size:12px}.stat-block a{font-size:13px;color:#17644d}.stock-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:700;padding:4px 8px;border-radius:4px}.stock-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.stock-status.danger{color:#ad2634;background:#fce9ec}.stock-status.warning{color:#856000;background:#fff4c9}.stock-status.normal{color:#17644d;background:#e6f5ed}.stock-status.unset{color:#606869;background:#edf0f0}.stock-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;padding:20px 0;border-bottom:1px solid #dce1e0}.stock-facts dt{font-size:13px;color:#66716a}.stock-facts dd{margin:8px 0 0;font-weight:700;font-size:20px;overflow-wrap:anywhere}.routing-form{max-width:850px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.routing-form .field{min-width:0}.routing-form .field>div{max-height:280px;overflow:auto;border:1px solid #dce1e0;padding:12px}.routing-form label{display:flex;gap:10px;align-items:center}.routing-form input[type=checkbox]{width:18px;height:18px;flex-shrink:0}.production-chart{margin:20px 0;max-width:1100px}.production-chart svg{display:block;width:100%;height:auto;min-height:160px;background:#f8fbfa}.production-chart figcaption{font-size:13px;font-weight:600;margin-bottom:8px}.chart-line{fill:none;stroke:#227c61;stroke-width:2.5}.chart-dot{fill:#227c61}.chart-axis{stroke:#bdc7c2}.chart-grid{stroke:#e2e8e5;stroke-dasharray:3 4}.production-chart text{fill:#5b6861;font-size:12px}.chart-data{max-height:260px;overflow:auto}.content-section>h2{margin-bottom:16px}.erp-table td,.erp-table th{overflow-wrap:anywhere}.stats-filter .field label{font-size:13px}.statistics-query{border-bottom:1px solid #e2e8e5}.statistics-query input[type=checkbox]{width:20px;height:20px}
@media(max-width:700px){.stats-filter{gap:12px}.stats-filter>.field{flex:1 1 calc(50% - 12px);max-width:none}.stat-summary{grid-template-columns:1fr 1fr}.stat-block{padding:16px 10px}.stat-block>strong{font-size:24px}.stats-tabs a{padding:10px 12px;font-size:13px}.routing-form{grid-template-columns:1fr}.stock-facts{grid-template-columns:1fr 1fr}.stock-facts dd{font-size:18px}.production-chart svg{min-height:0}.content-section{min-width:0}.page-heading{flex-wrap:wrap;gap:12px}}
.content-section>.erp-table{display:block;max-width:100%;min-width:0;overflow-x:auto}.chart-data .erp-table{min-width:0}.stock-grid{min-width:1100px}.stock-grid td:nth-child(2){min-width:130px}.stock-grid th,.stock-grid .numeric{white-space:nowrap}.stats-filter>.field[hidden]{display:none}
@media(max-width:380px){.stats-filter>.field{flex-basis:100%}.stat-summary{grid-template-columns:1fr}.stock-facts{grid-template-columns:1fr}}
