/* SAMBA v2 - thème ABASM (Association de Billard Amateur de Saint-Maur) sur Bootstrap 5
 *
 * Couleurs tirées de l'identité du club : le fond bleu-vert du site, la craie bleue et la bille rouge du logo.
 * Police : Barlow (texte) et Barlow Semi Condensed (titres, chiffres), hébergées dans assets/fonts (licence OFL).
 */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url("fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
    /* identité ABASM */
    --abasm-teal: #0f4a54;        /* fond du site du club */
    --abasm-teal-fonce: #0a363d;
    --abasm-teal-clair: #e3eef0;
    --abasm-craie: #48abf9;       /* craie bleue du logo */
    --abasm-rouge: #d22323;       /* bille rouge */
    --abasm-ivoire: #f6f4ea;      /* bille blanche */
    --abasm-encre: #15292d;
    --abasm-fond: #edf2f3;
    --abasm-tapis: #136571;
    --abasm-titres: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

    /* Bootstrap */
    --bs-body-font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-color: var(--abasm-encre);
    --bs-body-color-rgb: 21, 41, 45;
    --bs-body-bg: var(--abasm-fond);
    --bs-tertiary-bg: var(--abasm-fond);
    --bs-secondary-color: #56696d;
    --bs-primary: var(--abasm-teal);
    --bs-primary-rgb: 15, 74, 84;
    --bs-primary-text-emphasis: var(--abasm-teal-fonce);
    --bs-primary-bg-subtle: var(--abasm-teal-clair);
    --bs-primary-border-subtle: #b6d0d4;
    --bs-danger: var(--abasm-rouge);
    --bs-danger-rgb: 210, 35, 35;
    --bs-link-color: #0e6170;
    --bs-link-color-rgb: 14, 97, 112;
    --bs-link-hover-color: var(--abasm-teal-fonce);
    --bs-link-hover-color-rgb: 10, 54, 61;
    --bs-border-color: #d0dcde;
    --bs-border-radius: .4rem;
    --bs-focus-ring-color: rgba(72, 171, 249, .45);
}

body {
    background: var(--abasm-fond);
    font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 {
    font-family: var(--abasm-titres);
    font-weight: 600;
    letter-spacing: -.005em;
    color: var(--abasm-teal-fonce);
}

/* Barre de navigation aux couleurs du club */
.samba-nav {
    background: var(--abasm-teal);
    padding-block: .35rem;
    border-bottom: 3px solid var(--abasm-craie);
}

.samba-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.samba-brand img {
    height: 38px;
    width: auto;
}

.samba-version {
    font-size: .7rem;
    font-weight: 600;
    color: var(--abasm-teal-fonce);
    background: var(--abasm-craie);
    border-radius: 1rem;
    padding: .05rem .4rem;
    text-decoration: none;
    white-space: nowrap;
}

a.samba-version:hover,
a.samba-version:focus-visible,
a.samba-version.active {
    color: var(--abasm-teal-fonce);
    background: #fff;
    text-decoration: underline;
}

.samba-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
}

.samba-nav .nav-link {
    --bs-nav-link-color: rgba(255, 255, 255, .8);
    --bs-navbar-nav-link-padding-x: .6rem;
    --bs-nav-link-hover-color: #fff;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

/* entre 1200 et 1400 px, menu un peu plus serré pour que toute la barre tienne sur une ligne */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .samba-nav .nav-link {
        --bs-navbar-nav-link-padding-x: .45rem;
    }
}

.samba-nav .navbar-nav .nav-link.active,
.samba-nav .navbar-nav .nav-link.show {
    color: #fff;
    border-bottom-color: var(--abasm-craie);
}

.samba-user {
    color: #fff;
    background: var(--abasm-teal-fonce);
    border: 1px solid rgba(255, 255, 255, .15);
}

.samba-user:hover,
.samba-user:focus,
.samba-user.show {
    color: #fff;
    background: #072a30;
}

/* Pied de page, collé en bas même sur une page courte */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
    padding-bottom: 3rem;
}

.samba-footer {
    background: var(--abasm-teal-fonce);
    color: rgba(255, 255, 255, .75);
    border-top: 3px solid var(--abasm-craie);
    padding: 1.25rem 0;
    font-size: .9rem;
}

.samba-footer-nom {
    font-family: var(--abasm-titres);
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
}

.samba-footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(72, 171, 249, .6);
}

.samba-footer a:hover {
    border-bottom-color: var(--abasm-craie);
}

/* Menus déroulants groupés (Paramétrage) : intitulés de groupe discrets, éléments en retrait */
.samba-menu-groupes .dropdown-header {
    font-family: var(--abasm-titres);
    font-weight: 600;
    font-size: .9rem;
    color: var(--abasm-teal);
    padding-top: .6rem;
}

.samba-menu-groupes .dropdown-header:first-of-type,
.samba-menu-groupes li:first-child .dropdown-header {
    padding-top: .25rem;
}

.samba-menu-groupes li + li .dropdown-header {
    border-top: 1px solid var(--bs-border-color);
    margin-top: .35rem;
}

.samba-menu-groupes .dropdown-item {
    padding-left: 1.5rem;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--abasm-teal);
}

/* Boutons */
.btn {
    font-weight: 500;
}

.btn-primary {
    --bs-btn-bg: var(--abasm-teal);
    --bs-btn-border-color: var(--abasm-teal);
    --bs-btn-hover-bg: var(--abasm-teal-fonce);
    --bs-btn-hover-border-color: var(--abasm-teal-fonce);
    --bs-btn-active-bg: #072a30;
    --bs-btn-active-border-color: #072a30;
    --bs-btn-disabled-bg: var(--abasm-teal);
    --bs-btn-disabled-border-color: var(--abasm-teal);
    --bs-btn-focus-shadow-rgb: 72, 171, 249;
}

.btn-outline-primary {
    --bs-btn-color: var(--abasm-teal);
    --bs-btn-disabled-color: #7f9da2;
    --bs-btn-disabled-border-color: #c3d4d7;
    --bs-btn-border-color: #8fb3b9;
    --bs-btn-hover-bg: var(--abasm-teal);
    --bs-btn-hover-border-color: var(--abasm-teal);
    --bs-btn-active-bg: var(--abasm-teal-fonce);
    --bs-btn-active-border-color: var(--abasm-teal-fonce);
    --bs-btn-focus-shadow-rgb: 72, 171, 249;
}

.btn-danger {
    --bs-btn-bg: var(--abasm-rouge);
    --bs-btn-border-color: var(--abasm-rouge);
    --bs-btn-hover-bg: #b01c1c;
    --bs-btn-hover-border-color: #b01c1c;
}

.btn-outline-danger {
    --bs-btn-color: #b01c1c;
    --bs-btn-border-color: #e49a9a;
    --bs-btn-hover-bg: var(--abasm-rouge);
    --bs-btn-hover-border-color: var(--abasm-rouge);
}

.btn-outline-secondary {
    --bs-btn-color: #3e5357;
    --bs-btn-border-color: #b9c8cb;
    --bs-btn-hover-color: var(--abasm-encre);
    --bs-btn-hover-bg: #dbe6e8;
    --bs-btn-hover-border-color: #b9c8cb;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--abasm-craie);
    box-shadow: 0 0 0 .2rem rgba(72, 171, 249, .3);
}

.form-check-input:checked {
    background-color: var(--abasm-teal);
    border-color: var(--abasm-teal);
}

:focus-visible {
    outline: 2px solid var(--abasm-craie);
    outline-offset: 2px;
}

/* Cartes et tableaux */
.card {
    --bs-card-border-color: var(--bs-border-color);
    --bs-card-cap-bg: #fff;
}

.table {
    --bs-table-hover-bg: rgba(15, 74, 84, .04);
}

.table > thead.table-light {
    --bs-table-bg: var(--abasm-teal-clair);
    --bs-table-color: var(--abasm-teal-fonce);
}

.table > thead th {
    font-weight: 600;
    border-bottom-color: #b6d0d4;
}

.table > tfoot.table-light {
    --bs-table-bg: #f3f7f8;
}

.nav-tabs .nav-link.active {
    color: var(--abasm-teal-fonce);
    font-weight: 600;
    border-top: 2px solid var(--abasm-craie);
}

.nav-tabs .nav-link {
    color: var(--bs-secondary-color);
}

.text-bg-primary {
    background-color: var(--abasm-teal) !important;
}

.alert-success {
    --bs-alert-bg: #e2f1ec;
    --bs-alert-border-color: #b5dccd;
    --bs-alert-color: #134a3a;
}

/* Achats : types d'articles en pastilles qui passent à la ligne (pas d'ascenseur) */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.categories .nav-link {
    color: var(--abasm-teal-fonce);
    background: var(--abasm-teal-clair);
    border: 1px solid transparent;
    border-radius: 2rem;
    padding: .35rem .85rem;
    font-weight: 500;
    line-height: 1.2;
}

.categories .nav-link:hover {
    border-color: #9fbfc4;
}

.categories .nav-link.active {
    color: #fff;
    background: var(--abasm-teal);
}

/* Accueil : billards à gauche, membres à droite (comme la v1) ; l'un sous l'autre sur petit écran */
.accueil {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .accueil {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* la salle : chaque billard vu de dessus, cliquable (libre : ouverture ; occupé : infos et fermeture) */
.salle {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
    gap: .9rem .75rem;
    padding: 1.35rem 1.1rem 1rem 1.5rem;
}

.billard {
    --tapis: #1f62a8;
    position: relative;
    display: block;
    aspect-ratio: 2 / 1;
    border: .32rem solid #3d2a1e;              /* bande en bois */
    border-radius: .45rem;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
}

.billard:hover {
    box-shadow: 0 0 0 3px var(--abasm-craie);
    transform: translateY(-1px);
}

.billard:focus-visible {
    outline: 3px solid var(--abasm-craie);
    outline-offset: 3px;
}

.billard-tapis {
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: var(--tapis);
    display: grid;
    place-items: center;
}

.billard.is-libre {
    border-color: #a3b0b3;
}

.billard.is-libre .billard-tapis {
    background: #d3dcde;
}

/* les six poches (billards américains et snooker ; le français n'en a pas) */
.billard-poches {
    position: absolute;
    inset: -.32rem;
    pointer-events: none;
    --p: #111;
    background:
        radial-gradient(circle at .3rem .3rem, var(--p) .26rem, transparent .28rem),
        radial-gradient(circle at calc(100% - .3rem) .3rem, var(--p) .26rem, transparent .28rem),
        radial-gradient(circle at .3rem calc(100% - .3rem), var(--p) .26rem, transparent .28rem),
        radial-gradient(circle at calc(100% - .3rem) calc(100% - .3rem), var(--p) .26rem, transparent .28rem),
        radial-gradient(circle at 50% .22rem, var(--p) .22rem, transparent .24rem),
        radial-gradient(circle at 50% calc(100% - .22rem), var(--p) .22rem, transparent .24rem);
}

.billard.is-libre .billard-poches {
    --p: #8b989b;
}

.billard-partie {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.billard-montant {
    font-size: .72rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.billard-duree {
    font-family: var(--abasm-titres);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* numéro du billard sur une bille, comme le logo : rouge si occupé, ivoire si libre */
.billard-bille {
    position: absolute;
    top: -.85rem;
    left: -.85rem;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, #fff 0, var(--abasm-ivoire) 45%, #cfcab4 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

.billard.is-occupe .billard-bille {
    background: radial-gradient(circle at 35% 30%, #ff6b6b 0, var(--abasm-rouge) 50%, #8c1212 100%);
}

.billard-bille span {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: grid;
    place-items: center;
    font-family: var(--abasm-titres);
    font-weight: 700;
    font-size: .7rem;
    line-height: 1;
}

.salle-legende {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.1rem;
    padding: 0 1.1rem .9rem;
    font-size: .8rem;
    color: var(--bs-secondary-color);
}

.salle-legende > span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.salle-pastille {
    display: inline-block;
    width: 1.1rem;
    height: .6rem;
    border-radius: 2px;
    border: 2px solid #3d2a1e;
    background: #1f62a8;
}

.salle-pastille.is-libre {
    background: #d3dcde;
    border-color: #a3b0b3;
}

@media (max-width: 575.98px) {
    .salle {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .8rem .6rem;
        padding: 1.2rem .9rem .9rem 1.3rem;
    }

    .billard-duree {
        font-size: .9rem;
    }

    .billard-montant {
        font-size: .65rem;
    }
}

/* membres : création d'un joueur (onglet « Tous ») */
.nouveau-joueur {
    border-top: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    padding: .85rem 1rem 1rem;
}

/* Tableaux triables */
th[data-sortable] {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

th[data-sortable]::after {
    content: " ↕";
    color: var(--bs-secondary-color);
    font-size: .75em;
}

th[aria-sort="ascending"]::after {
    content: " ↑";
    color: var(--bs-primary);
}

th[aria-sort="descending"]::after {
    content: " ↓";
    color: var(--bs-primary);
}

.tabular {
    font-variant-numeric: tabular-nums;
}

.etat-table td.tabular,
.etat-table tfoot td {
    font-size: .875rem;
    white-space: nowrap;
}

/* Ouverture : liste des joueurs disponibles */
.joueurs-liste {
    max-height: 26rem;
    overflow-y: auto;
}

details > summary {
    cursor: pointer;
    list-style-position: inside;
}

/* Accueil : listes de membres */
.membres-liste {
    max-height: 28rem;
    overflow-y: auto;
}

/* Environnements de test (variable SAMBA_ENVIRONNEMENT des fichiers docker-compose) : bandeau et barre de navigation
   d'une autre couleur, pour ne pas les confondre avec la production (v2 seulement). */
.env-test { --samba-env: #b02a37; }
.env-wsl { --samba-env: #c2410c; }     /* orange : poste de développement (WSL) */
.env-ubuntu { --samba-env: #6d28d9; }  /* violet : serveur de test Ubuntu */

.samba-env-bandeau {
    background: repeating-linear-gradient(-45deg, var(--samba-env), var(--samba-env) 14px, rgba(0, 0, 0, .18) 14px, rgba(0, 0, 0, .18) 28px), var(--samba-env);
    color: #fff;
    font-family: var(--abasm-titres);
    font-weight: 700;
    letter-spacing: .06em;
    text-align: center;
    text-transform: uppercase;
    padding: .3rem 1rem;
}

.env-test .samba-nav {
    background: var(--samba-env);
    border-bottom-color: rgba(255, 255, 255, .6);
}

/* Impression (bilans de journée, paiements) */
@media print {
    .navbar,
    .samba-env-bandeau,
    .no-print,
    .alert,
    .btn {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .card {
        border: 0 !important;
    }

    .table-responsive {
        overflow: visible !important;
    }

    .badge {
        border: 1px solid #999;
        color: #000 !important;
        background: none !important;
    }
}

/* Inventaire : tableau large, saisies compactes */
.inventaire-table input {
    width: 5rem;
    margin-left: auto;
}

.inventaire-table td.tabular {
    white-space: nowrap;
}

/* ----- Pilotage : tableau de bord et occupation des billards ----- */
.tdb-tuile-libelle {
    font-family: var(--abasm-titres);
    font-weight: 600;
    font-size: .9rem;
    color: var(--bs-secondary-color);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.tdb-tuile-valeur {
    font-family: var(--abasm-titres);
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.2;
    color: var(--abasm-teal-fonce);
}
.tdb-variation { font-weight: 600; white-space: nowrap; color: var(--bs-secondary-color); }
.tdb-variation.hausse { color: #1d7a46; }
.tdb-variation.baisse { color: var(--abasm-rouge); }

.tdb-graphique-cadre { overflow-x: auto; }
.tdb-graphique { display: block; width: 100%; min-width: 560px; height: auto; }
.tdb-graphique .tdb-n { fill: var(--abasm-teal); }
.tdb-graphique .tdb-n1 { fill: #9fc0c6; }
.tdb-graphique g:hover .tdb-n { fill: var(--abasm-teal-fonce); }
.tdb-graphique g:hover .tdb-n1 { fill: #7ea8af; }
.tdb-graphique .tdb-c { fill: var(--abasm-craie); }
.tdb-graphique .tdb-c1 { fill: #b5dbfb; }
.tdb-grille { stroke: var(--bs-border-color); stroke-width: 1; }
.tdb-axe { stroke: #9aaeb2; }
.tdb-texte { font-size: 12px; fill: var(--bs-secondary-color); font-family: var(--bs-body-font-family); }
.tdb-courant { fill: var(--abasm-teal-fonce); font-weight: 600; }
.tdb-legende { display: inline-block; width: .8rem; height: .8rem; border-radius: 2px; vertical-align: -1px; }
.tdb-legende.tdb-n { background: var(--abasm-teal); }
.tdb-legende.tdb-n1 { background: #9fc0c6; }
.tdb-legende.tdb-c { background: var(--abasm-craie); }
.tdb-legende.tdb-c1 { background: #b5dbfb; }

.occ-carte { border-collapse: separate; border-spacing: 0 3px; width: 100%; }
.occ-carte .occ-heure {
    font-weight: 500;
    font-size: .75rem;
    color: var(--bs-secondary-color);
    text-align: left;
    padding: 0 0 .15rem 3px;
    white-space: nowrap;
}
.occ-carte .occ-jour { padding: 0 .75rem 0 .75rem; white-space: nowrap; font-weight: 600; width: 1%; }
.occ-case {
    --i: 0;
    height: 2rem;
    min-width: 1.6rem;
    padding: 0 1px;
    font-size: .68rem;
    text-align: center;
    color: var(--abasm-encre);
    background-color: rgba(15, 74, 84, calc(var(--i) * .92 + .05));
}
.occ-case.occ-debut-heure { border-left: 2px solid #fff; }
.occ-case.occ-fort { color: #fff; }
.occ-pas-30 .occ-case { font-size: .8rem; }
.occ-pas-60 .occ-case { font-size: .95rem; }
.occ-case:hover { outline: 2px solid var(--abasm-rouge); outline-offset: -2px; }
.occ-echelle {
    display: inline-block;
    width: 8rem;
    height: .7rem;
    border-radius: 2px;
    background: linear-gradient(to right, rgba(15, 74, 84, .05), rgba(15, 74, 84, .97));
}
.occ-part {
    display: inline-block;
    width: 4rem;
    height: .45rem;
    margin-right: .4rem;
    background: var(--abasm-teal-clair);
    border-radius: 1rem;
    overflow: hidden;
    vertical-align: middle;
}
.occ-part > span { display: block; height: 100%; background: var(--abasm-teal); }
details > summary { cursor: pointer; }
.cot-case { width: 2.25rem; text-align: center; }

/* Niveau de droits exigé par la page (administrateurs seulement) : discret, en haut à droite, dans l'espace
   sous la barre de menu (marge négative : la page ne bouge pas) */
.samba-acces {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .3rem;
    height: 1.25rem;
    margin-top: -1.35rem;
    margin-bottom: .1rem;
    font-size: .75rem;
    line-height: 1;
    color: var(--bs-secondary-color);
    opacity: .8;
}

.samba-cadenas {
    vertical-align: -1px;
    opacity: .7;
}

/* Cases à cocher, boutons radio et interrupteurs : bordure plus marquée (peu visibles sur le fond gris-bleu) */
.form-check-input {
    border: 1.5px solid #6f8d93;
    background-color: #fff;
}

.form-check-input:hover:not(:disabled) {
    border-color: var(--abasm-teal);
}

.form-check-input:checked {
    background-color: var(--abasm-teal);
    border-color: var(--abasm-teal);
}

.form-check-input:focus {
    border-color: var(--abasm-teal);
    box-shadow: 0 0 0 .2rem rgba(15, 74, 84, .2);
}

.form-switch .form-check-input:not(:checked):not(:focus) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236f8d93'/%3e%3c/svg%3e");
}

/* Trésorerie : graphique du solde de fin de mois (réel puis projeté) */
.graphique-solde { --serie: #2b7fd0; display: block; max-width: 100%; height: auto; font-size: 12px; }
.graphique-solde .grille { stroke: #e3e9ea; stroke-width: 1; }
.graphique-solde .zero { stroke: #8a9a9d; stroke-width: 1; }
.graphique-solde .axe { fill: var(--bs-secondary-color); }
.graphique-solde .valeur { fill: var(--bs-body-color); font-weight: 600; }
.graphique-solde .reel, .graphique-solde .projete { fill: none; stroke: var(--serie); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.graphique-solde .projete { stroke-dasharray: 6 5; }
.graphique-solde .pt { fill: var(--serie); stroke: #fff; stroke-width: 2; }
.graphique-solde .pt-projete { fill: #fff; stroke: var(--serie); }
.graphique-solde .zone { fill: transparent; }
.graphique-solde .repere { stroke: #b9c6c8; stroke-width: 1; opacity: 0; }
.graphique-solde .bulle { opacity: 0; pointer-events: none; }
.graphique-solde .bulle rect { fill: #fff; stroke: #d0dcde; }
.graphique-solde .bulle text { fill: var(--bs-secondary-color); }
.graphique-solde .bulle .fort { fill: var(--bs-body-color); font-weight: 600; }
.graphique-solde .survol:hover .bulle, .graphique-solde .survol:focus .bulle,
.graphique-solde .survol:hover .repere, .graphique-solde .survol:focus .repere { opacity: 1; }
.graphique-solde .survol:focus { outline: none; }
.graphique-solde .survol:focus .zone { stroke: var(--bs-focus-ring-color); stroke-width: 2; }
