/* Qasim Arabic Wear — customer profitability v6.5.0 */
.customer-live-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.customer-filter-caption{color:var(--muted);font-size:.82rem;white-space:nowrap}
.profit-value{color:#16834a;direction:ltr;display:inline-block}
.customer-profit-profile{display:grid;gap:16px}
.customer-profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.customer-profile-stats .stat{min-height:110px}
.customer-sales-list{display:grid;gap:12px}
.customer-sale-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface)}
.customer-sale-card>header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;background:var(--surface-2)}
.customer-sale-card>header>div{display:grid;gap:4px}
.customer-sale-card>header>div:last-child{text-align:left}
.customer-sale-card small{color:var(--muted)}
.profit-badge{color:#16834a;background:rgba(22,131,74,.1);padding:4px 9px;border-radius:999px;font-size:.76rem;font-weight:700}
.customer-profit-table{border:0;border-radius:0;box-shadow:none}
.customer-profit-table table{min-width:760px}
.customer-profit-table th,.customer-profit-table td{padding:10px 12px}
.returned-copy{color:#b54a3e!important}
@media(max-width:1200px){.customer-live-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.customer-live-stats,.customer-profile-stats{grid-template-columns:1fr 1fr}.customer-sale-card>header{align-items:flex-start;flex-direction:column}.customer-filter-caption{display:none}}
