/* finesse · register=product-workbench · A=warm-ivory+forest · B=compact-system · C=dual-evidence-action · D=feedback-only · E=paper-ledger · SOUL=4 SPECTACLE=1 DENSITY=9 */
[data-collection-mount]{min-width:0;color:#18382c;font-variant-numeric:tabular-nums}[data-collection-mount] h1{font-size:25px;margin:0}[data-collection-mount] h2{font-size:18px;margin:0 0 12px}.cl-philosophy{color:#83682e;margin:5px 0;font-size:15px}.cl-head,.cl-tools,.cl-history-head,.cl-top,.cl-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cl-source,.cl-footnote{font-size:12px;color:#61746b}.cl-source-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:12px 14px;border:1px solid #cbd6ca;border-radius:12px;background:#f7faf7}.cl-source-status>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cl-source-status strong{color:#18382c}.cl-source-status span{color:#61746b;font-size:13px}.cl-source-status.cl-delayed{background:#fff8e6;border-color:#d8b45a}.cl-source-status.cl-historical,.cl-source-status.cl-invalid{background:#fff0ed;border-color:#cf7868}.cl-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:15px 0}.cl-kpis article,.cl-card{background:#fffdf8;border:1px solid #deded0;border-radius:12px;padding:18px;min-width:0}.cl-kpis strong{display:block;font-size:clamp(20px,2.4vw,35px);margin:10px 0;overflow-wrap:anywhere}.cl-kpis strong small{font-size:12px;margin-left:5px}.cl-kpis small{display:block;color:#627669;font-size:12px}.cl-risk{color:#b5373d}.cl-warning{background:#fff2d9;padding:10px 13px;border-radius:7px;color:#75511b;font-size:13px}.cl-layout{display:grid;grid-template-columns:minmax(185px,.8fr) minmax(320px,2fr) minmax(190px,.85fr);gap:16px;margin-top:14px;align-items:start}.cl-customer{display:block;width:100%;text-align:left;margin:9px 0;padding:12px;border:1px solid #d8e0d7;background:white;border-radius:8px;white-space:normal}.cl-customer strong,.cl-customer b,.cl-customer span,.cl-customer small{display:block;margin:3px 0}.cl-customer strong{font-size:16px}.cl-customer b{font-size:15px;color:#a4383d}.cl-customer small,.cl-customer span{color:#64736a;font-size:12px}.cl-customer.selected{background:#edf3e9;border:2px solid #315b43}.cl-detail>h2{font-size:22px;overflow-wrap:anywhere}.cl-facts{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin:12px 0}.cl-scroll{max-width:100%;overflow-x:auto}.cl-scroll table{width:100%;border-collapse:collapse;font-size:13px}.cl-scroll th,.cl-scroll td{padding:9px 8px;border-bottom:1px solid #e3e5dc;text-align:left;vertical-align:top}.cl-ledger{margin:14px 0}.cl-ledger summary{cursor:pointer;padding:10px;background:#edf2e9;border-radius:6px}.cl-history{border-left:3px solid #c5aa6c;margin:14px 0;padding:12px;background:#f6f7f1;border-radius:0 6px 6px 0;overflow-wrap:anywhere}.cl-history p{white-space:pre-wrap}.cl-history-head span{font-size:12px;color:#617468}.cl-history form{border-top:1px solid #d5dfd2;padding-top:10px}.cl-record-form{border-top:1px solid #cbd4c5;margin-top:24px;padding-top:18px}.cl-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cl-wide{grid-column:1/-1}.cl-record-form label,.cl-history label,.cl-dialog label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:13px}.cl-record-form input,.cl-record-form select,.cl-record-form textarea,.cl-dialog input,.cl-dialog select,.cl-dialog textarea{max-width:100%;min-width:0;border:1px solid #bdcbbb;border-radius:5px;padding:8px;background:white;box-sizing:border-box}.cl-record-form textarea,.cl-dialog textarea{width:100%;resize:vertical}.cl-images{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.cl-images img{width:70px;height:70px;object-fit:cover;border-radius:6px}.cl-tools form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.cl-tools form label{font-size:12px}.cl-tools form input{display:block;padding:8px;border:1px solid #b9c9b7;border-radius:5px}.cl-tools{margin:12px 0}.cl-pager{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-size:12px}.cl-dialog{width:min(720px,92vw);max-width:92vw;max-height:88dvh;overflow:auto;border:1px solid #c7d0c1;border-radius:12px;padding:22px;color:#193e2d;background:#fffdf8;box-sizing:border-box}.cl-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.cl-dialog h2{font-size:20px;margin:0}.cl-dialog p{overflow-wrap:anywhere}.cl-dialog [role=alert],[data-cl-form-error]{color:#a32c35}.cl-top{padding:13px 0;border-bottom:1px solid #e4e6dd}.cl-top p{font-size:13px;color:#69766d;margin:5px 0}.cl-reminder{border-bottom:1px solid #e3e5da;padding-bottom:10px;font-size:13px}.cl-summary{padding:15px;margin:12px 0;border:1px solid #c7d4c0;background:#f4f5ed;border-radius:9px}.cl-summary h3,.cl-summary p{margin:4px 0}.cl-export{padding:8px 12px;border:1px solid #b4c6b1;border-radius:6px;color:#244c34}.cl-pending{font-size:14px}.cl-script{margin-top:16px}.cl-card+.cl-card{margin-top:14px}
@media(max-width:1150px){.cl-layout{grid-template-columns:minmax(170px,.7fr) minmax(280px,1.7fr)}.cl-layout>.cl-card:last-child{grid-column:1/-1}.cl-layout .cl-card+.cl-card{margin-top:0}}
@media(max-width:700px){.cl-head{gap:5px}.cl-head h1{font-size:22px}.cl-source-status{align-items:stretch;flex-direction:column}.cl-source-status>div{justify-content:space-between}.cl-source-status button{width:100%}.cl-kpis{gap:6px;margin:10px 0}.cl-kpis article{padding:10px 7px;border-radius:7px}.cl-kpis article>span{font-size:11px}.cl-kpis strong{font-size:19px;margin:7px 0}.cl-kpis small{font-size:10px}.cl-layout{display:flex;flex-direction:column;gap:12px}.cl-layout>.cl-card{width:100%;box-sizing:border-box}.cl-queue{max-height:300px;overflow-y:auto}.cl-card{padding:13px}.cl-form-grid{gap:8px}.cl-record-form input,.cl-record-form textarea,.cl-dialog input,.cl-dialog textarea{font-size:16px}.cl-tools{gap:7px}.cl-tools button{font-size:12px}.cl-source{font-size:11px}.cl-facts{font-size:12px}.cl-dialog{padding:14px}.cl-summary button{width:100%}}

/* Compact collection flow: follow-up history first, then the shared task-style editor. */
.cl-source-status{margin:8px 0;padding:8px 10px}.cl-kpis{gap:8px;margin:8px 0}.cl-kpis article{padding:10px 12px}.cl-kpis strong{font-size:clamp(18px,2vw,28px);margin:5px 0}.cl-toolbar-primary{display:flex;align-items:end;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0}.cl-toolbar-primary form{display:flex;align-items:end;gap:6px;flex-wrap:wrap}.cl-toolbar-primary label{font-size:12px}.cl-toolbar-primary input{display:block;padding:7px;border:1px solid #b9c9b7;border-radius:5px}.cl-more-tools{position:relative}.cl-more-tools>summary,.cl-form-advanced>summary,.cl-reminders>summary{cursor:pointer;color:#355b47;font-weight:600}.cl-more-tools>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px;padding:9px;background:#f4f6ef;border:1px solid #d9e0d4;border-radius:8px}.cl-layout{grid-template-columns:minmax(180px,.65fr) minmax(360px,2.35fr);gap:12px;margin-top:8px}.cl-card{padding:14px}.cl-customer{margin:6px 0;padding:9px 10px}.cl-customer strong{font-size:14px}.cl-customer b{font-size:14px}.cl-customer strong,.cl-customer b,.cl-customer span,.cl-customer small{margin:2px 0}.cl-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cl-detail-head h2{margin:0}.cl-facts{margin:5px 0 9px;gap:6px 12px}.cl-ledger{margin:9px 0}.cl-followup-history{margin-top:12px}.cl-followup-history>h2{font-size:15px;margin-bottom:6px}.cl-history{margin:8px 0;padding:9px}.cl-record-form{margin-top:14px;padding-top:12px}.cl-compact-selects{display:flex;gap:8px;flex-wrap:wrap}.cl-compact-selects label{margin:0}.cl-followup-editor{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:10px;align-items:stretch;margin-top:8px}.cl-followup-editor label{margin:0}.cl-followup-copy textarea{min-height:104px;height:100%}.cl-followup-next{display:flex;flex-direction:column;align-items:stretch;gap:7px}.cl-followup-next strong{font-size:13px}.cl-followup-next input,.cl-followup-next button{width:100%;box-sizing:border-box}.cl-followup-next button{margin-top:auto}.cl-form-advanced{margin-top:8px;padding:8px 10px;background:#f7f8f3;border:1px solid #e0e4da;border-radius:8px}.cl-form-advanced .cl-form-grid{margin-top:5px}.cl-form-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.cl-reminders{margin-top:10px}.cl-reminders>div{margin-top:8px}.cl-reminder{margin:6px 0;padding-bottom:6px}.cl-pending{margin:7px 0}.cl-footnote{margin-top:8px}
@media(max-width:1150px){.cl-layout{grid-template-columns:minmax(170px,.65fr) minmax(300px,2fr)}.cl-layout>.cl-card:last-child{grid-column:auto}}
@media(max-width:700px){.cl-toolbar-primary{align-items:stretch}.cl-toolbar-primary form{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}.cl-toolbar-primary form label{min-width:0}.cl-toolbar-primary form input{width:100%;box-sizing:border-box}.cl-more-tools>div{align-items:stretch}.cl-layout{gap:8px}.cl-queue{max-height:220px}.cl-followup-editor{grid-template-columns:minmax(0,1fr) 106px;gap:7px}.cl-followup-next input,.cl-followup-next button{font-size:12px;padding:8px 4px}.cl-compact-selects{gap:6px}.cl-detail-head{align-items:center}.cl-card{padding:11px}}

/* One large customer workspace: bill overview first, writing space emphasized. */
.cl-layout{grid-template-columns:minmax(0,1fr);max-width:none}.cl-customer-picker{display:flex;align-items:end;gap:8px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #dce2d8}.cl-customer-picker>label{display:flex;flex-direction:column;gap:3px;flex:1;min-width:180px}.cl-customer-picker>label span{font-size:11px;color:#6a786f}.cl-customer-picker select{width:100%;min-width:0;padding:8px 10px;border:1px solid #b9c8b7;border-radius:7px;background:#fff;font-size:16px;font-weight:700;color:#18382c}.cl-customer-pages{display:flex;align-items:center;gap:6px;font-size:12px}.cl-detail-head h2{font-size:clamp(22px,2.3vw,32px)}
.cl-bills{margin:10px 0 14px;padding:12px;border:1px solid #dce3d8;border-radius:10px;background:#f8faf5}.cl-bills-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.cl-bills-head h3,.cl-bills h4{margin:0}.cl-bills-head label{display:flex;align-items:center;gap:6px;font-size:12px}.cl-bills-head select{padding:5px 7px;border:1px solid #bfccb9;border-radius:6px;background:#fff}.cl-recent-bills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0 12px}.cl-recent-bills article{display:flex;justify-content:space-between;gap:9px;padding:8px 10px;border:1px solid #dfe4da;border-radius:8px;background:#fff}.cl-recent-bills article>div:last-child{text-align:right}.cl-recent-bills strong,.cl-recent-bills b,.cl-recent-bills small{display:block}.cl-recent-bills small{font-size:11px;color:#6c786f;margin-top:2px}.cl-recent-bills b{color:#a4383d}.cl-monthly-bills{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-top:7px}.cl-monthly-bills article{min-width:0;padding:7px;border:1px solid #dde3d8;border-radius:7px;background:#fff}.cl-monthly-bills span,.cl-monthly-bills strong,.cl-monthly-bills small{display:block}.cl-monthly-bills span{font-size:11px;color:#637269}.cl-monthly-bills strong{font-size:13px;margin:3px 0;overflow-wrap:anywhere}.cl-monthly-bills small{font-size:10px;color:#6b786f}.cl-ledger-note{margin:8px 0 0;font-size:11px;color:#765b22}.cl-ledger{margin-bottom:0}.cl-ledger summary{margin-top:9px;padding:7px 9px}
.cl-record-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.cl-followup-meta,.cl-followup-editor,.cl-record-form>[role=alert],.cl-record-form>small{grid-column:1/-1}.cl-followup-meta{display:grid;grid-template-columns:110px 130px 150px auto auto auto;justify-content:start;gap:7px;align-items:end}.cl-followup-meta label{margin:0;font-size:11px}.cl-followup-meta input,.cl-followup-meta select,.cl-followup-meta button{height:38px}.cl-followup-meta button{white-space:nowrap}.cl-followup-editor{display:block;width:100%;margin-top:0}.cl-followup-copy{width:100%;max-width:none!important;box-sizing:border-box}.cl-followup-copy textarea{field-sizing:fixed!important;width:100%!important;min-height:180px!important;min-block-size:180px!important;height:180px;font-size:17px;line-height:1.55;padding:12px}.cl-form-advanced{margin-top:0}.cl-history{padding:8px 10px}.cl-history-content{font-size:17px;line-height:1.55;margin:8px 0}.cl-history-evidence{font-size:11px;color:#6b786f;margin:4px 0}.cl-history-head strong{font-size:12px}
@media(max-width:800px){.cl-followup-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-followup-meta button{width:100%}.cl-monthly-bills{grid-template-columns:repeat(4,minmax(0,1fr))}.cl-recent-bills{grid-template-columns:1fr}}
@media(max-width:700px){.cl-customer-picker{align-items:stretch;flex-wrap:wrap}.cl-customer-picker>label{order:-1;flex-basis:100%}.cl-customer-picker>button{flex:1}.cl-customer-pages{flex-basis:100%;justify-content:center}.cl-detail-head h2{font-size:22px}.cl-bills{padding:9px}.cl-monthly-bills{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-record-form{grid-template-columns:1fr}.cl-followup-meta,.cl-followup-editor,.cl-record-form>.cl-form-advanced,.cl-record-form>[role=alert],.cl-record-form>small{grid-column:1}.cl-followup-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.cl-followup-meta label{min-width:0}.cl-followup-meta input,.cl-followup-meta select{width:100%;padding:7px 4px;font-size:13px}.cl-followup-copy textarea{min-height:200px!important;min-block-size:200px!important;height:200px;font-size:16px}.cl-history-content{font-size:16px}}

/* All authorized customers stay visible as large cards, grouped by owner. */
.cl-owner-groups{display:grid;gap:9px}.cl-owner-group{display:grid;gap:6px}.cl-owner-group>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:6px 2px 4px;border-bottom:2px solid #b9cbb9}.cl-owner-group>header h2{margin:0;font-size:20px}.cl-owner-group>header span{font-size:12px;color:#63736a}.cl-owner-cards{display:grid;gap:8px}body #workspace main .cl-owner-cards>.cl-card{margin:0;padding:10px 12px}.cl-owner-cards .cl-detail-head{margin-bottom:2px}.cl-owner-cards .cl-bills{margin:6px 0 8px;padding:9px}.cl-owner-cards .cl-recent-bills{grid-template-columns:repeat(3,minmax(0,1fr));margin:6px 0 8px}.cl-owner-cards .cl-monthly-bills{margin-top:5px}.cl-owner-cards .cl-followup-history{margin-top:8px}.cl-owner-cards .cl-followup-history>h2{margin-bottom:3px}.cl-owner-cards .cl-record-form{margin-top:8px;padding-top:8px}.cl-owner-cards .cl-form-advanced{padding:6px 8px}.cl-owner-cards .cl-script{margin-top:8px}.cl-owner-cards .cl-facts{margin:3px 0 5px}.cl-owner-cards .cl-ledger summary{margin-top:6px}.cl-owner-cards .cl-history{margin:5px 0}
@media(max-width:900px){.cl-owner-cards .cl-recent-bills{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cl-owner-groups{gap:7px}.cl-owner-group{gap:5px}.cl-owner-group>header{padding-top:4px}.cl-owner-group>header h2{font-size:18px}.cl-owner-group>header span{font-size:11px}body #workspace main .cl-owner-cards>.cl-card{padding:9px}.cl-owner-cards{gap:6px}.cl-owner-cards .cl-recent-bills{grid-template-columns:1fr}.cl-owner-cards .cl-bills{padding:7px}}

/* Role-specific collection cockpits: one ledger, three decision surfaces. */
.cl-period-switch{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0;padding:7px 9px;border:1px solid #d6dfd2;border-radius:10px;background:#f7f8f2}.cl-period-switch strong{margin-right:3px;font-size:13px}.cl-period-switch button{padding:6px 12px}.cl-period-switch span{margin-left:auto;color:#65736a;font-size:11px}.cl-role-cockpit{display:grid;gap:9px}.cl-dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.cl-dashboard-kpis article,.cl-finance-focus article{min-width:0;padding:11px 12px;border:1px solid #d9e0d4;border-radius:11px;background:#fffdf8}.cl-dashboard-kpis span,.cl-dashboard-kpis strong,.cl-dashboard-kpis small,.cl-finance-focus span,.cl-finance-focus strong,.cl-finance-focus small{display:block}.cl-dashboard-kpis span,.cl-finance-focus span{font-size:12px;color:#64736a}.cl-dashboard-kpis strong,.cl-finance-focus strong{margin:5px 0;font-size:clamp(20px,2.2vw,30px);overflow-wrap:anywhere}.cl-dashboard-kpis small,.cl-finance-focus small{font-size:10px;color:#718077}.cl-dashboard-kpis .cl-unpaid{border-color:#bc6a62;background:#fff7f3}.cl-dashboard-kpis .cl-unpaid strong,.cl-customer-money .cl-unpaid b{color:#ad353b}.cl-dashboard-note,.cl-card-data-note{margin:0;padding:7px 10px;border-radius:8px;background:#fff5df;color:#76551e;font-size:11px}.cl-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cl-section-head h2,.cl-section-head p{margin:0}.cl-section-head p{margin-top:3px;color:#6d7a72;font-size:11px}.cl-section-head>strong{color:#376049;font-size:12px}.cl-aging-dashboard{padding:11px 12px}.cl-aging-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:8px}.cl-aging-grid article{min-width:0;padding:8px;border:1px solid #dfe4db;border-radius:8px;background:#fbfcf8}.cl-aging-grid span,.cl-aging-grid strong,.cl-aging-grid small,.cl-aging-grid i{display:block}.cl-aging-grid span{min-height:28px;color:#5f6f65;font-size:10px}.cl-aging-grid strong{margin:3px 0;font-size:14px;overflow-wrap:anywhere}.cl-aging-grid small{color:#78837c;font-size:9px}.cl-aging-grid i{width:var(--cl-aging-width);height:4px;margin-top:7px;border-radius:8px;background:#4e7c63}.cl-aging-over_180,.cl-aging-91_180{background:#fff4ef!important}.cl-aging-over_180 strong,.cl-aging-91_180 strong{color:#ad353b}.cl-aging-unknown{background:#fff8e7!important}.cl-aging-unknown i{background:#be8b28}.cl-collector-board{padding:11px 12px}.cl-collector-board table{margin-top:5px}.cl-collector-board b{color:#ad353b}.cl-executive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cl-executive-grid>.cl-card{margin:0}.cl-executive-grid>.cl-card:first-child{grid-row:span 2}.cl-finance-focus{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.cl-finance-focus strong{font-size:20px}.cl-collector-focus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.cl-collector-focus>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:8px 11px;border:1px solid #dce2d7;border-radius:9px;background:#f8faf5}.cl-collector-focus span{font-size:11px;color:#65746a}.cl-collector-focus strong{font-size:18px}.cl-customer-money{display:grid;grid-template-columns:repeat(3,minmax(0,auto));gap:5px 14px;margin:5px 0}.cl-customer-money span{display:flex;align-items:baseline;gap:5px;color:#63736a;font-size:11px}.cl-customer-money b{color:#193e2d;font-size:16px}.cl-card-data-note{margin:4px 0 6px}.cl-role-cockpit .cl-toolbar-primary{margin:0}.cl-role-cockpit .cl-layout{margin-top:0}
@media(max-width:1100px){.cl-dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-aging-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cl-finance-focus{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cl-period-switch{position:sticky;top:0;z-index:3}.cl-period-switch span{flex-basis:100%;margin-left:0}.cl-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cl-dashboard-kpis article{padding:8px}.cl-dashboard-kpis article:last-child{grid-column:1/-1}.cl-dashboard-kpis strong{font-size:19px}.cl-aging-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cl-aging-grid article{padding:7px}.cl-aging-grid span{min-height:0}.cl-executive-grid{grid-template-columns:1fr}.cl-executive-grid>.cl-card:first-child{grid-row:auto}.cl-finance-focus{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cl-finance-focus article{padding:8px}.cl-collector-focus{grid-template-columns:1fr}.cl-customer-money{grid-template-columns:1fr;gap:2px}.cl-customer-money span{justify-content:space-between}.cl-owner-group>header{display:block}.cl-owner-group>header span{display:block;margin-top:3px;line-height:1.35}.cl-collector-board th,.cl-collector-board td{white-space:nowrap}}

/* Compact customer card: recent bills use one third, monthly amount chart uses two thirds. */
.cl-bills{padding:9px 10px}.cl-bill-overview{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:12px;align-items:stretch;margin-top:7px}.cl-recent-panel,.cl-month-panel{min-width:0}.cl-recent-panel h4,.cl-month-panel h4{margin:0;font-size:13px}.cl-owner-cards .cl-recent-bills,.cl-recent-bills{display:grid;grid-template-columns:1fr;gap:4px;margin:5px 0 0}.cl-recent-bills article{min-width:0;padding:5px 7px;border-radius:6px}.cl-recent-bills article>div{min-width:0}.cl-recent-bills strong,.cl-recent-bills b{font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-recent-bills small{font-size:9px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-month-panel{display:flex;flex-direction:column}.cl-owner-cards .cl-monthly-bills,.cl-monthly-bills{display:grid;grid-template-columns:repeat(6,minmax(64px,1fr));gap:4px;align-items:end;flex:1;min-height:176px;margin-top:5px}.cl-monthly-bills article{display:grid;grid-template-rows:auto 88px auto auto;align-items:end;min-width:0;height:100%;padding:4px 3px;border-radius:6px;text-align:center}.cl-monthly-bills span{font-size:9px}.cl-monthly-bills strong{font-size:clamp(9px,.7vw,12px);line-height:1.15;margin:3px 0 1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-monthly-bills small{min-height:22px;font-size:8px;line-height:1.25;overflow:hidden}.cl-month-bar{display:flex;align-items:flex-end;justify-content:center;height:82px;margin-top:3px;border-bottom:1px solid #d5ddd3;background:linear-gradient(to top,rgba(68,112,83,.05) 1px,transparent 1px);background-size:100% 25%}.cl-month-bar i{display:block;width:62%;height:var(--cl-month-height);min-height:0;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#4d8065,#315d48)}.cl-monthly-bills .is-empty .cl-month-bar i{height:0}.cl-ledger-note{margin:5px 0 0}.cl-ledger summary{margin-top:6px;padding:5px 8px;font-size:11px}.cl-followup-copy textarea{min-height:78px!important;min-block-size:78px!important;height:78px!important;font-size:15px;line-height:1.45;padding:9px 10px}.cl-followup-meta input,.cl-followup-meta select,.cl-followup-meta button{height:34px}.cl-record-form{gap:5px 8px}
@media(max-width:900px){.cl-bill-overview{grid-template-columns:minmax(180px,.9fr) minmax(0,2.1fr);gap:8px}.cl-monthly-bills{min-height:164px}.cl-monthly-bills article{grid-template-rows:auto 76px auto auto}.cl-month-bar{height:70px}}
@media(max-width:700px){.cl-bill-overview{grid-template-columns:1fr;gap:8px}.cl-owner-cards .cl-recent-bills,.cl-recent-bills{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-month-panel{overflow-x:auto;padding-bottom:3px}.cl-owner-cards .cl-monthly-bills,.cl-monthly-bills{grid-template-columns:repeat(6,minmax(54px,1fr));min-width:390px;min-height:150px}.cl-monthly-bills article{grid-template-rows:auto 64px auto auto}.cl-month-bar{height:58px}.cl-followup-copy textarea{min-height:72px!important;min-block-size:72px!important;height:72px!important;font-size:16px}.cl-followup-meta input,.cl-followup-meta select,.cl-followup-meta button{height:34px}}

/* Rolling six-month bills and task-style collection follow-up. */
.cl-month-window{color:#66766d;font-size:11px}.cl-owner-cards .cl-monthly-bills,.cl-monthly-bills{grid-template-columns:repeat(6,minmax(64px,1fr))}.cl-monthly-bills strong{font-size:12px}.cl-followup-editor{order:1}.cl-followup-meta{order:2;grid-template-columns:110px 130px 150px minmax(250px,auto);align-items:end;margin-top:2px}.cl-followup-actions{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.cl-record-form>.cl-form-advanced{order:3}.cl-record-form>[role=alert]{order:4}.cl-record-form>small{order:5}.cl-followup-list{border:1px solid #dde4da;border-radius:10px;overflow:hidden;background:#f8faf6}.cl-history{margin:0;padding:9px 10px;border:0;border-left:3px solid #afc5b2;border-radius:0;background:transparent}.cl-history+.cl-history{border-top:1px solid #dde4da}.cl-history-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.cl-history-main{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:9px;min-width:0}.cl-history-main time{padding-top:2px;color:#315b43;font-weight:700;font-size:12px}.cl-history-content{margin:0;font-size:15px;line-height:1.45;white-space:pre-wrap}.cl-history-side{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:8px;color:#6d7b72;font-size:10px;white-space:nowrap}.cl-history-tags{padding:3px 6px;border-radius:999px;background:#e8f0e7;color:#315b43}.cl-history-side strong{font-size:10px;color:#7a5e25}.cl-history-details{margin:7px 0 0 61px;color:#5f7166;font-size:11px}.cl-history-details>summary,.cl-earlier-records>summary{cursor:pointer;color:#476854}.cl-history-details p{margin:6px 0}.cl-earlier-records{margin-top:6px}.cl-earlier-records>.cl-history{border-right:1px solid #dde4da;border-bottom:1px solid #dde4da}.cl-history>[data-cl-edit]{margin:7px 0 0 61px}
@media(max-width:900px){.cl-followup-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-followup-actions{grid-column:1/-1}.cl-history-side{grid-template-columns:auto auto}.cl-history-side strong{grid-column:2;text-align:right}}
@media(max-width:700px){.cl-bills-head{align-items:flex-start}.cl-month-window{text-align:right}.cl-owner-cards .cl-monthly-bills,.cl-monthly-bills{grid-template-columns:repeat(6,minmax(54px,1fr));min-width:390px}.cl-followup-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-followup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cl-followup-meta input,.cl-followup-meta select,.cl-followup-meta button{min-height:44px;height:44px}.cl-history-head{grid-template-columns:1fr;gap:5px}.cl-history-main{grid-template-columns:44px minmax(0,1fr);gap:6px}.cl-history-side{grid-template-columns:auto 1fr auto;padding-left:50px;white-space:normal}.cl-history-side strong{grid-column:auto}.cl-history-details,.cl-history>[data-cl-edit]{margin-left:50px}}

/* Timeline-first collection workspace: stacked account panels at left, action timeline at right. */
body #workspace [data-collection-mount] .cl-customer-workspace{display:grid;grid-template-columns:minmax(0,52fr) minmax(360px,48fr);gap:10px;align-items:stretch;margin-top:6px}
body #workspace [data-collection-mount] :is(.cl-account-pane,.cl-followup-pane){min-width:0}
body #workspace [data-collection-mount] .cl-account-pane .cl-bills{height:100%;margin:0;box-sizing:border-box}
body #workspace [data-collection-mount] .cl-bill-overview{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:7px;margin-top:6px}
body #workspace [data-collection-mount] .cl-recent-bills{max-height:116px;overflow-y:auto;overscroll-behavior:contain;padding-right:2px}
body #workspace [data-collection-mount] .cl-monthly-bills{min-height:126px}
body #workspace [data-collection-mount] .cl-monthly-bills article{grid-template-rows:auto 56px auto auto}
body #workspace [data-collection-mount] .cl-month-bar{height:52px}
body #workspace [data-collection-mount] .cl-followup-pane{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:7px;padding:9px 10px;border:1px solid #dce3d8;border-radius:10px;background:#f8faf5;box-sizing:border-box}
body #workspace [data-collection-mount] .cl-followup-pane .cl-followup-history{min-height:0;margin:0;padding:0;border:0;background:transparent}
body #workspace [data-collection-mount] .cl-followup-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}
body #workspace [data-collection-mount] .cl-followup-title b{font-size:13px}
body #workspace [data-collection-mount] .cl-followup-title span{color:#66766d;font-size:10px}
body #workspace [data-collection-mount] .cl-followup-list{max-height:180px;overflow-y:auto;overscroll-behavior:contain}
body #workspace [data-collection-mount] .cl-followup-pane .cl-record-form{margin:0;padding-top:7px;border-top:1px solid #dce4da}
body #workspace [data-collection-mount] .cl-followup-pane .cl-followup-copy textarea{height:60px!important;min-height:60px!important;min-block-size:60px!important;padding:7px 9px!important;font-size:14px}
body #workspace [data-collection-mount] .cl-followup-pane .cl-form-advanced{grid-column:1/-1!important;padding:6px 8px}
body #workspace [data-collection-mount] .cl-followup-pane .cl-record-form>small{font-size:10px;line-height:1.35}

@media(min-width:1001px){body #workspace [data-collection-mount] .cl-account-pane .cl-bills{display:flex;flex-direction:column}body #workspace [data-collection-mount] .cl-account-pane .cl-bill-overview{flex:1}body #workspace [data-collection-mount] .cl-account-pane .cl-monthly-bills article{grid-template-rows:auto minmax(56px,1fr) auto auto}body #workspace [data-collection-mount] .cl-account-pane .cl-month-bar{height:100%;min-height:52px}}

@media(max-width:1000px){body #workspace [data-collection-mount] .cl-customer-workspace{grid-template-columns:1fr;height:auto}body #workspace [data-collection-mount] .cl-followup-pane{min-height:0}body #workspace [data-collection-mount] .cl-followup-list{max-height:210px}}
@media(max-width:700px){body #workspace [data-collection-mount] .cl-customer-workspace{gap:8px}body #workspace [data-collection-mount] .cl-followup-pane{padding:8px}body #workspace [data-collection-mount] .cl-recent-bills{max-height:none}body #workspace [data-collection-mount] .cl-monthly-bills{min-height:138px}body #workspace [data-collection-mount] .cl-monthly-bills article{grid-template-rows:auto 62px auto auto}body #workspace [data-collection-mount] .cl-month-bar{height:58px}body #workspace [data-collection-mount] .cl-followup-pane .cl-followup-copy textarea{height:64px!important;min-height:64px!important;min-block-size:64px!important;font-size:16px}body #workspace [data-collection-mount] .cl-followup-pane .cl-form-advanced{grid-column:1/-1!important}}

/* Repayment closed loop: compact evidence at left, tasks and next action at right. */
body #workspace [data-collection-mount] .cl-customer-workspace{grid-template-columns:minmax(0,46fr) minmax(420px,54fr);align-items:start}
body #workspace [data-collection-mount] .cl-followup-pane{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:6px;padding:8px;background:#f8faf5}
.cl-closed-loop{padding:7px 8px;border:1px solid #d8e1d5;border-radius:9px;background:#fffdf8}.cl-closed-loop>div,.cl-assigned-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cl-closed-loop>div span{color:#64736a;font-size:10px}.cl-closed-loop ol{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:6px 0 0;padding:0;list-style:none}.cl-closed-loop li{display:flex;align-items:center;gap:3px;min-width:0;color:#7b867f;font-size:9px;line-height:1.2}.cl-closed-loop li i{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #cdd8cc;border-radius:50%;background:#f3f6f0;font-style:normal}.cl-closed-loop li span{overflow-wrap:anywhere}.cl-closed-loop li.is-done,.cl-closed-loop li.is-current{color:#224b36;font-weight:700}.cl-closed-loop li.is-done i{color:#fff;background:#4e7c63;border-color:#4e7c63}.cl-closed-loop li.is-current i{border:2px solid #315d48;background:#e9f1e8}
.cl-assigned-tasks{padding:7px 8px;border:1px solid #d8e1d5;border-radius:9px;background:#fffdf8}.cl-assigned-head button{padding:5px 9px;font-size:11px}.cl-task-group{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:5px;margin-top:5px}.cl-task-group>span{color:#64736a;font-size:10px}.cl-task-group>p{margin:0;color:#849087;font-size:10px}.cl-task-group article{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:5px 7px;border-radius:7px;background:#eef3ea}.cl-task-group article+article{grid-column:2}.cl-task-group article>div{min-width:0}.cl-task-group strong,.cl-task-group small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cl-task-group strong{font-size:11px}.cl-task-group small{margin-top:2px;color:#66766d;font-size:9px}.cl-task-group article.is-finished{opacity:.62}.cl-task-group button{flex:0 0 auto;padding:5px 8px;font-size:10px}
body #workspace [data-collection-mount] .cl-followup-list{max-height:136px}.cl-next-step-editor{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important}.cl-next-step-editor .cl-followup-meta{order:1;display:grid;grid-template-columns:110px 130px minmax(120px,1fr);gap:6px;margin:0}.cl-next-step-editor .cl-followup-meta label,.cl-next-step-editor .cl-followup-main-controls label{margin:0}.cl-next-step-editor .cl-followup-meta select{height:32px}.cl-next-step-editor .cl-followup-editor{order:2;margin:0}.cl-next-step-editor .cl-followup-main-controls{order:3;display:flex;align-items:end;justify-content:space-between;gap:7px}.cl-next-step-editor .next-action-date{width:142px}.cl-next-step-editor .next-action-date input{height:34px}.cl-next-step-editor .cl-followup-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.cl-next-step-editor .cl-followup-actions button{min-height:34px}.cl-next-step-editor>.cl-form-advanced{order:4}.cl-next-step-editor>[role=alert]{order:5}.cl-next-step-editor>small{order:6}.cl-closed-message{margin:0;padding:8px;border-radius:8px;background:#eaf2e8;color:#315d48;font-size:11px}.cl-assign-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.cl-assign-form>p,.cl-assign-form>label:nth-of-type(n+3),.cl-assign-form>button,.cl-assign-form>[role=alert]{grid-column:1/-1}.cl-assign-form button{justify-self:end}.cl-top [data-cl-assign],.cl-top [data-cl-decide]{padding:6px 9px}
body #workspace [data-collection-mount] .cl-account-pane .cl-recent-bills{max-height:94px}body #workspace [data-collection-mount] .cl-monthly-bills{min-height:112px}body #workspace [data-collection-mount] .cl-monthly-bills article{grid-template-rows:auto 46px auto auto}body #workspace [data-collection-mount] .cl-month-bar{height:42px}

@media(max-width:1100px){body #workspace [data-collection-mount] .cl-customer-workspace{grid-template-columns:minmax(0,44fr) minmax(390px,56fr)}.cl-closed-loop li span{font-size:8px}}
@media(max-width:1000px){body #workspace [data-collection-mount] .cl-customer-workspace{grid-template-columns:1fr}.cl-closed-loop li span{font-size:9px}}
@media(max-width:700px){.cl-closed-loop{overflow-x:auto}.cl-closed-loop ol{min-width:590px}.cl-task-group{grid-template-columns:68px minmax(0,1fr)}.cl-next-step-editor .cl-followup-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-next-step-editor .cl-followup-meta select{min-height:44px;height:44px}.cl-next-step-editor .cl-followup-main-controls{align-items:stretch;flex-direction:column}.cl-next-step-editor .next-action-date{width:100%}.cl-next-step-editor .next-action-date input{min-height:44px;height:44px}.cl-next-step-editor .cl-followup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.cl-next-step-editor .cl-followup-actions .primary{grid-column:1/-1}.cl-next-step-editor .cl-followup-actions button,.cl-assigned-head button,.cl-task-group button{min-height:44px}.cl-assign-form{grid-template-columns:1fr}.cl-assign-form>*{grid-column:1!important}.cl-assign-form button{width:100%}body #workspace [data-collection-mount] .cl-followup-list{max-height:190px}}

/* Repayment loop editor order is deliberate: status fields, follow-up note, then action row. */
.cl-next-step-editor>.cl-followup-meta{order:1!important}
.cl-next-step-editor>.cl-followup-editor{order:2!important}
.cl-next-step-editor>.cl-followup-main-controls{order:3!important}

@media(min-width:701px){
  .cl-assigned-tasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
  .cl-assigned-tasks>.cl-assigned-head{grid-column:1/-1}
  .cl-task-group{grid-template-columns:64px minmax(0,1fr);margin-top:0}
  .cl-next-step-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cl-next-step-editor>.cl-followup-meta,.cl-next-step-editor>.cl-followup-editor,.cl-next-step-editor>.cl-followup-main-controls,.cl-next-step-editor>[role=alert],.cl-next-step-editor>small{grid-column:1/-1!important}
  .cl-next-step-editor>.cl-followup-meta{display:grid!important}
  .cl-next-step-editor>.cl-form-advanced{grid-column:auto!important;margin:0}
  .cl-next-step-editor>.cl-followup-meta label,.cl-next-step-editor>.cl-followup-main-controls label{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px!important;margin:0!important}
  .cl-next-step-editor>.cl-followup-meta select,.cl-next-step-editor>.cl-followup-main-controls input{min-height:34px!important;height:34px!important}
  .cl-next-step-editor .next-action-date{width:185px!important;flex-direction:row!important;align-items:center!important;gap:5px!important}
  .cl-next-step-editor .cl-followup-actions button{height:34px!important;min-height:34px!important;padding-top:4px!important;padding-bottom:4px!important}
}
.cl-next-step-editor>[role=alert]:empty{display:none}
.cl-next-step-editor>small{display:none}
@media(min-width:701px){
  .cl-closed-loop{padding:5px 7px}
  .cl-closed-loop ol{margin-top:2px}
  .cl-closed-loop li i{width:16px;height:16px;flex-basis:16px}
  body #workspace [data-collection-mount] .cl-followup-list{max-height:64px}
  body #workspace [data-collection-mount] .cl-detail{padding:10px 12px}
  body #workspace [data-collection-mount] .cl-detail>p{margin:4px 0}
  body #workspace [data-collection-mount] .cl-detail .cl-facts{margin:4px 0}
}

/* Finance view selected on 2026-11-09: action numbers first, two compact tables below. */
.cl-finance-dashboard{display:grid;gap:8px}
.cl-finance-dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:12px}
.cl-finance-dashboard-head h2{margin:0;font-size:20px}
.cl-finance-dashboard-head p{margin:2px 0 0;color:#64736a;font-size:11px}
.cl-finance-dashboard-head>span{color:#64736a;font-size:11px;white-space:nowrap}
.cl-finance-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.cl-finance-metric{grid-column:span 2;min-width:0;min-height:95px;padding:11px 12px;border:1px solid #d9e0d4;border-radius:11px;background:#fffdf8}
.cl-finance-metric span,.cl-finance-metric strong,.cl-finance-metric small{display:block}
.cl-finance-metric span{color:#64736a;font-size:12px}
.cl-finance-metric strong{margin:4px 0;font-size:clamp(20px,2.15vw,29px);line-height:1.2;overflow-wrap:anywhere}
.cl-finance-metric small{color:#6d7d72;font-size:10px;line-height:1.4}
.cl-finance-metric.is-unknown{border-color:#e4d2a4;background:#fff9eb}.cl-finance-metric.is-unknown strong{color:#88621e}
.cl-finance-metric.is-action{border-color:#cbdccc;background:#eaf2e9}.cl-finance-metric.is-action strong{color:#0d4d3d}
.cl-finance-metric.is-unpaid{border-color:#dfa5a1;background:#fff8f5}.cl-finance-metric.is-unpaid strong{color:#ad353b}
.cl-finance-table-grid{display:grid;grid-template-columns:minmax(0,4.4fr) minmax(0,5.6fr);gap:9px;align-items:start}
.cl-finance-table-panel{min-width:0;overflow:hidden;border:1px solid #d9e0d4;border-radius:11px;background:#fffdf8}
.cl-finance-table-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 8px}
.cl-finance-table-head h2{margin:0;font-size:17px}
.cl-finance-table-head p,.cl-finance-table-head span{margin:2px 0 0;color:#64736a;font-size:10px}
.cl-finance-table-head button{flex:0 0 auto;padding:5px 8px;font-size:10px}
.cl-finance-table-panel .cl-scroll{max-height:460px;overflow:auto;overscroll-behavior:contain}
.cl-finance-table-panel table{width:100%;min-width:660px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.cl-finance-table-panel:last-child table{min-width:900px}
.cl-finance-table-panel th,.cl-finance-table-panel td{padding:8px 9px;border-bottom:1px solid #e7ebe4;white-space:nowrap;font-size:11px}
.cl-finance-table-panel th{position:sticky;top:0;z-index:1;background:#f1f6f0;color:#60746a;text-align:left;font-size:10px}
.cl-finance-table-panel th:first-child,.cl-finance-table-panel td:first-child{text-align:left}
.cl-finance-table-panel tbody tr:hover{background:#f6f9f3}
.cl-finance-risk{color:#ad353b;font-weight:700}
.cl-finance-link{padding:0;border:0;background:transparent;color:#18382c;font-weight:700;text-decoration:underline;text-decoration-color:#a6bcaa;text-underline-offset:3px;text-align:left}
.cl-finance-link:hover{color:#0d6249;text-decoration-color:currentColor}
.cl-finance-detail-list{min-width:0;padding:8px 10px;border:1px solid #d9e0d4;border-radius:10px;background:#f8faf5}
.cl-finance-detail-list>summary{cursor:pointer;color:#315d48;font-weight:700}
.cl-finance-detail-list>.cl-layout{margin-top:8px!important}
@media(max-width:1700px){.cl-finance-table-grid{grid-template-columns:1fr}.cl-finance-table-panel .cl-scroll{max-height:340px}}
@media(max-width:700px){.cl-finance-dashboard-head{align-items:start;flex-direction:column}.cl-finance-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cl-finance-metric{grid-column:span 1;min-height:88px;padding:8px}.cl-finance-metric strong{font-size:20px}.cl-finance-metric small{font-size:9px}.cl-finance-table-head{align-items:flex-start;flex-direction:column}.cl-finance-table-panel .cl-scroll{max-height:360px}.cl-finance-table-panel table{min-width:620px}.cl-finance-table-panel:last-child table{min-width:860px}}
