/* Only the individual client file; the full Task Dashboard is unchanged. */
#workflowPanel.wf-case-panel{padding:0;overflow:hidden}
.wf-case-disclosure>.wf-case-summary{display:flex;align-items:center;gap:12px;min-height:58px;padding:12px 18px;box-sizing:border-box;cursor:pointer;list-style:none;background:var(--soft,#f3f6f7)}
.wf-case-summary::-webkit-details-marker{display:none}
.wf-case-summary:focus-visible,.wf-file-tracker>summary:focus-visible{outline:3px solid var(--navy,#1c3c4c);outline-offset:-3px;border-radius:8px}
.wf-file-chevron{font-size:20px;line-height:1;color:var(--muted,#52616d);flex-shrink:0}
.wf-case-disclosure[open]>.wf-case-summary .wf-file-chevron{transform:rotate(90deg)}
.wf-file-title{font-size:16px;font-weight:700;color:var(--ink,#193748);white-space:nowrap}
.wf-file-counts{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.wf-file-count{display:inline-block;font-size:11px;font-weight:600;line-height:1.5;background:#e7eeeb;color:#354e45;border-radius:14px;padding:3px 9px;white-space:nowrap}
.wf-file-count.wf-file-overdue{background:#fbe9e7;color:#942d25}
.wf-file-count.wf-file-review{background:#fff0d9;color:#785315}
.wf-file-loading{font-size:12px;color:var(--muted,#52616d)}
.wf-file-hint{margin-left:auto;font-size:12px;font-weight:600;color:var(--muted,#52616d);white-space:nowrap}
.wf-file-hide{display:none}
.wf-case-disclosure[open]>.wf-case-summary .wf-file-show{display:none}
.wf-case-disclosure[open]>.wf-case-summary .wf-file-hide{display:inline}
.wf-case-body{padding:16px 18px;border-top:1px solid var(--line,#d5dfe3)}
/* The disclosure is the heading; avoid a second title and repeated statistics. */
.wf-case-body>.wf-head>div:first-child,.wf-case-body>.wf-stats{display:none}
.wf-case-body>.wf-head{justify-content:flex-end}
.wf-case-body .wf-toolbar{gap:10px}
.wf-case-body .wf-toolbar input[type=search]{min-width:0;width:100%;flex:1 1 220px}
.wf-case-body .wf-toolbar select{max-width:100%;flex:0 1 240px}
.wf-case-body .wf-toolbar label{font-size:12px}
.wf-file-tracker{margin:0 0 12px;border-bottom:1px solid var(--line,#d5dfe3);padding-bottom:8px}
.wf-file-tracker>summary{cursor:pointer;color:var(--muted,#52616d);font-size:12px;padding:7px 0}
.wf-case-body .wf-node summary{padding:10px 12px;font-size:13px}
.wf-case-body .wf-node summary small{margin-left:6px}
.wf-case-body .wf-actions{gap:6px}
.wf-case-body .wf-actions button{padding:6px 9px}
@media(max-width:700px){
 .wf-case-disclosure>.wf-case-summary{flex-wrap:wrap;gap:8px;padding:12px}
 .wf-file-title{font-size:15px}
 .wf-file-counts{order:4;flex-basis:100%;padding-left:20px;box-sizing:border-box}
 .wf-file-hint{font-size:11px}
 .wf-case-body{padding:12px}
 .wf-case-body>.wf-head{display:flex;justify-content:flex-start}
 .wf-case-body .wf-toolbar select{flex:1 1 100%;width:100%}
}
