/* V408 MES daily output report */
.dor-page{height:calc(100vh - 150px);min-height:560px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.dor-query-card{background:#fff;border:1px solid #e1e7f0;border-radius:12px;padding:12px;display:grid;grid-template-columns:150px 150px 150px minmax(240px,1fr) auto;gap:10px;align-items:end;flex:0 0 auto}
.dor-query-card label{display:flex;flex-direction:column;gap:5px;color:#637087;font-size:12px}.dor-query-card input,.dor-query-card select{height:36px}
.dor-query-actions{display:flex;gap:8px}.dor-query-actions button{height:36px;white-space:nowrap}
.dor-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:0 0 auto}
.dor-kpis>div{background:#fff;border:1px solid #e1e7f0;border-radius:11px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between}.dor-kpis span{color:#78869a;font-size:12px}.dor-kpis b{font-size:20px;color:#233550}
.dor-result-card{background:#fff;border:1px solid #e1e7f0;border-radius:12px;padding:10px 12px;min-height:0;display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}
.dor-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:9px}.dor-result-toolbar>div{display:flex;align-items:center;gap:9px}.dor-result-toolbar input{height:32px;width:210px}
.dor-table-wrap{min-height:0;flex:1 1 auto;overflow:auto;border:1px solid #e7ebf1;border-radius:9px}.dor-table{min-width:100%;width:max-content;border-collapse:separate;border-spacing:0}
.dor-table th{position:sticky;top:0;z-index:2;background:#f4f7fb;white-space:nowrap}.dor-table td{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dor-empty,.dor-loading,.dor-error{padding:70px 20px;text-align:center;color:#8793a5}.dor-error{color:#c74444}
@media(max-width:1100px){.dor-query-card{grid-template-columns:repeat(2,minmax(0,1fr))}.dor-query-actions{grid-column:1/-1}.dor-page{height:auto;overflow:visible}.dor-result-card{min-height:520px}.dor-kpis{grid-template-columns:repeat(2,1fr)}}
