/* 2. Empêche le graphique de s'écraser ou de déborder */
#chart {
    width: 100%;
    min-height: 380px; /* Hauteur minimale garantie sur mobile */
    flex-shrink: 0;
    position: relative; /* Évite les conflits de positionnement absolu internes */
}

#credits-toggle-btn {
    margin-top: 80px; /* Règle la distance au Sankey */
    flex-shrink: 0;
}

.chart-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    white-space: nowrap;
}