/* Discret, tout en conservant des boutons comparables et accessibles. */
#cc-main {
  --cc-font-family: Arial, sans-serif;
  --cc-bg: #fff;
  --cc-primary-color: #273343;
  --cc-secondary-color: #405069;
  --cc-btn-primary-bg: #37485d;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #37485d;
  --cc-btn-primary-hover-bg: #273343;
  --cc-btn-secondary-bg: #f1f3f5;
  --cc-btn-secondary-color: #273343;
  --cc-btn-secondary-border-color: #9aa7b3;
  --cc-modal-border-radius: 6px;
  --cc-btn-border-radius: 4px;
}
#cc-main .cm {
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}
#cc-main .cm__title { font-size: 1rem; }
#cc-main .cm__desc { font-size: .85rem; line-height: 1.35; }
#cc-main .cm__btn { font-size: .85rem; }

/* =====================================================
   Bandeau compact : disposition horizontale
   ===================================================== */

/* Bandeau compact : 3 boutons sur une ligne */
@media (min-width: 900px) {

    /* Espacement général */
    #cc-main .cm.cm--bar {
        padding: 0.5rem 1rem !important;
    }

    /* Réduction de la largeur du texte */
    #cc-main .cm__texts {
        max-width: 580px;
    }

    #cc-main .cm__title {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }

    #cc-main .cm__desc {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    /* Forcer trois colonnes */
    #cc-main .cm.cm--bar .cm__btns {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 450px !important;
        max-width: none !important;
        align-items: center;
    }

    /* Retirer les groupes intermédiaires
       de la disposition en grille */
    #cc-main .cm.cm--bar .cm__btn-group {
        display: contents !important;
    }

    /* Boutons compacts */
    #cc-main .cm.cm--bar .cm__btn {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0.65rem 0.5rem !important;
        font-size: 0.78rem;
        white-space: nowrap;
        box-sizing: border-box;
    }
}