/**
 * Calendanse Community Stats — styles front
 * Structure : cartes KPI → section région/lieu → section type de danse → section région × type → (forum dans KPI)
 * Autonome, stylable, sans graphiques JS en V1.
 */

/* ---- Conteneur principal (shortcode + page dédiée) ---- */
.ccs-community-stats,
.ccs-stats-wrap {
    max-width: 960px;
    margin: 0 auto 2rem;
    padding: 1rem 0;
    box-sizing: border-box;
}

.ccs-stats-wrap * {
    box-sizing: border-box;
}

.ccs-stats-title {
    font-size: 1.5rem;
    margin: 0 0 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ---- Cartes KPI ---- */
.ccs-stats-kpi.ccs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.ccs-stat-block {
    background: #f6f7f9;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.ccs-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}

.ccs-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: #646970;
    margin-top: 0.25rem;
}

/* Forum (dans la grille KPI) */
.ccs-stat-block.ccs-stat-forum {
    border-color: #c5d9ed;
    background: #f0f6fc;
}

/* ---- Sections (par région, par type de danse, région × type) ---- */
.ccs-stats-section {
    margin-bottom: 1.5rem;
}

.ccs-stats-section-title {
    font-size: 1.125rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-stats-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-stats-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
    border-bottom: 1px solid #eee;
}

.ccs-stats-list li:last-child {
    border-bottom: none;
}

.ccs-stats-list .ccs-label {
    color: #1d2327;
}

.ccs-stats-list .ccs-value {
    font-weight: 600;
    color: #2271b1;
    margin-left: 0.5rem;
}

/* Section par région / par lieu */
.ccs-stats-section--region .ccs-stats-list {
    max-width: 320px;
}

/* Section région × type de danse */
.ccs-region-dance {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.ccs-region-block {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #e8e8e8;
}

.ccs-region-name {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #1d2327;
}

/* ---- Pied : dernière mise à jour ---- */
.ccs-computed-at {
    font-size: 0.8125rem;
    color: #646970;
    margin-top: 1.5rem;
}

/* ---- Layout list (attribut layout="list") ---- */
.ccs-layout-list .ccs-stats-kpi.ccs-stats-grid {
    grid-template-columns: 1fr;
}

.ccs-layout-list .ccs-stat-block {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ccs-layout-list .ccs-stat-value {
    font-size: 1.5rem;
}

/* ---- Bloc membre (page /membres/) ---- */
.ccs-member-card .ccs-member-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
    margin: 1rem 0;
}

.ccs-member-stat {
    font-size: 0.9375rem;
}

.ccs-member-value {
    font-weight: 700;
    color: #1d2327;
}

.ccs-member-label {
    color: #646970;
}

.ccs-member-card .cdm-row {
    margin-top: 0.75rem;
}

.ccs-member-card--placeholder .ccs-member-stats {
    display: none;
}

/* ============================================================
   Variante PUBLIC (vitrine) — V2
   ============================================================ */

.ccs-variant-public {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 1rem 2rem;
}

/* ---- Lecture rapide ---- */
.ccs-quick-read {
    margin-bottom: 2rem;
    padding: 1.25rem 1.5rem;
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    border-radius: 0 8px 8px 0;
}

.ccs-quick-read__title {
    font-size: 1.125rem;
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-quick-read__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-quick-read__item {
    padding: 0.25rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #50575e;
}

.ccs-quick-read__item::before {
    content: "— ";
    color: #2271b1;
}

/* ---- Barres visuelles (CSS uniquement) ---- */
.ccs-bar-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.ccs-bar-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 180px) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.ccs-bar-item:last-child {
    border-bottom: none;
}

.ccs-bar-label {
    font-size: 0.9375rem;
    color: #1d2327;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ccs-bar-track {
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.ccs-bar-fill {
    height: 100%;
    background: #2271b1;
    border-radius: 4px;
    min-width: 2px;
    transition: width 0.2s ease;
}

.ccs-bar-value {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2271b1;
    min-width: 2ch;
}

@media (max-width: 480px) {
    .ccs-bar-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .ccs-bar-track {
        max-width: 100%;
    }
}

/* Intro de section (court paragraphe sous le H2) */
.ccs-public-section__intro {
    font-size: 0.9375rem;
    color: #50575e;
    margin: 0 0 1rem;
    line-height: 1.4;
}

/* Sous-titres de section (h3) */
.ccs-public-section__subtitle {
    font-size: 1rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
    color: #50575e;
}

.ccs-public-section__subtitle:first-of-type {
    margin-top: 0;
}

/* Évolution (mois / année) */
.ccs-evolution-list {
    margin-bottom: 1rem;
}

.ccs-evolution-list .ccs-bar-item {
    grid-template-columns: minmax(100px, 1fr) minmax(80px, 200px) auto;
}

/* Activité organisateurs (chiffres 30j / 90j) */
.ccs-organizers-activity {
    margin-top: 1rem;
    padding: 1rem;
    background: #f6f7f9;
    border-radius: 8px;
}

.ccs-organizers-activity__line {
    margin: 0.25rem 0;
    font-size: 0.9375rem;
    color: #50575e;
}

/* ---- Hero ---- */
.ccs-public-hero {
    text-align: center;
    padding: 2rem 1rem 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8f6fc 0%, #f0edf5 100%);
    border-radius: 12px;
}

.ccs-public-hero__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}

.ccs-public-hero__intro {
    font-size: 1rem;
    line-height: 1.5;
    color: #50575e;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- KPI public (mise en valeur) ---- */
.ccs-variant-public .ccs-public-kpi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ccs-variant-public .ccs-public-kpi .ccs-stat-block {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ccs-variant-public .ccs-public-kpi .ccs-stat-value {
    font-size: 2rem;
}

.ccs-variant-public .ccs-public-kpi .ccs-stat-forum {
    border-color: #c5d9ed;
    background: #f8fbff;
}

/* ---- Top régions / Top lieux (grille 2 colonnes sur desktop) ---- */
.ccs-public-tops {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .ccs-public-tops {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ccs-public-top__title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-top-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-top-list__item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.ccs-top-list__item:last-child {
    border-bottom: none;
}

.ccs-top-list__rank {
    flex-shrink: 0;
    width: 1.5rem;
    font-weight: 700;
    color: #646970;
    font-size: 0.875rem;
}

.ccs-top-list__label {
    flex: 1;
    color: #1d2327;
}

.ccs-top-list__value {
    font-weight: 600;
    color: #2271b1;
}

/* ---- Sections public (styles, organisateurs, région×type) ---- */
.ccs-public-section {
    margin-bottom: 2.5rem;
}

.ccs-public-section__title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-variant-public .ccs-public-region-dance {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.ccs-variant-public .ccs-region-block {
    background: #fff;
    border: 1px solid #e8e8e8;
}

/* ---- Observatoire (V3) ---- */
.ccs-public-section--observatoire {
    padding: 1.25rem 1.5rem;
    background: #f8f9fb;
    border-radius: 10px;
    border-left: 4px solid #2271b1;
}

/* ---- Énergie de la danse (V4) ---- */
.ccs-public-section--energy {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f4f8 100%);
    border-radius: 12px;
    border: 2px solid #2271b1;
    text-align: center;
}

.ccs-energy-score {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1d2327;
    margin: 0;
}

/* ---- Tendances du moment (V4) ---- */
.ccs-public-section--trends .ccs-trends-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-trends-item {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #50575e;
}

.ccs-trends-item::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #2271b1;
}

/* ---- Territoires en progression (V4) ---- */
.ccs-territories-growth-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-territories-growth-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.ccs-territories-growth-item:last-child {
    border-bottom: none;
}

.ccs-territories-growth-name {
    font-weight: 500;
    color: #1d2327;
}

.ccs-territories-growth-pct {
    font-weight: 700;
    color: #00a32a;
    flex-shrink: 0;
}

/* ---- Croissance du calendrier (V3) ---- */
.ccs-growth-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ccs-growth-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 140px;
}

.ccs-growth-item.ccs-growth--up {
    background: #edfaef;
    border: 1px solid #00a32a;
}

.ccs-growth-item.ccs-growth--down {
    background: #fcf0f1;
    border: 1px solid #d63638;
}

.ccs-growth-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.ccs-growth--up .ccs-growth-value { color: #00a32a; }
.ccs-growth--down .ccs-growth-value { color: #d63638; }

.ccs-growth-label {
    display: block;
    font-size: 0.8125rem;
    color: #50575e;
    margin-top: 0.25rem;
}

.ccs-growth-detail {
    font-size: 0.9375rem;
    color: #646970;
    margin: 0;
}

/* ---- Baromètre de la communauté (V3) ---- */
.ccs-barometer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.ccs-barometer-item {
    background: #f6f7f9;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.ccs-barometer-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2271b1;
}

.ccs-barometer-label {
    display: block;
    font-size: 0.8125rem;
    color: #646970;
    margin-top: 0.25rem;
}

/* ---- Diversité des styles (V3) ---- */
.ccs-diversity-top3,
.ccs-diversity-share {
    margin: 0.5rem 0;
    font-size: 0.9375rem;
    color: #50575e;
}

/* ---- Saisonnalité (V3) ---- */
.ccs-seasonality-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-seasonality-item {
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    color: #50575e;
}

.ccs-seasonality-item::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #2271b1;
}

/* ---- Répartition géo : blocs / badges (V3) ---- */
.ccs-geo-zone-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ccs-geo-zone-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #f0f6fc;
    border: 1px solid #2271b1;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #1d2327;
}

.ccs-geo-zone-badge strong {
    margin-left: 0.25rem;
    color: #2271b1;
}

/* ---- Dernière mise à jour (public) ---- */
.ccs-public-computed {
    text-align: center;
    margin: 2rem 0 2.5rem;
}

/* ---- Graphiques Chart.js (variantes public / heatmap) ---- */
.ccs-chart-wrap {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 1.5rem;
    position: relative;
    min-height: 200px;
}

.ccs-chart-wrap canvas {
    max-height: 360px;
}

.ccs-charts-loaded .ccs-chart-fallback {
    display: none;
}

/* ---- Section marketing ---- */
.ccs-public-marketing {
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f0edf5 0%, #e8e4ef 100%);
    border-radius: 12px;
}

.ccs-public-marketing__title {
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    font-weight: 600;
    color: #1d2327;
    text-align: center;
}

.ccs-public-marketing__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 640px;
    margin: 0 auto;
}

.ccs-public-marketing__item {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #50575e;
}

.ccs-public-marketing__item::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #2271b1;
}

.ccs-public-marketing__item strong {
    color: #1d2327;
}

/* ============================================================
   Variante ORGANIZERS (V5) — Repères pour les organisateurs
   ============================================================ */

.ccs-variant-organizers {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 1rem 2rem;
}

.ccs-organizers-hero {
    text-align: center;
    padding: 2rem 1rem 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f0f4e8 0%, #e8efe0 100%);
    border-radius: 12px;
    border-left: 4px solid #2271b1;
}

.ccs-organizers-hero__title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: #1d2327;
}

.ccs-organizers-hero__intro {
    font-size: 1rem;
    line-height: 1.5;
    color: #50575e;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ccs-organizers-section {
    margin-bottom: 2.5rem;
}

.ccs-organizers-section__title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-organizers-section__intro {
    font-size: 0.9375rem;
    color: #50575e;
    margin: 0 0 1rem;
    line-height: 1.4;
}

/* Jours les plus actifs */
.ccs-days-activity-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ccs-days-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.ccs-days-activity-item:last-child {
    border-bottom: none;
}

.ccs-days-activity-name {
    color: #1d2327;
}

.ccs-days-activity-count {
    font-weight: 700;
    color: #2271b1;
}

.ccs-days-summary {
    margin-top: 1rem;
    padding: 1rem;
    background: #f6f7f9;
    border-radius: 8px;
}

.ccs-days-summary__line {
    margin: 0.25rem 0;
    font-size: 0.9375rem;
    color: #50575e;
}

/* Moments les plus actifs */
.ccs-moments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-moments-item {
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    color: #50575e;
}

.ccs-moments-item::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #2271b1;
}

/* Styles dominants selon les territoires */
.ccs-styles-territory-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.ccs-styles-territory-block {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
}

.ccs-styles-territory-region {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-styles-territory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-styles-territory-item {
    padding: 0.25rem 0;
    font-size: 0.9375rem;
    color: #50575e;
}

/* Lecture organisateur */
.ccs-organizer-reading-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-organizer-reading-item {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #50575e;
}

.ccs-organizer-reading-item::before {
    content: "— ";
    color: #2271b1;
}

.ccs-organizers-computed {
    text-align: center;
    margin: 2rem 0;
    font-size: 0.8125rem;
    color: #646970;
}

/* ============================================================
   Variante HEATMAP (V6) — Cartes de chaleur
   ============================================================ */

.ccs-variant-heatmap {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 1rem 2rem;
}

.ccs-heatmap-hero {
    text-align: center;
    padding: 2rem 1rem 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fef6e8 0%, #f8edd8 100%);
    border-radius: 12px;
    border-left: 4px solid #d63638;
}

.ccs-heatmap-hero__title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: #1d2327;
}

.ccs-heatmap-hero__intro {
    font-size: 1rem;
    line-height: 1.5;
    color: #50575e;
    margin: 0;
}

.ccs-heatmap-section {
    margin-bottom: 2.5rem;
}

.ccs-heatmap-section__title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #1d2327;
}

.ccs-heatmap-section__intro {
    font-size: 0.9375rem;
    color: #50575e;
    margin: 0 0 1rem;
}

/* Grille semaine (jours × créneaux) */
.ccs-heatmap-week-grid {
    display: grid;
    grid-template-columns: 100px repeat(4, 1fr);
    gap: 2px;
    max-width: 100%;
}

.ccs-heatmap-week-grid--days-only {
    grid-template-columns: 120px 1fr;
}

.ccs-heatmap-week-headers {
    display: contents;
}

.ccs-heatmap-week-headers .ccs-heatmap-week-corner {
    grid-column: 1;
}

.ccs-heatmap-week-headers .ccs-heatmap-week-col-header {
    font-size: 0.75rem;
    color: #646970;
    padding: 0.5rem;
    text-align: center;
}

.ccs-heatmap-week-row {
    display: contents;
}

.ccs-heatmap-week-row .ccs-heatmap-week-row-label,
.ccs-heatmap-week-row .ccs-heatmap-cell {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.ccs-heatmap-week-row .ccs-heatmap-week-row-label {
    justify-content: flex-start;
}

.ccs-heatmap-week-grid--days-only .ccs-heatmap-week-row .ccs-heatmap-week-row-label,
.ccs-heatmap-week-grid--days-only .ccs-heatmap-week-row .ccs-heatmap-cell {
    min-height: 2.25rem;
}

.ccs-heatmap-week-row-label {
    font-size: 0.875rem;
    color: #1d2327;
}

.ccs-heatmap-cell {
    border-radius: 4px;
    background: #f0f0f0;
    justify-content: center;
    font-size: 0.75rem;
    color: #1d2327;
}

.ccs-heatmap-cell--low {
    background: #e8f4e8;
    color: #1d2327;
}

.ccs-heatmap-cell--mid {
    background: #72b372;
    color: #fff;
}

.ccs-heatmap-cell--high {
    background: #2271b1;
    color: #fff;
}

/* En-têtes colonnes : font partie de la grille via display:contents */

/* Grille année (12 mois) */
.ccs-heatmap-year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.ccs-heatmap-year-cell {
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    background: #f0f0f0;
}

.ccs-heatmap-year-cell--low {
    background: #e8f4e8;
}

.ccs-heatmap-year-cell--mid {
    background: #72b372;
    color: #fff;
}

.ccs-heatmap-year-cell--high {
    background: #2271b1;
    color: #fff;
}

.ccs-heatmap-year-cell__name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
}

.ccs-heatmap-year-cell__count {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.ccs-heatmap-year-cell--mid .ccs-heatmap-year-cell__name,
.ccs-heatmap-year-cell--high .ccs-heatmap-year-cell__name,
.ccs-heatmap-year-cell--mid .ccs-heatmap-year-cell__count,
.ccs-heatmap-year-cell--high .ccs-heatmap-year-cell__count {
    color: #fff;
}

/* Pics d'activité */
.ccs-heatmap-peaks-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ccs-heatmap-peaks-item {
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    font-size: 0.9375rem;
    color: #50575e;
}

.ccs-heatmap-peaks-item::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: #d63638;
}

.ccs-heatmap-computed {
    text-align: center;
    margin: 2rem 0;
    font-size: 0.8125rem;
    color: #646970;
}
