.reports-table { overflow-x: auto; }
.reports-table table { min-width: 780px; }
.reports-table th:not(:first-child), .reports-table td:not(:first-child) { text-align: right; white-space: nowrap; }
.reports-table th:first-child, .reports-table td:first-child { min-width: 210px; max-width: 320px; overflow-wrap: anywhere; }
.reports-kpis .indicator-kpi-value { white-space: normal; overflow-wrap: anywhere; }
.reports-filters { grid-template-columns: minmax(0, 1fr) 140px auto; }
.report-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.report-tabs a { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--foreground); }
.report-tabs a[aria-current="page"] { background: var(--primary); color: var(--primary-foreground); }
.analytics-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.analytics-filters label { flex: 1 1 170px; min-width: 0; margin: 0; }
.analytics-filters .filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.analytics-data-note { color: var(--muted-foreground); margin: 16px 0 24px; font-size: 13px; }
.analytics-data-note p { margin: 6px 0; }
.analytics-table { overflow-x: auto; }
.analytics-table table { min-width: 580px; }
.analytics-table th { min-width: 110px; }
.analytics-table td { min-width: 110px; max-width: 260px; overflow-wrap: anywhere; }
.analytics-table .analytics-number { white-space: nowrap; text-align: right; }
.analytics-table .analytics-full_name { min-width: 220px; }
.analytics-table .analytics-phone { min-width: 140px; white-space: nowrap; }
.analytics-table .analytics-email { min-width: 190px; }
.analytics-table .analytics-service_name { min-width: 170px; }
.analytics-section h2 { margin-top: 0; }
[data-report-table="daily"] .analytics-table th,
[data-report-table="daily"] .sort-link { white-space: normal; }
[data-report-table="daily"] .analytics-table th,
[data-report-table="daily"] .analytics-table td { min-width: 88px; }
[data-report-table="daily"] .analytics-table .analytics-day { min-width: 110px; white-space: nowrap; }
[data-report-table="daily"] .analytics-table .analytics-club { min-width: 140px; overflow-wrap: normal; }
[data-report-table="segments"] .analytics-table table { min-width: 0; width: 100%; table-layout: fixed; }
[data-report-table="segments"] .analytics-table th,
[data-report-table="segments"] .analytics-table td { min-width: 0; }
[data-report-table="segments"] .analytics-table th { white-space: normal; }
[data-report-table="segments"] .analytics-table th:first-child { width: 42%; }
[data-report-table="segments"] .analytics-table th:nth-child(2) { width: 25%; }
[data-report-table="segments"] .analytics-table th:last-child { width: 33%; }
[data-report-table="segments"] .sort-link { white-space: normal; }
@media (max-width: 700px) {
  .reports-filters { grid-template-columns: 1fr; }
}
