/* caseload-breakdown.css v1.2 (2026-11-29, Joseph "go": whole rows for large grids): small panels share rows only when each gets 480px; labels wrap (no 260px cut); a card never spills. Not the Trends window (it also has cb-dialog). */
/* caseload-breakdown.css v1.1 (2026-11-18, Joseph: match the capacity dashboard): panels are cc-table tables with a bar column (cb-barcell, cb-one).
   caseload-breakdown.css v1.0 (2026-11-04, Joseph: caseload breakdown dashboard): the cb-* parts of the Caseload breakdown window (caseload-breakdown.js).
   Builds on the rn-* window (relation-network.css) and the cc-* parts (caseload-capacity.css). Theme colours only. */
.cb-note{font-size:11px;color:var(--t-muted)}
.cb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
@media (max-width:1200px){.cb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.cb-grid{grid-template-columns:minmax(0,1fr)}}
.cb-bar{display:grid;grid-template-columns:minmax(90px,40%) minmax(0,1fr) 40px 38px;align-items:center;gap:8px;font-size:12.5px;padding:3px 0;color:var(--t-text)}
.cb-lab{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-bar b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.cb-bar small{text-align:right;color:var(--t-muted);font-size:11px;font-variant-numeric:tabular-nums}
.cb-track{display:block;height:10px;border-radius:3px;background:var(--t-raised,#eef2f6);overflow:hidden}
.cb-track i{display:block;height:100%;background:var(--cc,var(--t-accent))}
.cb-bar.lvF{--cc:var(--t-bad)}.cb-bar.lvM{--cc:var(--t-warm)}.cb-bar.lvI{--cc:var(--t-good)}.cb-bar.lvx{--cc:var(--t-muted)}
.cb-root .cc-table small{color:var(--t-muted);font-size:10.5px}
.cb-barcell{width:34%;min-width:80px}
.cb-barcell .cc-mix i.cb-one{background:var(--t-accent,#1762a3)}
.cb-root .cc-box .cc-table td:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}

/* v1.2 */
#modal.cc-dialog.cb-dialog:not(.ct-dialog) .cb-grid{grid-template-columns:repeat(auto-fill,minmax(480px,1fr))}
#modal.cc-dialog.cb-dialog:not(.ct-dialog) .cc-box{overflow-x:auto}
#modal.cc-dialog.cb-dialog:not(.ct-dialog) .cc-box .cc-table td:first-child{white-space:normal;overflow:visible;text-overflow:clip;max-width:none}
