/* The administration's back-office kit, for Collectifs & équipes, Club & salles and the edit
   drawer with its confirmations. Built on imports.css (gi-), licences.css (gl-) and the coach's
   tabs (gc-tabs); what the administration adds is prefixed ga-. The hat is slate #8E99AB. Every
   flexible column is minmax(0, Nfr), never 1fr. */

:root {
    --ga-slate: #8E99AB;
    --ga-slate-fg: #C3CBD6;
    --ga-yellow: #F0C030;
    --ga-blue: #34A4E0;
    --ga-green: #22C55E;
    --ga-red: #F06A75;
}

.ga-search {
    width: 268px;
    height: 44px;
}

.ga-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.ga-filter--on {
    border-color: rgba(142, 153, 171, 0.46);
    background: rgba(142, 153, 171, 0.16);
}

.ga-filter__label {
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.ga-filter select {
    align-self: stretch;
    border: 0;
    background: transparent;
    color: #fff;
    font: 600 13px/1 var(--body-font);
    color-scheme: dark;
    cursor: pointer;
}

.ga-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--dark-fg-3);
}

.ga-right {
    justify-self: end;
    text-align: right;
}

/* ── Tables ─────────────────────────────────────────────── */

.ga-table--teams {
    --gl-columns: minmax(0, 1.5fr) 112px minmax(0, 1.9fr) minmax(0, 1.1fr) 84px 26px;
}

.ga-table--pools {
    --gl-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 0.9fr) 96px 26px;
}

.ga-table--matches {
    --gl-columns: 112px minmax(0, 1.9fr) 96px 104px minmax(0, 1.2fr) 76px 64px;
}

.ga-table--teams .gl-table__foot,
.ga-table--matches .gl-table__foot {
    justify-content: space-between;
    flex-wrap: wrap;
}

.ga-row--cancelled {
    opacity: 0.55;
}

/* The forfeit of a match: a quiet action on a match to come, the pill itself on one given up. */
.ga-forfeit-link {
    margin-left: 8px;
    vertical-align: middle;
}

button.ga-forfeit-link:not(.gi-btn) {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.ga-team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.ga-team__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ga-team__name {
    font: 600 14px/1.3 var(--body-font);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-team__group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dark-fg-3);
    white-space: nowrap;
}

.ga-team--inline {
    gap: 8px;
}

.ga-team--inline .ga-crest {
    width: 26px;
    height: 26px;
}

.ga-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ga-dot, var(--ga-slate));
    flex-shrink: 0;
}

.ga-code {
    font: 700 14px/1 var(--font-mono);
    letter-spacing: 0.04em;
    color: #fff;
}

/* A field still to type: yellow, dashed (the "À saisir" fields). */
.ga-todo {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px dashed rgba(240, 192, 48, 0.5);
    border-radius: 6px;
    background: rgba(240, 192, 48, 0.1);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ga-yellow);
    white-space: nowrap;
}

.ga-warn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 600 13px/1.3 var(--body-font);
    color: var(--ga-yellow);
}

.ga-pool-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ga-pool-cell__name {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-pool-cell__group {
    font: 600 13px/1.3 var(--font-mono);
    color: var(--dark-fg-3);
}

.ga-paired {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    min-width: 0;
}

.ga-chevron {
    display: inline-flex;
    color: var(--dark-fg-3);
}

.ga-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.ga-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-fg-2);
    white-space: nowrap;
}

.ga-pages {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--dark-fg-3);
}

.ga-pages > span {
    margin-right: 6px;
    white-space: nowrap;
}

.ga-page {
    min-width: 44px;
    font-family: var(--font-mono);
}

.ga-page--on {
    border-color: rgba(142, 153, 171, 0.46);
    background: rgba(142, 153, 171, 0.2);
    color: #fff;
}

/* ── The crest: a team's short code in its block's colour ─ */

.ga-crest {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--ga-crest) 36%, transparent);
    border-radius: 5px;
    background: color-mix(in srgb, var(--ga-crest) 14%, transparent);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.02em;
    color: var(--ga-crest);
}

/* Four or five characters: the crest widens rather than shrinking its type under 12 px. */
.ga-crest--long {
    width: auto;
    min-width: 32px;
    padding: 0 5px;
}

.ga-crest--lg {
    width: 44px;
    height: 44px;
    font-size: 15px;
}

.ga-crest--lg.ga-crest--long {
    font-size: 12px;
}

.ga-pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 1px solid rgba(142, 153, 171, 0.42);
    border-radius: 5px;
    background: rgba(142, 153, 171, 0.16);
    color: var(--ga-slate);
}

/* ── Where a field comes from ─────────────────────────────── */

.ga-src {
    display: inline-flex;
    padding: 2px 5px;
    border: 1px solid rgba(52, 164, 224, 0.34);
    border-radius: 3px;
    background: rgba(52, 164, 224, 0.1);
    font: 600 12px/1 var(--font-mono);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ga-blue);
    white-space: nowrap;
    vertical-align: middle;
}

.ga-src--app {
    border-color: rgba(240, 192, 48, 0.38);
    background: rgba(240, 192, 48, 0.12);
    color: var(--ga-yellow);
}

/* ── Cards and read fields ──────────────────────────────── */

/* The cards stack what they hold 8 px apart: the administration's pages are laid out on that gap. */
.ga-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-card__title {
    margin: 0 0 14px;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.ga-identity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 14px;
}

.ga-team__name .gi-pill { margin-left: 8px; vertical-align: middle; }

.ga-reads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ga-read {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ga-read__label,
.ga-field__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font: 600 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

/* Says a field may be left empty, without shouting it louder than the field's own name. */
.ga-field__optional {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    opacity: 0.75;
}

.ga-read__value {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 500 14px/1.4 var(--body-font);
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Collectives tab ────────────────────────────────────── */

.ga-collectives-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ga-collectives {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ga-collective {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid var(--dark-border-1);
    border-left: 3px solid var(--ga-dot);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-collective__head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 4px;
}

.ga-collective__title {
    margin: 0;
    font: 700 13px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.ga-collective__count {
    margin-left: auto;
    font: 600 12px/1 var(--font-mono);
    color: var(--dark-fg-3);
}

.ga-squad {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 10px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
}

.ga-squad:hover {
    background: rgba(142, 153, 171, 0.1);
    color: #fff;
}

.ga-squad__name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-squad__meta {
    font-size: 12px;
    color: var(--dark-fg-3);
    white-space: nowrap;
}

/* ── The edit drawer ────────────────────────────────────── */

.ga-drawer__eyebrow {
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ga-slate);
}

.ga-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ga-field__help {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dark-fg-3);
}

.ga-field .gl-input:focus {
    border-color: var(--thonon-yellow);
}

.ga-input--code {
    font: 700 16px/1 var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ga-pools {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
}

/* A picked coach and the star of the team's head coach. */
.ga-pool-row {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
}

.ga-pool-row > .ga-pool { flex: 1; min-width: 0; }

.ga-pool {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.ga-pool:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

/* A paired team in the competition drawer: it opens the team's own drawer. */
.ga-team--link {
    padding: 4px 8px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.ga-team--link:hover,
.ga-team--link:focus-visible {
    border-color: rgba(240, 192, 48, 0.55);
}

.ga-pool--on {
    border-color: rgba(240, 192, 48, 0.55);
    background: rgba(240, 192, 48, 0.08);
}

.ga-pool--on .gc-check {
    border-color: var(--thonon-yellow);
    background: var(--thonon-yellow);
    color: var(--thonon-black);
}

.ga-pool__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ga-pool__name {
    font: 600 13.5px/1.3 var(--body-font);
}

.ga-pool__sub {
    font-size: 13px;
    color: var(--dark-fg-3);
}

.ga-pool__taken {
    color: var(--ga-yellow);
}

.ga-slot {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.1fr) 44px;
    grid-template-areas:
        "day start end kind remove"
        "label label label label label";
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.ga-slot .gl-input,
.ga-slot .gl-select {
    height: 44px;
    padding-left: 9px;
    font-size: 14px;
}

.ga-slot .gl-select {
    padding-right: 28px;
    background-position: right 9px center;
}

.ga-slot__label {
    grid-area: label;
}

.ga-slot-add {
    align-self: flex-start;
}

/* "Ce qui ne bouge pas": the blue band of the drawer. */
.ga-note-band {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid rgba(52, 164, 224, 0.32);
    border-radius: 6px;
    background: rgba(52, 164, 224, 0.08);
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark-fg-2);
}

.ga-note-band > svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ga-blue);
}

.ga-note-band__title {
    margin-bottom: 5px;
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ga-blue);
}

.ga-drawer__foot {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

.ga-drawer__foot .gi-btn {
    padding: 0 18px;
}

.ga-drawer__foot-note {
    font-size: 12px;
    color: var(--dark-fg-3);
}

/* ── Toasts ─────────────────────────────────────────────── */

.ga-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: min(404px, calc(100vw - 32px));
    padding: 12px 14px;
    border: 1px solid var(--dark-border-2);
    border-left: 3px solid var(--ga-green);
    border-radius: 6px;
    background: #191C22;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.44);
}

.ga-toast > svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ga-green);
}

.ga-toast--err {
    border-left-color: var(--ga-red);
}

.ga-toast--err > svg,
.ga-toast--err .ga-toast__title {
    color: var(--ga-red);
}

.ga-toast__body {
    flex: 1;
    min-width: 0;
}

.ga-toast__title {
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ga-green);
}

.ga-toast__text {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dark-fg-2);
}

/* ── Narrow screens: the administration is a desktop tool, but it stays readable ─ */

@media (max-width: 900px) {
    .ga-search {
        width: 100%;
    }

    .ga-identity,
    .ga-collectives {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga-table--teams {
        --gl-columns: minmax(0, 1.6fr) 84px minmax(0, 1.4fr) 22px;
    }

    .ga-table--teams .gl-table__head > :nth-child(4),
    .ga-table--teams .gl-table__head > :nth-child(5),
    .ga-table--teams .gl-row > :nth-child(4),
    .ga-table--teams .gl-row > :nth-child(5) {
        display: none;
    }

    .ga-table--matches {
        --gl-columns: 92px minmax(0, 1fr) 56px 52px;
    }

    .ga-table--matches .gl-table__head > :nth-child(2),
    .ga-table--matches .gl-table__head > :nth-child(3),
    .ga-table--matches .gl-table__head > :nth-child(4),
    .ga-table--matches .gl-row > :nth-child(2),
    .ga-table--matches .gl-row > :nth-child(3),
    .ga-table--matches .gl-row > :nth-child(4) {
        display: none;
    }

    /* Above the phone's dock. */
    .ga-toast {
        right: 16px;
        bottom: calc(96px + env(safe-area-inset-bottom));
    }
}

/* The licences kit swaps its rows for cards on a phone; the administration's tables have no cards,
   so their rows stay. */
@media (max-width: 900px) {
    [class*="ga-table--"] .gl-table__head,
    [class*="ga-table--"] .gl-row {
        display: grid;
    }

    [class*="ga-table--"] {
        border: 1px solid var(--dark-border-1);
        background: var(--thonon-night);
        gap: 0;
        overflow: hidden;
    }
}

/* ── The accounts ───────────────────────────────────────────── */

.ga-table--accounts {
    --gl-columns: minmax(0, 1.6fr) 90px minmax(0, 1.3fr) minmax(0, 1.1fr) 120px 110px;
}

.ga-dim { color: var(--dark-fg-3); }
.ga-strong { color: #fff; font-weight: 600; }
.ga-link { font-size: 12.5px; color: var(--ga-blue); }

.ga-empty-row {
    margin: 0;
    padding: 18px;
    font-size: 13.5px;
    color: var(--dark-fg-3);
}

.ga-count {
    margin-left: 8px;
    font: 700 15px/1 var(--font-display);
    letter-spacing: 0;
    color: var(--ga-yellow);
}

.ga-count--dim { color: var(--dark-fg-3); }

/* The four account states: active blue, waiting yellow, deactivated grey, refused red. */
.ga-st--pending { --ga-st: #F0C030; --ga-st-tint: rgba(240, 192, 48, 0.13); --ga-st-ring: rgba(240, 192, 48, 0.42); }
.ga-st--active { --ga-st: #34A4E0; --ga-st-tint: rgba(52, 164, 224, 0.14); --ga-st-ring: rgba(52, 164, 224, 0.42); }
.ga-st--off { --ga-st: #8E99AB; --ga-st-tint: rgba(142, 153, 171, 0.14); --ga-st-ring: rgba(142, 153, 171, 0.40); }
.ga-st--refused { --ga-st: #F02030; --ga-st-tint: rgba(240, 32, 48, 0.13); --ga-st-ring: rgba(240, 32, 48, 0.38); }

.ga-st {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    height: 24px;
    padding: 0 11px;
    border: 1px solid var(--ga-st-ring);
    border-radius: 999px;
    background: var(--ga-st-tint);
    color: var(--ga-st);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ga-st::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ga-st);
}

.ga-st--lg {
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
}

.ga-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid rgba(16, 128, 192, 0.5);
    border-radius: 50%;
    background: rgba(16, 128, 192, 0.16);
    color: #7CC6EE;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.04em;
}

.ga-avatar.ga-st--pending { border-color: var(--ga-st-ring); background: var(--ga-st-tint); color: var(--ga-st); }
.ga-avatar.ga-st--off,
.ga-avatar.ga-st--refused { border-color: var(--dark-border-2); background: rgba(255, 255, 255, 0.05); color: var(--dark-fg-2); }

.ga-roles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

/* A role's pill, by family: the committee violet, the coaching turquoise, player and parent
   neutral, the administrator outlined; a role the organigramme gives is dashed. */
.ga-role {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--thonon-graphite);
    color: var(--dark-fg-2);
    font: 800 12px/1 var(--font-condensed);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ga-role--com { background: rgba(165, 139, 232, 0.16); color: #A58BE8; }
.ga-role--coach { background: rgba(46, 196, 182, 0.14); color: #2EC4B6; }
.ga-role--adm { background: transparent; box-shadow: inset 0 0 0 1px var(--dark-border-2); }
.ga-role--org { outline: 1px dashed currentColor; outline-offset: -1px; }

.ga-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-fg-3);
}

.ga-reads--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ga-read--wide { margin-top: 14px; }
.ga-read--wide .ga-read__value { white-space: normal; }

.ga-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ga-card__head .ga-card__title { margin: 0; }
.ga-card .ga-note { margin-top: 12px; }

/* A block with a coloured edge (coach-kit C2Block): its head, its rows, its foot. */
.ga-block {
    --ga-block: var(--ga-slate);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dark-border-1);
    border-left: 3px solid var(--ga-block);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-block--info { --ga-block: var(--ga-blue); }
.ga-block--warn { --ga-block: var(--ga-yellow); }

.ga-block__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border-bottom: 1px solid var(--dark-border-1);
    color: #fff;
    font: 700 12.5px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ga-block__head > svg { color: var(--ga-block); }
.ga-block__head .ga-count { margin-left: 0; color: var(--ga-block); }

.ga-block__tag {
    padding: 5px 9px;
    border: 1px solid var(--dark-border-1);
    border-radius: 999px;
    color: var(--dark-fg-3);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.ga-block__body {
    margin: 0;
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--dark-fg-2);
}

.ga-block__rows { padding: 4px 16px; }

.ga-block__foot {
    margin: 0;
    padding: 11px 16px;
    border-top: 1px solid var(--dark-border-1);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--dark-fg-3);
}

.ga-block__actions {
    display: flex;
    justify-content: flex-end;
    padding: 0 16px 12px;
}

.ga-candidates {
    padding: 4px 16px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ga-candidate + .ga-candidate { border-top: 1px solid var(--dark-border-1); }

.ga-candidate input {
    margin-top: 6px;
    accent-color: var(--thonon-yellow);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ga-candidate__licences {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.ga-licence-line {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 96px 148px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13.5px;
}

.ga-licence-line__who {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ga-licence-line__who .ga-dim { font-size: 12px; }

.ga-linked {
    display: grid;
    grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #fff;
    font-size: 13.5px;
    text-decoration: none;
}

.ga-linked + .ga-linked { border-top: 1px solid var(--dark-border-1); }
.ga-linked:hover { color: #fff; background: rgba(255, 255, 255, 0.02); }

.ga-rail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.ga-btn--full {
    width: 100%;
    height: 48px;
}

/* The confirmation: an icon, a condensed title, what stays, two buttons. */
.ga-confirm { width: min(560px, calc(100vw - 32px)); }

.ga-confirm__body {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
}

.ga-confirm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 1px solid rgba(240, 32, 48, 0.4);
    border-radius: 8px;
    background: rgba(240, 32, 48, 0.12);
    color: var(--ga-red);
}

.ga-confirm__icon--neutral {
    border-color: var(--dark-border-2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-fg-2);
}

.ga-confirm__title {
    margin: 2px 0 10px;
    font: 700 19px/1.15 var(--font-condensed);
    text-transform: uppercase;
    color: #fff;
}

.ga-confirm__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-fg-2);
}

.ga-confirm__text strong { color: #fff; }

.ga-confirm__foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--dark-border-1);
}

@media (max-width: 900px) {
    .ga-reads--3,
    .ga-licence-line {
        grid-template-columns: minmax(0, 1fr);
    }
}

.ga-licence-line .gi-mono,
.ga-linked .gi-mono {
    white-space: nowrap;
}

.ga-linked--licence {
    grid-template-columns: 32px minmax(0, 1.2fr) minmax(0, 0.7fr) auto auto 16px;
}

.ga-band-action {
    display: flex;
    margin-top: 10px;
}

/* ── The reference kit: the league's clubs ────────────────────── */

.ga-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.ga-toolbar .ga-search { flex: 0 1 320px; }

.ga-toolbar__count {
    margin-left: auto;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.ga-table--clubs {
    --gl-columns: 96px minmax(0, 1.9fr) minmax(0, 1.9fr) 120px 26px;
}

.ga-table--clubs .gl-table__foot {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ga-table--clubs .ga-team { gap: 10px; }
.ga-table--clubs .ga-avatar { width: 32px; height: 32px; font-size: 12px; }
.ga-table--clubs .gl-cell .ga-more { margin-left: 8px; }

.ga-avatar--us {
    border-color: rgba(240, 192, 48, 0.55);
    background: rgba(240, 192, 48, 0.14);
    color: var(--ga-yellow);
}

.ga-us {
    flex-shrink: 0;
    padding: 4px 8px;
    border: 1px solid rgba(240, 192, 48, 0.5);
    border-radius: 999px;
    background: rgba(240, 192, 48, 0.12);
    color: var(--ga-yellow);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ga-hall-line,
.ga-use-line {
    display: grid;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 0;
    font-size: 13.5px;
}

.ga-hall-line { grid-template-columns: 28px minmax(0, 1fr) auto; }
.ga-use-line { grid-template-columns: 150px 80px minmax(0, 1fr); }

.ga-hall-line + .ga-hall-line,
.ga-use-line + .ga-use-line { border-top: 1px solid var(--dark-border-1); }

.ga-hall-line .ga-team__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ga-carries {
    padding: 13px 16px;
    border: 1px dashed var(--dark-border-2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.012);
}

.ga-carries .ga-card__title { margin-bottom: 11px; }
.ga-carries .ga-note { margin-top: 11px; }

.ga-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 4px;
    object-fit: contain;
}

.ga-logo--lg { width: 56px; height: 56px; border-radius: 8px; }

.ga-logo-pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

@media (max-width: 900px) {
    .ga-toolbar .ga-search { flex-basis: 100%; }
    .ga-toolbar__count { margin-left: 0; }

    .ga-table--clubs {
        --gl-columns: 74px minmax(0, 1fr) 18px;
    }

    .ga-table--clubs .gl-table__head > :nth-child(3),
    .ga-table--clubs .gl-table__head > :nth-child(4),
    .ga-table--clubs .gl-row > :nth-child(3),
    .ga-table--clubs .gl-row > :nth-child(4) {
        display: none;
    }

    .ga-use-line { grid-template-columns: minmax(0, 1fr) auto; }
    .ga-use-line > :last-child { grid-column: 1 / -1; }
}

/* ── Monitoring and the calls audit ───────────────────────────── */

.ga-read__value--wrap { white-space: normal; line-height: 1.45; }

.ga-run {
    --ga-run: var(--thonon-blue-bright);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 0;
}

.ga-run + .ga-run { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ga-run--ko { --ga-run: #F02030; }
.ga-run--wait { --ga-run: var(--ga-yellow); }

.ga-run__dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--ga-run);
}

.ga-run__text { flex: 1; min-width: 0; }

.ga-run__when {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    color: #fff;
}

.ga-run__volume {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--dark-fg-2);
    overflow-wrap: anywhere;
}

.ga-run--ko .ga-run__volume { color: var(--ga-red); }

.ga-table--sends {
    --gl-columns: 112px minmax(0, 2.2fr) minmax(0, 1fr) 90px 70px 26px;
}

.ga-table--sends .gl-table__foot {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ga-send-line {
    display: grid;
    grid-template-columns: 112px minmax(0, 1.2fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 6px 0;
    font-size: 13px;
}

.ga-send-line + .ga-send-line { border-top: 1px solid var(--dark-border-1); }

.ga-audit {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ga-audit__player {
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-audit__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 13.5px;
    list-style: none;
}

.ga-audit__summary::-webkit-details-marker { display: none; }
.ga-audit__player[open] .ga-audit__summary { border-bottom: 1px solid var(--dark-border-1); }

.ga-audit__standing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.ga-answer {
    --ga-answer: var(--ga-slate);
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--ga-answer) 45%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--ga-answer) 13%, transparent);
    color: color-mix(in srgb, var(--ga-answer) 75%, #fff);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ga-answer--yes { --ga-answer: var(--thonon-blue-bright); }
.ga-answer--no { --ga-answer: #F02030; }

.ga-audit__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 12px 16px 14px;
}

.ga-audit__title {
    margin: 0 0 8px;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

/* When and what on the first row, then who, to whom and why under it. */
.ga-audit__line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    gap: 6px 10px;
    padding: 8px 0;
    font-size: 12.5px;
}

.ga-audit__line + .ga-audit__line { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ga-audit__line > :last-child { grid-column: 2; overflow-wrap: anywhere; }

/* ── The AI calls audit ─────────────────────────────────────
   Whether the AI providers answer, the calls as rows, and one call's texts as they left and came back. */

.ga-reach {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
    font-size: 13px;
}

.ga-reach__text { color: #fff; overflow-wrap: anywhere; }

/* The invoices no reader knew: a sample each, for the next reader. */
.ga-unread {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid var(--dark-border-1);
    border-left: 3px solid var(--thonon-yellow);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-unread__head { display: flex; align-items: center; gap: 8px; color: var(--thonon-yellow); }
.ga-unread__title { margin: 0; font: 700 13px/1 var(--font-condensed); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.ga-unread__count { font-size: 12px; color: var(--dark-fg-3); }
.ga-unread__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }

.ga-unread__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--dark-border-1);
    font-size: 13px;
}

.ga-unread__row .ga-st { flex-shrink: 0; }
.ga-unread__who { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ga-unread__who a { color: #fff; }
.ga-unread__why { font-size: 12px; color: var(--dark-fg-3); overflow-wrap: anywhere; }
.ga-unread__meta { font-size: 12px; color: var(--dark-fg-3); }
.ga-unread__actions { display: flex; flex-shrink: 0; gap: 6px; }

@media (max-width: 699px) {
    .ga-unread__row { flex-wrap: wrap; }
    .ga-unread__actions { width: 100%; justify-content: flex-end; }
}

.ga-reach__when { font-size: 12px; color: var(--dark-fg-3); }
.ga-reach__action { margin-left: auto; }

.ga-table--ai {
    --gl-columns: 112px minmax(0, 2.2fr) minmax(0, 1fr) 78px 110px 118px 26px;
}

.ga-table--ai .gl-table__foot {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ga-reads--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ga-ai-head {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-wrap { overflow-wrap: anywhere; white-space: pre-wrap; }

.ga-text {
    margin-top: 12px;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: var(--thonon-night);
}

.ga-text__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 12.5px;
    list-style: none;
}

.ga-text__head::-webkit-details-marker { display: none; }
.ga-text[open] .ga-text__head { border-bottom: 1px solid var(--dark-border-1); }

.ga-text__title {
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.ga-text__body {
    max-height: 480px;
    margin: 0;
    padding: 12px 16px 14px;
    overflow: auto;
    font: 12px/1.55 var(--font-mono);
    color: var(--dark-fg-2);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

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

    .ga-table--sends {
        --gl-columns: 92px minmax(0, 1fr) 18px;
    }

    .ga-table--sends .gl-table__head > :nth-child(3),
    .ga-table--sends .gl-table__head > :nth-child(4),
    .ga-table--sends .gl-table__head > :nth-child(5),
    .ga-table--sends .gl-row > :nth-child(3),
    .ga-table--sends .gl-row > :nth-child(4),
    .ga-table--sends .gl-row > :nth-child(5) {
        display: none;
    }

    .ga-table--ai {
        --gl-columns: 112px minmax(0, 1fr) auto 18px;
    }

    .ga-table--ai .ga-team__group {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ga-table--ai .gl-table__head > :nth-child(3),
    .ga-table--ai .gl-table__head > :nth-child(4),
    .ga-table--ai .gl-table__head > :nth-child(5),
    .ga-table--ai .gl-row > :nth-child(3),
    .ga-table--ai .gl-row > :nth-child(4),
    .ga-table--ai .gl-row > :nth-child(5) {
        display: none;
    }

    .ga-reads--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ga-reach__action { margin-left: 0; }

    .ga-send-line { grid-template-columns: minmax(0, 1fr) auto; }
    .ga-send-line > :nth-child(3) { display: none; }
    .ga-audit__summary { grid-template-columns: minmax(0, 1fr); }
    .ga-audit__line { grid-template-columns: 92px minmax(0, 1fr); }
}

/* ── Données de référence ──────────────────────────────────
   Seasons, categories, age rules, the engine's values, the treasury's lists: tabs of one screen. */

.ga-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ga-note--end { margin-top: auto; }

.ga-code-cell {
    font: 700 14px/1 var(--font-mono);
    color: #fff;
    white-space: nowrap;
}

/* A button that is a whole table row: the row's look, the button's behaviour. */
.ga-row-button {
    width: 100%;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: var(--dark-border-1);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.ga-row-button:hover { background: rgba(142, 153, 171, 0.08); }

.ga-row--off { opacity: 0.55; }

.ga-row-actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 6px;
}

.ga-field-pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.ga-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    font-size: 13px;
    color: var(--dark-fg-2);
    cursor: pointer;
}

.ga-check input { accent-color: var(--thonon-yellow); width: 20px; height: 20px; flex-shrink: 0; }

.ga-bands {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

/* Seasons */
.ga-table--seasons {
    --gl-columns: 90px 110px 110px minmax(0, 1fr) 90px 90px auto;
}

.ga-table--seasons .gl-row { min-height: 60px; }

.ga-season__name {
    font: 700 16px/1 var(--font-mono);
    color: #fff;
}

/* The rules a new season takes, before → after. */
.ga-rules-copy {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    overflow: hidden;
}

.ga-rules-copy__row {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 24px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.02);
}

.ga-rules-copy__row + .ga-rules-copy__row { border-top: 1px solid var(--dark-border-1); }
.ga-rules-copy__code { font-weight: 600; color: #fff; }
.ga-rules-copy__was { font: 500 15px/1 var(--font-mono); color: var(--dark-fg-2); }
.ga-rules-copy__now { font: 500 15px/1 var(--font-mono); color: var(--ga-blue); }

/* Categories */
.ga-table--categories {
    --gl-columns: 90px minmax(0, 1.1fr) 150px 104px minmax(0, 1.4fr) 18px;
}

.ga-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

/* Age rules: one column per season. */
.ga-table--rules {
    --ga-seasons: 3;
    --gl-columns: minmax(0, 1.3fr) repeat(var(--ga-seasons), minmax(0, 1fr)) 18px;
}

.ga-rule-name {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
}

.ga-rule-name .ga-code-cell { min-width: 48px; font-size: 13px; }

.ga-years {
    font: 600 12px/1 var(--font-mono);
    color: var(--dark-fg-2);
    white-space: nowrap;
}

/* A rule's fee, after its years; the leisure squads' row is not a button. */
.ga-fee { margin-left: 8px; font: 600 12px/1 var(--font-mono); color: var(--thonon-yellow); white-space: nowrap; }
.ga-row-static { cursor: default; }
.ga-fees-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.ga-fees-bar__label { font: 700 12px/1 var(--font-condensed); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-fg-3); margin-right: 4px; }
/* A line of the « Cotisations » drawer: three fees, then the ball. */
.ga-fee-rule { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--dark-border-1); }
.ga-fee-rule__head { display: flex; align-items: baseline; gap: 10px; }
.ga-fee-rule__amounts, .ga-fee-rule__ball { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ga-fee-rule__amounts[hidden] { display: none; }
.ga-fee-rule__amount { display: flex; align-items: center; gap: 4px; }
.ga-fee-rule__amount input { width: 100%; min-width: 0; }
.ga-fee-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--dark-border-1); }
.ga-fee-line__name { display: inline-flex; align-items: baseline; gap: 10px; min-width: 0; }
.ga-fee-line__amount { display: inline-flex; align-items: center; gap: 6px; }
.ga-fee-line__amount input { width: 120px; }

.ga-years--default {
    display: inline-block;
    padding: 7px 9px;
    border: 1px solid rgba(240, 192, 48, 0.28);
    border-radius: 5px;
    background: rgba(240, 192, 48, 0.07);
    font-weight: 700;
    color: #fff;
}

.ga-table--rules .gl-table__foot,
.ga-table--codes .gl-table__foot,
.ga-table--categories .gl-table__foot {
    justify-content: space-between;
    gap: 12px;
}

.ga-table--categories .gl-table__foot { justify-content: flex-end; }

.ga-rule-season {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dark-border-1);
}

.ga-rule-season:last-of-type { border-bottom: 0; }

.ga-rule-season__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
}

/* Parameters: cards of values, each with the screen it applies on. The cards flow in
   columns, so a short one leaves no hole under it; one column when the screen is narrow. */
.ga-params {
    columns: 2 360px;
    column-gap: 12px;
}

.ga-params__group {
    break-inside: avoid;
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
}

.ga-params__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--dark-border-1);
    background: rgba(255, 255, 255, 0.015);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.ga-param {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px 14px;
}

.ga-param + .ga-param { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ga-param__where > svg { flex-shrink: 0; }
.ga-param__label { font-weight: 600; font-size: 13.5px; color: #fff; }

.ga-param__where {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-fg-2);
}

/* The measure in the kit's mono, read at a glance; what it counts from, small, under it. */
.ga-param__value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.ga-param__measure {
    padding: 5px 9px;
    border: 1px solid rgba(240, 192, 48, 0.28);
    border-radius: 5px;
    background: rgba(240, 192, 48, 0.07);
    font: 700 13px/1 var(--font-mono);
    color: #fff;
    white-space: nowrap;
}

.ga-param__detail {
    font-size: 12px;
    color: var(--dark-fg-3);
    white-space: nowrap;
}

.ga-param__detail--alone {
    max-width: 220px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark-fg-2);
    white-space: normal;
    text-wrap: balance;
}

/* The treasury's category lists */
.ga-table--codes {
    --gl-columns: 150px minmax(0, 1.6fr) 70px 110px 200px;
}

/* One column more than the others: the category's account in the plan comptable. */
.ga-table--codes-detail {
    --gl-columns: 150px minmax(0, 1.4fr) minmax(0, 1.2fr) 90px 70px 110px 200px;
}

@media (max-width: 900px) {
    /* The administration keeps its tabs on a phone: they scroll sideways. */
    .ga .gc-tabs {
        display: flex;
        padding: 0 16px;
    }

    .ga-bands,
    .ga-field-pair { grid-template-columns: minmax(0, 1fr); }

    .ga-params { columns: 1; }
    .ga-param__detail { max-width: 110px; white-space: normal; }

    /* A phone reads a season's name, state and figures; its dates and its button go. */
    .ga-table--seasons { --gl-columns: 72px minmax(0, 1fr) 56px 56px; }

    .ga-table--seasons .gl-table__head > :nth-child(2),
    .ga-table--seasons .gl-table__head > :nth-child(3),
    .ga-table--seasons .gl-table__head > :nth-child(7),
    .ga-table--seasons .gl-row > :nth-child(2),
    .ga-table--seasons .gl-row > :nth-child(3),
    .ga-table--seasons .gl-row > :nth-child(7) {
        display: none;
    }

    .ga-table--categories { --gl-columns: 56px minmax(0, 1fr) 18px; }

    .ga-table--categories .gl-table__head > :nth-child(2),
    .ga-table--categories .gl-table__head > :nth-child(4),
    .ga-table--categories .gl-table__head > :nth-child(5),
    .ga-table--categories .gl-row > :nth-child(2),
    .ga-table--categories .gl-row > :nth-child(4),
    .ga-table--categories .gl-row > :nth-child(5) {
        display: none;
    }

    /* A phone reads the rules of the default season; the drawer holds the others. */
    .ga-table--rules { --gl-columns: minmax(0, 1fr) auto 18px; }

    .ga-table--rules .ga-rule-name .ga-dim { display: none; }

    .ga-table--rules .gl-table__head > [role="columnheader"]:not(:first-child):not(.ga-cell--default),
    .ga-table--rules .gl-row > [role="cell"]:not(:first-child):not(.ga-cell--default) {
        display: none;
    }

    .ga-table--codes,
    .ga-table--codes-detail { --gl-columns: minmax(0, 1fr) auto; }

    .ga-table--codes .gl-table__head,
    .ga-table--codes .gl-row > :nth-child(1),
    .ga-table--codes .gl-row > [role="cell"]:not(.ga-strong):not(.ga-row-actions) {
        display: none;
    }
}

/* ── Collectifs ─────────────────────────────────────────────
   The Collectifs tab as a table, and a squad's page: its roster, its staff, its teams. */

/* The tab bar's filter and button stay on one line, whatever the width. */
.gc-tabs .ga-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
}

.ga-table--squads {
    --gl-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) 64px minmax(0, 1.6fr) 72px;
}

.ga-unengaged {
    margin-left: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ga-yellow);
}

.ga-section-title {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    font: 700 13px/1 var(--font-condensed);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.ga-section-title__count {
    font: 400 18px/1 var(--font-display);
    letter-spacing: 0;
    color: var(--thonon-yellow);
}

.ga-roster {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 14px;
}


.ga-person__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ga-person__name {
    overflow: hidden;
    font-weight: 600;
    font-size: 13.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-person__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--dark-fg-3);
}

/* The star of the head coach: listed first wherever the staff is read. */
.ga-star--on,
.ga-star--on:hover { color: var(--ga-yellow); }

/* A player or a member: neutral. A coach in the coach's turquoise. */
.ga-avatar--player {
    border-color: var(--dark-border-2);
    background: var(--thonon-graphite);
    color: var(--dark-fg-1);
}

.ga-avatar--coach {
    border-color: rgba(46, 196, 182, 0.4);
    background: rgba(46, 196, 182, 0.14);
    color: #2EC4B6;
}

/* « Dans sa catégorie » / « Surclassée » / « Hors catégorie » (x10-atomes XKat). */
.ga-fit {
    flex-shrink: 0;
    padding: 4px 9px;
    border: 1px solid;
    border-radius: 999px;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ga-fit--in { border-color: rgba(34, 197, 94, 0.36); background: rgba(34, 197, 94, 0.12); color: var(--ga-green); }
.ga-fit--up { border-color: rgba(52, 164, 224, 0.38); background: rgba(52, 164, 224, 0.12); color: var(--ga-blue); }
.ga-fit--out { border-color: rgba(240, 192, 48, 0.4); background: rgba(240, 192, 48, 0.12); color: var(--ga-yellow); }

/* A leisure licence, on a leisure squad's roster and candidates. */
.ga-fit--leisure { border-color: rgba(142, 153, 171, 0.4); background: rgba(142, 153, 171, 0.12); color: var(--ga-slate); }

.ga-link,
.ga-go {
    font-weight: 600;
    color: var(--dark-fg-2);
    text-decoration: none;
}

.ga-link { margin-left: 6px; color: var(--ga-blue); }

.ga-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-size: 13px;
}

.ga-go:hover,
.ga-link:hover { color: #fff; }

.ga-candidate {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 11px;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.ga-candidate--on { border-color: rgba(240, 192, 48, 0.55); background: rgba(240, 192, 48, 0.06); }

/* The link of an account: a suggestion or a person picked by hand, and the search that finds them. */
.ga-candidate__tag { flex-shrink: 0; font: 700 12px/1 var(--font-condensed); text-transform: uppercase; }
.ga-candidate__name { padding: 6px 0 2px; font-size: 13.5px; }
.ga-candidate__taken { padding: 2px 0 6px; font-size: 12.5px; color: var(--ga-yellow); }

.ga-candidate--found {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
}

.ga-candidate--found:hover:not(:disabled) { border-color: rgba(240, 192, 48, 0.55); }
.ga-candidate--found:disabled { cursor: not-allowed; opacity: 0.6; }

.ga-card > .ga-reads + .ga-read { margin-top: 14px; }

.ga .gi-rail .ga-card + .ga-card,
.ga .gi-rail .ga-card + .gi-band { margin-top: 12px; }

@media (max-width: 1200px) {
    .ga-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

    /* The tab bar's filter and button stay on one line, whatever the width. */
.gc-tabs .ga-actions {
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
}

.ga-table--squads { --gl-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) 56px; }

    .ga-table--squads .gl-table__head > :nth-child(3),
    .ga-table--squads .gl-table__head > :nth-child(4),
    .ga-table--squads .gl-row > :nth-child(3),
    .ga-table--squads .gl-row > :nth-child(4) {
        display: none;
    }
}

/* ── Compétitions, Rencontres, Ententes ── */

.ga-hidden { display: none; }

.ga-field__error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ga-red);
}

.ga-pool__free { color: var(--ga-blue); }

/* A free pool paired from its own drawer: pick the team, its drawer opens with the pool ticked. */
.ga-pair {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ga-pair .gl-select { flex: 1; min-width: 0; }

.ga-chips-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ga-chips-bar__end { margin-left: auto; }

.ga-chip-filter {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--dark-border-1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font: 700 14px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark-fg-2);
    cursor: pointer;
}

.ga-chip-filter--on {
    border-color: rgba(142, 153, 171, 0.5);
    background: rgba(142, 153, 171, 0.18);
    color: #fff;
}

.ga-chip-filter--warn { color: var(--ga-yellow); }
.ga-chip-filter--warn.ga-chip-filter--on { border-color: rgba(240, 192, 48, 0.5); background: rgba(240, 192, 48, 0.12); }

.ga-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ga-date__sub { font-size: 13px; color: var(--dark-fg-3); }

.ga-venue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-fg-2);
}

.ga-venue > svg { color: var(--dark-fg-3); }
.ga-venue--home { color: #fff; }
.ga-venue--home > svg { color: var(--thonon-yellow); }

.ga-score { font-weight: 700; color: #fff; }

.ga-table--ententes {
    --gl-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) minmax(0, 0.8fr) 96px 18px;
}

.ga-entente-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid rgba(142, 153, 171, 0.42);
    border-radius: 5px;
    background: rgba(142, 153, 171, 0.16);
    color: var(--ga-slate);
}

.ga-textarea {
    height: auto;
    min-height: 96px;
    padding-top: 9px;
    resize: vertical;
    font: 500 13px/1.45 var(--font-mono);
}

.ga-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ga-selected__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 4px 4px 10px;
    border: 1px solid rgba(142, 153, 171, 0.42);
    border-radius: 999px;
    background: rgba(142, 153, 171, 0.14);
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
}

.ga-selected__item .gl-icon-button { width: 22px; height: 22px; }
.ga-search--wide { width: 100%; }

/* Clubs an entente's match sheets show, to add or to ignore. */
.ga-seen {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ga-seen__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(142, 153, 171, 0.42);
    border-radius: 10px;
}

.ga-seen__club { display: grid; gap: 2px; min-width: 0; }
.ga-seen__name { font-weight: 600; font-size: 13px; overflow-wrap: anywhere; }
.ga-seen__meta { font-size: 12px; }

.ga-merge__actions { display: flex; gap: 6px; }
.ga-candidates-list { margin-top: 10px; }

@media (max-width: 900px) {
    .ga-table--ententes { --gl-columns: minmax(0, 1fr) 56px 18px; }

    .ga-table--ententes .gl-table__head > :nth-child(2),
    .ga-table--ententes .gl-table__head > :nth-child(3),
    .ga-table--ententes .gl-row > :nth-child(2),
    .ga-table--ententes .gl-row > :nth-child(3) {
        display: none;
    }

    .ga-chips-bar__end { margin-left: 0; }
}

.gl-drawer .ga-reads--3 .ga-read__value { white-space: normal; }

/* Monitoring · a treatment's drawer: its last readings, competition by competition. */
.gl-drawer.ga-drawer--wide { width: min(540px, 100vw); }

.ga-reads-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dark-border-1);
    border-radius: 6px;
    overflow: hidden;
}

.ga-reads-list__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px 44px;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 12.5px;
}

.ga-reads-list__row + .ga-reads-list__row { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ga-reads-list__row:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.ga-reads-list__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; }
.ga-reads-list__rank { font-weight: 700; text-align: right; color: #fff; }

/* Rencontres: a played match's sheet at a glance — its PDF kept, then its import. */
.ga-center { text-align: center; }

.ga-sheet {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ga-sheet__icon { display: inline-flex; color: var(--dark-fg-3); }
.ga-sheet__icon--on { color: var(--dark-fg-1, #fff); }
.ga-sheet__icon--ok { color: var(--gi-ok); }
.ga-sheet__icon--warn { color: var(--gi-warn); }
.ga-sheet__icon--running { color: var(--gi-info); animation: ga-sheet-spin 1.2s linear infinite; }

@keyframes ga-sheet-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .ga-sheet__icon--running { animation: none; }
}

.ga-sheet-gaps { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 12px; }
.ga-read__value--warn { color: var(--ga-yellow); }

/* ── Entraînements: the squads' series ── */
/* The week's former chip: the categories' directory pill (CategoriesPanel) still reads this rule. */
.ga-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 5px 7px;
    /* The hall's colour, set on its row; the club's green for a hall without one. */
    border: 1px solid color-mix(in srgb, var(--hall-c, #22C55E) 35%, transparent);
    border-left: 3px solid var(--hall-c, var(--ga-green));
    border-radius: 4px;
    background: color-mix(in srgb, var(--hall-c, #22C55E) 8%, transparent);
    color: #fff;
    text-align: left;
    font: inherit;
    /* The directory's pill shares this class name: its capitals and spacing must not reach the week. */
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    cursor: pointer;
}

.ga-chip:hover,
.ga-chip:focus-visible {
    background: color-mix(in srgb, var(--hall-c, #22C55E) 16%, transparent);
}

.ga-plan-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ga-plan-head__filter {
    margin-left: auto;
    min-width: 220px;
}

.ga-plan-squad {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
}

.ga-plan-squad__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.ga-plan-squad__name {
    font: 800 20px/1.1 var(--font-condensed);
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 900px) {
    .ga-plan-head__filter {
        margin-left: 0;
        width: 100%;
    }

    .ga-plan-squad {
        padding: 14px;
    }
}

/* ── The organigramme's administration (docs/organigramme.md) ── */
.ga-org-order, .ga-org-tools { display: inline-flex; align-items: center; gap: 4px; }
.ga-org-spacer { width: 44px; flex: none; }

.ga-org-save {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}


.ga-org-add {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ga-org-add .gl-select { flex: 0 1 220px; min-width: 0; }
.ga-org-add .gl-input { flex: 1 1 220px; min-width: 0; }

.ga-org-changes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 10px;
    padding: 0;
    list-style: none;
    font-size: 12.5px;
}

.ga-org-changes li { display: flex; flex-direction: column; gap: 2px; }
.ga-org-changes .ga-note { margin: 0; }

/* ── Administration › Site public ──────────────────────────────────────── */

.gz-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.gz-split > .gz-editor { position: sticky; top: 16px; }
.gz-count { color: var(--thonon-yellow, #F0C030); margin-left: 8px; font-family: var(--font-mono); }
.gz-row2 { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-top: 6px; }
.gz-row2--one { grid-template-columns: minmax(0, 1fr) auto; }
/* A key figure: its source, its value (typed, or what the site computes), its label. */
.gz-row3 { display: grid; grid-template-columns: minmax(0, 1fr) 96px auto; gap: 6px 8px; align-items: center; margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--dark-border-1); }
.gz-row3 > :nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
.gz-row3 > :nth-child(4) { grid-column: 3; grid-row: 1; }
.gz-figure { padding: 0 8px; color: var(--dark-fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gz-stack { display: grid; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--dark-border-1); }
.gz-add { margin-top: 8px; justify-self: start; }
.gz-venue { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--dark-border-1); }
.gz-photo { width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, rgba(255, 255, 255, .02) 10px 20px); display: flex; align-items: center; justify-content: center; }
.gz-photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gz-photo__empty { color: var(--dark-fg-3); font: 500 12px var(--font-mono); }
.gz-photo__actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
.gz-upload { position: relative; overflow: hidden; cursor: pointer; }
.gz-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.gz-upload--busy { opacity: .6; pointer-events: none; }
.gz-upload__error { color: var(--gi-err, #F87171); font-size: 13px; }
.gz-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.gz-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.gz-card-head .ga-card__title { margin: 0; display: flex; align-items: center; gap: 8px; }
.gz-card-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gz-prow { display: grid; grid-template-columns: 24px 64px minmax(0, 1fr) minmax(0, 220px) 90px 44px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--dark-border-1); }
.gz-prow--head { color: var(--dark-fg-3); font: 700 12px var(--font-condensed); letter-spacing: .14em; text-transform: uppercase; border-top: 0; }
.gz-prow--dragged { opacity: .45; }
.gz-prow--empty { grid-template-columns: 24px minmax(0, 1fr); }
.gz-tier { display: flex; align-items: baseline; gap: 12px; padding: 12px 0 8px; border-top: 1px solid var(--dark-border-1); background: rgba(255, 255, 255, .02); }
.gz-tier b { font: 700 13px var(--font-condensed); letter-spacing: .16em; text-transform: uppercase; color: var(--dark-fg-1); padding-left: 8px; }
.gz-tier span { color: var(--dark-fg-3); font-size: 13px; }
.gz-tier__count { margin-left: auto; padding-right: 8px; font-family: var(--font-mono); }
.gz-handle { color: var(--dark-fg-3); cursor: grab; text-align: center; }
.gz-logo { width: 54px; height: 32px; border-radius: 4px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gz-logo img { max-width: 90%; max-height: 90%; object-fit: contain; }
.gz-logo--missing { background: transparent; border: 1px dashed var(--dark-border-1); color: var(--dark-fg-3); font: 500 12px/1.1 var(--font-mono); text-align: center; }
.gz-pname { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--dark-fg-1); }
.gz-pname small { color: var(--dark-fg-3); font-size: 13px; }
.gz-plink { color: var(--dark-fg-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gz-toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.gz-toggle__track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--dark-border-1); }
.gz-toggle__knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.gz-toggle--on .gz-toggle__track { background: var(--thonon-blue); }
.gz-toggle--on .gz-toggle__knob { left: 21px; }
.gz-toggle:disabled { opacity: .5; cursor: not-allowed; }
.gz-brochure { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 16px; align-items: end; margin-top: 16px; }
.gz-brochure > div:first-child { display: flex; flex-direction: column; gap: 4px; color: var(--dark-fg-1); }
.gz-brochure__actions { display: flex; gap: 8px; align-items: center; }
.gz-foot { margin-top: 12px; }
.gz-danger { color: #F87171; border-color: rgba(248, 113, 113, .4); margin-top: 18px; }
.gz-fees { display: grid; }
.gz-fee { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 76px 76px 84px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--dark-border-1); color: var(--dark-fg-1); }
.gz-fee__by-year { grid-column: span 3; font-size: 13px; }
.gz-fee--head { color: var(--dark-fg-3); font: 700 12px var(--font-condensed); letter-spacing: .14em; text-transform: uppercase; border-top: 0; }
.gz-fee__amount { display: flex; align-items: center; gap: 6px; }
.gz-fee__amount input { width: 110px; }
.gz-fee__teams { font-size: 13px; }
.gz-rail { display: grid; gap: 14px; }
.gz-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; font-size: 14px; }
.gz-kv span { color: var(--dark-fg-3); }
.gz-kv b { min-width: 0; color: var(--dark-fg-1); font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.gz-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gz-cols .ga-field { margin-top: 14px; }
.gz-fixed { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--dark-border-1); border-radius: 6px; }
.gz-fixed a { color: var(--dark-fg-1); }

@media (max-width: 960px) {
    .gz-split, .gz-cols { grid-template-columns: 1fr; }
    .gz-split > .gz-editor { position: static; }
    .gz-prow { grid-template-columns: 24px 54px minmax(0, 1fr) 50px 32px; }
    .gz-plink { display: none; }
    .gz-fee { grid-template-columns: minmax(0, 1fr) 70px 70px 70px; }
    .gz-fee > :nth-child(2), .gz-fee > :nth-child(6), .gz-fee > :nth-child(7) { display: none; }
    .gz-fee--by-year > :nth-child(4), .gz-fee--by-year > :nth-child(5) { display: none; }
    .gz-brochure { grid-template-columns: 1fr; }
}

/* ── Comité › Actus ────────────────────────────────────────────────────── */


/* The weekend's drafts waiting to be read: yellow cards, two a row. */
.gn-ready-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gn-ready { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--thonon-yellow-deep); border-radius: var(--radius-card); background: linear-gradient(0deg, rgba(240, 192, 48, .06), rgba(240, 192, 48, .06)), var(--thonon-night); box-shadow: inset 0 -4px 0 var(--thonon-yellow); }
.gn-ready__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; background: rgba(240, 192, 48, .14); color: var(--thonon-yellow); }
.gn-ready__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gn-ready__text b { font: 800 17px/1.15 var(--font-condensed); letter-spacing: .06em; text-transform: uppercase; }
.gn-ready__text span { font-size: 14px; line-height: 1.45; color: var(--dark-fg-2); }
.gn-ready__text strong { color: var(--thonon-yellow); font-weight: 600; }

/* The list: a search, then the state and the section. */
.gn-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(0, 1fr)); gap: 12px; }
.gn-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 90px 220px 24px; gap: 14px; align-items: center; min-height: 68px; padding: 10px 20px; border-top: 1px solid var(--dark-border-1); color: inherit; text-decoration: none; }
.gn-row:first-child { border-top: 0; }
a.gn-row:hover { background: var(--thonon-surface-2); }
.gn-row--head { min-height: 44px; background: var(--thonon-surface-2); font: 700 13px/1 var(--font-condensed); letter-spacing: .1em; text-transform: uppercase; color: var(--dark-fg-3); }
.gn-row__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gn-row__title b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.gn-row__title small, .gn-row__by { font-size: 13px; color: var(--dark-fg-2); }
.gn-row__go { color: var(--dark-fg-3); }
.gn-empty { margin: 0; padding: 18px 20px; font-size: 14px; color: var(--dark-fg-3); }

.gn-albums { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.gn-albums__list { padding-bottom: 6px; }
.gn-arow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 10px; margin: 0 -10px; border-top: 1px solid var(--dark-border-1); border-left: 3px solid transparent; color: inherit; text-decoration: none; }
.gn-arow:hover { background: rgba(255, 255, 255, .03); }
.gn-arow--on { border-left-color: var(--thonon-yellow, #F0C030); background: rgba(240, 192, 48, .06); }
.gn-arow--static { grid-template-columns: 64px minmax(0, 1fr); border: 0; margin: 0 0 10px; padding: 0; }
.gn-arow .gl-cell--stack, .gn-arow--static .gl-cell--stack { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gn-thumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 8px, rgba(255, 255, 255, .02) 8px 16px); }
.gn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gn-album .ga-card__title { display: flex; align-items: center; gap: 12px; text-transform: uppercase; }
.gn-album__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.gn-pair { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gn-pair > * { flex: 1 1 130px; min-width: 0; }
.gn-linked { display: block; padding: 9px 0; font-size: 14px; }
.gn-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.gn-ph { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 10px, rgba(255, 255, 255, .02) 10px 20px); border: 2px solid transparent; }
.gn-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gn-ph--cover { border-color: var(--thonon-yellow, #F0C030); }
.gn-ph--picked { border-color: #34A4E0; }
.gn-ph__pick { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gn-ph__cover { position: absolute; top: 6px; left: 6px; background: var(--thonon-yellow, #F0C030); color: #0A0A0C; border-radius: 4px; padding: 2px 6px; font: 700 12px var(--font-condensed); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.gn-ph__menu { position: absolute; inset: 4px; display: grid; grid-template-columns: 1fr 1fr; align-content: end; gap: 4px; }
.gn-ph__menu button:first-child:not([aria-label]), .gn-ph__menu .gn-ph__remove { grid-column: span 2; }
.gn-ph__menu button { height: 26px; border: 0; border-radius: 4px; background: rgba(10, 10, 12, .85); color: #fff; font: 600 12px var(--font-body, inherit); cursor: pointer; }
.gn-ph__menu button:hover:not(:disabled) { background: #1080C0; }
.gn-ph__menu .gn-ph__remove:hover:not(:disabled) { background: #C81E2B; }
.gn-ph__x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(10, 10, 12, .8); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.gn-drop { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 16px; border: 1px dashed var(--dark-border-2, rgba(255, 255, 255, .25)); border-radius: 10px; color: var(--dark-fg-2); cursor: pointer; }
.gn-drop b { color: #fff; }
.gn-drop u { color: #34A4E0; }
.gn-drop:hover, .gn-drop:focus-within { border-color: #34A4E0; background: rgba(16, 128, 192, .06); }
.gn-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* The article's editor: its labels read at 13 px. */
.gn-editor .ga-field__label { font-size: 13px; }
.gn-locked__line { display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; border-top: 1px solid var(--dark-border-1); color: var(--dark-fg-1); }
.gn-locked__line:first-child { border-top: 0; }
.gn-locked__more { padding: 12px 0; border-top: 1px solid var(--dark-border-1); color: var(--dark-fg-3); }
.gn-locked__more--btn { display: block; width: 100%; min-height: 44px; text-align: left; background: none; border: 0; border-top: 1px solid var(--dark-border-1); font: inherit; cursor: pointer; }
.gn-locked__more--btn:hover { color: var(--dark-fg-1); }
.gn-visuals { display: grid; gap: 8px; }
.gn-visuals--two { grid-template-columns: 1fr 1fr; }
.gn-visuals img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; display: block; }
/* The publication visual at its true size, out of sight, while it is captured. */
.gn-visual-stage { position: fixed; left: -20000px; top: 0; pointer-events: none; }
/* The AI's band, above the form: the text on the left, its blue button on the right. */
.gn-aiband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid rgba(52, 164, 224, .35); border-radius: 8px; background: linear-gradient(90deg, rgba(16, 128, 192, .22), rgba(16, 128, 192, .04)); font-size: 14px; color: var(--dark-fg-1); }
.gn-aiband > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.gn-aiband > span:first-child svg { flex-shrink: 0; color: var(--thonon-blue-bright); }
.gi-btn.gn-aiband__go { box-shadow: none; background: var(--thonon-blue); color: #fff; }
.gi-btn.gn-aiband__go:hover:not(:disabled) { box-shadow: none; background: var(--thonon-blue-bright); color: #fff; }

/* The weekend's results: the record in the head, then a line a match, our score first. */
.gn-rec { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--dark-fg-2); font: 700 12px/1.2 var(--font-condensed); letter-spacing: .08em; text-transform: uppercase; }
.gn-rec--v { background: rgba(34, 197, 94, .14); color: #22C55E; }
.gn-rec--d { background: rgba(240, 32, 48, .14); color: #FF8A93; }
.gn-rs { display: grid; grid-template-columns: 30px 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--dark-border-1); }
.gn-rs:first-child { border-top: 0; }
.gn-rs__vd { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 4px; background: var(--thonon-graphite); color: var(--dark-fg-2); font: 800 14px var(--font-condensed); }
.gn-rs__vd--v { background: #22C55E; color: var(--thonon-black); }
.gn-rs__vd--d { background: var(--thonon-red); color: #fff; }
.gn-rs__team { font: 800 16px/1.1 var(--font-condensed); letter-spacing: .04em; text-transform: uppercase; }
.gn-rs__opp { min-width: 0; overflow: hidden; font-size: 15px; color: var(--dark-fg-2); text-overflow: ellipsis; white-space: nowrap; }
.gn-rs__score { font: 700 18px var(--font-mono); white-space: nowrap; }

/* The article's photos: three slots, filled or waiting. */
.gn-ph3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gn-ph3 .gn-ph { aspect-ratio: 4/3; }
.gn-ph3__slot { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; border: 2px dashed var(--dark-border-2); border-radius: 6px; color: var(--dark-fg-3); font: 700 13px var(--font-condensed); letter-spacing: .08em; text-transform: uppercase; }

/* The rail: « Publication » underlined in yellow, the teams as chips that take themselves off. */
.gn-pubcard { box-shadow: inset 0 -4px 0 var(--thonon-yellow); }
.gn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gn-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 4px; background: rgba(16, 128, 192, .2); box-shadow: inset 0 0 0 1px rgba(52, 164, 224, .45); color: #fff; font: 800 14px var(--font-condensed); letter-spacing: .06em; cursor: pointer; }
.gn-chip i { font-style: normal; color: var(--dark-fg-3); }
.gn-chip:hover i { color: #FF8A93; }
.gn-publish { display: grid; gap: 8px; }
.gn-publish .gi-btn { justify-content: center; }
.gn-publish__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gn-publish__two .gi-btn { justify-content: center; }
.gn-cover { aspect-ratio: 16/10; }
.gn-cover img { object-fit: cover; background: transparent; }
.gn-delete { width: 100%; justify-content: center; }

/* What a share shows: the image with the site and the title over it, then the domain, title, lead. */
.gn-og { overflow: hidden; border: 1px solid var(--dark-border-2); border-radius: 8px; background: #18191C; }
.gn-og__im { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; aspect-ratio: 1200/630; padding: 18px; overflow: hidden; background: linear-gradient(135deg, var(--thonon-blue-deep, #0B4F7A), var(--thonon-blue) 55%, var(--thonon-black)); }
.gn-og__im::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--thonon-yellow); }
.gn-og__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gn-og__im:has(.gn-og__photo)::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 12, .85), rgba(10, 10, 12, 0) 70%); }
.gn-og__wm { position: absolute; right: -30px; top: -20px; width: 190px; opacity: .16; }
.gn-og__im span { position: relative; z-index: 1; font: 700 12px var(--font-condensed); letter-spacing: .12em; text-transform: uppercase; color: var(--thonon-yellow); }
.gn-og__im b { position: relative; z-index: 1; font: 800 24px/1 var(--font-condensed); text-transform: uppercase; overflow-wrap: anywhere; }
.gn-og__tx { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; }
.gn-og__dom { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--dark-fg-3); }
.gn-og__tx b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.gn-og__tx p { display: -webkit-box; margin: 0; overflow: hidden; font-size: 14px; color: var(--dark-fg-2); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@media (max-width: 1099px) {
    .gn-ready-grid { grid-template-columns: minmax(0, 1fr); }
    .gn-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t s" "b d"; }
    .gn-row__title { grid-area: t; }
    .gn-row__state { grid-area: s; }
    .gn-row__date { grid-area: d; justify-self: end; }
    .gn-row__by { grid-area: b; }
    .gn-row__go, .gn-row--head { display: none; }
}

@media (max-width: 699px) {
    .gn-rs { grid-template-columns: 30px 56px minmax(0, 1fr) auto; gap: 10px; }
    .gn-rs__opp { white-space: normal; }
    .gn-ready { grid-template-columns: auto minmax(0, 1fr); }
    .gn-ready > .gi-btn { grid-column: 1 / -1; }
    .gn-filters { grid-template-columns: minmax(0, 1fr); }
    .gn-row { padding: 10px 16px; }
}

@media (max-width: 960px) {
    .gn-albums { grid-template-columns: 1fr; }
    .gn-album__fields { grid-template-columns: 1fr; }
    .gn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Training groups: a squad's roster split by group, each player's group to change in place. */
.ga-group-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0 10px;
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-2);
}

.ga-group-title__years {
    font: 600 13px/1 var(--font-sans, inherit);
    letter-spacing: 0;
    text-transform: none;
    color: var(--dark-fg-3);
}


/* ── Site public › Campagnes (lot HelloAsso) ────────────── */

.gz-campaigns { display: flex; flex-direction: column; }

.gz-campaign {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 260px);
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--dark-border-1);
}

.gz-campaign:first-child { border-top: 0; }
.gz-campaign--closed { opacity: 0.55; }
.gz-campaign__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gz-campaign__title { font-weight: 600; color: #fff; }
.gz-campaign__title a { color: inherit; text-decoration: none; }
.gz-campaign__title a:hover { text-decoration: underline; }
.gz-campaign__check { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; white-space: nowrap; }
.gz-campaign__match { width: 100%; }

@media (max-width: 720px) {
    .gz-campaign { grid-template-columns: 1fr 1fr; }
    .gz-campaign__text, .gz-campaign__match { grid-column: 1 / -1; }
}

/* ── Website, imports, monitoring ── */

/* Site public › Pages: the blocks on the left, the open one's editor wider on the right. The open
   block is tinted with a whole border — no inner shadow, and the 3 px left rule stays the halls'. */
.gz-split--pages { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.gz-blk { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 12px; align-items: center; min-height: 60px; padding: 8px 18px; border: 1px solid transparent; border-top-color: var(--dark-border-1); }
.gz-blk:first-child { border-top-color: transparent; }
.gz-blk--on { border-color: var(--thonon-blue-bright); border-radius: var(--radius-card); background: rgba(52, 164, 224, .10); }
.gz-blk--on + .gz-blk { border-top-color: transparent; }
.gz-blk__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gz-blk__text b { font-weight: 600; color: #fff; }
.gz-blk__text small { font-size: 13px; color: var(--dark-fg-2); }
.gz-blk__when { font-size: 13px; color: var(--dark-fg-3); }
.gz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gz-editor__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 4px; }
.gz-editor__foot > .gc-xs { flex: 1 1 220px; }
.gz-outside { margin-top: 20px; }
.gz-outside a { color: var(--thonon-blue-bright); }

@media (max-width: 1099px) {
    .gz-split--pages { grid-template-columns: minmax(0, 1fr); }
    .gz-split--pages > .gz-editor { position: static; }
}

@media (max-width: 699px) {
    .gz-blk { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 14px; }
    .gz-blk__when { display: none; }
    .gz-pair { grid-template-columns: minmax(0, 1fr); }
}

/* Monitoring: a card per treatment, three a row; one with a failure among its runs shown is drawn
   in red, even behind a last run that went through. */
.ga-job-clock { font-size: 13px; color: var(--dark-fg-2); white-space: nowrap; }
/* The scheduled jobs' switch, read only: the hosting target's GitHub variable decides it. */
.ga-jobs-switch { margin-bottom: 16px; }
.ga-jobs-switch code { font-family: var(--font-mono); font-size: 12px; color: var(--dark-fg-2); }
.ga-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ga-job { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 18px; border: 1px solid var(--dark-border-1); border-radius: var(--radius-card); background: var(--thonon-night); }
.ga-job--ko { border-color: #7A1C24; box-shadow: inset 0 -3px 0 var(--thonon-red); }
.ga-job__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ga-job__title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ga-job__name { margin: 0; font: 800 16px/1.2 var(--font-condensed); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.ga-job__title small { font-size: 13px; line-height: 1.4; color: var(--dark-fg-2); }
.ga-job__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; font-size: 13px; }
.ga-job__facts > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ga-job__facts dt { color: var(--dark-fg-3); }
.ga-job__facts dd { margin: 0; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.ga-job__facts dd.ga-job__bad { color: #FF8A93; }
.ga-job__out { margin: 0; padding: 8px 10px; border-radius: var(--radius-control); background: var(--thonon-surface-2); font: 12px/1.5 var(--font-mono); color: var(--dark-fg-2); overflow-wrap: anywhere; }
.ga-job__out--ko { color: #FF8A93; }
.ga-job__reach { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark-fg-2); overflow-wrap: anywhere; }
/* What a treatment left to finish: a link, in the warning's colour, to where it is finished. */
.ga-job__backlog { color: var(--thonon-yellow); text-decoration: none; }
.ga-job__backlog:hover span { text-decoration: underline; }
.ga-job__links { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ga-job__links .gc-link { gap: 6px; min-width: 0; }
.ga-job__runs { display: flex; flex-direction: column; }

@media (max-width: 1099px) {
    .ga-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

/* ── Users, reference data, base rules ── */

/* The tabs, then the search and the filter on their right; under them when the line is short. */
.ga-tabline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
}

.ga-tabline > .gc-tabs { flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 0; overflow-x: auto; }

.ga-tabline__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ga-tabline__tools .ga-search { width: 240px; }
.ga-tabline__select { width: 200px; }

@media (max-width: 699px) {
    .ga-tabline__tools { flex: 1 1 100%; flex-wrap: nowrap; min-width: 0; }
    .ga-tabline__tools .ga-search input { min-width: 0; width: 100%; }
    .ga-tabline__tools .ga-search,
    .ga-tabline__select { flex: 1 1 0; width: auto; min-width: 0; }
}

/* Utilisateurs: an account to check (active, no licence reached) is tinted yellow. */
.ga-table--accounts .ga-acc--check { background: rgba(240, 192, 48, 0.05); }

/* Under 1100 px an account reads as a card: who and the state, the roles under them. */
@media (max-width: 1099px) {
    .ga-table--accounts .gl-table__head { display: none; }

    .ga-table--accounts .gl-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "who state" "roles roles";
        gap: 10px 12px;
        padding: 12px 16px;
    }

    .ga-acc__who { grid-area: who; }
    .ga-acc__state { grid-area: state; }
    .ga-acc__roles { grid-area: roles; }

    .ga-acc__profile,
    .ga-acc__licence,
    .ga-acc__seen { display: none; }
}

.ga-role-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--dark-fg-2);
}

.ga-role-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 3px;
    background: var(--thonon-graphite);
    vertical-align: -1px;
}

.ga-role-legend i.ga-role-legend__com { background: #A58BE8; }
.ga-role-legend i.ga-role-legend__coach { background: #2EC4B6; }
.ga-role-legend i.ga-role-legend__adm { background: transparent; box-shadow: inset 0 0 0 1px var(--dark-border-2); }

/* Fiche utilisateur: the roles, one a row with where it comes from; then what they open. */
.ga-role-rows {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--dark-border-1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.ga-role-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 48px;
    padding: 10px 16px;
}

.ga-role-row + .ga-role-row { border-top: 1px solid var(--dark-border-1); }
.ga-role-row__why { font-size: 13px; color: var(--dark-fg-2); }

@media (max-width: 699px) {
    .ga-role-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

.ga-opens__label {
    margin: 6px 0 0;
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark-fg-3);
}

.ga-opens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ga-opens li {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(165, 139, 232, 0.14);
    color: #CBBCF3;
    font-size: 13px;
}

.ga-opens--adm li { background: rgba(138, 147, 161, 0.16); color: #fff; }

/* The account in the rail: an identifier has no space to break at. */
.ga-kvl dd { min-width: 0; }
.ga-kvl__id { font-size: 14px; overflow-wrap: anywhere; }

.ga-own-licence {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #fff;
    text-decoration: none;
}

.ga-own-licence__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; }
.ga-own-licence__who .ga-strong { font-size: 15px; }

.ga-card--warn { border-color: rgba(240, 192, 48, 0.42); background: rgba(240, 192, 48, 0.05); }
.ga-block__actions--start { justify-content: flex-start; }

/* The roles drawer: two columns of boxes; a role the organigramme or the super administrator
   gives is dashed and cannot be ticked. */
.ga-role-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ga-role-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 12px;
    border: 1.5px solid var(--dark-border-2);
    border-radius: 6px;
    cursor: pointer;
}

.ga-role-check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--ga-blue); }
.ga-role-check--on { border-color: var(--ga-blue); background: rgba(52, 164, 224, 0.1); }
.ga-role-check--locked { border-style: dashed; cursor: not-allowed; }

.ga-role-check__name {
    display: block;
    font: 800 14px/1.2 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.ga-role-check__why { display: block; margin-top: 2px; font-size: 12px; color: var(--dark-fg-3); }

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

.ga-candidates--drawer { padding: 0; gap: 8px; }

/* Données de référence · saisons: the table, and the default season beside it (under it below 1100 px). */
.ga-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 28px;
}

.ga-split__rail { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 1099px) {
    .ga-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.ga-table--seasons .ga-row--now { background: rgba(52, 164, 224, 0.07); }

.ga-pills { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }

/* The one card of a zone that leads: a yellow rule under it, its kicker yellow, its value large. */
.ga-card--lead { box-shadow: inset 0 -4px 0 var(--thonon-yellow); border-color: rgba(240, 192, 48, 0.42); }

.ga-card__kicker {
    font: 700 12px/1.2 var(--font-condensed);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--thonon-yellow);
}

.ga-card__big { font-size: 28px; line-height: 1.1; color: #fff; }

/* A field half the drawer wide, alone on its line. */
.ga-field--half { width: calc(50% - 6px); }

@media (max-width: 699px) {
    .ga-field--half { width: 100%; }
}

/* Données de référence · catégories: a squad of the category, in its block's colour. The week of the
   halls has its own .ga-chip. */
.ga-squad-chip {
    --chip: var(--ga-slate);
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--chip) 45%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--chip) 14%, transparent);
    font: 700 12px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chip);
    white-space: nowrap;
}

/* ── Club, squads, training ── */

/* Club & salles: a hall per row, its code in its gymnasium colour. */
.ga-hall-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 10px 20px;
    border-top: 1px solid var(--dark-border-1);
}
.ga-hall-row:first-child { border-top: 0; }
.ga-hall-row > .hall-code { justify-self: start; }
.ga-hall-row__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ga-hall-row__name b { font-weight: 600; font-size: 15px; color: #fff; }
.ga-hall-row__name small { font-size: 13px; color: var(--dark-fg-3); }
.ga-hall-row__meta { display: grid; grid-template-columns: 104px 48px; align-items: center; gap: 14px; }
.ga-hall-row__slots { font-size: 13px; color: var(--dark-fg-2); }
.ga-hall-row__hosted { font: 700 18px/1 var(--font-mono); text-align: right; color: var(--dark-fg-3); }
.ga-hall-row__hosted--home { color: var(--thonon-yellow); }

@media (max-width: 700px) {
    .ga-hall-row { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 16px; }
    .ga-hall-row__meta { grid-column: 2; grid-template-columns: auto auto; justify-content: start; }
    .ga-hall-row > .gi-btn { grid-column: 3; grid-row: 1 / span 2; }
}

/* The hall drawer: the colour chosen among the gymnasium colours, each chip ruled in its colour. */
.ga-hall-drawer__name { font-size: 15px; font-weight: 600; color: #fff; }
.ga-hall-drawer__preview { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--dark-fg-2); }
.ga-hall-drawer__slots { margin: 0; padding: 0; border: 0; }
.ge-rad.ga-swatches button { box-shadow: inset 3px 0 0 var(--hall-c, transparent); }
.ge-rad.ga-swatches button[aria-checked="true"] {
    border-color: var(--hall-c, var(--dark-border-2));
    background: color-mix(in srgb, var(--hall-c, var(--thonon-graphite)) 18%, var(--thonon-night));
    color: #fff;
}
.ge-rad.ga-swatches .ga-swatches__none { box-shadow: none; }

/* The organigramme: its parts as chips, a seat per row, the roles each office gives. */
.ga-parts { display: flex; flex-wrap: wrap; gap: 8px; }
.ga-parts__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid var(--dark-border-2);
    border-radius: 999px;
    color: var(--dark-fg-2);
    font: 700 14px/1 var(--font-condensed);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}
.ga-parts__chip:hover { color: #fff; border-color: var(--dark-fg-2); }
.ga-parts__chip--on { border-color: var(--thonon-blue-bright); background: rgba(52, 164, 224, 0.16); color: var(--thonon-blue-bright); }

.ga-org-seat {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--dark-border-1);
}
.ga-org-seat:first-child { border-top: 0; }
.ga-org-seat--titled { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; }
.ga-org-seat__who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ga-org-seat__who .ga-avatar { width: 36px; height: 36px; font-size: 13px; }
.ga-org-seat__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ga-org-seat__text b { font-weight: 600; font-size: 15px; color: #fff; }
.ga-org-seat__text small { font-size: 13px; color: var(--dark-fg-3); }
.ga-org-seat__text .ga-org-seat__warn { color: var(--thonon-yellow); }
.ga-org-seat .gl-select, .ga-org-seat .gl-input { min-width: 0; }
.ga-org-seat__office--set { border-color: var(--thonon-blue-bright); color: #fff; }

@media (max-width: 760px) {
    .ga-org-seat, .ga-org-seat--titled { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 16px; }
    .ga-org-seat__who { grid-column: 1 / -1; }
    .ga-org-seat > .gl-select, .ga-org-seat > .gl-input { grid-column: 1; }
    .ga-org-seat > .ga-org-order { grid-column: 2; grid-row: 2 / span 2; }
}

.ga-org-gives { box-shadow: inset 0 3px 0 var(--gi-vio); }
.ga-org-gives__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0; font-size: 14px; }
.ga-org-gives__list dt { color: var(--dark-fg-2); }
.ga-org-gives__list dd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; }
.ga-org-gives__list small { font-size: 13px; color: var(--dark-fg-3); }

/* Collectifs & équipes: the family as a segmented control beside the search. */
.ga-teams-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ga-teams-bar__search { flex: 1 1 220px; max-width: 360px; margin-left: auto; }
.ga-squad-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.ga-squad-cell--stack { flex-direction: column; align-items: flex-start; }
.ga-squad-cell__name { font: 700 17px/1.15 var(--font-condensed); letter-spacing: 0.04em; color: #fff; }
.ga-squad-cell__family { font-size: 14px; color: var(--dark-fg-2); }
.ga-squad-cell__teams { display: flex; flex-wrap: wrap; gap: 4px; }
.ga-squad-cell__coaches { font-size: 14px; color: var(--dark-fg-2); }
.ga-squad-cell__players { font-size: 18px; color: #fff; }

@media (max-width: 700px) {
    .ga-teams-bar__search { max-width: none; margin-left: 0; }
}

/* The structure drawers on the shared drawer: their read fields' labels at 12 px. */
.ga-struct-drawer .ga-read__label { font-size: 12px; }

/* A squad: its players in a grid, the year of birth under the name, an exception in yellow; the
   staff in the coach's turquoise; the engaged teams as pills. */
.ga-player { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 52px; }
.ga-player__text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.ga-player__text b { overflow: hidden; font-weight: 600; font-size: 15px; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.ga-player__text small { font-size: 13px; color: var(--dark-fg-3); }
.ga-player__text .ga-player__exception { color: var(--thonon-yellow); }
.ga-player__group { align-self: flex-start; margin-top: 4px; }
.ga-player__positions { display: flex; align-items: center; gap: 4px; min-width: 0; margin-top: 2px; font-size: 13px; white-space: nowrap; }
.ga-player__positions .gc-positions { flex-wrap: nowrap; gap: 4px; min-width: 0; overflow: hidden; }
.ga-player__positions .gc-edit { flex: none; width: 24px; height: 24px; }
.ga-player__remove { opacity: 0.7; }
.ga-player:hover .ga-player__remove, .ga-player__remove:focus-visible { opacity: 1; }
.ga-staff { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ga-squad-staff { box-shadow: inset 0 3px 0 #2EC4B6; }
.ga-squad-kvl dd { display: flex; justify-content: flex-end; }
/* A calendar ID is long and unbroken: in the value column it would take the row's whole width and print over its
   label, so it goes under the label, across the box. */
.ga-squad-kvl .ga-squad-kvl__calendar { display: block; grid-column: 1 / -1; min-width: 0; margin-top: -6px; text-align: left; overflow-wrap: anywhere; font-size: 13px; font-weight: 400; color: var(--dark-fg-2); }
.ga-squad-team { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-height: 44px; color: inherit; text-decoration: none; }
.ga-squad-team:hover .gc-small2 { color: #fff; }

/* Entraînements: the week as a halls × days grid, each session in its hall's colour — a tint of it
   and its 3 px rule, the gymnasiums' own — and the ranges given to others hatched. */
.ga-wk { display: grid; gap: 1px; overflow-x: auto; border: 1px solid var(--dark-border-1); background: var(--dark-border-1); }
.ga-wk__row { display: grid; grid-template-columns: 150px repeat(7, minmax(112px, 1fr)); gap: 1px; min-width: 950px; }
.ga-wk__row > * { background: var(--thonon-night); }
.ga-wk__row--head > * { padding: 10px; font: 700 12px/1 var(--font-condensed); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-fg-3); }
.ga-wk__day--today { color: var(--thonon-yellow); box-shadow: inset 0 -2px 0 var(--thonon-yellow); }
.ga-wk__hall { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
.ga-wk__hall small { font-size: 12px; line-height: 1.3; color: var(--dark-fg-3); }
.ga-wk__cell { display: flex; flex-direction: column; gap: 4px; min-height: 56px; padding: 6px; }
.ga-wk__s {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    min-height: 44px;
    padding: 6px 8px 6px 11px;
    border: 0;
    border-radius: 0;
    background: color-mix(in srgb, var(--hall-c, var(--dark-border-2)) 18%, var(--thonon-night));
    box-shadow: inset 3px 0 0 var(--hall-c, var(--dark-border-2));
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
button.ga-wk__s:hover, button.ga-wk__s:focus-visible { background: color-mix(in srgb, var(--hall-c, var(--dark-border-2)) 30%, var(--thonon-night)); }
.ga-wk__s b { font: 700 15px/1.1 var(--font-condensed); letter-spacing: 0.04em; overflow-wrap: anywhere; }
.ga-wk__s small { font: 600 12px/1 var(--font-mono); color: var(--dark-fg-2); white-space: nowrap; }
.ga-wk__s--reserved {
    background: repeating-linear-gradient(135deg, var(--thonon-night) 0 6px, var(--thonon-surface-2) 6px 12px);
    box-shadow: inset 3px 0 0 var(--dark-border-2);
    color: var(--dark-fg-3);
    cursor: default;
}
.ga-wk__s--reserved b { font-weight: 600; color: var(--dark-fg-2); }
.ga-wk__s--clash { box-shadow: inset 3px 0 0 var(--thonon-red), inset 0 0 0 1px var(--thonon-red); }
.ga-wk__s--past { opacity: 0.6; }
.ga-wk__s--dim { opacity: 0.35; }
.ga-wk__s--cancelled { background: transparent; box-shadow: inset 3px 0 0 var(--thonon-red), inset 0 0 0 1px var(--dark-border-1); color: var(--dark-fg-3); }
.ga-wk__s--cancelled b, .ga-wk__s--cancelled small { text-decoration: line-through; color: var(--dark-fg-3); }
.ga-wk__tag { align-self: flex-start; padding: 2px 6px; background: rgba(255, 255, 255, 0.08); font: 700 12px/1 var(--font-condensed); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-fg-2); }
.ga-wk__s--cancelled .ga-wk__tag { color: #FF8A93; }
.ga-wk-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--dark-fg-2); }
.ga-wk-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ga-wk-legend i { display: inline-block; width: 18px; height: 12px; }
.ga-wk-legend__session { background: color-mix(in srgb, #1080C0 18%, var(--thonon-night)); box-shadow: inset 3px 0 0 #1080C0; }
.ga-wk-legend__reserved { background: repeating-linear-gradient(135deg, var(--thonon-night) 0 3px, var(--thonon-surface-2) 3px 6px); box-shadow: inset 3px 0 0 var(--dark-border-2); }
.ga-wk-legend__clash { box-shadow: inset 0 0 0 1px var(--thonon-red); }

/* A name in the organigramme's pending changes: a 44 px target without growing the list. */
.ga-org-changes .ga-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -12px 0;
}

