/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Onglets de section dans l'entête (Dashboard · Rapports · Données · Forge IA).
   Style « pilule » du guide : l'onglet actif prend le fond accent doux, comme .modal-tab-top.
   CSS isolé (scoped) — ne touche pas app.css. Couleurs via tokens d'app.css. */
.section-nav[b-b4fvir84gx] {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Centrés, mais jamais COUPÉS : un `justify-content: center` dans une zone qui défile fait
       déborder la rangée des DEUX côtés, et ce qui dépasse à gauche ne se rattrape plus — c'est
       ainsi que « Dashboard » a disparu à 1 440 px. Les marges automatiques du premier et du
       dernier onglet centrent quand la rangée tient, et la collent à gauche quand elle déborde. */
    justify-content: flex-start;

    /* Filet de sécurité : les onglets défilent DANS leur zone plutôt que de pousser
       l'engrenage et la déconnexion hors de l'écran. Sans ces deux lignes, un onglet de
       plus refait déborder toute la page — c'est exactement ce qui est arrivé au huitième.
       La barre de défilement est masquée : elle serait du bruit dans un entête. */
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.section-nav[b-b4fvir84gx]::-webkit-scrollbar { display: none; }
.section-nav > .section-link:first-child[b-b4fvir84gx] { margin-left: auto; }
.section-nav > .section-link:last-child[b-b4fvir84gx] { margin-right: auto; }

.section-link[b-b4fvir84gx] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition), color var(--transition);
}

.section-link svg[b-b4fvir84gx] {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color var(--transition);
}

.section-link:hover[b-b4fvir84gx] {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.section-link:hover svg[b-b4fvir84gx] {
    color: var(--text-primary);
}

.section-link.is-active[b-b4fvir84gx] {
    color: var(--accent);
    background: var(--accent-soft);
}

.section-link.is-active svg[b-b4fvir84gx] {
    color: var(--accent);
}

/* Huit onglets ne tiennent plus à 1280 px avec leur libellé complet. On resserre AVANT de
   sacrifier les mots : un portable de 1280 doit garder des onglets lisibles, parce que
   « zéro formation » commence par un menu qui se lit.

   Resserré une seconde fois quand le sélecteur de langue est venu s'ajouter à droite : un
   bouton de plus, c'est 46 px de moins pour les onglets, et « Données » — le dernier — sortait
   du cadre à 1280 en français. Mesuré, pas estimé : à 1280, la rangée fait 819 px pour 834
   disponibles. Ajouter un onglet OU une icône à droite demande de refaire la mesure. */
@media (max-width: 1600px) {
    .section-nav[b-b4fvir84gx] { gap: 2px; }
    .section-link[b-b4fvir84gx] { padding: 7px 8px; gap: 6px; }
}

/* Sous 1 400 px, le pictogramme des onglets part, le MOT reste (2026-11-04) : sept pictogrammes,
   c'est 150 px — juste ce qui manquait à 1 280 pour un administrateur. Un onglet se lit à son
   libellé ; le pictogramme ne revient seul qu'au téléphone, où il remplace le mot (≤ 620 px). */
@media (max-width: 1400px) {
    .section-link svg[b-b4fvir84gx] { display: none; }
}

/* Sous 1 280 px (tablette, petit portable), la rangée ne tient plus sept libellés à côté des boutons d'un administrateur :
   à 1 024 px il en manquait 160 px, à 768 près de 470 — la rangée défilait, onglets cachés. Le
   pictogramme y remplace le mot, comme au téléphone ; le titre du lien porte toujours le nom. */
@media (max-width: 1279px) {
    .section-link[b-b4fvir84gx] { padding: 7px 9px; }
    .section-link span[b-b4fvir84gx] { display: none; }
    .section-link svg[b-b4fvir84gx] { display: block; }
}

@media (max-width: 720px) {
    .section-link[b-b4fvir84gx] { padding: 6px 10px; font-size: 13px; gap: 6px; }
}

/* L'ONGLET « LEADS » (2026-11-18) : un onglet de plus faisait déborder la rangée d'un
   administrateur de 16 à 39 px entre 1 280 et 1 680 px (mesuré : tools/barre-du-haut). Sous
   1 800 px, il ne garde que son pictogramme et sa pastille — le title et l'aria-label portent
   son nom —, y compris entre 1 280 et 1 400 px où les autres onglets gardent le mot. La
   pastille est un <b>, pas un <span> : les règles qui masquent les libellés ne l'atteignent pas. */
.section-link.section-compacte svg[b-b4fvir84gx] { display: block; }
.section-link.section-compacte > span[b-b4fvir84gx] { display: none; }
@media (min-width: 1800px) {
    .section-link.section-compacte > span[b-b4fvir84gx] { display: inline; }
}

/* Sur très petit écran, l'icône seule tient l'onglet : le libellé partirait à la ligne ou
   pousserait l'engrenage hors du coin. Le title/aria de chaque lien porte encore le nom. */
@media (max-width: 620px) {
    .section-nav[b-b4fvir84gx] { gap: 2px; }
    .section-link[b-b4fvir84gx] { padding: 6px 8px; }
    .section-link span[b-b4fvir84gx] { display: none; }
    .section-link svg[b-b4fvir84gx] { display: block; }
}

/* ── Bandeau « vue en tant que » ──────────────────────────────────────────────
   Une bascule d'identité qui ne se voit pas est un piège. Le bandeau est donc
   franchement teinté (accent d'avertissement), tient toute la largeur, et porte
   le chemin du retour à droite — jamais caché derrière un menu. */
.bandeau-personnification[b-b4fvir84gx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 16px;
    /* Teintes dérivées de --status-warning : le bandeau suit le thème (clair ET sombre)
       sans introduire une palette parallèle qui divergerait au premier changement. */
    background: color-mix(in srgb, var(--status-warning) 14%, var(--bg-secondary));
    color: var(--text-primary);
    border-bottom: 1px solid color-mix(in srgb, var(--status-warning) 40%, transparent);
    font-size: 0.85rem;
}
/* /Components/Pages/AgeComptesClients.razor.rz.scp.css */
/* Âge des comptes clients — styles propres à la page.
   Les cinq teintes de tranche sont la SEULE couleur ajoutée aux jetons d'app.css : une
   rampe ordonnée (courant en bleu, puis une montée ambre → orange → rouge → violet à
   mesure que le retard vieillit). Validée pour la séparation daltonienne et le contraste,
   avec un jeu à part pour le thème sombre. La couleur n'est jamais seule : chaque tranche
   porte aussi son libellé, et les chiffres restent à l'encre du texte. */

.age[b-2pqicwghcc] {
    --t0: #2f7fc1;
    --t1: #c99512;
    --t2: #e5531a;
    --t3: #a3123a;
    --t4: #5b3aa8;
}

[data-theme="dark"] .age[b-2pqicwghcc] {
    --t0: #4c9fe0;
    --t1: #ebb83c;
    --t2: #f2742e;
    --t3: #de3f7e;
    --t4: #9f72ea;
}

.t0[b-2pqicwghcc] { --t: var(--t0); }
.t1[b-2pqicwghcc] { --t: var(--t1); }
.t2[b-2pqicwghcc] { --t: var(--t2); }
.t3[b-2pqicwghcc] { --t: var(--t3); }
.t4[b-2pqicwghcc] { --t: var(--t4); }

.age-entete-pills[b-2pqicwghcc] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.age-pastille[b-2pqicwghcc] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--t, var(--text-muted));
    margin-right: 6px;
    flex: none;
    vertical-align: 1px;
}

/* ── Les KPI ──────────────────────────────────────────────────────────── */
.age-kpis[b-2pqicwghcc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.age-kpi[b-2pqicwghcc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 104px;
}

.age-kpi-principal[b-2pqicwghcc] {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
}
.age-kpi-principal .age-kpi-label[b-2pqicwghcc],
.age-kpi-principal .age-kpi-sub[b-2pqicwghcc] { color: rgba(255, 255, 255, 0.78); }
.age-kpi-principal .age-kpi-valeur[b-2pqicwghcc] { color: #fff; }

.age-kpi-alerte[b-2pqicwghcc] { border-color: color-mix(in srgb, var(--t4) 45%, transparent); box-shadow: inset 3px 0 0 var(--t4); }

.age-kpi-label[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.age-kpi-valeur[b-2pqicwghcc] {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.age-kpi-sub[b-2pqicwghcc] {
    font-size: 12.5px;
    color: var(--text-secondary);
}

.age-squelette[b-2pqicwghcc] {
    background: var(--shimmer);
    background-size: 200% 100%;
    animation: age-shimmer-b-2pqicwghcc 1.2s linear infinite;
}
@keyframes age-shimmer-b-2pqicwghcc { to { background-position: -200% 0; } }

/* ── La répartition ───────────────────────────────────────────────────── */
.age-section-titre[b-2pqicwghcc] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.age-section-titre h2[b-2pqicwghcc] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.age-barre[b-2pqicwghcc] {
    display: flex;
    gap: 2px;
    height: 34px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.age-segment[b-2pqicwghcc] {
    flex-basis: 0;
    min-width: 6px;
    border: none;
    padding: 0 8px;
    margin: 0;
    background: var(--t);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 34px;
    font-variant-numeric: tabular-nums;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    transition: opacity var(--transition), filter var(--transition);
}
/* L'encre du libellé suit la clarté du segment : blanc sur les teintes foncées, encre
   sombre sur l'ambre — et sur toute la rampe du thème sombre, plus claire. */
.age-segment.t1[b-2pqicwghcc],
[data-theme="dark"] .age-segment[b-2pqicwghcc] { color: #14161f; }
.age-segment:hover[b-2pqicwghcc] { filter: brightness(1.08); }
.age-segment.est-estompe[b-2pqicwghcc] { opacity: 0.28; }
.age-segment:focus-visible[b-2pqicwghcc] { outline: 2px solid var(--text-primary); outline-offset: -2px; }

.age-legende[b-2pqicwghcc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.age-legende-item[b-2pqicwghcc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
    transition: var(--transition);
}
.age-legende-item:hover:not(:disabled)[b-2pqicwghcc] { border-color: var(--t); background: var(--bg-glass-hover); }
.age-legende-item.est-actif[b-2pqicwghcc] {
    border-color: var(--t);
    background: color-mix(in srgb, var(--t) 10%, transparent);
    box-shadow: inset 0 3px 0 var(--t);
}
.age-legende-item:disabled[b-2pqicwghcc] { opacity: 0.5; cursor: default; }

.age-legende-nom[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
}
.age-legende-montant[b-2pqicwghcc] {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.age-legende-sub[b-2pqicwghcc] { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ── Les outils ───────────────────────────────────────────────────────── */
.age-outils[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 12px;
}

.age-recherche[b-2pqicwghcc] { flex: 1 1 240px; max-width: 340px; }

.age-periode[b-2pqicwghcc],
.age-tri[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}
.age-periode input[type=date][b-2pqicwghcc] { width: 160px; padding-top: 6px; padding-bottom: 6px; }
.age-recherche[b-2pqicwghcc] { width: auto; }
.age-tri select[b-2pqicwghcc] { width: auto; min-width: 190px; padding-top: 6px; padding-bottom: 6px; }

.age-outil-label[b-2pqicwghcc] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.age-depliage[b-2pqicwghcc] { display: flex; gap: 8px; margin-left: auto; }

.age-filtre-etat[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.age-chip[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    padding: 2px 4px 2px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--t);
    background: color-mix(in srgb, var(--t) 10%, transparent);
    color: var(--text-primary);
    font-weight: 500;
}
.age-chip button[b-2pqicwghcc] {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 6px;
}

/* ── Le tableau ───────────────────────────────────────────────────────── */
.age-table-defile[b-2pqicwghcc] {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.age-table[b-2pqicwghcc] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}

.age-table th[b-2pqicwghcc] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-tertiary);
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
}

.age-table td[b-2pqicwghcc] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    white-space: nowrap;
    vertical-align: middle;
}

.age-table .num[b-2pqicwghcc] { text-align: right; }
.age-table th.num[b-2pqicwghcc] { text-align: right; }
.age-table .col-client[b-2pqicwghcc] { min-width: 280px; white-space: normal; }

/* Une ligne client : cliquable, qui se signale au survol. */
.age-ligne-client[b-2pqicwghcc] { cursor: pointer; transition: background var(--transition); }
.age-ligne-client:hover > td[b-2pqicwghcc] { background: var(--bg-glass-hover); }
.age-ligne-client.est-deplie > td[b-2pqicwghcc] { background: var(--accent-soft); border-bottom-color: transparent; }

.age-client[b-2pqicwghcc] { display: flex; align-items: center; gap: 10px; }

.age-chevron[b-2pqicwghcc] {
    display: inline-flex;
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
}
.est-deplie .age-chevron[b-2pqicwghcc] { transform: rotate(90deg); color: var(--accent); }

.age-avatar[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.age-client-corps[b-2pqicwghcc] { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.age-client-nom[b-2pqicwghcc] { font-weight: 600; color: var(--text-primary); }
.age-client-sub[b-2pqicwghcc] { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* Le profil d'âge du client, en miniature : la même rampe que la grande barre. */
.age-mini-barre[b-2pqicwghcc] {
    display: flex;
    gap: 2px;
    width: 140px;
    height: 5px;
    border-radius: var(--radius-full);
    overflow: hidden;
}
.age-mini-barre i[b-2pqicwghcc] { flex-basis: 0; min-width: 3px; background: var(--t); }

/* Un montant dans sa tranche : une teinte de fond légère, le chiffre à l'encre du texte. */
.age-montant[b-2pqicwghcc] { background: color-mix(in srgb, var(--t) 9%, transparent); }
.age-ligne-client.est-deplie > td.age-montant[b-2pqicwghcc] { background: color-mix(in srgb, var(--t) 14%, var(--accent-soft)); }
.age-zero[b-2pqicwghcc] { color: var(--text-muted); }
.age-solde[b-2pqicwghcc] { font-weight: 700; }

/* Les factures d'un client dépliées : en retrait, plus petites, sur fond tertiaire. */
.age-ligne-facture > td[b-2pqicwghcc] {
    background: var(--bg-tertiary);
    font-size: 13px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.age-ligne-facture > td.age-montant[b-2pqicwghcc] { background: color-mix(in srgb, var(--t) 12%, var(--bg-tertiary)); }
.age-ligne-facture > td.col-client[b-2pqicwghcc] { padding-left: 82px; }

.age-facture[b-2pqicwghcc] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.age-facture-no[b-2pqicwghcc] { font-weight: 600; color: var(--text-primary); text-decoration: none; }
a.age-facture-no[b-2pqicwghcc] { color: var(--accent); }
a.age-facture-no:hover[b-2pqicwghcc] { text-decoration: underline; }
.age-facture-dates[b-2pqicwghcc] { font-size: 12px; color: var(--text-secondary); }

.age-tag[b-2pqicwghcc] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: var(--draft-soft);
    color: var(--draft);
}

.age-badge[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--t) 40%, transparent);
    background: color-mix(in srgb, var(--t) 10%, transparent);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
}

.age-table tfoot td[b-2pqicwghcc] {
    background: var(--bg-tertiary);
    font-weight: 700;
    border-top: 2px solid var(--border);
    border-bottom: none;
}
.age-table tfoot .age-pied-pct td[b-2pqicwghcc] {
    border-top: none;
    font-weight: 500;
    font-size: 12px;
    color: var(--text-secondary);
    padding-top: 0;
}

.age-vide[b-2pqicwghcc] {
    text-align: center;
    padding: 32px 12px !important;
    color: var(--text-muted);
    white-space: normal !important;
}

.age-note[b-2pqicwghcc] { font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 720px) {
    .age-depliage[b-2pqicwghcc] { margin-left: 0; }
    .age-recherche[b-2pqicwghcc] { max-width: none; }
    .age-ligne-facture > td.col-client[b-2pqicwghcc] { padding-left: 20px; }
    .age-mini-barre[b-2pqicwghcc] { width: 100px; }
}

/* ── Les habitudes de paiement ────────────────────────────────────────────
   Le TON d'un profil colore la pastille et le filet de la carte, jamais le texte. Les
   couleurs d'état (succès, avertissement) sont celles d'app.css ; risque et alerte
   reprennent la rampe des tranches, pour que « à risque » et « plus de 90 j » se répondent. */
.ton-ok[b-2pqicwghcc]        { --ton: var(--status-success); }
.ton-attention[b-2pqicwghcc] { --ton: var(--t1); }
.ton-alerte[b-2pqicwghcc]    { --ton: var(--t2); }
.ton-risque[b-2pqicwghcc]    { --ton: var(--t4); }
.ton-neutre[b-2pqicwghcc]    { --ton: var(--text-muted); }

.age-profil-pastille[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--ton) 45%, transparent);
    background: color-mix(in srgb, var(--ton) 10%, transparent);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: 1px;
}
.age-profil-pastille i[b-2pqicwghcc] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ton);
}

.age-ligne-profil > td[b-2pqicwghcc] {
    background: var(--bg-tertiary);
    padding: 12px 16px 14px 70px;
    white-space: normal;
}

.age-profil[b-2pqicwghcc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-left: 3px solid var(--ton);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.age-profil-entete[b-2pqicwghcc] { display: flex; gap: 12px; align-items: flex-start; }

.age-profil-icone[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
}

.age-profil-tete[b-2pqicwghcc] { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.age-profil-sur[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.age-profil-sur .age-profil-pastille[b-2pqicwghcc] { text-transform: none; letter-spacing: 0; }

.age-profil-titre[b-2pqicwghcc] {
    margin: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-primary);
}

.age-profil-corps[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: flex-start;
    padding-left: 44px;
}

.age-profil-constats[b-2pqicwghcc] {
    flex: 1 1 320px;
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}
.age-profil-constats li[b-2pqicwghcc]::marker { color: var(--text-muted); }

.age-piste[b-2pqicwghcc] { margin: 0; flex: none; }
.age-piste svg[b-2pqicwghcc] { display: block; overflow: visible; }
.age-piste rect[b-2pqicwghcc] { fill: var(--t); }
.age-piste-echeance[b-2pqicwghcc] { stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.age-piste figcaption[b-2pqicwghcc] {
    max-width: 240px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-muted);
}

.age-profil-action[b-2pqicwghcc] {
    margin: 0 0 0 44px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    font-size: 13px;
    color: var(--text-primary);
}
.age-profil-action-label[b-2pqicwghcc] {
    margin-right: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
}

.age-note-alerte[b-2pqicwghcc] { color: var(--text-secondary); }

@media (max-width: 720px) {
    .age-ligne-profil > td[b-2pqicwghcc] { padding-left: 12px; }
    .age-profil-corps[b-2pqicwghcc], .age-profil-action[b-2pqicwghcc] { padding-left: 0; margin-left: 0; }
}

/* ── Les priorités de recouvrement ───────────────────────────────────── */
.age-priorites-sous[b-2pqicwghcc] { font-size: 12px; color: var(--text-muted); }

.age-priorites-liste[b-2pqicwghcc] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.age-priorite[b-2pqicwghcc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--ton);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.age-priorite-tete[b-2pqicwghcc] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.age-priorite-tete .age-profil-pastille[b-2pqicwghcc] { margin-left: 0; }
.age-priorite-enjeu[b-2pqicwghcc] { font-size: 12.5px; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.age-priorite-action[b-2pqicwghcc] { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-secondary); }

.age-priorite-clients[b-2pqicwghcc] { display: flex; flex-wrap: wrap; gap: 6px; }
.age-priorite-client[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.age-priorite-client span[b-2pqicwghcc] { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.age-priorite-client:hover[b-2pqicwghcc] { border-color: var(--accent); background: var(--accent-soft); }

.age-priorites-vide[b-2pqicwghcc],
.age-priorites-note[b-2pqicwghcc] { margin: 10px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* ── La livraison ─────────────────────────────────────────────────────────
   Une seconde dimension, donc une seconde famille de couleurs, distincte de la rampe des
   tranches : un ÉTAT, pas une durée. Vert quand l'équipement est chez le client, bleu
   quand il est en route dans l'entrepôt, gris quand rien n'est parti. Le libellé
   accompagne toujours la couleur. */
.age[b-2pqicwghcc] {
    --liv-livre: #15803d;
    --liv-partiel: #0f766e;
    --liv-encours: #2563eb;
    --liv-nonprepare: #6b7084;
    --liv-rien: #a7adbb;
}

[data-theme="dark"] .age[b-2pqicwghcc] {
    --liv-livre: #4ade80;
    --liv-partiel: #2dd4bf;
    --liv-encours: #60a5fa;
    --liv-nonprepare: #9aa4b1;
    --liv-rien: #5b6372;
}

.liv-livre[b-2pqicwghcc]      { --t: var(--liv-livre); --ton: var(--liv-livre); }
.liv-partiel[b-2pqicwghcc]    { --t: var(--liv-partiel); --ton: var(--liv-partiel); }
.liv-encours[b-2pqicwghcc]    { --t: var(--liv-encours); --ton: var(--liv-encours); }
.liv-nonprepare[b-2pqicwghcc] { --t: var(--liv-nonprepare); --ton: var(--liv-nonprepare); }
.liv-rien[b-2pqicwghcc]       { --t: var(--liv-rien); --ton: var(--liv-rien); }

.age-kpi-exigible[b-2pqicwghcc] { box-shadow: inset 3px 0 0 var(--liv-livre); border-color: color-mix(in srgb, var(--liv-livre) 40%, transparent); }

.age-livraison-intro[b-2pqicwghcc] {
    margin: -6px 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.age-barre-livraison[b-2pqicwghcc] { margin-bottom: 14px; }
.age-segment-liv[b-2pqicwghcc] {
    flex-basis: 0;
    min-width: 6px;
    padding: 0 10px;
    background: var(--t);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 34px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .age-segment-liv[b-2pqicwghcc] { color: #14161f; }

.age-matrice-defile[b-2pqicwghcc] { margin-bottom: 4px; }
.age-matrice td[b-2pqicwghcc] { vertical-align: top; }
.age-matrice-ligne[b-2pqicwghcc] { cursor: pointer; transition: background var(--transition); }
.age-matrice-ligne:hover > td[b-2pqicwghcc] { background: var(--bg-glass-hover); }
.age-matrice-ligne.est-actif > td[b-2pqicwghcc] { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.age-matrice-ligne.est-vide[b-2pqicwghcc] { cursor: default; }
.age-matrice-ligne.est-vide .age-liv-nom[b-2pqicwghcc] { color: var(--text-muted); }
.age-liv-nom[b-2pqicwghcc] { display: inline-flex; align-items: center; font-weight: 600; color: var(--text-primary); }
.age-matrice-montant[b-2pqicwghcc] { display: block; font-weight: 600; }
.age-matrice-nb[b-2pqicwghcc] { display: block; font-size: 11.5px; color: var(--text-muted); }

.age-alerte-livraison[b-2pqicwghcc] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--t2) 45%, transparent);
    border-left: 3px solid var(--t2);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--t2) 7%, transparent);
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.age-alerte-livraison:hover[b-2pqicwghcc],
.age-alerte-livraison.est-actif[b-2pqicwghcc] { background: color-mix(in srgb, var(--t2) 14%, transparent); }
.age-alerte-icone[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: none;
    border-radius: 50%;
    background: var(--t2);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.age-alerte-sous[b-2pqicwghcc] { display: block; margin-top: 2px; font-size: 12px; color: var(--text-secondary); }

.age-priorite-exigible[b-2pqicwghcc] { margin-left: 6px; color: var(--liv-livre); font-weight: 600; }
.age-chip-liv[b-2pqicwghcc] { --t: var(--accent); }

.age-du-livre[b-2pqicwghcc] { font-weight: 600; }
.age-du-attente[b-2pqicwghcc] { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); }

.age-livraison-facture[b-2pqicwghcc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.age-liv-pastille[b-2pqicwghcc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    border: 1px solid color-mix(in srgb, var(--ton) 45%, transparent);
    background: color-mix(in srgb, var(--ton) 10%, transparent);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.age-liv-pastille i[b-2pqicwghcc] { width: 7px; height: 7px; border-radius: 50%; background: var(--ton); }

.age-tag-alerte[b-2pqicwghcc] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--t2) 12%, transparent);
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--t2) 40%, transparent);
}

.age-articles[b-2pqicwghcc] {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    color: var(--text-secondary);
}
.age-articles li[b-2pqicwghcc] { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.age-articles .age-pastille[b-2pqicwghcc] { margin-right: 0; }
.age-article-nom[b-2pqicwghcc] { color: var(--text-primary); font-weight: 500; }
.age-article-qte[b-2pqicwghcc] { color: var(--text-muted); font-variant-numeric: tabular-nums; }

.age-profil-livraison[b-2pqicwghcc] {
    margin: 0 0 0 44px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--liv-nonprepare);
    background: color-mix(in srgb, var(--liv-nonprepare) 10%, transparent);
    font-size: 13px;
    color: var(--text-primary);
}
.age-priorite-non-livre[b-2pqicwghcc] {
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    padding: 0 6px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--liv-nonprepare) 16%, transparent);
    color: var(--text-primary);
}
@media (max-width: 720px) {
    .age-profil-livraison[b-2pqicwghcc] { margin-left: 0; }
}
/* /Components/Pages/Analyse.razor.rz.scp.css */
/* Analyse à la demande — la question en haut, la réponse en dessous, rien d'autre. */

.field-label[b-ndwv4o9rbk] {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.question-champ[b-ndwv4o9rbk] {
    width: 100%;
    resize: vertical;
    min-height: 58px;
}

.question-pied[b-ndwv4o9rbk] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Les suggestions sont des boutons-puces : un clic remplit le champ, l'utilisateur garde la
   main (et peut retoucher la question) avant de dépenser une analyse. */
.suggestions[b-ndwv4o9rbk] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    min-width: 260px;
}

.suggestion[b-ndwv4o9rbk] {
    border: 1px solid var(--border);
    background: var(--bg-glass);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    padding: 4px 12px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion:hover:not(:disabled)[b-ndwv4o9rbk] {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* La liste d'étapes : ce que l'analyse fait pendant qu'on attend. La dernière pulse. */
.etapes[b-ndwv4o9rbk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.etape[b-ndwv4o9rbk] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.etape-heure[b-ndwv4o9rbk] {
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex: none;
}

.etape.faite[b-ndwv4o9rbk]::before,
.etape.en-cours[b-ndwv4o9rbk]::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: none;
    align-self: center;
}

.etape.faite[b-ndwv4o9rbk]::before { background: var(--status-success); }

.etape.en-cours[b-ndwv4o9rbk]::before {
    background: var(--accent);
    animation: pulsation-b-ndwv4o9rbk 1.2s ease-in-out infinite;
}

@keyframes pulsation-b-ndwv4o9rbk {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* La réponse */
.resultat-titre[b-ndwv4o9rbk] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.resultat-question[b-ndwv4o9rbk] {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0 0 14px;
}

.insights[b-ndwv4o9rbk] {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.insights li[b-ndwv4o9rbk] {
    padding: 10px 14px;
    border-left: 3px solid var(--accent);
    background: var(--bg-glass);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.grille-graphiques[b-ndwv4o9rbk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.carte-graphique[b-ndwv4o9rbk] {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    background: var(--bg-glass);
    min-width: 0;
}

.tableau-titre[b-ndwv4o9rbk] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 18px 0 8px;
}

.recommandations[b-ndwv4o9rbk] {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.recommandations li[b-ndwv4o9rbk] {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.recommandations li[b-ndwv4o9rbk]::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    flex: none;
}

/* L'honnêteté de l'analyse : ce qu'elle n'a pas pu vérifier, discret mais présent. */
.limites[b-ndwv4o9rbk] {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
    margin: 0 0 8px;
}

.resultat-meta[b-ndwv4o9rbk] {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.analyse-erreur .erreur-detail[b-ndwv4o9rbk] {
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.analyse-erreur .resultat-titre[b-ndwv4o9rbk] { color: var(--status-danger); }

/* L'historique : rouvrir une analyse payée sans la repayer. */
.historique-titre[b-ndwv4o9rbk] { margin-top: 0; }

.historique[b-ndwv4o9rbk] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.historique-lien[b-ndwv4o9rbk] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.historique-lien:hover[b-ndwv4o9rbk] { background: var(--bg-glass-hover); }

.historique-question[b-ndwv4o9rbk] {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 500;
}

.historique-detail[b-ndwv4o9rbk] {
    color: var(--text-muted);
    font-size: 0.76rem;
}
/* /Components/Pages/Commissions.razor.rz.scp.css */
/* Commissions des vendeurs — styles propres à la page. Aucune couleur nouvelle : les jetons
   d'app.css (accent, bordures, textes) suffisent ; les montants négatifs reprennent le rouge
   des KPI (.neg). */

.com-pill-client[b-2l9ui486i0] { border-color: var(--accent); color: var(--accent); font-weight: 600; }

.com-source-vendeur[b-2l9ui486i0] { color: var(--text-muted); font-size: 12px; }

.com-entete-pills[b-2l9ui486i0] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Les filtres ───────────────────────────────────────────────────────── */
.com-outils[b-2l9ui486i0] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 14px;
}

.com-champ[b-2l9ui486i0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.com-champ .input[b-2l9ui486i0] { min-width: 170px; text-transform: none; letter-spacing: 0; }

.com-vues[b-2l9ui486i0] {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 2px;
}

.com-vue[b-2l9ui486i0] {
    border: 0;
    background: none;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font: inherit;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.com-vue.est-active[b-2l9ui486i0] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.com-actions[b-2l9ui486i0] {
    margin-left: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.com-kpis[b-2l9ui486i0] { margin-bottom: 4px; }

/* ── Les tableaux ──────────────────────────────────────────────────────── */
.com-table[b-2l9ui486i0] { min-width: 640px; table-layout: auto; }
.com-table td[b-2l9ui486i0], .com-table tfoot td[b-2l9ui486i0] { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.com-table .num[b-2l9ui486i0] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.com-table .neg[b-2l9ui486i0] { color: #dc2626; }
[data-theme="dark"] .com-table .neg[b-2l9ui486i0] { color: #f87171; }
.com-table tfoot td[b-2l9ui486i0] { background: var(--bg-tertiary); }
.com-table code[b-2l9ui486i0] { font-size: 12px; color: var(--text-muted); }

.com-note[b-2l9ui486i0] {
    margin: 12px 2px 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ── Les catégories d'attente : trois boutons qui filtrent ─────────────── */
.com-categories[b-2l9ui486i0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.com-categorie[b-2l9ui486i0] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.com-categorie:hover[b-2l9ui486i0] { border-color: var(--text-secondary); }
.com-categorie.est-active[b-2l9ui486i0] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.com-categorie-nom[b-2l9ui486i0] { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.com-categorie-valeur[b-2l9ui486i0] { font-size: 20px; font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.com-categorie-sub[b-2l9ui486i0] { font-size: 12px; color: var(--text-muted); }

/* ── Les jauges (palier, nouveaux clients) ─────────────────────────────── */
.com-palier[b-2l9ui486i0] { margin: 6px 0 18px; }
.com-palier-entete[b-2l9ui486i0] { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.com-palier-pied[b-2l9ui486i0] { font-size: 12.5px; margin-top: 6px; }

.com-jauge[b-2l9ui486i0] {
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    overflow: hidden;
}

.com-jauge-petite[b-2l9ui486i0] { height: 6px; width: 140px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.com-jauge-plein[b-2l9ui486i0] { height: 100%; background: var(--accent); border-radius: inherit; }

.com-regles-communes[b-2l9ui486i0] { margin-top: 14px; }

@media (max-width: 640px) {
    .com-actions[b-2l9ui486i0] { margin-left: 0; }
    .com-champ .input[b-2l9ui486i0] { min-width: 0; width: 100%; }
}

.com-progression[b-2l9ui486i0] { white-space: nowrap; }

/* ── La méthode : une bulle « i » à côté du titre ──────────────────────── */
.com-titre[b-2l9ui486i0] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.com-info[b-2l9ui486i0] { position: relative; }
.com-info-bouton[b-2l9ui486i0] {
    list-style: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font: 700 13px/1 Georgia, 'Times New Roman', serif;
    font-style: italic;
    cursor: pointer;
    user-select: none;
}
.com-info-bouton[b-2l9ui486i0]::-webkit-details-marker { display: none; }
.com-info-bouton:hover[b-2l9ui486i0], .com-info[open] .com-info-bouton[b-2l9ui486i0] { background: var(--accent); color: #fff; }
.com-info-bouton:focus-visible[b-2l9ui486i0] { outline: 2px solid var(--accent); outline-offset: 2px; }
.com-info-bulle[b-2l9ui486i0] {
    position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
    width: min(620px, calc(100vw - 48px));
    padding: 14px 18px 16px;
    background: var(--bg-elevated, var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg, 0 8px 32px rgba(0, 0, 0, 0.12));
}
.com-info-titre[b-2l9ui486i0] { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.com-info-bulle .com-note[b-2l9ui486i0] { margin-top: 10px; }
.com-etapes[b-2l9ui486i0] { margin: 12px 0 0 20px; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
.com-etapes strong[b-2l9ui486i0] { color: var(--text-primary); }

/* ── La piste de vérification (tiroir) ─────────────────────────────────── */
.com-voir[b-2l9ui486i0] { white-space: nowrap; }
.com-detail[b-2l9ui486i0] { display: grid; gap: 20px; }
.com-detail h3[b-2l9ui486i0] { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.com-fiche[b-2l9ui486i0] { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; margin: 0 0 10px; }
.com-fiche dt[b-2l9ui486i0] { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.com-fiche dd[b-2l9ui486i0] { margin: 2px 0 0; font-size: 14px; color: var(--text-primary); }
.com-mini[b-2l9ui486i0] { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.com-mini th[b-2l9ui486i0] { text-align: left; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.com-mini td[b-2l9ui486i0] { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.com-mini .num[b-2l9ui486i0] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.com-mini tr.com-exclue td[b-2l9ui486i0] { color: var(--text-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--text-muted) 50%, transparent); }
.com-mini tr.com-exclue td:last-child[b-2l9ui486i0] { text-decoration: none; }
.com-mini tr.com-solde td[b-2l9ui486i0] { background: var(--accent-soft); font-weight: 600; }
.com-phrase[b-2l9ui486i0] { margin: 0 0 6px; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }
.com-phrase.com-retrait[b-2l9ui486i0] { margin-left: 18px; color: var(--text-muted); }
.com-phrase.com-total[b-2l9ui486i0] { margin-top: 10px; font-weight: 700; color: var(--text-primary); }
.com-liee[b-2l9ui486i0] { margin-top: 10px; padding: 8px 10px; border-left: 3px solid var(--border); font-size: 13px; }

/* ── Les crochets : une décision = ✓ ou ✗, le fait qui l'a tranchée entre crochets ── */
.com-crochets[b-2l9ui486i0] { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; }
.com-crochet[b-2l9ui486i0] {
    display: inline-flex; align-items: baseline; gap: 4px;
    padding: 2px 8px; border-radius: var(--radius-full);
    font-size: 12px; white-space: nowrap;
    border: 1px solid var(--border); background: var(--bg-secondary); color: var(--text-secondary);
}
.com-crochet b[b-2l9ui486i0] { font-weight: 800; }
.com-crochet small[b-2l9ui486i0] { color: var(--text-muted); font-size: 11px; margin-left: 3px; }
.com-crochet.ok b[b-2l9ui486i0] { color: #15803d; }
.com-crochet.non[b-2l9ui486i0] { background: transparent; color: var(--text-muted); }
.com-crochet.non b[b-2l9ui486i0] { color: #dc2626; }
[data-theme="dark"] .com-crochet.ok b[b-2l9ui486i0] { color: #4ade80; }
[data-theme="dark"] .com-crochet.non b[b-2l9ui486i0] { color: #f87171; }
.com-conditions[b-2l9ui486i0] { padding: 10px 12px; border-radius: var(--radius-md); background: var(--bg-tertiary); }
.com-decisions td[b-2l9ui486i0] { vertical-align: top; }
.com-decisions tr.com-ecartee td[b-2l9ui486i0] { color: var(--text-muted); }
.com-decisions tfoot td[b-2l9ui486i0] { border-bottom: 0; }
.com-decisions[b-2l9ui486i0] { table-layout: fixed; }
.com-decisions th:nth-child(1)[b-2l9ui486i0] { width: 24%; }
.com-decisions th:nth-child(2)[b-2l9ui486i0] { width: 38%; }
.com-decisions th:nth-child(4)[b-2l9ui486i0] { width: 16%; }
.com-decisions td[b-2l9ui486i0] { overflow-wrap: break-word; font-variant-numeric: tabular-nums; }
.com-decisions .com-crochet[b-2l9ui486i0] { white-space: normal; display: inline-block; }

/* ── Les filtres : vendeur, puis période (mois, exercice ou intervalle libre) ── */
.com-filtre[b-2l9ui486i0] { display: flex; flex-direction: column; gap: 6px; }
.com-filtre-vendeur[b-2l9ui486i0] { flex-basis: 100%; }
.com-filtre-titre[b-2l9ui486i0] { font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.com-filtre .com-vues[b-2l9ui486i0] { flex-wrap: wrap; }
.com-periode[b-2l9ui486i0] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.com-periode .input[b-2l9ui486i0] { min-width: 0; width: auto; }
.com-date[b-2l9ui486i0] { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }
.com-raccourcis[b-2l9ui486i0] { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; }
.com-filtre .com-vues[b-2l9ui486i0] { align-self: flex-start; }
.com-pdf[b-2l9ui486i0] { margin-left: 8px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: var(--radius-sm, 4px); border: 1px solid var(--border); color: var(--accent); text-decoration: none; }
.com-pdf:hover[b-2l9ui486i0] { background: var(--accent-soft); }
/* /Components/Pages/ComptabiliteEntentes.razor.rz.scp.css */
/* Ententes de commission — styles propres à la page. Aucune couleur nouvelle : les jetons
   d'app.css (accent, bordures, textes) suffisent ; les écarts négatifs reprennent le rouge des
   KPI (.neg), les positifs le vert des pastilles « ok ». */

.ent-entete-pills[b-c4a52btofp] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ent-kpis[b-c4a52btofp] { margin-bottom: 4px; }

/* ── La barre d'état du brouillon ──────────────────────────────────────── */
.ent-barre[b-c4a52btofp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 64px;
    z-index: 5;
    padding: 12px 16px;
}
.ent-barre.est-modifie[b-c4a52btofp] { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.ent-barre-etat[b-c4a52btofp] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; }
.ent-barre-actions[b-c4a52btofp] { display: flex; flex-wrap: wrap; gap: 8px; }

.ent-problemes[b-c4a52btofp] { margin: 6px 0 0 18px; display: grid; gap: 3px; }
.ent-problemes code[b-c4a52btofp] { font-size: 12px; margin-right: 4px; }

.ent-changements summary[b-c4a52btofp] { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--text-primary); }
.ent-changements ul[b-c4a52btofp] { margin: 10px 0 0 18px; display: grid; gap: 4px; font-size: 13px; color: var(--text-secondary); }

/* ── La liste : une ligne par vendeur, la ligne ouverte porte l'accent ─── */
.ent-liste-entete[b-c4a52btofp] { margin-bottom: 10px; }
.ent-resume[b-c4a52btofp] { min-width: 720px; }
.ent-resume td[b-c4a52btofp] { vertical-align: middle; }
.ent-ligne[b-c4a52btofp] { cursor: pointer; }
.ent-ligne:hover td[b-c4a52btofp] { background: var(--bg-tertiary); }
.ent-ligne.est-ouverte td[b-c4a52btofp] { background: var(--accent-soft); }
.ent-ligne.est-ouverte td:first-child[b-c4a52btofp] { box-shadow: inset 3px 0 0 var(--accent); }
.ent-ligne.a-probleme td:first-child[b-c4a52btofp] { box-shadow: inset 3px 0 0 #a16207; }
.ent-ligne td:first-child strong[b-c4a52btofp] { white-space: nowrap; }
.ent-ligne td:first-child code[b-c4a52btofp] { margin-left: 8px; }
.ent-taux[b-c4a52btofp] { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.ent-th-action[b-c4a52btofp], .ent-td-action[b-c4a52btofp] { text-align: right; white-space: nowrap; }

/* ── Une entente, une carte (le détail du vendeur ouvert) ───────────────── */
.ent-carte[b-c4a52btofp] { display: grid; gap: 16px; }
.ent-carte.est-neuve[b-c4a52btofp] { border-color: var(--accent); }
.ent-carte[b-c4a52btofp] { border-color: var(--accent); }
.ent-carte-entete[b-c4a52btofp] { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; }
.ent-carte-entete .ent-lecture[b-c4a52btofp] { grid-column: 1; }
.ent-fermer[b-c4a52btofp] { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.ent-carte-identite[b-c4a52btofp] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ent-carte-titre[b-c4a52btofp] { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); }
.ent-code-fixe[b-c4a52btofp] { font-size: 12px; color: var(--text-muted); }
.ent-code[b-c4a52btofp] { max-width: 220px; text-transform: uppercase; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; }
.ent-lecture[b-c4a52btofp] { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }

/* La ligne du temps des versions : des puces, la choisie porte l'accent. */
.ent-versions[b-c4a52btofp] { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.ent-version[b-c4a52btofp] {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    font: inherit; text-align: left; cursor: pointer;
    color: var(--text-secondary);
}
.ent-version:hover[b-c4a52btofp] { border-color: var(--text-secondary); }
.ent-version.est-choisie[b-c4a52btofp] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); color: var(--text-primary); }
.ent-version-periode[b-c4a52btofp] { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ent-version-etat[b-c4a52btofp] { font-size: 11.5px; color: var(--text-muted); }
.ent-version-envigueur .ent-version-etat[b-c4a52btofp] { color: #15803d; }
.ent-version-avenir .ent-version-etat[b-c4a52btofp] { color: #a16207; }
[data-theme="dark"] .ent-version-envigueur .ent-version-etat[b-c4a52btofp] { color: #4ade80; }
[data-theme="dark"] .ent-version-avenir .ent-version-etat[b-c4a52btofp] { color: #fcd34d; }

.ent-nouvelle-version[b-c4a52btofp] { margin-left: auto; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.ent-date[b-c4a52btofp] { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ent-date .input[b-c4a52btofp] { text-transform: none; letter-spacing: 0; }

/* ── Le formulaire d'une version ───────────────────────────────────────── */
.ent-formulaire[b-c4a52btofp] { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.ent-formulaire:disabled[b-c4a52btofp] { opacity: 0.8; }
.ent-formulaire + .ent-formulaire[b-c4a52btofp] { padding-top: 14px; border-top: 1px dashed var(--border-subtle); }
.ent-groupe[b-c4a52btofp] { display: grid; gap: 8px; }
.ent-groupe + .ent-groupe[b-c4a52btofp] { padding-top: 12px; border-top: 1px dashed var(--border-subtle); }
.ent-groupe-titre[b-c4a52btofp] { font-size: 11.5px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ent-groupe-aide[b-c4a52btofp] { margin: 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

.ent-case[b-c4a52btofp] { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; color: var(--text-primary); }
.ent-case input[b-c4a52btofp] { margin-top: 3px; accent-color: var(--accent); }
.ent-case strong[b-c4a52btofp] { font-weight: 500; display: block; }
.ent-case-aide[b-c4a52btofp] { display: block; font-size: 12px; color: var(--text-muted); }
/* Une case dont l'aide est une phrase entière : toute la largeur de la grille. */
.ent-case-large[b-c4a52btofp] { grid-column: 1 / -1; max-width: 860px; }
.ent-case-note[b-c4a52btofp] { grid-column: 1 / -1; margin: 0; }

.ent-mode[b-c4a52btofp] { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 4px; }
.ent-radio[b-c4a52btofp] { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-primary); cursor: pointer; }
.ent-radio input[b-c4a52btofp] { accent-color: var(--accent); }

.ent-saisie[b-c4a52btofp] { position: relative; display: flex; align-items: center; }
.ent-saisie .input[b-c4a52btofp] { width: 100%; padding-right: 32px; font-variant-numeric: tabular-nums; text-align: right; }
.ent-unite[b-c4a52btofp] { position: absolute; right: 10px; font-size: 12px; color: var(--text-muted); pointer-events: none; }

.ent-paliers[b-c4a52btofp] { border-collapse: collapse; font-size: 13px; max-width: 640px; }
.ent-paliers th[b-c4a52btofp] { text-align: left; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 8px; border-bottom: 1px solid var(--border); }
.ent-paliers td[b-c4a52btofp] { padding: 6px 8px; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
.ent-paliers td:first-child[b-c4a52btofp] { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ent-paliers .ent-saisie[b-c4a52btofp] { min-width: 150px; }
.ent-paliers-pied[b-c4a52btofp] { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ent-cumul[b-c4a52btofp] { min-width: 220px; }

.ent-carte-pied[b-c4a52btofp] { display: flex; justify-content: flex-end; }
.ent-danger[b-c4a52btofp] { color: #dc2626; }
[data-theme="dark"] .ent-danger[b-c4a52btofp] { color: #f87171; }

/* ── L'impact ──────────────────────────────────────────────────────────── */
.ent-impact-entete[b-c4a52btofp] { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ent-table[b-c4a52btofp] { min-width: 640px; table-layout: auto; }
.ent-table th[b-c4a52btofp], .ent-table td[b-c4a52btofp] { padding: 8px 12px; }
.ent-table .num[b-c4a52btofp] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ent-table .neg[b-c4a52btofp] { color: #dc2626; }
.ent-table .pos[b-c4a52btofp] { color: #15803d; }
[data-theme="dark"] .ent-table .neg[b-c4a52btofp] { color: #f87171; }
[data-theme="dark"] .ent-table .pos[b-c4a52btofp] { color: #4ade80; }
.ent-table tfoot td[b-c4a52btofp] { background: var(--bg-tertiary); border-top: 1px solid var(--border); }
.ent-th-groupe[b-c4a52btofp] { text-align: center; border-bottom: 1px solid var(--border); }

/* ── L'historique ──────────────────────────────────────────────────────── */
.ent-historique[b-c4a52btofp] { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13px; }
.ent-historique > li[b-c4a52btofp] { padding-left: 12px; border-left: 3px solid var(--border); }
.ent-historique-entete[b-c4a52btofp] { display: flex; gap: 10px; align-items: baseline; }
.ent-historique .mono[b-c4a52btofp] { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: var(--text-muted); }
.ent-historique ul[b-c4a52btofp] { margin: 4px 0 0 16px; display: grid; gap: 2px; color: var(--text-secondary); }

@media (max-width: 640px) {
    .ent-barre[b-c4a52btofp] { position: static; }
    .ent-carte-entete[b-c4a52btofp] { grid-template-columns: 1fr; }
    .ent-fermer[b-c4a52btofp] { grid-column: 1; grid-row: auto; justify-self: start; }
    .ent-nouvelle-version[b-c4a52btofp] { margin-left: 0; }
}
/* /Components/Pages/Compte.razor.rz.scp.css */
/* « Mon compte » — des lignes libellé · valeur · geste, qui s'empilent sur un téléphone
   (un tableau, lui, déborderait de la carte à 390 px). */
.compte-lignes[b-vo0oe92z1n] { display: flex; flex-direction: column; }

.compte-ligne[b-vo0oe92z1n] {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr) auto;
    gap: 6px 16px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    overflow-wrap: anywhere;
}
.compte-ligne:last-child[b-vo0oe92z1n] { border-bottom: none; }

.compte-libelle[b-vo0oe92z1n] { color: var(--text-secondary); }
.compte-geste[b-vo0oe92z1n] { justify-self: end; }

/* Le détail des droits : le nom du droit est la clé, il a besoin de place. */
.compte-droits .compte-ligne[b-vo0oe92z1n] { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); }

@media (max-width: 640px) {
    .compte-ligne[b-vo0oe92z1n],
    .compte-droits .compte-ligne[b-vo0oe92z1n] { grid-template-columns: minmax(0, 1fr); }
    .compte-geste[b-vo0oe92z1n] { justify-self: start; }
}
/* /Components/Pages/CompteDoubleAuthentification.razor.rz.scp.css */
/* Le code QR : un carré blanc à marge calme, même en thème sombre — un lecteur lit mal un code
   inversé. Taille bornée : lisible par un téléphone tenu à 30 cm, sans dévorer la page. */
.qr-double-auth[b-0asp4l02g9] {
    width: min(240px, 100%);
    margin: 12px 0 16px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.qr-double-auth[b-0asp4l02g9]  svg {
    display: block;
    width: 100%;
    height: auto;
}

.cle-manuelle[b-0asp4l02g9] {
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    word-break: break-word;
}

/* Deux colonnes de codes : ils se recopient ou s'impriment d'un coup d'œil. */
.codes-secours[b-0asp4l02g9] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
    margin: 12px 0;
    padding-left: 1.4em;
    font-size: 1.05rem;
}
/* /Components/Pages/Configuration.razor.rz.scp.css */
/* Page Configuration — styles propres à la page, jetons Proxima pour les deux thèmes.
   Les classes des écrans d'accès (.section-titre, .etat-texte, .integration-table…) sont
   dans app.css : le CSS isolé d'ici n'atteint pas les composants enfants. */

.etat-ligne[b-3ik4wrmumm] { margin-bottom: 10px; }

/* La case « Activer la connexion Odoo », au-dessus du formulaire. */
.activation[b-3ik4wrmumm] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-primary);
    cursor: pointer;
}
.activation input[b-3ik4wrmumm] { margin-top: 3px; accent-color: var(--accent); }
.activation-note[b-3ik4wrmumm] { font-weight: 400; color: var(--text-secondary); }

/* L'aide « Comment obtenir une clé API ? », repliée sous le champ clé — elle avait
   son propre onglet, retiré : la marche à suivre vit là où on colle la clé. */
.aide-cle[b-3ik4wrmumm] { margin-top: 6px; }
.aide-cle summary[b-3ik4wrmumm] {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}
.aide-cle summary:hover[b-3ik4wrmumm] { color: var(--text-primary); }
.aide-cle[open] summary[b-3ik4wrmumm] { margin-bottom: 8px; }

/* L'aide posée SOUS un champ de saisie (ex. « la racine, sans /odoo ») : le format d'une
   valeur se dit à l'endroit où on la tape, pas dans une documentation à côté. */
.champ-aide[b-3ik4wrmumm] {
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-muted);
}

.etat-manquants[b-3ik4wrmumm] {
    margin: 8px 0;
    padding-left: 22px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.etapes[b-3ik4wrmumm] {
    margin: 0 0 10px;
    padding-left: 22px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.test-zone[b-3ik4wrmumm] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Pastille d'échec — le pendant rouge de .pill-ok (app.css n'en définit pas). */
.pill-danger[b-3ik4wrmumm] { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }

.champ-aide code[b-3ik4wrmumm],
.etat-manquants code[b-3ik4wrmumm] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    padding: 1px 5px;
    color: var(--text-primary);
}
/* /Components/Pages/EditionRole.razor.rz.scp.css */
/* L'éditeur de rôles : deux colonnes — le rôle et ses droits, puis le résumé qui suit le
   défilement. Sous 1100 px, le résumé passe sous les droits. */

.er-grille[b-qpe2r4rrlx] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.er-principal[b-qpe2r4rrlx] { display: grid; gap: 20px; min-width: 0; }

.er-resume[b-qpe2r4rrlx] { position: sticky; top: 16px; }

@media (max-width: 1100px) {
    .er-grille[b-qpe2r4rrlx] { grid-template-columns: minmax(0, 1fr); }
    .er-resume[b-qpe2r4rrlx] { position: static; }
}

.er-carte[b-qpe2r4rrlx] { margin: 0; }

.er-titre[b-qpe2r4rrlx] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 16px;
    font-weight: 650;
    margin: 0 0 14px;
    color: var(--text-primary);
}

.er-compte[b-qpe2r4rrlx], .er-famille-compte[b-qpe2r4rrlx] {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

.er-champs[b-qpe2r4rrlx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.er-nom-fixe[b-qpe2r4rrlx] { margin: 6px 0 0; }

.er-aide[b-qpe2r4rrlx] {
    display: block;
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.er-chips[b-qpe2r4rrlx] { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }

/* Les deux réglages du rôle : de grandes cases à interrupteur. */
.er-options[b-qpe2r4rrlx] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.er-option[b-qpe2r4rrlx] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.er-option.est-on[b-qpe2r4rrlx] {
    border-color: var(--accent);
    background: var(--accent-wash);
}

.er-membres[b-qpe2r4rrlx] {
    margin-top: 16px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
}

.er-membres summary[b-qpe2r4rrlx] {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
}

/* L'interrupteur : la case reste une vraie case (clavier, lecteur d'écran), dessinée en piste. */
.er-interrupteur[b-qpe2r4rrlx] {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 20px;
    margin-top: 1px;
}

.er-interrupteur input[b-qpe2r4rrlx] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.er-interrupteur input:disabled[b-qpe2r4rrlx] { cursor: not-allowed; }

.er-piste[b-qpe2r4rrlx] {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.er-piste[b-qpe2r4rrlx]::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}

.er-interrupteur input:checked + .er-piste[b-qpe2r4rrlx] {
    background: var(--accent);
    border-color: var(--accent);
}

.er-interrupteur input:checked + .er-piste[b-qpe2r4rrlx]::after { transform: translateX(16px); }

.er-interrupteur input:focus-visible + .er-piste[b-qpe2r4rrlx] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.er-interrupteur input:disabled + .er-piste[b-qpe2r4rrlx] { opacity: 0.55; }

/* L'en-tête des droits : le titre, la recherche, les filtres. */
.er-entete-droits[b-qpe2r4rrlx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.er-entete-droits .er-titre[b-qpe2r4rrlx] { margin: 0; }

.er-recherche[b-qpe2r4rrlx] { max-width: 320px; flex: 1 1 220px; }

.er-filtres[b-qpe2r4rrlx] { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }

.er-tout[b-qpe2r4rrlx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.er-zone[b-qpe2r4rrlx] {
    margin: 22px 0 10px;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Une famille de droits = une carte. */
.er-famille[b-qpe2r4rrlx] {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-elevated);
}

.er-famille.a-des-droits[b-qpe2r4rrlx] { border-color: var(--accent-soft); }

.er-famille-entete[b-qpe2r4rrlx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.er-famille-entete > div[b-qpe2r4rrlx] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }

.er-famille-entete h4[b-qpe2r4rrlx] {
    margin: 0;
    font-size: 14px;
    font-weight: 650;
    color: var(--text-primary);
}

.er-famille-actions[b-qpe2r4rrlx] { display: flex; gap: 12px; font-size: 13px; }

.er-droits[b-qpe2r4rrlx] { list-style: none; margin: 0; padding: 0; }

.er-droit + .er-droit[b-qpe2r4rrlx] { border-top: 1px solid var(--border-subtle); }

.er-droit-ligne[b-qpe2r4rrlx] {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 14px;
    cursor: pointer;
    transition: background var(--transition);
}

.er-droit-ligne:hover[b-qpe2r4rrlx] { background: var(--accent-wash); }

.er-droit.est-herite .er-droit-ligne[b-qpe2r4rrlx] { cursor: default; }

.er-droit-texte[b-qpe2r4rrlx] { display: grid; gap: 4px; min-width: 0; }

.er-droit-description[b-qpe2r4rrlx] {
    font-size: 13.5px;
    color: var(--text-primary);
    line-height: 1.4;
}

.er-droit:not(.est-on) .er-droit-description[b-qpe2r4rrlx] { color: var(--text-secondary); }

.er-droit-meta[b-qpe2r4rrlx] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.er-droit-meta code[b-qpe2r4rrlx] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11.5px;
    color: var(--text-muted);
}

.er-herite[b-qpe2r4rrlx] { color: var(--text-muted); font-style: italic; }

.er-ecran[b-qpe2r4rrlx] {
    display: inline-block;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 11.5px;
}

.er-inclut[b-qpe2r4rrlx] { font-size: 12px; color: var(--text-secondary); }
.er-inclut .btn-link[b-qpe2r4rrlx] { margin-left: 8px; }

.er-suppression[b-qpe2r4rrlx] { display: flex; justify-content: flex-end; }

/* Le résumé. */
.er-chiffres[b-qpe2r4rrlx] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.er-chiffres > div[b-qpe2r4rrlx] {
    display: grid;
    justify-items: center;
    padding: 10px 6px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.er-chiffres strong[b-qpe2r4rrlx] { font-size: 22px; line-height: 1.1; color: var(--text-primary); }
.er-chiffres span[b-qpe2r4rrlx] { font-size: 11.5px; color: var(--text-muted); }
.er-chiffres .est-alerte strong[b-qpe2r4rrlx] { color: var(--status-danger); }

.er-public[b-qpe2r4rrlx] { margin: 0 0 8px; }

.er-resume-zone[b-qpe2r4rrlx] {
    margin: 14px 0 6px;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.er-resume-liste[b-qpe2r4rrlx], .er-changements[b-qpe2r4rrlx] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: 13px;
    color: var(--text-primary);
}

.er-resume-liste li[b-qpe2r4rrlx]::before { content: "✓ "; color: var(--status-success); }

.er-changements code[b-qpe2r4rrlx] { font-size: 12px; }
.er-changements .ajoute[b-qpe2r4rrlx] { color: var(--status-success); }
.er-changements .retire[b-qpe2r4rrlx] { color: var(--status-danger); }

.er-note[b-qpe2r4rrlx] { margin-top: 12px; font-size: 12.5px; }

.er-resume-actions[b-qpe2r4rrlx] { margin-top: 16px; display: flex; }
.er-resume-actions .btn-primary[b-qpe2r4rrlx] { flex: 1; }
/* /Components/Pages/ForgeApprobation.razor.rz.scp.css */
/* ── Deux colonnes : les demandes prêtes | le panneau de version ──────────────── */
.appro[b-ys1uvfon89] {
    display: grid;
    grid-template-columns: 1fr 348px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 940px) {
    .appro[b-ys1uvfon89] { grid-template-columns: 1fr; }
}

.appro-lab[b-ys1uvfon89] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.appro-compte[b-ys1uvfon89] {
    margin-left: auto;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* ── Une carte par demande : on choisit un CHANGEMENT, pas une ligne de tableau ── */
.cand[b-ys1uvfon89] { display: flex; flex-direction: column; gap: 12px; }

.pr[b-ys1uvfon89] {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.pr:hover[b-ys1uvfon89] { border-color: var(--text-muted); }
.pr.est-choisie[b-ys1uvfon89] {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.pr.est-bloquee[b-ys1uvfon89] { opacity: .55; }

/* Toute la carte est la cible du clic — pas une case à cocher de 16 px. */
.pr-clic[b-ys1uvfon89] {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 15px;
    width: 100%;
    padding: 17px 19px;
    background: none;
    border: 0;
    border-radius: var(--radius-md);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.pr-clic:disabled[b-ys1uvfon89] { cursor: not-allowed; }
.pr-clic:focus-visible[b-ys1uvfon89] {
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.pr-case[b-ys1uvfon89] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: var(--bg-secondary);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background var(--transition), border-color var(--transition);
}
.pr-case svg[b-ys1uvfon89] { opacity: 0; transition: opacity var(--transition); }
.pr.est-choisie .pr-case[b-ys1uvfon89] { background: var(--accent); border-color: var(--accent); }
.pr.est-choisie .pr-case svg[b-ys1uvfon89] { opacity: 1; }

.pr-corps[b-ys1uvfon89] { display: block; min-width: 0; }
.pr-titre[b-ys1uvfon89] { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }

.pr-marques[b-ys1uvfon89] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 9px;
}

/* Deux identifiants, deux poids : la DEMANDE est ce dont l'humain parle et ce que le rail
   affiche ; la PR est de la mécanique interne. Les rendre identiques les rend confusants. */
.pr-ref-demande[b-ys1uvfon89] {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.pr-ref-pr[b-ys1uvfon89] {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Un feu vert se lit à la couleur, pas au libellé. */
.chk[b-ys1uvfon89] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
}
.chk[b-ys1uvfon89]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex: none;
}
.chk.est-ok[b-ys1uvfon89] { color: var(--status-success); }
.chk.est-attente[b-ys1uvfon89] { color: var(--text-muted); }

.pr-detail[b-ys1uvfon89] {
    display: block;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── La preuve, sous la carte ──────────────────────────────────────────────────
   Hors du bouton de sélection : cliquer « Essayer » ne doit pas cocher la demande. */
.pr-preuve[b-ys1uvfon89] {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 0 19px 17px 54px;
    padding-top: 15px;
    border-top: 1px solid var(--border-subtle);
}

.pr-vignette[b-ys1uvfon89] {
    width: 168px;
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: block;
    background: var(--bg-secondary);
}

.pr-preuve-actions[b-ys1uvfon89] { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Le geste que l'écran veut encourager : essayer avant d'approuver. */
.pr-essayer[b-ys1uvfon89] {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.pr-essayer:hover[b-ys1uvfon89] { background: var(--accent-soft); }
.pr-essayer:focus-visible[b-ys1uvfon89] { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.pr-lien-sec[b-ys1uvfon89] { font-size: 12.5px; color: var(--text-muted); text-decoration: none; }
.pr-lien-sec:hover[b-ys1uvfon89] { color: var(--text-primary); }

@media (max-width: 620px) {
    .pr-preuve[b-ys1uvfon89] { margin-left: 19px; }
}

.pr-lien[b-ys1uvfon89] {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 12.5px;
    color: var(--text-secondary);
    text-decoration: none;
}
.pr-lien:hover[b-ys1uvfon89] { color: var(--accent); }

/* ── Panneau de version ───────────────────────────────────────────────────────── */
.appro-cote[b-ys1uvfon89] { position: sticky; top: 18px; }

.appro-proprio[b-ys1uvfon89] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 600;
}

.appro-somme[b-ys1uvfon89] { list-style: none; margin: 0 0 18px; padding: 0; }
.appro-somme li[b-ys1uvfon89] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
}
.appro-somme li span[b-ys1uvfon89] { color: var(--text-muted); }
.appro-somme li b[b-ys1uvfon89] { font-weight: 600; font-variant-numeric: tabular-nums; }

/* « brouillon — relis et ajuste » : dire que le texte vient d'ailleurs, sans le crier. */
.appro-etat[b-ys1uvfon89] {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 2px 8px;
}
/* /Components/Pages/ForgeDemande.razor.rz.scp.css */
/* ── Onglets (Nouvelle demande / Historique) ──────────────────────────────────── */
.onglets[b-qcjvkj2dxp] {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
}
.onglet[b-qcjvkj2dxp] {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}
.onglet:hover[b-qcjvkj2dxp] { color: var(--text-primary); }
.onglet.is-active[b-qcjvkj2dxp] { color: var(--accent); border-bottom-color: var(--accent); }
.onglet:focus-visible[b-qcjvkj2dxp] {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Escalier : le rail numéroté est le fil conducteur, pas une décoration ────── */
.stepper[b-qcjvkj2dxp] { max-width: 760px; }

.step[b-qcjvkj2dxp] { display: flex; gap: 20px; }

.rail[b-qcjvkj2dxp] { display: flex; flex-direction: column; align-items: center; flex: none; }

.num[b-qcjvkj2dxp] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    flex: none;
    box-shadow: 0 0 0 5px var(--accent-soft);
}

/* Le trait qui relie une étape à la suivante (l'effet « escalier »). */
.line[b-qcjvkj2dxp] { flex: 1; width: 1px; background: var(--border); margin: 9px 0; }

.scontent[b-qcjvkj2dxp] { flex: 1; min-width: 0; padding-bottom: 34px; }
.step:last-child .scontent[b-qcjvkj2dxp] { padding-bottom: 0; }

.stitle[b-qcjvkj2dxp] {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin-bottom: 3px;
}
.sdesc[b-qcjvkj2dxp] { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }

/* ── Dépôt d'une capture ───────────────────────────────────────────────────────
   Aucune règle d'apparence ici : la zone utilise le composant .dropzone du design
   system (app.css), exactement comme la page d'accueil. Elle a longtemps eu sa
   propre implémentation — bordure plus fine, disposition horizontale, icône en
   masque CSS — et le résultat était deux zones de dépôt différentes dans la même
   app. C'est ainsi qu'un design system se délite : une page à la fois. Seul
   l'espacement dans l'escalier est propre à cette page. */
.scontent > .dropzone[b-qcjvkj2dxp] { margin-top: 20px; }

/* Contrôle segmenté (type, portée, priorité) — cibles larges, état choisi sans ambiguïté. */
.seg[b-qcjvkj2dxp] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip-toggle[b-qcjvkj2dxp] {
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 9px 17px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.chip-toggle:hover[b-qcjvkj2dxp] { border-color: var(--text-muted); color: var(--text-primary); }
.chip-toggle:focus-visible[b-qcjvkj2dxp] {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.chip-toggle.is-on[b-qcjvkj2dxp] {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

/* ── Écran de confirmation ────────────────────────────────────────────────────── */
/* Le moment où un non-technicien relit sa propre demande en français. C'est la phrase
   qui attrape l'erreur avant qu'elle ne parte — donc elle se lit de loin. */
.recap-phrase[b-qcjvkj2dxp] {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.014em;
    color: var(--text-primary);
    background: none;
    border: 0;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    padding: 4px 0 4px 20px;
    margin-bottom: 26px;
    max-width: 60ch;
}

/* ── « Cody a relu » ───────────────────────────────────────────────────────────
   Un panneau de CONSEIL, pas une alerte : il ne doit ni bloquer, ni crier. D'où le
   ton neutre plutôt qu'un bandeau d'erreur — celui qui trouve toujours quelque chose
   à redire finit par être ignoré. */
.conseil[b-qcjvkj2dxp] {
    margin-bottom: 26px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-glass);
}
.conseil-titre[b-qcjvkj2dxp] {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text-primary);
}
.conseil-bloc[b-qcjvkj2dxp] { margin-bottom: 16px; }
.conseil-bloc:last-of-type[b-qcjvkj2dxp] { margin-bottom: 0; }
.conseil-lab[b-qcjvkj2dxp] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.conseil-liste[b-qcjvkj2dxp] {
    margin: 0;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.conseil-repro[b-qcjvkj2dxp] {
    margin: 0 0 11px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-primary);
}
.conseil-pied[b-qcjvkj2dxp] {
    margin: 16px 0 0;
    padding-top: 13px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12.5px;
    color: var(--text-muted);
}
.conseil-attente[b-qcjvkj2dxp] {
    margin-bottom: 26px;
    font-size: 13px;
    color: var(--text-muted);
}

.recap-list[b-qcjvkj2dxp] {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-subtle);
}

.recap-list li[b-qcjvkj2dxp] {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 620px) {
    .recap-list li[b-qcjvkj2dxp] { grid-template-columns: 1fr; gap: 3px; }
}

.recap-list li span[b-qcjvkj2dxp] {
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 500;
}

.recap-list li strong[b-qcjvkj2dxp] {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}
/* /Components/Pages/ForgeDossier.razor.rz.scp.css */
/* ── Fiche d'en-tête : faits clés de la demande sur une ligne ─────────────────── */
.fiche[b-7x5x02k28p] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    align-items: center;
}
.fiche-item[b-7x5x02k28p] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}
.fiche-item > span:first-child[b-7x5x02k28p] { color: var(--text-muted); font-size: 12.5px; }

/* ── Deux colonnes : chronologie | verdicts (empilées en étroit) ──────────────── */
.deux-colonnes[b-7x5x02k28p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}
@media (max-width: 980px) {
    .deux-colonnes[b-7x5x02k28p] { grid-template-columns: 1fr; }
}

/* ── Chronologie ──────────────────────────────────────────────────────────────────
   L'écran qui PROUVE que le système fonctionne — donc celui qui mérite le plus de
   soin. Chaque intervenant a une identité visible : on voit d'un coup ce qu'une
   machine a fait et ce qu'un humain a décidé. ─────────────────────────────────── */
.chrono[b-7x5x02k28p] {
    list-style: none;
    margin: 0;
    padding: 0;
}
.chrono-item[b-7x5x02k28p] {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 20px;
}
.chrono-item:not(:last-child)[b-7x5x02k28p]::before {
    content: "";
    position: absolute;
    left: 13.5px;
    top: 32px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.chrono-point[b-7x5x02k28p] {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 600;
    background: var(--machine-soft);
    color: var(--text-muted);
    border: 1px solid transparent;
    z-index: 1;
}
/* Le vert ne marque que ce qui est acquis ou décidé par un humain — jamais le travail
   courant d'un agent. Même convention que le rail de /forge/suivi. */
.chrono-item.est-ok .chrono-point[b-7x5x02k28p] {
    color: var(--accent);
    background: var(--accent-soft);
}
.chrono-item.est-echec .chrono-point[b-7x5x02k28p] {
    color: var(--status-danger);
    background: rgba(239, 68, 68, 0.12);
}
.chrono-item.est-attention .chrono-point[b-7x5x02k28p] {
    color: var(--status-warning);
    background: rgba(245, 158, 11, 0.14);
}
.chrono-meta[b-7x5x02k28p] {
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
    font-size: 12.5px;
}
.chrono-meta > span[b-7x5x02k28p] { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.chrono-meta > span:first-child[b-7x5x02k28p] { color: var(--text-primary); font-size: 13.5px; font-weight: 600; }
.chrono-texte[b-7x5x02k28p] { font-size: 13.5px; color: var(--text-secondary); margin-top: 3px; max-width: 76ch; }

/* ── Galerie avant/après : la preuve visuelle du verdict ─────────────────────── */
.galerie[b-7x5x02k28p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 12px 0;
}
.galerie figure[b-7x5x02k28p] { margin: 0; }
.galerie img[b-7x5x02k28p] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: block;
}
.galerie figcaption[b-7x5x02k28p] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
}

/* ── Verdicts du testeur : une carte par itération, la plus récente en haut ───── */
.verdict[b-7x5x02k28p] {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    margin-bottom: 12px;
    overflow: hidden;
}
.verdict.est-ok[b-7x5x02k28p] { border-color: var(--accent); }
.verdict.est-echec[b-7x5x02k28p] { border-color: rgba(245, 158, 11, 0.5); }

.verdict-tete[b-7x5x02k28p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 11px 14px;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13px;
    font-weight: 600;
}
.verdict.est-ok .verdict-tete[b-7x5x02k28p] { background: var(--accent-soft); color: var(--accent); }

.verdict-date[b-7x5x02k28p] {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.verdict-resume[b-7x5x02k28p] { margin: 0; padding: 12px 14px 4px; font-size: 13.5px; color: var(--text-secondary); }

.verdict-tests[b-7x5x02k28p] {
    list-style: none;
    margin: 0;
    padding: 8px 14px 12px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.verdict-tests li[b-7x5x02k28p] {
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 9px;
    align-items: start;
    color: var(--text-secondary);
}
.test-marque[b-7x5x02k28p] { flex: none; font-weight: 700; line-height: 1.5; }
.test-ok .test-marque[b-7x5x02k28p] { color: var(--status-success); }
.test-echec .test-marque[b-7x5x02k28p] { color: var(--status-danger); }
.verdict-tests em[b-7x5x02k28p] { color: var(--text-muted); font-style: normal; }
/* /Components/Pages/ForgeSuivi.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════════════════════════════
   LE RAIL — chaque demande occupe l'étape où elle se trouve.

   Règle de couleur qui porte tout l'écran : --accent ne sert QU'À signaler qu'un
   humain est requis ; --machine (gris neutre) porte tout ce que les agents font
   seuls. Ne pas introduire d'accent ailleurs ici, ça détruirait la convention.
   ═══════════════════════════════════════════════════════════════════════════════ */

.rail-cadre[b-zmtprym1s0] {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* ── En-tête : un seul chiffre mis en avant, celui qui demande une action ─────── */
.rail-tete[b-zmtprym1s0] {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}
.rail-titre[b-zmtprym1s0] { font-size: 15px; font-weight: 600; margin: 0; }
.rail-sous[b-zmtprym1s0] {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.rail-action[b-zmtprym1s0] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius-full, 999px);
    background: var(--accent-soft);
    color: var(--accent);
    transition: background var(--transition);
}
.rail-action:hover[b-zmtprym1s0] { background: var(--accent-glow); }
.rail-action-n[b-zmtprym1s0] { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.rail-action-t[b-zmtprym1s0] { font-size: 13px; font-weight: 600; }

/* ── Les colonnes ─────────────────────────────────────────────────────────────── */
.rail-defile[b-zmtprym1s0] { overflow-x: auto; }

.rail-bande[b-zmtprym1s0],
.rail[b-zmtprym1s0] {
    display: grid;
    grid-template-columns: repeat(7, minmax(178px, 1fr));
    min-width: 1180px;
}

/* La bande qui dit QUI travaille — c'est l'information principale du rail. */
.rail-bande[b-zmtprym1s0] { padding: 14px 0 2px; }
.bande-seg[b-zmtprym1s0] {
    margin: 0 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bande-machine[b-zmtprym1s0] { grid-column: 2 / 5; background: var(--machine-soft); color: var(--text-muted); }
.bande-humain[b-zmtprym1s0]  { grid-column: 5 / 7; background: var(--accent-soft);  color: var(--accent); }

.col[b-zmtprym1s0] { padding: 14px 6px 20px; min-width: 0; }
.col + .col[b-zmtprym1s0] { border-left: 1px solid var(--border-subtle); }

.col-tete[b-zmtprym1s0] { display: flex; align-items: center; gap: 7px; padding: 0 8px 12px; }
.col-nom[b-zmtprym1s0] { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.col.est-humain .col-nom[b-zmtprym1s0] { color: var(--accent); }
.col-compte[b-zmtprym1s0] {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border-radius: 999px;
    padding: 1px 8px;
}
.col.est-humain .col-compte[b-zmtprym1s0] { background: var(--accent-soft); color: var(--accent); }

.pastille[b-zmtprym1s0] { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
.pastille.est-machine[b-zmtprym1s0] { background: var(--machine); }
.pastille.est-humain[b-zmtprym1s0]  { background: var(--accent); }
.pastille.est-livree[b-zmtprym1s0]  { background: var(--status-success); }
.pastille.est-attente[b-zmtprym1s0] { background: transparent; border: 1px solid var(--text-muted); }

/* Le pouls ne bat que là où quelque chose tourne VRAIMENT (colonne non vide). */
@media (prefers-reduced-motion: no-preference) {
    .col.est-actif .pastille.est-machine[b-zmtprym1s0] { animation: forge-pouls-b-zmtprym1s0 2s ease-in-out infinite; }
}
@keyframes forge-pouls-b-zmtprym1s0 {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

.col-pile[b-zmtprym1s0] { display: flex; flex-direction: column; gap: 8px; padding: 0 6px; }
.col-vide[b-zmtprym1s0] {
    padding: 14px 10px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
}

/* ── La carte demande ─────────────────────────────────────────────────────────── */
.dm[b-zmtprym1s0] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.dm:hover[b-zmtprym1s0] {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}
.dm:focus-visible[b-zmtprym1s0] { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); border-color: var(--accent); }
.dm.est-humain[b-zmtprym1s0] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.dm-haut[b-zmtprym1s0] { display: flex; align-items: center; gap: 8px; }
.dm-ref[b-zmtprym1s0] {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.dm-age[b-zmtprym1s0] {
    margin-left: auto;
    font-size: 10.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.dm-titre[b-zmtprym1s0] { font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--text-primary); }
.dm-bas[b-zmtprym1s0] { display: flex; align-items: center; gap: 8px; }
.dm-qui[b-zmtprym1s0] {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* La boucle de corrections : un fait du système, pas un entier dans une cellule. */
.dm-boucle[b-zmtprym1s0] {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    background: var(--machine-soft);
    border-radius: 999px;
    padding: 2px 8px 2px 6px;
    flex: none;
}

/* ── Légende ──────────────────────────────────────────────────────────────────── */
.rail-pied[b-zmtprym1s0] {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 13px 20px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-glass);
    font-size: 12px;
    color: var(--text-muted);
}
.legende[b-zmtprym1s0] { display: inline-flex; align-items: center; gap: 7px; }

/* ── Promotion depuis le rail ──────────────────────────────────────────────────
   Le bouton vit SOUS la carte, hors du lien : cliquer « Promouvoir » ne doit pas
   ouvrir le dossier. */
.dm-promouvoir[b-zmtprym1s0] {
    width: 100%;
    margin-top: -2px;
    padding: 7px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}
.dm-promouvoir:hover[b-zmtprym1s0] { background: var(--accent-glow); }
.dm-promouvoir:focus-visible[b-zmtprym1s0] { outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.promo[b-zmtprym1s0] { margin-top: 16px; border-color: var(--accent); }
.promo-tete[b-zmtprym1s0] { display: flex; align-items: flex-start; gap: 12px; }
.promo-titre[b-zmtprym1s0] { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.promo-fermer[b-zmtprym1s0] {
    margin-left: auto;
    background: none;
    border: 0;
    font-size: 22px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 4px;
}
.promo-fermer:hover[b-zmtprym1s0] { color: var(--text-primary); }
.promo-quoi[b-zmtprym1s0] { margin: 6px 0 18px; font-size: 14px; color: var(--text-secondary); max-width: 74ch; }
/* /Components/Pages/ForgeVersions.razor.rz.scp.css */
.versions[b-339wv7ar9v] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.version-tete[b-339wv7ar9v] {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-wrap: wrap;
}

/* La version la plus récente porte l'accent plein ; les précédentes s'effacent.
   Une liste où tout a le même poids ne dit pas où on en est. */
.version-tag[b-339wv7ar9v] {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    border-radius: 999px;
    padding: 4px 12px;
}
.versions > li:first-child .version-tag[b-339wv7ar9v] {
    color: #fff;
    background: var(--accent);
}

.version-nom[b-339wv7ar9v] {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.012em;
}

.version-date[b-339wv7ar9v] {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}

/* Le rédacteur n'est pas passé : à dire, pas à taire. */
.version-brute[b-339wv7ar9v] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--status-warning);
    background: rgba(245, 158, 11, 0.14);
    border-radius: 999px;
    padding: 3px 9px;
}

.version-notes[b-339wv7ar9v] {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.62;
    color: var(--text-secondary);
    max-width: 78ch;
    white-space: pre-line;
}

.version-demandes[b-339wv7ar9v] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}
.version-demandes .chip[b-339wv7ar9v] {
    font-variant-numeric: tabular-nums;
    background: var(--bg-tertiary);
    border-radius: 999px;
    padding: 4px 11px;
    color: var(--text-secondary);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Tableau de bord — styles propres à la page. Tout passe par les jetons Proxima
   (app.css), donc les deux thèmes sont couverts sans une seule couleur codée en dur. */

.entete-actions[b-yy82sf1ux1] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tuiles[b-yy82sf1ux1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.tuile[b-yy82sf1ux1] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    transition: var(--transition);
}

.tuile:hover[b-yy82sf1ux1] {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

/* Une tuile-lien : toute la carte est cliquable ; le texte garde ses couleurs de carte. */
.tuile-lien[b-yy82sf1ux1] {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.tuile-lien:focus-visible[b-yy82sf1ux1] { outline: 2px solid var(--accent); outline-offset: 2px; }

.tuile-lien-action[b-yy82sf1ux1] {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--accent);
}
.tuile-lien:hover .tuile-lien-action[b-yy82sf1ux1] { text-decoration: underline; }

.tuile-icone[b-yy82sf1ux1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
}

.tuile-corps[b-yy82sf1ux1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* Une tuile en erreur reste EN PLACE (la grille ne bouge pas), mais se signale : le
   chiffre absent est une information, pas un trou. */
.tuile-erreur[b-yy82sf1ux1] { border-color: rgba(239, 68, 68, 0.35); }
.tuile-erreur .tuile-icone[b-yy82sf1ux1] { background: rgba(239, 68, 68, 0.10); color: var(--status-danger); }

.chargement-note[b-yy82sf1ux1],
.maj-note[b-yy82sf1ux1] {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Tuiles d'action : rapports et extraction ---- */
.tuiles-actions[b-yy82sf1ux1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

/* Une tuile d'action ne survole pas : elle contient des liens, c'est eux qui réagissent. */
.tuile-action:hover[b-yy82sf1ux1] {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

.tuile-action-titre[b-yy82sf1ux1] {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tuile-action-detail[b-yy82sf1ux1] {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.liens-rapides[b-yy82sf1ux1] {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.liens-rapides li[b-yy82sf1ux1] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
}
.liens-rapides li:last-child[b-yy82sf1ux1] { border-bottom: none; padding-bottom: 0; }

.liens-rapides a[b-yy82sf1ux1],
.lien-action[b-yy82sf1ux1] {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.liens-rapides a:hover[b-yy82sf1ux1],
.lien-action:hover[b-yy82sf1ux1] { text-decoration: underline; }

.lien-question[b-yy82sf1ux1] {
    font-size: 12px;
    color: var(--text-muted);
}

/* La porte vers l'index des rapports, sous l'aperçu de la tuile. Détachée de la liste (qui
   porte ses propres séparateurs) pour qu'elle se lise comme une sortie, pas comme un rapport
   de plus. */
.tuile-action-lien[b-yy82sf1ux1] {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}
.tuile-action-lien:hover[b-yy82sf1ux1] { text-decoration: underline; }
/* /Components/Pages/RapportDetail.razor.rz.scp.css */
/* L'entête d'un rapport : la source, l'heure de la lecture et « Actualiser », côte à côte. */
.rapport-entete-actions[b-rnpkbyth1h] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
/* /Components/Pages/Ventes.razor.rz.scp.css */
/* Tableau de bord des ventes — styles propres à la page. Tout passe par les jetons Proxima
   (app.css) : les deux thèmes sont couverts sans une couleur codée en dur, sauf les deux
   teintes de marge (rouge / vert), redéfinies pour le thème sombre. */

.entete-actions[b-rzt5cs22ef] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── La barre de filtres : COLLANTE sous l'entête (56 px), commune à tous les onglets ── */
.filtres-ventes[b-rzt5cs22ef] {
    position: sticky;
    top: 56px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.filtre-groupe[b-rzt5cs22ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filtre-label[b-rzt5cs22ef] {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.filtre-select[b-rzt5cs22ef] { width: auto; min-width: 150px; padding-top: 6px; padding-bottom: 6px; }
.filtre-date[b-rzt5cs22ef] { width: 150px; padding-top: 6px; padding-bottom: 6px; }
.filtre-sep[b-rzt5cs22ef] { color: var(--text-muted); }

.filtre-etat[b-rzt5cs22ef] {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* Un groupe de boutons collés : la comparaison, la formule de marge. */
.segmente[b-rzt5cs22ef] {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.segment[b-rzt5cs22ef] {
    padding: 6px 12px;
    border: 0;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font: 500 13px/1.2 inherit;
    cursor: pointer;
    transition: var(--transition);
}
.segment + .segment[b-rzt5cs22ef] { border-left: 1px solid var(--border); }
.segment:hover[b-rzt5cs22ef] { color: var(--text-primary); }
.segment.est-actif[b-rzt5cs22ef] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

.ventes-outils[b-rzt5cs22ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 14px;
}

.ventes-note[b-rzt5cs22ef] {
    font-size: 13px;
    color: var(--text-muted);
    margin: 6px 0 12px;
}

.ventes-alerte[b-rzt5cs22ef] {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(234, 179, 8, 0.14);
    color: #92400e;
    font-size: 13px;
}
[data-theme="dark"] .ventes-alerte[b-rzt5cs22ef] { color: #fcd34d; }

.maj-note[b-rzt5cs22ef] { font-size: 13px; color: var(--text-muted); }

/* ── La qualité des données ── */
.qualite-ventes summary[b-rzt5cs22ef] { cursor: pointer; font-size: 14px; }
.qualite-liste[b-rzt5cs22ef] { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.qualite-titre[b-rzt5cs22ef] { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.qualite-chiffres[b-rzt5cs22ef] { color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.qualite-exemples[b-rzt5cs22ef] { margin: 4px 0 0 18px; font-size: 12px; color: var(--text-muted); }

/* ── Les tableaux ── */
.ventes-deux-colonnes[b-rzt5cs22ef] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(680px, 1fr));
    gap: 0 24px;
}
@media (max-width: 640px) {
    .ventes-deux-colonnes[b-rzt5cs22ef] { grid-template-columns: 1fr; }
    .filtres-ventes[b-rzt5cs22ef] { position: static; }
}

.ligne-cliquable[b-rzt5cs22ef] { cursor: pointer; }
.cellule-cliquable[b-rzt5cs22ef] { cursor: pointer; }
.cellule-cliquable:hover[b-rzt5cs22ef] { background: var(--accent-soft); color: var(--accent); }
td.vide[b-rzt5cs22ef] { color: var(--text-muted); text-align: center; }
.pivot td.total[b-rzt5cs22ef], .pivot tfoot th[b-rzt5cs22ef] { font-weight: 600; }
.pivot tfoot th[b-rzt5cs22ef] { background: var(--bg-tertiary); }

.ecart[b-rzt5cs22ef] { font-size: 12px; font-variant-numeric: tabular-nums; margin-left: 4px; }
.ecart-pos[b-rzt5cs22ef] { color: #15803d; }
.ecart-neg[b-rzt5cs22ef] { color: #dc2626; }
[data-theme="dark"] .ecart-pos[b-rzt5cs22ef] { color: #4ade80; }
[data-theme="dark"] .ecart-neg[b-rzt5cs22ef] { color: #f87171; }

/* La marge colorée selon les seuils (Ventes:SeuilMargeFaible / SeuilMargeBonne). */
.marge-faible[b-rzt5cs22ef] { color: #dc2626; }
.marge-bonne[b-rzt5cs22ef] { color: #15803d; }
[data-theme="dark"] .marge-faible[b-rzt5cs22ef] { color: #f87171; }
[data-theme="dark"] .marge-bonne[b-rzt5cs22ef] { color: #4ade80; }

/* ── Le B/O par ancienneté ── */
.tranches-age[b-rzt5cs22ef] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 4px;
}
.tranche[b-rzt5cs22ef] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: var(--transition);
}
.tranche:hover[b-rzt5cs22ef] { border-color: var(--accent); }
.tranche-vieille[b-rzt5cs22ef] { border-left: 3px solid #dc2626; }
.tranche-montant[b-rzt5cs22ef] { font-weight: 600; font-size: 20px; color: var(--text-primary); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
    .tranches-age[b-rzt5cs22ef] { grid-template-columns: 1fr; }
}

/* Un graphique pleine largeur serait aussi haut que l'écran : on borne sa hauteur. */
.ventes[b-rzt5cs22ef]  .graphique-svg { max-height: 380px; width: 100%; }

/* ── Le dépliage en place (familles → catégories → modèles, clients → familles) ── */
.chevron[b-rzt5cs22ef] {
    display: inline-block;
    width: 1.1em;
    color: var(--text-muted);
}
tr.est-deplie > td[b-rzt5cs22ef] { background: var(--accent-soft); font-weight: 600; }
tr.sous-ligne > td[b-rzt5cs22ef] { background: var(--bg-tertiary); font-size: 13px; }
td.sous-libelle[b-rzt5cs22ef] { padding-left: 34px; color: var(--text-secondary); }
td.sous-libelle .chevron[b-rzt5cs22ef] { margin-left: -1.1em; }
tr.sous-deplie > td[b-rzt5cs22ef] { font-weight: 600; }
td.modele-libelle[b-rzt5cs22ef] { padding-left: 56px; color: var(--text-secondary); }
tr.modele-ligne > td[b-rzt5cs22ef] { background: var(--bg-secondary); }
tr.modele-pied > td[b-rzt5cs22ef] { padding-left: 56px; background: var(--bg-secondary); }
tr.sous-ligne:hover > td[b-rzt5cs22ef] { background: var(--bg-glass-hover); }
tr.sous-pied > td[b-rzt5cs22ef] {
    padding-top: 6px;
    padding-bottom: 10px;
    text-align: left;
}
.sous-axe[b-rzt5cs22ef] { font-size: 12px; color: var(--text-muted); margin-right: 14px; }
.table-groupes th:first-child[b-rzt5cs22ef],
.table-groupes td:first-child[b-rzt5cs22ef] { text-align: left; }
.sous-action[b-rzt5cs22ef] { margin-left: 18px; }
.sous-marque[b-rzt5cs22ef] {
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
}

/* ── Les quantités par modèle et par mois (la feuille de planification) ──
   Une GRILLE : chaque case a son trait, un trait plus marqué ouvre chaque trimestre et sépare
   la colonne Total ; chaque catégorie a son bandeau d'entête et son sous-total. Les quantités
   sont des PASTILLES dont l'intensité dit la force du mois ; la colonne Total porte une barre. */
.table-qte[b-rzt5cs22ef] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.table-qte th[b-rzt5cs22ef],
.table-qte td[b-rzt5cs22ef] {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 7px 8px;
    text-align: center;
    white-space: nowrap;
}
.table-qte thead th[b-rzt5cs22ef] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border-strong, rgba(0, 0, 0, 0.18));
}
.qte-mois[b-rzt5cs22ef] { display: block; color: var(--text-secondary); }
.qte-annee[b-rzt5cs22ef] { display: block; font-size: 10px; font-weight: 500; opacity: 0.7; }

/* La première colonne reste en place quand on fait défiler les mois. */
.table-qte .qte-modele[b-rzt5cs22ef] {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    min-width: 230px;
    background: var(--bg-secondary);
    border-right: 2px solid var(--border-strong, rgba(0, 0, 0, 0.18));
}
.table-qte thead th.qte-modele[b-rzt5cs22ef] { z-index: 3; background: var(--bg-tertiary); }
.qte-modele strong[b-rzt5cs22ef] { font-weight: 600; color: var(--text-primary); }
.qte-variante[b-rzt5cs22ef] { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 1px; }

/* Le trimestre et le total : des traits plus forts, pour lire par blocs. */
.table-qte .qte-trimestre[b-rzt5cs22ef] { border-left: 2px solid var(--border-strong, rgba(0, 0, 0, 0.18)); }
.table-qte .qte-col-total[b-rzt5cs22ef] {
    border-left: 2px solid var(--border-strong, rgba(0, 0, 0, 0.18));
    font-weight: 700;
    min-width: 92px;
    position: relative;
}

/* Lignes alternées, et la ligne survolée ressort d'un bout à l'autre. */
.qte-groupe .qte-ligne:nth-child(odd) > td[b-rzt5cs22ef] { background: color-mix(in srgb, var(--bg-tertiary) 45%, var(--bg-secondary)); }
.qte-groupe .qte-ligne:nth-child(odd) > td.qte-modele[b-rzt5cs22ef] { background: color-mix(in srgb, var(--bg-tertiary) 45%, var(--bg-secondary)); }
.qte-groupe .qte-ligne:hover > td[b-rzt5cs22ef] { background: var(--accent-soft); }

/* Le bandeau de catégorie — l'équivalent des titres « EXCAVATRICES » de la feuille. */
.qte-entete-groupe > th[b-rzt5cs22ef] {
    position: sticky;
    left: 0;
    text-align: left;
    padding: 9px 10px 7px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-right: none;
}
.qte-compte[b-rzt5cs22ef] { margin-left: 8px; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: 0.8; }

.qte-sous-total > td[b-rzt5cs22ef] {
    background: var(--accent-soft);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
}
.qte-sous-total > td.qte-modele[b-rzt5cs22ef] { background: color-mix(in srgb, var(--accent) 10%, var(--bg-secondary)); }
.qte-sous-total > td.qte-zero[b-rzt5cs22ef] { color: var(--text-muted); font-weight: 500; }
.qte-grand-total > td[b-rzt5cs22ef] {
    background: var(--bg-tertiary);
    font-weight: 800;
    font-size: 14px;
    border-top: 3px double var(--accent);
}

/* Les pastilles. */
.qte-case[b-rzt5cs22ef] { cursor: pointer; }
.qte-marque[b-rzt5cs22ef] {
    display: inline-block;
    min-width: 26px;
    padding: 2px 7px;
    border-radius: var(--radius-full, 999px);
    font-weight: 600;
    line-height: 18px;
}
.qte-n1[b-rzt5cs22ef] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.qte-n2[b-rzt5cs22ef] { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--accent); }
.qte-n3[b-rzt5cs22ef] { background: color-mix(in srgb, var(--accent) 60%, transparent); color: #fff; }
.qte-n4[b-rzt5cs22ef] { background: var(--accent); color: #fff; }
.qte-neg[b-rzt5cs22ef] { background: rgba(220, 38, 38, 0.12); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.35); }
.qte-case:hover .qte-marque[b-rzt5cs22ef] { outline: 2px solid var(--accent); outline-offset: 1px; }
.qte-vide[b-rzt5cs22ef] { color: var(--text-muted); opacity: 0.45; }

/* La barre du total : la part du modèle face au plus vendu. */
.qte-barre[b-rzt5cs22ef] {
    position: absolute;
    left: 6px;
    bottom: 5px;
    height: 3px;
    max-width: calc(100% - 12px);
    border-radius: 2px;
    background: var(--accent);
    opacity: 0.55;
}
.qte-total-chiffre[b-rzt5cs22ef] { position: relative; }

.qte-legende[b-rzt5cs22ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}
.qte-legende .qte-marque[b-rzt5cs22ef] { min-width: 0; font-size: 11px; }

.qte-titre[b-rzt5cs22ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}
.qte-reglage[b-rzt5cs22ef] { align-self: center; padding: 0 8px; font-size: 12px; color: var(--text-muted); }
.qte-chiffre[b-rzt5cs22ef] { font-weight: 600; }
.qte-chiffre.neg[b-rzt5cs22ef] { color: #dc2626; }

.qte-outils[b-rzt5cs22ef] { display: flex; flex-wrap: wrap; gap: 8px; }
.qte-outils .segment:disabled[b-rzt5cs22ef] { opacity: 0.45; cursor: default; }
/* Le bandeau de type est un bouton : un clic replie ou déplie ses modèles. */
.qte-bascule[b-rzt5cs22ef] {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}
.qte-bascule:focus-visible[b-rzt5cs22ef] { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.qte-chevron[b-rzt5cs22ef] { display: inline-block; width: 1.3em; }
.qte-entete-groupe > th:hover[b-rzt5cs22ef] { filter: brightness(1.12); }
.qte-groupe.est-replie .qte-sous-total > td[b-rzt5cs22ef] { border-bottom-width: 1px; }

/* ── Imprimer une section ──
   Chaque bloc porte son bouton « Imprimer » à droite de son titre ; un graphique le porte dans
   son coin. Le bouton (et les réglages d'écran : replier, pastilles) a la classe .pas-imprime :
   la copie imprimée les retire. L'habillage du document vit dans wwwroot/print.css (.doc-*). */
.section-entete[b-rzt5cs22ef] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 26px 0 12px;
}
.section-entete .section-title[b-rzt5cs22ef],
.section-entete .ventes-note[b-rzt5cs22ef] { margin: 0; }
.section-outils[b-rzt5cs22ef] { display: flex; justify-content: flex-end; margin: 0 0 8px; }

.btn-imprimer[b-rzt5cs22ef] {
    gap: 6px;
    padding: 6px 12px;
    font-size: 12.5px;
    text-decoration: none;
}
.btn-imprimer:hover[b-rzt5cs22ef] { border-color: var(--accent); color: var(--accent); }
.btn-icone[b-rzt5cs22ef] {
    width: 15px;
    height: 15px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Le graphique : le bouton flotte dans le coin de sa carte, face au titre. */
.carte-imprimable[b-rzt5cs22ef] { position: relative; }
.btn-imprimer.est-flottant[b-rzt5cs22ef] { position: absolute; top: 12px; right: 14px; z-index: 1; }
.carte-imprimable:not(:hover):not(:focus-within) .btn-imprimer.est-flottant[b-rzt5cs22ef] { opacity: 0.7; }

/* ── La grille des tableaux de regroupement ─────────────────────────────────
   Les en-têtes trient (bouton .th-sort d'app.css) ; la ligne de total, en pied, se lit sur
   les lignes affichées — filtres et recherche compris. */
.table-groupes th:first-child .th-sort[b-rzt5cs22ef] { justify-content: flex-start; }
.table-groupes tfoot .ligne-total td[b-rzt5cs22ef] { font-weight: 700; }
.table-groupes tfoot .ligne-total td:first-child[b-rzt5cs22ef] { text-align: left; }
.total-sous[b-rzt5cs22ef] { font-weight: 400; color: var(--text-secondary); font-size: 12.5px; }
/* Un B/O dont l'âge moyen dépasse 90 jours : la commande est peut-être morte. */
td.bo-ancien[b-rzt5cs22ef] { color: #b45309; }
[data-theme="dark"] td.bo-ancien[b-rzt5cs22ef] { color: #fbbf24; }
/* /Components/Shared/AtelierAffichage.razor.rz.scp.css */
/* Le tableau de score de l'atelier. Un tableau d'affichage, pas une feuille : il ne suit pas le
   thème clair/sombre mais le DESIGN que l'équipe choisit (.atl-design-*, en fin de fichier).
   Toutes ses couleurs sont des jetons --atl-* posés ici pour la « nuit d'atelier » — un fond
   quasi noir éclairé par deux halos du bleu de marque — et que chaque design redéfinit.
   Le bleu est la couleur de RIPPA ; le jaune (Caterpillar) et l'orange (Kubota) sont ceux de
   la concurrence et n'apparaissent nulle part. Quatre couleurs portent un sens :
     - le bleu électrique (--atl-electrique) : la mini-pelle, la piste, la semaine en cours —
       ce qui avance, et qui doit briller sur le fond de nuit ;
     - le bleu RIPPA franc (--atl-bleu) : une semaine où l'objectif a été atteint ;
     - l'ardoise (--atl-ardoise) : une semaine sous l'objectif — neutre, pas un reproche ;
     - le rouge de la feuille d'érable (--atl-rouge) : le record battu, le drapeau en vue.
   Le vert reste réservé à « objectif atteint » cette semaine, toujours doublé d'un ✓.
   Tailles en clamp() : lisible sur un portable comme sur une télé à trois mètres. */

.atl[b-jhqdd56sob] {
    --atl-electrique: #3fa9ff;
    --atl-electrique-lueur: rgba(63, 169, 255, 0.75);
    --atl-bleu: #2366d1;
    --atl-ardoise: #33476e;
    --atl-rouge: #ff4155;
    --atl-vert: #22c55e;
    --atl-encre: #ffffff;
    --atl-encre-2: #9fb6da;
    --atl-encre-3: rgba(207, 227, 255, 0.62);
    --atl-carte: linear-gradient(160deg, rgba(25, 52, 110, 0.55), rgba(8, 18, 42, 0.75));
    --atl-trait: rgba(63, 169, 255, 0.22);
    --atl-courante: #5fc0ff;
    --atl-sur: #7f93b8;
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.4);
    --atl-lueur-valeur: 0 0 34px var(--atl-electrique-lueur);
    --atl-route: rgba(255, 255, 255, 0.08);
    --atl-route-faite: linear-gradient(90deg, #1f4fbf, #1f8cff 70%, #6cc4ff);
    --atl-jalon: rgba(255, 255, 255, 0.18);
    --atl-jalon-passe: rgba(255, 255, 255, 0.9);
    --atl-drapeau: #ffffff;
    --atl-pastille: rgba(255, 255, 255, 0.04);
    --atl-pastille-trait: rgba(255, 255, 255, 0.06);
    --atl-icone-fond: rgba(63, 169, 255, 0.12);
    --atl-grille: rgba(255, 255, 255, 0.07);
    --atl-base: rgba(255, 255, 255, 0.45);
    --atl-repere: #ffffff;
    --atl-survol: rgba(255, 255, 255, 0.06);
    --atl-quand: rgba(255, 255, 255, 0.1);
    --atl-phrase-fond: rgba(63, 169, 255, 0.12);
    --atl-phrase-trait: rgba(63, 169, 255, 0.45);
    --atl-etat-fond: rgba(34, 197, 94, 0.18);
    --atl-etat-encre: #bbf7d0;
    --atl-icone: #cfe3ff;
    --atl-c0: #3fa9ff;
    --atl-c1: #22c55e;
    --atl-c2: #2366d1;
    --atl-c3: #ff4155;
    --atl-c4: #ffffff;
    --atl-fond:
        radial-gradient(1200px 600px at 15% -10%, rgba(21, 44, 120, 0.85), transparent 70%),
        radial-gradient(900px 500px at 100% 110%, rgba(10, 79, 143, 0.55), transparent 70%),
        #050b1a;

    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.6vw, 22px);
    padding: clamp(14px, 2vw, 28px);
    border-radius: var(--radius-lg, 16px);
    color: var(--atl-encre);
    background: var(--atl-fond);
}

/* La télé : tout l'écran, sans bord, et SANS DÉFILEMENT — personne n'a de souris. Trois
   rangées ; l'histogramme prend ce qui reste. Les tailles suivent la hauteur (vh) : une télé
   16:9 ou un moniteur 16:10 tiennent tous deux sur un écran. */
.atl-tv[b-jhqdd56sob] {
    height: 100vh;
    border-radius: 0;
    padding: 2.4vh 2.4vw;
    gap: 2vh;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
}
.atl-tv .atl-histo[b-jhqdd56sob] { display: flex; flex-direction: column; min-height: 0; padding: 1.4vh 1.4vw; }
.atl-tv .atl-graphique[b-jhqdd56sob] { flex: 1; min-height: 0; height: 100%; }
.atl-tv .atl-score[b-jhqdd56sob] { padding: 1.6vh 1.6vw; gap: 1vh; }
.atl-tv .atl-cartes[b-jhqdd56sob] { gap: 1.4vh 1vw; }
.atl-tv .atl-carte[b-jhqdd56sob] { padding: 1.3vh 1.2vw; }
.atl-tv .atl-etiquette[b-jhqdd56sob],
.atl-tv .atl-carte-libelle[b-jhqdd56sob] { font-size: 1.9vh; }
.atl-tv .atl-carte-icone[b-jhqdd56sob] { width: 4.4vh; height: 4.4vh; }
.atl-tv .atl-carte-note[b-jhqdd56sob] { font-size: 1.7vh; }
.atl-tv .atl-valeur[b-jhqdd56sob] { font-size: 14vh; }
.atl-tv .atl-sur[b-jhqdd56sob] { font-size: 7vh; }
.atl-tv .atl-pourcent[b-jhqdd56sob] { font-size: 6vh; }
.atl-tv .atl-carte-valeur[b-jhqdd56sob] { font-size: 14vh; }
.atl-tv .atl-jour[b-jhqdd56sob] { padding: 0.6vh 4px; }
.atl-tv .atl-jour-nom[b-jhqdd56sob] { font-size: 1.6vh; }
.atl-tv .atl-jour-valeur[b-jhqdd56sob] { font-size: 5vh; }
.atl-tv .atl-titre[b-jhqdd56sob] { font-size: 4vh; }
.atl-tv .atl-sous-titre[b-jhqdd56sob] { font-size: 2vh; }
.atl-tv .atl-histo-titre[b-jhqdd56sob] { font-size: 2.1vh; }
.atl-tv .atl-legende[b-jhqdd56sob] { font-size: 1.7vh; }
.atl-tv .atl-piste[b-jhqdd56sob] { --pelle-l: 6.4vh; --pelle-bas: 2.6vh; }
.atl-tv .atl-route[b-jhqdd56sob] { height: 2.2vh; }

/* ── Bandeau ─────────────────────────────────────────────────────────────── */
.atl-bandeau[b-jhqdd56sob] {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 28px);
    flex-wrap: wrap;
}

.atl-logo[b-jhqdd56sob] { height: clamp(28px, 3vw, 52px); width: auto; }

.atl-bandeau-titres[b-jhqdd56sob] { flex: 1 1 260px; min-width: 0; }

.atl-titre[b-jhqdd56sob] {
    margin: 0;
    font-size: clamp(20px, 2.4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--atl-encre);
}

.atl-sous-titre[b-jhqdd56sob] {
    margin: 2px 0 0;
    font-size: clamp(13px, 1.2vw, 22px);
    color: var(--atl-encre-2);
}

.atl-etat[b-jhqdd56sob] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--atl-etat-fond);
    color: var(--atl-etat-encre);
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.atl-point[b-jhqdd56sob] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--atl-vert);
    animation: atl-pouls-b-jhqdd56sob 2.4s ease-out infinite;
}

.atl-etat-perdu[b-jhqdd56sob] { background: rgba(234, 179, 8, 0.22); color: #fde68a; }
.atl-etat-perdu .atl-point[b-jhqdd56sob] { background: #eab308; animation: none; }

/* La phrase de l'équipe : ses mots, au milieu du bandeau, lisibles de loin. */
.atl-phrase[b-jhqdd56sob] {
    flex: 1 1 320px;
    min-width: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.35em 1em;
    border-radius: 14px;
    background: var(--atl-phrase-fond);
    border: 1px solid var(--atl-phrase-trait);
    font-size: clamp(15px, 1.5vw, 30px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--atl-encre);
}
.atl-phrase-texte[b-jhqdd56sob] { overflow-wrap: anywhere; }
.atl-phrase-icone[b-jhqdd56sob] {
    flex: none;
    width: 1.2em;
    height: 1.2em;
    background: var(--atl-electrique);
    /* Un porte-voix, trait de 24 px (style « lucide »). */
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atl-tv .atl-phrase[b-jhqdd56sob] { font-size: 3vh; }
/* À la télé, le bandeau tient sur UNE ligne : la phrase prend la place qui reste, et c'est
   elle qui passe à la ligne — jamais le titre ni l'heure. */
.atl-tv .atl-bandeau[b-jhqdd56sob] { flex-wrap: nowrap; }
.atl-tv .atl-bandeau-titres[b-jhqdd56sob] { flex: 0 0 auto; }
.atl-tv .atl-titre[b-jhqdd56sob] { white-space: nowrap; }
.atl-tv .atl-etat[b-jhqdd56sob] { flex: none; }

@media (max-width: 860px) {
    .atl-phrase[b-jhqdd56sob] { max-width: 100%; order: 3; flex-basis: 100%; }
}

@keyframes atl-pouls-b-jhqdd56sob {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ── Le haut : le score et la carte du record ───────────────────────────── */
.atl-haut[b-jhqdd56sob] {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(12px, 1.6vw, 24px);
}

@media (max-width: 860px) {
    .atl-haut[b-jhqdd56sob] { grid-template-columns: minmax(0, 1fr); }
}

.atl-score[b-jhqdd56sob],
.atl-carte[b-jhqdd56sob] {
    background: var(--atl-carte);
    border: 1px solid var(--atl-trait);
    border-radius: 18px;
    box-shadow: var(--atl-ombre);
}

.atl-score[b-jhqdd56sob] {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 16px);
    padding: clamp(14px, 1.8vw, 30px);
}

.atl-etiquette[b-jhqdd56sob] {
    font-size: clamp(13px, 1.2vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--atl-encre-2);
}

.atl-chiffre[b-jhqdd56sob] {
    display: flex;
    align-items: baseline;
    gap: 0.25em;
    line-height: 0.95;
}

.atl-valeur[b-jhqdd56sob] {
    display: inline-block;
    font-size: clamp(80px, 11vw, 220px);
    font-weight: 900;
    color: var(--atl-encre);
    font-variant-numeric: tabular-nums;
    text-shadow: var(--atl-lueur-valeur);
    animation: atl-saut-b-jhqdd56sob 0.6s cubic-bezier(.34, 1.56, .64, 1);
}

.atl-sur[b-jhqdd56sob] {
    font-size: clamp(34px, 4.4vw, 90px);
    font-weight: 700;
    color: var(--atl-sur);
    font-variant-numeric: tabular-nums;
}

@keyframes atl-saut-b-jhqdd56sob {
    0%   { transform: scale(0.6); opacity: 0.3; }
    100% { transform: scale(1); opacity: 1; }
}

/* La piste : une route, trois jalons, la mini-pelle qui avance, le drapeau au bout. */
/* La piste est aussi haute que la pelle posée sur la route (dessin 80 × 62, plus son cahot) :
   à 100 %, la pelle arrive au bout SANS déborder sur le « 100 % » écrit au-dessus. */
.atl-piste[b-jhqdd56sob] {
    --pelle-l: clamp(48px, 5vw, 96px);
    --pelle-bas: clamp(18px, 1.9vw, 30px);
    position: relative;
    height: calc(var(--pelle-l) * 0.78 + var(--pelle-bas) + 4px);
    margin: 0 clamp(26px, 2.6vw, 48px) 0 0;
}

.atl-route[b-jhqdd56sob] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(14px, 1.4vw, 24px);
    border-radius: 999px;
    background: var(--atl-route);
    box-shadow: inset 0 0 0 1px rgba(63, 169, 255, 0.15);
    overflow: visible;
}

.atl-route-faite[b-jhqdd56sob] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 999px;
    overflow: hidden;
    background: var(--atl-route-faite);
    box-shadow: 0 0 22px var(--atl-electrique-lueur), 0 0 4px rgba(108, 196, 255, 0.9);
    transition: width 1.2s cubic-bezier(.22, 1, .36, 1);
}

/* Un reflet passe sur la piste : elle vit, sans rayures de chantier. */
.atl-route-faite[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: atl-reflet-b-jhqdd56sob 2.8s ease-in-out infinite;
}

@keyframes atl-reflet-b-jhqdd56sob { to { transform: translateX(100%); } }

.atl-jalon[b-jhqdd56sob] {
    position: absolute;
    top: 50%;
    width: 4px;
    height: 160%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    background: var(--atl-jalon);
}
.atl-jalon.est-passe[b-jhqdd56sob] { background: var(--atl-jalon-passe); }

/* --p (0 → 1) vient de l'écran : la pelle avance sans jamais dépasser le bout de la route. */
.atl-pelle[b-jhqdd56sob] {
    position: absolute;
    bottom: var(--pelle-bas);
    left: calc((100% - var(--pelle-l)) * var(--p, 0));
    width: var(--pelle-l);
    height: auto;
    color: var(--atl-electrique);
    filter: drop-shadow(0 0 10px rgba(63, 169, 255, 0.9));
    transition: left 1.2s cubic-bezier(.22, 1, .36, 1);
    animation: atl-cahot-b-jhqdd56sob 0.9s ease-in-out infinite alternate;
}

@keyframes atl-cahot-b-jhqdd56sob {
    from { transform: translateY(0) rotate(-1.5deg); }
    to   { transform: translateY(-3px) rotate(1.5deg); }
}

.atl-drapeau[b-jhqdd56sob] {
    position: absolute;
    right: calc(-1 * clamp(26px, 2.6vw, 48px));
    bottom: 0;
    width: clamp(26px, 2.6vw, 48px);
    height: clamp(26px, 2.6vw, 48px);
    color: var(--atl-drapeau);
}
.atl-drapeau.est-proche[b-jhqdd56sob] { color: var(--atl-rouge); animation: atl-flotte-b-jhqdd56sob 0.8s ease-in-out infinite alternate; }
.atl-gagne .atl-drapeau[b-jhqdd56sob] { color: var(--atl-vert); }

@keyframes atl-flotte-b-jhqdd56sob {
    from { transform: rotate(-6deg); }
    to   { transform: rotate(6deg); }
}

.atl-pourcent[b-jhqdd56sob] {
    margin-left: auto;
    align-self: flex-end;
    font-size: clamp(24px, 2.8vw, 56px);
    font-weight: 800;
    color: var(--atl-electrique);
    text-shadow: 0 0 18px rgba(63, 169, 255, 0.6);
    font-variant-numeric: tabular-nums;
}

/* Lundi → vendredi. */
.atl-jours[b-jhqdd56sob] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(6px, 0.8vw, 14px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.atl-jour[b-jhqdd56sob] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: clamp(6px, 0.7vw, 12px) 4px;
    border-radius: 10px;
    background: var(--atl-pastille);
    border: 1px solid var(--atl-pastille-trait);
}
.atl-jour.est-aujourdhui[b-jhqdd56sob] {
    border-color: var(--atl-electrique);
    background: rgba(63, 169, 255, 0.14);
    box-shadow: 0 0 18px rgba(63, 169, 255, 0.35);
}
.atl-jour.est-futur[b-jhqdd56sob] { opacity: 0.45; }

.atl-jour-nom[b-jhqdd56sob] {
    font-size: clamp(11px, 0.95vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--atl-encre-2);
}
.atl-jour-valeur[b-jhqdd56sob] {
    font-size: clamp(26px, 3vw, 58px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.est-aujourdhui .atl-jour-valeur[b-jhqdd56sob] { color: var(--atl-electrique); }

/* Une seule carte, le record : elle prend toute la hauteur du score, son chiffre au centre. */
.atl-cartes[b-jhqdd56sob] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(10px, 1.2vw, 20px);
}

.atl-carte[b-jhqdd56sob] {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icone libelle"
        "valeur valeur"
        "note note";
    grid-template-rows: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    padding: clamp(12px, 1.4vw, 24px);
    transition: transform 0.2s ease;
}
.atl-carte:hover[b-jhqdd56sob] { transform: translateY(-2px); }

/* L'icône : un trait de la couleur de la carte (--ic) dans un carreau bleuté. Le dessin vient
   du gabarit (--im, plus bas) — pas d'emoji, dont les couleurs ne sont pas les nôtres. */
.atl-carte-icone[b-jhqdd56sob] {
    grid-area: icone;
    position: relative;
    width: clamp(28px, 2.6vw, 48px);
    height: clamp(28px, 2.6vw, 48px);
    border-radius: 12px;
    background: var(--atl-icone-fond);
}
.atl-carte-icone[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 22%;
    background: var(--ic, var(--atl-icone));
    -webkit-mask: var(--im) center / contain no-repeat;
    mask: var(--im) center / contain no-repeat;
}
.atl-carte-libelle[b-jhqdd56sob] {
    grid-area: libelle;
    font-size: clamp(12px, 1.05vw, 20px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--atl-encre-2);
}
.atl-carte-valeur[b-jhqdd56sob] {
    grid-area: valeur;
    justify-self: center;
    font-size: clamp(72px, 9vw, 190px);
    font-weight: 900;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}
.atl-carte-note[b-jhqdd56sob] {
    grid-area: note;
    text-align: center;
    font-size: clamp(12px, 1vw, 19px);
    color: var(--atl-encre-3);
    min-height: 1.2em;
}

.atl-carte-record[b-jhqdd56sob] { --ic: var(--atl-electrique); }
.atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-electrique); text-shadow: 0 0 22px rgba(63, 169, 255, 0.5); }

/* Le dessin (trait de 24 px, style « lucide ») : un trophée. */
.atl-carte-record .atl-carte-icone[b-jhqdd56sob] { --im: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E"); }
/* ── L'histogramme ───────────────────────────────────────────────────────── */
.atl-histo[b-jhqdd56sob] {
    margin: 0;
    padding: clamp(12px, 1.4vw, 24px);
    background: var(--atl-carte);
    border: 1px solid var(--atl-trait);
    border-radius: 18px;
    box-shadow: var(--atl-ombre);
}

.atl-histo-titre[b-jhqdd56sob] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 18px;
    margin-bottom: 6px;
    font-size: clamp(13px, 1.2vw, 22px);
    font-weight: 700;
}

.atl-legende[b-jhqdd56sob] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: clamp(11px, 0.9vw, 17px);
    font-weight: 500;
    color: var(--atl-encre-2);
}
.atl-legende-item[b-jhqdd56sob] { display: inline-flex; align-items: center; gap: 6px; }

.atl-cle[b-jhqdd56sob] { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.atl-cle-atteint[b-jhqdd56sob] { background: var(--atl-bleu); }
.atl-cle-sous[b-jhqdd56sob] { background: var(--atl-ardoise); }
.atl-cle-courante[b-jhqdd56sob] { background: var(--atl-courante); }
.atl-cle-objectif[b-jhqdd56sob] { height: 0; width: 16px; border-top: 2px dashed var(--atl-repere); border-radius: 0; }

.atl-graphique[b-jhqdd56sob] { display: block; width: 100%; height: auto; overflow: visible; }

.atl-grille[b-jhqdd56sob] { stroke: var(--atl-grille); stroke-width: 1; }
.atl-base[b-jhqdd56sob] { stroke: var(--atl-base); stroke-width: 1.5; }

.atl-axe[b-jhqdd56sob] {
    fill: var(--atl-encre-3);
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}
.atl-axe.est-courante[b-jhqdd56sob] { fill: var(--atl-electrique); font-weight: 800; }

.atl-survol[b-jhqdd56sob] { fill: transparent; }
.atl-barre:hover .atl-survol[b-jhqdd56sob] { fill: var(--atl-survol); }

.atl-barre path[b-jhqdd56sob] { transition: opacity 0.2s ease; }
.atl-barre.est-atteinte path[b-jhqdd56sob] { fill: var(--atl-bleu); }
.atl-barre.est-sous path[b-jhqdd56sob] { fill: var(--atl-ardoise); }
.atl-barre.est-courante path[b-jhqdd56sob] {
    fill: var(--atl-courante);
    filter: drop-shadow(0 0 8px rgba(63, 169, 255, 0.9));
    animation: atl-lueur-b-jhqdd56sob 1.6s ease-in-out infinite alternate;
}

@keyframes atl-lueur-b-jhqdd56sob {
    from { opacity: 0.75; }
    to   { opacity: 1; }
}

.atl-repere[b-jhqdd56sob] { stroke: var(--atl-repere); stroke-width: 2; stroke-dasharray: 4 3; opacity: 0.85; }

.atl-valeur-barre[b-jhqdd56sob] {
    fill: var(--atl-encre-2);
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.atl-valeur-barre.est-record[b-jhqdd56sob] { fill: var(--atl-rouge); font-weight: 900; }
.est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-electrique); font-size: 28px; font-weight: 900; }
/* L'étoile du record, plus petite que le chiffre : « ★ 26 » tient dans la largeur d'une barre. */
.atl-etoile[b-jhqdd56sob] { font-size: 0.6em; }

/* ── Les confettis, quand l'objectif est atteint ─────────────────────────── */
.atl-confettis[b-jhqdd56sob] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.atl > :not(.atl-confettis)[b-jhqdd56sob] { position: relative; z-index: 1; }

.atl-confettis span[b-jhqdd56sob] {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 16px;
    border-radius: 2px;
    opacity: 0.9;
    animation-name: atl-tombe-b-jhqdd56sob;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.atl-confettis span:nth-child(3n)[b-jhqdd56sob] { width: 8px; height: 8px; border-radius: 50%; }

@keyframes atl-tombe-b-jhqdd56sob {
    0%   { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(110vh) rotate(720deg); }
}

/* Moins de mouvement demandé : tout s'arrête, rien ne disparaît. */
@media (prefers-reduced-motion: reduce) {
    .atl-point[b-jhqdd56sob],
    .atl-valeur[b-jhqdd56sob],
    .atl-route-faite[b-jhqdd56sob]::after,
    .atl-pelle[b-jhqdd56sob],
    .atl-drapeau[b-jhqdd56sob],
    .atl-barre.est-courante path[b-jhqdd56sob] { animation: none; }
    .atl-confettis[b-jhqdd56sob] { display: none; }
}

/* ══ LES DESIGNS ══════════════════════════════════════════════════════════════
   Treize apparences, choisies par l'équipe (AtelierDesign). La nuit d'atelier est celle des
   jetons ci-dessus ; les autres ne font, pour l'essentiel, que les redéfinir — la mise en
   page, les tailles télé et les animations restent communes. Règle des quatre premiers : le
   bleu RIPPA mène, le rouge de la feuille d'érable souligne le record, et ni jaune ni orange.
   Les neuf suivants sont saisonniers — Halloween (5ᵉ), Noël (6ᵉ), Tempête d'hiver (7ᵉ),
   Saint-Valentin (8ᵉ), Printemps (9ᵉ), Été à la plage (10ᵉ), Pâques (11ᵉ),
   Saint-Jean-Baptiste (12ᵉ) et Nouvel An chinois (13ᵉ) : la couleur de la saison (l'orange
   des citrouilles, le sucre d'orge, la glace, le rose, la feuille, le lagon, le lilas, le blanc
   du fleurdelisé, le rouge des lanternes) n'y vient qu'en alternance avec le bleu, toujours en
   second. Printemps, Été
   et Pâques sont les fonds clairs : le razor y pose le logo marine (FondClair). */

/* ── 2. JOUR — la feuille claire sous le bandeau de la marque ───────────────
   Pour un atelier éclairé au néon, où un écran noir fait un trou dans le mur. Le bandeau
   garde le dégradé du logo (marine → bleu machine) : on reconnaît RIPPA de l'autre bout. */
.atl-design-jour[b-jhqdd56sob] {
    --atl-electrique: #1767d6;
    --atl-electrique-lueur: rgba(23, 103, 214, 0.25);
    --atl-bleu: #1f3d73;
    --atl-ardoise: #b7c5dc;
    --atl-courante: #2f8cff;
    --atl-rouge: #d42a3e;
    --atl-vert: #16a34a;
    --atl-encre: #0f2350;
    --atl-encre-2: #4a5f86;
    --atl-encre-3: #6b7fa3;
    --atl-sur: #8a9bbd;
    --atl-carte: #ffffff;
    --atl-trait: #d5e1f2;
    --atl-ombre: 0 1px 2px rgba(15, 35, 80, 0.06), 0 8px 24px rgba(15, 35, 80, 0.08);
    --atl-lueur-valeur: none;
    --atl-route: #e4ecf8;
    --atl-route-faite: linear-gradient(90deg, #152c78, #0a4f8f 55%, #2f8cff);
    --atl-jalon: #c9d6ea;
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: #1f3d73;
    --atl-pastille: #f3f7fd;
    --atl-pastille-trait: #e1e9f5;
    --atl-icone-fond: #e8f0fc;
    --atl-icone: #1f3d73;
    --atl-grille: #e6edf7;
    --atl-base: #9fb1cf;
    --atl-repere: #0f2350;
    --atl-survol: rgba(23, 103, 214, 0.06);
    --atl-quand: #eef3fb;
    --atl-c0: #1767d6;
    --atl-c1: #16a34a;
    --atl-c2: #152c78;
    --atl-c3: #d42a3e;
    --atl-c4: #7cc0ff;
    --atl-fond:
        radial-gradient(900px 420px at 100% 0%, rgba(47, 140, 255, 0.10), transparent 70%),
        linear-gradient(180deg, #f6f9fe, #eaf1fb);
}

/* Le bandeau, seul, reste sur le bleu : il réécrit ses jetons pour son sous-arbre. */
.atl-design-jour .atl-bandeau[b-jhqdd56sob] {
    --atl-encre: #ffffff;
    --atl-encre-2: #cfe0ff;
    --atl-electrique: #7cc0ff;
    --atl-etat-fond: rgba(255, 255, 255, 0.16);
    --atl-etat-encre: #ffffff;
    --atl-phrase-fond: rgba(255, 255, 255, 0.14);
    --atl-phrase-trait: rgba(255, 255, 255, 0.4);
    margin: calc(-1 * clamp(14px, 2vw, 28px)) calc(-1 * clamp(14px, 2vw, 28px)) 0;
    padding: clamp(12px, 1.4vw, 22px) clamp(14px, 2vw, 28px);
    background: linear-gradient(110deg, #152c78, #0a4f8f);
    box-shadow: 0 6px 18px rgba(21, 44, 120, 0.25);
}
.atl-design-jour.atl-tv .atl-bandeau[b-jhqdd56sob] { margin: -2.4vh -2.4vw 0; padding: 1.6vh 2.4vw; }
.atl-design-jour .atl-valeur[b-jhqdd56sob] { color: #152c78; }
.atl-design-jour .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 2px 3px rgba(15, 35, 80, 0.25)); }
.atl-design-jour .atl-route[b-jhqdd56sob] { box-shadow: inset 0 1px 2px rgba(15, 35, 80, 0.12); }
.atl-design-jour .atl-route-faite[b-jhqdd56sob] { box-shadow: none; }
.atl-design-jour .atl-pourcent[b-jhqdd56sob],
.atl-design-jour .atl-carte-valeur[b-jhqdd56sob] { text-shadow: none !important; }
.atl-design-jour .atl-jour.est-aujourdhui[b-jhqdd56sob] { box-shadow: 0 0 0 3px rgba(23, 103, 214, 0.12); }
.atl-design-jour .atl-barre.est-courante path[b-jhqdd56sob] { filter: none; }

/* ── 3. PLAN D'INGÉNIEUR — le bleu RIPPA quadrillé ──────────────────────────
   L'atelier, c'est de la mécanique : le tableau se lit comme un plan. Quadrillage blanc sur
   le bleu machine, traits fins, étiquettes en capitales à chasse fixe, et des « cotes » aux
   coins de chaque cadre. Les barres atteintes sont pleines, celles sous l'objectif seulement
   tracées — comme une pièce dessinée et une pièce fabriquée. */
.atl-design-plan[b-jhqdd56sob] {
    --atl-electrique: #9fe1ff;
    --atl-electrique-lueur: rgba(159, 225, 255, 0.35);
    --atl-bleu: rgba(255, 255, 255, 0.92);
    --atl-ardoise: rgba(255, 255, 255, 0.14);
    --atl-courante: #9fe1ff;
    --atl-rouge: #ff6b7a;
    --atl-vert: #7dfcb0;
    --atl-encre: #ffffff;
    --atl-encre-2: #cfe6ff;
    --atl-encre-3: rgba(223, 238, 255, 0.72);
    --atl-sur: rgba(223, 238, 255, 0.6);
    --atl-carte: rgba(6, 40, 92, 0.35);
    --atl-trait: rgba(255, 255, 255, 0.55);
    --atl-ombre: none;
    --atl-lueur-valeur: none;
    --atl-route: transparent;
    --atl-route-faite: repeating-linear-gradient(135deg, #ffffff 0 10px, #cfeeff 10px 20px);
    --atl-jalon: rgba(255, 255, 255, 0.45);
    --atl-jalon-passe: #0a4f8f;
    --atl-pastille: transparent;
    --atl-pastille-trait: rgba(255, 255, 255, 0.4);
    --atl-icone-fond: transparent;
    --atl-icone: #ffffff;
    --atl-grille: rgba(255, 255, 255, 0.18);
    --atl-base: #ffffff;
    --atl-repere: #ff6b7a;
    --atl-survol: rgba(255, 255, 255, 0.08);
    --atl-quand: rgba(255, 255, 255, 0.12);
    --atl-etat-fond: rgba(255, 255, 255, 0.12);
    --atl-etat-encre: #ffffff;
    --atl-phrase-fond: transparent;
    --atl-phrase-trait: #ffffff;
    --atl-c0: #ffffff;
    --atl-c1: #9fe1ff;
    --atl-c2: #7dfcb0;
    --atl-c3: #ff6b7a;
    --atl-c4: #cfe6ff;
    --atl-fond:
        linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 100px 100px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 100px 100px,
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(160deg, #0d5aa8, #0a4f8f 45%, #083d75);
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
}
.atl-design-plan .atl-titre[b-jhqdd56sob] { text-transform: uppercase; letter-spacing: 0.04em; }
.atl-design-plan .atl-titre[b-jhqdd56sob]::before { content: "▣ "; color: var(--atl-electrique); }
.atl-design-plan .atl-score[b-jhqdd56sob],
.atl-design-plan .atl-carte[b-jhqdd56sob],
.atl-design-plan .atl-histo[b-jhqdd56sob] {
    border-radius: 2px;
    border-width: 1.5px;
    /* Les cotes : un trait d'équerre à chaque coin, dessiné par quatre dégradés. */
    background:
        linear-gradient(#fff, #fff) top left / 16px 3px no-repeat,
        linear-gradient(#fff, #fff) top left / 3px 16px no-repeat,
        linear-gradient(#fff, #fff) bottom right / 16px 3px no-repeat,
        linear-gradient(#fff, #fff) bottom right / 3px 16px no-repeat,
        var(--atl-carte);
}
.atl-design-plan .atl-route[b-jhqdd56sob] { border: 1.5px dashed rgba(255, 255, 255, 0.75); box-shadow: none; }
.atl-design-plan .atl-route-faite[b-jhqdd56sob] { border-radius: 999px; box-shadow: none; }
.atl-design-plan .atl-route-faite[b-jhqdd56sob]::after { display: none; }
.atl-design-plan .atl-pelle[b-jhqdd56sob] { color: #ffffff; filter: none; }
.atl-design-plan .atl-pourcent[b-jhqdd56sob],
.atl-design-plan .atl-carte-valeur[b-jhqdd56sob] { text-shadow: none !important; }
.atl-design-plan .atl-carte-icone[b-jhqdd56sob] { border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 2px; }
.atl-design-plan .atl-jour[b-jhqdd56sob] { border-style: dashed; border-radius: 2px; }
.atl-design-plan .atl-jour.est-aujourdhui[b-jhqdd56sob] { border-style: solid; background: rgba(159, 225, 255, 0.14); box-shadow: none; }
.atl-design-plan .atl-phrase[b-jhqdd56sob] { border-radius: 2px; border-style: dashed; font-style: italic; }
.atl-design-plan .atl-phrase-texte[b-jhqdd56sob]::before { content: "« "; }
.atl-design-plan .atl-phrase-texte[b-jhqdd56sob]::after { content: " »"; }
.atl-design-plan .atl-barre.est-sous path[b-jhqdd56sob] { stroke: #ffffff; stroke-width: 1.5; stroke-dasharray: 4 3; }
.atl-design-plan .atl-barre.est-courante path[b-jhqdd56sob] { filter: none; }
.atl-design-plan .atl-repere[b-jhqdd56sob] { stroke-width: 2.5; opacity: 1; }
.atl-design-plan .atl-cle-sous[b-jhqdd56sob] { border: 1px dashed #ffffff; }
.atl-design-plan .atl-cle-objectif[b-jhqdd56sob] { border-top-color: var(--atl-repere); }

/* ── 4. ARÉNA — le tableau de score de la patinoire ─────────────────────────
   Le hockey, c'est ce qui motive une équipe au Canada. Un écran géant noir cerclé d'acier,
   les chiffres en DEL bleu glace (un dégradé pointillé découpé dans le texte), la ligne rouge
   et les lignes bleues de la glace en haut, et — objectif atteint — la LUMIÈRE DE BUT qui
   tourne autour de l'écran. */
.atl-design-arena[b-jhqdd56sob] {
    --atl-electrique: #6fd3ff;
    --atl-electrique-lueur: rgba(111, 211, 255, 0.7);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #26324d;
    --atl-courante: #6fd3ff;
    --atl-rouge: #ff2e48;
    --atl-vert: #3ce882;
    --atl-encre: #eaf6ff;
    --atl-encre-2: #8fb0d6;
    --atl-encre-3: rgba(170, 200, 235, 0.7);
    --atl-sur: #5b7092;
    --atl-carte: linear-gradient(180deg, #05070d, #0a0f1c);
    --atl-trait: #2b3a58;
    --atl-ombre: inset 0 0 0 3px #0d1426, inset 0 0 30px rgba(0, 0, 0, 0.9), 0 0 0 1px #3c4d70, 0 12px 30px rgba(0, 0, 0, 0.6);
    --atl-route: #10182b;
    --atl-route-faite: repeating-linear-gradient(90deg, #6fd3ff 0 14px, #2f7bff 14px 18px);
    --atl-jalon: #3c4d70;
    --atl-pastille: #05070d;
    --atl-pastille-trait: #2b3a58;
    --atl-icone-fond: #10182b;
    --atl-grille: rgba(111, 211, 255, 0.08);
    --atl-base: #3c4d70;
    --atl-repere: #ff2e48;
    --atl-quand: #10182b;
    --atl-phrase-fond: #05070d;
    --atl-phrase-trait: #ff2e48;
    --atl-c0: #6fd3ff;
    --atl-c1: #ffffff;
    --atl-c2: #2f7bff;
    --atl-c3: #ff2e48;
    --atl-c4: #c8ecff;
    --atl-fond:
        linear-gradient(90deg, transparent 0 22%, #2f7bff 22% 23.2%, transparent 23.2% 49.4%, #ff2e48 49.4% 50.6%, transparent 50.6% 76.8%, #2f7bff 76.8% 78%, transparent 78%) top / 100% 6px no-repeat,
        radial-gradient(1000px 500px at 50% -20%, rgba(47, 123, 255, 0.28), transparent 70%),
        linear-gradient(180deg, #0b1322, #070b14);
    border: 3px solid #2b3a58;
}
.atl-design-arena .atl-titre[b-jhqdd56sob] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-style: italic;
}
/* Les chiffres en DEL : une grille de points découpée dans la forme du chiffre. Seulement les
   GROS chiffres — en petit, les points se brouillent. */
.atl-design-arena .atl-valeur[b-jhqdd56sob],
.atl-design-arena .atl-carte-valeur[b-jhqdd56sob] {
    font-family: Consolas, "Liberation Mono", "Courier New", ui-monospace, monospace;
    font-weight: 900;
    color: transparent;
    background: radial-gradient(circle, var(--led, #6fd3ff) 62%, transparent 70%) 0 0 / 0.075em 0.075em;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none !important;
    filter: drop-shadow(0 0 10px var(--led-lueur, rgba(111, 211, 255, 0.65)));
}
.atl-design-arena .atl-valeur[b-jhqdd56sob] { --led: #bfeaff; }
.atl-design-arena .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { --led: #6fd3ff; --led-lueur: rgba(111, 211, 255, 0.65); }
.atl-design-arena .atl-sur[b-jhqdd56sob],
.atl-design-arena .atl-pourcent[b-jhqdd56sob],
.atl-design-arena .atl-jour-valeur[b-jhqdd56sob] { font-family: Consolas, "Liberation Mono", "Courier New", ui-monospace, monospace; }
.atl-design-arena .atl-jour-valeur[b-jhqdd56sob] { color: #bfeaff; text-shadow: 0 0 10px rgba(111, 211, 255, 0.6); }
.atl-design-arena .atl-score[b-jhqdd56sob],
.atl-design-arena .atl-carte[b-jhqdd56sob],
.atl-design-arena .atl-histo[b-jhqdd56sob] { border-radius: 8px; }
/* Les rivets aux quatre coins de l'écran géant. */
.atl-design-arena .atl-score[b-jhqdd56sob],
.atl-design-arena .atl-histo[b-jhqdd56sob] {
    background:
        radial-gradient(circle, #5b6f94 2.5px, transparent 3.5px) 8px 8px / 10px 10px no-repeat,
        radial-gradient(circle, #5b6f94 2.5px, transparent 3.5px) calc(100% - 8px) 8px / 10px 10px no-repeat,
        radial-gradient(circle, #5b6f94 2.5px, transparent 3.5px) 8px calc(100% - 8px) / 10px 10px no-repeat,
        radial-gradient(circle, #5b6f94 2.5px, transparent 3.5px) calc(100% - 8px) calc(100% - 8px) / 10px 10px no-repeat,
        var(--atl-carte);
}
.atl-design-arena .atl-etiquette[b-jhqdd56sob],
.atl-design-arena .atl-carte-libelle[b-jhqdd56sob] { letter-spacing: 0.12em; }
.atl-design-arena .atl-phrase[b-jhqdd56sob] { border-width: 2px; border-radius: 6px; font-style: italic; }
.atl-design-arena .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-rouge); }
.atl-design-arena .atl-jour[b-jhqdd56sob] { border-radius: 4px; }
.atl-design-arena .atl-route-faite[b-jhqdd56sob]::after { display: none; }

/* La lumière de but : objectif atteint, le cadre rouge pulse PAR-DESSUS les panneaux (un
   calque qui ne capte aucun clic), et un grand « BUT ! » clignote quelques secondes chaque
   demi-minute — assez pour être vu en passant, pas assez pour cacher les chiffres. */
.atl-design-arena.atl-gagne[b-jhqdd56sob] { border-color: #ff2e48; }
.atl-design-arena.atl-gagne[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border: 6px solid #ff2e48;
    animation: atl-gyrophare-b-jhqdd56sob 1s ease-in-out infinite alternate;
}
@keyframes atl-gyrophare-b-jhqdd56sob {
    from { box-shadow: inset 0 0 40px 6px rgba(255, 46, 72, 0.25), 0 0 0 rgba(255, 46, 72, 0); opacity: 0.55; }
    to   { box-shadow: inset 0 0 160px 30px rgba(255, 46, 72, 0.55), 0 0 40px rgba(255, 46, 72, 0.8); opacity: 1; }
}

.atl-but[b-jhqdd56sob] { display: none; }
.atl-design-arena .atl-but[b-jhqdd56sob] {
    display: grid;
    place-items: center;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    font-family: Consolas, "Liberation Mono", "Courier New", ui-monospace, monospace;
    font-size: clamp(90px, 22vh, 260px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.06em;
    color: #ffe3e7;
    text-shadow: 0 0 24px #ff2e48, 0 0 60px #ff2e48, 0 0 120px rgba(255, 46, 72, 0.8);
    background: radial-gradient(closest-side, rgba(5, 7, 13, 0.85), rgba(5, 7, 13, 0.35) 70%, transparent);
    animation: atl-but-eclair-b-jhqdd56sob 30s linear infinite;
}
/* 30 s : quatre éclats dans les cinq premières secondes, puis rien. */
@keyframes atl-but-eclair-b-jhqdd56sob {
    0%, 1.6%   { opacity: 1; transform: scale(1); }
    2.4%       { opacity: 0.15; transform: scale(1.04); }
    3.2%, 4.8% { opacity: 1; transform: scale(1); }
    5.6%       { opacity: 0.15; transform: scale(1.04); }
    6.4%, 9.6% { opacity: 1; transform: scale(1); }
    13%, 100%  { opacity: 0; transform: scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
    .atl-design-arena.atl-gagne[b-jhqdd56sob]::before { animation: none; box-shadow: inset 0 0 80px 12px rgba(255, 46, 72, 0.4); }
    .atl-design-arena .atl-but[b-jhqdd56sob] { display: none; }
}

/* ── 5. HALLOWEEN — la nuit des citrouilles ──────────────────────────────────
   Pour octobre : une nuit violette sous une pleine lune, des chauves-souris qui passent, des
   toiles d'araignée aux coins des panneaux. Le bleu RIPPA reste la couleur qui mène ; l'orange
   des citrouilles n'y vient qu'en ALTERNANCE avec lui, jamais seul : une barre atteinte sur deux,
   une bande sur deux de la piste, le chiffre de la semaine contre le record en bleu. C'est le
   seul design où l'orange a sa place — celui des citrouilles, pas celui d'une marque — et il y
   reste minoritaire. Le violet tient le rôle de l'ardoise (sous l'objectif), le vert « potion »
   celui de la semaine en cours. */
.atl-design-halloween[b-jhqdd56sob] {
    --atl-orange: #ff8a1f;
    --atl-electrique: #4aa8ff;
    --atl-electrique-lueur: rgba(74, 168, 255, 0.7);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #4b2a73;
    --atl-courante: #8dff5a;
    --atl-rouge: #ff3b5c;
    --atl-vert: #8dff5a;
    --atl-encre: #f4f0ff;
    --atl-encre-2: #d3b8f2;
    --atl-encre-3: rgba(222, 205, 245, 0.7);
    --atl-sur: #9a7cc2;
    --atl-carte: linear-gradient(165deg, rgba(58, 22, 92, 0.78), rgba(18, 6, 30, 0.88));
    --atl-trait: rgba(74, 168, 255, 0.3);
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 26px rgba(124, 58, 237, 0.18);
    --atl-lueur-valeur: 0 0 18px rgba(255, 138, 31, 0.9), 0 0 44px rgba(255, 90, 0, 0.45);
    --atl-route: rgba(255, 255, 255, 0.07);
    --atl-route-faite: repeating-linear-gradient(135deg, #2f7bff 0 16px, #ff8a1f 16px 32px);
    --atl-jalon: rgba(211, 184, 242, 0.25);
    --atl-jalon-passe: #f4f0ff;
    --atl-drapeau: #d3b8f2;
    --atl-pastille: rgba(124, 58, 237, 0.08);
    --atl-pastille-trait: rgba(124, 58, 237, 0.25);
    --atl-icone-fond: rgba(74, 168, 255, 0.14);
    --atl-icone: #4aa8ff;
    --atl-grille: rgba(211, 184, 242, 0.09);
    --atl-base: rgba(211, 184, 242, 0.5);
    --atl-repere: #8dff5a;
    --atl-survol: rgba(74, 168, 255, 0.08);
    --atl-quand: rgba(124, 58, 237, 0.2);
    --atl-phrase-fond: rgba(74, 168, 255, 0.1);
    --atl-phrase-trait: rgba(74, 168, 255, 0.55);
    --atl-etat-fond: #1d3214;
    --atl-etat-encre: #d9ffc4;
    --atl-c0: #ff8a1f;
    --atl-c1: #2f7bff;
    --atl-c2: #a855f7;
    --atl-c3: #4aa8ff;
    --atl-c4: #8dff5a;
    --atl-fond:
        radial-gradient(circle at 62% 2.5%, #fff3cf 0 2.2%, rgba(255, 236, 180, 0.35) 2.6%, rgba(255, 200, 120, 0.1) 6%, transparent 11%),
        radial-gradient(1100px 520px at 10% -10%, rgba(109, 40, 217, 0.55), transparent 70%),
        radial-gradient(900px 480px at 100% 115%, rgba(47, 123, 255, 0.3), transparent 70%),
        linear-gradient(180deg, #1a0b2e, #0b0414);
}

/* Les chauves-souris : trois silhouettes lilas autour de la lune, dans le ciel du bandeau, qui
   dérivent très lentement. Un calque décoratif qui ne capte aucun clic et passe sous le texte. */
.atl-design-halloween[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(70px, 12vh, 140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%23c9a3f0' d='M32 12c-1.5-3-3-4-3-4l-1 3c-3-3-8-4-14-3 3 2 4 5 4 8-3-2-7-2-10 0 4 1 7 4 8 8 3-3 8-4 13-2 1-2 2-3 3-3s2 1 3 3c5-2 10-1 13 2 1-4 4-7 8-8-3-2-7-2-10 0 0-3 1-6 4-8-6-1-11 0-14 3l-1-3s-1.5 1-3 4z'/%3E%3C/svg%3E") 55% 70% / clamp(30px, 2.6vw, 52px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%23c9a3f0' d='M32 12c-1.5-3-3-4-3-4l-1 3c-3-3-8-4-14-3 3 2 4 5 4 8-3-2-7-2-10 0 4 1 7 4 8 8 3-3 8-4 13-2 1-2 2-3 3-3s2 1 3 3c5-2 10-1 13 2 1-4 4-7 8-8-3-2-7-2-10 0 0-3 1-6 4-8-6-1-11 0-14 3l-1-3s-1.5 1-3 4z'/%3E%3C/svg%3E") 67% 25% / clamp(20px, 1.7vw, 34px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath fill='%23c9a3f0' d='M32 12c-1.5-3-3-4-3-4l-1 3c-3-3-8-4-14-3 3 2 4 5 4 8-3-2-7-2-10 0 4 1 7 4 8 8 3-3 8-4 13-2 1-2 2-3 3-3s2 1 3 3c5-2 10-1 13 2 1-4 4-7 8-8-3-2-7-2-10 0 0-3 1-6 4-8-6-1-11 0-14 3l-1-3s-1.5 1-3 4z'/%3E%3C/svg%3E") 73% 85% / clamp(24px, 2vw, 40px) auto no-repeat;
    animation: atl-vol-b-jhqdd56sob 14s ease-in-out infinite alternate;
}
@keyframes atl-vol-b-jhqdd56sob {
    from { transform: translate(0, 0); }
    to   { transform: translate(2.5%, 6%); }
}

.atl-design-halloween .atl-titre[b-jhqdd56sob] { letter-spacing: 0.02em; text-shadow: 0 0 16px rgba(168, 85, 247, 0.7); }
.atl-design-halloween .atl-titre[b-jhqdd56sob]::before { content: "🎃 "; }
/* L'alternance : le chiffre de la semaine en orange citrouille, le record en bleu RIPPA. */
.atl-design-halloween .atl-valeur[b-jhqdd56sob] { color: #ffb347; }
.atl-design-halloween .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-electrique); text-shadow: 0 0 22px rgba(74, 168, 255, 0.6); }
.atl-design-halloween .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(74, 168, 255, 0.9)); }
.atl-design-halloween .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.3); }
.atl-design-halloween .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 18px rgba(74, 168, 255, 0.45); }
.atl-design-halloween .atl-route-faite[b-jhqdd56sob]::after { display: none; }
.atl-design-halloween .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(74, 168, 255, 0.14);
    box-shadow: 0 0 18px rgba(74, 168, 255, 0.4);
}
/* Une semaine atteinte sur deux (est-alterne, comptée parmi les atteintes) : bleu, orange,
   bleu… Les semaines sous l'objectif restent violettes. */
.atl-design-halloween .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-orange); }
.atl-design-halloween .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 8px rgba(141, 255, 90, 0.85)); }
.atl-design-halloween .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-halloween .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: #8dff5a; }
.atl-design-halloween .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-orange); }
.atl-design-halloween .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #ff8a1f 50%); }

/* Les toiles d'araignée : une dans le coin haut-droit de chaque panneau, dessinée en traits
   fins (rayons + arcs) par-dessus le fond de carte. */
.atl-design-halloween .atl-score[b-jhqdd56sob],
.atl-design-halloween .atl-carte[b-jhqdd56sob],
.atl-design-halloween .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23d3b8f2' stroke-opacity='.45' stroke-width='1'%3E%3Cpath d='M60 0 0 0M60 0 8 30M60 0 28 52M60 0 60 60'/%3E%3Cpath d='M48 0q2 6 6 6 1 4 6 6M36 0q3 10 10 12 2 6 14 10M22 0q4 16 16 19 3 9 22 18M8 0q6 22 22 27 4 12 30 26'/%3E%3C/svg%3E") top right / clamp(48px, 4.5vw, 84px) auto no-repeat,
        var(--atl-carte);
}

@media (prefers-reduced-motion: reduce) {
    .atl-design-halloween[b-jhqdd56sob]::before { animation: none; }
}

/* ── 6. NOËL — la nuit de neige ──────────────────────────────────────────────
   Pour décembre : une nuit d'hiver AU BLEU RIPPA (le marine du logo, pas un noir), la neige
   qui tombe sur tout l'écran, une guirlande lumineuse qui court le long du bandeau, de la neige
   posée sur le haut de chaque panneau. Le rouge de la feuille d'érable devient celui du sucre
   d'orge : en ALTERNANCE avec le bleu (une barre atteinte sur deux), en rayures avec le blanc
   sur la piste — jamais seul. Le vert sapin tient la semaine en cours ; l'or n'est que la lueur
   de l'étoile, sur le chiffre de la semaine et le drapeau. */
.atl-design-noel[b-jhqdd56sob] {
    --atl-sucre: #e3263a;
    --atl-sapin: #3ddc84;
    --atl-or: #ffd76a;
    --atl-electrique: #6cc4ff;
    --atl-electrique-lueur: rgba(108, 196, 255, 0.7);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #3a5683;
    --atl-courante: var(--atl-sapin);
    --atl-rouge: #ff4155;
    --atl-vert: var(--atl-sapin);
    --atl-encre: #ffffff;
    --atl-encre-2: #c9dcf5;
    --atl-encre-3: rgba(214, 230, 250, 0.7);
    --atl-sur: #8fa9cf;
    --atl-carte: linear-gradient(165deg, rgba(28, 62, 128, 0.72), rgba(8, 20, 50, 0.86));
    --atl-trait: rgba(201, 220, 245, 0.28);
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.45);
    --atl-lueur-valeur: 0 0 16px rgba(255, 215, 106, 0.85), 0 0 42px rgba(255, 190, 60, 0.4);
    --atl-route: rgba(255, 255, 255, 0.1);
    --atl-route-faite: repeating-linear-gradient(135deg, var(--atl-sucre) 0 14px, #ffffff 14px 28px);
    --atl-jalon: rgba(255, 255, 255, 0.25);
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: var(--atl-or);
    --atl-pastille: rgba(255, 255, 255, 0.05);
    --atl-pastille-trait: rgba(201, 220, 245, 0.18);
    --atl-icone-fond: rgba(227, 38, 58, 0.16);
    --atl-icone: #ff8a96;
    --atl-grille: rgba(201, 220, 245, 0.1);
    --atl-base: rgba(255, 255, 255, 0.55);
    --atl-repere: var(--atl-or);
    --atl-survol: rgba(108, 196, 255, 0.08);
    --atl-quand: rgba(255, 255, 255, 0.12);
    --atl-phrase-fond: rgba(227, 38, 58, 0.14);
    --atl-phrase-trait: rgba(255, 138, 150, 0.6);
    --atl-etat-fond: rgba(61, 220, 132, 0.18);
    --atl-etat-encre: #d4ffe6;
    --atl-c0: #e3263a;
    --atl-c1: #ffffff;
    --atl-c2: #3ddc84;
    --atl-c3: #ffd76a;
    --atl-c4: #2f7bff;
    --atl-fond:
        radial-gradient(1200px 600px at 15% -10%, rgba(47, 123, 255, 0.45), transparent 70%),
        radial-gradient(900px 480px at 100% 115%, rgba(10, 79, 143, 0.6), transparent 70%),
        linear-gradient(180deg, #0f2560, #050f2a);
}

/* La neige : deux couches de flocons (des points blancs semés en tuile) qui descendent à des
   vitesses différentes, pour la profondeur. Sous le texte, sans clic, et à peine visible sur
   les panneaux — elle se voit dans les marges, comme par une fenêtre. */
.atl-design-noel[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.75;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0 1.6px, transparent 2.4px),
        radial-gradient(circle at 70% 10%, #fff 0 1.2px, transparent 2px),
        radial-gradient(circle at 45% 75%, #fff 0 1.8px, transparent 2.6px),
        radial-gradient(circle at 85% 60%, #fff 0 1px, transparent 1.8px),
        radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.8) 0 2.4px, transparent 3.2px),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.8) 0 2.8px, transparent 3.6px);
    background-size: 140px 140px, 140px 140px, 140px 140px, 140px 140px, 260px 260px, 260px 260px;
    animation: atl-neige-b-jhqdd56sob 18s linear infinite;
}
@keyframes atl-neige-b-jhqdd56sob {
    from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    to   { background-position: 30px 140px, 30px 140px, 30px 140px, 30px 140px, -40px 520px, -40px 520px; }
}

/* La guirlande : une rangée d'ampoules rouge, verte, or et bleue sur un fil, le long du haut de
   l'écran. Elle décale ses couleurs d'une ampoule par seconde — les lumières « courent ». */
.atl-design-noel[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(16px, 2.2vh, 26px);
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 24'%3E%3Cpath d='M0 4q20 8 40 0t40 0 40 0 40 0' fill='none' stroke='%23283e66' stroke-width='1.5'/%3E%3Cg%3E%3Cellipse cx='20' cy='14' rx='5' ry='7' fill='%23ff4155'/%3E%3Cellipse cx='60' cy='14' rx='5' ry='7' fill='%233ddc84'/%3E%3Cellipse cx='100' cy='14' rx='5' ry='7' fill='%23ffd76a'/%3E%3Cellipse cx='140' cy='14' rx='5' ry='7' fill='%236cc4ff'/%3E%3C/g%3E%3C/svg%3E") 0 0 / auto 100% repeat-x;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
    animation: atl-guirlande-b-jhqdd56sob 4s steps(4) infinite;
}
/* 4 ampoules par motif de 160 × 24 : un motif mesure 6,67 hauteurs ; un pas = une ampoule. */
@keyframes atl-guirlande-b-jhqdd56sob {
    from { background-position-x: 0; }
    to   { background-position-x: calc(clamp(16px, 2.2vh, 26px) * 160 / 24); }
}
/* La guirlande prend le haut : le bandeau descend d'autant pour ne pas passer dessous. */
.atl-design-noel .atl-bandeau[b-jhqdd56sob] { padding-top: clamp(10px, 1.6vh, 20px); }

.atl-design-noel .atl-titre[b-jhqdd56sob] { text-shadow: 0 0 16px rgba(108, 196, 255, 0.55); }
.atl-design-noel .atl-titre[b-jhqdd56sob]::before { content: "🎄 "; }
/* L'étoile : le chiffre de la semaine blanc, auréolé d'or ; le record en rouge sucre d'orge. */
.atl-design-noel .atl-valeur[b-jhqdd56sob] { color: #fffaf0; }
.atl-design-noel .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: #ff6b7a; text-shadow: 0 0 22px rgba(227, 38, 58, 0.55); }
.atl-design-noel .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(108, 196, 255, 0.9)); }
.atl-design-noel .atl-drapeau[b-jhqdd56sob] { filter: drop-shadow(0 0 8px rgba(255, 215, 106, 0.8)); }
.atl-design-noel .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.atl-design-noel .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 16px rgba(227, 38, 58, 0.45); }
.atl-design-noel .atl-route-faite[b-jhqdd56sob]::after { display: none; }
.atl-design-noel .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(61, 220, 132, 0.14);
    box-shadow: 0 0 18px rgba(61, 220, 132, 0.4);
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, rouge, bleu… Sous l'objectif : ardoise. */
.atl-design-noel .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-sucre); }
.atl-design-noel .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 8px rgba(61, 220, 132, 0.85)); }
.atl-design-noel .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-noel .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-sapin); }
.atl-design-noel .atl-valeur-barre.est-record[b-jhqdd56sob] { fill: #ff6b7a; }
.atl-design-noel .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-sucre); }
.atl-design-noel .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #e3263a 50%); }

/* La neige posée : un bourrelet blanc ondulé sur le haut de chaque panneau, par-dessus le fond
   de carte. */
.atl-design-noel .atl-score[b-jhqdd56sob],
.atl-design-noel .atl-carte[b-jhqdd56sob],
.atl-design-noel .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0h200v4q-8 7-18 3t-20 2-22-3-20 4-24-2-18 3-22-4-20 3-18-2-18 4Q4 10 0 6z' fill='%23f4f8ff'/%3E%3C/svg%3E") top center / 100% clamp(8px, 1.3vh, 16px) no-repeat,
        var(--atl-carte);
}

@media (prefers-reduced-motion: reduce) {
    .atl-design-noel[b-jhqdd56sob]::before,
    .atl-design-noel[b-jhqdd56sob]::after { animation: none; }
}

/* ── 7. TEMPÊTE D'HIVER — la poudrerie de janvier ───────────────────────────
   Pas Noël : ni guirlande ni sucre d'orge, la tempête. Un ciel d'acier chargé de nuages, la
   poudrerie que le vent couche presque à l'horizontale (deux couches, la plus proche plus vite,
   et des rafales qui l'épaississent puis la calment), des glaçons pendus sous le haut de
   l'écran, du givre au coin de chaque panneau. Le bleu RIPPA mène ; la glace (cyan pâle)
   n'y vient qu'en ALTERNANCE avec lui — une barre atteinte sur deux — et le blanc de la glace
   tient la semaine en cours et le chiffre de la semaine. */
.atl-design-tempete[b-jhqdd56sob] {
    --atl-glace: #7fdcff;
    --atl-givre: #e8fbff;
    --atl-electrique: #7fdcff;
    --atl-electrique-lueur: rgba(127, 220, 255, 0.65);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #3d4c63;
    --atl-courante: var(--atl-givre);
    --atl-rouge: #ff4d5e;
    --atl-vert: #34d399;
    --atl-encre: #f3fbff;
    --atl-encre-2: #b4cbe0;
    --atl-encre-3: rgba(200, 222, 240, 0.72);
    --atl-sur: #8ea6bf;
    --atl-carte: linear-gradient(165deg, rgba(120, 170, 220, 0.18), rgba(14, 26, 44, 0.86) 55%);
    --atl-trait: rgba(191, 239, 255, 0.34);
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 28px rgba(191, 239, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.5);
    --atl-lueur-valeur: 0 0 18px rgba(191, 239, 255, 0.85), 0 0 46px rgba(127, 220, 255, 0.45);
    --atl-route: rgba(255, 255, 255, 0.08);
    --atl-route-faite: linear-gradient(90deg, #1f4fbf, #2f7bff 45%, #7fdcff 85%, #e8fbff);
    --atl-jalon: rgba(191, 239, 255, 0.25);
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: var(--atl-givre);
    --atl-pastille: rgba(191, 239, 255, 0.05);
    --atl-pastille-trait: rgba(191, 239, 255, 0.16);
    --atl-icone-fond: rgba(127, 220, 255, 0.14);
    --atl-icone: var(--atl-glace);
    --atl-grille: rgba(191, 239, 255, 0.09);
    --atl-base: rgba(232, 251, 255, 0.55);
    --atl-repere: var(--atl-givre);
    --atl-survol: rgba(127, 220, 255, 0.08);
    --atl-quand: rgba(191, 239, 255, 0.12);
    --atl-phrase-fond: rgba(127, 220, 255, 0.1);
    --atl-phrase-trait: rgba(191, 239, 255, 0.5);
    --atl-etat-fond: rgba(52, 211, 153, 0.18);
    --atl-etat-encre: #d1fae5;
    --atl-c0: #ffffff;
    --atl-c1: #7fdcff;
    --atl-c2: #2f7bff;
    --atl-c3: #e8fbff;
    --atl-c4: #b4cbe0;
    --atl-fond:
        radial-gradient(1000px 380px at 28% -8%, rgba(150, 175, 205, 0.38), transparent 70%),
        radial-gradient(800px 340px at 86% 0%, rgba(110, 135, 170, 0.32), transparent 70%),
        radial-gradient(900px 480px at 100% 115%, rgba(47, 123, 255, 0.22), transparent 70%),
        linear-gradient(180deg, #1c2b40, #0b1422 62%, #080e18);
}

/* La poudrerie : un calque plus grand que l'écran, couché de 14°, dont les flocons filent vers
   la droite — le vent les pousse en travers. Deux tuiles de tailles différentes, chacune
   déplacée d'un nombre entier de tuiles par tour : la boucle ne saute jamais. */
.atl-design-tempete[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: -40%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    transform: rotate(14deg);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg stroke='%23fff' stroke-linecap='round' stroke-width='1.6' stroke-opacity='.75'%3E%3Cpath d='M10 20h16M80 58h24M148 28h12M36 118h20M118 152h28M168 98h14M58 182h12M2 86h10M132 196h10'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.9'%3E%3Ccircle cx='30' cy='78' r='1.6'/%3E%3Ccircle cx='104' cy='12' r='1.2'/%3E%3Ccircle cx='186' cy='140' r='1.4'/%3E%3Ccircle cx='88' cy='106' r='1'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 200px 200px repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='40' cy='60' r='3'/%3E%3Ccircle cx='210' cy='30' r='2.4'/%3E%3Ccircle cx='150' cy='170' r='3.4'/%3E%3Ccircle cx='280' cy='230' r='2.6'/%3E%3Ccircle cx='70' cy='270' r='2.2'/%3E%3Ccircle cx='250' cy='120' r='1.8'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 320px 320px repeat;
    animation: atl-poudrerie-b-jhqdd56sob 2.4s linear infinite, atl-rafale-b-jhqdd56sob 11s ease-in-out infinite;
}
@keyframes atl-poudrerie-b-jhqdd56sob {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 600px 0, 320px 0; }
}
@keyframes atl-rafale-b-jhqdd56sob {
    0%, 100% { opacity: 0.4; }
    35%      { opacity: 0.8; }
    55%      { opacity: 0.5; }
    75%      { opacity: 0.72; }
}

/* Les glaçons : une corniche de neige et ses glaçons, le long du haut de l'écran. */
.atl-design-tempete[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(14px, 2.6vh, 32px);
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M6 4l3 18 3-18zM22 4l2 11 2-11zM38 4l3.5 24 3.5-24zM58 4l2 9 2-9zM72 4l3 17 3-17zM92 4l2.5 13 2.5-13zM106 4l3 21 3-21z' fill='%23cfefff' fill-opacity='.85'/%3E%3Cpath d='M0 0h120v5q-10 3-20 0t-20 0-20 0-20 0-20 0-20 0z' fill='%23f2faff'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x;
    filter: drop-shadow(0 2px 6px rgba(191, 239, 255, 0.35));
}
/* Les glaçons prennent le haut : le bandeau descend d'autant. */
.atl-design-tempete .atl-bandeau[b-jhqdd56sob] { padding-top: clamp(12px, 2vh, 26px); }

.atl-design-tempete .atl-titre[b-jhqdd56sob] { text-shadow: 0 0 16px rgba(191, 239, 255, 0.55); }
.atl-design-tempete .atl-titre[b-jhqdd56sob]::before { content: "❄️ "; }
/* Le chiffre de la semaine blanc comme la glace ; le record en cyan glacier. */
.atl-design-tempete .atl-valeur[b-jhqdd56sob] { color: #ffffff; }
.atl-design-tempete .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-glace); text-shadow: 0 0 22px rgba(127, 220, 255, 0.55); }
.atl-design-tempete .atl-pourcent[b-jhqdd56sob] { text-shadow: 0 0 18px rgba(127, 220, 255, 0.55); }
.atl-design-tempete .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(127, 220, 255, 0.9)); }
.atl-design-tempete .atl-drapeau[b-jhqdd56sob] { filter: drop-shadow(0 0 6px rgba(232, 251, 255, 0.7)); }
.atl-design-tempete .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(191, 239, 255, 0.25); }
.atl-design-tempete .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 18px rgba(127, 220, 255, 0.45); }
.atl-design-tempete .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(127, 220, 255, 0.14);
    box-shadow: 0 0 18px rgba(127, 220, 255, 0.4);
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, glace, bleu… Sous l'objectif : acier. */
.atl-design-tempete .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-glace); }
.atl-design-tempete .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 9px rgba(232, 251, 255, 0.9)); }
.atl-design-tempete .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-tempete .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-givre); }
.atl-design-tempete .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-glace); }
.atl-design-tempete .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #7fdcff 50%); }

/* Le givre : un cristal au coin haut-droit de chaque panneau, par-dessus le fond de carte. */
.atl-design-tempete .atl-score[b-jhqdd56sob],
.atl-design-tempete .atl-carte[b-jhqdd56sob],
.atl-design-tempete .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' fill='none' stroke='%23dff6ff' stroke-opacity='.5' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M30 6V54M24 12l6 6 6-6M24 48l6-6 6 6M26 21l4 4 4-4M26 39l4-4 4 4'/%3E%3Cg transform='rotate(60 30 30)'%3E%3Cpath d='M30 6V54M24 12l6 6 6-6M24 48l6-6 6 6M26 21l4 4 4-4M26 39l4-4 4 4'/%3E%3C/g%3E%3Cg transform='rotate(120 30 30)'%3E%3Cpath d='M30 6V54M24 12l6 6 6-6M24 48l6-6 6 6M26 21l4 4 4-4M26 39l4-4 4 4'/%3E%3C/g%3E%3C/svg%3E") top 6px right 6px / clamp(40px, 3.6vw, 70px) auto no-repeat,
        var(--atl-carte);
}

/* ── 8. SAINT-VALENTIN — la nuit des cœurs ──────────────────────────────────
   Pour février : une nuit marine (le bleu du logo, à peine teinté de prune) où des cœurs montent
   lentement, rose, lilas et blanc. Le rose n'y vient qu'en ALTERNANCE avec le bleu RIPPA — une
   barre atteinte sur deux, la piste qui passe du bleu au rose — et le drapeau du bout de la
   route devient un cœur, qui bat quand l'objectif est en vue. */
.atl-design-valentin[b-jhqdd56sob] {
    --atl-rose: #ff4d8d;
    --atl-rose-pale: #ffc2d9;
    --atl-electrique: #6cb8ff;
    --atl-electrique-lueur: rgba(108, 184, 255, 0.65);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #3b3566;
    --atl-courante: var(--atl-rose-pale);
    --atl-rouge: #ff4d6d;
    --atl-vert: #34d399;
    --atl-encre: #fff5f9;
    --atl-encre-2: #d9c4ea;
    --atl-encre-3: rgba(230, 214, 240, 0.72);
    --atl-sur: #a593c7;
    --atl-carte: linear-gradient(165deg, rgba(52, 38, 120, 0.72), rgba(14, 10, 40, 0.88));
    --atl-trait: rgba(255, 122, 168, 0.3);
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 77, 141, 0.12);
    --atl-lueur-valeur: 0 0 18px rgba(255, 122, 168, 0.85), 0 0 46px rgba(255, 77, 141, 0.4);
    --atl-route: rgba(255, 255, 255, 0.08);
    --atl-route-faite: linear-gradient(90deg, #2f5bd9, #7c5cf0 55%, #ff4d8d);
    --atl-jalon: rgba(255, 194, 217, 0.25);
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: var(--atl-rose);
    --atl-pastille: rgba(255, 122, 168, 0.06);
    --atl-pastille-trait: rgba(255, 122, 168, 0.18);
    --atl-icone-fond: rgba(255, 77, 141, 0.16);
    --atl-icone: #ff8fb6;
    --atl-grille: rgba(217, 196, 234, 0.09);
    --atl-base: rgba(255, 245, 249, 0.5);
    --atl-repere: var(--atl-rose-pale);
    --atl-survol: rgba(255, 122, 168, 0.08);
    --atl-quand: rgba(255, 122, 168, 0.14);
    --atl-phrase-fond: rgba(255, 77, 141, 0.12);
    --atl-phrase-trait: rgba(255, 143, 182, 0.55);
    --atl-etat-fond: rgba(52, 211, 153, 0.18);
    --atl-etat-encre: #d1fae5;
    --atl-c0: #ff4d8d;
    --atl-c1: #2f7bff;
    --atl-c2: #ffc2d9;
    --atl-c3: #c084fc;
    --atl-c4: #ffffff;
    --atl-fond:
        radial-gradient(1100px 520px at 10% -10%, rgba(47, 91, 217, 0.5), transparent 70%),
        radial-gradient(900px 480px at 100% 115%, rgba(255, 77, 141, 0.26), transparent 70%),
        linear-gradient(180deg, #1a1446, #0b0a24);
}

/* Les cœurs qui montent : deux tuiles, la plus grande (donc la plus proche) plus vite, chacune
   déplacée d'une tuile entière par tour. Sous le texte, sans clic. */
.atl-design-valentin[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.42;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cpath transform='translate(18 40) scale(1.2)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff4d8d' fill-opacity='.7'/%3E%3Cpath transform='translate(130 10) scale(.7)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ffb3cf' fill-opacity='.8'/%3E%3Cpath transform='translate(92 116) scale(1.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff7aa8' fill-opacity='.45'/%3E%3Cpath transform='translate(180 168) scale(.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ffffff' fill-opacity='.5'/%3E%3Cpath transform='translate(36 172) scale(.8)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23c084fc' fill-opacity='.5'/%3E%3C/svg%3E") 0 0 / 220px 220px repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cpath transform='translate(18 40) scale(1.2)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff4d8d' fill-opacity='.7'/%3E%3Cpath transform='translate(130 10) scale(.7)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ffb3cf' fill-opacity='.8'/%3E%3Cpath transform='translate(92 116) scale(1.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff7aa8' fill-opacity='.45'/%3E%3Cpath transform='translate(180 168) scale(.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ffffff' fill-opacity='.5'/%3E%3Cpath transform='translate(36 172) scale(.8)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23c084fc' fill-opacity='.5'/%3E%3C/svg%3E") 110px 60px / 340px 340px repeat;
    animation: atl-coeurs-b-jhqdd56sob 20s linear infinite;
}
@keyframes atl-coeurs-b-jhqdd56sob {
    from { background-position: 0 0, 110px 60px; }
    to   { background-position: 0 -220px, 110px -620px; }
}

.atl-design-valentin .atl-titre[b-jhqdd56sob] { text-shadow: 0 0 16px rgba(255, 77, 141, 0.55); }
.atl-design-valentin .atl-titre[b-jhqdd56sob]::before { content: "💘 "; }
/* Le chiffre de la semaine blanc rosé, auréolé de rose ; le record en rose. */
.atl-design-valentin .atl-valeur[b-jhqdd56sob] { color: #fff5f9; }
.atl-design-valentin .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: #ff8fb6; text-shadow: 0 0 22px rgba(255, 77, 141, 0.55); }
.atl-design-valentin .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(108, 184, 255, 0.9)); }
.atl-design-valentin .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(255, 122, 168, 0.25); }
.atl-design-valentin .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 18px rgba(255, 77, 141, 0.4); }
.atl-design-valentin .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(255, 122, 168, 0.12);
    box-shadow: 0 0 18px rgba(255, 77, 141, 0.35);
}
/* Le drapeau devient un cœur : le dessin du drapeau s'efface, le cœur le remplace — et il bat
   quand l'objectif est en vue (80 %). */
.atl-design-valentin .atl-drapeau path[b-jhqdd56sob] { display: none; }
.atl-design-valentin .atl-drapeau[b-jhqdd56sob] {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff4d8d'/%3E%3C/svg%3E") center / 92% no-repeat;
    filter: drop-shadow(0 0 8px rgba(255, 77, 141, 0.8));
}
.atl-design-valentin .atl-drapeau.est-proche[b-jhqdd56sob] { animation: atl-battement-b-jhqdd56sob 1.1s ease-in-out infinite; }
@keyframes atl-battement-b-jhqdd56sob {
    0%, 100% { transform: scale(1); }
    15%      { transform: scale(1.2); }
    30%      { transform: scale(1); }
    45%      { transform: scale(1.12); }
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, rose, bleu… Sous l'objectif : prune. */
.atl-design-valentin .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-rose); }
.atl-design-valentin .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 9px rgba(255, 194, 217, 0.85)); }
.atl-design-valentin .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-valentin .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-rose-pale); }
.atl-design-valentin .atl-valeur-barre.est-record[b-jhqdd56sob] { fill: #ff8fb6; }
.atl-design-valentin .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-rose); }
.atl-design-valentin .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #ff4d8d 50%); }

/* Deux petits cœurs au coin haut-droit de chaque panneau. */
.atl-design-valentin .atl-score[b-jhqdd56sob],
.atl-design-valentin .atl-carte[b-jhqdd56sob],
.atl-design-valentin .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath transform='translate(28 6) scale(1.05)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='none' stroke='%23ff7aa8' stroke-opacity='.6' stroke-width='1.6'/%3E%3Cpath transform='translate(40 30) scale(.6)' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='%23ff4d8d' fill-opacity='.45'/%3E%3C/svg%3E") top 6px right 6px / clamp(40px, 3.6vw, 70px) auto no-repeat,
        var(--atl-carte);
}

/* ── 9. PRINTEMPS — le ciel d'avril ──────────────────────────────────────────
   Le premier design saisonnier CLAIR : un ciel bleu pâle qui verdit vers le bas, des pétales de
   cerisier qui volent en diagonale, l'herbe et trois fleurs au pied de l'écran, une fleur au coin
   de chaque panneau. Le texte est marine, comme le jour ; le logo passe au marine (le razor le
   choisit). Le vert des feuilles n'y vient qu'en ALTERNANCE avec le bleu RIPPA — une barre
   atteinte sur deux, la piste qui « pousse » du bleu au vert — et le rose du cerisier tient la
   semaine en cours. */
.atl-design-printemps[b-jhqdd56sob] {
    --atl-feuille: #3aa655;
    --atl-cerisier: #f472b6;
    --atl-electrique: #1767d6;
    --atl-electrique-lueur: rgba(23, 103, 214, 0.25);
    --atl-bleu: #1f5fd1;
    --atl-ardoise: #c3cfe0;
    --atl-courante: var(--atl-cerisier);
    --atl-rouge: #d42a3e;
    --atl-vert: #16a34a;
    --atl-encre: #0f2350;
    --atl-encre-2: #3f5a80;
    --atl-encre-3: #5f7396;
    --atl-sur: #8a9bbd;
    --atl-carte: rgba(255, 255, 255, 0.9);
    --atl-trait: #d4e5ee;
    --atl-ombre: 0 1px 2px rgba(15, 35, 80, 0.06), 0 8px 24px rgba(15, 35, 80, 0.08);
    --atl-lueur-valeur: none;
    --atl-route: #e3eef8;
    --atl-route-faite: linear-gradient(90deg, #1f5fd1, #2f8cff 50%, #5cc46e);
    --atl-jalon: #c9d6ea;
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: #1f3d73;
    --atl-pastille: #f4f9f3;
    --atl-pastille-trait: #e0ecdc;
    --atl-icone-fond: #e8f0fc;
    --atl-icone: #1f5fd1;
    --atl-grille: #e3ecf5;
    --atl-base: #9fb1cf;
    --atl-repere: #0f2350;
    --atl-survol: rgba(23, 103, 214, 0.06);
    --atl-quand: #eef6ec;
    --atl-phrase-fond: rgba(255, 255, 255, 0.75);
    --atl-phrase-trait: rgba(58, 166, 85, 0.45);
    --atl-etat-fond: rgba(22, 163, 74, 0.14);
    --atl-etat-encre: #14532d;
    --atl-c0: #f472b6;
    --atl-c1: #1767d6;
    --atl-c2: #5cc46e;
    --atl-c3: #a78bfa;
    --atl-c4: #fda4af;
    --atl-fond:
        radial-gradient(900px 420px at 90% -5%, rgba(255, 255, 255, 0.75), transparent 70%),
        radial-gradient(1000px 480px at 0% 110%, rgba(134, 239, 172, 0.3), transparent 70%),
        linear-gradient(180deg, #cfe9ff, #e9f6ff 45%, #effaeb);
}

/* Les pétales : deux tuiles qui glissent vers le bas et la droite, d'une tuile entière par tour
   (la boucle ne saute pas) ; la plus grande, plus proche, plus vite. */
.atl-design-printemps[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cellipse cx='30' cy='40' rx='6' ry='3.2' transform='rotate(30 30 40)' fill='%23f9a8d4'/%3E%3Cellipse cx='120' cy='20' rx='5' ry='2.8' transform='rotate(-20 120 20)' fill='%23fbcfe8'/%3E%3Cellipse cx='170' cy='110' rx='6.5' ry='3.4' transform='rotate(60 170 110)' fill='%23f472b6' fill-opacity='.7'/%3E%3Cellipse cx='70' cy='140' rx='5.5' ry='3' transform='rotate(-45 70 140)' fill='%23fda4af'/%3E%3Cellipse cx='140' cy='180' rx='4.5' ry='2.6' transform='rotate(15 140 180)' fill='%23f9a8d4'/%3E%3Cellipse cx='20' cy='110' rx='5' ry='2.2' transform='rotate(-70 20 110)' fill='%2386efac' fill-opacity='.8'/%3E%3C/svg%3E") 0 0 / 200px 200px repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cellipse cx='30' cy='40' rx='6' ry='3.2' transform='rotate(30 30 40)' fill='%23f9a8d4'/%3E%3Cellipse cx='120' cy='20' rx='5' ry='2.8' transform='rotate(-20 120 20)' fill='%23fbcfe8'/%3E%3Cellipse cx='170' cy='110' rx='6.5' ry='3.4' transform='rotate(60 170 110)' fill='%23f472b6' fill-opacity='.7'/%3E%3Cellipse cx='70' cy='140' rx='5.5' ry='3' transform='rotate(-45 70 140)' fill='%23fda4af'/%3E%3Cellipse cx='140' cy='180' rx='4.5' ry='2.6' transform='rotate(15 140 180)' fill='%23f9a8d4'/%3E%3Cellipse cx='20' cy='110' rx='5' ry='2.2' transform='rotate(-70 20 110)' fill='%2386efac' fill-opacity='.8'/%3E%3C/svg%3E") 80px 40px / 320px 320px repeat;
    animation: atl-petales-b-jhqdd56sob 22s linear infinite;
}
@keyframes atl-petales-b-jhqdd56sob {
    from { background-position: 0 0, 80px 40px; }
    to   { background-position: 200px 400px, 400px 680px; }
}

/* L'herbe et ses fleurs, au pied de l'écran ; le tableau remonte d'autant. */
.atl-design-printemps[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(26px, 4.8vh, 58px);
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M0 40V30L0.8 18.7L4 30L6.6 15.2L8 30L11.2 19.7L12 30L15.2 16.9L16 30L18.0 12.9L20 30L23.2 18.3L24 30L26.0 19.4L28 30L30.6 15.6L32 30L34.6 18.9L36 30L37.4 13.0L40 30L43.2 12.7L44 30L45.4 20.4L48 30L51.2 17.4L52 30L53.4 12.1L56 30L57.4 14.4L60 30L63.2 19.2L64 30L64.8 17.8L68 30L68.8 16.8L72 30L74.0 18.5L76 30L76.8 17.3L80 30L81.4 17.7L84 30L86.0 13.4L88 30L90.6 17.5L92 30L95.2 15.5L96 30L96.8 15.4L100 30L100.8 21.0L104 30L105.4 20.0L108 30L108.8 18.2L112 30L115.2 16.0L116 30L119.2 14.6L120 30V40z' fill='%233f9b4f'/%3E%3Cpath d='M18 40V16' stroke='%233f9b4f' stroke-width='1.2'/%3E%3Ccircle cx='18.0' cy='13.4' r='2.3' fill='%23f472b6'/%3E%3Ccircle cx='20.5' cy='15.2' r='2.3' fill='%23f472b6'/%3E%3Ccircle cx='19.5' cy='18.1' r='2.3' fill='%23f472b6'/%3E%3Ccircle cx='16.5' cy='18.1' r='2.3' fill='%23f472b6'/%3E%3Ccircle cx='15.5' cy='15.2' r='2.3' fill='%23f472b6'/%3E%3Ccircle cx='18' cy='16' r='1.5' fill='%23fff'/%3E%3Cpath d='M60 40V20' stroke='%233f9b4f' stroke-width='1.2'/%3E%3Ccircle cx='60.0' cy='17.4' r='2.3' fill='%23ffffff'/%3E%3Ccircle cx='62.5' cy='19.2' r='2.3' fill='%23ffffff'/%3E%3Ccircle cx='61.5' cy='22.1' r='2.3' fill='%23ffffff'/%3E%3Ccircle cx='58.5' cy='22.1' r='2.3' fill='%23ffffff'/%3E%3Ccircle cx='57.5' cy='19.2' r='2.3' fill='%23ffffff'/%3E%3Ccircle cx='60' cy='20' r='1.5' fill='%23f472b6'/%3E%3Cpath d='M98 40V14' stroke='%233f9b4f' stroke-width='1.2'/%3E%3Ccircle cx='98.0' cy='11.4' r='2.3' fill='%23a78bfa'/%3E%3Ccircle cx='100.5' cy='13.2' r='2.3' fill='%23a78bfa'/%3E%3Ccircle cx='99.5' cy='16.1' r='2.3' fill='%23a78bfa'/%3E%3Ccircle cx='96.5' cy='16.1' r='2.3' fill='%23a78bfa'/%3E%3Ccircle cx='95.5' cy='13.2' r='2.3' fill='%23a78bfa'/%3E%3Ccircle cx='98' cy='14' r='1.5' fill='%23fff'/%3E%3Cpath d='M0 40V34L0.9 23.3L3 34L3.3 27.4L6 34L6.3 22.4L9 34L11.1 25.3L12 34L12.3 24.9L15 34L17.1 26.9L18 34L18.3 22.1L21 34L23.7 25.9L24 34L26.1 27.5L27 34L27.9 27.0L30 34L30.9 26.7L33 34L34.5 27.3L36 34L37.5 23.9L39 34L39.3 24.0L42 34L44.1 22.6L45 34L45.9 23.9L48 34L50.1 26.3L51 34L52.5 23.2L54 34L55.5 25.1L57 34L59.7 27.8L60 34L61.5 24.2L63 34L65.7 23.4L66 34L68.1 26.0L69 34L71.1 23.8L72 34L72.3 27.7L75 34L76.5 27.9L78 34L78.3 22.7L81 34L82.5 24.8L84 34L85.5 22.3L87 34L87.3 26.8L90 34L91.5 23.5L93 34L93.9 24.5L96 34L96.9 25.2L99 34L101.7 24.0L102 34L102.9 24.8L105 34L105.3 24.6L108 34L110.7 27.4L111 34L113.1 24.7L114 34L115.5 26.0L117 34L117.9 26.1L120 34V40z' fill='%236cc26a'/%3E%3C/svg%3E") 0 100% / auto 100% repeat-x;
}
.atl-design-printemps[b-jhqdd56sob] { padding-bottom: calc(clamp(14px, 2vw, 28px) + clamp(12px, 2.8vh, 34px)); }
.atl-design-printemps.atl-tv[b-jhqdd56sob] { padding-bottom: 5.4vh; }

.atl-design-printemps .atl-titre[b-jhqdd56sob]::before { content: "🌷 "; }
.atl-design-printemps .atl-valeur[b-jhqdd56sob] { color: #152c78; }
.atl-design-printemps .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-bleu); }
.atl-design-printemps .atl-pourcent[b-jhqdd56sob],
.atl-design-printemps .atl-carte-valeur[b-jhqdd56sob] { text-shadow: none !important; }
.atl-design-printemps .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 2px 3px rgba(15, 35, 80, 0.25)); }
.atl-design-printemps .atl-route[b-jhqdd56sob] { box-shadow: inset 0 1px 2px rgba(15, 35, 80, 0.12); }
.atl-design-printemps .atl-route-faite[b-jhqdd56sob] { box-shadow: none; }
.atl-design-printemps .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(23, 103, 214, 0.08);
    box-shadow: 0 0 0 3px rgba(23, 103, 214, 0.12);
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, feuille, bleu… Sous l'objectif : ardoise pâle. */
.atl-design-printemps .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-feuille); }
.atl-design-printemps .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 6px rgba(244, 114, 182, 0.55)); }
.atl-design-printemps .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-printemps .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: #db2777; }
.atl-design-printemps .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-feuille); }
.atl-design-printemps .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #1f5fd1 50%, #3aa655 50%); }
/* Sur un ciel clair, l'avis « connexion perdue » change d'encre : du jaune pâle sur du blanc ne se lit pas. */
.atl-design-printemps .atl-etat-perdu[b-jhqdd56sob] { background: #fef3c7; color: #854d0e; }

/* Une fleur de cerisier et une feuille au coin haut-droit de chaque panneau. */
.atl-design-printemps .atl-score[b-jhqdd56sob],
.atl-design-printemps .atl-carte[b-jhqdd56sob],
.atl-design-printemps .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cellipse cx='40.0' cy='11.0' rx='5.5' ry='3.6' transform='rotate(0 40.0 11.0)' fill='%23f9a8d4' fill-opacity='.7'/%3E%3Cellipse cx='46.7' cy='15.8' rx='5.5' ry='3.6' transform='rotate(72 46.7 15.8)' fill='%23f9a8d4' fill-opacity='.7'/%3E%3Cellipse cx='44.1' cy='23.7' rx='5.5' ry='3.6' transform='rotate(144 44.1 23.7)' fill='%23f9a8d4' fill-opacity='.7'/%3E%3Cellipse cx='35.9' cy='23.7' rx='5.5' ry='3.6' transform='rotate(216 35.9 23.7)' fill='%23f9a8d4' fill-opacity='.7'/%3E%3Cellipse cx='33.3' cy='15.8' rx='5.5' ry='3.6' transform='rotate(288 33.3 15.8)' fill='%23f9a8d4' fill-opacity='.7'/%3E%3Ccircle cx='40' cy='18' r='3' fill='%23f472b6'/%3E%3Cellipse cx='22' cy='34' rx='6' ry='2.8' transform='rotate(-35 22 34)' fill='%2386efac' fill-opacity='.75'/%3E%3C/svg%3E") top 4px right 4px / clamp(40px, 3.6vw, 70px) auto no-repeat,
        var(--atl-carte);
}

/* ── 10. ÉTÉ À LA PLAGE — le grand bleu ──────────────────────────────────────
   Clair aussi : un ciel d'été qui pâlit vers l'horizon, le soleil dans le coin haut-droit,
   trois goélands qui planent au-dessus du bandeau, et au pied de l'écran des vagues qui roulent
   sur le sable. Le soleil est la seule touche chaude, décorative, jamais une donnée. Le
   turquoise du lagon n'y vient qu'en ALTERNANCE avec le bleu RIPPA — une barre atteinte sur
   deux, la piste qui passe du bleu au lagon — et le corail tient la semaine en cours. */
.atl-design-ete[b-jhqdd56sob] {
    --atl-lagon: #14b8b0;
    --atl-corail: #ff6b6b;
    --atl-electrique: #0b74c9;
    --atl-electrique-lueur: rgba(11, 116, 201, 0.25);
    --atl-bleu: #1f5fd1;
    --atl-ardoise: #c6d6e4;
    --atl-courante: var(--atl-corail);
    --atl-rouge: #d42a3e;
    --atl-vert: #16a34a;
    --atl-encre: #0b2a55;
    --atl-encre-2: #1e4570;
    --atl-encre-3: #4d6a8c;
    --atl-sur: #7f97b5;
    --atl-carte: rgba(255, 255, 255, 0.9);
    --atl-trait: #cfe8f2;
    --atl-ombre: 0 1px 2px rgba(11, 42, 85, 0.06), 0 8px 24px rgba(11, 42, 85, 0.1);
    --atl-lueur-valeur: none;
    --atl-route: #e2f1f8;
    --atl-route-faite: linear-gradient(90deg, #1f5fd1, #0ea5e9 55%, #2dd4bf);
    --atl-jalon: #c4dcea;
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: #0b2a55;
    --atl-pastille: #f2f9fc;
    --atl-pastille-trait: #dcedf5;
    --atl-icone-fond: #e2f5f6;
    --atl-icone: #0f8f9a;
    --atl-grille: #e2eef5;
    --atl-base: #9ab7cc;
    --atl-repere: #0b2a55;
    --atl-survol: rgba(11, 116, 201, 0.06);
    --atl-quand: #eaf6fa;
    --atl-phrase-fond: rgba(255, 255, 255, 0.72);
    --atl-phrase-trait: rgba(20, 184, 176, 0.5);
    --atl-etat-fond: rgba(255, 255, 255, 0.6);
    --atl-etat-encre: #14532d;
    --atl-c0: #14b8b0;
    --atl-c1: #1f5fd1;
    --atl-c2: #ff6b6b;
    --atl-c3: #0ea5e9;
    --atl-c4: #f2dcaa;
    --atl-fond:
        radial-gradient(circle at 96% 0%, #fffbea 0 3.2%, rgba(255, 214, 120, 0.55) 3.8%, rgba(255, 200, 110, 0.18) 9%, transparent 17%),
        linear-gradient(180deg, #5fb7ec, #9fd8f6 30%, #d7f1fb 62%, #ecf9fd);
}

/* Les goélands : trois silhouettes marine dans le ciel du bandeau, entre l'heure et le soleil —
   jamais derrière le titre —, qui planent lentement. */
.atl-design-ete[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(70px, 12vh, 140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M2 8q6-7 12 0q6-7 12 0' fill='none' stroke='%231f3d73' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 68% 30% / clamp(26px, 2.2vw, 44px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M2 8q6-7 12 0q6-7 12 0' fill='none' stroke='%231f3d73' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 75% 70% / clamp(18px, 1.5vw, 30px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M2 8q6-7 12 0q6-7 12 0' fill='none' stroke='%231f3d73' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 82% 20% / clamp(14px, 1.2vw, 24px) auto no-repeat;
    animation: atl-vol-b-jhqdd56sob 16s ease-in-out infinite alternate;
}

/* Les vagues sur le sable : le sable devant, immobile ; deux vagues derrière qui roulent en
   sens contraire, chacune d'une tuile entière par tour. Le tableau remonte d'autant. */
.atl-design-ete[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(28px, 6vh, 72px);
    z-index: 0;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 14Q40 4 80 12T160 12T240 12V40H0z' fill='%23f2dcaa'/%3E%3Cg fill='%23e2c487'%3E%3Ccircle cx='30' cy='28' r='1.4'/%3E%3Ccircle cx='96' cy='33' r='1.2'/%3E%3Ccircle cx='150' cy='26' r='1.5'/%3E%3Ccircle cx='210' cy='32' r='1.2'/%3E%3C/g%3E%3C/svg%3E") 0 100% / 480px 48% repeat-x,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 18Q30 6 60 18T120 18T180 18T240 18V40H0z' fill='%231fa6c9'/%3E%3Cpath d='M0 18Q30 6 60 18T120 18T180 18T240 18' fill='none' stroke='%23fff' stroke-opacity='.85' stroke-width='2'/%3E%3C/svg%3E") 0 100% / 240px 80% repeat-x,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 14Q30 4 60 14T120 14T180 14T240 14V40H0z' fill='%235cc8ec'/%3E%3C/svg%3E") 0 100% / 360px 100% repeat-x;
    animation: atl-vagues-b-jhqdd56sob 10s linear infinite;
}
@keyframes atl-vagues-b-jhqdd56sob {
    from { background-position: 0 100%, 0 100%, 0 100%; }
    to   { background-position: 0 100%, 240px 100%, -360px 100%; }
}
.atl-design-ete[b-jhqdd56sob] { padding-bottom: calc(clamp(14px, 2vw, 28px) + clamp(16px, 3.6vh, 44px)); }
.atl-design-ete.atl-tv[b-jhqdd56sob] { padding-bottom: 6.6vh; }

.atl-design-ete .atl-titre[b-jhqdd56sob]::before { content: "🏖️ "; }
.atl-design-ete .atl-valeur[b-jhqdd56sob] { color: #0b3a75; }
.atl-design-ete .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: #0f8f9a; }
.atl-design-ete .atl-pourcent[b-jhqdd56sob],
.atl-design-ete .atl-carte-valeur[b-jhqdd56sob] { text-shadow: none !important; }
.atl-design-ete .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 2px 3px rgba(11, 42, 85, 0.25)); }
.atl-design-ete .atl-route[b-jhqdd56sob] { box-shadow: inset 0 1px 2px rgba(11, 42, 85, 0.12); }
.atl-design-ete .atl-route-faite[b-jhqdd56sob] { box-shadow: none; }
.atl-design-ete .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(11, 116, 201, 0.08);
    box-shadow: 0 0 0 3px rgba(11, 116, 201, 0.12);
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, lagon, bleu… Sous l'objectif : gris d'écume. */
.atl-design-ete .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-lagon); }
.atl-design-ete .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.55)); }
.atl-design-ete .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-ete .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: #e0474c; }
.atl-design-ete .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-lagon); }
.atl-design-ete .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #1f5fd1 50%, #14b8b0 50%); }
.atl-design-ete .atl-etat-perdu[b-jhqdd56sob] { background: #fef3c7; color: #854d0e; }

/* Une étoile de mer et deux bulles au coin haut-droit de chaque panneau. */
.atl-design-ete .atl-score[b-jhqdd56sob],
.atl-design-ete .atl-carte[b-jhqdd56sob],
.atl-design-ete .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M38.0 5.0L42.1 16.3L54.2 16.7L44.7 24.2L48.0 35.8L38.0 29.0L28.0 35.8L31.3 24.2L21.8 16.7L33.9 16.3z' transform='rotate(14 38 22)' fill='%23ff8f80' fill-opacity='.55' stroke='%23ff6b6b' stroke-opacity='.5' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ccircle cx='16' cy='42' r='3' fill='%237dd3fc' fill-opacity='.5'/%3E%3Ccircle cx='24' cy='50' r='1.8' fill='%237dd3fc' fill-opacity='.45'/%3E%3C/svg%3E") top 4px right 4px / clamp(40px, 3.6vw, 70px) auto no-repeat,
        var(--atl-carte);
}

/* ── 11. PÂQUES — la chasse aux œufs ──────────────────────────────────────────
   Le troisième fond clair, distinct du printemps : un ciel lilas qui passe au vert menthe, des
   œufs peints (bande en zigzag, pois) qui flottent doucement, un pré au pied de l'écran où des
   œufs se cachent dans l'herbe, et le lapin assis dans le coin bas-droit, qui regarde le
   tableau. Le drapeau du bout de la route devient un œuf qui se dandine quand l'objectif est en
   vue. Le lilas n'y vient qu'en ALTERNANCE avec le bleu RIPPA — une barre atteinte sur deux, la
   piste rayée bleu et lilas comme un œuf peint — et le fuchsia tient la semaine en cours. */
.atl-design-paques[b-jhqdd56sob] {
    --atl-lilas: #8b5cf6;
    --atl-fuchsia: #ec4899;
    --atl-electrique: #1767d6;
    --atl-electrique-lueur: rgba(23, 103, 214, 0.25);
    --atl-bleu: #1f5fd1;
    --atl-ardoise: #d3cbe6;
    --atl-courante: var(--atl-fuchsia);
    --atl-rouge: #d42a3e;
    --atl-vert: #16a34a;
    --atl-encre: #1e1b4b;
    --atl-encre-2: #4c4380;
    --atl-encre-3: #6b6396;
    --atl-sur: #9a90c2;
    --atl-carte: rgba(255, 255, 255, 0.9);
    --atl-trait: #e2d9f7;
    --atl-ombre: 0 1px 2px rgba(46, 16, 101, 0.06), 0 8px 24px rgba(46, 16, 101, 0.09);
    --atl-lueur-valeur: none;
    --atl-route: #ece6fb;
    --atl-route-faite: repeating-linear-gradient(135deg, #1f5fd1 0 16px, #8b5cf6 16px 32px);
    --atl-jalon: #d6ccf0;
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: var(--atl-lilas);
    --atl-pastille: #f8f5ff;
    --atl-pastille-trait: #e9e2fa;
    --atl-icone-fond: #efe9fe;
    --atl-icone: var(--atl-lilas);
    --atl-grille: #ece7f8;
    --atl-base: #a99fcf;
    --atl-repere: #1e1b4b;
    --atl-survol: rgba(139, 92, 246, 0.06);
    --atl-quand: #f3effe;
    --atl-phrase-fond: rgba(255, 255, 255, 0.75);
    --atl-phrase-trait: rgba(139, 92, 246, 0.45);
    --atl-etat-fond: rgba(22, 163, 74, 0.14);
    --atl-etat-encre: #14532d;
    --atl-c0: #8b5cf6;
    --atl-c1: #1f5fd1;
    --atl-c2: #ec4899;
    --atl-c3: #6ee7b7;
    --atl-c4: #93c5fd;
    --atl-fond:
        radial-gradient(900px 420px at 85% -5%, rgba(255, 255, 255, 0.8), transparent 70%),
        radial-gradient(1000px 480px at 0% 110%, rgba(110, 231, 183, 0.3), transparent 70%),
        linear-gradient(180deg, #e9e0ff, #f5f0ff 45%, #e8f9f0);
}

/* Les œufs qui flottent : deux tuiles qui montent et redescendent doucement, à contretemps — un
   aller-retour, donc rien ne saute à la fin de la boucle. */
.atl-design-paques[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg transform='translate(20 30) rotate(-18 12 16) scale(1.1)'%3E%3CclipPath id='a'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23c4b5fd'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23ffffff'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%238b5cf6'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(140 12) rotate(22 12 16) scale(0.8)'%3E%3CclipPath id='b'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23a7f3d0'/%3E%3Cg clip-path='url(%23b)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%2360a5fa'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(96 120) rotate(10 12 16) scale(1.3)'%3E%3CclipPath id='c'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23fbcfe8'/%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23a78bfa'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(196 160) rotate(-30 12 16) scale(0.7)'%3E%3CclipPath id='d'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23bfdbfe'/%3E%3Cg clip-path='url(%23d)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23f9a8d4'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(30 180) rotate(28 12 16) scale(0.9)'%3E%3CclipPath id='e'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23fde2f3'/%3E%3Cg clip-path='url(%23e)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%236ee7b7'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23a78bfa'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 240px 240px repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg transform='translate(20 30) rotate(-18 12 16) scale(1.1)'%3E%3CclipPath id='a'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23c4b5fd'/%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23ffffff'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%238b5cf6'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(140 12) rotate(22 12 16) scale(0.8)'%3E%3CclipPath id='b'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23a7f3d0'/%3E%3Cg clip-path='url(%23b)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%2360a5fa'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(96 120) rotate(10 12 16) scale(1.3)'%3E%3CclipPath id='c'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23fbcfe8'/%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23a78bfa'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(196 160) rotate(-30 12 16) scale(0.7)'%3E%3CclipPath id='d'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23bfdbfe'/%3E%3Cg clip-path='url(%23d)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23f9a8d4'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(30 180) rotate(28 12 16) scale(0.9)'%3E%3CclipPath id='e'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23fde2f3'/%3E%3Cg clip-path='url(%23e)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%236ee7b7'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23a78bfa'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23a78bfa'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 120px 90px / 380px 380px repeat;
    animation: atl-oeufs-b-jhqdd56sob 7s ease-in-out infinite alternate;
}
@keyframes atl-oeufs-b-jhqdd56sob {
    from { background-position: 0 0, 120px 90px; }
    to   { background-position: 0 -14px, 120px 104px; }
}

/* Le pré et ses œufs cachés au pied de l'écran, le lapin assis dans le coin bas-droit. Le tableau
   remonte de toute la hauteur du pré : le lapin ne passe jamais sous l'histogramme. */
.atl-design-paques[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: clamp(40px, 8vh, 96px);
    z-index: 0;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' stroke='%23c7b8e8' stroke-width='2'%3E%3Cellipse cx='62' cy='92' rx='30' ry='24'/%3E%3Cellipse cx='36' cy='104' rx='12' ry='7'/%3E%3Cpath d='M52 40c-6-22-4-36 2-38s10 14 8 36z'/%3E%3Cpath d='M64 40c2-22 8-34 14-33s4 16-6 35z'/%3E%3Ccircle cx='54' cy='56' r='20'/%3E%3Ccircle cx='92' cy='96' r='8'/%3E%3C/g%3E%3Cpath d='M55 8c-3 9-3 20 0 30M73 12c-3 9-6 18-8 26' stroke='%23f9a8d4' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3Ccircle cx='45' cy='52' r='2.6' fill='%232e1065'/%3E%3Cellipse cx='36' cy='60' rx='3' ry='2.2' fill='%23f472b6'/%3E%3Cpath d='M38 64q4 3 8 0' stroke='%23c7b8e8' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right clamp(10px, 1.6vw, 30px) bottom 0 / auto 100% no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40'%3E%3Cg transform='translate(30 14) rotate(-12 12 16) scale(0.55)'%3E%3CclipPath id='i'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23c4b5fd'/%3E%3Cg clip-path='url(%23i)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23ffffff'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%237c3aed'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(118 12) rotate(15 12 16) scale(0.6)'%3E%3CclipPath id='j'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23fbcfe8'/%3E%3Cg clip-path='url(%23j)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23a78bfa'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(196 15) rotate(-6 12 16) scale(0.5)'%3E%3CclipPath id='k'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23bfdbfe'/%3E%3Cg clip-path='url(%23k)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23f9a8d4'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 100% / 240px 42% repeat-x,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 16Q30 6 60 14T120 12T180 14T240 14V40H0z' fill='%23bbf0c8'/%3E%3Cpath d='M0 24Q40 16 80 22T160 22T240 22V40H0z' fill='%2386dca0'/%3E%3C/svg%3E") 0 100% / 240px 46% repeat-x;
}
.atl-design-paques[b-jhqdd56sob] { padding-bottom: calc(clamp(14px, 2vw, 28px) + clamp(28px, 6vh, 72px)); }
.atl-design-paques.atl-tv[b-jhqdd56sob] { padding-bottom: 8.4vh; }

.atl-design-paques .atl-titre[b-jhqdd56sob]::before { content: "🐣 "; }
.atl-design-paques .atl-valeur[b-jhqdd56sob] { color: #1e1b4b; }
.atl-design-paques .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: #6d28d9; }
.atl-design-paques .atl-pourcent[b-jhqdd56sob],
.atl-design-paques .atl-carte-valeur[b-jhqdd56sob] { text-shadow: none !important; }
.atl-design-paques .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 2px 3px rgba(46, 16, 101, 0.25)); }
.atl-design-paques .atl-route[b-jhqdd56sob] { box-shadow: inset 0 1px 2px rgba(46, 16, 101, 0.12); }
.atl-design-paques .atl-route-faite[b-jhqdd56sob] { box-shadow: none; }
.atl-design-paques .atl-route-faite[b-jhqdd56sob]::after { display: none; }
.atl-design-paques .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(139, 92, 246, 0.08);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}
/* Le drapeau devient un œuf peint, qui se dandine quand l'objectif est en vue (80 %). */
.atl-design-paques .atl-drapeau path[b-jhqdd56sob] { display: none; }
.atl-design-paques .atl-drapeau[b-jhqdd56sob] {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cg transform='translate(0 0) rotate(0 12 16) scale(1)'%3E%3CclipPath id='h'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23c4b5fd'/%3E%3Cg clip-path='url(%23h)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23ffffff'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%237c3aed'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%237c3aed'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center bottom / contain no-repeat;
    filter: drop-shadow(0 2px 3px rgba(46, 16, 101, 0.25));
    transform-origin: 50% 100%;
}
.atl-design-paques .atl-drapeau.est-proche[b-jhqdd56sob] { animation: atl-dandine-b-jhqdd56sob 1.2s ease-in-out infinite; }
@keyframes atl-dandine-b-jhqdd56sob {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-10deg); }
    75%      { transform: rotate(10deg); }
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, lilas, bleu… Sous l'objectif : lilas pâle. */
.atl-design-paques .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-lilas); }
.atl-design-paques .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 6px rgba(236, 72, 153, 0.5)); }
.atl-design-paques .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-paques .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: #db2777; }
.atl-design-paques .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-lilas); }
.atl-design-paques .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #1f5fd1 50%, #8b5cf6 50%); }
.atl-design-paques .atl-etat-perdu[b-jhqdd56sob] { background: #fef3c7; color: #854d0e; }

/* Deux œufs peints au coin haut-droit de chaque panneau. */
.atl-design-paques .atl-score[b-jhqdd56sob],
.atl-design-paques .atl-carte[b-jhqdd56sob],
.atl-design-paques .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg transform='translate(28 4) rotate(18 12 16) scale(1.2)'%3E%3CclipPath id='f'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23ddd6fe'/%3E%3Cg clip-path='url(%23f)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%23f9a8d4'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%238b5cf6'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%238b5cf6'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(14 30) rotate(-20 12 16) scale(0.6)'%3E%3CclipPath id='g'%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z'/%3E%3C/clipPath%3E%3Cpath d='M12 1C6.5 1 2 9.5 2 17.5 2 24.5 6.5 31 12 31S22 24.5 22 17.5C22 9.5 17.5 1 12 1z' fill='%23bbf7d0'/%3E%3Cg clip-path='url(%23g)'%3E%3Cpath d='M0 15l3-3 3 3 3-3 3 3 3-3 3 3 3-3 3 3v4l-3-3-3 3-3-3-3 3-3-3-3 3-3-3-3 3z' fill='%2393c5fd'/%3E%3Ccircle cx='7' cy='8' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='15' cy='7' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='8' cy='25' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='16' cy='25' r='1.5' fill='%23ffffff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") top 4px right 4px / clamp(40px, 3.6vw, 70px) auto no-repeat,
        var(--atl-carte);
}

/* ── 12. SAINT-JEAN-BAPTISTE — la Fête nationale ──────────────────────────────
   Pour le 24 juin : le drapeau du Québec en fond d'écran (le bleu officiel, la croix blanche au
   centre, une fleur de lys dressée dans chaque quartier, à la proportion de l'écran), des feux
   d'artifice blancs et bleus qui s'ouvrent et s'éteignent tour à tour, une rangée de fanions
   bleus et blancs sur le bandeau, une fleur de lys au coin de chaque panneau, et le fleurdelisé
   qui flotte au bout de la route. Les panneaux et le bandeau sont plus opaques qu'ailleurs : la
   croix et les lys se devinent au travers, jamais sous un texte en clair. Le seul design saisonnier sans autre couleur que celles de RIPPA : le bleu mène, le
   BLANC vient en ALTERNANCE avec lui — une barre atteinte sur deux, la piste rayée bleu et blanc —
   et le bleu ciel tient la semaine en cours. */
.atl-design-stjean[b-jhqdd56sob] {
    --atl-lys: #f4f8ff;
    --atl-electrique: #7cc4ff;
    --atl-electrique-lueur: rgba(124, 196, 255, 0.65);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #2c4478;
    --atl-courante: var(--atl-electrique);
    --atl-rouge: #ff4d5e;
    --atl-vert: #34d399;
    --atl-encre: #ffffff;
    --atl-encre-2: #c3d6f5;
    --atl-encre-3: rgba(205, 222, 248, 0.72);
    --atl-sur: #8ea8d6;
    --atl-carte: linear-gradient(165deg, rgba(8, 38, 112, 0.84), rgba(4, 16, 52, 0.92));
    --atl-trait: rgba(244, 248, 255, 0.3);
    --atl-ombre: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.45);
    --atl-lueur-valeur: 0 0 18px rgba(255, 255, 255, 0.75), 0 0 44px rgba(124, 196, 255, 0.5);
    --atl-route: rgba(255, 255, 255, 0.1);
    --atl-route-faite: repeating-linear-gradient(135deg, #2f7bff 0 16px, #f4f8ff 16px 32px);
    --atl-jalon: rgba(244, 248, 255, 0.25);
    --atl-jalon-passe: #ffffff;
    --atl-drapeau: #ffffff;
    --atl-pastille: rgba(244, 248, 255, 0.05);
    --atl-pastille-trait: rgba(244, 248, 255, 0.16);
    --atl-icone-fond: rgba(244, 248, 255, 0.12);
    --atl-icone: #ffffff;
    --atl-grille: rgba(244, 248, 255, 0.09);
    --atl-base: rgba(244, 248, 255, 0.55);
    --atl-repere: #ffffff;
    --atl-survol: rgba(124, 196, 255, 0.08);
    --atl-quand: rgba(244, 248, 255, 0.12);
    --atl-phrase-fond: rgba(244, 248, 255, 0.1);
    --atl-phrase-trait: rgba(244, 248, 255, 0.45);
    --atl-etat-fond: rgba(52, 211, 153, 0.18);
    --atl-etat-encre: #d1fae5;
    --atl-c0: #ffffff;
    --atl-c1: #2f7bff;
    --atl-c2: #7cc4ff;
    --atl-c3: #1f5fd1;
    --atl-c4: #c3d6f5;
    /* Le drapeau du Québec couvre tout l'écran, un voile marine par-dessus : la croix et les lys
       restent nets, et le texte blanc garde son contraste là où il passe sur le blanc. */
    --atl-fond:
        linear-gradient(rgba(2, 14, 48, 0.16), rgba(2, 14, 48, 0.16)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='1600' height='900' fill='%23003da5'/%3E%3Cg fill='%23ffffff'%3E%3Crect x='744' width='112' height='900'/%3E%3Crect y='394' width='1600' height='112'/%3E%3Cpath transform='translate(274 79) scale(4.9)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z'/%3E%3Cpath transform='translate(1130 79) scale(4.9)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z'/%3E%3Cpath transform='translate(274 585) scale(4.9)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z'/%3E%3Cpath transform='translate(1130 585) scale(4.9)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat,
        #003da5;
}

/* Les feux d'artifice : deux salves (::before et ::after) de deux gerbes chacune, à
   contretemps, dans le ciel du bandeau à droite — jamais derrière un chiffre. Une gerbe s'ouvre (elle grandit et s'allume), brille, puis s'éteint ; la salve
   suivante prend le relais. Sous le texte, sans clic. */
.atl-design-stjean[b-jhqdd56sob]::before,
.atl-design-stjean[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: atl-artifice-b-jhqdd56sob 8s ease-out infinite;
}
.atl-design-stjean[b-jhqdd56sob]::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M61.5 50.0L89.1 50.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='96.0' cy='50.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.4 55.0L85.2 67.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='91.4' cy='70.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M57.2 59.0L74.4 80.6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='78.7' cy='86.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.6 61.2L58.7 88.1' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='60.2' cy='94.8' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M47.4 61.2L41.3 88.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='39.8' cy='94.8' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M42.8 59.0L25.6 80.6' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='21.3' cy='86.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M39.6 55.0L14.8 67.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8.6' cy='70.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M38.5 50.0L10.9 50.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='4.0' cy='50.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M39.6 45.0L14.8 33.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8.6' cy='30.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M42.8 41.0L25.6 19.4' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='21.3' cy='14.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M47.4 38.8L41.3 11.9' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='39.8' cy='5.2' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.6 38.8L58.7 11.9' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='60.2' cy='5.2' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M57.2 41.0L74.4 19.4' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='78.7' cy='14.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.4 45.0L85.2 33.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='91.4' cy='30.0' r='2.4' fill='%23bfe0ff'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23fff'/%3E%3C/svg%3E") 68% 0% / clamp(64px, 8vw, 150px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M61.5 50.0L89.1 50.0' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='96.0' cy='50.0' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M60.8 53.9L86.7 63.4' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='93.2' cy='65.7' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M58.8 57.4L80.0 75.1' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='85.2' cy='79.6' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M55.8 60.0L69.6 83.9' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='73.0' cy='89.8' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M52.0 61.3L56.8 88.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='58.0' cy='95.3' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M48.0 61.3L43.2 88.5' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='42.0' cy='95.3' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M44.2 60.0L30.5 83.9' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='27.0' cy='89.8' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M41.2 57.4L20.0 75.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='14.8' cy='79.6' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M39.2 53.9L13.3 63.4' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='6.8' cy='65.7' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M38.5 50.0L10.9 50.0' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='4.0' cy='50.0' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M39.2 46.1L13.3 36.6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='6.8' cy='34.3' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M41.2 42.6L20.0 24.9' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='14.8' cy='20.4' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M44.2 40.0L30.4 16.1' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='27.0' cy='10.2' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M48.0 38.7L43.2 11.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='42.0' cy='4.7' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.0 38.7L56.8 11.5' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='58.0' cy='4.7' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M55.7 40.0L69.5 16.1' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='73.0' cy='10.2' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M58.8 42.6L80.0 24.9' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='85.2' cy='20.4' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.8 46.1L86.7 36.6' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='93.2' cy='34.3' r='2.4' fill='%234a9bff'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23bfe0ff'/%3E%3C/svg%3E") 93% 3% / clamp(46px, 5.5vw, 110px) auto no-repeat;
}
.atl-design-stjean[b-jhqdd56sob]::after {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M61.5 50.0L89.1 50.0' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='96.0' cy='50.0' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M60.8 53.9L86.7 63.4' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='93.2' cy='65.7' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M58.8 57.4L80.0 75.1' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='85.2' cy='79.6' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M55.8 60.0L69.6 83.9' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='73.0' cy='89.8' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M52.0 61.3L56.8 88.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='58.0' cy='95.3' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M48.0 61.3L43.2 88.5' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='42.0' cy='95.3' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M44.2 60.0L30.5 83.9' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='27.0' cy='89.8' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M41.2 57.4L20.0 75.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='14.8' cy='79.6' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M39.2 53.9L13.3 63.4' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='6.8' cy='65.7' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M38.5 50.0L10.9 50.0' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='4.0' cy='50.0' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M39.2 46.1L13.3 36.6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='6.8' cy='34.3' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M41.2 42.6L20.0 24.9' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='14.8' cy='20.4' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M44.2 40.0L30.4 16.1' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='27.0' cy='10.2' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M48.0 38.7L43.2 11.5' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='42.0' cy='4.7' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.0 38.7L56.8 11.5' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='58.0' cy='4.7' r='2.4' fill='%234a9bff'/%3E%3Cpath d='M55.7 40.0L69.5 16.1' stroke='%237cc4ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='73.0' cy='10.2' r='2.4' fill='%237cc4ff'/%3E%3Cpath d='M58.8 42.6L80.0 24.9' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='85.2' cy='20.4' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.8 46.1L86.7 36.6' stroke='%234a9bff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='93.2' cy='34.3' r='2.4' fill='%234a9bff'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23bfe0ff'/%3E%3C/svg%3E") 80% 1% / clamp(56px, 7vw, 130px) auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M61.5 50.0L89.1 50.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='96.0' cy='50.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.4 55.0L85.2 67.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='91.4' cy='70.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M57.2 59.0L74.4 80.6' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='78.7' cy='86.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.6 61.2L58.7 88.1' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='60.2' cy='94.8' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M47.4 61.2L41.3 88.1' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='39.8' cy='94.8' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M42.8 59.0L25.6 80.6' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='21.3' cy='86.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M39.6 55.0L14.8 67.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8.6' cy='70.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M38.5 50.0L10.9 50.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='4.0' cy='50.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M39.6 45.0L14.8 33.0' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8.6' cy='30.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M42.8 41.0L25.6 19.4' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='21.3' cy='14.0' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M47.4 38.8L41.3 11.9' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='39.8' cy='5.2' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M52.6 38.8L58.7 11.9' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='60.2' cy='5.2' r='2.4' fill='%23bfe0ff'/%3E%3Cpath d='M57.2 41.0L74.4 19.4' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='78.7' cy='14.0' r='2.4' fill='%23ffffff'/%3E%3Cpath d='M60.4 45.0L85.2 33.0' stroke='%23bfe0ff' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='91.4' cy='30.0' r='2.4' fill='%23bfe0ff'/%3E%3Ccircle cx='50' cy='50' r='4' fill='%23fff'/%3E%3C/svg%3E") 99% 0% / clamp(40px, 4.6vw, 90px) auto no-repeat;
    animation-delay: 4s;
}
@keyframes atl-artifice-b-jhqdd56sob {
    0%   { opacity: 0; transform: scale(0.85); }
    8%   { opacity: 0.85; }
    30%  { opacity: 0.6; transform: scale(1.02); }
    48%  { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

/* Le bandeau sur une bande marine (le titre ne passe jamais blanc sur une fleur de lys blanche),
   les fanions bleus et blancs tendus au-dessus. */
.atl-design-stjean .atl-bandeau[b-jhqdd56sob] {
    padding: clamp(18px, 2.8vh, 34px) clamp(12px, 1.2vw, 22px) clamp(8px, 1.2vh, 14px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 22'%3E%3Cpath d='M0 3Q20 6 40 3T80 3' fill='none' stroke='%23c9dcf5' stroke-width='1.2'/%3E%3Cpath d='M3 4H17L10 19Z' fill='%231f5fd1'/%3E%3Cpath d='M23 4H37L30 19Z' fill='%23ffffff'/%3E%3Cpath d='M43 4H57L50 19Z' fill='%231f5fd1'/%3E%3Cpath d='M63 4H77L70 19Z' fill='%23ffffff'/%3E%3C/svg%3E") 0 0 / auto clamp(14px, 2.2vh, 26px) repeat-x,
        linear-gradient(rgba(4, 16, 52, 0.62), rgba(4, 16, 52, 0.62));
}

.atl-design-stjean .atl-titre[b-jhqdd56sob] { text-shadow: 0 0 16px rgba(124, 196, 255, 0.55); }
.atl-design-stjean .atl-titre[b-jhqdd56sob]::before { content: "⚜️ "; }
/* Le chiffre de la semaine blanc, auréolé de bleu ; le record en bleu ciel. */
.atl-design-stjean .atl-valeur[b-jhqdd56sob] { color: #ffffff; }
.atl-design-stjean .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-electrique); text-shadow: 0 0 22px rgba(124, 196, 255, 0.55); }
.atl-design-stjean .atl-pourcent[b-jhqdd56sob] { text-shadow: 0 0 18px rgba(124, 196, 255, 0.55); }
.atl-design-stjean .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(124, 196, 255, 0.9)); }
.atl-design-stjean .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(244, 248, 255, 0.25); }
.atl-design-stjean .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 16px rgba(124, 196, 255, 0.45); }
.atl-design-stjean .atl-route-faite[b-jhqdd56sob]::after { display: none; }
.atl-design-stjean .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(124, 196, 255, 0.14);
    box-shadow: 0 0 18px rgba(124, 196, 255, 0.4);
}
/* Le drapeau du bout de la route devient le drapeau du Québec ; il flotte toujours à
   l'approche de l'objectif (l'animation de base). */
.atl-design-stjean .atl-drapeau path[b-jhqdd56sob] { display: none; }
.atl-design-stjean .atl-drapeau[b-jhqdd56sob] {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4' stroke='%23e6efff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M5 4H21V14H5Z' fill='%231f5fd1'/%3E%3Cpath d='M12 4H14V14H12ZM5 8H21V10H5Z' fill='%23fff'/%3E%3Cpath transform='translate(6.3 4.6) scale(.11)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z' fill='%23fff'/%3E%3Cpath transform='translate(16.4 4.6) scale(.11)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z' fill='%23fff'/%3E%3Cpath transform='translate(6.3 10.4) scale(.11)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z' fill='%23fff'/%3E%3Cpath transform='translate(16.4 10.4) scale(.11)' d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 6px rgba(124, 196, 255, 0.6));
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, blanc, bleu… Sous l'objectif : marine. */
.atl-design-stjean .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-lys); }
.atl-design-stjean .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 9px rgba(124, 196, 255, 0.9)); }
.atl-design-stjean .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-stjean .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-electrique); }
.atl-design-stjean .atl-phrase-icone[b-jhqdd56sob] { background: #ffffff; }
.atl-design-stjean .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #f4f8ff 50%); }

/* Une fleur de lys au coin haut-droit de chaque panneau. */
.atl-design-stjean .atl-score[b-jhqdd56sob],
.atl-design-stjean .atl-carte[b-jhqdd56sob],
.atl-design-stjean .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48'%3E%3Cpath d='M20 2C14 10 14 20 18 28H22C26 20 26 10 20 2ZM17 30C10 30 4 26 4 18 4 12 10 10 12 14 8 14 8 20 12 22 14 24 16 26 17 30ZM23 30C30 30 36 26 36 18 36 12 30 10 28 14 32 14 32 20 28 22 26 24 24 26 23 30ZM11 29H29V33H11ZM17 33 15 42C17 40 19 40 20 46 21 40 23 40 25 42L23 33Z' fill='%23ffffff' fill-opacity='.4'/%3E%3C/svg%3E") top 8px right 10px / clamp(26px, 2.4vw, 46px) auto no-repeat,
        var(--atl-carte);
}

/* ── 13. NOUVEL AN CHINOIS — la nuit des lanternes ────────────────────────────
   Pour la fête du Printemps (fin janvier, début février) : une nuit pourpre semée de nuages
   porte-bonheur, une rangée de lanternes rouges à coiffes d'or qui se balancent au-dessus du
   bandeau, un dragon rouge et or qui traverse l'arrière-plan, des étincelles d'or qui montent, un nuage d'or au coin de chaque panneau, et une
   lanterne au bout de la route. Le bleu RIPPA mène toujours les données ; le ROUGE des lanternes
   n'y vient qu'en ALTERNANCE avec lui — une barre atteinte sur deux, la piste qui passe du bleu
   au rouge — et l'or, la couleur de la fortune, tient la semaine en cours et le record. */
.atl-design-nouvelanchinois[b-jhqdd56sob] {
    --atl-lanterne: #e02a2a;
    --atl-or: #f5c242;
    --atl-electrique: #6cb8ff;
    --atl-electrique-lueur: rgba(108, 184, 255, 0.65);
    --atl-bleu: #2f7bff;
    --atl-ardoise: #5a2a36;
    --atl-courante: var(--atl-or);
    --atl-rouge: #ff4d4d;
    --atl-vert: #34d399;
    --atl-encre: #fff8ec;
    --atl-encre-2: #f0cfc0;
    --atl-encre-3: rgba(245, 218, 205, 0.72);
    --atl-sur: #c79a8c;
    --atl-carte: linear-gradient(165deg, rgba(120, 18, 32, 0.62), rgba(34, 4, 12, 0.9));
    --atl-trait: rgba(245, 194, 66, 0.32);
    --atl-ombre: inset 0 1px 0 rgba(255, 220, 160, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 26px rgba(224, 42, 42, 0.14);
    --atl-lueur-valeur: 0 0 18px rgba(255, 210, 120, 0.8), 0 0 44px rgba(224, 42, 42, 0.45);
    --atl-route: rgba(255, 255, 255, 0.08);
    --atl-route-faite: linear-gradient(90deg, #1f5fd1, #2f7bff 40%, #b3263a 75%, #e02a2a);
    --atl-jalon: rgba(245, 194, 66, 0.3);
    --atl-jalon-passe: var(--atl-or);
    --atl-drapeau: var(--atl-or);
    --atl-pastille: rgba(245, 194, 66, 0.05);
    --atl-pastille-trait: rgba(245, 194, 66, 0.18);
    --atl-icone-fond: rgba(245, 194, 66, 0.14);
    --atl-icone: var(--atl-or);
    --atl-grille: rgba(240, 207, 192, 0.09);
    --atl-base: rgba(255, 248, 236, 0.5);
    --atl-repere: var(--atl-or);
    --atl-survol: rgba(245, 194, 66, 0.08);
    --atl-quand: rgba(245, 194, 66, 0.12);
    --atl-phrase-fond: rgba(224, 42, 42, 0.16);
    --atl-phrase-trait: rgba(245, 194, 66, 0.5);
    --atl-etat-fond: rgba(52, 211, 153, 0.18);
    --atl-etat-encre: #d1fae5;
    --atl-c0: #e02a2a;
    --atl-c1: #f5c242;
    --atl-c2: #2f7bff;
    --atl-c3: #ff8a8a;
    --atl-c4: #fff8ec;
    --atl-fond:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg opacity='.07'%3E%3Cg transform='translate(20 30)'%3E%3Cpath d='M6 34h46c6 0 9-8 3-11 1-7-8-10-12-5-2-8-14-9-17-1-6-3-12 3-9 8-6 1-7 9-11 9z' fill='none' stroke='%23f5c242' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M26 22c0-4 6-4 6 0s-4 4-4 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M40 26c0-3 5-3 5 0s-3 3-3 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(140 150)'%3E%3Cpath d='M6 34h46c6 0 9-8 3-11 1-7-8-10-12-5-2-8-14-9-17-1-6-3-12 3-9 8-6 1-7 9-11 9z' fill='none' stroke='%23f5c242' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M26 22c0-4 6-4 6 0s-4 4-4 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M40 26c0-3 5-3 5 0s-3 3-3 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 240px 240px repeat,
        radial-gradient(900px 420px at 50% -10%, rgba(245, 194, 66, 0.22), transparent 70%),
        radial-gradient(1100px 520px at 0% 110%, rgba(47, 91, 217, 0.28), transparent 70%),
        radial-gradient(900px 480px at 100% 115%, rgba(224, 42, 42, 0.3), transparent 70%),
        linear-gradient(180deg, #4a0b16, #1f0409);
}

/* Les étincelles d'or qui montent : deux tuiles, la plus grande (la plus proche) plus vite,
   chacune déplacée d'une tuile entière par tour — la boucle ne saute pas. */
.atl-design-nouvelanchinois[b-jhqdd56sob]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='%23f5c242'%3E%3Cpath d='M30 40l2.5 7 7 2.5-7 2.5-2.5 7-2.5-7-7-2.5 7-2.5z'/%3E%3Cpath d='M150 20l1.8 5 5 1.8-5 1.8-1.8 5-1.8-5-5-1.8 5-1.8z' fill-opacity='.8'/%3E%3Cpath d='M110 140l3 8.5 8.5 3-8.5 3-3 8.5-3-8.5-8.5-3 8.5-3z' fill-opacity='.7'/%3E%3Ccircle cx='190' cy='110' r='2.2'/%3E%3Ccircle cx='60' cy='190' r='1.8' fill-opacity='.8'/%3E%3Ccircle cx='80' cy='90' r='1.4' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 220px 220px repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='%23f5c242'%3E%3Cpath d='M30 40l2.5 7 7 2.5-7 2.5-2.5 7-2.5-7-7-2.5 7-2.5z'/%3E%3Cpath d='M150 20l1.8 5 5 1.8-5 1.8-1.8 5-1.8-5-5-1.8 5-1.8z' fill-opacity='.8'/%3E%3Cpath d='M110 140l3 8.5 8.5 3-8.5 3-3 8.5-3-8.5-8.5-3 8.5-3z' fill-opacity='.7'/%3E%3Ccircle cx='190' cy='110' r='2.2'/%3E%3Ccircle cx='60' cy='190' r='1.8' fill-opacity='.8'/%3E%3Ccircle cx='80' cy='90' r='1.4' fill-opacity='.7'/%3E%3C/g%3E%3C/svg%3E") 90px 40px / 340px 340px repeat;
    animation: atl-etincelles-b-jhqdd56sob 24s linear infinite;
}
@keyframes atl-etincelles-b-jhqdd56sob {
    from { background-position: 0 0, 90px 40px; }
    to   { background-position: 0 -220px, 90px -640px; }
}

/* Les lanternes : une rangée le long du haut de l'écran, qui se balance doucement — le haut
   tient au fil, le bas oscille. */
.atl-design-nouvelanchinois[b-jhqdd56sob]::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(40px, 7.5vh, 88px);
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 80'%3E%3Cpath d='M0 2Q110 9 220 2' fill='none' stroke='%23c99a3a' stroke-width='1.4'/%3E%3Cpath d='M110 5V14.0' stroke='%23f5c242' stroke-width='1.6'/%3E%3Crect x='100.0' y='14.0' width='20.0' height='5.0' rx='1.5' fill='%23f5c242'/%3E%3Cellipse cx='110' cy='36.0' rx='22.0' ry='18.0' fill='%23e02a2a'/%3E%3Cellipse cx='110' cy='36.0' rx='13.0' ry='11.0' fill='%23ff6a4d' fill-opacity='.55'/%3E%3Cellipse cx='110' cy='36.0' rx='11.0' ry='18.0' fill='none' stroke='%23a3111b' stroke-width='1.4'/%3E%3Cpath d='M110 18.0V54.0' stroke='%23a3111b' stroke-width='1.4'/%3E%3Crect x='100.0' y='53.0' width='20.0' height='5.0' rx='1.5' fill='%23f5c242'/%3E%3Cpath d='M110 58.0V75.0M107.0 61.0V73.0M113.0 61.0V73.0' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / auto 100% repeat-x;
    filter: drop-shadow(0 0 10px rgba(255, 106, 77, 0.45));
    transform-origin: 50% 0;
    animation: atl-lanternes-b-jhqdd56sob 5s ease-in-out infinite alternate;
}
@keyframes atl-lanternes-b-jhqdd56sob {
    from { transform: skewX(-4deg); }
    to   { transform: skewX(4deg); }
}
/* Les lanternes prennent le haut : le bandeau descend d'autant. */
.atl-design-nouvelanchinois .atl-bandeau[b-jhqdd56sob] { padding-top: clamp(34px, 6.6vh, 80px); }

.atl-design-nouvelanchinois .atl-titre[b-jhqdd56sob] { text-shadow: 0 0 16px rgba(224, 42, 42, 0.6); }
.atl-design-nouvelanchinois .atl-titre[b-jhqdd56sob]::before { content: "🏮 "; }
/* Le chiffre de la semaine blanc, auréolé d'or et de rouge ; le record en or. */
.atl-design-nouvelanchinois .atl-valeur[b-jhqdd56sob] { color: #fff8ec; }
.atl-design-nouvelanchinois .atl-carte-record .atl-carte-valeur[b-jhqdd56sob] { color: var(--atl-or); text-shadow: 0 0 22px rgba(245, 194, 66, 0.5); }
.atl-design-nouvelanchinois .atl-pourcent[b-jhqdd56sob] { text-shadow: 0 0 18px rgba(108, 184, 255, 0.55); }
.atl-design-nouvelanchinois .atl-pelle[b-jhqdd56sob] { filter: drop-shadow(0 0 10px rgba(108, 184, 255, 0.9)); }
.atl-design-nouvelanchinois .atl-route[b-jhqdd56sob] { box-shadow: inset 0 0 0 1px rgba(245, 194, 66, 0.25); }
.atl-design-nouvelanchinois .atl-route-faite[b-jhqdd56sob] { box-shadow: 0 0 16px rgba(224, 42, 42, 0.45); }
.atl-design-nouvelanchinois .atl-jour.est-aujourdhui[b-jhqdd56sob] {
    background: rgba(245, 194, 66, 0.12);
    box-shadow: 0 0 18px rgba(245, 194, 66, 0.35);
}
/* Le drapeau devient une lanterne, qui se balance plus fort quand l'objectif est en vue. */
.atl-design-nouvelanchinois .atl-drapeau path[b-jhqdd56sob] { display: none; }
.atl-design-nouvelanchinois .atl-drapeau[b-jhqdd56sob] {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 76'%3E%3Cpath d='M24 0V9.0' stroke='%23f5c242' stroke-width='1.6'/%3E%3Crect x='14.0' y='9.0' width='20.0' height='5.0' rx='1.5' fill='%23f5c242'/%3E%3Cellipse cx='24' cy='31.0' rx='22.0' ry='18.0' fill='%23e02a2a'/%3E%3Cellipse cx='24' cy='31.0' rx='13.0' ry='11.0' fill='%23ff6a4d' fill-opacity='.55'/%3E%3Cellipse cx='24' cy='31.0' rx='11.0' ry='18.0' fill='none' stroke='%23a3111b' stroke-width='1.4'/%3E%3Cpath d='M24 13.0V49.0' stroke='%23a3111b' stroke-width='1.4'/%3E%3Crect x='14.0' y='48.0' width='20.0' height='5.0' rx='1.5' fill='%23f5c242'/%3E%3Cpath d='M24 53.0V70.0M21.0 56.0V68.0M27.0 56.0V68.0' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center top / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(255, 106, 77, 0.7));
    transform-origin: 50% 0;
}
.atl-design-nouvelanchinois .atl-drapeau.est-proche[b-jhqdd56sob] { animation: atl-lanterne-proche-b-jhqdd56sob 1.4s ease-in-out infinite alternate; }
@keyframes atl-lanterne-proche-b-jhqdd56sob {
    from { transform: rotate(-9deg); }
    to   { transform: rotate(9deg); }
}
/* Une semaine atteinte sur deux (est-alterne) : bleu, rouge, bleu… Sous l'objectif : bordeaux.
   Le record s'écrit en or, pour ne pas se confondre avec une barre rouge. */
.atl-design-nouvelanchinois .atl-barre.est-alterne path[b-jhqdd56sob] { fill: var(--atl-lanterne); }
.atl-design-nouvelanchinois .atl-barre.est-courante path[b-jhqdd56sob] { filter: drop-shadow(0 0 9px rgba(245, 194, 66, 0.85)); }
.atl-design-nouvelanchinois .atl-axe.est-courante[b-jhqdd56sob],
.atl-design-nouvelanchinois .est-courante .atl-valeur-barre[b-jhqdd56sob] { fill: var(--atl-or); }
.atl-design-nouvelanchinois .atl-valeur-barre.est-record[b-jhqdd56sob] { fill: var(--atl-or); }
.atl-design-nouvelanchinois .atl-phrase-icone[b-jhqdd56sob] { background: var(--atl-or); }
.atl-design-nouvelanchinois .atl-cle-atteint[b-jhqdd56sob] { background: linear-gradient(135deg, #2f7bff 50%, #e02a2a 50%); }

/* Le dragon : un DRAGON DE DANSE, comme ceux des défilés du Nouvel An — gueule grande ouverte à
   deux rangées de longues dents blanches bordées de perles d'argent, la boule rouge laquée dans la
   gueule, un gros œil rond exorbité sous une couronne d'or, des cornes d'or, la joue en paillettes
   bleues et violettes, des collerettes de flammes, la longue crinière rouge qui se balance, et un
   corps de tissu à grosses écailles orange et or qui ONDULE vraiment de la tête à la queue. C'est un SVG animé à part (wwwroot/images/atelier/dragon-nouvel-an.svg, généré par
   tools/atelier/dragon-nouvel-an.py) ; ici, il ne fait que défiler de droite à gauche DANS LA BANDE
   DU HAUT, par-dessus le bandeau comme un vrai défilé : il passe devant le titre et l'heure le
   temps de traverser, mais reste au-dessus des panneaux — il ne cache jamais un chiffre (seules
   les pointes de sa crinière effleurent le haut des panneaux). Un vrai élément (.atl-dragon, posé
   par le razor pour ce design seulement) : les deux pseudo-éléments portent déjà les étincelles et
   les lanternes. Il part à mi-course (délai négatif) : une télé qu'on allume le montre tout de suite. */
.atl-design-nouvelanchinois > .atl-dragon[b-jhqdd56sob] {
    --dragon-h: clamp(170px, 30vh, 360px);
    --dragon-l: calc(var(--dragon-h) * 1950 / 820);
    position: absolute;
    z-index: 2;
    top: -1vh;
    left: 100%;
    width: var(--dragon-l);
    height: var(--dragon-h);
    pointer-events: none;
    background: url("/images/atelier/dragon-nouvel-an.svg") center / contain no-repeat;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
    animation: atl-dragon-vol-b-jhqdd56sob 52s linear -22s infinite;
}
@keyframes atl-dragon-vol-b-jhqdd56sob {
    from { left: 100%; }
    to   { left: calc(-1 * var(--dragon-l)); }
}



/* Un nuage porte-bonheur d'or au coin haut-droit de chaque panneau. */
.atl-design-nouvelanchinois .atl-score[b-jhqdd56sob],
.atl-design-nouvelanchinois .atl-carte[b-jhqdd56sob],
.atl-design-nouvelanchinois .atl-histo[b-jhqdd56sob] {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44'%3E%3Cg opacity='.6'%3E%3Cpath d='M6 34h46c6 0 9-8 3-11 1-7-8-10-12-5-2-8-14-9-17-1-6-3-12 3-9 8-6 1-7 9-11 9z' fill='none' stroke='%23f5c242' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M26 22c0-4 6-4 6 0s-4 4-4 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M40 26c0-3 5-3 5 0s-3 3-3 1' fill='none' stroke='%23f5c242' stroke-width='1.6' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") top 8px right 10px / clamp(40px, 3.8vw, 72px) auto no-repeat,
        var(--atl-carte);
}

/* La décoration du coin haut-droit ne doit pas couvrir la légende de l'histogramme (« Objectif ») :
   le titre s'arrête avant elle. */
.atl-design-tempete .atl-histo-titre[b-jhqdd56sob],
.atl-design-valentin .atl-histo-titre[b-jhqdd56sob],
.atl-design-printemps .atl-histo-titre[b-jhqdd56sob],
.atl-design-ete .atl-histo-titre[b-jhqdd56sob],
.atl-design-paques .atl-histo-titre[b-jhqdd56sob],
.atl-design-stjean .atl-histo-titre[b-jhqdd56sob],
.atl-design-nouvelanchinois .atl-histo-titre[b-jhqdd56sob] { padding-right: clamp(36px, 3.4vw, 66px); }

/* Moins de mouvement demandé : la tempête se calme, les cœurs, les pétales, les goélands, les
   vagues, les œufs, les feux d'artifice et les lanternes s'arrêtent là où ils sont — rien ne disparaît. */
@media (prefers-reduced-motion: reduce) {
    .atl-design-tempete[b-jhqdd56sob]::before,
    .atl-design-valentin[b-jhqdd56sob]::before,
    .atl-design-valentin .atl-drapeau.est-proche[b-jhqdd56sob],
    .atl-design-printemps[b-jhqdd56sob]::before,
    .atl-design-ete[b-jhqdd56sob]::before,
    .atl-design-ete[b-jhqdd56sob]::after,
    .atl-design-paques[b-jhqdd56sob]::before,
    .atl-design-paques .atl-drapeau.est-proche[b-jhqdd56sob] { animation: none; }
    /* Les feux d'artifice restent allumés, à mi-éclat, plutôt que de disparaître. */
    .atl-design-stjean[b-jhqdd56sob]::before,
    .atl-design-stjean[b-jhqdd56sob]::after { animation: none; opacity: 0.5; }
    .atl-design-nouvelanchinois[b-jhqdd56sob]::before,
    .atl-design-nouvelanchinois[b-jhqdd56sob]::after,
    .atl-design-nouvelanchinois .atl-drapeau.est-proche[b-jhqdd56sob] { animation: none; }
    /* Le dragon s'arrête au milieu du ciel, immobile (sa version fixe), plutôt que de disparaître. */
    .atl-design-nouvelanchinois > .atl-dragon[b-jhqdd56sob] {
        animation: none;
        left: 30%;
        background-image: url("/images/atelier/dragon-nouvel-an-fixe.svg");
    }
}
/* /Components/Shared/ConfigurationListePdi.razor.rz.scp.css */
/* Configuration → Liste de vérification PDI. Jetons communs seulement : la feuille claire et le thème sombre suivent. */

.lp-entete[b-b1d9c9g3mv] { margin-bottom: 14px; }
.lp-entete-haut[b-b1d9c9g3mv] { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.lp-entete-haut > div:first-child[b-b1d9c9g3mv] { flex: 1 1 420px; }
.lp-version[b-b1d9c9g3mv] {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
    padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--bg-elevated); min-width: 200px;
}
.lp-version-label[b-b1d9c9g3mv] { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.lp-version-num[b-b1d9c9g3mv] { font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.lp-version-det[b-b1d9c9g3mv] { font-size: 12px; color: var(--text-secondary); text-align: right; }

.lp-kpis[b-b1d9c9g3mv] { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 16px 0 12px; }
.lp-kpis .kpi[b-b1d9c9g3mv] { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 8px 12px; }

.lp-etats[b-b1d9c9g3mv] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lp-vues[b-b1d9c9g3mv] { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border-subtle); padding-top: 12px; }

.lp-avis[b-b1d9c9g3mv] { border-radius: var(--radius-md); padding: 10px 14px; margin-bottom: 14px; font-size: 14px; }
.lp-avis-ok[b-b1d9c9g3mv] { background: rgba(34, 197, 94, 0.12); color: #15803d; border: 1px solid rgba(34, 197, 94, 0.35); }
.lp-avis-err[b-b1d9c9g3mv] { background: rgba(239, 68, 68, 0.1); color: #b91c1c; border: 1px solid rgba(239, 68, 68, 0.35); }

.lp-carte[b-b1d9c9g3mv], .lp-section[b-b1d9c9g3mv], .lp-publier[b-b1d9c9g3mv], .lp-nouvelle-section[b-b1d9c9g3mv], .lp-apercu[b-b1d9c9g3mv] { margin-bottom: 14px; }

.lp-section-tete[b-b1d9c9g3mv] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lp-section-num[b-b1d9c9g3mv] {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700;
}
.lp-section-titre[b-b1d9c9g3mv] { flex: 1 1 260px; font-weight: 600; font-size: 16px; }
.lp-section-compte[b-b1d9c9g3mv] { font-size: 12.5px; color: var(--text-muted); }
.lp-boutons[b-b1d9c9g3mv] { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lp-retirer:hover[b-b1d9c9g3mv] { color: var(--status-danger); }
.lp-verrou[b-b1d9c9g3mv] { cursor: default; opacity: 0.7; }
.lp-trad-section[b-b1d9c9g3mv] { margin: 10px 0 0 40px; }

.lp-etapes[b-b1d9c9g3mv] { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 12px; }
.lp-etape[b-b1d9c9g3mv] {
    display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: start;
    padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--bg-elevated); border-left: 4px solid var(--accent);
}
.lp-etape.facultative[b-b1d9c9g3mv] { border-left-color: var(--border); }
.lp-etape.auto[b-b1d9c9g3mv] { border-left-color: var(--text-muted); background: var(--bg-tertiary); }
.lp-etape.nouvelle[b-b1d9c9g3mv] { box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.55); }
.lp-etape.modifiee[b-b1d9c9g3mv] { box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.6); }
.lp-etape-num[b-b1d9c9g3mv] { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text-muted); padding-top: 8px; font-size: 13px; }
.lp-etape-corps[b-b1d9c9g3mv] { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp-etape-texte[b-b1d9c9g3mv] { width: 100%; resize: vertical; min-height: 42px; font-size: 14px; line-height: 1.4; }
.lp-reglages[b-b1d9c9g3mv] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }

.lp-interrupteur[b-b1d9c9g3mv] {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    padding: 3px 10px; border-radius: var(--radius-full); border: 1px solid var(--border);
    font-size: 12.5px; font-weight: 600; color: var(--text-secondary); background: var(--bg-secondary);
}
.lp-interrupteur.is-on[b-b1d9c9g3mv] { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.lp-interrupteur input[b-b1d9c9g3mv] { accent-color: var(--accent); margin: 0; }
.lp-champ span[b-b1d9c9g3mv] { white-space: nowrap; }
.lp-aide[b-b1d9c9g3mv] { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; }
.lp-champ[b-b1d9c9g3mv] { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); }
.lp-champ select.input[b-b1d9c9g3mv] { padding: 3px 26px 3px 8px; font-size: 12.5px; min-width: 120px; }
.lp-unite[b-b1d9c9g3mv] { width: 130px; padding: 3px 8px; font-size: 12.5px; }

.lp-trad-grille[b-b1d9c9g3mv] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-trad-grille label[b-b1d9c9g3mv] { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.lp-trad-grille .input[b-b1d9c9g3mv] { font-weight: 400; font-size: 13px; }

.lp-marque[b-b1d9c9g3mv] { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-radius: var(--radius-sm); padding: 1px 6px; }
.lp-marque.nouvelle[b-b1d9c9g3mv] { color: #15803d; background: rgba(34, 197, 94, 0.14); }
.lp-marque.modifiee[b-b1d9c9g3mv] { color: #a16207; background: rgba(234, 179, 8, 0.16); }

.lp-etape-actions[b-b1d9c9g3mv] { display: flex; align-items: center; gap: 2px; }
.lp-deplacer[b-b1d9c9g3mv] { width: 118px; padding: 3px 24px 3px 8px; font-size: 12px; }

.lp-ajouter[b-b1d9c9g3mv] { margin-left: 52px; }
.lp-nouvelle-section[b-b1d9c9g3mv] { display: flex; gap: 10px; align-items: center; border-style: dashed; }
.lp-nouvelle-section .input[b-b1d9c9g3mv] { flex: 1; }

.lp-h3[b-b1d9c9g3mv] { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: var(--text-primary); }
.lp-ecarts[b-b1d9c9g3mv], .lp-refus[b-b1d9c9g3mv] { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.lp-refus li[b-b1d9c9g3mv] { color: #b91c1c; }
.lp-refus li[b-b1d9c9g3mv]::before { content: "⚠ "; }
.lp-ecart-genre[b-b1d9c9g3mv] {
    display: inline-block; min-width: 140px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--accent); margin-right: 6px;
}
.lp-g-etapeajoutee[b-b1d9c9g3mv], .lp-g-sectionajoutee[b-b1d9c9g3mv], .lp-g-devenueobligatoire[b-b1d9c9g3mv] { color: #15803d; }
.lp-g-etaperetiree[b-b1d9c9g3mv], .lp-g-sectionretiree[b-b1d9c9g3mv] { color: #b91c1c; }
.lp-g-devenuefacultative[b-b1d9c9g3mv] { color: #a16207; }
.lp-note[b-b1d9c9g3mv] { margin-bottom: 12px; }
.lp-barre[b-b1d9c9g3mv] { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lp-barre-espace[b-b1d9c9g3mv] { flex: 1; }

.lp-muted[b-b1d9c9g3mv] { color: var(--text-muted); font-weight: 400; }

/* L'aperçu : à la manière du poste, en plus sobre. */
.lp-apercu-tete[b-b1d9c9g3mv] { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.lp-apercu-section[b-b1d9c9g3mv] { margin-top: 14px; }
.lp-apercu-section h4[b-b1d9c9g3mv] { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.lp-apercu-etape[b-b1d9c9g3mv] { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-subtle); }
.lp-apercu-case[b-b1d9c9g3mv] {
    width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-muted);
}
.lp-apercu-texte[b-b1d9c9g3mv] { font-size: 14px; color: var(--text-primary); }
.lp-apercu-chips[b-b1d9c9g3mv] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lp-chip[b-b1d9c9g3mv] { font-size: 11.5px; padding: 1px 8px; border-radius: var(--radius-full); background: var(--bg-tertiary); color: var(--text-secondary); }
.lp-chip-fort[b-b1d9c9g3mv] { background: rgba(239, 68, 68, 0.12); color: #b91c1c; font-weight: 600; }
.lp-chip-bouton[b-b1d9c9g3mv] { border: 1px solid var(--border); background: transparent; }

.lp-defile[b-b1d9c9g3mv] { max-width: 100%; overflow-x: auto; }
.lp-historique td[b-b1d9c9g3mv], .lp-historique th[b-b1d9c9g3mv] { white-space: nowrap; }
.lp-historique td:nth-child(6)[b-b1d9c9g3mv] { white-space: normal; min-width: 200px; }
.lp-hist-actions[b-b1d9c9g3mv] { display: flex; gap: 12px; }

@media (max-width: 720px) {
    .lp-etape[b-b1d9c9g3mv] { grid-template-columns: 1fr; }
    .lp-etape-num[b-b1d9c9g3mv] { padding-top: 0; }
    .lp-trad-grille[b-b1d9c9g3mv] { grid-template-columns: 1fr; }
    .lp-ajouter[b-b1d9c9g3mv] { margin-left: 0; }
    .lp-version[b-b1d9c9g3mv] { align-items: flex-start; }
}
/* /Components/Shared/EtapesReception.razor.rz.scp.css */
.reception-etapes[b-bg1t809hgu] {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.reception-etape[b-bg1t809hgu] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.reception-etape-num[b-bg1t809hgu] {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 13px;
    border: 1.5px solid var(--border);
}

.reception-etape-texte[b-bg1t809hgu] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reception-etape-titre[b-bg1t809hgu] { font-weight: 650; font-size: 13.5px; color: var(--text-primary); }
.reception-etape-detail[b-bg1t809hgu] { font-size: 12px; line-height: 1.35; }

.reception-etape.is-courante[b-bg1t809hgu] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.reception-etape.is-courante .reception-etape-num[b-bg1t809hgu] { background: var(--accent); border-color: var(--accent); color: #fff; }
.reception-etape.is-faite .reception-etape-num[b-bg1t809hgu] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

@media (max-width: 1180px) {
    .reception-etapes[b-bg1t809hgu] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .reception-etapes[b-bg1t809hgu] { grid-template-columns: 1fr 1fr; }
}

/* Une étape atteinte se rouvre d'un clic : le bouton prend toute la carte, sans bordure à lui. */
.reception-etape-bouton[b-bg1t809hgu] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    margin: -10px -12px;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.reception-etape-bouton:hover[b-bg1t809hgu], .reception-etape-bouton:focus-visible[b-bg1t809hgu] { background: var(--accent-soft); outline: none; }
.reception-etape.is-atteinte[b-bg1t809hgu] { border-style: dashed; }
/* /Components/Shared/ForgeSousNav.razor.rz.scp.css */
/* Sous-navigation de l'atelier Forge — même langage visuel que les onglets du formulaire. */
.forge-nav[b-5qam5u53w0] {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.forge-nav-lien[b-5qam5u53w0] {
    border-bottom: 2px solid transparent;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
}
.forge-nav-lien:hover[b-5qam5u53w0] { color: var(--text-primary); }
.forge-nav-lien.is-active[b-5qam5u53w0] { color: var(--accent); border-bottom-color: var(--accent); }
.forge-nav-lien:focus-visible[b-5qam5u53w0] {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
/* /Components/Shared/GrilleRapport.razor.rz.scp.css */
/* La grille d'un rapport — même famille que l'âge des comptes clients (cartes de chiffres,
   barre de répartition, pastilles qui filtrent, puces des filtres posés). Les couleurs des
   valeurs sont les six teintes de série d'app.css (--graph-1…6, .serie-N) : rien d'ajouté aux
   jetons. La couleur n'est jamais seule — chaque segment, pastille et étiquette porte son libellé. */

.grille[b-gks9t4lwmz] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.serie-autre[b-gks9t4lwmz] { --serie: var(--machine); }

.grille-point[b-gks9t4lwmz] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--serie, var(--text-muted));
    margin-right: 6px;
    flex: none;
}

/* ── Les chiffres en tête ─────────────────────────────────────────────── */
.grille-kpis[b-gks9t4lwmz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.grille-kpi[b-gks9t4lwmz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 0;
}

.grille-kpi-principal[b-gks9t4lwmz] {
    background: var(--accent-gradient);
    border-color: transparent;
}
.grille-kpi-principal .grille-kpi-label[b-gks9t4lwmz],
.grille-kpi-principal .grille-kpi-sub[b-gks9t4lwmz] { color: rgba(255, 255, 255, 0.8); }
.grille-kpi-principal .grille-kpi-valeur[b-gks9t4lwmz] { color: #fff; }

.grille-kpi-label[b-gks9t4lwmz] {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grille-kpi-valeur[b-gks9t4lwmz] {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grille-kpi-sub[b-gks9t4lwmz] { font-size: 12.5px; color: var(--text-secondary); }

/* ── Les filtres rapides ──────────────────────────────────────────────── */
.grille-rapides[b-gks9t4lwmz] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-glass);
}

.grille-rapide[b-gks9t4lwmz] { display: flex; flex-direction: column; gap: 8px; }

.grille-rapide-tete[b-gks9t4lwmz] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.grille-rapide-titre[b-gks9t4lwmz] {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.grille-barre[b-gks9t4lwmz] {
    display: flex;
    gap: 2px;
    height: 30px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.grille-segment[b-gks9t4lwmz] {
    flex-basis: 0;
    min-width: 6px;
    border: none;
    padding: 0 8px;
    margin: 0;
    background: var(--serie);
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: opacity var(--transition), filter var(--transition);
}
[data-theme="dark"] .grille-segment[b-gks9t4lwmz] { color: #14161f; }
.grille-segment:hover[b-gks9t4lwmz] { filter: brightness(1.08); }
.grille-segment.est-estompe[b-gks9t4lwmz] { opacity: 0.28; }
.grille-segment:focus-visible[b-gks9t4lwmz] { outline: 2px solid var(--text-primary); outline-offset: -2px; }

.grille-pastilles[b-gks9t4lwmz] { display: flex; flex-wrap: wrap; gap: 6px; }

.grille-pastille[b-gks9t4lwmz] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 5px 12px 5px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}
.grille-pastille:hover:not(:disabled)[b-gks9t4lwmz] { border-color: var(--serie, var(--accent)); }
.grille-pastille.est-actif[b-gks9t4lwmz] {
    border-color: var(--serie);
    background: color-mix(in srgb, var(--serie) 14%, var(--bg-secondary));
    box-shadow: inset 0 0 0 1px var(--serie);
}
.grille-pastille:disabled[b-gks9t4lwmz] { opacity: 0.45; cursor: default; }
.grille-pastille-nom[b-gks9t4lwmz] { font-weight: 600; }
.grille-pastille-chiffre[b-gks9t4lwmz] {
    margin-left: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.grille-pastille-plus[b-gks9t4lwmz] { color: var(--accent); font-weight: 600; }

/* ── Les outils ───────────────────────────────────────────────────────── */
.grille-outils[b-gks9t4lwmz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.grille-recherche[b-gks9t4lwmz] { flex: 1 1 260px; max-width: 380px; }

.grille-outils-droite[b-gks9t4lwmz] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grille-outils-droite .btn-secondary[b-gks9t4lwmz] { display: inline-flex; align-items: center; gap: 6px; }

.grille-colonnes[b-gks9t4lwmz] { position: relative; }

.grille-panneau[b-gks9t4lwmz] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    width: 300px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.grille-panneau-tete[b-gks9t4lwmz] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
}

.grille-panneau-aide[b-gks9t4lwmz] {
    margin: 6px 0 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.grille-panneau ul[b-gks9t4lwmz] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}

.grille-panneau label[b-gks9t4lwmz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--text-secondary);
    cursor: pointer;
}
.grille-panneau label:hover[b-gks9t4lwmz] { background: var(--bg-glass-hover); }
.grille-panneau label.est-coche[b-gks9t4lwmz] { color: var(--text-primary); }

.grille-detail[b-gks9t4lwmz] {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.grille-panneau-pied[b-gks9t4lwmz] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

/* ── Les filtres posés ────────────────────────────────────────────────── */
.grille-filtre-etat[b-gks9t4lwmz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.grille-puce[b-gks9t4lwmz] {
    display: inline-flex;
    align-items: center;
    padding: 2px 4px 2px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--serie, var(--accent));
    background: color-mix(in srgb, var(--serie, var(--accent)) 10%, transparent);
    color: var(--text-primary);
    font-weight: 500;
}
.grille-puce button[b-gks9t4lwmz] {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 6px;
}

/* ── Le tableau ───────────────────────────────────────────────────────── */
/* Les montants à droite, comme dans l'âge des comptes : un total se lit en colonne. */
.grille[b-gks9t4lwmz]  .data-table td.grille-num {
    text-align: right;
    font-size: 13.5px;
    font-weight: 500;
    white-space: nowrap;
}
.grille[b-gks9t4lwmz]  .data-table th,
.grille[b-gks9t4lwmz]  .data-table td { text-align: left; }
.grille[b-gks9t4lwmz]  .data-table thead th .th-sort,
.grille[b-gks9t4lwmz]  .data-table thead th .th-filtrable { justify-content: flex-start; }
.grille[b-gks9t4lwmz]  .data-table th.num { text-align: right; }
.grille[b-gks9t4lwmz]  .data-table th.num .th-sort,
.grille[b-gks9t4lwmz]  .data-table th.num .th-filtrable { justify-content: flex-end; }
.grille[b-gks9t4lwmz]  .data-table td { font-size: 13.5px; }

.grille-etiquette[b-gks9t4lwmz] {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px 2px 8px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--serie) 12%, transparent);
    white-space: nowrap;
}

.grille-lien[b-gks9t4lwmz] { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.grille-lien:hover[b-gks9t4lwmz] { text-decoration: underline; }

.grille-pied td[b-gks9t4lwmz] {
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.grille-pied td.grille-num[b-gks9t4lwmz] { text-align: right; white-space: nowrap; }
.grille-pied-sub[b-gks9t4lwmz] { font-weight: 400; color: var(--text-secondary); font-size: 12.5px; }

@media (max-width: 640px) {
    .grille-kpi-valeur[b-gks9t4lwmz] { font-size: 19px; }
    .grille-outils-droite[b-gks9t4lwmz] { width: 100%; }
}
/* /Components/Shared/JournalVue.razor.rz.scp.css */
/* Journal des changements — la mise en forme sert UNE idée : replié, l'écran doit se lire
   d'un balayage vertical ; c'est la synthèse qui porte, tout le reste s'efface.
   Composant PARTAGÉ : la page /journal et l'écran « Journal » de /configuration. */

/* La racine porte le rythme vertical elle-même : la page /journal le tenait de .page
   (gap de 20px), mais le panneau de /configuration n'a aucun gap — sans cette règle,
   filtres et liste s'y colleraient. */
.jrn-vue[b-wj9zqm8xzy] { display: flex; flex-direction: column; gap: 16px; }

.jrn-outils[b-wj9zqm8xzy] { display: flex; gap: 10px; align-items: center; }
.jrn-rech[b-wj9zqm8xzy] { min-width: 220px; flex: 1; max-width: 340px; }

.jrn-compte[b-wj9zqm8xzy] {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

.jrn-mois[b-wj9zqm8xzy] { display: flex; flex-direction: column; gap: 10px; }

.jrn-mois-titre[b-wj9zqm8xzy] {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.jrn-liste[b-wj9zqm8xzy] { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.jrn-entree[b-wj9zqm8xzy] { padding: 0; transition: var(--transition); }
.jrn-entree:hover[b-wj9zqm8xzy] { border-color: var(--text-muted); }

/* La synthèse EST la ligne cliquable : toute la largeur, pas juste le triangle. */
/* ⚠️ PAS de display:flex ici. La synthèse contient du `code` injecté : en flex, CHAQUE
   nœud devient un élément flex et le texte se disloque autour du chiffon de code. Le texte
   doit rester en flux INLINE — le chevron est donc positionné en absolu, pas empilé. */
.jrn-entree summary[b-wj9zqm8xzy] {
    cursor: pointer;
    position: relative;
    padding: 14px 18px 14px 40px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-primary);
    list-style: none;
}
.jrn-entree summary[b-wj9zqm8xzy]::-webkit-details-marker { display: none; }

/* Chevron maison : tourne à l'ouverture. Le marqueur natif n'est pas stylable partout. */
.jrn-entree summary[b-wj9zqm8xzy]::before {
    content: "\203A";
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 17px;
    line-height: 1;
    color: var(--text-muted);
    transition: transform 0.15s ease;
}
.jrn-entree details[open] summary[b-wj9zqm8xzy]::before { transform: rotate(90deg); }

.jrn-entree summary:hover[b-wj9zqm8xzy] { background: var(--bg-tertiary); }
.jrn-entree details[open] summary[b-wj9zqm8xzy] { font-weight: 600; }

.jrn-meta[b-wj9zqm8xzy] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 0 18px 0 40px;
    font-size: 12px;
    color: var(--text-muted);
}
.jrn-date[b-wj9zqm8xzy] { font-variant-numeric: tabular-nums; }
.jrn-auteur[b-wj9zqm8xzy]::before { content: "· "; }

/* La couleur des catégories vient du nuancier `.tag.cat-color-N` d'app.css (PR 57), déjà
   décliné clair/sombre — on ne redéfinit RIEN ici, sinon les deux nuanciers divergent.
   La correspondance catégorie → teinte vit dans EntreeJournal.CategorieCss. */

/* Numéro et catégorie dans la ligne repliée : des éléments INLINE (voir l'avertissement
   flex ci-dessus), calés sur la ligne de texte. */
.jrn-num[b-wj9zqm8xzy] {
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
    margin-right: 8px;
}
.jrn-cat[b-wj9zqm8xzy] {
    margin-right: 10px;
    vertical-align: 1px;
}
/* La graisse à l'ouverture s'applique à la synthèse, pas aux repères. */
.jrn-entree details[open] summary .jrn-num[b-wj9zqm8xzy] { font-weight: 400; }

/* Filtres rapides : les puces de catégorie portent leur vraie couleur — le filtre sert
   aussi de légende du nuancier. Éteint = assourdi, allumé = plein + liseré. */
.jrn-filtres[b-wj9zqm8xzy] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.jrn-filtres-nom[b-wj9zqm8xzy] {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    min-width: 72px;
}
.jrn-filtre[b-wj9zqm8xzy] {
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.55;
    transition: var(--transition);
    font: inherit;
    font-size: 12px;
}
.jrn-filtre:hover[b-wj9zqm8xzy] { opacity: 1; }
.jrn-filtre-actif[b-wj9zqm8xzy] { opacity: 1; border-color: currentColor; }
.jrn-filtre-n[b-wj9zqm8xzy] { opacity: 0.7; font-variant-numeric: tabular-nums; }

.jrn-detail[b-wj9zqm8xzy] {
    margin: 10px 0 0;
    padding: 0 18px 16px 40px;
    display: grid;
    gap: 7px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    list-style: none;
}
.jrn-detail li[b-wj9zqm8xzy] { position: relative; padding-left: 14px; }
.jrn-detail li[b-wj9zqm8xzy]::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--border);
}

/* Captures d'écran : bordées et bornées — une capture illustre, elle n'envahit pas. */
.jrn-captures[b-wj9zqm8xzy] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 18px 16px 40px;
}
.jrn-capture[b-wj9zqm8xzy] { margin: 0; }
.jrn-capture img[b-wj9zqm8xzy] {
    display: block;
    max-width: min(420px, 100%);
    max-height: 320px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.jrn-alerte[b-wj9zqm8xzy] {
    padding: 11px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--status-warning);
    color: var(--status-warning);
    font-size: 13px;
}

@media (max-width: 640px) {
    .jrn-outils[b-wj9zqm8xzy] { width: 100%; }
    .jrn-rech[b-wj9zqm8xzy] { flex: 1; min-width: 0; }
    .jrn-meta[b-wj9zqm8xzy], .jrn-detail[b-wj9zqm8xzy] { padding-left: 18px; }
    .jrn-captures[b-wj9zqm8xzy] { padding-left: 18px; }
    .jrn-filtres-nom[b-wj9zqm8xzy] { min-width: 100%; }
}

/* `code` et `**gras**` arrivent par MarkupString : ces éléments n'existent pas dans le .razor,
   donc ils NE PORTENT PAS l'attribut de portée. ::deep est obligatoire ici — sans lui la règle
   ne s'applique à rien, en silence. */
.jrn-entree[b-wj9zqm8xzy]  code {
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    font-size: 0.88em;
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.jrn-entree[b-wj9zqm8xzy]  strong { color: var(--text-primary); font-weight: 650; }
/* /Components/Shared/OutilsTableau.razor.rz.scp.css */
/* La barre d'outils d'un tableau dessiné par sa page — mêmes pastilles et même panneau de
   colonnes que GrilleRapport. Les teintes de ton (ok, alerte, info) restent sur les jetons
   d'app.css ; le libellé accompagne toujours la couleur. */

.outils-tableau[b-x70b6k4ucm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 10px;
}

.outils-recherche[b-x70b6k4ucm] { flex: 0 1 260px; min-width: 180px; }

.outils-pastilles[b-x70b6k4ucm] { display: flex; flex-wrap: wrap; gap: 6px; }

.outils-pastille[b-x70b6k4ucm] {
    --ton: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px 4px 9px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.outils-pastille.ton-ok[b-x70b6k4ucm] { --ton: var(--status-success); }
.outils-pastille.ton-alerte[b-x70b6k4ucm] { --ton: var(--status-danger); }
.outils-pastille.ton-attention[b-x70b6k4ucm] { --ton: var(--status-warning); }
.outils-pastille.ton-info[b-x70b6k4ucm] { --ton: var(--draft); }
.outils-pastille.ton-neutre[b-x70b6k4ucm] { --ton: var(--machine); }
.outils-pastille:hover:not(:disabled)[b-x70b6k4ucm] { border-color: var(--ton); }
.outils-pastille.est-actif[b-x70b6k4ucm] {
    border-color: var(--ton);
    background: color-mix(in srgb, var(--ton) 14%, var(--bg-secondary));
    box-shadow: inset 0 0 0 1px var(--ton);
}
.outils-pastille:disabled[b-x70b6k4ucm] { opacity: 0.45; cursor: default; }

.outils-point[b-x70b6k4ucm] {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ton);
    margin-right: 2px;
}

.outils-nombre[b-x70b6k4ucm] {
    margin-left: 2px;
    color: var(--text-secondary);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.outils-droite[b-x70b6k4ucm] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.outils-compte[b-x70b6k4ucm] { font-size: 12.5px; color: var(--text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }

.outils-colonnes[b-x70b6k4ucm] { position: relative; }
.outils-bouton[b-x70b6k4ucm] { display: inline-flex; align-items: center; gap: 6px; padding-top: 5px; padding-bottom: 5px; font-size: 13px; }

.outils-panneau[b-x70b6k4ucm] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    width: 280px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.outils-panneau-tete[b-x70b6k4ucm] { display: flex; justify-content: space-between; align-items: center; color: var(--text-primary); }
.outils-panneau-aide[b-x70b6k4ucm] { margin: 6px 0 8px; font-size: 12.5px; color: var(--text-secondary); }

.outils-panneau ul[b-x70b6k4ucm] { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }

.outils-panneau label[b-x70b6k4ucm] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--text-secondary);
    cursor: pointer;
}
.outils-panneau label:hover[b-x70b6k4ucm] { background: var(--bg-glass-hover); }
.outils-panneau label.est-coche[b-x70b6k4ucm] { color: var(--text-primary); }

.outils-detail[b-x70b6k4ucm] {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: var(--radius-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
}

.outils-panneau-pied[b-x70b6k4ucm] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}
/* /Components/Shared/PdiAffichage.razor.rz.scp.css */
/* La file des PDI. Deux règles la gouvernent :

   1. TOUT passe par les jetons Proxima (app.css) — surfaces, texte, bordures, rayons,
      ombres — donc les deux thèmes sont couverts et l'écran ressemble au reste de
      l'application : mêmes cartes que les tuiles du tableau de bord, même en-tête de
      tableau que les grilles.
   2. SEULES les quatre couleurs de priorité sont propres à l'écran. Ce sont celles du
      tableau Odoo « PDI — Écran atelier (TV) » (rouge, orange, bleu, sarcelle) : un
      mécanicien qui passe d'un écran à l'autre ne doit pas réapprendre ce que veut dire
      le rouge. Chaque priorité les expose en deux jetons, --pdi-c (plein) et --pdi-doux
      (lavis), éclaircis en thème sombre pour garder le contraste. */

.pdi-p1[b-61drvwrdmk] { --pdi-c: #DC2626; --pdi-doux: rgba(220, 38, 38, 0.10); }
.pdi-p2[b-61drvwrdmk] { --pdi-c: #C2410C; --pdi-doux: rgba(194, 65, 12, 0.10); }
.pdi-p3[b-61drvwrdmk] { --pdi-c: #2563EB; --pdi-doux: rgba(37, 99, 235, 0.10); }
.pdi-p4[b-61drvwrdmk] { --pdi-c: #0F766E; --pdi-doux: rgba(15, 118, 110, 0.10); }

[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-p1[b-61drvwrdmk] { --pdi-c: #f87171; --pdi-doux: rgba(248, 113, 113, 0.16); }
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-p2[b-61drvwrdmk] { --pdi-c: #fb923c; --pdi-doux: rgba(251, 146, 60, 0.16); }
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-p3[b-61drvwrdmk] { --pdi-c: #60a5fa; --pdi-doux: rgba(96, 165, 250, 0.16); }
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-p4[b-61drvwrdmk] { --pdi-c: #2dd4bf; --pdi-doux: rgba(45, 212, 191, 0.16); }

.pdi[b-61drvwrdmk] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-primary);
}

/* ── État de fraîcheur ───────────────────────────────────────────────────── */
.pdi-barre[b-61drvwrdmk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pdi-etat[b-61drvwrdmk] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-etat[b-61drvwrdmk] { color: #4ade80; }

/* Le point pulse tant que la liste est fraîche : l'écran est vivant, pas figé. */
.pdi-point[b-61drvwrdmk] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-success);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: pdi-pouls-b-61drvwrdmk 2.4s ease-out infinite;
}

/* Liste gardée pendant une panne : ambre, et le point s'arrête — elle date. */
.pdi-etat-perdu[b-61drvwrdmk] { background: rgba(234, 179, 8, 0.16); color: #a16207; }
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-etat-perdu[b-61drvwrdmk] { color: #fcd34d; }
.pdi-etat-perdu .pdi-point[b-61drvwrdmk] { background: var(--status-warning); animation: none; }

@keyframes pdi-pouls-b-61drvwrdmk {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .pdi-point[b-61drvwrdmk] { animation: none; }
}

.pdi-total[b-61drvwrdmk] {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* ── Tuiles ──────────────────────────────────────────────────────────────── */
.pdi-tuiles[b-61drvwrdmk] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.pdi-tuile[b-61drvwrdmk] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
/* Le filet de couleur en tête de carte : la priorité se lit avant le chiffre. */
.pdi-tuile[b-61drvwrdmk]::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--pdi-c);
}
.pdi-tuile:hover[b-61drvwrdmk] {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pdi-tuile-libelle[b-61drvwrdmk] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pdi-c);
    line-height: 1.3;
}
.pdi-tuile-valeur[b-61drvwrdmk] {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--pdi-c);
    font-variant-numeric: tabular-nums;
}

/* La part de la file que pèse la priorité. */
.pdi-jauge[b-61drvwrdmk] {
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    overflow: hidden;
}
.pdi-jauge > span[b-61drvwrdmk] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--pdi-c);
    transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pdi-tuile-part[b-61drvwrdmk] {
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ── Tableau ─────────────────────────────────────────────────────────────── */
.pdi-tableau-cadre[b-61drvwrdmk] {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: auto;
}
.pdi-tableau[b-61drvwrdmk] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
/* Même en-tête que les grilles de l'application (.data-table). */
.pdi-tableau thead th[b-61drvwrdmk] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bg-tertiary);
    padding: 11px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.pdi-tableau td[b-61drvwrdmk] {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}
.pdi-tableau tbody tr:last-child td[b-61drvwrdmk] { border-bottom: none; }
.pdi-tableau tbody tr:nth-child(even)[b-61drvwrdmk] { background: var(--bg-glass); }
.pdi-tableau tbody tr[b-61drvwrdmk] { transition: background var(--transition); }
.pdi-tableau tbody tr:hover[b-61drvwrdmk] { background: var(--bg-glass-hover); }

/* La priorité court le long de la ligne : un filet à gauche, dans sa couleur. */
.pdi-ligne td:first-child[b-61drvwrdmk] { box-shadow: inset 4px 0 0 var(--pdi-c); }

.pdi-col-priorite[b-61drvwrdmk] { width: 1%; text-align: center !important; }
.pdi-col-qte[b-61drvwrdmk] { text-align: center !important; width: 1%; }

/* La date de sortie de la P1 : l'étoile d'Odoo, le jour, et « En retard » en rouge. */
.pdi-col-sortie[b-61drvwrdmk] { white-space: nowrap; }
.pdi-date[b-61drvwrdmk] { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.pdi-etoile[b-61drvwrdmk] { color: #e0a100; margin-right: 6px; }
.pdi-immediate[b-61drvwrdmk] {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: #b45309;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.pdi-retard[b-61drvwrdmk] {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: #c62828;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/* « Planifiés plus tard » : repliée, sous la file, sur l'onglet seulement. */
.pdi-plus-tard[b-61drvwrdmk] { margin-top: 20px; }
.pdi-plus-tard summary[b-61drvwrdmk] {
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600;
    color: var(--text-secondary);
}
.pdi-plus-tard-compte[b-61drvwrdmk] {
    display: inline-block;
    margin-left: 8px;
    min-width: 24px;
    padding: 1px 8px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.pdi-plus-tard-date[b-61drvwrdmk] { white-space: nowrap; }
.pdi-jours[b-61drvwrdmk] { margin-left: 8px; color: var(--text-muted); font-size: 13px; }

.pdi-pastille[b-61drvwrdmk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    background: var(--pdi-c);
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.pdi-code[b-61drvwrdmk] {
    font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}
.pdi-description[b-61drvwrdmk] { font-weight: 600; color: var(--text-primary); }
.pdi-qte[b-61drvwrdmk] {
    display: inline-block;
    min-width: 2ch;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}
.pdi-vide[b-61drvwrdmk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 20px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}
.pdi-vide-icone[b-61drvwrdmk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: var(--status-success);
}

/* ── Mode télé (1920×1080, lu à 3–5 m) ────────────────────────────────────
   Toujours CLAIR, quel que soit le thème du navigateur qui l'affiche : la télé ne se règle
   pas, et un tableau lu de loin se lit mieux en noir sur blanc. Les jetons sont donc
   reposés ici avec leurs valeurs claires.
   Tailles en vw pour tenir à toutes les résolutions : à 1920 px, 1.2vw ≈ 23 px (≥ 22 px
   exigés), 2.2vw ≈ 42 px pour les quantités (≥ 40), 3.6vw ≈ 69 px pour les tuiles (≥ 64). */
.pdi-tv[b-61drvwrdmk] {
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef1f6;
    --bg-glass: rgba(15, 23, 42, 0.025);
    --bg-glass-hover: rgba(15, 23, 42, 0.05);
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: rgba(15, 23, 42, 0.10);
    --border-subtle: rgba(15, 23, 42, 0.06);

    min-height: 100vh;
    gap: 1.1vw;
    padding: 0 1.6vw 1.6vw;
    background: #f4f6fa;
    color-scheme: light;
}

/* Le bandeau de marque : le bleu et la tapisserie de l'enveloppe (jetons --fond-*). */
.pdi-bandeau[b-61drvwrdmk] {
    display: flex;
    align-items: center;
    gap: 1.6vw;
    margin: 0 -1.6vw;
    padding: 1.1vw 1.6vw;
    background: var(--fond-motif), var(--fond-degrade);
    color: var(--fond-encre);
}
.pdi-logo[b-61drvwrdmk] { height: max(32px, 1.9vw); width: auto; flex: none; }
.pdi-bandeau-titres[b-61drvwrdmk] {
    flex: 1;
    min-width: 0;
    padding-left: 1.6vw;
    border-left: 1px solid var(--fond-trait);
}
.pdi-titre[b-61drvwrdmk] { margin: 0; font-size: max(24px, 1.8vw); font-weight: 700; letter-spacing: -0.02em; color: var(--fond-encre); }
.pdi-sous-titre[b-61drvwrdmk] { margin: 0.2vw 0 0; font-size: max(22px, 1.15vw); color: var(--fond-encre-2); }
.pdi-bandeau-etat[b-61drvwrdmk] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4vw;
}
.pdi-tv .pdi-etat[b-61drvwrdmk] {
    font-size: max(22px, 1.15vw);
    padding: 0.35vw 1vw;
    background: rgba(255, 255, 255, 0.14);
    color: var(--fond-encre);
}
.pdi-tv .pdi-etat-perdu[b-61drvwrdmk] { background: rgba(234, 179, 8, 0.9); color: #1f1300; }
.pdi-tv .pdi-point[b-61drvwrdmk] { width: 0.6vw; height: 0.6vw; min-width: 10px; min-height: 10px; background: #4ade80; }
.pdi-page[b-61drvwrdmk] { font-size: max(22px, 1.1vw); color: var(--fond-encre-3); font-variant-numeric: tabular-nums; }

.pdi-tv .pdi-tuiles[b-61drvwrdmk] { gap: 1vw; }
.pdi-tv .pdi-tuile[b-61drvwrdmk] { padding: 1vw 1.2vw 0.9vw; gap: 0.6vw; }
.pdi-tv .pdi-tuile[b-61drvwrdmk]::before { height: 0.35vw; min-height: 5px; }
.pdi-tv .pdi-tuile:hover[b-61drvwrdmk] { transform: none; box-shadow: var(--shadow-sm); }
/* En télé, les libellés perdent leurs capitales : à 22 px, la casse normale tient sur une
   ligne et se lit mieux de loin. */
.pdi-tv .pdi-tuile-libelle[b-61drvwrdmk] { font-size: max(22px, 1.15vw); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.pdi-tv .pdi-tuile-valeur[b-61drvwrdmk] { font-size: max(64px, 3.6vw); }
.pdi-tv .pdi-jauge[b-61drvwrdmk] { height: 0.4vw; min-height: 6px; }
.pdi-tv .pdi-tuile-part[b-61drvwrdmk] { font-size: max(22px, 1.05vw); }

.pdi-tv .pdi-tableau-cadre[b-61drvwrdmk] { overflow: hidden; }
.pdi-tv .pdi-tableau[b-61drvwrdmk] { font-size: max(22px, 1.3vw); }
.pdi-tv .pdi-tableau thead th[b-61drvwrdmk] { font-size: max(22px, 1.1vw); text-transform: none; letter-spacing: 0; padding: 0.55vw 0.9vw; }
.pdi-tv .pdi-tableau td[b-61drvwrdmk] { padding: 0.3vw 0.9vw; }
.pdi-tv .pdi-ligne td:first-child[b-61drvwrdmk] { box-shadow: inset 0.3vw 0 0 var(--pdi-c); }
.pdi-tv .pdi-tableau tbody tr:hover[b-61drvwrdmk] { background: inherit; }
.pdi-tv .pdi-tableau tbody tr:nth-child(even):hover[b-61drvwrdmk] { background: var(--bg-glass); }
.pdi-tv .pdi-pastille[b-61drvwrdmk] { min-width: 2.2vw; height: 2.2vw; font-size: max(22px, 1.3vw); }
.pdi-tv .pdi-code[b-61drvwrdmk] { font-size: max(22px, 1.15vw); }
.pdi-tv .pdi-date[b-61drvwrdmk], .pdi-tv .pdi-etoile[b-61drvwrdmk] { font-size: max(22px, 1.15vw); }
.pdi-tv .pdi-immediate[b-61drvwrdmk],
.pdi-tv .pdi-retard[b-61drvwrdmk] { font-size: max(18px, 0.9vw); padding: 0.2vw 0.6vw; }
.pdi-tv .pdi-qte[b-61drvwrdmk] { font-size: max(40px, 2.2vw); }
.pdi-tv .pdi-vide[b-61drvwrdmk] { font-size: max(32px, 2vw); padding: 4vw; }

/* En thème sombre, les teintes éclaircies portent mal le blanc : le chiffre passe à l'encre. */
[data-theme="dark"] .pdi:not(.pdi-tv) .pdi-pastille[b-61drvwrdmk] { color: #0b1220; }

@media (max-width: 960px) {
    .pdi:not(.pdi-tv) .pdi-tuiles[b-61drvwrdmk] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Téléphone : le tableau devient une pile de cartes. La priorité à gauche, la quantité à
   droite, la désignation au centre avec le code en dessous — rien ne
   déborde, rien ne défile de côté. */
@media (max-width: 640px) {
    .pdi-tuile[b-61drvwrdmk] { padding: 16px; }
    .pdi-tuile-valeur[b-61drvwrdmk] { font-size: 32px; }

    .pdi:not(.pdi-tv) .pdi-tableau[b-61drvwrdmk],
    .pdi:not(.pdi-tv) .pdi-tableau tbody[b-61drvwrdmk] { display: block; }
    .pdi:not(.pdi-tv) .pdi-tableau thead[b-61drvwrdmk] { display: none; }
    .pdi:not(.pdi-tv) .pdi-tableau tr[b-61drvwrdmk] {
        display: grid;
        grid-template-columns: auto 1fr auto;
        column-gap: 12px;
        row-gap: 4px;
        align-items: center;
        padding: 12px 14px 12px 18px;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: inset 4px 0 0 var(--pdi-c);
    }
    .pdi:not(.pdi-tv) .pdi-tableau tbody tr:last-child[b-61drvwrdmk] { border-bottom: none; }
    .pdi:not(.pdi-tv) .pdi-tableau td[b-61drvwrdmk] { display: block; padding: 0; border: none; width: auto; }
    .pdi:not(.pdi-tv) .pdi-ligne td:first-child[b-61drvwrdmk] { box-shadow: none; grid-column: 1; grid-row: 1 / span 2; }
    .pdi:not(.pdi-tv) .pdi-description[b-61drvwrdmk] { grid-column: 2; grid-row: 1; font-size: 14px; }
    .pdi:not(.pdi-tv) .pdi-code[b-61drvwrdmk] { grid-column: 2; grid-row: 2; font-size: 12px; white-space: normal; }
    .pdi:not(.pdi-tv) .pdi-col-qte[b-61drvwrdmk] { grid-column: 3; grid-row: 1 / span 2; }
    .pdi:not(.pdi-tv) .pdi-col-sortie[b-61drvwrdmk] { grid-column: 2; grid-row: 3; }
    .pdi:not(.pdi-tv) .pdi-sortie-vide[b-61drvwrdmk] { display: none !important; }
    .pdi:not(.pdi-tv) .pdi-tableau-plus-tard tr[b-61drvwrdmk] { box-shadow: none; }
    .pdi:not(.pdi-tv) .pdi-tableau-plus-tard .pdi-plus-tard-date[b-61drvwrdmk] { grid-column: 1 / span 3; grid-row: 1; }
    .pdi:not(.pdi-tv) .pdi-tableau-plus-tard .pdi-description[b-61drvwrdmk] { grid-row: 2; grid-column: 1 / span 2; }
    .pdi:not(.pdi-tv) .pdi-tableau-plus-tard .pdi-code[b-61drvwrdmk] { grid-row: 3; grid-column: auto; }
    .pdi:not(.pdi-tv) .pdi-tableau-plus-tard .pdi-col-qte[b-61drvwrdmk] { grid-column: 3; grid-row: 2 / span 2; }
}
@media (max-width: 560px) {
    .pdi-tuile-valeur[b-61drvwrdmk] { font-size: 32px; }
    .pdi-tableau[b-61drvwrdmk] { font-size: 13px; }
    .pdi-tableau td[b-61drvwrdmk], .pdi-tableau thead th[b-61drvwrdmk] { padding: 10px; }
}
/* /Components/Shared/SelecteurLangue.razor.rz.scp.css */
/* Le <details> est posé dans la rangée « flex » de l'entête, comme l'engrenage et le thème à
   côté ; le menu s'ouvre PAR-DESSUS la page (position absolue), sans rien pousser. */
.selecteur-langue[b-ad7c1brire] {
    position: relative;
}

/* Deux lettres (ou deux caractères), pas une icône : elles doivent peser autant que les traits
   des icônes voisines, sinon le « EN » flotte, plus pâle et plus petit, au bout d'une rangée
   bien alignée. Un <summary> a un marqueur par défaut : on le retire. */
.selecteur-langue-bouton[b-ad7c1brire] {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.selecteur-langue-bouton[b-ad7c1brire]::-webkit-details-marker { display: none; }

/* Le menu : une carte flottante à droite, trois lignes, la courante grisée (c'est celle qu'on
   lit, il n'y a rien à faire). Les jetons de couleur de la feuille, pas ceux de l'entête : le
   menu se lit sur une carte, pas sur le bleu. Il vit pourtant DANS .appbar, qui réécrit
   --text-primary en blanc — d'où la remise des jetons ci-dessous (--feuille-*, app.css) ;
   sans elle, le menu écrivait blanc sur blanc (2026-11-11). Et --bg-elevated plutôt qu'un
   blanc fixe : la carte s'assombrit avec le thème. */
.selecteur-langue-menu[b-ad7c1brire] {
    --text-primary:   var(--feuille-texte);
    --text-secondary: var(--feuille-texte-2);
    --accent:         var(--feuille-accent);
    --border:         var(--feuille-trait);
    --bg-glass-hover: var(--feuille-survol);

    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 50;
    min-width: 160px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.selecteur-langue-choix[b-ad7c1brire] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: var(--radius-sm, 6px);
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
.selecteur-langue-choix:hover:not(:disabled)[b-ad7c1brire] { background: var(--bg-glass-hover); color: var(--accent); }
.selecteur-langue-choix:disabled[b-ad7c1brire] { cursor: default; opacity: .6; font-weight: 600; }
.selecteur-langue-abreviation[b-ad7c1brire] {
    display: inline-block;
    min-width: 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: .75;
}
/* /Components/Shared/SelecteurMultiple.razor.rz.scp.css */
/* Le multi-sélecteur : un bouton-résumé et un panneau flottant de cases à cocher. */

.selecteur-multiple[b-0qd1vh90ao] { position: relative; }

.selecteur-bouton[b-0qd1vh90ao] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font: 500 13px/1.2 inherit;
    cursor: pointer;
    max-width: 260px;
    transition: var(--transition);
}
.selecteur-bouton:hover[b-0qd1vh90ao] { color: var(--text-primary); border-color: var(--text-secondary); }
.selecteur-bouton.est-filtre[b-0qd1vh90ao] { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

.selecteur-titre[b-0qd1vh90ao] { font-weight: 600; }
.selecteur-resume[b-0qd1vh90ao] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.selecteur-panneau[b-0qd1vh90ao] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 30;
    width: 300px;
    max-width: 90vw;
    padding: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.selecteur-actions[b-0qd1vh90ao] {
    display: flex;
    justify-content: space-between;
    margin: 6px 2px;
}

.selecteur-liste[b-0qd1vh90ao] {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}
.selecteur-liste label[b-0qd1vh90ao] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 4px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.selecteur-liste label:hover[b-0qd1vh90ao] { background: var(--bg-glass-hover); }
.selecteur-vide[b-0qd1vh90ao] { padding: 6px 4px; font-size: 13px; color: var(--text-muted); }
/* /Components/Shared/SelecteurRecherche.razor.rz.scp.css */
/* La liste déroulante avec recherche : un bouton à la hauteur d'un .input, un panneau flottant. */

.selecteur-recherche[b-53su1v1op4] { position: relative; width: 100%; }

.selecteur-recherche-bouton[b-53su1v1op4] {
    display: flex; align-items: center; gap: 8px;
    width: 100%; text-align: left; cursor: pointer;
}
.selecteur-recherche-bouton:disabled[b-53su1v1op4] { cursor: not-allowed; opacity: 0.65; }
.est-ouvert .selecteur-recherche-bouton[b-53su1v1op4] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.selecteur-recherche-valeur[b-53su1v1op4] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); }
.selecteur-recherche-vide[b-53su1v1op4] { flex: 1; color: var(--text-muted); }
.selecteur-recherche-chevron[b-53su1v1op4] { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition); }
.est-ouvert .selecteur-recherche-chevron[b-53su1v1op4] { transform: rotate(180deg); }

/* Le fond transparent : un clic hors du panneau le ferme. */
.selecteur-recherche-fond[b-53su1v1op4] { position: fixed; inset: 0; z-index: 29; }

.selecteur-recherche-panneau[b-53su1v1op4] {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 30;
    width: 100%; min-width: 260px; max-width: 90vw;
    padding: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.selecteur-recherche-champ[b-53su1v1op4] { position: relative; margin-bottom: 6px; }
.selecteur-recherche-champ svg[b-53su1v1op4] { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.selecteur-recherche-champ .input[b-53su1v1op4] { padding-left: 32px; }

.selecteur-recherche-liste[b-53su1v1op4] { list-style: none; margin: 0; padding: 0; max-height: 280px; overflow-y: auto; }
.selecteur-recherche-liste li[b-53su1v1op4] {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 8px; border-radius: var(--radius-sm);
    font-size: 13.5px; color: var(--text-primary); cursor: pointer;
}
.selecteur-recherche-liste li.est-actif[b-53su1v1op4] { background: var(--bg-glass-hover); }
.selecteur-recherche-liste li.est-choisi[b-53su1v1op4] { color: var(--accent); font-weight: 600; }
.selecteur-recherche-coche[b-53su1v1op4] { width: 14px; flex-shrink: 0; text-align: center; color: var(--accent); font-weight: 700; }
.selecteur-recherche-libelle[b-53su1v1op4] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selecteur-recherche-detail[b-53su1v1op4] { flex-shrink: 0; font-size: 12px; color: var(--text-muted); font-weight: 400; }
.selecteur-recherche-libre .selecteur-recherche-libelle[b-53su1v1op4] { color: var(--accent); }
.selecteur-recherche-aucun[b-53su1v1op4] { color: var(--text-muted); cursor: default; }
/* /RippaDistriCanada/Composants/Chronologie.razor.rz.scp.css */
.chrono[b-ta246ctr4e] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.chrono-item[b-ta246ctr4e] { display: grid; grid-template-columns: 14px 1fr; gap: 12px; position: relative; }
.chrono-item + .chrono-item[b-ta246ctr4e]::before {
    content: "";
    position: absolute;
    left: 6px;
    top: -14px;
    height: 14px;
    border-left: 2px solid var(--border);
}
.chrono-point[b-ta246ctr4e] {
    width: 14px; height: 14px; margin-top: 3px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid var(--accent);
}
.chrono-item:last-child .chrono-point[b-ta246ctr4e] { background: var(--accent); }
.chrono-corps[b-ta246ctr4e] { min-width: 0; }
.chrono-entete[b-ta246ctr4e] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chrono-quand[b-ta246ctr4e] { font-size: 12px; color: var(--text-muted); }
.chrono-texte[b-ta246ctr4e] { margin: 4px 0 0; font-size: 13.5px; white-space: pre-line; }
/* /RippaDistriCanada/Composants/ConversationGarantie.razor.rz.scp.css */
/* LA CONVERSATION D'UNE RÉCLAMATION — une messagerie posée dans la fiche. Trois couleurs, et
   chacune dit une seule chose : le BLEU de RIPPA (mes messages, ou ceux de RIPPA Canada), la
   SURFACE neutre (ceux d'en face), l'AMBRE des notes internes — qu'un concessionnaire ne verra
   jamais, et que l'équipe doit reconnaître du premier coup d'œil avant de taper. Tout vient des
   jetons de app.css : le thème sombre suit sans une ligne de plus. */

.conv[b-bs0950ucnc] {
    --conv-note: #b45309;
    --conv-note-fond: color-mix(in srgb, #f59e0b 11%, var(--bg-secondary));
    --conv-note-trait: color-mix(in srgb, #f59e0b 45%, transparent);
    --conv-rippa: #152c78;
    --conv-dealer: #0f766e;
    --conv-autre-fond: var(--bg-tertiary);
    --conv-mien-fond: linear-gradient(135deg, #1d4ed8 0%, var(--accent) 100%);

    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 0 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    scroll-margin-top: 90px;
}

/* ── L'en-tête ─────────────────────────────────────────────────────────── */

.conv-entete[b-bs0950ucnc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--accent-wash), var(--bg-secondary);
}

.conv-titre-bloc[b-bs0950ucnc] { display: flex; align-items: center; gap: 12px; min-width: 0; }

.conv-icone[b-bs0950ucnc] {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.conv-titre[b-bs0950ucnc] { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); }
.conv-sous-titre[b-bs0950ucnc] { margin: 2px 0 0; font-size: 12.5px; color: var(--text-secondary); }

.conv-pastille[b-bs0950ucnc] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.conv-pastille-point[b-bs0950ucnc] { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.conv-pastille.est-attente[b-bs0950ucnc] {
    color: #b45309;
    background: color-mix(in srgb, #f59e0b 13%, transparent);
    border-color: color-mix(in srgb, #f59e0b 35%, transparent);
}
.conv-pastille.est-attente .conv-pastille-point[b-bs0950ucnc] { animation: conv-pouls-b-bs0950ucnc 1.8s ease-in-out infinite; }
.conv-pastille.est-ok[b-bs0950ucnc] { color: #15803d; background: color-mix(in srgb, var(--status-success) 12%, transparent); border-color: color-mix(in srgb, var(--status-success) 30%, transparent); }
.conv-pastille.est-info[b-bs0950ucnc] { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

@keyframes conv-pouls-b-bs0950ucnc {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, #f59e0b 55%, transparent); }
    50%      { box-shadow: 0 0 0 5px transparent; }
}

/* ── Le fil ────────────────────────────────────────────────────────────── */

.conv-fil[b-bs0950ucnc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px 22px;
    max-height: min(62vh, 640px);
    min-height: 140px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text-muted) 16%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
        var(--bg-secondary);
}
.conv-fil-vide[b-bs0950ucnc] { justify-content: center; }

.conv-vide[b-bs0950ucnc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 460px;
    margin: 8px auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 13.5px;
}
.conv-vide strong[b-bs0950ucnc] { color: var(--text-primary); font-size: 14.5px; }
.conv-vide p[b-bs0950ucnc] { margin: 0; line-height: 1.5; }
.conv-vide-image[b-bs0950ucnc] { color: var(--accent); opacity: 0.8; margin-bottom: 4px; }

/* Les jalons du fil : la journée, le passage de statut, les nouveaux messages. */
.conv-jour[b-bs0950ucnc] {
    display: flex;
    justify-content: center;
    margin: 14px 0 8px;
}
.conv-jour span[b-bs0950ucnc] {
    padding: 4px 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.conv-statut[b-bs0950ucnc] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 12px;
    color: var(--text-secondary);
}
.conv-statut[b-bs0950ucnc]::before, .conv-statut[b-bs0950ucnc]::after {
    content: "";
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: var(--border);
}
.conv-statut-point[b-bs0950ucnc] { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.conv-statut time[b-bs0950ucnc] { color: var(--text-muted); }

.conv-nouveaux[b-bs0950ucnc] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 6px;
    color: var(--status-danger);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.conv-nouveaux[b-bs0950ucnc]::before, .conv-nouveaux[b-bs0950ucnc]::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--status-danger) 45%, transparent); }

/* ── Un message ────────────────────────────────────────────────────────── */

.bulle-ligne[b-bs0950ucnc] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    max-width: 100%;
    animation: conv-arrivee-b-bs0950ucnc 260ms ease-out both;
}
.bulle-ligne.est-groupe[b-bs0950ucnc] { margin-top: 3px; }
.bulle-ligne.est-mien[b-bs0950ucnc] { flex-direction: row-reverse; }

@keyframes conv-arrivee-b-bs0950ucnc {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.bulle-avatar[b-bs0950ucnc] {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--conv-dealer);
    box-shadow: 0 0 0 2px var(--bg-secondary), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.cote-rippa .bulle-avatar[b-bs0950ucnc] { background: linear-gradient(135deg, var(--conv-rippa), #0a4f8f); }
.est-note .bulle-avatar[b-bs0950ucnc] { background: #d97706; }
.bulle-avatar.est-vide[b-bs0950ucnc] { visibility: hidden; height: 0; }

.bulle-bloc[b-bs0950ucnc] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    max-width: min(560px, 78%);
}
.est-mien .bulle-bloc[b-bs0950ucnc] { align-items: flex-end; }

.bulle-entete[b-bs0950ucnc] { display: flex; align-items: baseline; gap: 8px; padding: 0 4px; font-size: 12.5px; }
.bulle-entete strong[b-bs0950ucnc] { color: var(--text-primary); font-weight: 650; }
.bulle-role[b-bs0950ucnc] {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.cote-rippa .bulle-role[b-bs0950ucnc] { color: var(--accent); }
.est-note .bulle-role[b-bs0950ucnc] { color: var(--conv-note); }

.bulle[b-bs0950ucnc] {
    position: relative;
    padding: 10px 14px;
    border-radius: 16px;
    border-top-left-radius: 5px;
    background: var(--conv-autre-fond);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}
.est-groupe .bulle[b-bs0950ucnc] { border-top-left-radius: 16px; }
.est-mien .bulle[b-bs0950ucnc] {
    border-top-left-radius: 16px;
    border-top-right-radius: 5px;
    background: var(--conv-mien-fond);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px var(--accent-glow);
}
.est-mien.est-groupe .bulle[b-bs0950ucnc] { border-top-right-radius: 16px; }
.est-note .bulle[b-bs0950ucnc],
.est-mien.est-note .bulle[b-bs0950ucnc] {
    background: var(--conv-note-fond);
    color: var(--text-primary);
    border: 1px dashed var(--conv-note-trait);
    box-shadow: none;
}

.bulle-texte[b-bs0950ucnc] {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.bulle-nature[b-bs0950ucnc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 2px 9px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #b45309;
    background: color-mix(in srgb, #f59e0b 16%, transparent);
}
.bulle-nature[b-bs0950ucnc]::before { content: "?"; display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-size: 10px; color: #fff; background: #d97706; }
.bulle-nature.est-reponse[b-bs0950ucnc] { color: #0f766e; background: color-mix(in srgb, #14b8a6 14%, transparent); }
.bulle-nature.est-reponse[b-bs0950ucnc]::before { content: "↩"; background: #0f766e; }
.est-mien:not(.est-note) .bulle-nature[b-bs0950ucnc] { color: #fff; background: rgba(255, 255, 255, 0.18); }
.est-mien:not(.est-note) .bulle-nature[b-bs0950ucnc]::before { color: var(--accent); background: #fff; }

.bulle-pieces[b-bs0950ucnc] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bulle-photo[b-bs0950ucnc] {
    position: relative;
    display: block;
    width: 132px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.bulle-photo img[b-bs0950ucnc] { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.bulle-photo:hover img[b-bs0950ucnc] { transform: scale(1.05); }
.bulle-photo-genre[b-bs0950ucnc] {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(10, 20, 50, 0.72);
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bulle-fichier[b-bs0950ucnc] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    max-width: 280px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
}
.est-mien:not(.est-note) .bulle-fichier[b-bs0950ucnc] { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.bulle-fichier:hover[b-bs0950ucnc] { border-color: var(--accent); }
.bulle-fichier-icone[b-bs0950ucnc] { display: inline-grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.est-mien:not(.est-note) .bulle-fichier-icone[b-bs0950ucnc] { color: #fff; background: rgba(255, 255, 255, 0.2); }
.bulle-fichier-texte[b-bs0950ucnc] { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.bulle-fichier-texte span[b-bs0950ucnc] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.bulle-fichier-texte small[b-bs0950ucnc] { opacity: 0.75; font-size: 11.5px; }

.bulle-pied[b-bs0950ucnc] { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 11px; color: var(--text-muted); }
.bulle-accuse[b-bs0950ucnc] { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; }
.bulle-accuse.est-lu[b-bs0950ucnc] { color: var(--accent); }

/* ── La saisie ─────────────────────────────────────────────────────────── */

.conv-saisie[b-bs0950ucnc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: background var(--transition);
}
.conv-saisie.est-note[b-bs0950ucnc] { background: var(--conv-note-fond); border-top: 1px dashed var(--conv-note-trait); }

.conv-mode[b-bs0950ucnc] {
    display: inline-flex;
    align-self: flex-start;
    gap: 4px;
    padding: 3px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
}
.conv-mode-btn[b-bs0950ucnc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font: 600 12.5px/1 'Inter', system-ui, sans-serif;
    cursor: pointer;
    transition: var(--transition);
}
.conv-mode-btn:hover[b-bs0950ucnc] { color: var(--text-primary); }
.conv-mode-btn.is-on[b-bs0950ucnc] { color: #fff; background: var(--accent); box-shadow: 0 2px 8px var(--accent-glow); }
.conv-mode-btn.est-note.is-on[b-bs0950ucnc] { background: #d97706; box-shadow: 0 2px 8px color-mix(in srgb, #d97706 35%, transparent); }

.conv-demande[b-bs0950ucnc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border-left: 4px solid #d97706;
    background: color-mix(in srgb, #f59e0b 12%, var(--bg-secondary));
    font-size: 13px;
    color: var(--text-secondary);
}
.conv-demande strong[b-bs0950ucnc] { color: var(--text-primary); font-size: 13.5px; }
.conv-demande q[b-bs0950ucnc] { color: var(--text-primary); font-style: italic; quotes: "« " " »"; }

.conv-note-avis[b-bs0950ucnc] { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; font-weight: 600; color: var(--conv-note); }

.conv-rapides[b-bs0950ucnc] { display: flex; flex-wrap: wrap; gap: 6px; }
.conv-rapide[b-bs0950ucnc] {
    padding: 5px 11px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font: 500 12px/1.3 'Inter', system-ui, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.conv-rapide:hover[b-bs0950ucnc] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.conv-texte[b-bs0950ucnc] {
    width: 100%;
    min-height: 64px;
    max-height: 260px;
    resize: none;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: 400 14px/1.5 'Inter', system-ui, sans-serif;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.conv-texte:focus[b-bs0950ucnc] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.est-note .conv-texte[b-bs0950ucnc] { border-style: dashed; border-color: var(--conv-note-trait); }
.est-note .conv-texte:focus[b-bs0950ucnc] { border-color: #d97706; box-shadow: 0 0 0 3px color-mix(in srgb, #f59e0b 22%, transparent); }

.conv-fichiers[b-bs0950ucnc] { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.conv-fichier[b-bs0950ucnc] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 260px;
    padding: 6px 30px 6px 6px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    font-size: 12.5px;
}
.conv-fichier img[b-bs0950ucnc] { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; }
.conv-fichier-icone[b-bs0950ucnc] { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); }
.conv-fichier-nom[b-bs0950ucnc] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--text-primary); }
.conv-fichier small[b-bs0950ucnc] { color: var(--text-muted); white-space: nowrap; }
.conv-fichier-retirer[b-bs0950ucnc] {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}
.conv-fichier-retirer:hover[b-bs0950ucnc] { background: var(--status-danger); color: #fff; }

.conv-genre[b-bs0950ucnc] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-secondary); }
.conv-genre .input[b-bs0950ucnc] { width: auto; min-width: 260px; }

.conv-erreurs[b-bs0950ucnc] { margin: 0; }

.conv-saisie-pied[b-bs0950ucnc] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.conv-joindre[b-bs0950ucnc] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font: 600 12.5px/1 'Inter', system-ui, sans-serif;
    cursor: pointer;
    transition: var(--transition);
}
.conv-joindre:hover[b-bs0950ucnc] { color: var(--accent); border-color: var(--accent); }
.conv-joindre:focus-within[b-bs0950ucnc] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.conv-joindre[b-bs0950ucnc]  input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.conv-joindre.est-desactive[b-bs0950ucnc] { opacity: 0.45; pointer-events: none; }

.conv-aide[b-bs0950ucnc] { flex: 1; min-width: 180px; font-size: 12px; color: var(--text-muted); }
.conv-aide kbd[b-bs0950ucnc] {
    display: inline-block;
    margin-left: 4px;
    padding: 0 5px;
    font: 600 10.5px/16px ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 4px;
}
.conv-compteur[b-bs0950ucnc] { font-size: 11.5px; font-variant-numeric: tabular-nums; color: var(--text-muted); }
.conv-compteur.est-limite[b-bs0950ucnc] { color: var(--status-danger); font-weight: 700; }

.conv-envoyer[b-bs0950ucnc] { display: inline-flex; align-items: center; gap: 8px; padding-inline: 18px; }
.conv-envoyer.est-note[b-bs0950ucnc] { background: #d97706; border-color: #d97706; }
.conv-envoyer.est-note:hover:not(:disabled)[b-bs0950ucnc] { background: #b45309; }

.conv-ferme[b-bs0950ucnc] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-tertiary);
    font-size: 13px;
    color: var(--text-secondary);
}

.conv-sr[b-bs0950ucnc] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
    .conv-entete[b-bs0950ucnc], .conv-fil[b-bs0950ucnc], .conv-saisie[b-bs0950ucnc] { padding-inline: 14px; }
    .bulle-bloc[b-bs0950ucnc] { max-width: 86%; }
    .bulle-avatar[b-bs0950ucnc] { width: 28px; height: 28px; font-size: 11px; }
    .conv-aide[b-bs0950ucnc] { order: 3; flex-basis: 100%; }
    .conv-envoyer[b-bs0950ucnc] { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .bulle-ligne[b-bs0950ucnc], .conv-pastille.est-attente .conv-pastille-point[b-bs0950ucnc] { animation: none; }
    .conv-fil[b-bs0950ucnc] { scroll-behavior: auto; }
}
/* /RippaDistriCanada/Composants/EspaceSousNav.razor.rz.scp.css */
/* Les onglets de l'espace reprennent .tabs / .tab d'app.css (le trait sous l'onglet actif) ;
   ici seulement ce qui change : un lien plutôt qu'un bouton, et un défilement horizontal sur
   téléphone au lieu d'un retour à la ligne qui casserait la lecture. */
.sous-nav[b-jm62iqxojf] {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    margin: 0 0 18px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sous-nav[b-jm62iqxojf]::-webkit-scrollbar { display: none; }

.sous-nav .tab[b-jm62iqxojf] {
    text-decoration: none;
    white-space: nowrap;
    flex: none;
}
/* /RippaDistriCanada/Composants/GarantieOnglets.razor.rz.scp.css */
/* Le sélecteur à deux volets de « Garantie » : une pilule segmentée, posée sous la
   sous-navigation de l'espace. Jetons d'app.css, donc les deux thèmes sont servis. */
.volets[b-psw5a7xmjk] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin: -6px 0 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    max-width: 100%;
}

.volet[b-psw5a7xmjk] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.volet svg[b-psw5a7xmjk] { color: var(--text-muted); flex-shrink: 0; transition: color var(--transition); }
.volet:hover[b-psw5a7xmjk] { color: var(--text-primary); }
.volet:hover svg[b-psw5a7xmjk] { color: var(--text-primary); }
.volet.is-active[b-psw5a7xmjk] { color: var(--accent); background: var(--bg-secondary); box-shadow: var(--shadow-sm); font-weight: 600; }
.volet.is-active svg[b-psw5a7xmjk] { color: var(--accent); }

.volet-compte[b-psw5a7xmjk] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: var(--radius-full);
    background: var(--bg-secondary);
    color: var(--text-muted);
}
.volet.is-active .volet-compte[b-psw5a7xmjk] { background: var(--accent-soft); color: var(--accent); }

@media (max-width: 480px) {
    .volets[b-psw5a7xmjk] { display: flex; }
    .volet[b-psw5a7xmjk] { flex: 1; justify-content: center; padding: 6px 10px; }
}
/* /RippaDistriCanada/Composants/GraphiqueClassement.razor.rz.scp.css */
.gk[b-tr7oz4g78l] { margin: 0; }
.gk-titre[b-tr7oz4g78l] { display: flex; align-items: baseline; gap: 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.gk-sous[b-tr7oz4g78l] { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.gk-vide[b-tr7oz4g78l] { color: var(--text-muted); font-size: 13px; margin: 0; }

.gk-liste[b-tr7oz4g78l] { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.gk-ligne[b-tr7oz4g78l] { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 2.5ch; align-items: center; gap: 12px; font-size: 13px; }
.gk-etiquette[b-tr7oz4g78l] { color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gk-piste[b-tr7oz4g78l] { display: block; height: 12px; }
.gk-barre[b-tr7oz4g78l] {
    display: block; height: 100%; min-width: 2px;
    background: var(--graph-1);
    border-radius: 0 4px 4px 0;   /* carré à la base, arrondi à l'extrémité */
    transition: opacity var(--transition);
}
.gk-ligne:hover .gk-barre[b-tr7oz4g78l] { opacity: 0.8; }
.gk-valeur[b-tr7oz4g78l] { font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; text-align: right; }
/* « Autres » : la queue regroupée, un ton en retrait pour ne pas passer pour un concessionnaire. */
.gk-autres .gk-etiquette[b-tr7oz4g78l] { font-style: italic; color: var(--text-muted); }
.gk-autres .gk-barre[b-tr7oz4g78l] { background: var(--text-muted); opacity: 0.55; }
/* /RippaDistriCanada/Composants/GraphiqueColonnes.razor.rz.scp.css */
.gc[b-pdj7nbemc5] { margin: 0; }
.gc-titre[b-pdj7nbemc5] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.gc-sous[b-pdj7nbemc5] { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.gc-vide[b-pdj7nbemc5] { color: var(--text-muted); font-size: 13px; margin: 0; }

.gc-zone[b-pdj7nbemc5] { position: relative; height: 180px; margin-left: 34px; }
.gc-grille[b-pdj7nbemc5] { position: absolute; inset: 0; }
.gc-ligne[b-pdj7nbemc5] { position: absolute; left: 0; right: 0; border-top: 1px solid var(--border); }
.gc-tick[b-pdj7nbemc5] {
    position: absolute; left: -10px; top: -7px; transform: translateX(-100%);
    font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums;
}

.gc-colonnes[b-pdj7nbemc5] { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: flex; align-items: flex-end; }
.gc-col[b-pdj7nbemc5] { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.gc-barre[b-pdj7nbemc5] {
    display: block; width: 100%; max-width: 24px;
    background: var(--graph-1);
    border-radius: 4px 4px 0 0;   /* arrondi à l'extrémité, carré à la base */
    transition: opacity var(--transition);
    min-height: 0;
}
.gc-col:hover .gc-barre[b-pdj7nbemc5] { opacity: 0.8; }
.gc-valeur[b-pdj7nbemc5] {
    position: absolute; left: 50%; transform: translate(-50%, -4px);
    font-size: 11px; font-weight: 600; color: var(--text-secondary); font-variant-numeric: tabular-nums;
    opacity: 0; transition: opacity var(--transition);
}
.gc-valeur.visible[b-pdj7nbemc5], .gc-col:hover .gc-valeur[b-pdj7nbemc5] { opacity: 1; }

.gc-axe[b-pdj7nbemc5] { margin: 6px 0 0 34px; padding: 0; list-style: none; display: flex; }
.gc-axe li[b-pdj7nbemc5] { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; }
@media (max-width: 560px) {
    .gc-axe li:nth-child(even)[b-pdj7nbemc5] { visibility: hidden; }
}
/* /RippaDistriCanada/Composants/GraphiqueRepartition.razor.rz.scp.css */
.gr[b-ybilqs5u1a] { margin: 0; }
.gr-titre[b-ybilqs5u1a] { display: flex; align-items: baseline; gap: 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.gr-sous[b-ybilqs5u1a] { font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.gr-vide[b-ybilqs5u1a] { color: var(--text-muted); font-size: 13px; margin: 0; }

/* La barre : les segments se touchent par un espace de 2 px du fond de la carte. */
.gr-barre[b-ybilqs5u1a] { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; background: var(--bg-secondary); }
.gr-segment[b-ybilqs5u1a] { display: block; min-width: 3px; transition: opacity var(--transition); }
.gr-segment:hover[b-ybilqs5u1a] { opacity: 0.8; }

/* Trois états, trois teintes du nuancier de l'app — validées deux à deux (ΔE ≥ 19). */
.teinte-1[b-ybilqs5u1a] { background: var(--graph-1); }
.teinte-2[b-ybilqs5u1a] { background: var(--graph-3); }
.teinte-3[b-ybilqs5u1a] { background: var(--graph-4); }

.gr-legende[b-ybilqs5u1a] { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.gr-legende li[b-ybilqs5u1a] { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 10px; }
.gr-pastille[b-ybilqs5u1a] { width: 10px; height: 10px; border-radius: 3px; }
.gr-etiquette[b-ybilqs5u1a] { color: var(--text-secondary); }
.gr-nombre[b-ybilqs5u1a] { font-weight: 600; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.gr-pct[b-ybilqs5u1a] { color: var(--text-muted); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: right; }
/* /RippaDistriCanada/Composants/PolitiqueGarantie.razor.rz.scp.css */
/* La politique de garantie : un liseré de marque à gauche, comme la carte de vérification. */
.politique[b-5k762xqnkh] { border-left: 3px solid var(--accent); }
.pol-entete[b-5k762xqnkh] { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.pol-icone[b-5k762xqnkh] {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent);
}
.pol-titre[b-5k762xqnkh] { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--text-primary); }
.pol-source[b-5k762xqnkh] { margin: 3px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* Les étages : une carte par gamme, la couleur dit la gamme d'un regard. */
.pol-etages[b-5k762xqnkh] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pol-etage[b-5k762xqnkh] {
    border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px;
    background: var(--bg-glass-hover); border-top: 4px solid var(--accent);
}
.pol-pro[b-5k762xqnkh] { border-top-color: #152c78; }
.pol-eco[b-5k762xqnkh] { border-top-color: #22a35a; }
.pol-defaut[b-5k762xqnkh] { border-top-color: var(--text-muted); }
.pol-etage-tete[b-5k762xqnkh] { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.pol-etage-genre[b-5k762xqnkh] { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 600; }
.pol-etage-nom[b-5k762xqnkh] { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); }
.pol-durees[b-5k762xqnkh] { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.pol-durees dt[b-5k762xqnkh] { color: var(--text-muted); }
.pol-durees dd[b-5k762xqnkh] { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.pol-note[b-5k762xqnkh] { margin: 10px 0 0; font-size: 12.5px; color: var(--text-muted); }

.pol-sous-titre[b-5k762xqnkh] { margin: 22px 0 4px; font-size: 14px; font-weight: 650; color: var(--text-primary); }
.pol-aide[b-5k762xqnkh] { margin: 0 0 10px; font-size: 13px; color: var(--text-muted); max-width: 80ch; }

.pol-recherche[b-5k762xqnkh] { margin-bottom: 12px; max-width: 560px; }
.pol-reponse[b-5k762xqnkh] { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13.5px; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.35); }
.pol-reponse-ok[b-5k762xqnkh] { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); font-weight: 600; }

.pol-colonnes[b-5k762xqnkh] { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; align-items: start; }
.pol-colonne[b-5k762xqnkh] { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.pol-colonne-tete[b-5k762xqnkh] { padding: 8px 12px; background: var(--accent-soft); font-size: 13px; font-weight: 600; color: var(--text-primary); }
.pol-mois[b-5k762xqnkh] { font-size: 18px; font-weight: 750; color: var(--accent); margin-right: 2px; }
.pol-pieces[b-5k762xqnkh] { list-style: none; margin: 0; padding: 6px 0; max-height: 340px; overflow-y: auto; }
.pol-pieces li[b-5k762xqnkh] { padding: 3px 12px; font-size: 13px; line-height: 1.45; color: var(--text-secondary); transition: background-color var(--transition); }
.pol-pieces li.is-trouvee[b-5k762xqnkh] { background: rgba(34, 197, 94, 0.16); color: var(--text-primary); font-weight: 650; }

.pol-remarques[b-5k762xqnkh] { margin: 4px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.pol-remarques li + li[b-5k762xqnkh] { margin-top: 4px; }

@media (max-width: 600px) {
    .pol-colonnes[b-5k762xqnkh] { grid-template-columns: 1fr; }
}
/* /RippaDistriCanada/Composants/SelecteurModeles.razor.rz.scp.css */
.selecteur-modeles[b-v902t3vqwl] { display: flex; flex-direction: column; gap: 10px; }
.selecteur-modeles.is-desactive[b-v902t3vqwl] { opacity: 0.6; pointer-events: none; }

/* La portée d'un bulletin : deux grandes cartes, pas un menu déroulant — c'est LA décision. */
.sm-portee[b-v902t3vqwl] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sm-portee-choix[b-v902t3vqwl] {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-family: inherit; text-align: left; cursor: pointer;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.sm-portee-choix:hover[b-v902t3vqwl] { border-color: var(--accent); }
.sm-portee-choix.is-on[b-v902t3vqwl] { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.sm-portee-titre[b-v902t3vqwl] { font-weight: 600; font-size: 13.5px; }
.sm-portee-detail[b-v902t3vqwl] { font-size: 12px; color: var(--text-muted); }

/* Les modèles retenus, en jetons. */
.sm-jetons[b-v902t3vqwl] { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sm-jeton[b-v902t3vqwl] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 4px 3px 10px;
    border-radius: var(--radius-full);
    background: var(--accent); color: #fff;
    font-size: 12.5px; font-weight: 500;
}
.sm-jeton-retirer[b-v902t3vqwl] {
    border: 0; background: rgba(255, 255, 255, 0.2); color: #fff;
    width: 18px; height: 18px; border-radius: 50%;
    font-size: 10px; line-height: 1; cursor: pointer;
}
.sm-jeton-retirer:hover[b-v902t3vqwl] { background: rgba(255, 255, 255, 0.35); }
.sm-effacer[b-v902t3vqwl] { font-size: 12.5px; }

/* La recherche. */
.sm-recherche[b-v902t3vqwl] { position: relative; display: flex; align-items: center; }
.sm-recherche .input[b-v902t3vqwl] { width: 100%; padding-left: 30px; padding-right: 70px; }
.sm-loupe[b-v902t3vqwl] { position: absolute; left: 10px; color: var(--text-muted); font-size: 16px; pointer-events: none; }
.sm-compte[b-v902t3vqwl] { position: absolute; right: 10px; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; pointer-events: none; }

/* Les modèles du registre : des pastilles cliquables, nom et parc. */
.sm-options[b-v902t3vqwl] {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px;
    max-height: 260px; overflow-y: auto; padding: 2px;
}
.sm-option[b-v902t3vqwl] {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-family: inherit; font-size: 13px; text-align: left; cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}
.sm-option:hover[b-v902t3vqwl] { border-color: var(--accent); }
.sm-option.is-on[b-v902t3vqwl] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg-elevated)); }
.sm-coche[b-v902t3vqwl] {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 4px;
    border: 1px solid var(--border); font-size: 11px; color: #fff;
}
.sm-option.is-on .sm-coche[b-v902t3vqwl] { background: var(--accent); border-color: var(--accent); }
.sm-option-nom[b-v902t3vqwl] {
    flex: 1; min-width: 0; line-height: 1.3;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
.sm-option-parc[b-v902t3vqwl] { flex: none; font-size: 11.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.sm-vide[b-v902t3vqwl] { margin: 0; font-size: 13px; }
.sm-libre[b-v902t3vqwl] { align-self: flex-start; }

@media (max-width: 520px) { .sm-portee[b-v902t3vqwl] { grid-template-columns: 1fr; } }
/* /RippaDistriCanada/Layout/DistriLayout.razor.rz.scp.css */
/* La barre du registre national : même langage « pilule » que les onglets de l'entête
   principale (MainLayout.razor.css est isolé, on ne peut pas l'emprunter — on le reprend).
   Couleurs par les jetons d'app.css, donc les deux thèmes sont couverts. */
.distri-marque[b-arny8rje9z] {
    font-weight: 400;
    color: var(--text-secondary);
}

.distri-nav[b-arny8rje9z] {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.distri-lien[b-arny8rje9z] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition), color var(--transition);
}

.distri-lien svg[b-arny8rje9z] { color: var(--text-muted); flex-shrink: 0; transition: color var(--transition); }
.distri-lien:hover[b-arny8rje9z] { color: var(--text-primary); background: var(--bg-glass); }
.distri-lien:hover svg[b-arny8rje9z] { color: var(--text-primary); }
.distri-lien.is-active[b-arny8rje9z] { color: var(--accent); background: var(--accent-soft); }
.distri-lien.is-active svg[b-arny8rje9z] { color: var(--accent); }

@media (max-width: 720px) {
    .distri-lien[b-arny8rje9z] { padding: 6px 10px; font-size: 13px; gap: 6px; }
}

/* TÉLÉPHONE. Logo, menu et cinq boutons ne tiennent pas sur une ligne de 390 px : la barre
   débordait, et tout débordement fait « dézoomer » la page entière. Le menu passe donc sur
   une seconde ligne, pleine largeur, où ses libellés restent lisibles ; la première ligne
   garde le logo et les boutons, serrés. Le nom de la division et celui du compte partent en
   dernier : le logo dit déjà RIPPA, et le nom du compte n'est qu'un rappel. */
@media (max-width: 640px) {
    .appbar[b-arny8rje9z] { flex-wrap: wrap; height: auto; min-height: 56px; padding-top: 8px; padding-bottom: 8px; row-gap: 6px; }
    .distri-nav[b-arny8rje9z] { order: 3; flex: 1 0 100%; gap: 2px; }
    .appbar-trailing[b-arny8rje9z] { gap: 4px; }
}

@media (max-width: 480px) {
    .distri-marque[b-arny8rje9z] { display: none; }
    .appbar-trailing .status-row[b-arny8rje9z] { display: none; }
}

/* Sous 420 px, les trois libellés ne tiennent plus sur leur ligne : l'icône seule tient
   l'onglet, et son title porte encore le nom. */
@media (max-width: 420px) {
    .distri-lien[b-arny8rje9z] { padding: 6px 10px; }
    .distri-lien span[b-arny8rje9z] { display: none; }
}

/* ── Bandeau « vue concessionnaire » ──────────────────────────────────────────
   Même raison que le bandeau de personnification de MainLayout : une bascule d'identité
   qui ne se voit pas est un piège — on croit regarder le réseau, on regarde une seule cour.
   Mêmes teintes, dérivées de --status-warning, donc le thème clair comme le sombre sont
   servis sans palette parallèle.

   Il vit DANS .app-main, sur la feuille claire, et pas entre l'entête et le contenu : la
   règle de la section est qu'aucun texte de contenu ne s'écrit sur le bleu de marque. */
.bandeau-vue[b-arny8rje9z] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding: 10px 16px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--status-warning) 14%, var(--bg-secondary));
    border: 1px solid color-mix(in srgb, var(--status-warning) 40%, transparent);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.bandeau-vue-texte[b-arny8rje9z] { font-weight: 600; }

/* La roue de configuration, dans le coin haut-droit : allumée quand on est sur sa page,
   puisqu'elle n'a plus d'onglet pour porter le repère. */
.btn-icon.is-active[b-arny8rje9z] { color: var(--accent); background: var(--accent-soft); }

/* ── Le concessionnaire où l'on est entré ─────────────────────────────────────
   Son nom en gras, sa ville en dessous (jamais son code, qui vient d'Odoo) : sur chaque écran de l'espace, la réponse
   à « je suis chez qui ? ». Sur le bleu de l'entête, il prend les jetons que .appbar réécrit ;
   en vue concessionnaire (quelqu'un de RIPPA qui démontre), la bordure prend l'ambre du
   bandeau, pour qu'on ne confonde pas la démonstration avec un vrai compte. */
.concessionnaire-courant[b-arny8rje9z] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--text-primary);
    max-width: 22em;
    min-width: 0;
}
.concessionnaire-courant svg[b-arny8rje9z] { color: var(--accent); flex-shrink: 0; }
.concessionnaire-courant.est-vue[b-arny8rje9z] { border-color: var(--status-warning); }
.concessionnaire-courant-texte[b-arny8rje9z] { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.concessionnaire-courant-nom[b-arny8rje9z] {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.concessionnaire-courant-code[b-arny8rje9z] {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .concessionnaire-courant[b-arny8rje9z] { max-width: 12em; padding: 3px 8px; }
    .concessionnaire-courant-code[b-arny8rje9z] { display: none; }
}
/* /RippaDistriCanada/Layout/ImpressionLayout.razor.rz.scp.css */
/* Le fond de page d'un document : clair, centré, indépendant du thème — un certificat
   imprimé en thème sombre serait un rectangle noir et une cartouche d'encre. */
.impression[b-dabr1itkma] {
    min-height: 100vh;
    background: #f1f3f6;
    padding: 24px 16px 48px;
    display: flex;
    justify-content: center;
}

@media print {
    .impression[b-dabr1itkma] {
        min-height: 0;
        background: #fff;
        padding: 0;
        display: block;
    }
}
/* /RippaDistriCanada/Pages/Administration.razor.rz.scp.css */
.mono[b-z6qsr7nisb] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.section-title[b-z6qsr7nisb] { margin-top: 26px; }
.fiche[b-z6qsr7nisb] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: 14px; }
.fiche dt[b-z6qsr7nisb] { color: var(--text-muted); }
.fiche dd[b-z6qsr7nisb] { margin: 0; }
.erreurs[b-z6qsr7nisb] { margin: 0; padding-left: 18px; }
.secret code[b-z6qsr7nisb] { display: inline-block; margin: 6px 0; padding: 6px 10px; font-size: 15px; background: var(--bg-tertiary); border-radius: var(--radius-sm); user-select: all; }
.secret .text-muted[b-z6qsr7nisb] { display: block; font-size: 12px; }

.kpi-attention[b-z6qsr7nisb] { border-color: rgba(245, 158, 11, 0.5); }
a.kpi-sub[b-z6qsr7nisb] { text-decoration: none; }

/* Ce qui manque au canal courriel pour être réel. Une liste, et pas une phrase : on doit
   pouvoir lire les clés à remplir d'un coup d'œil, comme sur /configuration. */
.liste-manques[b-z6qsr7nisb] {
    margin: 4px 0 12px;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.liste-manques code[b-z6qsr7nisb] {
    font-size: 0.86rem;
}
/* /RippaDistriCanada/Pages/AdministrationBottin.razor.rz.scp.css */
.mono[b-6hk8s5ri0c] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.section-title[b-6hk8s5ri0c] { margin-top: 26px; }
.erreurs[b-6hk8s5ri0c] { margin: 0; padding-left: 18px; }
.kpi-attention[b-6hk8s5ri0c] { border-color: rgba(245, 158, 11, 0.5); }

.entete-liste[b-6hk8s5ri0c] { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }

.import-sources[b-6hk8s5ri0c] { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.import-sources textarea[b-6hk8s5ri0c] { font-size: 12.5px; }

.apercu-bilan[b-6hk8s5ri0c] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 16px 0 8px; }
/* Huit colonnes : largeur à la mesure du contenu plutôt qu'en parts égales (sinon la colonne
   « État », qui porte les refus, s'étire en hauteur), et les messages passent à la ligne. */
.apercu[b-6hk8s5ri0c] { font-size: 12.5px; table-layout: auto; min-width: 1040px; }   /* huit colonnes lisibles : le cadre défile */
.apercu td[b-6hk8s5ri0c] { white-space: normal; vertical-align: top; overflow-wrap: anywhere; }
.apercu td:last-child[b-6hk8s5ri0c] { min-width: 220px; }
.apercu th:first-child[b-6hk8s5ri0c], .apercu td:first-child[b-6hk8s5ri0c] { width: 1%; }
.apercu tr.is-refusee td[b-6hk8s5ri0c] { color: var(--text-muted); }
.petit[b-6hk8s5ri0c] { font-size: 11.5px; }

@media (max-width: 760px) {
    .import-sources[b-6hk8s5ri0c] { grid-template-columns: 1fr; }
}

/* L'avertissement « bottin fermé » : l'ambre des alertes, pas le rouge d'une erreur. */
.form-banner.warn[b-6hk8s5ri0c] { background: rgba(245, 158, 11, 0.14); color: #b45309; border: 1px solid rgba(217, 119, 6, 0.6); }

.notes-a-deplacer[b-6hk8s5ri0c] { margin-bottom: 18px; border-left: 3px solid var(--accent); }
.notes-liste[b-6hk8s5ri0c] { margin: 0 0 12px; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
/* /RippaDistriCanada/Pages/AdministrationBottinRippa.razor.rz.scp.css */
/* La fiche RIPPA au bottin : l'identité, puis une carte par contact clé. */

.actions-entete[b-rkfrtdgexq] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.erreurs[b-rkfrtdgexq] { margin: 0; padding-left: 18px; }

.fr-grille[b-rkfrtdgexq] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px 16px; margin-bottom: 14px; }
.fr-large[b-rkfrtdgexq] { grid-column: 1 / -1; }
.fr-grille textarea[b-rkfrtdgexq] { resize: vertical; }

.entete-section[b-rkfrtdgexq] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.fr-contact[b-rkfrtdgexq] { margin-bottom: 12px; }
.fr-contact-tete[b-rkfrtdgexq] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.fr-contact-actions[b-rkfrtdgexq] { display: flex; gap: 10px; align-items: center; }
.fr-contact-actions .btn-link[b-rkfrtdgexq] { font-size: 14px; }
/* /RippaDistriCanada/Pages/AdministrationBulletinEditeur.razor.rz.scp.css */
.erreurs[b-z24htn7y0y] { margin: 0; padding-left: 18px; }
.etiquette[b-z24htn7y0y] { font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.genres[b-z24htn7y0y] { display: flex; flex-wrap: wrap; gap: 6px; }

/* Le formulaire à gauche, l'aperçu à droite, collant pendant qu'on écrit. Sous 1200 px,
   l'aperçu passe sous le formulaire. */
.be-grille[b-z24htn7y0y] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.be-formulaire[b-z24htn7y0y] { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.be-champs[b-z24htn7y0y] { display: flex; flex-direction: column; gap: 16px; }
.be-ligne[b-z24htn7y0y] { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.be-ligne > .form-field[b-z24htn7y0y] { flex: 1 1 220px; min-width: 0; }
/* L'aperçu est borné à la hauteur de la fenêtre et c'est SA zone de document qui défile : un
   enfant de colonne flex rétrécit par défaut, et le document (overflow: hidden) se coupait au
   lieu de déborder — d'où « on ne voit pas la fin d'un texte long ». */
/* Collé sous la barre du haut (56 px, collante elle aussi), pas dessous : l'entête « Aperçu »
   reste lisible. */
.be-apercu[b-z24htn7y0y] { position: sticky; top: 72px; min-width: 0; display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 88px); }
.be-apercu-tete[b-z24htn7y0y] { flex: 0 0 auto; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.be-apercu-defile[b-z24htn7y0y] { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; border-radius: var(--radius-xl); }
.be-apercu-defile:focus-visible[b-z24htn7y0y] { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1200px) {
    .be-grille[b-z24htn7y0y] { grid-template-columns: 1fr; }
    .be-apercu[b-z24htn7y0y] { position: static; max-height: none; }
    .be-apercu-defile[b-z24htn7y0y] { overflow: visible; }
}

/* Les deux langues, en onglets. */
.be-langues[b-z24htn7y0y] { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.be-langue[b-z24htn7y0y] {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; margin-bottom: -1px;
    background: none; border: 0; border-bottom: 2px solid transparent;
    font: inherit; font-weight: 600; font-size: 13.5px; color: var(--text-secondary); cursor: pointer;
}
.be-langue.is-on[b-z24htn7y0y] { color: var(--accent); border-bottom-color: var(--accent); }
.be-pastille[b-z24htn7y0y] {
    padding: 2px 7px; border-radius: var(--radius-full);
    background: rgba(245, 158, 11, 0.16); color: #b45309;
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}

.be-texte[b-z24htn7y0y] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; }
.be-outils[b-z24htn7y0y] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.be-outil[b-z24htn7y0y] {
    padding: 4px 10px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-secondary);
    font: inherit; font-size: 12px; font-weight: 500; color: var(--text-secondary); cursor: pointer;
}
.be-outil:hover[b-z24htn7y0y] { border-color: var(--accent); color: var(--accent); }
.be-outil.est-attention:hover[b-z24htn7y0y] { border-color: #dc2626; color: #dc2626; }

.be-aide[b-z24htn7y0y] { font-size: 13px; color: var(--text-secondary); }
.be-aide summary[b-z24htn7y0y] { cursor: pointer; font-weight: 500; color: var(--accent); }
.be-aide ul[b-z24htn7y0y] { margin: 8px 0 0; padding-left: 18px; line-height: 1.8; }
.be-aide code[b-z24htn7y0y] { padding: 1px 6px; border-radius: 4px; background: var(--bg-tertiary); font-size: 12px; }

.be-vignette[b-z24htn7y0y] { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.be-vignette img[b-z24htn7y0y] { width: 120px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.fichier-choisi-ligne[b-z24htn7y0y] { display: flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 4px; }
.fichier-choisi-nom[b-z24htn7y0y] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.be-actions[b-z24htn7y0y] { justify-content: flex-end; }
/* /RippaDistriCanada/Pages/AdministrationBulletins.razor.rz.scp.css */
.page-etroite[b-wumtoqgr4n] { max-width: 1000px; }
.erreurs[b-wumtoqgr4n] { margin: 0; padding-left: 18px; }
.etiquette[b-wumtoqgr4n] { font-weight: 500; font-size: 12px; color: var(--text-secondary); }

/* L'entête d'une liste : le titre et son compte à gauche, « + Nouveau » à droite. */
.entete-section[b-wumtoqgr4n] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.entete-section .section-title[b-wumtoqgr4n] { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.entete-section + .card[b-wumtoqgr4n] { margin-top: 10px; }
.compte[b-wumtoqgr4n] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 7px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary); color: var(--text-secondary);
    font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.filtres-liste[b-wumtoqgr4n] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.liste-vide[b-wumtoqgr4n] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--text-muted); }
.liste-vide p[b-wumtoqgr4n] { margin: 0; }

/* Le tiroir : une colonne de champs, pas la grille à deux colonnes de la page. */
.champs[b-wumtoqgr4n] { display: flex; flex-direction: column; gap: 16px; }
.genres[b-wumtoqgr4n] { display: flex; flex-wrap: wrap; gap: 6px; }

/* Les listes : le genre en étiquette devant le titre, les modèles qui passent à la ligne
   plutôt que d'élargir le tableau au-delà de la feuille. */
.titre-liste[b-wumtoqgr4n] { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; text-align: left; }
.config-panel[b-wumtoqgr4n]  td.modeles-liste { white-space: normal; min-width: 140px; max-width: 260px; text-align: left; }
.config-panel[b-wumtoqgr4n]  td.titre-cellule { text-align: left; min-width: 220px; max-width: 360px; white-space: normal; }
.config-panel[b-wumtoqgr4n]  td.taille-liste { white-space: nowrap; color: var(--text-muted); font-size: 12.5px; }
.etat-liste[b-wumtoqgr4n] { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }

/* Le fichier choisi : sa photo en aperçu (une seule par bulletin ou document, donc assez
   grande pour juger qu'elle est lisible), son nom, et « Retirer » pour en changer. */
.fichier-choisi[b-wumtoqgr4n] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 4px; }
.fichier-apercu[b-wumtoqgr4n] {
    display: block;
    max-width: 100%; max-height: 220px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}
.fichier-choisi-ligne[b-wumtoqgr4n] { display: flex; align-items: center; gap: 10px; max-width: 100%; }
.fichier-choisi-nom[b-wumtoqgr4n] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

.fichier-apercu-bouton[b-wumtoqgr4n] { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); max-width: 100%; }
.fichier-apercu-bouton:focus-visible[b-wumtoqgr4n] { outline: 2px solid var(--accent); outline-offset: 2px; }

/* L'aperçu agrandi, par-dessus le tiroir (910) : un clic hors de l'image le referme. */
.agrandi[b-wumtoqgr4n] {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.72);
    cursor: zoom-out;
}
.agrandi figure[b-wumtoqgr4n] {
    margin: 0;
    display: flex; flex-direction: column; gap: 8px;
    max-width: min(800px, 100%);
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    cursor: default;
}
.agrandi img[b-wumtoqgr4n] { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
.agrandi figcaption[b-wumtoqgr4n] { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.agrandi figcaption span[b-wumtoqgr4n] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* L'état et ses gestes : l'étiquette, puis les liens qui la font changer. */
.actions-liste[b-wumtoqgr4n] { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; }
.btn-link.est-danger[b-wumtoqgr4n] { color: #b91c1c; }
/* /RippaDistriCanada/Pages/AdministrationGaranties.razor.rz.scp.css */
.page-etroite[b-w66fwh9dog] { max-width: 1000px; }
.erreurs[b-w66fwh9dog] { margin: 0; padding-left: 18px; }

.sous-section[b-w66fwh9dog] { margin: 26px 0 6px; font-size: 15px; font-weight: 650; color: var(--text-primary); scroll-margin-top: 80px; }

/* La conformité au guide : vert quand tout suit, ambre quand ça s'écarte. */
.conformite[b-w66fwh9dog] { scroll-margin-top: 80px; border-left: 3px solid; }
.conformite.is-conforme[b-w66fwh9dog] { border-left-color: #22a35a; }
.conformite.is-ecart[b-w66fwh9dog] { border-left-color: #d97706; }
.conf-tete[b-w66fwh9dog] { display: flex; gap: 12px; align-items: flex-start; }
.conf-icone[b-w66fwh9dog] { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-full); flex-shrink: 0; }
.is-conforme .conf-icone[b-w66fwh9dog] { background: rgba(34, 197, 94, 0.16); color: #15803d; }
.is-ecart .conf-icone[b-w66fwh9dog] { background: rgba(245, 158, 11, 0.2); color: #b45309; }
.conf-titre[b-w66fwh9dog] { margin: 0; font-size: 15px; font-weight: 650; color: var(--text-primary); }
.conf-source[b-w66fwh9dog] { margin: 3px 0 0; font-size: 12.5px; color: var(--text-muted); }
.conf-ecarts[b-w66fwh9dog] { margin: 12px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.55; }

/* Le formulaire : la cible en pastilles, les deux durées en deux encadrés. */
.cibles[b-w66fwh9dog] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.duree[b-w66fwh9dog] { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px 12px; margin: 0; }
.duree legend[b-w66fwh9dog] { font-size: 12px; font-weight: 650; color: var(--text-secondary); padding: 0 4px; }

.filtres[b-w66fwh9dog] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 8px; }

/* Le simulateur : le verdict, puis la pièce. */
.simul-verdict[b-w66fwh9dog] { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); }
.simul-verdict.is-ok[b-w66fwh9dog] { background: rgba(34, 197, 94, 0.07); border-color: rgba(34, 197, 94, 0.35); }
.simul-verdict.is-ko[b-w66fwh9dog] { background: rgba(239, 68, 68, 0.06); border-color: rgba(239, 68, 68, 0.3); }
.simul-ligne[b-w66fwh9dog] { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.simul-message[b-w66fwh9dog] { margin: 8px 0 0; font-weight: 600; }
.simul-detail[b-w66fwh9dog] { margin: 4px 0 0; font-size: 13px; color: var(--text-secondary); }
.simul-piece[b-w66fwh9dog] { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13.5px; }
.simul-piece.is-ok[b-w66fwh9dog] { background: rgba(34, 197, 94, 0.12); }
.simul-piece.is-ko[b-w66fwh9dog] { background: rgba(239, 68, 68, 0.1); }
.simul-alerte[b-w66fwh9dog] { margin: 8px 0 0; font-size: 13px; color: #b45309; font-weight: 600; }

/* Qui suit quelle règle : le modèle se lit à gauche, la règle en pastille de sa couleur. */
.aff-carte[b-w66fwh9dog]  td.cell-gauche { text-align: left; }
.aff-modele[b-w66fwh9dog] { font-weight: 600; color: var(--text-primary); }
.aff-id[b-w66fwh9dog] { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--text-secondary); }
.aff-regle[b-w66fwh9dog] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px 3px 4px; border-radius: var(--radius-full);
    font-size: 12.5px; border: 1px solid var(--border); background: var(--bg-glass-hover);
}
.aff-regle-cible[b-w66fwh9dog] {
    padding: 1px 7px; border-radius: var(--radius-full);
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    background: var(--bg-tertiary); color: var(--text-secondary);
}
.aff-eco[b-w66fwh9dog] { border-color: rgba(34, 163, 90, 0.4); background: rgba(34, 163, 90, 0.08); }
.aff-eco .aff-regle-cible[b-w66fwh9dog] { background: #22a35a; color: #fff; }
.aff-pro[b-w66fwh9dog] { border-color: rgba(21, 44, 120, 0.35); background: rgba(21, 44, 120, 0.07); }
.aff-pro .aff-regle-cible[b-w66fwh9dog] { background: #152c78; color: #fff; }
.aff-propre[b-w66fwh9dog], .aff-categorie[b-w66fwh9dog] { border-color: var(--accent); background: var(--accent-soft); }
.aff-propre .aff-regle-cible[b-w66fwh9dog], .aff-categorie .aff-regle-cible[b-w66fwh9dog] { background: var(--accent); color: #fff; }
.aff-aucune[b-w66fwh9dog] { padding: 3px 10px; border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.12); color: #b45309; font-weight: 600; }
/* /RippaDistriCanada/Pages/AdministrationTutorielEditeur.razor.rz.scp.css */
.erreurs[b-n9ky225i4f] { margin: 0; padding-left: 18px; }
.etiquette[b-n9ky225i4f] { font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.card + .card[b-n9ky225i4f], .card + .entete-section[b-n9ky225i4f], .entete-section + .card[b-n9ky225i4f] { margin-top: 14px; }
.te-champs[b-n9ky225i4f] { display: flex; flex-direction: column; gap: 14px; }
.te-champs .form-subhead[b-n9ky225i4f] { margin: 0; }

/* Français et anglais côte à côte : on traduit en regardant l'original. */
.te-bilingue[b-n9ky225i4f] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.te-entetes[b-n9ky225i4f] { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: -8px; }
.te-bouton[b-n9ky225i4f] { display: grid; grid-template-columns: 1fr 1fr minmax(140px, .8fr); gap: 8px; }
.te-point[b-n9ky225i4f] { display: grid; grid-template-columns: 1fr 1fr 130px auto; gap: 8px; align-items: center; margin-bottom: 6px; }
@media (max-width: 760px) {
    .te-bilingue[b-n9ky225i4f], .te-bouton[b-n9ky225i4f], .te-point[b-n9ky225i4f] { grid-template-columns: 1fr; }
    .te-entetes[b-n9ky225i4f] { display: none; }
}

.te-icones[b-n9ky225i4f] { display: flex; flex-wrap: wrap; gap: 8px; }
.te-icone[b-n9ky225i4f] {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-secondary);
    color: var(--text-secondary); cursor: pointer;
}
.te-icone[b-n9ky225i4f]  svg { width: 24px; height: 24px; }
.te-icone.is-on[b-n9ky225i4f] { background: var(--accent-gradient); border-color: transparent; color: #fff; }

.entete-section[b-n9ky225i4f] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.entete-section .section-title[b-n9ky225i4f] { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.compte[b-n9ky225i4f] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--radius-full);
    background: var(--bg-tertiary); color: var(--text-secondary); font-size: 12px; font-weight: 600;
}
.te-ajouts[b-n9ky225i4f] { display: flex; flex-wrap: wrap; gap: 6px; }

/* Une section : sa couleur dit son genre, comme sur la page du guide. */
.te-section[b-n9ky225i4f] { border-left: 4px solid var(--accent); }
.te-section.te-genre-preparation[b-n9ky225i4f] { border-left-color: #16a34a; }
.te-section.te-genre-suite[b-n9ky225i4f] { border-left-color: #9ca3af; }
.te-section-tete[b-n9ky225i4f] { display: flex; align-items: center; gap: 10px; }
.te-section-num[b-n9ky225i4f] {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px;
}
.te-genre[b-n9ky225i4f] { max-width: 300px; }
.te-section-outils[b-n9ky225i4f] { margin-left: auto; display: inline-flex; gap: 4px; }
.te-ajout-point[b-n9ky225i4f] { align-self: flex-start; }
.te-ordre[b-n9ky225i4f] { max-width: 420px; }
.te-ordre .input[b-n9ky225i4f] { max-width: 120px; }
.te-actions[b-n9ky225i4f] { justify-content: flex-end; margin-top: 14px; }
.mono[b-n9ky225i4f] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* /RippaDistriCanada/Pages/AdministrationTutoriels.razor.rz.scp.css */
.entete-liste[b-nxlzsyfstk] { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.entete-liste .form-hint[b-nxlzsyfstk] { max-width: 640px; }
.entete-section[b-nxlzsyfstk] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.entete-section .section-title[b-nxlzsyfstk] { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.compte[b-nxlzsyfstk] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 7px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary); color: var(--text-secondary);
    font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}

.tu-liste[b-nxlzsyfstk] { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.tu-ligne[b-nxlzsyfstk] {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px;
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.tu-ligne.est-masque[b-nxlzsyfstk] { opacity: .65; }
.tu-icone[b-nxlzsyfstk] {
    flex: 0 0 auto; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 14px;
    background: var(--accent-gradient); color: #fff;
}
.tu-icone[b-nxlzsyfstk]  svg { width: 24px; height: 24px; }
.tu-texte[b-nxlzsyfstk] { flex: 1; min-width: 0; }
.tu-entete[b-nxlzsyfstk] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tu-titre[b-nxlzsyfstk] { margin: 6px 0 2px; font-size: 15.5px; font-weight: 650; }
.tu-meta[b-nxlzsyfstk] { margin: 0; font-size: 12.5px; color: var(--text-muted); }
.tu-actions[b-nxlzsyfstk] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; max-width: 280px; }
.btn-link.est-danger[b-nxlzsyfstk] { color: #b91c1c; }
@media (max-width: 720px) {
    .tu-ligne[b-nxlzsyfstk] { flex-wrap: wrap; }
    .tu-actions[b-nxlzsyfstk] { justify-content: flex-start; max-width: none; }
}
/* /RippaDistriCanada/Pages/BottinImpression.razor.rz.scp.css */
/* Le répertoire : une feuille de papier, à l'écran comme à l'impression. Couleurs en dur, comme
   le certificat — un document remis au réseau ne suit pas le thème de qui l'imprime. Les
   bleus sont ceux du répertoire officiel (marine #152c78, bleu machine #0a4f8f). */

.feuille[b-7fexmsw3ka] { width: 100%; max-width: 860px; }

.barre-outils[b-7fexmsw3ka] { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 14px; }

.repertoire[b-7fexmsw3ka] {
    background: #fff; color: #16191f;
    border: 1px solid #d8dde5; border-radius: 10px;
    box-shadow: 0 2px 10px rgb(20 30 60 / 8%);
    overflow: hidden;
}

/* ── La page de titre ── */
.couverture[b-7fexmsw3ka] { background: #fff; }
.couv-logo[b-7fexmsw3ka] { display: block; height: 44px; width: auto; margin: 32px 40px 20px; }

.couv-bandeau[b-7fexmsw3ka] {
    background: linear-gradient(135deg, #152c78, #0a4f8f);
    color: #fff; padding: 44px 40px 40px;
}

.couv-titre[b-7fexmsw3ka] { margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; }
.couv-sous-titre[b-7fexmsw3ka] { margin: 6px 0 0; font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #cfe0ff; }
.couv-trait[b-7fexmsw3ka] { width: 180px; height: 5px; background: #e0222a; margin: 18px 0 26px; }
.couv-devise[b-7fexmsw3ka] { margin: 0 0 22px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.couv-devise span[b-7fexmsw3ka] { display: block; font-size: 12.5px; font-weight: 400; letter-spacing: .04em; color: #cfe0ff; text-transform: none; }

.couv-raisons[b-7fexmsw3ka] { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.couv-raisons li[b-7fexmsw3ka] { display: flex; align-items: baseline; gap: 10px; }
.couv-raisons li[b-7fexmsw3ka]::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0a84ff; color: #fff; font-weight: 800; flex: none; }
.couv-raisons strong[b-7fexmsw3ka] { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.couv-raisons span[b-7fexmsw3ka] { font-size: 11px; color: #cfe0ff; letter-spacing: .04em; text-transform: uppercase; }

.couv-pied[b-7fexmsw3ka] { margin: 0; padding: 22px 40px; background: #0f2252; color: #cfe0ff; font-size: 11.5px; line-height: 1.6; }
.couv-pied strong[b-7fexmsw3ka] { color: #fff; font-size: 13px; letter-spacing: .1em; }
.couv-date[b-7fexmsw3ka] { color: #9fb8e6; }

.regle[b-7fexmsw3ka] { margin: 0; padding: 28px 40px; font-size: 14px; color: #3d444f; }

/* ── Les provinces ── */
.province[b-7fexmsw3ka] { break-before: page; padding: 0 0 20px; }

.province-entete[b-7fexmsw3ka] {
    background: #152c78; color: #fff; padding: 26px 40px 22px;
    border-left: 10px solid #0a84ff;
}
.province-entete h2[b-7fexmsw3ka] { margin: 0; font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.province-entete p[b-7fexmsw3ka] { margin: 6px 0 0; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #cfe0ff; }
.province-entete p[b-7fexmsw3ka]::after { content: ""; display: block; width: 150px; height: 4px; background: #e0222a; margin-top: 12px; }

/* ── Les fiches ── */
.fiche[b-7fexmsw3ka] {
    margin: 22px 40px 0;
    padding: 18px 22px 16px;
    background: #eef4fc; border-left: 6px solid #0a4f8f; border-radius: 10px;
    break-inside: avoid;
}

.fiche-nom[b-7fexmsw3ka] { margin: 0; font-size: 17px; font-weight: 800; color: #16191f; }
.fiche-prive[b-7fexmsw3ka] { font-size: 12px; font-weight: 500; color: #b45309; margin-left: 6px; }
.fiche-adresse[b-7fexmsw3ka] { margin: 4px 0 0; font-size: 11.5px; color: #5a616d; }
.fiche-note[b-7fexmsw3ka] { margin: 6px 0 0; font-size: 11.5px; font-style: italic; color: #3d444f; }

.contact[b-7fexmsw3ka] { margin-top: 14px; }
.contact-nom[b-7fexmsw3ka] { font-size: 14px; font-weight: 700; color: #0a4f8f; }
.contact-nom span[b-7fexmsw3ka] { font-weight: 400; font-size: 12px; color: #5a616d; margin-left: 4px; }
.contact-nom .contact-principal[b-7fexmsw3ka] { color: #0a4f8f; font-weight: 700; }

.contact-moyens[b-7fexmsw3ka] {
    display: grid; grid-template-columns: 130px 1fr; gap: 4px 14px;
    margin: 6px 0 0; font-size: 12.5px;
}
.contact-moyens dt[b-7fexmsw3ka] { font-size: 10.5px; font-weight: 700; color: #4a5160; padding-top: 2px; }
.contact-moyens dd[b-7fexmsw3ka] { margin: 0; color: #0a4f8f; overflow-wrap: anywhere; }

.pied[b-7fexmsw3ka] {
    margin-top: 26px; padding: 14px 40px;
    background: #0f2252; color: #cfe0ff;
    font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
}

@media (max-width: 640px) {
    .couv-logo[b-7fexmsw3ka], .couv-bandeau[b-7fexmsw3ka], .couv-pied[b-7fexmsw3ka], .province-entete[b-7fexmsw3ka], .regle[b-7fexmsw3ka], .pied[b-7fexmsw3ka] { padding-left: 20px; padding-right: 20px; }
    .fiche[b-7fexmsw3ka] { margin-left: 16px; margin-right: 16px; }
    .contact-moyens[b-7fexmsw3ka] { grid-template-columns: 1fr; gap: 0; }
}

@media print {
    .barre-outils[b-7fexmsw3ka] { display: none; }
    .feuille[b-7fexmsw3ka] { max-width: none; }
    .repertoire[b-7fexmsw3ka] { border: 0; border-radius: 0; box-shadow: none; }
    .couverture[b-7fexmsw3ka] { min-height: 95vh; break-after: page; }
    .couv-bandeau[b-7fexmsw3ka], .couv-pied[b-7fexmsw3ka], .province-entete[b-7fexmsw3ka], .pied[b-7fexmsw3ka], .fiche[b-7fexmsw3ka] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* /RippaDistriCanada/Pages/Certificat.razor.rz.scp.css */
/* Le certificat : une feuille de papier, à l'écran comme à l'impression. Les couleurs sont
   écrites en dur plutôt que prises aux variables de thème — un document remis à un client
   ne doit pas changer d'allure selon que le concessionnaire a choisi le thème sombre. */

.feuille[b-0nfmlt6v8g] {
    width: 100%;
    max-width: 820px;
}

.barre-outils[b-0nfmlt6v8g] {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.certificat[b-0nfmlt6v8g] {
    background: #fff;
    color: #16191f;
    border: 1px solid #d8dde5;
    border-radius: 10px;
    padding: 40px 44px 34px;
    box-shadow: 0 2px 10px rgb(20 30 60 / 8%);
}

.cert-entete[b-0nfmlt6v8g] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 3px solid #152c78;
}

/* Le logo de RIPPA, en marine : le certificat s'imprime sur du papier blanc, et les
   couleurs y sont FIXES — un certificat ne suit pas le thème de qui l'a imprimé. */
.cert-logo[b-0nfmlt6v8g] {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: 6px;
}

.cert-division[b-0nfmlt6v8g] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #006dbc;
}

.cert-numero[b-0nfmlt6v8g] { text-align: right; }

.cert-numero-etiquette[b-0nfmlt6v8g] {
    display: block;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6a7180;
}

.cert-numero-valeur[b-0nfmlt6v8g] {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.cert-titre[b-0nfmlt6v8g] {
    margin: 26px 0 10px;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.cert-chapeau[b-0nfmlt6v8g] {
    margin: 0 0 8px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #3d444f;
}

.cert-exemple[b-0nfmlt6v8g] {
    margin: 14px 0 0;
    padding: 8px 12px;
    border-left: 3px solid #b4780a;
    background: #fdf6e7;
    font-size: 12.5px;
    font-weight: 600;
    color: #7a5206;
}

.cert-bloc[b-0nfmlt6v8g] { margin-top: 24px; }

.cert-soustitre[b-0nfmlt6v8g] {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #006dbc;
}

.cert-champs[b-0nfmlt6v8g] {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 8px 20px;
    margin: 0;
    font-size: 13.5px;
}

.cert-champs dt[b-0nfmlt6v8g] {
    color: #5a616d;
    padding-top: 1px;
}

.cert-champs dd[b-0nfmlt6v8g] {
    margin: 0;
    /* Un nom de client long ne doit pas déborder de la feuille. */
    overflow-wrap: anywhere;
}

.cert-fort[b-0nfmlt6v8g] { font-weight: 700; font-size: 15px; }

.cert-note[b-0nfmlt6v8g] {
    font-size: 11.5px;
    font-weight: 400;
    color: #6a7180;
}

.cert-pied[b-0nfmlt6v8g] {
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px solid #e2e6ec;
    font-size: 11.5px;
    line-height: 1.6;
    color: #5a616d;
}

.cert-pied p[b-0nfmlt6v8g] { margin: 0 0 6px; }
.cert-mention[b-0nfmlt6v8g] { color: #7b828e; }

/* Sous 640 px (le téléphone du concessionnaire), les champs passent en colonne. */
@media (max-width: 640px) {
    .certificat[b-0nfmlt6v8g] { padding: 24px 20px 22px; }
    .cert-champs[b-0nfmlt6v8g] { grid-template-columns: 1fr; gap: 2px 0; }
    .cert-champs dt[b-0nfmlt6v8g] { padding-top: 8px; }
}

/* À l'impression : la feuille EST la page. Pas de bouton, pas de bordure, pas d'ombre —
   et rien qui force le navigateur à imprimer un aplat de couleur inutile. */
@media print {
    .barre-outils[b-0nfmlt6v8g] { display: none; }

    .feuille[b-0nfmlt6v8g] { max-width: none; }

    .certificat[b-0nfmlt6v8g] {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .cert-bloc[b-0nfmlt6v8g] { break-inside: avoid; }
    .cert-pied[b-0nfmlt6v8g] { break-inside: avoid; }
}
/* /RippaDistriCanada/Pages/ConfigurationDistri.razor.rz.scp.css */
.mono[b-8qwnt6svvl] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.section-title[b-8qwnt6svvl] { margin-top: 26px; }
.fiche[b-8qwnt6svvl] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: 14px; }
.fiche dt[b-8qwnt6svvl] { color: var(--text-muted); }
.fiche dd[b-8qwnt6svvl] { margin: 0; }
.erreurs[b-8qwnt6svvl] { margin: 0; padding-left: 18px; }
.kpi-attention[b-8qwnt6svvl] { border-color: rgba(245, 158, 11, 0.5); }

/* L'adresse du portail se copie d'un clic : on la sélectionne en entier, et elle passe à la
   ligne plutôt que de pousser la page hors de l'écran d'un téléphone. */
.adresse[b-8qwnt6svvl] { user-select: all; overflow-wrap: anywhere; }

@media (max-width: 640px) {
    .fiche[b-8qwnt6svvl] { grid-template-columns: 1fr; gap: 2px; }
    .fiche dd[b-8qwnt6svvl] { margin-bottom: 8px; }
}

/* /RippaDistriCanada/Pages/Correction.razor.rz.scp.css */
/* Ce qui ne se corrige pas est affiché en retrait, pas caché : le concessionnaire doit
   voir qu'il regarde la bonne vente avant de reprendre quoi que ce soit. */
.recap.fige[b-csfwci0lei] {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 6px 16px;
    margin: 0;
    padding: 12px 14px;
    background: var(--bg-subtle, rgb(128 128 128 / 6%));
    border-radius: var(--radius-md, 8px);
    font-size: 13.5px;
}

.recap.fige dt[b-csfwci0lei] { color: var(--text-muted, #6a7180); }
.recap.fige dd[b-csfwci0lei] { margin: 0; font-weight: 600; }

@media (max-width: 560px) {
    .recap.fige[b-csfwci0lei] { grid-template-columns: 1fr; gap: 0; }
    .recap.fige dt[b-csfwci0lei] { padding-top: 8px; }
}

.correction-avant[b-csfwci0lei] {
    color: var(--text-muted, #6a7180);
    text-decoration: line-through;
}

.echeance[b-csfwci0lei] {
    font-weight: 600;
}
/* /RippaDistriCanada/Pages/EspaceAccueil.razor.rz.scp.css */
.pastilles[b-cwn862z1ma] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kpi-attention[b-cwn862z1ma] { border-color: rgba(245, 158, 11, 0.5); }
.mono[b-cwn862z1ma] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }

/* ── La bande « à faire » — même forme que celle du tableau de bord (CSS isolé : on la reprend). */
.actions-attendues[b-cwn862z1ma] { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 18px; }
.action-carte[b-cwn862z1ma] {
    display: flex; align-items: center; gap: 16px; padding: 12px 16px;
    background: var(--bg-elevated, #fff); border: 1px solid var(--border, #d8dde5);
    border-left: 3px solid var(--accent, #006dbc); border-radius: var(--radius-md, 8px);
}
.action-carte.is-avertissement[b-cwn862z1ma] { border-left-color: var(--warn, #b4780a); }
.action-texte[b-cwn862z1ma] { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.action-titre[b-cwn862z1ma] { font-weight: 650; font-size: 14px; }
.action-detail[b-cwn862z1ma] { font-size: 12.5px; color: var(--text-muted, #6a7180); line-height: 1.45; }
.action-lien[b-cwn862z1ma] { flex: none; white-space: nowrap; }

/* ── Les quatre gestes : de grandes cibles, une par colonne, deux par rangée sur téléphone. */
.gestes[b-cwn862z1ma] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}
.geste[b-cwn862z1ma] {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px;
    background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md);
    text-decoration: none; color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.geste:hover[b-cwn862z1ma] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.geste-icone[b-cwn862z1ma] {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent);
}
.geste-titre[b-cwn862z1ma] { font-weight: 650; font-size: 15px; }
.geste-detail[b-cwn862z1ma] { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* ── Les trois listes. */
.colonnes[b-cwn862z1ma] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.entete-liste[b-cwn862z1ma] { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.entete-liste .form-subhead[b-cwn862z1ma] { margin-top: 0; }
.liste[b-cwn862z1ma] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.liste-ligne[b-cwn862z1ma] { display: flex; align-items: center; gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
.liste-texte[b-cwn862z1ma] { flex: 1; min-width: 0; color: var(--text-secondary); }

@media (max-width: 620px) {
    .action-carte[b-cwn862z1ma] { flex-direction: column; align-items: stretch; }
    .action-lien[b-cwn862z1ma] { text-align: center; }
    .gestes[b-cwn862z1ma] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .geste[b-cwn862z1ma] { padding: 14px; }
}

/* ── LA VITRINE du concessionnaire (2026-10-30) ─────────────────────────────────
   Les quatre chiffres qui comptent, sur le dégradé de la marque — le seul bloc de l'espace qui
   s'écrit sur du bleu, donc il pose lui-même la couleur de son texte. La tapisserie des
   mini-pelles y est reprise, discrète : c'est l'entrée de SON espace. */
.vitrine[b-cwn862z1ma] {
    display: flex; flex-direction: column; gap: 14px;
    padding: 20px 22px;
    border-radius: var(--radius-lg, 12px);
    background: var(--fond-motif), var(--fond-degrade);
    color: var(--fond-encre, #fff);
    box-shadow: var(--shadow-sm);
}
.vitrine-chiffres[b-cwn862z1ma] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.vitrine-chiffre[b-cwn862z1ma] {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--fond-trait, rgba(255, 255, 255, 0.16));
}
.vitrine-valeur[b-cwn862z1ma] { font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.vitrine-libelle[b-cwn862z1ma] { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.85; }
.vitrine-faits[b-cwn862z1ma] {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: 13px;
}
.vitrine-faits li[b-cwn862z1ma] {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--fond-trait, rgba(255, 255, 255, 0.16));
}
.vitrine-faits li strong[b-cwn862z1ma] { font-variant-numeric: tabular-nums; }
.vitrine-faits li.est-attention[b-cwn862z1ma] { background: rgba(245, 158, 11, 0.28); border-color: rgba(251, 191, 36, 0.6); }

/* ── LE TABLEAU : les ventes à gauche, ce qui est en cours à droite ──────────── */
.tableau-espace[b-cwn862z1ma] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(min(320px, 100%), 1fr);
    gap: 16px;
    align-items: start;
}
.tableau-ventes[b-cwn862z1ma], .tableau-encours[b-cwn862z1ma] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tableau-paire[b-cwn862z1ma] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.tableau-paire .card[b-cwn862z1ma], .tableau-ventes .card[b-cwn862z1ma] { min-width: 0; }

.entete-section[b-cwn862z1ma] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.entete-section .section-title[b-cwn862z1ma] { margin: 6px 0 0; }
.entete-section-liens[b-cwn862z1ma] { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
    .tableau-espace[b-cwn862z1ma] { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .vitrine[b-cwn862z1ma] { padding: 16px; }
    .vitrine-chiffres[b-cwn862z1ma] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vitrine-valeur[b-cwn862z1ma] { font-size: 28px; }
}
/* /RippaDistriCanada/Pages/EspaceAchats.razor.rz.scp.css */
.mono[b-uphjva8wax] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.num[b-uphjva8wax] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.choix[b-uphjva8wax] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.choix label[b-uphjva8wax] { font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.choix select[b-uphjva8wax] { min-width: 260px; max-width: 100%; }

.kpi-attention[b-uphjva8wax] { border-color: rgba(245, 158, 11, 0.55); }

/* Les familles et le top côte à côte ; une colonne sur téléphone. */
.deux-colonnes[b-uphjva8wax] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.bloc-titre[b-uphjva8wax] { margin: 0 0 10px; font-size: 14px; font-weight: 650; }

.card[b-uphjva8wax] { margin-top: 12px; }
.tableau-defilant[b-uphjva8wax] { overflow-x: auto; }
.lien-action[b-uphjva8wax] { white-space: nowrap; font-size: 12.5px; font-weight: 600; }
.source[b-uphjva8wax] { font-size: 12px; margin-top: 14px; }
/* /RippaDistriCanada/Pages/EspaceBottin.razor.rz.scp.css */
/* Le bottin : une carte par concessionnaire — une pastille à ses initiales, la raison sociale,
   l'adresse, puis les personnes à joindre, chacune avec son avatar et ses moyens de contact en
   boutons (bureau, cellulaire, courriel). Les numéros et les courriels sont des liens : cet
   écran se consulte avec un client au bout du fil, souvent sur un téléphone. */

.actions-entete[b-ren2xoq9zi] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.reciprocite[b-ren2xoq9zi] {
    background: var(--accent-wash, var(--bg-secondary));
    border: 1px solid var(--border-subtle, var(--border));
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
}

.reciprocite-carte .empty-state-body[b-ren2xoq9zi] { max-width: 520px; }

.sr-only[b-ren2xoq9zi] {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ── La recherche ─────────────────────────────────────────────────────────── */

.filtres[b-ren2xoq9zi] { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 22px; }

.recherche[b-ren2xoq9zi] { position: relative; flex: 1 1 320px; max-width: 520px; }
.recherche .input[b-ren2xoq9zi] {
    width: 100%; padding-left: 40px; height: 42px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}
.recherche-icone[b-ren2xoq9zi] {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 17px; height: 17px; pointer-events: none;
    fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linecap: round;
}

.compteurs[b-ren2xoq9zi] { display: flex; gap: 8px; flex-wrap: wrap; }
.compteur[b-ren2xoq9zi] {
    padding: 5px 12px; border-radius: var(--radius-full);
    background: var(--bg-secondary); border: 1px solid var(--border-subtle, var(--border));
    font-size: 12.5px; color: var(--text-secondary); white-space: nowrap;
}
.compteur strong[b-ren2xoq9zi] { color: var(--text-primary); font-weight: 700; }

/* ── Les provinces ────────────────────────────────────────────────────────── */

.province[b-ren2xoq9zi] { margin-bottom: 30px; }

.province-titre[b-ren2xoq9zi] {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 14px;
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-secondary);
}
.province-titre[b-ren2xoq9zi]::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.province-compte[b-ren2xoq9zi] {
    min-width: 22px; padding: 1px 8px; border-radius: var(--radius-full);
    background: var(--accent-soft, var(--bg-tertiary)); color: var(--accent);
    font-size: 11.5px; font-weight: 700; letter-spacing: 0; text-align: center;
}

/* ── Les fiches ───────────────────────────────────────────────────────────── */

.fiches[b-ren2xoq9zi] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px; }

.fiche[b-ren2xoq9zi] {
    position: relative;
    padding: 18px 18px 16px;
    background: var(--bg-elevated, var(--bg-primary));
    border: 1px solid var(--border-subtle, var(--border));
    border-radius: var(--radius-xl, 14px);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 10px;
    transition: box-shadow var(--transition, .2s), transform var(--transition, .2s), border-color var(--transition, .2s);
}
.fiche:hover[b-ren2xoq9zi] { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border); }

.fiche.is-moi[b-ren2xoq9zi] { border-color: color-mix(in srgb, var(--status-success, #22c55e) 55%, transparent); }
.fiche.is-privee[b-ren2xoq9zi] { border-style: dashed; border-color: color-mix(in srgb, var(--status-warning, #b45309) 60%, transparent); }

.fiche-entete[b-ren2xoq9zi] { display: flex; align-items: flex-start; gap: 12px; }

.fiche-pastille[b-ren2xoq9zi] {
    flex: none; width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--accent-gradient, var(--accent)); color: #fff;
    font-size: 14px; font-weight: 700; letter-spacing: .03em;
}

.fiche-titre[b-ren2xoq9zi] { flex: 1; min-width: 0; }
.fiche-nom[b-ren2xoq9zi] { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--text-primary); overflow-wrap: anywhere; text-transform: none; letter-spacing: normal; }

.fiche-adresse[b-ren2xoq9zi] { margin: 3px 0 0; display: flex; gap: 5px; align-items: flex-start; font-size: 12.5px; font-weight: 400; color: var(--text-secondary); text-transform: none; letter-spacing: normal; }
.fiche-adresse svg[b-ren2xoq9zi] {
    flex: none; width: 13px; height: 13px; margin-top: 2px;
    fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linejoin: round;
}

.fiche-modifier[b-ren2xoq9zi] {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 10px; border-radius: var(--radius-full);
    border: 1px solid var(--border); background: transparent;
    font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none;
    transition: background var(--transition, .2s), border-color var(--transition, .2s);
}
.fiche-modifier:hover[b-ren2xoq9zi] { background: var(--accent-wash, var(--bg-secondary)); border-color: var(--accent); }
.fiche-modifier svg[b-ren2xoq9zi] { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.fiche-tags[b-ren2xoq9zi] { display: flex; gap: 6px; flex-wrap: wrap; }
.pastille[b-ren2xoq9zi] {
    padding: 2px 10px; border-radius: var(--radius-full);
    font-size: 11.5px; font-weight: 600;
    background: var(--bg-tertiary); color: var(--text-secondary);
}
.pastille-moi[b-ren2xoq9zi] { background: color-mix(in srgb, var(--status-success, #22c55e) 15%, transparent); color: var(--status-success, #15803d); }
.pastille-privee[b-ren2xoq9zi] { background: color-mix(in srgb, var(--status-warning, #b45309) 15%, transparent); color: var(--status-warning, #b45309); }
.pastille-info[b-ren2xoq9zi] { background: var(--accent-soft, var(--bg-tertiary)); color: var(--accent); }

.fiche-note[b-ren2xoq9zi] {
    margin: 0; padding: 8px 12px;
    border-radius: var(--radius-md); background: var(--bg-secondary);
    font-size: 12.5px; color: var(--text-secondary); white-space: pre-line;
}

/* ── Les moyens de contact : des boutons, pas des liens perdus dans le texte ── */

.fiche-general[b-ren2xoq9zi], .contact-moyens[b-ren2xoq9zi] { display: flex; gap: 6px; flex-wrap: wrap; }

.moyen[b-ren2xoq9zi] {
    display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
    padding: 4px 10px; border-radius: var(--radius-full);
    background: var(--bg-secondary); border: 1px solid var(--border-subtle, var(--border));
    font-size: 12.5px; color: var(--text-primary); text-decoration: none; overflow-wrap: anywhere;
    transition: background var(--transition, .2s), border-color var(--transition, .2s), color var(--transition, .2s);
}
.moyen:hover[b-ren2xoq9zi] { background: var(--accent-wash, var(--bg-tertiary)); border-color: var(--accent); color: var(--accent); }
.moyen svg[b-ren2xoq9zi] { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* ── Les personnes ────────────────────────────────────────────────────────── */

.contacts[b-ren2xoq9zi] {
    list-style: none; margin: 0; padding: 12px 0 0;
    border-top: 1px solid var(--border-subtle, var(--border));
    display: flex; flex-direction: column; gap: 14px;
}

.contact[b-ren2xoq9zi] { display: flex; gap: 12px; align-items: flex-start; }

.contact-avatar[b-ren2xoq9zi] {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent-soft, var(--bg-tertiary)); color: var(--accent);
    font-size: 12px; font-weight: 700;
}

.contact-corps[b-ren2xoq9zi] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-nom[b-ren2xoq9zi] { font-weight: 650; font-size: 14px; color: var(--text-primary); }
.contact-nom[b-ren2xoq9zi] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.contact-fonction[b-ren2xoq9zi] { font-size: 12px; color: var(--text-muted); }
.contact-moyens[b-ren2xoq9zi] { margin-top: 6px; }

/* ── La fiche de RIPPA Canada Distribution : fixe, en tête, pleine largeur ──
   Le bleu de marque en liseré et l'emblème blanc sur le dégradé : on la reconnaît d'un coup
   d'œil parmi les concessionnaires, sans écrire sur le fond (la règle de la feuille). */

.rippa-bloc[b-ren2xoq9zi] { margin: 4px 0 22px; }
.fiche-rippa[b-ren2xoq9zi] { border-left: 4px solid var(--accent); }
.fiche-rippa:hover[b-ren2xoq9zi] { transform: none; }
.fiche-pastille-rippa[b-ren2xoq9zi] { flex: none; width: 48px; height: 48px; border-radius: 12px; display: block; }
.fiche-rippa .fiche-nom[b-ren2xoq9zi] { font-size: 18px; }
.rippa-contacts-titre[b-ren2xoq9zi] {
    margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-secondary);
}
.fiche-rippa .contacts[b-ren2xoq9zi] { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px 22px; }
.rippa-vide[b-ren2xoq9zi] { margin: 0; font-size: 13px; }

@media (max-width: 640px) {
    .fiches[b-ren2xoq9zi] { grid-template-columns: 1fr; }
    .fiche-modifier span[b-ren2xoq9zi] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fiche[b-ren2xoq9zi], .fiche:hover[b-ren2xoq9zi] { transition: none; transform: none; }
}
/* /RippaDistriCanada/Pages/EspaceBottinCoordonnees.razor.rz.scp.css */
.identite[b-59x961lb6s] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.identite-nom[b-59x961lb6s] { margin: 0; font-size: 18px; font-weight: 700; }
.identite-adresse[b-59x961lb6s] { margin: 2px 0 0; font-size: 13px; color: var(--text-secondary); }
.identite-etat[b-59x961lb6s] { display: flex; gap: 6px; flex-wrap: wrap; }
.identite-publiee[b-59x961lb6s] { color: var(--text-primary); }

.adresse-publiee[b-59x961lb6s] { margin: 0 0 12px 28px; }

.partage[b-59x961lb6s] { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.partage input[b-59x961lb6s] { margin-top: 4px; }

.entete-section[b-59x961lb6s] { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.entete-section .section-title[b-59x961lb6s] { margin-bottom: 8px; }

/* Les personnes : une carte chacune — avatar, nom, poste, puis les trois moyens en colonnes. */
.contacts[b-59x961lb6s] { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }

.contact[b-59x961lb6s] {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px;
    background: var(--bg-elevated, var(--bg-primary));
    border: 1px solid var(--border-subtle, var(--border));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition, .2s), border-color var(--transition, .2s);
}
.contact:hover[b-59x961lb6s] { box-shadow: var(--shadow-md); }
.contact.is-editee[b-59x961lb6s] { border-color: var(--accent); background: var(--accent-wash, var(--bg-tertiary)); }

.contact-avatar[b-59x961lb6s] {
    flex: none; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent-soft, var(--bg-tertiary)); color: var(--accent);
    font-size: 13px; font-weight: 700;
}

.contact-corps[b-59x961lb6s] { flex: 1; min-width: 0; }
.contact-nom[b-59x961lb6s] { font-weight: 650; font-size: 14.5px; color: var(--text-primary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.contact-nom .tag[b-59x961lb6s] { font-weight: 600; }
.contact-fonction[b-59x961lb6s] { font-size: 12.5px; color: var(--text-muted); }

.contact-moyens[b-59x961lb6s] { margin: 8px 0 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.contact-moyens > div[b-59x961lb6s] { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.contact-moyens dt[b-59x961lb6s] { color: var(--text-muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.contact-moyens dd[b-59x961lb6s] { margin: 0; overflow-wrap: anywhere; }

.contact-actions[b-59x961lb6s] { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }

.btn-link.danger[b-59x961lb6s] { color: #b91c1c; }

.formulaire-contact[b-59x961lb6s] { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.erreurs[b-59x961lb6s] { margin: 0; padding-left: 18px; }

.choix[b-59x961lb6s] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
/* /RippaDistriCanada/Pages/EspaceBulletin.razor.rz.scp.css */
/* Le bulletin se lit pleine page : la feuille entière, comme un document. */
.section-title[b-wg1qfbwkdi] { margin-top: 26px; }
.bl-outils[b-wg1qfbwkdi] { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.bl-apercu[b-wg1qfbwkdi] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.bl-accuse[b-wg1qfbwkdi] { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 32px; border-top: 1px solid var(--border); }
.bl-accuse-texte[b-wg1qfbwkdi] { margin: 0; flex: 1; min-width: 220px; font-size: 14px; color: var(--text-secondary); }
@media (max-width: 640px) { .bl-accuse[b-wg1qfbwkdi] { padding: 16px 18px; } }
@media print { .bl-outils[b-wg1qfbwkdi], .bl-accuse button[b-wg1qfbwkdi] { display: none; } }
/* /RippaDistriCanada/Pages/EspaceCommande.razor.rz.scp.css */
.mono[b-ivifoyfvoy] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.etiquettes[b-ivifoyfvoy] { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.fiche[b-ivifoyfvoy] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; }
.fiche dt[b-ivifoyfvoy] { color: var(--text-muted); }
.fiche dd[b-ivifoyfvoy] { margin: 0; }
.erreurs[b-ivifoyfvoy] { margin: 0; padding-left: 18px; }
.lignes td.num[b-ivifoyfvoy], .lignes th.num[b-ivifoyfvoy] { text-align: right; font-variant-numeric: tabular-nums; }
.lignes tfoot td[b-ivifoyfvoy] { font-weight: 600; }
.reliquat[b-ivifoyfvoy] { color: var(--warn, #b4780a); font-weight: 650; }
.petit[b-ivifoyfvoy] { width: 92px; text-align: right; }
.section-title[b-ivifoyfvoy] { margin-top: 26px; }
/* /RippaDistriCanada/Pages/EspaceCommandeNouvelle.razor.rz.scp.css */
.mono[b-sh2y06ns13] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.genres[b-sh2y06ns13] { display: flex; gap: 8px; margin-bottom: 14px; }
.deux-colonnes[b-sh2y06ns13] { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; }
.erreurs[b-sh2y06ns13] { margin: 0; padding-left: 18px; }

/* Le catalogue : une liste, pas un tableau — sur téléphone, chaque article reste lisible. */
.catalogue[b-sh2y06ns13] { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow-y: auto; }
.article[b-sh2y06ns13] { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.article-texte[b-sh2y06ns13] { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.article-ref[b-sh2y06ns13] { font-size: 12px; color: var(--text-muted); }
.article-libelle[b-sh2y06ns13] { font-size: 13.5px; }
.article-cat[b-sh2y06ns13] { font-size: 11.5px; }

/* Le panier : trois colonnes, la description prend la place. */
.panier[b-sh2y06ns13] { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.panier th[b-sh2y06ns13] { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 4px 6px; }
.panier th.num[b-sh2y06ns13] { text-align: right; }
.panier td[b-sh2y06ns13] { padding: 4px 6px; vertical-align: top; }
.panier td.num[b-sh2y06ns13] { width: 84px; }
.panier .qte[b-sh2y06ns13] { text-align: right; }
.panier .remarque[b-sh2y06ns13] { margin-top: 4px; font-size: 12.5px; }

@media (max-width: 860px) {
    .deux-colonnes[b-sh2y06ns13] { grid-template-columns: 1fr; }
    .catalogue[b-sh2y06ns13] { max-height: 40vh; }
}
/* /RippaDistriCanada/Pages/EspaceCommandes.razor.rz.scp.css */
.mono[b-er1h58oyf1] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.filtres[b-er1h58oyf1] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filtres-actions[b-er1h58oyf1] { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
/* /RippaDistriCanada/Pages/EspaceDocuments.razor.rz.scp.css */
.mono[b-hqw6koid09] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.section-title:first-of-type[b-hqw6koid09] { margin-top: 6px; }
.bulletins[b-hqw6koid09] { display: flex; flex-direction: column; gap: 10px; }
.bulletin[b-hqw6koid09] {
    padding: 14px 16px;
    background: var(--bg-secondary); border: 1px solid var(--border); border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
}
.bulletin.is-rappel[b-hqw6koid09] { border-left-color: #b91c1c; }
.bulletin.is-service[b-hqw6koid09] { border-left-color: #d97706; }
.bulletin.is-retire[b-hqw6koid09] { opacity: 0.6; }
.bulletin-entete[b-hqw6koid09] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.bulletin-titre[b-hqw6koid09] { margin: 6px 0 4px; font-size: 16px; font-weight: 650; }
.bulletin-titre a[b-hqw6koid09] { text-decoration: none; color: var(--text-primary); }
.bulletin-detail[b-hqw6koid09] { margin: 0 0 10px; font-size: 13.5px; color: var(--text-secondary); }
.bulletin-actions[b-hqw6koid09] { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filtres[b-hqw6koid09] { margin-bottom: 12px; max-width: 420px; }
.modele[b-hqw6koid09] { margin-bottom: 12px; }
.modele .form-subhead[b-hqw6koid09] { margin-top: 0; display: flex; align-items: center; gap: 8px; }
.documents[b-hqw6koid09] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.documents li[b-hqw6koid09] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* /RippaDistriCanada/Pages/EspaceGarantie.razor.rz.scp.css */
.mono[b-tv8iga9e0a] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
/* ── Le champ de vérification : le geste le plus fréquent, en tête, grand ─────────
   Un liseré d'accent à gauche et une icône de loupe : la carte se distingue des listes
   qui suivent sans crier. Le champ est grand parce qu'on le remplit debout, à côté de la
   machine, souvent au téléphone. */
.recherche[b-tv8iga9e0a] { border-left: 3px solid var(--accent); }
.recherche-entete[b-tv8iga9e0a] { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.recherche-icone[b-tv8iga9e0a] {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent);
}
.recherche-titre[b-tv8iga9e0a] { display: block; font-weight: 650; font-size: 16px; color: var(--text-primary); letter-spacing: -0.01em; cursor: pointer; }
.recherche-aide[b-tv8iga9e0a] { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); max-width: 70ch; }
.recherche-ligne[b-tv8iga9e0a] { display: flex; gap: 10px; flex-wrap: wrap; }
.recherche-champ[b-tv8iga9e0a] { flex: 1; min-width: 220px; font-size: 18px; padding: 12px 14px; }
.recherche-bouton[b-tv8iga9e0a] { padding-left: 22px; padding-right: 22px; font-size: 15px; }

/* Le verdict : une carte qui se lit en trois secondes — couleur d'abord, texte ensuite. */
.verdict[b-tv8iga9e0a] { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid transparent; }
.verdict-ok[b-tv8iga9e0a] { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
.verdict-attention[b-tv8iga9e0a] { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.4); }
.verdict-erreur[b-tv8iga9e0a] { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.35); }
.verdict-entete[b-tv8iga9e0a] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verdict-icone[b-tv8iga9e0a] { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--radius-full); flex-shrink: 0; }
.verdict-ok .verdict-icone[b-tv8iga9e0a] { background: rgba(34, 197, 94, 0.18); color: #15803d; }
.verdict-attention .verdict-icone[b-tv8iga9e0a] { background: rgba(245, 158, 11, 0.2); color: #b45309; }
.verdict-erreur .verdict-icone[b-tv8iga9e0a] { background: rgba(239, 68, 68, 0.16); color: #b91c1c; }
[data-theme="dark"] .verdict-ok .verdict-icone[b-tv8iga9e0a] { color: #4ade80; }
[data-theme="dark"] .verdict-attention .verdict-icone[b-tv8iga9e0a] { color: #fbbf24; }
[data-theme="dark"] .verdict-erreur .verdict-icone[b-tv8iga9e0a] { color: #f87171; }
.verdict-serie[b-tv8iga9e0a] { font-size: 16px; font-weight: 650; text-decoration: none; }
.verdict-message[b-tv8iga9e0a] { margin: 10px 0 0; font-size: 15px; font-weight: 500; }
.verdict-actions[b-tv8iga9e0a] { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.fiche[b-tv8iga9e0a] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 13.5px; }
.fiche dt[b-tv8iga9e0a] { color: var(--text-muted); }
.fiche dd[b-tv8iga9e0a] { margin: 0; }

/* ── Les réclamations en bref ──────────────────────────────────────────────────
   Une liste de lignes cliquables, pas une table : cinq dossiers au plus, qu'on balaie
   d'un regard — numéro, statut, machine, symptôme, date. La file complète est dans le
   second volet. */
.bref-entete[b-tv8iga9e0a] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bref-titre[b-tv8iga9e0a] { margin: 0; font-weight: 650; font-size: 16px; letter-spacing: -0.01em; color: var(--text-primary); }
.bref-aide[b-tv8iga9e0a] { margin: 3px 0 0; font-size: 13px; color: var(--text-muted); }
.bref-actions[b-tv8iga9e0a] { display: flex; gap: 8px; flex-wrap: wrap; }
.bref-liste[b-tv8iga9e0a] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bref-liste li + li[b-tv8iga9e0a] { border-top: 1px solid var(--border-subtle); }
.bref-ligne[b-tv8iga9e0a] {
    display: grid; grid-template-columns: max-content max-content minmax(160px, 1fr) minmax(0, 2fr) max-content;
    gap: 6px 14px; align-items: center;
    padding: 10px 6px; margin: 0 -6px; border-radius: var(--radius-sm);
    color: var(--text-primary); text-decoration: none;
    transition: background-color var(--transition);
}
.bref-ligne:hover[b-tv8iga9e0a] { background: var(--bg-glass-hover); }
.bref-numero[b-tv8iga9e0a] { font-weight: 650; color: var(--accent); }
.bref-machine[b-tv8iga9e0a] { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 13.5px; min-width: 0; }
.bref-machine strong[b-tv8iga9e0a] { font-weight: 600; }
.bref-symptome[b-tv8iga9e0a] { font-size: 13px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bref-date[b-tv8iga9e0a] { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bref-vide[b-tv8iga9e0a] { display: flex; gap: 14px; align-items: flex-start; padding: 8px 2px 2px; }
.bref-vide-icone[b-tv8iga9e0a] {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--bg-tertiary); color: var(--text-muted);
}
.bref-vide-titre[b-tv8iga9e0a] { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.bref-vide-texte[b-tv8iga9e0a] { margin: 3px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); max-width: 60ch; }

.lien-action[b-tv8iga9e0a] { white-space: nowrap; font-size: 12.5px; font-weight: 600; }

/* Les machines achetées chez RIPPA : l'aide sous le titre, le choix du concessionnaire (RIPPA). */
.section-aide[b-tv8iga9e0a] { margin: -4px 0 10px; font-size: 13px; }
.choix[b-tv8iga9e0a] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.choix label[b-tv8iga9e0a] { font-weight: 500; font-size: 12px; color: var(--text-secondary); }
.choix select[b-tv8iga9e0a] { min-width: 260px; max-width: 100%; }
.source[b-tv8iga9e0a] { font-size: 12px; margin-top: 6px; }

@media (max-width: 860px) {
    .bref-ligne[b-tv8iga9e0a] { grid-template-columns: max-content 1fr; }
    .bref-machine[b-tv8iga9e0a], .bref-symptome[b-tv8iga9e0a], .bref-date[b-tv8iga9e0a] { grid-column: 1 / -1; }
    .bref-symptome[b-tv8iga9e0a] { white-space: normal; }
}

@media (max-width: 620px) {
    .fiche[b-tv8iga9e0a] { grid-template-columns: 1fr; gap: 0; }
    .fiche dt[b-tv8iga9e0a] { padding-top: 8px; }
    .recherche-bouton[b-tv8iga9e0a] { width: 100%; }
}

/* Une pièce en particulier : sous le verdict de la machine, la même couleur de réponse. */
.piece-verif[b-tv8iga9e0a] { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); max-width: 640px; }
.piece-verif label[b-tv8iga9e0a] { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.piece-verdict[b-tv8iga9e0a] { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13.5px; }
.piece-verdict.is-ok[b-tv8iga9e0a] { background: rgba(34, 197, 94, 0.12); }
.piece-verdict.is-ko[b-tv8iga9e0a] { background: rgba(239, 68, 68, 0.1); }
.piece-alerte[b-tv8iga9e0a] { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #b45309; }

/* La politique du fabricant, repliée sous la vérification. */
.politique-repli[b-tv8iga9e0a] { margin: 0 0 18px; }
.politique-repli > summary[b-tv8iga9e0a] {
    display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; cursor: pointer;
    padding: 10px 14px; border-radius: var(--radius-md); border: 1px solid var(--border);
    background: var(--bg-glass-hover); font-weight: 650; font-size: 14px; color: var(--text-primary);
}
.politique-repli > summary .text-muted[b-tv8iga9e0a] { font-weight: 400; font-size: 12.5px; }
.politique-repli[open] > summary[b-tv8iga9e0a] { margin-bottom: 10px; }
/* /RippaDistriCanada/Pages/EspaceNotifications.razor.rz.scp.css */
/* LE CENTRE DE NOTIFICATIONS — une liste, pas un tableau : chaque ligne porte une phrase
   entière, parfois une citation, et un tableau la couperait. */

.notifications[b-ucbc6jx2fa] {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification[b-ucbc6jx2fa] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
}

/* Une non lue se voit AVANT d'être lue : le trait d'accent et un fond très légèrement teinté.
   Lue, la ligne reste — elle ne disparaît pas sous le clic, on doit pouvoir y revenir. */
.notification.est-non-lue[b-ucbc6jx2fa] {
    border-left-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 4%, var(--surface));
}

/* Le rouge est réservé à ce qui est urgent : un rappel de sécurité, un refus. */
.notification.est-importante[b-ucbc6jx2fa] {
    border-left-color: var(--error, #c0392b);
}

.notification-entete[b-ucbc6jx2fa] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.notification-titre[b-ucbc6jx2fa] {
    font-weight: 600;
    color: var(--text-primary);
}

.pastille-non-lue[b-ucbc6jx2fa] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

.notification-texte[b-ucbc6jx2fa] {
    margin: 8px 0 0;
    color: var(--text-secondary);
}

/* La CITATION : le motif écrit par RIPPA, rendu tel quel. Il se distingue du texte de
   l'application, parce que ce n'est pas l'application qui parle. */
.notification-extrait[b-ucbc6jx2fa] {
    margin: 10px 0 0;
    padding: 8px 12px;
    border-left: 2px solid var(--border);
    color: var(--text-primary);
    font-style: italic;
}

.notification-pied[b-ucbc6jx2fa] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.86rem;
}

.notification-actions[b-ucbc6jx2fa] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Sur téléphone, les actions repassent sous la ligne d'information plutôt que de la comprimer
   jusqu'à l'illisible : la déclaration se lit debout, à côté d'une machine. */
@media (max-width: 560px) {
    .notification-actions[b-ucbc6jx2fa] {
        margin-left: 0;
        width: 100%;
        margin-top: 8px;
    }
}
/* /RippaDistriCanada/Pages/EspaceRachat.razor.rz.scp.css */
/* La fiche d'un rachat : deux cartes côte à côte (la transaction, la vente close), puis les
   preuves et l'annulation. Mêmes listes de définitions que la fiche d'une vente. */
.mono[b-k0dlec52ob] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.erreurs[b-k0dlec52ob] { margin: 0; padding-left: 18px; }
.card h2[b-k0dlec52ob] { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--text-primary); }
.card + .card[b-k0dlec52ob], .grille-fiche + .card[b-k0dlec52ob], .form-banner + .grille-fiche[b-k0dlec52ob] { margin-top: 16px; }
.page-subtitle .tag[b-k0dlec52ob] { margin-left: 8px; vertical-align: middle; }

.grille-fiche[b-k0dlec52ob] { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.grille-fiche > .card + .card[b-k0dlec52ob] { margin-top: 0; }
@media (max-width: 760px) { .grille-fiche[b-k0dlec52ob] { grid-template-columns: minmax(0, 1fr); } }

.recap[b-k0dlec52ob] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 10px; font-size: 14px; }
.recap dt[b-k0dlec52ob] { color: var(--text-muted); }
.recap dd[b-k0dlec52ob] { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .recap[b-k0dlec52ob] { grid-template-columns: minmax(0, 1fr); } .recap dd[b-k0dlec52ob] { margin-bottom: 6px; } }

.liste-preuves[b-k0dlec52ob] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.liste-preuves li[b-k0dlec52ob] { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 14px; }
.liste-preuves strong[b-k0dlec52ob] { min-width: 150px; }
.liste-preuves a[b-k0dlec52ob] { color: var(--accent); font-weight: 500; overflow-wrap: anywhere; }
.form-banner .btn-link[b-k0dlec52ob] { margin-left: 8px; }

/* La décision de RIPPA (lot 2) : le contexte national, les empêchements, deux gestes. */
.carte-decision[b-k0dlec52ob] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.actions-decision[b-k0dlec52ob] { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.citation[b-k0dlec52ob] { display: block; margin-top: 4px; font-style: italic; }
/* /RippaDistriCanada/Pages/EspaceReclamation.razor.rz.scp.css */
.mono[b-rqim7d7ljf] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.etiquettes[b-rqim7d7ljf] { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.colonnes[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.fiche[b-rqim7d7ljf] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.fiche dt[b-rqim7d7ljf] { color: var(--text-muted); }
.fiche dd[b-rqim7d7ljf] { margin: 0; }
.fiche dd.texte[b-rqim7d7ljf] { white-space: pre-line; }
.erreurs[b-rqim7d7ljf] { margin: 0; padding-left: 18px; }
.pieces[b-rqim7d7ljf] { margin: 0; padding-left: 18px; font-size: 13.5px; }
.fichiers[b-rqim7d7ljf] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.fichiers li[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vignette[b-rqim7d7ljf] { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.fichiers-ajout[b-rqim7d7ljf] { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.fichiers-ajout li[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; }
.fichiers-ajout-nom[b-rqim7d7ljf] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vignette-bouton[b-rqim7d7ljf] { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); }
.vignette-bouton .vignette[b-rqim7d7ljf] { display: block; }
.vignette-bouton:focus-visible[b-rqim7d7ljf] { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Une photo de la réponse, agrandie par-dessus l'écran : un clic hors de l'image la referme. */
.agrandi[b-rqim7d7ljf] {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.72);
    cursor: zoom-out;
}
.agrandi figure[b-rqim7d7ljf] {
    margin: 0;
    display: flex; flex-direction: column; gap: 8px;
    max-width: min(800px, 100%);
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    cursor: default;
}
.agrandi img[b-rqim7d7ljf] { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
.agrandi figcaption[b-rqim7d7ljf] { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.agrandi figcaption span[b-rqim7d7ljf] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-title[b-rqim7d7ljf] { margin-top: 26px; }

/* La décision, en tête : c'est ce que le concessionnaire vient lire. */
.decision[b-rqim7d7ljf] { padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid; margin-bottom: 16px; font-size: 14px; }
.decision-ok[b-rqim7d7ljf] { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
.decision-refus[b-rqim7d7ljf] { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.35); }
.decision-question[b-rqim7d7ljf] { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.4); }
.decision-attente[b-rqim7d7ljf] { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.35); }

/* ── L'APPROBATION PRÉALABLE DE RIPPA CHINE (2026-11-19) ──────────────────────
   Le suivi en quatre jalons (en attente · demandée · répondue · processus habituel), puis les
   gestes en cartes compactes, comme au poste de décision. La bordure dit l'état. */
.approbation-chine[b-rqim7d7ljf] { border-left: 4px solid #3b82f6; }
.approbation-chine.est-a-relancer[b-rqim7d7ljf] { border-left-color: #d97706; }
.approbation-chine.est-accordee[b-rqim7d7ljf] { border-left-color: #16a34a; }
.approbation-chine.est-refusee[b-rqim7d7ljf] { border-left-color: #dc2626; }
.approbation-entete[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.approbation-etapes[b-rqim7d7ljf] { list-style: none; margin: 14px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 0; font-size: 13.5px; }
.approbation-etapes li[b-rqim7d7ljf] { position: relative; padding: 0 0 12px 24px; display: flex; flex-direction: column; gap: 2px; }
.approbation-etapes li[b-rqim7d7ljf]::before {
    content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
    border: 2px solid var(--border); background: var(--bg-elevated);
}
.approbation-etapes li:not(:last-child)[b-rqim7d7ljf]::after {
    content: ""; position: absolute; left: 9px; top: 17px; bottom: 0; width: 2px; background: var(--border);
}
.approbation-etapes li.est-faite[b-rqim7d7ljf]::before { background: #16a34a; border-color: #16a34a; }
.approbation-etapes li.est-encours[b-rqim7d7ljf]::before { border-color: #3b82f6; background: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.approbation-etapes li.est-encours[b-rqim7d7ljf] { font-weight: 600; }
.approbation-etapes li.est-avenir[b-rqim7d7ljf] { color: var(--text-muted); }
.approbation-reponse[b-rqim7d7ljf] { color: var(--text-secondary); font-style: italic; font-weight: 400; }
.approbation-gestes[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; margin-top: 8px; }
.approbation-champs[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; }

/* ── Le dossier de preuves (§3 de la procédure) ───────────────────────────────
   Une ligne par preuve demandée, dans l'ordre du document, avec ce qui est joint
   dessous. Qui juge lit la liste avant les fichiers : « il manque la plaque » se
   voit en une seconde, ce qu'un tas de vignettes ne dit jamais. */
.preuves[b-rqim7d7ljf] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.preuves > li[b-rqim7d7ljf] { border-left: 2px solid var(--border); padding-left: 10px; }
.preuves > li.est-ok[b-rqim7d7ljf] { border-left-color: var(--accent); }
.preuves > li.est-manquant[b-rqim7d7ljf] { border-left-color: rgba(245, 158, 11, 0.7); }
.preuve-ligne[b-rqim7d7ljf] { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.preuve-marque[b-rqim7d7ljf] { font-weight: 700; color: var(--text-muted); }
.preuves > li.est-ok .preuve-marque[b-rqim7d7ljf] { color: var(--accent); }
.preuves > li.est-manquant .preuve-marque[b-rqim7d7ljf] { color: #b45309; }
.preuve-fichier[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* Le relevé des pièces posées : un tableau, parce qu'on le lit en colonnes
   (référence, quantité, provenance) et qu'on le compare d'un dossier à l'autre. */
.pieces-posees[b-rqim7d7ljf] { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 10px; }
.pieces-posees th[b-rqim7d7ljf] { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 4px 6px; border-bottom: 1px solid var(--border); }
.pieces-posees th.num[b-rqim7d7ljf], .pieces-posees td.num[b-rqim7d7ljf] { text-align: right; }
.pieces-posees td[b-rqim7d7ljf] { padding: 5px 6px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.pieces-posees .qte[b-rqim7d7ljf] { text-align: right; width: 72px; }

[data-theme="dark"] .preuves > li.est-manquant .preuve-marque[b-rqim7d7ljf] { color: #fbbf24; }

@media (max-width: 620px) {
    .fiche[b-rqim7d7ljf] { grid-template-columns: 1fr; gap: 0; }
    .fiche dt[b-rqim7d7ljf] { padding-top: 8px; }
}

/* ── Le parcours : déposée → validée → approuvée → remboursée ─────────────── */
.parcours[b-rqim7d7ljf] { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: etape; }
/* Le concessionnaire n'en lit que deux (déposée → approuvée par RIPPA Canada). */
.parcours.parcours-court[b-rqim7d7ljf] { grid-template-columns: repeat(2, 1fr); }
.parcours-etape[b-rqim7d7ljf] {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 10px 12px; border: 1px solid var(--border); background: var(--bg-elevated);
    counter-increment: etape; font-size: 12.5px; color: var(--text-muted);
}
.parcours-etape + .parcours-etape[b-rqim7d7ljf] { border-left: 0; }
.parcours-etape:first-child[b-rqim7d7ljf] { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.parcours-etape:last-child[b-rqim7d7ljf] { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.parcours-marque[b-rqim7d7ljf] {
    flex: none; width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-tertiary); color: var(--text-secondary); font-size: 11px; font-weight: 700;
}
.parcours-marque:empty[b-rqim7d7ljf]::before { content: counter(etape); }
.parcours-texte[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 1px; }
.parcours-texte strong[b-rqim7d7ljf] { color: var(--text-primary); font-size: 13px; }
.parcours-etape.est-faite .parcours-marque[b-rqim7d7ljf] { background: #16a34a; color: #fff; }
.parcours-etape.est-encours[b-rqim7d7ljf] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-elevated)); }
.parcours-etape.est-encours .parcours-marque[b-rqim7d7ljf] { background: var(--accent); color: #fff; }
.parcours-etape.est-arretee .parcours-marque[b-rqim7d7ljf] { background: #dc2626; color: #fff; }
.parcours-etape.est-abandonnee[b-rqim7d7ljf] { opacity: 0.45; }

/* ── Le traitement RIPPA Canada : prise en charge, grille, note ────────────── */
.traitement-entete[b-rqim7d7ljf] { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 6px; }
.traitement-entete .tag[b-rqim7d7ljf] { margin-left: 8px; }
.grille[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.grille .form-hint[b-rqim7d7ljf] { margin: 0 0 6px; }
.grille-points[b-rqim7d7ljf] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.point[b-rqim7d7ljf] { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: 13.5px; }
.point-marque[b-rqim7d7ljf] {
    flex: none; width: 20px; height: 20px; border-radius: 5px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.point.est-ok .point-marque[b-rqim7d7ljf] { background: rgba(22, 163, 74, 0.15); color: #15803d; }
.point.est-attention .point-marque[b-rqim7d7ljf] { background: rgba(245, 158, 11, 0.18); color: #b45309; }
.point.est-bloquant[b-rqim7d7ljf] { border-color: rgba(220, 38, 38, 0.4); }
.point.est-bloquant .point-marque[b-rqim7d7ljf] { background: #dc2626; color: #fff; }
.point-texte[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.point-texte small[b-rqim7d7ljf] { color: var(--text-muted); font-size: 12px; }
.point-etat[b-rqim7d7ljf] { flex: none; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding-top: 2px; }
.point.est-bloquant .point-etat[b-rqim7d7ljf] { color: #b91c1c; font-weight: 600; }
.point-case[b-rqim7d7ljf] { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; width: 100%; }
.point-case input[b-rqim7d7ljf] { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.point.est-coche[b-rqim7d7ljf] { border-color: rgba(22, 163, 74, 0.35); background: rgba(22, 163, 74, 0.04); }

@media (max-width: 760px) {
    .parcours[b-rqim7d7ljf] { grid-template-columns: 1fr 1fr; }
    .parcours-etape[b-rqim7d7ljf] { border-left: 1px solid var(--border) !important; border-radius: 0 !important; }
}

/* ── La transmission à RIPPA Chine : ce qui part dans leur formulaire, en lecture seule ── */
.formulaire-chine[b-rqim7d7ljf] { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.formulaire-chine th[b-rqim7d7ljf] { width: 230px; text-align: left; vertical-align: top; padding: 9px 10px; color: var(--text-secondary); font-weight: 600; border-bottom: 1px solid var(--border-subtle); }
.formulaire-chine th small[b-rqim7d7ljf] { display: block; font-weight: 400; color: var(--text-muted); font-size: 11.5px; margin-top: 2px; }
.formulaire-chine td[b-rqim7d7ljf] { padding: 9px 10px; vertical-align: top; border-bottom: 1px solid var(--border-subtle); }
.valeur-manquante[b-rqim7d7ljf] { color: var(--danger, #b91c1c); font-weight: 600; }
.description-chine[b-rqim7d7ljf] { margin: 0; width: 100%; resize: vertical; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.5; background: var(--bg-tertiary); border-radius: var(--radius-sm); padding: 10px 12px; }
.photos-chine[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.photo-chine[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); font-size: 12px; color: inherit; text-decoration: none; }
.photo-chine img[b-rqim7d7ljf] { width: 100%; height: 80px; object-fit: cover; border-radius: 4px; background: var(--bg-tertiary); }
.photo-chine small[b-rqim7d7ljf] { color: var(--text-muted); }
.ticket-chine[b-rqim7d7ljf] { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.parcours-etape.est-sautee[b-rqim7d7ljf] { opacity: 0.6; }
.parcours-etape.est-sautee .parcours-marque[b-rqim7d7ljf] { background: var(--bg-tertiary); }

/* ── Le suivi chez RIPPA Chine ─────────────────────────────────────────────── */
.suivi-entete[b-rqim7d7ljf] { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.suivi-entete > div[b-rqim7d7ljf] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.suivi-entete .ticket[b-rqim7d7ljf] { font-size: 15px; font-weight: 700; }
.envoye[b-rqim7d7ljf] { margin: 4px 0 14px; font-size: 13px; }
.envoye summary[b-rqim7d7ljf] { cursor: pointer; color: var(--text-secondary); }
.envoye .fiche[b-rqim7d7ljf] { margin-top: 8px; }
.genres-usine[b-rqim7d7ljf] { display: flex; gap: 6px; flex-wrap: wrap; }

/* Le refus, tel que le concessionnaire le lit : en tête de fiche, les explications en entier. */
.refus[b-rqim7d7ljf] { padding: 16px 18px; border-radius: var(--radius-md); border: 1px solid rgba(239, 68, 68, 0.4);
         background: rgba(239, 68, 68, 0.07); margin-bottom: 16px; }
.refus h2[b-rqim7d7ljf] { font-size: 15px; margin: 0 0 8px; color: var(--status-danger); }
.refus .texte[b-rqim7d7ljf] { white-space: pre-line; margin: 0 0 8px; font-size: 14px; }
.refus .text-muted[b-rqim7d7ljf] { margin: 0; font-size: 13px; }
.raisons-refus[b-rqim7d7ljf] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.raisons-refus .chip-toggle[b-rqim7d7ljf] { font-size: 12px; text-align: left; }

/* ── La pièce défectueuse à retourner : un encadré, pas une case perdue (2026-10-27) ── */
.retour-piece[b-rqim7d7ljf] {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
    border: 2px dashed #d97706; border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.08);
}
.retour-piece input[b-rqim7d7ljf] { width: 20px; height: 20px; flex: none; accent-color: #d97706; }
.retour-piece.est-coche[b-rqim7d7ljf] { border-style: solid; background: rgba(245, 158, 11, 0.18); }
.retour-piece-icone[b-rqim7d7ljf] { color: #d97706; display: inline-flex; flex: none; }
.retour-piece-texte[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 2px; }
.retour-piece-texte strong[b-rqim7d7ljf] { font-size: 15px; color: var(--text-primary); }
.retour-piece-texte small[b-rqim7d7ljf] { color: var(--text-secondary); }
.retour-piece-avis[b-rqim7d7ljf] {
    display: flex; align-items: center; gap: 10px; margin: -6px 0 16px; padding: 10px 14px;
    border: 2px solid #d97706; border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.14); font-size: 14px;
}

/* La politique du fabricant appliquée à la pièce du dossier (personnel de RIPPA). */
.piece-politique[b-rqim7d7ljf] { display: block; margin-top: 6px; padding: 6px 10px; border-radius: var(--radius-sm); font-size: 12.5px; line-height: 1.45; }
.piece-politique.is-ok[b-rqim7d7ljf] { background: rgba(34, 197, 94, 0.12); }
.piece-politique.is-ko[b-rqim7d7ljf] { background: rgba(239, 68, 68, 0.1); }
.piece-politique-alerte[b-rqim7d7ljf] { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #b45309; }

/* ── LE POSTE DE DÉCISION (2026-10-30) ─────────────────────────────────────────
   Trois colonnes sur toute la largeur : choisir · préciser · confirmer. Chaque geste est une
   carte qui dit ce qu'il déclenche ; la troisième colonne prend la couleur du geste choisi,
   pour qu'un refus ne se confonde jamais avec une approbation. */
.poste-colonnes[b-rqim7d7ljf] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}
.poste-etape[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.poste-etape + .poste-etape[b-rqim7d7ljf] { border-left: 1px solid var(--border-subtle, var(--border)); padding-left: 20px; }
.poste-titre[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 650; color: var(--text-primary); }
.poste-num[b-rqim7d7ljf] {
    flex: none; width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}

/* Les cartes de gestes. La couleur suit le sens : vert approuve, rouge refuse, ambre demande. */
.choix-gestes[b-rqim7d7ljf], .choix-autres[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 8px; }
.choix-autres-titre[b-rqim7d7ljf] { margin: 4px 0 0; }
.choix-geste[b-rqim7d7ljf] {
    --geste: var(--accent);
    display: flex; align-items: flex-start; gap: 12px; width: 100%;
    padding: 12px 14px; text-align: left; cursor: pointer; font-family: inherit;
    background: var(--bg-elevated); color: var(--text-primary);
    border: 1px solid var(--border); border-left: 4px solid var(--geste); border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.choix-geste:hover:not(:disabled)[b-rqim7d7ljf] { box-shadow: var(--shadow-sm); border-color: var(--geste); }
.choix-geste.is-on[b-rqim7d7ljf] {
    border-color: var(--geste); border-width: 2px 2px 2px 4px; padding: 11px 13px;
    background: color-mix(in srgb, var(--geste) 9%, var(--bg-elevated));
}
.choix-geste.est-ok[b-rqim7d7ljf] { --geste: #16a34a; }
.choix-geste.est-refus[b-rqim7d7ljf] { --geste: #dc2626; }
.choix-geste.est-question[b-rqim7d7ljf] { --geste: #d97706; }
.choix-geste.est-neutre[b-rqim7d7ljf] { --geste: var(--text-muted); }
.choix-icone[b-rqim7d7ljf] {
    flex: none; width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #fff; background: var(--geste, var(--accent));
}
.choix-texte[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.choix-texte strong[b-rqim7d7ljf] { font-size: 15px; }
.choix-texte small[b-rqim7d7ljf] { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.choix-compact[b-rqim7d7ljf] { padding: 8px 12px; }
.choix-compact.is-on[b-rqim7d7ljf] { padding: 7px 11px; }
.choix-compact .choix-icone[b-rqim7d7ljf] { width: 22px; height: 22px; font-size: 12px; }
.choix-compact .choix-texte strong[b-rqim7d7ljf] { font-size: 13.5px; }

.input-montant[b-rqim7d7ljf] { max-width: 220px; font-variant-numeric: tabular-nums; }

/* La colonne « confirmer » : un récapitulatif teinté du geste, et le bouton en bas. */
.poste-confirmer[b-rqim7d7ljf] {
    --geste: var(--accent);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--geste) 6%, transparent);
    padding: 14px 16px !important;
    border-left: 0 !important;
    outline: 1px solid color-mix(in srgb, var(--geste) 30%, transparent);
}
.poste-confirmer.est-ok[b-rqim7d7ljf] { --geste: #16a34a; }
.poste-confirmer.est-refus[b-rqim7d7ljf] { --geste: #dc2626; }
.poste-confirmer.est-question[b-rqim7d7ljf] { --geste: #d97706; }
.poste-confirmer.est-neutre[b-rqim7d7ljf] { --geste: var(--text-muted); }
.poste-resume[b-rqim7d7ljf] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; font-size: 16px; }
.poste-resume .text-muted[b-rqim7d7ljf] { font-size: 12.5px; }
.poste-suites[b-rqim7d7ljf] { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--text-secondary); }
.poste-suites .est-attention[b-rqim7d7ljf] { color: #b45309; font-weight: 600; }
.poste-bloque[b-rqim7d7ljf] {
    padding: 10px 12px; border-radius: var(--radius-sm); font-size: 13px;
    background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.35); color: var(--text-primary);
}
.poste-bloque ul[b-rqim7d7ljf] { margin: 6px 0 0; padding-left: 18px; }
.poste-bouton[b-rqim7d7ljf] { margin-top: auto; width: 100%; justify-content: center; padding-top: 11px; padding-bottom: 11px; font-size: 15px; }

[data-theme="dark"] .poste-suites .est-attention[b-rqim7d7ljf] { color: #fbbf24; }

@media (max-width: 1200px) {
    .poste-colonnes[b-rqim7d7ljf] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .poste-confirmer[b-rqim7d7ljf] { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .poste-colonnes[b-rqim7d7ljf] { grid-template-columns: 1fr; }
    .poste-etape + .poste-etape[b-rqim7d7ljf] { border-left: 0; padding-left: 0; }
}

.confirmation-chine[b-rqim7d7ljf] { margin: 12px 0; padding: 10px 12px; border-left: 3px solid var(--success, #15803d); background: color-mix(in srgb, var(--success, #15803d) 6%, transparent); border-radius: var(--radius-sm); }
.confirmation-chine .form-subhead[b-rqim7d7ljf] { margin-top: 0; }
.confirmation-chine .form-subhead small[b-rqim7d7ljf] { font-weight: 400; margin-left: 6px; }

/* Le stock RIPPA (2026-11-05) : à la place de la grille de conformité, un encadré qui dit pourquoi. */
.sans-grille[b-rqim7d7ljf] {
    margin: 14px 0; padding: 12px 16px; line-height: 1.5; font-size: 13.5px;
    border: 1px solid rgba(22, 163, 74, 0.4); border-radius: var(--radius-sm); background: rgba(22, 163, 74, 0.06);
}

/* La pastille de l'en-tête qui mène à la conversation — en couleur quand il y a du neuf. */
.aller-conversation[b-rqim7d7ljf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.aller-conversation:hover[b-rqim7d7ljf] { color: var(--accent); border-color: var(--accent); }
.aller-conversation.a-du-neuf[b-rqim7d7ljf] {
    color: #fff;
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 3px 10px var(--accent-glow);
}
.decision:has(.decision-repondre)[b-rqim7d7ljf] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.decision-repondre[b-rqim7d7ljf] { margin-left: auto; text-decoration: none; }

/* ── La pièce de remplacement (2026-11-09) ───────────────────────────────────
   Deux approbations : la pièce est en inventaire chez RIPPA Canada (vert : elle part),
   ou en commande de Chine (bleu : on l'attend). Le choix se fait dans « Préciser » ;
   après l'approbation, une petite carte le corrige (la commande arrive, la date bouge). */
.choix-piece[b-rqim7d7ljf] { display: flex; flex-direction: column; gap: 8px; }
.choix-piece-titre[b-rqim7d7ljf] { font-weight: 600; font-size: 14px; }
.choix-piece-cartes[b-rqim7d7ljf] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.choix-piece-carte[b-rqim7d7ljf] {
    --piece: #16a34a;
    display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; text-align: left;
    cursor: pointer; font-family: inherit; color: var(--text-primary);
    background: var(--bg-elevated); border: 1px solid var(--border); border-left: 4px solid var(--piece);
    border-radius: var(--radius-md);
}
.choix-piece-carte.est-commande[b-rqim7d7ljf] { --piece: #2563eb; }
.choix-piece-carte.is-on[b-rqim7d7ljf] {
    border-color: var(--piece); border-width: 2px 2px 2px 4px; padding: 9px 11px;
    background: color-mix(in srgb, var(--piece) 9%, var(--bg-elevated));
}
.choix-piece-carte small[b-rqim7d7ljf] { color: var(--text-secondary); }
.input-date[b-rqim7d7ljf] { max-width: 200px; }

.decision-piece[b-rqim7d7ljf] { margin: 6px 0 0; font-weight: 600; }
.decision-piece.est-commande[b-rqim7d7ljf] { color: #1d4ed8; }
.decision-piece.est-inventaire[b-rqim7d7ljf] { color: #15803d; }

.piece-remplacement[b-rqim7d7ljf] {
    margin: -6px 0 16px; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated);
}
.piece-remplacement h3[b-rqim7d7ljf] { margin: 0 0 8px; font-size: 14px; }
.piece-remplacement-ligne[b-rqim7d7ljf] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; }
.piece-remplacement-ligne .filtres[b-rqim7d7ljf] { margin: 0; }
.piece-remplacement-date[b-rqim7d7ljf] { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; white-space: nowrap; }
[data-theme="dark"] .decision-piece.est-commande[b-rqim7d7ljf] { color: #93c5fd; }
[data-theme="dark"] .decision-piece.est-inventaire[b-rqim7d7ljf] { color: #86efac; }

/* ── La traduction pour RIPPA Chine (2026-11-10) : langue détectée, Original / English / 中文,
      points à relire, chiffres contrôlés, « J'ai relu ». Jetons du thème seulement. */
.trad[b-rqim7d7ljf] { margin-bottom: 12px; }
.trad-tete[b-rqim7d7ljf] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.trad-pastille[b-rqim7d7ljf] { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-full); font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }
.trad-pastille.ok[b-rqim7d7ljf] { color: #15803d; background: rgba(34, 197, 94, 0.14); }
.trad-pastille.warn[b-rqim7d7ljf] { color: #b45309; background: rgba(245, 158, 11, 0.16); font-weight: 500; }
[data-theme="dark"] .trad-pastille.ok[b-rqim7d7ljf] { color: #4ade80; }
[data-theme="dark"] .trad-pastille.warn[b-rqim7d7ljf] { color: #fbbf24; }
.trad-refaire[b-rqim7d7ljf] { margin-left: auto; padding: 4px 12px; font-size: 12.5px; }
.trad-onglets[b-rqim7d7ljf] { display: flex; gap: 4px; border-bottom: 1px solid var(--border); }
.trad-onglet[b-rqim7d7ljf] { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font: inherit; font-size: 13px; color: var(--text-secondary); background: none; border: 1px solid transparent; border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; cursor: pointer; }
.trad-onglet:hover[b-rqim7d7ljf] { color: var(--text-primary); }
.trad-onglet.actif[b-rqim7d7ljf] { color: var(--text-primary); font-weight: 600; background: var(--bg-secondary); border-color: var(--border); margin-bottom: -1px; }
.trad-onglet small[b-rqim7d7ljf] { font-weight: 400; color: var(--text-muted); }
.trad-onglet .pill[b-rqim7d7ljf] { font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; color: #fff; background: var(--accent); }
.trad-onglet .pill.gris[b-rqim7d7ljf] { color: var(--text-secondary); background: var(--bg-tertiary); }
.trad-volet[b-rqim7d7ljf] { padding: 12px 14px; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--bg-secondary); }
.trad-grille[b-rqim7d7ljf] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .trad-grille[b-rqim7d7ljf] { grid-template-columns: 1fr; } }
.trad-bloc h4[b-rqim7d7ljf], .trad-points h4[b-rqim7d7ljf] { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.trad-bloc p[b-rqim7d7ljf] { margin: 0 0 10px; line-height: 1.45; white-space: pre-line; }
.trad-champ[b-rqim7d7ljf] { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.trad-champ textarea[b-rqim7d7ljf] { display: block; width: 100%; margin-top: 3px; resize: vertical; line-height: 1.45; }
.trad-case[b-rqim7d7ljf], .trad-relue[b-rqim7d7ljf] { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; }
.trad-relue[b-rqim7d7ljf] { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--accent-soft); font-weight: 600; }
.trad-relue input[b-rqim7d7ljf], .trad-case input[b-rqim7d7ljf] { margin-top: 3px; }
.trad-points[b-rqim7d7ljf] { margin-top: 14px; }
.trad-points ul[b-rqim7d7ljf] { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trad-points li[b-rqim7d7ljf] { padding: 8px 10px; border-radius: var(--radius-sm); background: var(--bg-tertiary); border-left: 3px solid var(--status-warning); line-height: 1.45; }
.trad-points li.grave[b-rqim7d7ljf] { border-left-color: var(--status-danger); }
.trad-points li > div:first-child[b-rqim7d7ljf] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.trad-points li > div + div[b-rqim7d7ljf] { margin-top: 4px; }
.trad-points q[b-rqim7d7ljf] { font-style: italic; }
.trad-suggestion[b-rqim7d7ljf] { color: var(--text-primary); }
.trad-ecarts[b-rqim7d7ljf] { margin: 12px 0 0; }
.trad-note[b-rqim7d7ljf] { margin: 12px 0 0; font-size: 12px; color: var(--text-muted); }
.trad-envoye[b-rqim7d7ljf] { display: block; margin: 4px 0 4px; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

/* ── Revenir à l'étape précédente (2026-11-19) : discret sous le parcours, la carte s'ouvre au clic ── */
.retour-arriere[b-rqim7d7ljf] { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
.retour-arriere-carte[b-rqim7d7ljf] { margin-bottom: 16px; border-color: var(--accent); }
.retour-titre[b-rqim7d7ljf] { font-size: 15px; margin: 0 0 6px; }
.retour-consequence[b-rqim7d7ljf] { margin: 0 0 12px; font-size: 13.5px; }
/* /RippaDistriCanada/Pages/EspaceReclamationNouvelle.razor.rz.scp.css */
.mono[b-514qbz4bk8] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.erreurs[b-514qbz4bk8], .avertissements[b-514qbz4bk8] { margin: 0; padding-left: 18px; }
.avertissements[b-514qbz4bk8] { color: var(--warn, #b4780a); font-size: 13.5px; margin-bottom: 12px; }
.verdict[b-514qbz4bk8] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; padding: 8px 10px; border-radius: var(--radius-sm); margin-top: 6px; }
.verdict-ok[b-514qbz4bk8] { background: var(--accent-soft); color: var(--accent); }
.verdict-attention[b-514qbz4bk8] { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.verdict-erreur[b-514qbz4bk8] { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
[data-theme="dark"] .verdict-attention[b-514qbz4bk8] { color: #fbbf24; }
[data-theme="dark"] .verdict-erreur[b-514qbz4bk8] { color: #f87171; }

/* ── La disposition : le formulaire à gauche, le dossier à droite ────────────
   Toute la largeur de la feuille. Le panneau « Votre dossier » est collant : l'avancement et
   le bouton d'envoi restent sous les yeux pendant qu'on remplit. Sous 1100 px, il passe sous
   le formulaire — sur une tablette, une colonne de 320 px écraserait les champs. */
.rn-disposition[b-514qbz4bk8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
}
.rn-formulaire[b-514qbz4bk8] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (max-width: 1100px) {
    .rn-disposition[b-514qbz4bk8] { grid-template-columns: minmax(0, 1fr); }
    .rn-suivi[b-514qbz4bk8] { position: static; }
}

/* ── Une étape = une carte numérotée ───────────────────────────────────────── */
.rn-etape[b-514qbz4bk8] { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.2s; }
.rn-etape.est-fait[b-514qbz4bk8] { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.rn-etape-tete[b-514qbz4bk8] { display: flex; gap: 14px; align-items: flex-start; }
.rn-etape-tete h2[b-514qbz4bk8] { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--text-primary); }
.rn-etape-tete p[b-514qbz4bk8] { font-size: 13px; color: var(--text-muted); margin: 3px 0 0; }
.rn-num[b-514qbz4bk8] {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-weight: 700; font-size: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background 0.2s, color 0.2s;
}
.rn-etape.est-fait .rn-num[b-514qbz4bk8] { background: var(--accent); color: #fff; }

/* Les champs se rangent seuls : autant de colonnes que la largeur en admet. */
.rn-grille[b-514qbz4bk8] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 18px; }

/* Étape 1 : le numéro de série à gauche, ce qu'Odoo en dit à droite. */
.rn-machine[b-514qbz4bk8] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rn-serie[b-514qbz4bk8] { font-size: 17px; padding-top: 11px; padding-bottom: 11px; }
.rn-machine-vide[b-514qbz4bk8] {
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    align-self: stretch;
    margin-top: 22px;
    display: grid; place-items: center;
}
@media (max-width: 760px) { .rn-machine[b-514qbz4bk8] { grid-template-columns: minmax(0, 1fr); } .rn-machine-vide[b-514qbz4bk8] { display: none; } }

.rn-bonne-volonte[b-514qbz4bk8] { margin-top: -4px; }

/* Étape 2 : la description prend la place qu'il lui faut, la pièce à côté. */
.rn-description[b-514qbz4bk8] { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rn-description textarea[b-514qbz4bk8] { resize: vertical; min-height: 120px; }
.rn-compteur[b-514qbz4bk8] { text-align: right; }
.rn-piece[b-514qbz4bk8] { margin: 8px 0 0; padding: 7px 10px; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.45; }
.rn-piece.is-ok[b-514qbz4bk8] { background: rgba(34, 197, 94, 0.12); }
.rn-piece.is-ko[b-514qbz4bk8] { background: rgba(239, 68, 68, 0.1); }
.rn-piece-alerte[b-514qbz4bk8] { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #b45309; }
@media (max-width: 760px) { .rn-description[b-514qbz4bk8] { grid-template-columns: minmax(0, 1fr); } }

/* Ce que le registre sait déjà et qu'on ne ressaisit pas : la date de vente. */
.champ-lu[b-514qbz4bk8] { padding: 8px 0; font-size: 14px; color: var(--text-secondary); }

/* Ce qu'Odoo dit du numéro de série — indicatif au dépôt, gelé dans la réclamation. */
.verif-odoo[b-514qbz4bk8] { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; margin-top: 22px; }
.verif-odoo.est-ok[b-514qbz4bk8] { border-color: rgba(22, 163, 74, 0.4); background: rgba(22, 163, 74, 0.05); }
.verif-odoo.est-attention[b-514qbz4bk8] { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.06); }
.verif-odoo-tete[b-514qbz4bk8] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.verif-odoo ul[b-514qbz4bk8] { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 760px) { .verif-odoo[b-514qbz4bk8] { margin-top: 0; } }

/* ── Étape 3 : les preuves, en tuiles ──────────────────────────────────────────
   La couleur ne dit qu'une chose : ce qui manque. Vert = fourni, ambre = encore attendu —
   et rien d'autre n'est coloré, sinon « ce qui manque » se perdrait dans le décor. */
.rn-preuves[b-514qbz4bk8] { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.preuve[b-514qbz4bk8] {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-secondary);
    transition: border-color 0.2s;
}
.preuve.est-ok[b-514qbz4bk8] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.preuve.est-manquant[b-514qbz4bk8] { border-color: rgba(245, 158, 11, 0.5); }
.preuve-entete[b-514qbz4bk8] { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.preuve-entete label[b-514qbz4bk8] { font-weight: 600; font-size: 14px; }
.preuve-entete .tag[b-514qbz4bk8] { flex-shrink: 0; }
.preuve > .form-hint[b-514qbz4bk8] { margin: 0; flex: 1 1 auto; }

/* La zone de dépôt : le champ fichier, invisible, la couvre entière — on clique n'importe où,
   ou on y glisse les fichiers depuis l'explorateur (le navigateur le fait de lui-même). */
.rn-depot[b-514qbz4bk8] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rn-depot:hover[b-514qbz4bk8], .rn-depot:focus-within[b-514qbz4bk8] { border-color: var(--accent); background: var(--accent-soft); color: var(--text-primary); }
.rn-depot:focus-within[b-514qbz4bk8] { box-shadow: 0 0 0 3px var(--accent-soft); }
.rn-depot[b-514qbz4bk8]  input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rn-depot.est-desactive[b-514qbz4bk8] { opacity: 0.45; cursor: not-allowed; }
.rn-depot-texte strong[b-514qbz4bk8] { color: var(--accent); font-weight: 600; }
.rn-depot-formats[b-514qbz4bk8] { font-size: 12px; color: var(--text-muted); }
.rn-depot-icone[b-514qbz4bk8] {
    width: 22px; height: 22px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
}

.preuve-fichier[b-514qbz4bk8] {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
}
.preuve-fichier-nom[b-514qbz4bk8] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* La vignette d'une photo jointe : on voit ce qu'on envoie avant de l'envoyer. */
.preuve-vignette[b-514qbz4bk8] {
    flex: 0 0 auto;
    width: 72px; height: 54px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
    cursor: zoom-in;
}
.preuve-vignette:focus-visible[b-514qbz4bk8] { outline: 2px solid var(--accent); outline-offset: 2px; }
.preuve-vignette img[b-514qbz4bk8] { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Agrandie : par-dessus l'écran, un clic hors de l'image (ou « Fermer ») la referme. */
.rn-agrandi[b-514qbz4bk8] {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.72);
    cursor: zoom-out;
}
.rn-agrandi figure[b-514qbz4bk8] {
    margin: 0;
    display: flex; flex-direction: column; gap: 8px;
    max-width: min(800px, 100%);
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    cursor: default;
}
.rn-agrandi img[b-514qbz4bk8] { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
.rn-agrandi figcaption[b-514qbz4bk8] { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.rn-agrandi figcaption span[b-514qbz4bk8] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.attestation[b-514qbz4bk8] { font-weight: 500; }

/* ── Le panneau « Votre dossier » ──────────────────────────────────────────── */
.rn-suivi[b-514qbz4bk8] { position: sticky; top: 76px; }
.rn-suivi-carte[b-514qbz4bk8] { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.rn-suivi-tete[b-514qbz4bk8] { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rn-suivi-tete h2[b-514qbz4bk8] { font-size: 16px; font-weight: 600; margin: 0; color: var(--text-primary); }
.rn-suivi-compte[b-514qbz4bk8] { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.rn-barre[b-514qbz4bk8] { height: 6px; border-radius: var(--radius-full); background: var(--accent-soft); overflow: hidden; margin-top: -8px; }
.rn-barre span[b-514qbz4bk8] { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width 0.3s ease; }

.rn-etapes[b-514qbz4bk8] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rn-etapes a[b-514qbz4bk8] {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
}
.rn-etapes a:hover[b-514qbz4bk8] { background: var(--accent-soft); color: var(--text-primary); }
.rn-puce[b-514qbz4bk8] {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-size: 11.5px; font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}
.rn-etapes .est-fait a[b-514qbz4bk8] { color: var(--text-primary); }
.rn-etapes .est-fait .rn-puce[b-514qbz4bk8] { background: var(--accent); border-color: var(--accent); color: #fff; }

.rn-suivi-machine[b-514qbz4bk8] {
    display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    font-size: 13px;
}
.rn-suivi-machine strong[b-514qbz4bk8] { font-size: 15px; color: var(--text-primary); }

.rn-suivi-preuves[b-514qbz4bk8] { border-top: 1px solid var(--border); padding-top: 14px; }
.rn-suivi-preuves h3[b-514qbz4bk8] { font-size: 13px; font-weight: 600; margin: 0 0 8px; color: var(--text-primary); }
.rn-suivi-preuves .form-hint[b-514qbz4bk8] { margin: 10px 0 0; }

.procedure-liste[b-514qbz4bk8] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.procedure-liste li[b-514qbz4bk8] { display: flex; gap: 9px; align-items: baseline; }
.procedure-marque[b-514qbz4bk8] { font-weight: 700; width: 14px; flex-shrink: 0; }
.procedure-liste .est-ok .procedure-marque[b-514qbz4bk8] { color: var(--accent); }
.procedure-liste .est-manquant .procedure-marque[b-514qbz4bk8] { color: #b45309; }
.procedure-liste .est-facultatif .procedure-marque[b-514qbz4bk8] { color: var(--text-muted); }
[data-theme="dark"] .procedure-liste .est-manquant .procedure-marque[b-514qbz4bk8] { color: #fbbf24; }

.rn-suivi-actions[b-514qbz4bk8] { display: flex; flex-direction: column; gap: 8px; }
.rn-suivi-actions > *[b-514qbz4bk8] { width: 100%; justify-content: center; text-align: center; }

/* ── Soumise ───────────────────────────────────────────────────────────────── */
.rn-succes[b-514qbz4bk8] { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 24px; }
.rn-succes h2[b-514qbz4bk8] { font-size: 20px; font-weight: 600; margin: 4px 0 0; color: var(--text-primary); }
.rn-succes-marque[b-514qbz4bk8] {
    width: 52px; height: 52px; border-radius: var(--radius-full);
    display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 26px; font-weight: 700;
}
.rn-succes .avertissements[b-514qbz4bk8] { text-align: left; }
.rn-succes-actions[b-514qbz4bk8] { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
    .rn-etape[b-514qbz4bk8], .rn-num[b-514qbz4bk8], .preuve[b-514qbz4bk8], .rn-depot[b-514qbz4bk8], .rn-barre span[b-514qbz4bk8] { transition: none; }
}

/* ── Le mode « stock RIPPA » (2026-11-05) ─────────────────────────────────────
   Un avis en tête (qui dépose, ce qui tombe), un refus nommé quand la machine n'est pas en
   stock, et le dépôt par RIPPA à la place de l'attestation du concessionnaire. */
.rn-stock-avis[b-514qbz4bk8] {
    padding: 12px 16px; margin-bottom: 16px; line-height: 1.5; font-size: 13.5px;
    border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft);
}
.rn-stock-refus[b-514qbz4bk8] {
    margin-top: 22px; padding: 12px 14px; font-size: 13px; line-height: 1.5;
    border: 1px solid rgba(220, 38, 38, 0.45); border-radius: var(--radius-sm); background: rgba(220, 38, 38, 0.06);
}
.rn-stock-refus a[b-514qbz4bk8] { display: block; margin-top: 8px; font-weight: 600; }
@media (max-width: 760px) { .rn-stock-refus[b-514qbz4bk8] { margin-top: 0; } }
.rn-depot-stock[b-514qbz4bk8] { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; align-items: center; margin: 4px 0 0; }
.rn-depot-stock dt[b-514qbz4bk8] { color: var(--text-secondary); font-size: 13px; }
.rn-depot-stock dd[b-514qbz4bk8] { margin: 0; }
.rn-depot-stock select[b-514qbz4bk8] { max-width: 320px; }

/* ── L'APPROBATION DE LA COUVERTURE (2026-11-19) ──────────────────────────────
   Deux cartes à cocher : le processus habituel (vert), ou l'approbation de RIPPA Chine d'abord
   (bleu, « en traitement »). La carte choisie s'allume ; la case radio reste là pour le clavier. */
.rn-approbation[b-514qbz4bk8] { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.rn-approbation legend[b-514qbz4bk8] { font-size: 13.5px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.rn-approbation-choix[b-514qbz4bk8] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 10px; }
.rn-approbation-option[b-514qbz4bk8] {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md);
    background: var(--bg-elevated);
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.rn-approbation-option:hover[b-514qbz4bk8] { box-shadow: var(--shadow-sm); }
.rn-approbation-option input[b-514qbz4bk8] { margin-top: 6px; accent-color: var(--accent); }
.rn-approbation-option.is-on[b-514qbz4bk8] { border-color: var(--accent); border-width: 2px; padding: 11px 13px; background: color-mix(in srgb, var(--accent) 7%, var(--bg-elevated)); }
.rn-approbation-icone[b-514qbz4bk8] {
    flex: none; width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: #fff;
}
.rn-approbation-icone.est-ok[b-514qbz4bk8] { background: #16a34a; }
.rn-approbation-icone.est-attente[b-514qbz4bk8] { background: #3b82f6; }
.rn-approbation-texte[b-514qbz4bk8] { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rn-approbation-texte strong[b-514qbz4bk8] { font-size: 14.5px; }
.rn-approbation-texte small[b-514qbz4bk8] { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }
.rn-suivi-statut[b-514qbz4bk8] { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 12px 0; font-size: 13px; }
/* /RippaDistriCanada/Pages/EspaceReclamations.razor.rz.scp.css */
.mono[b-37mqhhzlyy] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.filtres[b-37mqhhzlyy] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.btn-petit[b-37mqhhzlyy] { padding: 3px 10px; font-size: 12px; white-space: nowrap; }

/* Le bilan de récupération auprès de RIPPA Chine — pour qui traite les garanties. */
.bilan-usine[b-37mqhhzlyy] { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; }
.bilan-tuile[b-37mqhhzlyy] { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-elevated); }
.bilan-tuile span[b-37mqhhzlyy] { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.bilan-tuile strong[b-37mqhhzlyy] { font-size: 22px; font-variant-numeric: tabular-nums; }
.bilan-tuile small[b-37mqhhzlyy] { font-size: 12px; color: var(--text-muted); }
.bilan-tuile.est-alerte[b-37mqhhzlyy] { border-color: rgba(220, 38, 38, 0.4); }
.usine-cellule[b-37mqhhzlyy] { display: inline-flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.usine-cellule small[b-37mqhhzlyy] { color: var(--text-muted); font-size: 11.5px; }

/* La conversation dans la file (2026-11-06) : une bulle à côté du numéro. */
.numero-messages[b-37mqhhzlyy] { display: inline-flex; align-items: center; gap: 6px; }
.pastille-messages[b-37mqhhzlyy] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font: 700 11px/1.3 'Inter', system-ui, sans-serif;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 2px 6px var(--accent-glow);
    text-decoration: none;
}
.pastille-messages.est-lue[b-37mqhhzlyy] { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); box-shadow: none; padding: 3px 6px; }
/* /RippaDistriCanada/Pages/EspaceReseau.razor.rz.scp.css */
/* La disponibilité du réseau : une carte par modèle plutôt qu'un grand tableau. Le tableau
   ferait défiler horizontalement sur téléphone, et cet écran se consulte debout, au comptoir,
   avec un client au bout du fil. */

.reciprocite[b-4i64h8txa0] {
    background: var(--surface-2);
    border-left: 3px solid var(--accent);
    color: var(--text);
}


.modele-carte[b-4i64h8txa0] { margin-bottom: 14px; }

.modele-entete[b-4i64h8txa0] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 18px;
    margin-bottom: 10px;
}

.modele-titre[b-4i64h8txa0] {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}

.modele-compteurs[b-4i64h8txa0] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compteur strong[b-4i64h8txa0] {
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.detenteurs[b-4i64h8txa0] {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border);
}

.detenteur[b-4i64h8txa0] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.detenteur:last-child[b-4i64h8txa0] { border-bottom: none; }

.detenteur-nom[b-4i64h8txa0] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.detenteur-quantite[b-4i64h8txa0] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    min-width: 2ch;
    text-align: right;
}

.detenteur-action[b-4i64h8txa0] { flex: none; }

.detenteur.est-moi[b-4i64h8txa0] { background: var(--surface-2); }

/* Téléphone : le bouton passe sous le nom plutôt que d'écraser la ligne. */
@media (max-width: 560px) {
    .detenteur[b-4i64h8txa0] { flex-wrap: wrap; }
    .detenteur-action[b-4i64h8txa0] { width: 100%; text-align: center; }
}

/* ── Chercher ────────────────────────────────────────────────────────────────
   Trois rangées, de la plus grossière à la plus fine : la question (pastilles), les champs
   (quoi / où / province / catégorie / tri), puis les régions. L'ordre compte : on clique une
   pastille sans réfléchir, on remplit un champ en réfléchissant. */

.chercher[b-4i64h8txa0] {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius, 8px);
    padding: 12px 14px;
    margin-bottom: 16px;
}

/* Mêmes filtres que les autres listes de l'espace. */
.filtres[b-4i64h8txa0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filtres-titre[b-4i64h8txa0] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.regions[b-4i64h8txa0] { margin-top: 10px; }

.recherches[b-4i64h8txa0] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 12px;
}

.champ[b-4i64h8txa0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 220px;
    min-width: 0;
}

/* Une liste déroulante n'a pas besoin de la largeur d'une boîte de recherche. */
.champ-court[b-4i64h8txa0] { flex: 0 1 190px; }

.champ label[b-4i64h8txa0] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.resultat[b-4i64h8txa0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.resultat-compte[b-4i64h8txa0] {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.resultat .btn-secondary[b-4i64h8txa0] { margin-left: auto; }

/* Pourquoi la carte ne montre plus tout le réseau : dit une fois, pas par carte. */
.resultat-note[b-4i64h8txa0] {
    display: block;
    font-size: 0.82rem;
    margin-top: 2px;
}

/* La catégorie Odoo, sous le nom du modèle : utile pour filtrer, secondaire à lire. */
.modele-categorie[b-4i64h8txa0] {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Le compteur « ici », quand un filtre de lieu écrème les détenteurs. */
.compteur.est-retenu strong[b-4i64h8txa0] { color: var(--accent); }

.compteur-sur[b-4i64h8txa0] {
    font-size: 0.82rem;
    opacity: 0.85;
}

@media (max-width: 560px) {
    .champ[b-4i64h8txa0], .champ-court[b-4i64h8txa0] { flex: 1 1 100%; }
    .resultat .btn-secondary[b-4i64h8txa0] { margin-left: 0; width: 100%; }
}
/* /RippaDistriCanada/Pages/EspaceTransfert.razor.rz.scp.css */
/* La fiche d'un transfert. Le reste vient d'app.css ; ici, la liste de faits, le motif, et la
   rangée de gestes — qui reste lisible sur téléphone, où ces boutons se pressent au comptoir. */

.section-title[b-8qfvd9kngs] { margin-top: 26px; }

.motif[b-8qfvd9kngs] {
    white-space: pre-wrap;
    margin: 0 0 14px;
    line-height: 1.55;
}

.faits[b-8qfvd9kngs] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px 18px;
    margin: 0;
}

.faits > div[b-8qfvd9kngs] { display: flex; flex-direction: column; gap: 3px; }

.faits dt[b-8qfvd9kngs] {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.faits dd[b-8qfvd9kngs] { margin: 0; font-size: 13.5px; }

.gestes[b-8qfvd9kngs] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attribuer[b-8qfvd9kngs] { margin-left: 12px; }

.champ-aide[b-8qfvd9kngs] {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.erreurs[b-8qfvd9kngs] { margin: 0; padding-left: 18px; }

@media (max-width: 560px) {
    .gestes > *[b-8qfvd9kngs] { flex: 1 1 100%; }
    .attribuer[b-8qfvd9kngs] { margin-left: 0; margin-top: 10px; display: block; width: 100%; }
}
/* /RippaDistriCanada/Pages/EspaceTransfertNouveau.razor.rz.scp.css */
/* Le formulaire reprend .form-grid / .form-field d'app.css ; ici seulement ce qu'il ajoute :
   l'aide sous un champ, la case à cocher sur une ligne, et la note qui rappelle qu'un
   transfert ne porte pas d'argent. */

.champ-aide[b-17j47ahnxh] {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.case label[b-17j47ahnxh] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 13.5px;
    color: var(--text);
}

.case input[b-17j47ahnxh] { margin-top: 2px; flex: none; }

.erreurs[b-17j47ahnxh] { margin: 0; padding-left: 18px; }

.note-argent[b-17j47ahnxh] {
    font-size: 12.5px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 16px;
}
/* /RippaDistriCanada/Pages/EspaceTransferts.razor.rz.scp.css */
/* Mêmes filtres que la liste des commandes : une rangée de pastilles qui défile plutôt que de
   revenir à la ligne, et les actions repoussées à droite quand la place le permet. */

.filtres[b-01e6fs8ri0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.filtres-actions[b-01e6fs8ri0] {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

@media (max-width: 560px) {
    .filtres-actions[b-01e6fs8ri0] { margin-left: 0; width: 100%; }
    .filtres-actions > *[b-01e6fs8ri0] { flex: 1 1 auto; text-align: center; }
}
/* /RippaDistriCanada/Pages/EspaceValidation.razor.rz.scp.css */
.mono[b-7pwut85jfs] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.recherche[b-7pwut85jfs] { margin-bottom: 12px; }
.recherche-etiquette[b-7pwut85jfs] { display: block; font-weight: 500; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.recherche-ligne[b-7pwut85jfs] { display: flex; gap: 10px; flex-wrap: wrap; }
.recherche-champ[b-7pwut85jfs] { flex: 1; min-width: 220px; font-size: 18px; padding: 12px 14px; }

/* La déclaration : repliée par défaut — la plupart des vérifications ne comparent rien. */
.declaration[b-7pwut85jfs] { margin-top: 12px; font-size: 13.5px; }
.declaration summary[b-7pwut85jfs] { cursor: pointer; color: var(--text-secondary); font-weight: 500; }
.declaration-champs[b-7pwut85jfs] { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.declaration-champs label[b-7pwut85jfs] { display: flex; flex-direction: column; gap: 4px; }
.declaration-champs label span[b-7pwut85jfs] { font-size: 12px; color: var(--text-secondary); }

.demo-aide[b-7pwut85jfs] { margin: 12px 0 0; font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.demo-numero[b-7pwut85jfs] { font-size: 12.5px; }

/* Le verdict : même grammaire que celui de la garantie — couleur d'abord, texte ensuite. */
.verdict[b-7pwut85jfs] { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid transparent; }
.verdict-ok[b-7pwut85jfs] { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.35); }
.verdict-attention[b-7pwut85jfs] { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.4); }
.verdict-erreur[b-7pwut85jfs] { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.35); }
.verdict-entete[b-7pwut85jfs] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verdict-serie[b-7pwut85jfs] { font-size: 16px; font-weight: 650; }
.verdict-message[b-7pwut85jfs] { margin: 10px 0 0; font-size: 15px; font-weight: 500; }
.verdict-actions[b-7pwut85jfs] { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.fiche[b-7pwut85jfs] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 13.5px; }
.fiche dt[b-7pwut85jfs] { color: var(--text-muted); }
.fiche dd[b-7pwut85jfs] { margin: 0; overflow-wrap: anywhere; }

.candidats[b-7pwut85jfs], .avertissements[b-7pwut85jfs] { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; }
.avertissements[b-7pwut85jfs] { list-style: none; padding-left: 0; color: var(--warn, #b4780a); font-weight: 500; }
.confidentiel[b-7pwut85jfs] { margin: 10px 0 0; font-size: 12.5px; }

.controle[b-7pwut85jfs] { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.controle-titre[b-7pwut85jfs] { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 650; }
.controle-regle[b-7pwut85jfs] { margin: 8px 0 0; font-size: 12px; }

.source[b-7pwut85jfs] { font-size: 12px; }

@media (max-width: 620px) {
    .fiche[b-7pwut85jfs] { grid-template-columns: 1fr; gap: 0; }
    .fiche dt[b-7pwut85jfs] { padding-top: 8px; }
}
/* /RippaDistriCanada/Pages/Machine.razor.rz.scp.css */
.mono[b-dindqs6wzn] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.etiquettes[b-dindqs6wzn] { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.colonnes[b-dindqs6wzn] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.fiche[b-dindqs6wzn] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.fiche dt[b-dindqs6wzn] { color: var(--text-muted); }
.fiche dd[b-dindqs6wzn] { margin: 0; color: var(--text-primary); }
.reserve[b-dindqs6wzn] { border-style: dashed; }
.section-title[b-dindqs6wzn] { margin-top: 26px; }

/* La valeur d'avant, dans le tableau des corrections : barrée et en retrait — on la garde
   pour pouvoir la lire, pas pour la confondre avec la valeur courante. */
.correction-avant[b-dindqs6wzn] {
    color: var(--text-muted, #6a7180);
    text-decoration: line-through;
}

.garantie-etat[b-dindqs6wzn] { margin: 0 0 6px; }
.reclamations[b-dindqs6wzn] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.reclamations li[b-dindqs6wzn] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Le rachat (2026-11-25) : la machine d'occasion annoncée dans « Vente », et la liste de ses rachats. */
.verdict-occasion[b-dindqs6wzn] { font-size: 13px; padding: 8px 10px; border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--accent-soft); color: var(--accent); }
.verdict-occasion .btn-link[b-dindqs6wzn] { margin-left: 6px; }
.liste-rachats[b-dindqs6wzn] { list-style: none; margin: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.liste-rachats li[b-dindqs6wzn] { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
/* /RippaDistriCanada/Pages/Machines.razor.rz.scp.css */
.filtres[b-almkutxh3y] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filtres .btn-secondary[b-almkutxh3y] { margin-left: auto; }

/* Une machine qui dort depuis plus de 90 jours : signalée, pas criée. C'est un rappel à
   faire, pas une erreur. */
.age-dormant[b-almkutxh3y] {
    font-weight: 650;
    color: var(--warn, #b4780a);
}

/* L'action de la ligne : un lien discret, qui ne doit pas concurrencer le numéro de série. */
.lien-action[b-almkutxh3y] {
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 600;
}
/* /RippaDistriCanada/Pages/Rachat.razor.rz.scp.css */
/* Racheter une machine — même disposition que « Enregistrer une vente » (Vente.razor.css),
   dont ces règles sont reprises à dessein : le CSS isolé de chaque page les garde séparés. */

.mono[b-of3dtuagnz] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.erreurs[b-of3dtuagnz] { margin: 0; padding-left: 18px; }
.verdict[b-of3dtuagnz] { font-size: 13px; padding: 8px 10px; border-radius: var(--radius-sm); margin-top: 6px; }
.verdict-ok[b-of3dtuagnz] { background: var(--accent-soft); color: var(--accent); }
.verdict-attention[b-of3dtuagnz] { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.verdict-erreur[b-of3dtuagnz] { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
[data-theme="dark"] .verdict-attention[b-of3dtuagnz] { color: #fbbf24; }
[data-theme="dark"] .verdict-erreur[b-of3dtuagnz] { color: #f87171; }

/* ── La disposition : le formulaire à gauche, la vente à droite ──────────── */
.rn-disposition[b-of3dtuagnz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}
.rn-formulaire[b-of3dtuagnz] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (max-width: 1100px) {
    .rn-disposition[b-of3dtuagnz] { grid-template-columns: minmax(0, 1fr); }
    .rn-suivi[b-of3dtuagnz] { position: static; }
}

/* ── Une étape = une carte numérotée ───────────────────────────────────────── */
.rn-etape[b-of3dtuagnz] { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.2s; scroll-margin-top: 76px; }
.rn-etape.est-fait[b-of3dtuagnz] { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.rn-etape-tete[b-of3dtuagnz] { display: flex; gap: 14px; align-items: flex-start; }
.rn-etape-tete h2[b-of3dtuagnz] { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--text-primary); }
.rn-etape-tete p[b-of3dtuagnz] { font-size: 13px; color: var(--text-muted); margin: 3px 0 0; }
.rn-num[b-of3dtuagnz] {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-weight: 700; font-size: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background 0.2s, color 0.2s;
}
.rn-etape.est-fait .rn-num[b-of3dtuagnz] { background: var(--accent); color: #fff; }

/* Les champs se rangent seuls : autant de colonnes que la largeur en admet. */
.rn-grille[b-of3dtuagnz] { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px 18px; }
.rn-large[b-of3dtuagnz] { grid-column: 1 / -1; }

/* Étape 1 : le numéro de série à gauche, le modèle à droite. */
.rn-machine[b-of3dtuagnz] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rn-serie[b-of3dtuagnz] { font-size: 17px; padding-top: 11px; padding-bottom: 11px; }
@media (max-width: 760px) { .rn-machine[b-of3dtuagnz] { grid-template-columns: minmax(0, 1fr); } }

.rn-etape textarea[b-of3dtuagnz] { resize: vertical; }
.rn-compteur[b-of3dtuagnz] { text-align: right; }
.rn-etape > .form-hint[b-of3dtuagnz] { margin: 0; }

/* ── Le panneau « Votre vente » ────────────────────────────────────────────── */
.rn-suivi[b-of3dtuagnz] { position: sticky; top: 76px; }
.rn-suivi-carte[b-of3dtuagnz] { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.rn-suivi-tete[b-of3dtuagnz] { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rn-suivi-tete h2[b-of3dtuagnz] { font-size: 16px; font-weight: 600; margin: 0; color: var(--text-primary); }
.rn-suivi-compte[b-of3dtuagnz] { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.rn-barre[b-of3dtuagnz] { height: 6px; border-radius: var(--radius-full); background: var(--accent-soft); overflow: hidden; margin-top: -8px; }
.rn-barre span[b-of3dtuagnz] { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width 0.3s ease; }

.rn-etapes[b-of3dtuagnz] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rn-etapes a[b-of3dtuagnz] {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
}
.rn-etapes a:hover[b-of3dtuagnz] { background: var(--accent-soft); color: var(--text-primary); }
.rn-puce[b-of3dtuagnz] {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-size: 11.5px; font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}
.rn-etapes .est-fait a[b-of3dtuagnz] { color: var(--text-primary); }
.rn-etapes .est-fait .rn-puce[b-of3dtuagnz] { background: var(--accent); border-color: var(--accent); color: #fff; }

.rn-suivi-machine[b-of3dtuagnz] {
    display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    font-size: 13px;
}
.rn-suivi-machine strong[b-of3dtuagnz] { font-size: 15px; color: var(--text-primary); }

.rn-suivi-champs[b-of3dtuagnz] { border-top: 1px solid var(--border); padding-top: 14px; }
.rn-suivi-champs h3[b-of3dtuagnz] { font-size: 13px; font-weight: 600; margin: 0 0 8px; color: var(--text-primary); }
.rn-suivi-champs .form-hint[b-of3dtuagnz] { margin: 10px 0 0; }

.procedure-liste[b-of3dtuagnz] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.procedure-liste li[b-of3dtuagnz] { display: flex; gap: 9px; align-items: baseline; }
.procedure-marque[b-of3dtuagnz] { font-weight: 700; width: 14px; flex-shrink: 0; }
.procedure-liste .est-ok .procedure-marque[b-of3dtuagnz] { color: var(--accent); }
.procedure-liste .est-manquant .procedure-marque[b-of3dtuagnz] { color: #b45309; }
[data-theme="dark"] .procedure-liste .est-manquant .procedure-marque[b-of3dtuagnz] { color: #fbbf24; }

.rn-suivi-actions[b-of3dtuagnz] { display: flex; flex-direction: column; gap: 8px; }
.rn-suivi-actions > *[b-of3dtuagnz] { width: 100%; justify-content: center; text-align: center; }


/* ── Enregistrée ───────────────────────────────────────────────────────────── */
.rn-succes[b-of3dtuagnz] { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 24px; }
.rn-succes h2[b-of3dtuagnz] { font-size: 20px; font-weight: 600; margin: 4px 0 0; color: var(--text-primary); }
.rn-succes-marque[b-of3dtuagnz] {
    width: 52px; height: 52px; border-radius: var(--radius-full);
    display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 26px; font-weight: 700;
}
.rn-succes-note[b-of3dtuagnz] { max-width: 560px; text-align: left; }
.rn-succes-actions[b-of3dtuagnz] { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.recap[b-of3dtuagnz] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; text-align: left; }
.recap dt[b-of3dtuagnz] { color: var(--text-muted); }
.recap dd[b-of3dtuagnz] { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .rn-etape[b-of3dtuagnz], .rn-num[b-of3dtuagnz], .rn-barre span[b-of3dtuagnz] { transition: none; }
}

/* ── La grille des machines vendues, sous le formulaire (venue de Garantie, 2026-10-28) ── */
#machines-vendues[b-of3dtuagnz] { margin-top: 28px; scroll-margin-top: 76px; }

/* ── Étape 4 : la preuve de facture (facultative) — même zone de dépôt que la réclamation ── */
.rn-etape-tete h2 .tag[b-of3dtuagnz] { margin-left: 6px; vertical-align: middle; font-size: 11px; }
.rn-depot[b-of3dtuagnz] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rn-depot:hover[b-of3dtuagnz], .rn-depot:focus-within[b-of3dtuagnz] { border-color: var(--accent); background: var(--accent-soft); color: var(--text-primary); }
.rn-depot:focus-within[b-of3dtuagnz] { box-shadow: 0 0 0 3px var(--accent-soft); }
.rn-depot[b-of3dtuagnz]  input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rn-depot.est-desactive[b-of3dtuagnz] { opacity: 0.45; cursor: not-allowed; }
.rn-depot-texte strong[b-of3dtuagnz] { color: var(--accent); font-weight: 600; }
.rn-depot-formats[b-of3dtuagnz] { font-size: 12px; color: var(--text-muted); }
.rn-depot-icone[b-of3dtuagnz] {
    width: 22px; height: 22px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
}
.preuve-fichier[b-of3dtuagnz] {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
}
.preuve-fichier-nom[b-of3dtuagnz] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Propre au rachat : les quatre cases de preuves, la recherche de sûretés, les conséquences. */
.rn-sous-titre[b-of3dtuagnz] { font-size: 14px; font-weight: 600; margin: 4px 0 0; color: var(--text-primary); }
.rn-preuves[b-of3dtuagnz] { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rn-preuve[b-of3dtuagnz] { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rn-preuve-titre[b-of3dtuagnz] { display: flex; gap: 6px; align-items: baseline; font-size: 13.5px; }
.rn-preuve-titre .tag[b-of3dtuagnz] { font-size: 11px; }
.rn-suretes[b-of3dtuagnz] { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.rn-suretes .form-field[b-of3dtuagnz] { max-width: 240px; }
.rn-suretes .form-hint[b-of3dtuagnz] { margin: 0; }
.rn-consequences[b-of3dtuagnz] { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* /RippaDistriCanada/Pages/Tableau.razor.rz.scp.css */
.pastilles[b-c9gzqoaysb] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions[b-c9gzqoaysb] { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.kpi-attention[b-c9gzqoaysb] { border-color: rgba(245, 158, 11, 0.5); }
.section-title[b-c9gzqoaysb] { margin-top: 26px; }

/* Les graphiques : deux par rangée sur un grand écran, un seul sur un petit. Le min(…, 100%)
   n'est pas décoratif : sans lui, une colonne exige 440 px même sur un téléphone de 390, et la
   page entière déborde (et « dézoome »). */
.graphiques[b-c9gzqoaysb] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.graphiques .card[b-c9gzqoaysb] { min-width: 0; }

/* ── La bande « à faire » ─────────────────────────────────────────────────────
   Au-dessus des chiffres, et volontairement différente d'eux : ce n'est pas une mesure,
   c'est une tâche. Elle n'apparaît que s'il y a quelque chose à faire. */
.actions-attendues[b-c9gzqoaysb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 18px;
}

.action-carte[b-c9gzqoaysb] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--bg-elevated, #fff);
    border: 1px solid var(--border, #d8dde5);
    border-left: 3px solid var(--accent, #006dbc);
    border-radius: var(--radius-md, 8px);
}

.action-carte.is-avertissement[b-c9gzqoaysb] {
    border-left-color: var(--warn, #b4780a);
}

.action-texte[b-c9gzqoaysb] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.action-titre[b-c9gzqoaysb] {
    font-weight: 650;
    font-size: 14px;
}

.action-detail[b-c9gzqoaysb] {
    font-size: 12.5px;
    color: var(--text-muted, #6a7180);
    line-height: 1.45;
}

.action-lien[b-c9gzqoaysb] {
    flex: none;
    white-space: nowrap;
}

/* Sur un téléphone, le bouton passe sous le texte plutôt que de l'écraser. */
@media (max-width: 620px) {
    .action-carte[b-c9gzqoaysb] {
        flex-direction: column;
        align-items: stretch;
    }

    .action-lien[b-c9gzqoaysb] { text-align: center; }
}
/* /RippaDistriCanada/Pages/Vente.razor.rz.scp.css */
/* Enregistrer une vente — même disposition que « Ouvrir une réclamation »
   (EspaceReclamationNouvelle.razor.css) : des étapes numérotées à gauche, le panneau
   « Votre vente » collant à droite. Les noms de classes sont les mêmes à dessein ; le CSS
   isolé de chaque page les garde séparés. */

.mono[b-2b50uy5rkj] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.erreurs[b-2b50uy5rkj] { margin: 0; padding-left: 18px; }
.verdict[b-2b50uy5rkj] { font-size: 13px; padding: 8px 10px; border-radius: var(--radius-sm); margin-top: 6px; }
.verdict-ok[b-2b50uy5rkj] { background: var(--accent-soft); color: var(--accent); }
.verdict-attention[b-2b50uy5rkj] { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.verdict-erreur[b-2b50uy5rkj] { background: rgba(239, 68, 68, 0.12); color: #b91c1c; }
[data-theme="dark"] .verdict-attention[b-2b50uy5rkj] { color: #fbbf24; }
[data-theme="dark"] .verdict-erreur[b-2b50uy5rkj] { color: #f87171; }

/* ── La disposition : le formulaire à gauche, la vente à droite ──────────── */
.rn-disposition[b-2b50uy5rkj] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}
.rn-formulaire[b-2b50uy5rkj] { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

@media (max-width: 1100px) {
    .rn-disposition[b-2b50uy5rkj] { grid-template-columns: minmax(0, 1fr); }
    .rn-suivi[b-2b50uy5rkj] { position: static; }
}

/* ── Une étape = une carte numérotée ───────────────────────────────────────── */
.rn-etape[b-2b50uy5rkj] { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.2s; scroll-margin-top: 76px; }
.rn-etape.est-fait[b-2b50uy5rkj] { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.rn-etape-tete[b-2b50uy5rkj] { display: flex; gap: 14px; align-items: flex-start; }
.rn-etape-tete h2[b-2b50uy5rkj] { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--text-primary); }
.rn-etape-tete p[b-2b50uy5rkj] { font-size: 13px; color: var(--text-muted); margin: 3px 0 0; }
.rn-num[b-2b50uy5rkj] {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-weight: 700; font-size: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background 0.2s, color 0.2s;
}
.rn-etape.est-fait .rn-num[b-2b50uy5rkj] { background: var(--accent); color: #fff; }

/* Les champs se rangent seuls : autant de colonnes que la largeur en admet. */
.rn-grille[b-2b50uy5rkj] { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px 18px; }
.rn-large[b-2b50uy5rkj] { grid-column: 1 / -1; }

/* Étape 1 : le numéro de série à gauche, le modèle à droite. */
.rn-machine[b-2b50uy5rkj] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.rn-serie[b-2b50uy5rkj] { font-size: 17px; padding-top: 11px; padding-bottom: 11px; }
@media (max-width: 760px) { .rn-machine[b-2b50uy5rkj] { grid-template-columns: minmax(0, 1fr); } }

.rn-etape textarea[b-2b50uy5rkj] { resize: vertical; }
.rn-compteur[b-2b50uy5rkj] { text-align: right; }
.rn-etape > .form-hint[b-2b50uy5rkj] { margin: 0; }

/* ── Le panneau « Votre vente » ────────────────────────────────────────────── */
.rn-suivi[b-2b50uy5rkj] { position: sticky; top: 76px; }
.rn-suivi-carte[b-2b50uy5rkj] { display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.rn-suivi-tete[b-2b50uy5rkj] { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rn-suivi-tete h2[b-2b50uy5rkj] { font-size: 16px; font-weight: 600; margin: 0; color: var(--text-primary); }
.rn-suivi-compte[b-2b50uy5rkj] { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

.rn-barre[b-2b50uy5rkj] { height: 6px; border-radius: var(--radius-full); background: var(--accent-soft); overflow: hidden; margin-top: -8px; }
.rn-barre span[b-2b50uy5rkj] { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width 0.3s ease; }

.rn-etapes[b-2b50uy5rkj] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rn-etapes a[b-2b50uy5rkj] {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
}
.rn-etapes a:hover[b-2b50uy5rkj] { background: var(--accent-soft); color: var(--text-primary); }
.rn-puce[b-2b50uy5rkj] {
    width: 22px; height: 22px; flex-shrink: 0;
    border-radius: var(--radius-full);
    display: grid; place-items: center;
    font-size: 11.5px; font-weight: 700;
    border: 1.5px solid var(--border);
    color: var(--text-muted);
}
.rn-etapes .est-fait a[b-2b50uy5rkj] { color: var(--text-primary); }
.rn-etapes .est-fait .rn-puce[b-2b50uy5rkj] { background: var(--accent); border-color: var(--accent); color: #fff; }

.rn-suivi-machine[b-2b50uy5rkj] {
    display: flex; flex-direction: column; gap: 3px; align-items: flex-start;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    font-size: 13px;
}
.rn-suivi-machine strong[b-2b50uy5rkj] { font-size: 15px; color: var(--text-primary); }

.rn-suivi-champs[b-2b50uy5rkj] { border-top: 1px solid var(--border); padding-top: 14px; }
.rn-suivi-champs h3[b-2b50uy5rkj] { font-size: 13px; font-weight: 600; margin: 0 0 8px; color: var(--text-primary); }
.rn-suivi-champs .form-hint[b-2b50uy5rkj] { margin: 10px 0 0; }

.procedure-liste[b-2b50uy5rkj] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.procedure-liste li[b-2b50uy5rkj] { display: flex; gap: 9px; align-items: baseline; }
.procedure-marque[b-2b50uy5rkj] { font-weight: 700; width: 14px; flex-shrink: 0; }
.procedure-liste .est-ok .procedure-marque[b-2b50uy5rkj] { color: var(--accent); }
.procedure-liste .est-manquant .procedure-marque[b-2b50uy5rkj] { color: #b45309; }
[data-theme="dark"] .procedure-liste .est-manquant .procedure-marque[b-2b50uy5rkj] { color: #fbbf24; }

.rn-suivi-actions[b-2b50uy5rkj] { display: flex; flex-direction: column; gap: 8px; }
.rn-suivi-actions > *[b-2b50uy5rkj] { width: 100%; justify-content: center; text-align: center; }

/* SAAQclic Entreprises : le turquoise du portail de la SAAQ (#007475, #005555 au survol), pour
   qu'on reconnaisse d'un coup d'œil un lien qui sort de l'application. */
.rn-saaq[b-2b50uy5rkj] { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.rn-saaq-bouton[b-2b50uy5rkj] {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    padding: 8px 16px; border-radius: var(--radius-sm);
    background: #007475; color: #fff; font-weight: 600; font-size: 14px; text-decoration: none;
    transition: background-color .15s ease;
}
.rn-saaq-bouton:hover[b-2b50uy5rkj], .rn-saaq-bouton:focus-visible[b-2b50uy5rkj] { background: #005555; color: #fff; text-decoration: none; }
.rn-saaq-bouton:focus-visible[b-2b50uy5rkj] { outline: 2px solid #00d1b7; outline-offset: 2px; }
.rn-saaq .form-hint[b-2b50uy5rkj] { margin: 8px 0 0; text-align: center; }

/* ── Enregistrée ───────────────────────────────────────────────────────────── */
.rn-succes[b-2b50uy5rkj] { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 40px 24px; }
.rn-succes h2[b-2b50uy5rkj] { font-size: 20px; font-weight: 600; margin: 4px 0 0; color: var(--text-primary); }
.rn-succes-marque[b-2b50uy5rkj] {
    width: 52px; height: 52px; border-radius: var(--radius-full);
    display: grid; place-items: center;
    background: var(--accent); color: #fff; font-size: 26px; font-weight: 700;
}
.rn-succes-note[b-2b50uy5rkj] { max-width: 560px; text-align: left; }
.rn-succes-actions[b-2b50uy5rkj] { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

.recap[b-2b50uy5rkj] { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 0; font-size: 14px; text-align: left; }
.recap dt[b-2b50uy5rkj] { color: var(--text-muted); }
.recap dd[b-2b50uy5rkj] { margin: 0; }

@media (prefers-reduced-motion: reduce) {
    .rn-etape[b-2b50uy5rkj], .rn-num[b-2b50uy5rkj], .rn-barre span[b-2b50uy5rkj] { transition: none; }
}

/* ── La grille des machines vendues, sous le formulaire (venue de Garantie, 2026-10-28) ── */
#machines-vendues[b-2b50uy5rkj] { margin-top: 28px; scroll-margin-top: 76px; }
.filtres[b-2b50uy5rkj] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: -8px 0 4px; }
.bientot[b-2b50uy5rkj] { font-weight: 650; color: var(--warn, #b4780a); }
.lien-action[b-2b50uy5rkj] { white-space: nowrap; font-size: 12.5px; font-weight: 600; }

/* ── Étape 4 : la preuve de facture (facultative) — même zone de dépôt que la réclamation ── */
.rn-etape-tete h2 .tag[b-2b50uy5rkj] { margin-left: 6px; vertical-align: middle; font-size: 11px; }
.rn-depot[b-2b50uy5rkj] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rn-depot:hover[b-2b50uy5rkj], .rn-depot:focus-within[b-2b50uy5rkj] { border-color: var(--accent); background: var(--accent-soft); color: var(--text-primary); }
.rn-depot:focus-within[b-2b50uy5rkj] { box-shadow: 0 0 0 3px var(--accent-soft); }
.rn-depot[b-2b50uy5rkj]  input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rn-depot.est-desactive[b-2b50uy5rkj] { opacity: 0.45; cursor: not-allowed; }
.rn-depot-texte strong[b-2b50uy5rkj] { color: var(--accent); font-weight: 600; }
.rn-depot-formats[b-2b50uy5rkj] { font-size: 12px; color: var(--text-muted); }
.rn-depot-icone[b-2b50uy5rkj] {
    width: 22px; height: 22px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E") center / contain no-repeat;
}
.preuve-fichier[b-2b50uy5rkj] {
    display: flex; gap: 8px; align-items: center;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
}
.preuve-fichier-nom[b-2b50uy5rkj] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* L'échange (lot 3 du rachat) : le rachat de la machine reprise, relié à la vente qu'on vient d'enregistrer. */
.rn-echange[b-2b50uy5rkj] { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; justify-content: center; margin-top: 6px; font-size: 14px; color: var(--text-muted); }
/* /RippaDistriCanada/Pages/VenteImport.razor.rz.scp.css */
/* Importer des ventes : les étapes numérotées de « Enregistrer une vente » (Vente.razor.css),
   empilées pleine largeur — l'aperçu est un tableau, il lui faut la place. */

.vente-import .page-header[b-mf81ulrbfe] { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.mono[b-mf81ulrbfe] { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.02em; }

/* ── Le fil des étapes ─────────────────────────────────────────────────────── */
.iv-fil[b-mf81ulrbfe] { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; color: var(--text-muted); }
.iv-fil li[b-mf81ulrbfe] { display: flex; align-items: center; gap: 8px; }
.iv-puce[b-mf81ulrbfe] {
    width: 22px; height: 22px; border-radius: var(--radius-full);
    display: grid; place-items: center; font-size: 12px; font-weight: 700;
    background: var(--bg-tertiary); color: var(--text-muted);
}
.iv-fil li.est-fait[b-mf81ulrbfe] { color: var(--text-primary); }
.iv-fil li.est-fait .iv-puce[b-mf81ulrbfe] { background: var(--accent); color: #fff; }
.iv-fil li.est-courant[b-mf81ulrbfe] { color: var(--text-primary); font-weight: 600; }
.iv-fil li.est-courant .iv-puce[b-mf81ulrbfe] { background: var(--accent-soft); color: var(--accent); }

/* ── Une étape = une carte numérotée ───────────────────────────────────────── */
.iv-etape[b-mf81ulrbfe] { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.iv-etape-tete[b-mf81ulrbfe] { display: flex; gap: 14px; align-items: flex-start; }
.iv-etape-tete h2[b-mf81ulrbfe] { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--text-primary); }
.iv-etape-tete p[b-mf81ulrbfe] { font-size: 13px; color: var(--text-muted); margin: 3px 0 0; }
.iv-num[b-mf81ulrbfe] {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--radius-full);
    display: grid; place-items: center; font-weight: 700; font-size: 14px;
    background: var(--accent-soft); color: var(--accent);
}

.iv-modele[b-mf81ulrbfe] { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.iv-colonnes[b-mf81ulrbfe] { margin: 0; padding-left: 18px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; flex: 1 1 320px; }

/* ── Le dépôt du fichier ───────────────────────────────────────────────────── */
.iv-depot[b-mf81ulrbfe] {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 22px 12px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm);
    text-align: center; color: var(--text-secondary); font-size: 13px; cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.iv-depot:hover[b-mf81ulrbfe], .iv-depot:focus-within[b-mf81ulrbfe] { border-color: var(--accent); background: var(--accent-soft); color: var(--text-primary); }
.iv-depot:focus-within[b-mf81ulrbfe] { box-shadow: 0 0 0 3px var(--accent-soft); }
.iv-depot[b-mf81ulrbfe]  input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.iv-depot.est-desactive[b-mf81ulrbfe] { opacity: 0.45; cursor: not-allowed; }
.iv-depot-texte strong[b-mf81ulrbfe] { color: var(--accent); font-weight: 600; }

.preuve-fichier[b-mf81ulrbfe] {
    display: flex; gap: 10px; align-items: center; font-size: 13px;
    padding: 8px 12px; border-radius: var(--radius-sm); background: var(--bg-tertiary);
}
.preuve-fichier-nom[b-mf81ulrbfe] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.iv-notes[b-mf81ulrbfe] { margin: 0; padding-left: 18px; font-size: 12.5px; }

/* ── L'aperçu ─────────────────────────────────────────────────────────────── */
.iv-kpi[b-mf81ulrbfe] { margin: 0; }
.kpi-attention[b-mf81ulrbfe] { border-color: rgba(245, 158, 11, 0.55); }
.kpi-alerte[b-mf81ulrbfe] { border-color: rgba(239, 68, 68, 0.55); }
.filtres[b-mf81ulrbfe] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* La grille commune a des largeurs fixes par rang de colonne (app.css) : ici, la largeur suit le
   contenu — la colonne « Ligne » ne fait que trois chiffres, « Ce qu'il faut savoir » prend le reste. */
.iv-table[b-mf81ulrbfe] { font-size: 13px; table-layout: auto; }
.iv-table th[b-mf81ulrbfe], .iv-table td[b-mf81ulrbfe] { width: auto; }
.iv-table td:last-child[b-mf81ulrbfe] { min-width: 260px; }
.iv-table td[b-mf81ulrbfe] { vertical-align: top; }
.iv-table .num[b-mf81ulrbfe] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iv-table tr.est-erreur td:first-child[b-mf81ulrbfe] { box-shadow: inset 3px 0 0 #ef4444; }
.iv-table tr.est-avertissement td:first-child[b-mf81ulrbfe] { box-shadow: inset 3px 0 0 #f59e0b; }
.iv-messages[b-mf81ulrbfe] { margin: 0; padding-left: 16px; display: flex; flex-direction: column; gap: 2px; }
.iv-messages li.est-erreur[b-mf81ulrbfe] { color: #b91c1c; }
.iv-messages li.est-avertissement[b-mf81ulrbfe] { color: #b45309; }
[data-theme="dark"] .iv-messages li.est-erreur[b-mf81ulrbfe] { color: #f87171; }
[data-theme="dark"] .iv-messages li.est-avertissement[b-mf81ulrbfe] { color: #fbbf24; }

.iv-actions[b-mf81ulrbfe] { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── Le bilan ─────────────────────────────────────────────────────────────── */
.iv-bilan[b-mf81ulrbfe] { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.iv-bilan h2[b-mf81ulrbfe] { font-size: 20px; font-weight: 600; margin: 0; color: var(--text-primary); }
.iv-bilan-marque[b-mf81ulrbfe] {
    width: 48px; height: 48px; border-radius: var(--radius-full);
    display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 24px; font-weight: 700;
}
.iv-bilan-marque.est-partiel[b-mf81ulrbfe] { background: #f59e0b; }
.iv-pastilles[b-mf81ulrbfe] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; }
.vente-import .header-actions[b-mf81ulrbfe] { flex-wrap: wrap; }
