.graphs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.graphs-header-info {
    flex: 0 0 auto;
}

.graphs-header-info h2 {
    margin: 0;
}

.graphs-header-info p {
    margin: 0.25rem 0 0 0;
}

.graphs-header-form {
    flex: 1 1 auto;
}

.graphs-global {
    margin-bottom: var(--space-8);
}

.graphs-global h3 {
    margin-bottom: var(--space-4);
}

.graphs-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    gap: var(--space-4);
    flex-wrap: wrap;
}

.graphs-section-header h3,
.graphs-section-header h4 {
    margin: 0;
}

.graphs-stats {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    font-size: var(--text-base);
}

.graphs-stats-difference {
    font-weight: 600;
}

.graphs-stats-percentage {
    font-size: var(--text-sm);
    opacity: 0.9;
}

.graphs-chart-container {
    position: relative;
    height: 350px;
}

.graphs-accounts {
    margin-bottom: var(--space-8);
}

.graphs-accounts h3 {
    margin-bottom: var(--space-4);
}

.graphs-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: var(--space-6);
}

.graphs-account-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
}

.graphs-account-card h4 {
    font-size: var(--text-lg);
}

@media (max-width: 768px) {
    .graphs-accounts-grid {
        grid-template-columns: 1fr;
    }

    .graphs-chart-container {
        height: 280px;
    }
}
