#wo-hours{font-size:1rem;--wo-border:var(--bs-border-color,#dee2e6)}
#wo-hours .wo-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;flex-wrap:wrap}
#wo-hours h2{font-size:1.6rem;margin:0}#wo-hours h3{font-size:1.15rem;margin:0}
#wo-hours .wo-box,#wo-hours .wo-result-box{border:1px solid var(--wo-border);border-radius:12px;padding:1.25rem;margin-bottom:1rem;background:var(--bs-body-bg,#fff)}
#wo-hours .wo-controls{display:flex;gap:1rem;align-items:flex-end;flex-wrap:wrap}
#wo-hours label{display:grid;gap:.45rem;font-size:.95rem;min-width:160px}
#wo-hours .wo-heading label{min-width:0;max-width:100%}#wo-history{max-width:100%}
#wo-hours .wo-muted{color:var(--bs-secondary-color,#667085);font-size:.875rem;margin:.8rem 0;line-height:1.65}
#wo-hours .wo-progress{height:10px;background:var(--bs-secondary-bg,#e9ecef);border-radius:10px;overflow:hidden;margin-top:1.2rem}
#wo-progress-bar{height:100%;width:0;background:var(--bs-primary,#0d6efd);transition:width .3s}
#wo-progress-text{margin:.5rem 0;font-size:.9rem}
#wo-hours .wo-count{font-weight:600;margin:.9rem 0 .4rem}
#wo-hours .wo-indeterminate #wo-progress-bar{animation:wo-pending 1.6s linear infinite;transition:none}
@keyframes wo-pending{from{transform:translateX(-100%)}to{transform:translateX(290%)}}
#wo-stage-history{font-size:.875rem;margin:.7rem 0}#wo-stage-history summary{cursor:pointer}
#wo-stages{max-height:230px;overflow:auto;margin:.7rem 0;padding-left:1.5rem;line-height:1.8}
#wo-stages [data-state="running"]{font-weight:600}#wo-stages [data-state="failed"]{color:var(--bs-danger,#b42318)}
#wo-stages span{font-size:.8rem;color:var(--bs-secondary-color,#667085)}
#wo-hours .wo-downloads{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin:.8rem 0}
#wo-hours .wo-downloads p{flex-basis:100%;margin:0}
@media(prefers-reduced-motion:reduce){#wo-hours .wo-indeterminate #wo-progress-bar{animation:none;transform:none}}
#wo-message{margin:.7rem 0 0;color:var(--bs-danger,#b42318)}
#wo-hours .wo-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:1rem 0}
#wo-hours .wo-metric{padding:1rem;border:1px solid var(--wo-border);border-radius:10px;background:var(--bs-body-bg,#fff)}
#wo-hours .wo-metric strong{display:block;font-size:1.65rem;margin-top:.3rem;font-variant-numeric:tabular-nums}
#wo-hours .wo-metric span{font-size:.875rem}
#wo-hours .wo-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
#wo-hours .wo-table-wrap{overflow:auto;margin-top:1rem}#wo-hours table{width:100%;font-size:.875rem;border-collapse:collapse;white-space:nowrap}
#wo-hours th,#wo-hours td{padding:.7rem .6rem;text-align:right;border-bottom:1px solid var(--wo-border)}
#wo-hours th:first-child,#wo-hours td:first-child{text-align:left}
#wo-hours .wo-process-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem 1rem;font-size:.875rem;margin-top:1rem}
#wo-hours .wo-status{font-weight:600}#wo-hours .wo-status[data-status="异常"]{color:var(--bs-danger,#b42318)}
#wo-hours .wo-status[data-status="关注"]{color:#986600}
@media(max-width:1000px){#wo-hours .wo-results{grid-template-columns:1fr}}
@media(max-width:600px){#wo-hours .wo-overview{grid-template-columns:repeat(2,minmax(0,1fr))}#wo-hours .wo-controls label{width:100%}#wo-hours .wo-controls button{width:100%}#wo-hours .wo-box{padding:1rem}}
