.client-statistics{margin:0 0 18px;font-family:var(--ui-font-family);min-width:0}
.client-statistics-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.client-statistics-heading h2{font-size:var(--ui-font-size-heading);margin:0;font-weight:var(--ui-font-weight-semibold,600)}
.client-statistics-heading p{font-size:var(--ui-font-size-caption,12px);color:var(--muted);margin:0}
.client-statistics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.client-stat{min-width:0;padding:16px;background:var(--panel);border:1px solid var(--border);border-radius:var(--ui-radius-card,12px)}
.client-stat-label{display:flex;align-items:center;gap:7px;font-size:var(--ui-font-size-caption,12px);color:var(--muted);margin-bottom:10px}
.client-stat-label .ui-icon{width:17px;height:17px;flex-shrink:0;color:var(--accent)}
.client-stat-value{display:grid;gap:5px;font-size:20px;font-weight:var(--ui-font-weight-strong,700);line-height:1.35;overflow-wrap:anywhere}
.client-stat-value .gain{color:var(--green)}
.client-stat-value .loss{color:var(--danger)}
.client-stat-note{font-size:var(--ui-font-size-caption,12px);color:var(--muted);margin-top:8px;line-height:1.45}
.client-stat-service .client-stat-value{font-size:var(--ui-font-size-body,14px)}
.client-stat-service small{font-size:var(--ui-font-size-caption,12px);color:var(--muted);font-weight:400}
.client-statistics-grid:not(:has([data-client-stat=profit])){grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.client-statistics-grid,.client-statistics-grid:not(:has([data-client-stat=profit])){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.client-statistics-grid,.client-statistics-grid:not(:has([data-client-stat=profit])){grid-template-columns:repeat(2,minmax(0,1fr))}.client-stat{padding:12px}.client-stat-service{grid-column:1/-1}.client-stat-value{font-size:18px}}
@media(max-width:360px){.client-statistics-grid,.client-statistics-grid:not(:has([data-client-stat=profit])){grid-template-columns:1fr}}
