.cmh-collection .cc-billing-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0}
.cmh-collection .cc-billing-destination{padding:16px;border:1px solid var(--border-color,#cdddea);border-radius:10px;background:var(--bg-secondary,#f4f8fd);min-width:0}
.cmh-collection .cc-billing-destination>strong{display:block;overflow-wrap:anywhere;margin:10px 0}
.cmh-collection .cc-billing-destination .cc-actions{flex-wrap:wrap;margin-top:12px}
.cmh-collection .cc-extra-groups{grid-column:1/-1}
@media(max-width:700px){.cmh-collection .cc-billing-destinations{grid-template-columns:1fr}}
/* Collection workspace: scoped theme surfaces; original business controls retained. */
.cmh-collection{--cc-surface:var(--panel-bg,var(--bg-card,#fff));--cc-soft:var(--bg-secondary,#f3f7fb);--cc-border:var(--border-color,#dce5ef);--cc-accent:var(--primary-color,#245da8);--cc-text:var(--text-primary,#18324e);color:var(--cc-text);padding:18px 22px}
.cmh-collection .cc-header{margin-bottom:8px}.cmh-collection .cc-header h2{font-size:23px;margin:0}.cmh-collection .cc-header p{font-size:12px;margin:4px 0}.cmh-collection .cc-status{margin:4px 0 10px;font-size:12px}.cmh-collection .cc-mode{margin:10px 0}.cmh-collection .cc-cards{grid-template-columns:1.3fr repeat(4,1fr);gap:12px;margin:12px 0 16px}.cmh-collection .cc-card{padding:12px 16px;min-height:82px;background:var(--cc-surface);border-color:var(--cc-border)}.cmh-collection .cc-card strong{font-size:25px}.cmh-collection .cc-split{grid-template-columns:310px minmax(0,1fr);height:calc(100vh - 330px);min-height:480px;gap:16px}.cmh-collection .cc-customers,.cmh-collection .cc-detail{background:var(--cc-surface);border:1px solid var(--cc-border);border-radius:10px;min-width:0}.cmh-collection .cc-customers{display:flex;flex-direction:column;overflow:hidden}.cmh-collection .cc-customer-list{flex:1;min-height:0;max-height:none;overflow:auto}.cmh-collection .cc-pagination{flex-shrink:0;background:var(--cc-soft)}.cmh-collection .cc-detail{max-height:none;min-height:0;overflow:hidden;padding:0;display:flex;flex-direction:column}.cmh-collection .cc-detail-title{margin:0;padding:8px 18px;background:var(--cc-soft);flex-shrink:0}.cmh-collection .cc-detail-title h3{font-size:12px;font-weight:500}.cmh-collection .cc-fixed-customer{padding:14px 20px 10px;border-bottom:1px solid var(--cc-border);flex-shrink:0}.cmh-collection .cc-fixed-customer .cc-customer-head h3{font-size:20px}.cmh-collection .cc-fixed-customer p{font-size:12px;margin:5px 0}.cmh-collection .cc-fixed-customer .cc-actions{margin:6px 0}.cmh-collection .cc-fixed-customer .cc-repayment-date{padding:5px 9px;margin-top:5px}.cmh-collection .cc-customer-tabs{display:flex;gap:22px;padding:0 20px;border-bottom:1px solid var(--cc-border);flex-shrink:0}.cmh-collection .cc-customer-tabs button{background:transparent;border:0;border-radius:0;padding:11px 0;color:var(--cc-text);min-height:42px}.cmh-collection .cc-customer-tabs button.active{color:var(--cc-accent);border-bottom:3px solid var(--cc-accent);font-weight:700}.cmh-collection .cc-customer-scroll{min-height:0;overflow:auto;padding:16px 20px;flex:1}.cmh-collection .cc-customer-panel{min-width:0}.cmh-collection .cc-billing-contact{padding:0;border:0;background:transparent;margin:0 0 14px}.cmh-collection .cc-billing-destination{background:var(--cc-soft);border-color:var(--cc-border);border-top:3px solid var(--cc-accent);padding:14px}.cmh-collection .cc-billing-destination input[type=month],.cmh-collection .cc-billing-destination input[type=date]{max-width:170px}.cmh-collection .cc-statement,.cmh-collection .cc-ticket-statement,.cmh-collection .cc-workflow{background:var(--cc-surface);border-color:var(--cc-border)}.cmh-collection .cc-preview .cc-table-scroll{max-height:none}.cmh-collection .cc-client .cc-rule-summary,.cmh-collection .cc-client .cc-client-finance,.cmh-collection .cc-client>p.cc-muted{display:none}.cmh-collection .cc-client-title{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.cmh-collection .cc-client-title .cc-money{font-size:19px}.cmh-collection .cc-client-meta{font-size:12px}.cmh-collection .cc-client .cc-actions{margin:8px 0 0}.cmh-collection .cc-bill-tabs{display:flex;gap:8px}.cmh-collection .cc-bill-tabs .active{color:var(--cc-accent);border-color:var(--cc-accent)}.cmh-collection .cc-customer-panel input,.cmh-collection .cc-customer-panel select,.cmh-collection .cc-customer-panel textarea{color:var(--cc-text);background:var(--cc-surface)}
@media(max-width:1100px){.cmh-collection .cc-split{grid-template-columns:270px minmax(0,1fr)}.cmh-collection .cc-billing-destinations{grid-template-columns:1fr}.cmh-collection .cc-card strong{font-size:21px}}
@media(max-width:800px){.cmh-collection .cc-split{height:auto;display:block;min-height:0}.cmh-collection .cc-customers{max-height:350px;margin-bottom:14px}.cmh-collection .cc-detail{min-height:300px}.cmh-collection .cc-customer-scroll{overflow:visible;padding:12px}.cmh-collection .cc-cards{grid-template-columns:repeat(2,1fr)}.cmh-collection .cc-card:first-child{grid-column:1/-1}.cmh-collection .cc-customer-tabs{gap:14px;padding:0 12px}.cmh-collection .cc-fixed-customer{padding:12px}.cmh-collection .cc-customer-head{flex-wrap:wrap}.cmh-collection .cc-bill-tabs{flex-wrap:wrap}}

@media(max-width:800px){.cmh-collection .cc-customer-list{flex:none;min-height:180px;max-height:320px;overflow:auto}}

.cmh-collection .cc-split{align-items:stretch}.cmh-collection .cc-customers,.cmh-collection .cc-detail{height:100%}@media(max-width:800px){.cmh-collection .cc-customers{max-height:none;height:auto}.cmh-collection .cc-detail{height:auto}}
