#wo-hours{--wh-ink:#193047;--wh-muted:#65758a;--wh-line:#e2e9f0;--wh-accent:#226b63;color:var(--wh-ink)}
#wo-hours [hidden]{display:none!important}
#wo-hours>.wo-heading{background:linear-gradient(115deg,#f0f8f5,#fff 75%);border:1px solid var(--wh-line);border-radius:18px;padding:26px 28px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}
#wo-hours h2{font-size:27px;font-weight:750;letter-spacing:-.6px;margin:5px 0}
#wo-hours .desk-section-name{font-size:12px;color:var(--wh-accent);letter-spacing:2px}
#wo-hours .wh-subtitle{font-size:14px;color:var(--wh-muted);margin:9px 0 0}
#wo-hours .desk-analysis-split{display:flex!important;flex-direction:column;gap:24px}
#wo-hours .desk-analysis-controls,#wo-hours .desk-analysis-output{width:100%!important;min-width:0;max-width:none!important;border:0;padding:0;box-sizing:border-box}
#wo-hours .wh-query-card{background:#fff;border:1px solid var(--wh-line)!important;border-radius:16px;padding:22px 24px!important}
#wo-hours .desk-analysis-controls>h3{font-size:16px;font-weight:700;margin:0 0 14px}
#wo-hours .wo-box{border:0;background:transparent;box-shadow:none;padding:0;margin:0}
#wo-hours #wo-settings{background:#fff;border:1px solid var(--wh-line);border-radius:14px;padding:22px;margin:0 0 20px}
#wo-hours .wo-controls{display:flex!important;align-items:end;flex-wrap:wrap;gap:14px}
#wo-hours .wo-controls label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;flex:1 1 180px;min-width:0;margin:0}
#wo-hours #wo-query .btn{flex:0 0 auto;width:auto!important}
#wo-hours .form-control,#wo-hours .form-select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d9e2eb;border-radius:9px;padding:10px 12px;font:inherit;color:var(--wh-ink);background:#fff;min-height:43px;box-shadow:none}
#wo-hours .btn{border:1px solid #d7e1e9;border-radius:9px;padding:11px 17px;min-height:43px;font-size:13px;font-weight:600;cursor:pointer;background:#fff;color:var(--wh-ink);white-space:nowrap}
#wo-hours .btn-primary{background:var(--wh-accent);border-color:var(--wh-accent);color:#fff}
#wo-hours .btn:disabled{opacity:.45;cursor:not-allowed}
#wo-hours :is(button,input,select,summary):focus-visible{outline:3px solid #8ac5bb;outline-offset:3px}
#wo-hours .wh-shortcuts{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;color:var(--wh-muted)}
#wo-hours .wh-shortcuts button{border:1px solid var(--wh-line);border-radius:7px;background:#fff;padding:6px 12px;color:var(--wh-muted);cursor:pointer}
#wo-hours .wh-shortcuts button[aria-pressed=true]{background:#e9f5f0;color:#176257;border-color:#afcfc3}
#wo-hours .wo-muted{font-size:12px;line-height:1.75;color:var(--wh-muted)}
#wo-hours #wo-template{padding:11px 13px;background:#f5f8fb;border-radius:8px;margin:16px 0 0}
#wo-hours #wo-message:empty{display:none}
#wo-hours #wo-message{margin:12px 0 0;color:#9d5127}
#wo-hours .desk-analysis-output>.wo-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px}
#wo-hours .desk-analysis-output>.wo-heading h3{font-size:19px;margin:0;font-weight:700}
#wo-hours .wo-heading label{display:flex;align-items:center;gap:10px;font-size:12px;min-width:0;max-width:65%;color:var(--wh-muted);white-space:nowrap}
#wo-hours #wo-history{max-width:430px;text-overflow:ellipsis;font-size:12px}
#wo-hours .wo-downloads{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}
#wo-hours #wo-file-status{flex:1 1 260px;margin:0}
#wo-hours .wo-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
#wo-hours .wo-overview:empty{display:none}
#wo-hours .wo-metric{background:#fff;border:1px solid var(--wh-line);border-radius:13px;padding:20px}
#wo-hours .wo-metric span{display:block;color:var(--wh-muted);font-size:12px}
#wo-hours .wo-metric strong{display:block;font-size:29px;font-variant-numeric:tabular-nums;margin-top:8px}
#wo-hours .wo-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#wo-hours .wh-no-task{display:none}
#wo-hours .wo-result-box{background:#fff;border:1px solid var(--wh-line);border-radius:14px;overflow:hidden;padding:0;min-width:0}
#wo-hours .wo-result-box h3{font-size:16px;font-weight:700;padding:20px;margin:0;border-bottom:1px solid var(--wh-line)}
#wo-hours .wo-process-metrics{display:flex;flex-wrap:wrap;gap:9px 15px;padding:15px 20px;background:#f8fafc;font-size:12px;line-height:1.6}
#wo-hours .wo-table-wrap{overflow:auto}
#wo-hours table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;text-align:left}
#wo-hours th{background:#f8fafc;color:var(--wh-muted);font-size:12px;font-weight:600}
#wo-hours :is(th,td){padding:14px 16px;border-bottom:1px solid #eef2f6}
#wo-hours tbody tr:last-child td{border:0}
#wo-hours tbody tr:hover{background:#f5faf8}
#wo-hours .wo-status{font-weight:600}
#wo-hours .wh-empty{border:1px dashed #ccdcd8;border-radius:16px;background:linear-gradient(135deg,#f5faf8,#fff);text-align:center;padding:36px 20px}
#wo-hours .wh-empty-symbol{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#e3f0eb;color:#397a69;font-size:29px}
#wo-hours .wh-empty h3{font-size:18px;margin:16px 0 9px}
#wo-hours .wh-empty p{color:var(--wh-muted);font-size:13px;margin:0}
#wo-hours .wh-empty>div{display:flex;justify-content:center;flex-wrap:wrap;gap:24px;color:#74867f;font-size:12px;margin-top:24px}
#wo-hours .wh-rules{padding:17px 0;margin-top:16px;border-top:1px solid var(--wh-line)}
#wo-hours .wh-rules summary{cursor:pointer;color:var(--wh-muted);font-size:12px}
#wo-hours #wo-progress-area{margin-top:18px;border:1px solid #d3e7df;background:#f3faf6;border-radius:10px;padding:16px}
#wo-hours .wo-progress{height:7px;background:#dae9e3;border-radius:8px;overflow:hidden}
#wo-hours #wo-progress-bar{height:100%;background:var(--wh-accent)}
@media(min-width:1400px){#wo-hours #wo-query label{flex:0 1 260px}}
@media(max-width:1000px){#wo-hours .wo-results{grid-template-columns:1fr}}
@media(max-width:600px){#wo-hours>.wo-heading{padding:20px;align-items:flex-start;flex-wrap:wrap}#wo-hours .wh-query-card{padding:18px!important}#wo-hours .wo-controls label{flex-basis:100%}#wo-hours #wo-query .btn{flex:1 1 45%}#wo-hours .wo-overview{grid-template-columns:repeat(2,minmax(0,1fr))}#wo-hours .desk-analysis-output>.wo-heading{align-items:flex-start;flex-direction:column}#wo-hours .wo-heading label{max-width:100%;width:100%}#wo-hours #wo-history{flex:1;width:0}#wo-hours .wh-empty>div{gap:12px}#wo-hours .wo-metric{padding:15px}}
/* Isolate layout from legacy workspace selectors. */
#main-system #wo-hours .wo-controls{flex-direction:row!important;align-items:flex-end!important}
#main-system #wo-hours .wo-controls label{display:flex!important;flex-direction:column;min-height:0;height:auto}
#main-system #wo-hours .wo-controls .form-control{height:43px;min-height:43px}
#main-system #wo-hours .wo-controls .btn{min-height:43px}
#main-system #wo-hours .btn-primary{background:var(--wh-accent)!important;border-color:var(--wh-accent)!important;color:#fff!important}
