/* Customer aggregates reuse the dashboard panels, cards and scrollable tables. */
#customers{scroll-margin-top:24px;margin-top:28px}

#customers .customer-heading{padding:0 0 18px;align-items:flex-start}
.customer-context{font-size:12px;line-height:1.9;color:#4f656d;margin:0 0 18px;overflow-wrap:anywhere}
.customer-kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}
#customers .card-value{font-size:clamp(22px,2vw,30px)}
#customers .card-sub,#customers .card-baseline,#customers .card-change{font-size:11px;line-height:1.7}
.customer-note{font-size:12px;line-height:1.9;color:#526a71;margin:12px 0 22px}
.rfm-table{min-width:1040px;font-size:12px}
.rfm-table th{font-size:11px}.rfm-table td{padding-top:16px;padding-bottom:16px}
.rfm-table th[scope=row]{background:transparent;border-top:0;color:#315a4d;font-weight:650;white-space:normal;min-width:180px;text-align:left}
.rfm-table .group-description{display:block;font-size:11px;font-weight:400;color:#61767b;margin-top:4px}
.rfm-table .group-rule{display:block;font-size:10px;color:#61767b;font-weight:400}
.customer-stack{display:flex;height:18px;border-radius:6px;overflow:hidden;margin:0 24px 12px;background:#edf2ef}
.customer-stack span{min-width:0;border-right:1px solid white}
.rfm-swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:7px}
.rfm-color-0{background:#137a63}.rfm-color-1{background:#4c9688}.rfm-color-2{background:#b37550}.rfm-color-3{background:#7165ad}.rfm-color-4{background:#789b58}.rfm-color-5{background:#7a8b99}.rfm-color-6{background:#b0c6bd}
.customer-empty{padding:20px 24px;font-size:13px;color:#526a71}
#rfm-rules{font-size:12px;line-height:1.9}#rfm-rules .definitions{font-size:12px}#rfm-rules .definitions strong{min-width:0}
.rfm-score-table{min-width:500px}.rfm-score-table td,.rfm-score-table th{font-size:11px;padding:10px 14px}
@media(max-width:1100px){.customer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){#customers .customer-heading{display:block}#customers .card-value{font-size:24px}#customers .kpi-card{padding:14px 12px}#customers .card-label{font-size:11px}.customer-context{font-size:11px}.customer-note{font-size:11px}.customer-stack{margin-left:17px;margin-right:17px}.rfm-table td,.rfm-table th{padding-left:14px;padding-right:14px}}

#customers [hidden]{display:none!important}
