/* Transaction analytics — dark dashboard */
.ta-analytics-page {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 40%, #0b1120 100%);
}

.ta-analytics-page .fi-main {
    background: transparent;
}

.ta-analytics-page .fi-page,
.ta-analytics-page .fi-page > .fi-page-content {
    background: transparent;
}

.ta-analytics-page .fi-header-heading {
    color: #f8fafc;
}

.ta-analytics-page .fi-header-subheading {
    color: #94a3b8;
}

.ta-period-row + .ta-period-row {
    margin-top: 0.25rem;
}

.ta-card .ta-metric {
    font-variant-numeric: tabular-nums;
}

/* Embedded Apex widgets inside custom cards */
.ta-apex-embed .filament-apex-charts-widget,
.ta-sparkline .filament-apex-charts-widget {
    background: transparent !important;
    box-shadow: none !important;
}

.ta-apex-embed .filament-apex-charts-section,
.ta-sparkline .filament-apex-charts-section {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.ta-apex-embed .fi-section-header,
.ta-sparkline .fi-section-header {
    display: none !important;
}

.ta-apex-embed .fi-section-content,
.ta-sparkline .fi-section-content {
    padding: 0 !important;
}

/* Subscription analytics — light dashboard polish */
.sf-analytics-page .fi-wi-chart .filament-apex-charts-section {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgb(15 23 42 / 6%);
}

.sf-analytics-page .fi-stats-overview-stat-value {
    font-variant-numeric: tabular-nums;
}

.sf-movement .text-2xl {
    font-variant-numeric: tabular-nums;
}
