        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 300;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 400;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 500;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 600;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 700;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
        }
        @font-face {
            font-family: 'Plus Jakarta Sans';
            font-style: normal;
            font-weight: 800;
            font-display: swap;
            src: url('/fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
        }

        :root {
            --nav-bg: rgba(26,26,46,0.95);
            --dark: #1a1a2e; --dark-light: #25253e;
            --purple: #6c5ce7; --purple-light: #a29bfe; --purple-pale: #f0eeff;
            --gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
            /* Pastilles numerotees : degrade du bouton « Se connecter » de
               l'application (`--btn-primary-bg` de static/css/tokens.css),
               repris tel quel. Le violet clair de `--gradient` se delave a
               18-24 px de diametre et les chiffres perdaient leur contraste.
               A garder aligne si le bouton de l'app change. */
            --num: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
            --num-ombre: 0 1px 3px rgba(79, 70, 229, 0.35);
            --text: #1a1a2e; --text-light: #555570; --text-muted: #6a6a83;
            --bg: #ffffff; --bg-alt: #f8f8fc; --border: #e8e8f0;
            --radius: 14px;
            --green: #10b981; --green-pale: #d1fae5;
            --amber: #eab308; --amber-pale: #fefce8;
            --blue: #1d4ed8; --blue-pale: #dbeafe;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background: var(--bg); }
        a { color: var(--purple); text-decoration: none; }
        a:hover { text-decoration: underline; }/* NAV */

        /* LAYOUT */
        .tuto-layout { display: flex; margin-top: 64px; min-height: calc(100vh - 64px); }

        /* SIDEBAR */
        .tuto-sidebar {
            width: 300px; min-width: 300px; background: #fff; border-right: 1px solid var(--border);
            overflow-y: auto; position: sticky; top: 64px; height: calc(100vh - 64px);
            padding: 16px 0 24px;
        }
        .sidebar-search {
            padding: 8px 16px 14px; position: sticky; top: 0;
            background: #fff; z-index: 2; border-bottom: 1px solid var(--border);
        }
        .sidebar-search input {
            width: 100%; padding: 8px 12px 8px 32px; font-size: 14px;
            border: 1px solid var(--border); border-radius: 8px;
            font-family: inherit; color: var(--text);
            background: var(--bg-alt) url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' stroke='%238888a0' stroke-width='1.8'/%3E%3Cpath d='M14 14l3 3' stroke='%238888a0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 10px center;
            transition: border-color .2s, background-color .2s;
        }
        .sidebar-search input:focus { border-color: var(--purple); background-color: #fff; }
        .sidebar-yt {
            display: flex; width: fit-content; align-items: center; gap: 8px; margin: 10px auto 0;
            padding: 5px 14px 5px 10px; border-radius: 100px;
            background: rgba(108, 92, 231, 0.08); border: 1px solid rgba(108, 92, 231, 0.2);
            color: var(--purple); font-size: 13px; font-weight: 600; line-height: 1.2;
            text-decoration: none; transition: background .2s, border-color .2s;
        }
        .sidebar-yt svg { flex-shrink: 0; }
        .sidebar-yt:hover { background: rgba(255, 0, 0, 0.08); border-color: rgba(255, 0, 0, 0.4); text-decoration: none; }
        .sidebar-yt:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
        .sidebar-label {
            font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
            padding: 16px 20px 6px; font-weight: 700; color: var(--text-muted);
        }
        .sidebar-label:first-child { padding-top: 8px; }
        /* `font-family: inherit` OBLIGATOIRE : un <button> ne prend pas la police
           de son parent, il prend celle du systeme. Les 16 titres de groupe de la
           barre laterale sortaient donc en Arial au milieu d'une page en Plus
           Jakarta Sans - le texte le plus visible de la page, affiche en
           permanence. `.faq-q`, `.glossary-toggle` et `.sidebar-search input`
           posaient deja la regle ; celui-ci avait ete oublie. */
        .sidebar-group {
            cursor: pointer; display: flex; align-items: center; gap: 0;
            padding: 7px 20px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text);
            border: none; background: none; width: 100%; text-align: left; transition: background .15s;
        }
        .sidebar-group:hover { background: rgba(0,0,0,0.025); }
        .sidebar-group.active-group {
            color: var(--purple); background: var(--purple-pale);
            border-left: 3px solid var(--purple); padding-left: 17px;
        }
        .sidebar-group.active-group .chevron { color: var(--purple); }
        .sidebar-group .chevron {
            width: 16px; height: 16px; flex-shrink: 0; margin-right: 6px;
            transition: transform .2s; color: var(--text-muted);
        }
        .sidebar-group.open .chevron { transform: rotate(90deg); }
        .sidebar-items { display: none; }
        .sidebar-items.open { display: block; }
        .sidebar-item {
            display: flex; align-items: center; justify-content: space-between;
            padding: 5px 20px 5px 42px; font-size: 14px; color: var(--text-light);
            text-decoration: none; transition: all .15s; border-left: 2px solid transparent; line-height: 1.5;
        }
        .sidebar-item:hover { background: rgba(108,92,231,0.04); color: var(--purple); text-decoration: none; }
        .sidebar-item.active { background: var(--purple-pale); color: var(--purple); font-weight: 600; border-left-color: var(--purple); }
        .si-tag {
            font-size: 12px; font-weight: 700; padding: 1px 5px; border-radius: 10px;
            flex-shrink: 0; margin-left: 6px; letter-spacing: 0.3px;
        }
        .si-asso { background: var(--blue-pale); color: var(--blue); }
        .si-both { background: var(--purple-pale); color: var(--purple); }
        .sidebar-empty {
            display: none; padding: 20px; text-align: center;
            color: var(--text-muted); font-size: 14px;
        }
        .sidebar-empty.visible { display: block; }

        /* CONTENT */
        /* min-width: 0 -> sans lui, le min-width:auto du flex item force la colonne
           a la largeur min-content de son plus large descendant (tableaux, schemas SVG)
           et fait deborder la page horizontalement sur telephone. */
        /* Visible des seuls lecteurs d'ecran : precisions de titre, lien d'evitement.
           `clip-path` plutot que `display:none`, qui retirerait le texte de
           l'arbre d'accessibilite au lieu de le rendre audible. */
        /* FOCUS CLAVIER - un seul point pour toute la page. `:focus-visible`
           et non `:focus` : la souris ne declenche pas le contour, le clavier si. */
        a:focus-visible, button:focus-visible, input:focus-visible,
        summary:focus-visible, [tabindex]:focus-visible {
            outline: 3px solid #4f46e5;
            outline-offset: 2px;
            border-radius: 4px;
        }


        /* Le sommaire, les lightbox et le bouton flottant n'ont pas de sens
           sur papier ; les blocs replies doivent au contraire s'ouvrir. */
        @media print {
            .tuto-sidebar, .tuto-sidebar-toggle, #main-nav, footer,
            .img-lightbox-overlay { display: none !important; }
            .tuto-content { max-width: none; padding: 0; }
            .faq-item .faq-a, .glossary-content, .sidebar-items { display: block !important; }
            .tuto-section { break-inside: avoid-page; }
            a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; }}

        /* Deplacements et transitions coupes pour qui les a desactives. */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: .001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: .001ms !important;
                scroll-behavior: auto !important;
            }}

        /* TAILLES (revues le 2026-09-04). Le texte courant etait a 13,5 px et
           une trentaine d'elements entre 9 et 12,5 px, sur un document de
           66 500 mots. Barème retenu : 16 px la prose, 15 px la prose
           secondaire, 14 px les mentions, 11 px le plancher des pastilles -
           celles-ci restent petites, ce sont des etiquettes d'un mot doublees
           par le texte. Ne pas redescendre sans mesurer. */
        /* Suite d'une puce ou d'une etape trop longue : meme colonne, un blanc
           au-dessus. Couper le <li> en deux aurait renumerote les etapes. */
        .tuto-section li > p.tuto-li-suite { margin: 8px 0 0; }

        .sr-only {
            position: absolute; width: 1px; height: 1px; padding: 0;
            margin: -1px; overflow: hidden; clip-path: inset(50%);
            white-space: nowrap; border: 0;
        }
        .tuto-content { flex: 1; min-width: 0; padding: 40px 60px; max-width: 920px; }
        /* ATTENTION : `.breadcrumb` est un <nav>, et `css/site-chrome.min.css`
           style l'ELEMENT nav pour la barre du site :
           `position:fixed; top:0; left:0; right:0; z-index:200; height:64px;
            padding:0 40px; display:flex; background:var(--nav-bg)`.
           Sans la remise a zero ci-dessous, le fil d'Ariane devient une bande
           bleu nuit fixee en haut de l'ecran (constate le 2026-09-04, contraste
           tombe a 2,84:1). Si la barre du site change un jour de proprietes,
           completer cette liste. */
        .breadcrumb {
            position: static; z-index: auto; height: auto; padding: 0;
            display: block; background: none; box-shadow: none;
            backdrop-filter: none; transition: none; border: none;
            font-size: 14px; color: var(--text-muted); margin-bottom: 8px;
        }
        .breadcrumb a { color: var(--text-muted); }
        .breadcrumb a:hover { color: var(--purple); }
        .tuto-content h1 {
            font-size: 32px; font-weight: 800; margin-bottom: 6px;
            background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        }
        .tuto-content .tuto-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

        /* BANDEAU D'EN-TETE (2026-08-22, demande de Joe : « le debut du tutoriel
           est un peu pauvre »). Un titre sur fond blanc suivi d'une ligne de
           sous-titre ne disait rien de la taille de la documentation.
           Registre visuel repris de la bande de resume de Revue banque
           (`.bq-resume`, static/css/revision_banque.css) : meme degrade
           indigo -> violet -> rose, meme bordure, memes tuiles blanches a 75 %.
           Les chiffres sont comptes dans la page, pas estimes - les recompter
           avec scripts/tuto_check_page.py apres tout ajout de section. */
        .tuto-hero {
            background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 55%, #fdf2f8 100%);
            border: 1px solid #c7d2fe; border-radius: var(--radius);
            box-shadow: 0 4px 14px rgba(99, 102, 241, 0.10);
            padding: 22px 26px; margin-bottom: 28px;
        }
        .tuto-hero-head { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
        .tuto-hero-tag {
            font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
            text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
            background: var(--blue-pale); color: var(--blue);
        }
        /* Degrade plus fonce que `--gradient` : sur le lavande du bandeau, le
           #a29bfe de la version claire passait sous le seuil de contraste. */
        .tuto-hero h1 {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            margin-bottom: 6px;
        }
        .tuto-hero .tuto-subtitle {
            font-size: 15px; color: #4c4a6a; margin-bottom: 18px; line-height: 1.6;
        }
        .tuto-hero-stats {
            display: grid; gap: 10px;
            grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr));
        }
        .tuto-hero-stat {
            background: rgba(255, 255, 255, 0.75); border: 1px solid #e0e7ff;
            border-radius: 10px; padding: 9px 12px;
            display: flex; flex-direction: column; gap: 2px;
        }
        .ths-val {
            font-size: 20px; font-weight: 800; color: #312e81;
            font-variant-numeric: tabular-nums; line-height: 1.15;
        }
        .ths-lbl {
            font-size: 12px; font-weight: 700; text-transform: uppercase;
            letter-spacing: 0.05em; color: var(--text-muted);
        }
        .tuto-hero-stat-fort {
            background: #fff; border: 1.5px solid #a5b4fc;
            box-shadow: 0 2px 8px rgba(79, 70, 229, 0.14);
        }
        .tuto-hero-stat-fort .ths-val { font-size: 24px; }
        .tuto-hero-stat-fort .ths-lbl { color: #4338ca; }

        /* HERO - PAR OÙ COMMENCER */
        .hero-start {
            background: linear-gradient(135deg, #1a1a2e 0%, #2d2d52 100%);
            color: #fff; border-radius: var(--radius); padding: 28px 30px; margin-bottom: 32px;
            box-shadow: 0 8px 30px rgba(26,26,46,0.18);
        }
        .hero-start h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: #fff; border: none; padding: 0; }
        .hero-start p.lead { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 20px; line-height: 1.6; }
        .hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .hero-paths--seul { grid-template-columns: 1fr; }
        .hero-path {
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 10px; padding: 18px 20px; transition: all .2s;
        }
        .hero-path:hover { background: rgba(255,255,255,0.09); border-color: var(--purple-light); transform: translateY(-2px); }
        .hero-path-tag {
            display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
            padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase;
        }
        .hero-path-tag.asso { background: rgba(29,78,216,0.25); color: #93c5fd; }
        .hero-path h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; border: none; padding: 0; }
        .hero-path ol { list-style: none; padding: 0; margin: 0; counter-reset: hstep; }
        .hero-path ol li {
            counter-increment: hstep; position: relative; padding: 5px 0 5px 26px;
            font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.5;
        }
        .hero-path ol li::before {
            content: counter(hstep); position: absolute; left: 0; top: 5px;
            width: 19px; height: 19px; border-radius: 50%; background: var(--num);
            color: #fff; font-weight: 700; font-size: 11px;
            display: flex; align-items: center; justify-content: center;
            box-shadow: var(--num-ombre);
        }
        .hero-path ol li a { color: var(--purple-light); font-weight: 600; }
        .hero-path ol li a:hover { color: #fff; }

        /* GLOSSAIRE */
        .glossary-box {
            background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
            margin-bottom: 32px; overflow: hidden;
        }
        .glossary-toggle {
            width: 100%; text-align: left; background: none; border: none; cursor: pointer;
            padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
            font-family: inherit; font-size: 14px; font-weight: 700; color: var(--text);
        }
        .glossary-toggle:hover { background: rgba(0,0,0,0.02); }
        .glossary-toggle .chev { transition: transform .2s; }
        .glossary-box.open .glossary-toggle .chev { transform: rotate(180deg); }
        .glossary-content {
            display: none; padding: 0 20px 20px; border-top: 1px solid var(--border);
        }
        .glossary-box.open .glossary-content { display: block; }
        .glossary-list {
            display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding-top: 14px;
        }
        .glossary-list dt {
            font-weight: 700; color: var(--purple); font-size: 15px;
        }
        .glossary-list dd {
            font-size: 15px; color: var(--text-light); line-height: 1.55;
            margin-bottom: 8px; padding-left: 2px;
        }

        /* CHAPTER */
        .tuto-chapter {
            display: flex; align-items: center; gap: 14px;
            margin: 48px 0 24px; padding: 14px 20px;
            background: var(--dark); border-radius: var(--radius);
        }
        .tuto-chapter-icon {
            width: 36px; height: 36px; border-radius: 8px; background: var(--gradient);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        }
        .tuto-chapter-icon svg { width: 18px; height: 18px; }
        .tuto-chapter h2 {
            font-size: 16px; font-weight: 800; letter-spacing: -0.3px;
            background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            margin: 0; border: none; padding: 0;
        }
        .tuto-chapter p { font-size: 14px; color: #fff; margin: 1px 0 0; }

        /* SECTION */
        .tuto-section {
            margin-bottom: 16px; scroll-margin-top: 80px;
            background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
            padding: 24px 28px;
            box-shadow: 0 2px 8px rgba(26,26,46,0.05);
            transition: box-shadow .2s;
        }
        .tuto-section:hover { box-shadow: 0 4px 18px rgba(108,92,231,0.10); }
        .tuto-section-header {
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap; gap: 8px; margin-bottom: 4px;
            padding-bottom: 10px; border-bottom: 2px solid var(--border);
        }
        .tuto-section-header h3 {
            font-size: 18px; font-weight: 700; color: var(--text);
            margin: 0; padding: 0; border: none;
        }
        /* flex-wrap : sous 320 px, le badge du public et la duree cote a cote
           reclament 246 px pour 238 utiles. Depuis que la duree est insecable
           (« 5 min » ne se coupe plus en deux lignes), elle ne peut plus se
           retrecir : c est a la ligne de passer au retour. */
        .tuto-section-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
        .badge {
            font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px;
            letter-spacing: 0.3px;
        }
        .badge-asso { background: var(--blue-pale); color: var(--blue); }
        /* Audit responsive 2026-10-28 : plancher de 12 px sous 900 px pour les
           etiquettes en capitales (10 a 10,5 px avant) et l'en-tete des OD (11 px) ; specificite relevee : les regles d'origine sont plus bas, comme les lots N et V8. */
        @media (max-width: 900px) {
            .tuto-hero-tag, .ths-lbl, .hero-path-tag, .badge, .tuto-od .tuto-od-header span,
            .scenario-card span.scenario-tag { font-size: 12px; }}
        .duration {
            display: inline-flex; align-items: center; gap: 4px;
            font-size: 12.5px; font-weight: 600; color: var(--text-muted);
            padding: 2px 10px; border-radius: 20px; background: var(--bg-alt);
        }
        .duration svg { width: 11px; height: 11px; }

        .tuto-section h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 16px 0 6px; }

        /* BANDEAU DE SOUS-PARTIE (2026-08-22, demande de Joe sur capture).
           Une section fait souvent 300 lignes et enchaine plusieurs sujets
           (« Les quatre roles », puis « Qui a le droit de faire quoi ») ; les
           titres intermediaires etaient du texte gris de 14 px, noyes entre un
           paragraphe et un tableau. Meme degrade que `.tuto-hero`, plus un
           liseré indigo a gauche pour accrocher l'oeil au survol de la page.

           `>` A DESSEIN : seuls les titres poses DIRECTEMENT dans la section
           sont des sous-parties. Les `<h4>` des encarts `.tuto-feature`
           portent deja le violet de l'encart, et ceux du hero sont sur fond
           sombre - le degrade clair les rendrait illisibles.

           NIVEAUX (repris le 2026-09-04) : h1 page, h2 chapitre, h3 tutoriel,
           h4 sous-partie, h5 sous-sous-partie. Avant cette date chapitres ET
           tutoriels etaient tous en h2, et le plan de la page ne montrait
           aucune imbrication. Ne pas re-styler par balise sans decaler la
           regle correspondante : le rendu ne tient qu'a ce couple. */
        .tuto-section > h4 {
            background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 55%, #fdf2f8 100%);
            border: 1px solid #c7d2fe; border-left: 3px solid #6366f1;
            border-radius: 8px; padding: 9px 14px;
            margin: 26px 0 12px; font-size: 14.5px; font-weight: 700;
            color: #312e81;
        }
        /* Le premier de la section suit l'en-tete : moins d'air au-dessus. */
        .tuto-section > h4:first-of-type { margin-top: 16px; }
        .tuto-section h5 { font-size: 14px; font-weight: 700; color: var(--purple); margin: 18px 0 6px; text-transform: uppercase; letter-spacing: 0.4px; }
        .tuto-section p { font-size: 16px; line-height: 1.7; color: var(--text-light); margin: 0 0 18px; }
        /* Les 17 <code> de la page (numeros de facture, de NDF, de compte,
           extensions de fichier) n'avaient AUCUNE regle : ils tombaient sur la
           chasse fixe du navigateur, seule chose qui les distinguait. Le projet
           a tranche l'inverse cote app (`tokens.css` : --font-mono = --font-sans,
           « une seule police dans toute l'appli »), l'alignement des chiffres
           passant par `tabular-nums`. On garde donc la distinction, mais par la
           graisse et la couleur - comme `.tuto-od td.compte` juste au-dessus. */
        .tuto-content code {
            font-family: inherit; font-weight: 600; color: var(--purple);
            font-variant-numeric: tabular-nums;
            /* un nom de fichier sans point de coupure (824156037FEC20251231.txt, 208 px)
               sortait de 16 px de son etape a 390 px (audit responsive 2026-10-28). */
            overflow-wrap: anywhere;
        }
        .tuto-section ul { margin: 0 0 18px 18px; }
        .tuto-section li { font-size: 16px; line-height: 1.7; color: var(--text-light); margin-bottom: 6px; }
        .tuto-section li strong { color: var(--text); }

        /* PREREQ */
        .prereq-box {
            background: var(--purple-pale); border-left: 3px solid var(--purple);
            padding: 10px 14px; border-radius: 0 6px 6px 0;
            margin: 12px 0; font-size: 15px; color: var(--text); line-height: 1.6;
        }
        .prereq-box strong { color: var(--purple); }
        .prereq-box a { font-weight: 600; }

        /* Cases des parcours de demarrage. La case est INSEREE par le script,
           le HTML des <li> reste une simple liste de liens.

           La CIBLE fait 24 px de cote (WCAG 2.5.8 AA) alors que le carre VISIBLE
           en fait toujours 15 : l'input porte la cible, et ses deux
           pseudo-elements peignent le carre puis la coche. Les marges verticales
           negatives de 4,5 px ramenent la boite de MARGE a 15 px : la ligne, la
           hauteur des <li> et l'abscisse du lien ne bougent alors pas d'un pixel
           (mesure avant/apres du 2026-08-30). Le <li> ne peut pas passer en flex
           pour arriver au meme resultat : il porte du texte en ligne autour du
           lien, qui deviendrait autant d'elements flex insecables.
           Ne pas redonner sa taille a l'input : la cible retomberait a 15 x 15. */
        .hero-check {
            appearance: none; -webkit-appearance: none; flex: 0 0 auto;
            width: 24px; height: 24px; box-sizing: border-box;
            margin: -4.5px 3.5px -4.5px -4.5px; vertical-align: -2px;
            border: none; background: transparent;
            cursor: pointer; position: relative;
        }
        .hero-check::before {
            content: ""; position: absolute; left: 50%; top: 50%;
            transform: translate(-50%, -50%);
            width: 15px; height: 15px; box-sizing: border-box;
            border: 1.5px solid var(--border); border-radius: 4px;
            background: var(--bg);
        }
        .hero-check:hover::before { border-color: var(--purple-light); }
        .hero-check:checked::before { background: var(--purple); border-color: var(--purple); }
        .hero-check:checked::after {
            content: ""; position: absolute; left: 50%; top: 50%;
            width: 4px; height: 8px; border: solid #fff;
            border-width: 0 2px 2px 0;
            transform: translate(-60%, -62%) rotate(45deg);
        }
        .hero-path ol > li.fait { color: var(--text-muted); }
        .hero-path ol > li.fait a { color: var(--text-muted); text-decoration: line-through; }
        .hero-missions-titre { margin-top: 26px; font-size: 18px; }

        /* RENVOI VERS LES PAGES MODULE (refait le 2026-08-20).
           C'etait une phrase de huit liens separes par des points mediants, en
           styles INLINE : illisible des que la ligne se coupait, et impossible
           a retoucher sans rouvrir chaque balise. Desormais une grille de deux
           colonnes, une ligne par module, avec la pastille de couleur du module
           telle qu'elle apparait sur le portail. Les deux modules qui manquaient
           (Espace documents, Administration) ont ete ajoutes au passage. */
        .modules-cross {
            max-width: 900px; margin: 8px auto 24px; padding: 20px 24px;
            background: rgba(108, 92, 231, 0.06);
            border: 1px solid rgba(108, 92, 231, 0.18); border-radius: 14px;
        }
        .modules-cross h3 { margin: 0 0 6px; font-size: 18px; }
        .mc-intro { margin: 0 0 14px; font-size: 14px; color: var(--text-light); }
        .mc-liste {
            list-style: none; margin: 0; padding: 0;
            display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 2px 18px;
        }
        .mc-liste a {
            display: grid; grid-template-columns: auto 1fr; align-items: baseline;
            column-gap: 9px; padding: 7px 10px; border-radius: 8px;
            text-decoration: none; color: inherit;
        }
        .mc-liste a:hover { background: rgba(108, 92, 231, 0.10); }
        .mc-point {
            width: 9px; height: 9px; border-radius: 50%; background: var(--mc, var(--purple));
            grid-row: 1 / span 2; align-self: center;
        }
        .mc-nom { font-size: 15px; font-weight: 600; color: var(--purple); }
        .mc-desc { font-size: 14px; color: var(--text-muted); line-height: 1.45; }
        @media (max-width: 640px) {
            .mc-liste { grid-template-columns: 1fr; }}

        /* MATRICE ROLE x MODULE (2026-08-20). Un tableau plutot qu'un SVG :
           il se lit au lecteur d'ecran, il se cherche par la recherche de page,
           et il se corrige sans rouvrir un outil de dessin. Les six roles de
           `ROLE_CHOICES`, pas les quatre du formulaire d'invitation. */
        .tuto-matrice-legende {
            display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 8px;
            font-size: 12px; color: var(--text-light);
        }
        .tuto-matrice-legende b { margin-right: 5px; font-size: 14px; }
        .tuto-matrice td { text-align: center; font-size: 14px; }
        .tuto-matrice th[scope="row"] { text-align: left; white-space: nowrap; }
        .tuto-matrice .m-oui { color: #059669; font-weight: 700; }
        .tuto-matrice .m-vue { color: var(--purple); }
        .tuto-matrice .m-non { color: var(--text-muted); }
        .m-oui { color: #059669; }
        .m-vue { color: var(--purple); }
        .m-non { color: var(--text-muted); }
        .m-src {
            display: block; font-size: 12.5px; font-weight: 400;
            color: var(--text-muted); white-space: nowrap;
        }

        /* CAS PARTICULIER - replie par defaut (2026-08-20, demande de Joe).
           Trois niveaux desormais, un seul code couleur par niveau :
           .tuto-warning (rouge) = danger ou geste irreversible, toujours visible ;
           .tuto-tip (ambre)     = astuce utile au cas GENERAL, visible ;
           .tuto-cas (neutre)    = situation minoritaire, ouverte a la demande.
           Motif : 183 encarts ambre sur 101 sections, jusqu'a 11 sur un seul ecran
           (asso-mon-compte) - une page qui clignote en jaune se lit comme une page
           d'avertissements, et le lecteur non initie s'y perd. Le texte reste dans
           le DOM (`details` ne le retire pas), donc la recherche de page continue
           de le trouver et l'ancre du sommaire tombe toujours juste. */
        .tuto-cas {
            margin: 12px 0; border: 1px solid var(--border); border-radius: 8px;
            background: var(--bg-alt); font-size: 15px;
        }
        .tuto-cas > summary {
            cursor: pointer; padding: 9px 34px 9px 14px; font-weight: 600;
            color: var(--text-light); list-style: none; position: relative;
            line-height: 1.5;
        }
        .tuto-cas > summary::-webkit-details-marker { display: none; }
        .tuto-cas > summary::after {
            content: "+"; position: absolute; right: 13px; top: 50%;
            transform: translateY(-50%); font-size: 15px; font-weight: 700;
            color: var(--text-muted); line-height: 1;
        }
        .tuto-cas[open] > summary::after { content: "−"; }
        .tuto-cas[open] > summary { border-bottom: 1px solid var(--border); color: var(--text); }
        .tuto-cas > summary:hover { color: var(--purple); }
        .tuto-cas-corps { padding: 10px 14px 12px; color: var(--text-light); line-height: 1.65; }

        /* TIP et WARNING - rail lateral (choix de Joe, 2026-09-13 : fusion des
           maquettes 02 et 05). Version corrigee le 2026-09-13 : la premiere
           mouture utilisait une grille a deux colonnes, en pariant qu'un
           contenu sans element de type bloc tiendrait dans UN seul element
           anonyme. C'est faux : une grille transforme CHAQUE element enfant en
           element de grille, y compris un enfant en ligne. Un encadre qui met
           un mot en gras ou pose un lien se retrouvait donc avec trois ou
           quatre elements de grille, et son texte partait dans la colonne du
           rail, un mot par ligne. 207 encadres sur 209 etaient touches.
           Ne PAS ecrire de balise en toutes lettres dans ce commentaire :
           `tuto_check_page.py` compte les ouvrantes et les fermantes sur toute
           la page, commentaire CSS compris, et sort en BLOQUANT sur un
           desequilibre imaginaire.
           Le rail est donc tenu par `padding-left` (92 px = 70 px de rail +
           22 px de gouttiere) et par un degrade de fond, pas par une bordure :
           la teinte court jusqu'a 69 px, le 70e porte le filet. L'icone est le
           ::before, positionne en absolu dans le rail. En dessous de 600 px,
           le rail passe a 48 px et le retrait a 63 px. */
        .tuto-tip, .tuto-warning {
            --cal-dark: #754607; --cal-tint: #fffbed;
            --cal-line: #ecdcad; --cal-rail: #fff0bc;
            position: relative;
            margin: 16px 0; padding: 22px 24px 23px 92px;
            border: 1px solid var(--cal-line); border-radius: 12px;
            background-image: linear-gradient(to right,
                var(--cal-rail) 0 69px, var(--cal-line) 69px 70px, var(--cal-tint) 70px);
            font-size: 15px; line-height: 1.75; color: #475569;
        }
        .tuto-warning {
            --cal-dark: #881c2d; --cal-tint: #fff3f4;
            --cal-line: #f0cbd0; --cal-rail: #fbe2e6;
        }
        .tuto-tip::before, .tuto-warning::before {
            content: ""; position: absolute; top: 22px; left: 15px;
            width: 40px; height: 40px;
            border: 1px solid var(--cal-line); border-radius: 10px;
            background-color: rgba(255, 255, 255, .72);
            background-repeat: no-repeat; background-position: center;
            background-size: 23px 23px;
        }
        /* `currentColor` ne traverse pas une image de fond : la teinte du trait
           est ecrite dans le SVG, elle se change donc ICI et pas dans --cal-*. */
        .tuto-tip::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396620a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6m-5 3h4M8.5 14.5a6 6 0 1 1 7 0c-1 .7-1.5 1.5-1.5 3.5h-4c0-2-.5-2.8-1.5-3.5Z'/%3E%3Cpath d='m10 9 2 2 2-2m-2 2v6'/%3E%3C/svg%3E");
        }
        .tuto-warning::before {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42332' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8 13.8A2 2 0 0 0 4 20.7h16a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3Cpath d='M12 8v5m0 3h.01'/%3E%3C/svg%3E");
        }
        .tuto-tip strong, .tuto-warning strong { color: var(--cal-dark); font-weight: 700; }
        @media (max-width: 600px) {
            .tuto-tip, .tuto-warning {
                padding: 18px 16px 20px 63px;
                background-image: linear-gradient(to right,
                    var(--cal-rail) 0 47px, var(--cal-line) 47px 48px, var(--cal-tint) 48px);
            }
            .tuto-tip::before, .tuto-warning::before {
                top: 18px; left: 9px;
                width: 30px; height: 30px; border-radius: 8px; background-size: 19px 19px;
            }}
        /* Sans ca, une impression sort le rail et la teinte en blanc, et les
           deux niveaux d'encadre deviennent impossibles a distinguer sur papier. */
        @media print {
            .tuto-tip, .tuto-warning {
                -webkit-print-color-adjust: exact; print-color-adjust: exact;
                break-inside: avoid;
            }}

        /* TUTO IMAGE */
        .tuto-img {
            margin: 14px 0; border-radius: 10px; overflow: hidden; scroll-margin-top: 80px;
            background: var(--bg-alt); border: 1px solid var(--border);
            box-shadow: 0 2px 8px rgba(26,26,46,0.05);
            transition: box-shadow .2s;
        }
        .tuto-img:hover { box-shadow: 0 4px 16px rgba(108,92,231,0.12); }
        .tuto-img img {
            display: block; width: 100%; height: auto; cursor: zoom-in;
        }
        .tuto-img figcaption {
            padding: 8px 14px; font-size: 14px; color: var(--text-muted);
            font-weight: 500; background: #fff; border-top: 1px solid var(--border);
        }
        /* Captures telephone : meme cadre et meme standard que la vitrine
           (application.html) - capture pleine page en 390x844 @2x, qui defile
           a l'interieur de l'ecran. Seules les couleurs sont retaillees pour
           le fond clair des tutoriels. */
        .tuto-phone {
            display: flex; flex-direction: column; align-items: center;
            gap: 12px; margin: 18px 0;
        }
        .phone-frame {
            /* 244 px fixes debordaient de la carte sous 360 px (236 px utiles a
               320 px). L'aspect-ratio de l'ecran fait le reste. */
            width: min(244px, 100%); padding: 11px; border-radius: 40px;
            background: linear-gradient(155deg, #232336 0%, #12121e 100%);
            box-shadow: 0 18px 44px rgba(26,26,46,0.28),
                        0 0 0 1px rgba(26,26,46,0.08),
                        inset 0 0 0 2px rgba(255,255,255,0.05);
            position: relative;
            transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
        }
        .phone-frame:hover {
            transform: translateY(-6px);
            box-shadow: 0 28px 66px rgba(108,92,231,0.24),
                        0 0 0 1px rgba(108,92,231,0.22),
                        inset 0 0 0 2px rgba(255,255,255,0.06);
        }
        .phone-frame::before {
            content: ''; position: absolute; top: 18px; left: 50%;
            transform: translateX(-50%); width: 84px; height: 6px;
            border-radius: 100px; background: rgba(0,0,0,0.55); z-index: 3;
        }
        .phone-screen {
            width: 100%; border-radius: 30px;
            overflow-y: auto; overflow-x: hidden;
            background: #0d0d1a; aspect-ratio: 390 / 844; position: relative;
            -webkit-overflow-scrolling: touch; scrollbar-width: none;
        }
        .phone-screen::-webkit-scrollbar { display: none; }
        .phone-screen img {
            width: 100%; height: auto; display: block; cursor: zoom-in;
        }
        .phone-frame::after {
            content: '\2195 Faites défiler'; position: absolute; bottom: 20px;
            left: 50%; transform: translateX(-50%);
            background: rgba(13,13,26,0.82); color: rgba(255,255,255,0.9);
            font-size: 11px; font-weight: 600; padding: 6px 13px;
            border-radius: 100px; backdrop-filter: blur(6px);
            pointer-events: none; z-index: 3; transition: opacity .3s;
            box-shadow: 0 4px 14px rgba(0,0,0,0.4);
        }
        .phone-frame:hover::after { opacity: 0; }
        .tuto-phone figcaption {
            font-size: 14px; color: var(--text-muted); font-weight: 500;
            text-align: center; max-width: 300px; line-height: 1.5;
        }
        /* Schema radial (SVG inline) : pas d'image a regenerer quand un libelle
           change, et le texte reste selectionnable. Sous 820 px, le schema
           defile horizontalement plutot que de devenir illisible. */
        .tuto-schema {
            margin: 18px 0; padding: 16px 12px; border: 1px solid var(--border);
            border-radius: 12px; background: var(--bg-alt); overflow-x: auto;
            cursor: zoom-in; position: relative;
        }
        .tuto-schema:hover { border-color: var(--purple-light); }
        .tuto-schema::after {
            content: 'Cliquez pour agrandir'; position: absolute; top: 8px; right: 12px;
            font-size: 11px; color: var(--text-muted); opacity: 0; transition: opacity .2s;
        }
        .tuto-schema:hover::after { opacity: 1; }
        .tuto-schema svg { display: block; width: 100%; min-width: 660px; height: auto; margin: 0 auto; }
        /* Couleurs reprises des tuiles du portail : Adhérents #f59e0b,
           Notes de frais #8b5cf6, Gestion Comptable #10b981. */
        .sc-lien { fill: none; stroke-width: 2; stroke-linecap: round; }
        .sc-lien-adh { stroke: rgba(245,158,11,0.55); }
        .sc-lien-ndf { stroke: rgba(139,92,246,0.55); }
        .sc-lien-compta { stroke: rgba(16,185,129,0.55); }
        .sc-lien-passerelle { stroke: #f59e0b; stroke-width: 2.5; stroke-dasharray: 6 5; }
        .sc-lien-retour { stroke: #f59e0b; stroke-width: 2.5; stroke-dasharray: 6 5; }
        .sc-retour-txt { font-size: 14px; fill: #b45309; }
        .sc-retour-fort { font-weight: 700; }
        /* Schema « origine des ecritures » : cartes + liens flechés.
           Traits epais et ports visibles pour qu'on voie ce qui relie quoi. */
        .fx-carte {
            fill: #fff; stroke: #e2e8f0; stroke-width: 1.5;
        }
        .fx-bord { stroke: none; }
        .fx-b-vert { fill: #10b981; }
        .fx-b-violet { fill: #8b5cf6; }
        .fx-b-bleu { fill: #0284c7; }
        .fx-port { stroke: #fff; stroke-width: 2; }
        .fx-p-vert { fill: #10b981; }
        .fx-p-violet { fill: #8b5cf6; }
        .fx-p-bleu { fill: #0284c7; }
        .fx-lien { fill: none; stroke-width: 2.5; stroke-linecap: round; }
        .fx-vert { stroke: #10b981; }
        .fx-violet { stroke: #8b5cf6; }
        .fx-bleu { stroke: #0284c7; }
        .fx-module {
            font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
            text-transform: uppercase;
        }
        .fx-m-vert { fill: #047857; }
        .fx-m-violet { fill: #6d28d9; }
        .fx-m-bleu { fill: #0369a1; }
        .fx-titre { font-size: 16px; font-weight: 700; fill: #0f172a; }
        .fx-desc { font-size: 15px; fill: #475569; }
        /* Chips journal : un code = une couleur, reprise dans la legende du hub. */
        .fx-chip-txt {
            font-size: 11.5px; font-weight: 700; fill: #fff; text-anchor: middle;
            letter-spacing: .04em;
        }
        .fx-chip-bq { fill: #10b981; }
        .fx-chip-od { fill: #0d9488; }
        .fx-chip-an { fill: #d97706; }
        .fx-chip-nd { fill: #8b5cf6; }
        .fx-chip-ha { fill: #0284c7; }
        .fx-chip-ve { fill: #e11d48; }
        .fx-rose { stroke: #f43f5e; }
        .fx-b-rose { fill: #fb7185; }
        .fx-p-rose { fill: #f43f5e; }
        .fx-m-rose { fill: #be123c; }
        .fx-bloc { fill: #fff; stroke: #10b981; stroke-width: 2; }
        .fx-bloc-vert { fill: #ecfdf5; }
        .fx-bloc-titre {
            font-size: 16px; font-weight: 700; fill: #0f172a; text-anchor: middle;
        }
        .fx-bloc-note { font-size: 14px; fill: #475569; text-anchor: middle; }
        .fx-legende { font-size: 14px; fill: #334155; }
        .fx-colonne {
            font-size: 14px; font-weight: 700; letter-spacing: .06em;
            text-transform: uppercase;
        }
        .fx-col-vert { fill: #047857; }
        .fx-col-rouge { fill: #b91c1c; }
        /* Schema « parcours d'une note de frais » : meme grammaire de cartes,
           l'acteur se lit a la couleur du bord (lilas = benevole,
           violet = tresorier, vert = fait par le logiciel). */
        .fx-col-violet { fill: #6d28d9; }
        .fx-b-lilas { fill: #c4b5fd; }
        .fx-b-ambre { fill: #f59e0b; }
        .fx-m-lilas { fill: #8b5cf6; }
        .fx-m-ambre { fill: #b45309; }
        .ndf-info { fill: #f5f3ff; stroke: #8b5cf6; stroke-width: 2; }
        .ndf-info-titre {
            font-size: 14px; font-weight: 700; letter-spacing: .05em;
            text-transform: uppercase; fill: #6d28d9;
        }
        .ndf-info-txt { font-size: 15px; fill: #4c1d95; }
        /* Schemas « import bancaire » et « cloture » : meme grammaire, decline
           en vert comptable. Ces classes existent parce qu'un attribut fill=
           pose sur la balise est battu par le CSS : il faut une classe. */
        .imp-info { fill: #ecfdf5; stroke: #10b981; stroke-width: 2; }
        .imp-info-titre {
            font-size: 14px; font-weight: 700; letter-spacing: .05em;
            text-transform: uppercase; fill: #047857;
        }
        .imp-info-txt { font-size: 15px; fill: #065f46; }
        .sc-noeud-bleu { stroke: #0284c7; }
        .sc-num-bleu { fill: #0369a1; }
        .fx-exclu { fill: #fef2f2; stroke: #f87171; stroke-width: 2; stroke-dasharray: 7 5; }
        .fx-exclu-titre {
            font-size: 14px; font-weight: 700; letter-spacing: .05em;
            text-transform: uppercase; fill: #b91c1c;
        }
        .fx-exclu-txt { font-size: 15px; fill: #7f1d1d; }
        .sc-lien-fac { stroke: rgba(236,72,153,0.55); }
        .sc-lien-ha { stroke: rgba(16,185,129,0.4); }
        .sc-badge-fac { fill: #ec4899; }
        .sc-jrn {
            font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
            fill: var(--text-light); text-anchor: end;
        }
        .sc-hors { fill: #f8fafc; stroke: #cbd5e1; stroke-width: 1.5; stroke-dasharray: 5 4; }
        .sc-etape-hors { fill: #64748b; }
        .sc-noeud { fill: #fff; stroke-width: 2; }
        .sc-noeud-adh { stroke: #f59e0b; }
        .sc-noeud-ndf { stroke: #8b5cf6; }
        .sc-noeud-compta { stroke: #10b981; }
        .sc-noeud-passerelle { fill: #fffbeb; stroke: #f59e0b; }
        .sc-hub-adh { fill: #fffbeb; stroke: #f59e0b; stroke-width: 2.5; }
        .sc-hub-compta { fill: #ecfdf5; stroke: #10b981; stroke-width: 2.5; }
        .sc-num { font-size: 16px; font-weight: 700; text-anchor: middle; }
        .sc-num-adh { fill: #b45309; }
        .sc-num-ndf { fill: #7c3aed; }
        .sc-num-compta { fill: #047857; }
        .sc-badge-adh { fill: #f59e0b; }
        .sc-badge-ndf { fill: #8b5cf6; }
        .sc-badge-compta { fill: #10b981; }
        .sc-badge-txt {
            font-size: 10px; font-weight: 700; letter-spacing: .06em;
            fill: #fff; text-transform: uppercase;
        }
        .sc-titre { font-size: 15.5px; font-weight: 700; fill: var(--text); }
        .sc-titre-c { font-size: 15.5px; font-weight: 700; fill: var(--text); text-anchor: middle; }
        .sc-note { font-size: 15px; fill: var(--text-light); }
        .sc-note-fin { text-anchor: end; }
        .sc-hub-titre { font-size: 15px; font-weight: 700; fill: var(--text); text-anchor: middle; }
        .sc-hub-note { font-size: 14px; fill: var(--text-light); text-anchor: middle; }
        .sc-etape {
            font-size: 14px; font-weight: 700; letter-spacing: .05em;
            text-transform: uppercase;
        }
        .sc-etape-in { fill: #0f172a; }
        .sc-etape-out { fill: #047857; }
        .sc-etape-c { text-anchor: middle; }
        .sc-carte-fin { fill: #ecfdf5; stroke: #10b981; stroke-width: 2.5; }
        .sc-aide { fill: #f8fafc; stroke: #0f172a; stroke-width: 1.8; }
        .sc-aide-titre {
            font-size: 13px; font-weight: 700; letter-spacing: .06em;
            text-transform: uppercase; fill: #0f172a;
        }
        .sc-aide-txt { font-size: 14px; fill: #334155; }
        .sc-etape-passerelle { fill: #b45309; }
        .sc-legende { font-size: 14px; fill: var(--text-light); text-anchor: middle; }
        .sc-pass-libelle { font-size: 14px; font-weight: 700; fill: #b45309; text-anchor: middle; }
        .sc-pass-gauche { text-anchor: start; }
        .img-lightbox-overlay {
            display: none; position: fixed; inset: 0; z-index: 1200;
            background: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
            align-items: center; justify-content: center; padding: 24px;
        }
        .img-lightbox-overlay.active { display: flex; }
        .img-lightbox-overlay img {
            max-width: 95vw; max-height: 92vh; border-radius: 8px;
            box-shadow: 0 24px 80px rgba(0,0,0,0.6);
        }
        /* Zoom d'un schema : le SVG est inline dans la page (ses couleurs
           viennent du CSS ci-dessus), on ne peut donc pas le passer a la
           balise <img> de la lightbox - on en clone le noeud ici. */
        #imgLightboxSvg {
            display: none; width: min(96vw, 1400px); max-height: 92vh;
            overflow: auto; background: #fff; border-radius: 10px; padding: 18px 16px;
            box-shadow: 0 24px 80px rgba(0,0,0,0.6);
        }
        #imgLightboxSvg svg { display: block; width: 100%; height: auto; }
        .img-lightbox-close {
            position: fixed; top: 20px; right: 28px;
            font-size: 36px; color: #fff; cursor: pointer;
            line-height: 1; opacity: 0.8; transition: opacity .2s; z-index: 1201;
        }
        .img-lightbox-close:hover { opacity: 1; }
        /* Ce sont desormais de vrais <button> : on efface le style natif. */
        .img-lightbox-close {
            background: none; border: none; padding: 0; font-family: inherit;
        }


        /* IMAGE & VIDEO PLACEHOLDERS */
        .media-ph {
            border: 2px dashed var(--border); border-radius: 10px;
            background: var(--bg-alt); padding: 22px 20px; margin: 14px 0;
            display: flex; align-items: flex-start; gap: 14px;
        }
        .media-ph-icon {
            width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
            background: var(--purple-pale); color: var(--purple);
        }
        .media-ph-icon.video { background: #fde2e4; color: #dc2626; }
        .media-ph-icon svg { width: 22px; height: 22px; }
        .media-ph-body { flex: 1; }
        .media-ph-label {
            font-size: 10px; font-weight: 700; text-transform: uppercase;
            letter-spacing: 0.8px; color: var(--purple); margin-bottom: 4px;
        }
        .media-ph-label.video { color: #dc2626; }
        .media-ph-title {
            font-size: 15px; font-weight: 700; color: var(--text);
            margin-bottom: 4px; line-height: 1.4;
        }
        .media-ph-desc {
            font-size: 14px; color: var(--text-light); line-height: 1.55; font-style: italic;
        }

        /* STEPS */
        .tuto-steps { counter-reset: step; margin: 10px 0; padding: 0; list-style: none; }
        .tuto-steps li {
            counter-increment: step; position: relative; padding: 10px 14px 10px 44px;
            background: var(--bg-alt); border-radius: 6px; margin-bottom: 6px;
            font-size: 16px; line-height: 1.6; color: var(--text-light);
        }
        .tuto-steps li::before {
            content: counter(step); position: absolute; left: 10px; top: 10px;
            width: 24px; height: 24px; border-radius: 50%; background: var(--num);
            color: #fff; font-weight: 700; font-size: 12px;
            display: flex; align-items: center; justify-content: center;
            box-shadow: var(--num-ombre);
        }
        .tuto-steps li ul {
            list-style: disc; padding-left: 22px; margin: 6px 0 2px; background: none;
        }
        .tuto-steps li ul li {
            counter-increment: none;
            padding: 2px 0; background: none; border-radius: 0;
            margin-bottom: 4px; font-size: 15px;
        }
        .tuto-steps li ul li::before { display: none; content: none; }

        /* LISTE A PUCES (enumerations hors etapes numerotees) */
        .tuto-liste {
            list-style: disc; margin: 10px 0; padding-left: 24px;
        }
        .tuto-liste li {
            font-size: 16px; line-height: 1.7; color: var(--text-light);
            margin-bottom: 6px;
        }

        /* FAQ */
        .faq-block {
            margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--border);
        }
        .faq-block-title {
            font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
            color: var(--text-muted); margin-bottom: 10px;
        }
        .faq-item {
            border: 1px solid var(--border); border-radius: 8px;
            margin-bottom: 6px; overflow: hidden; transition: border-color .2s;
        }
        .faq-item:hover { border-color: var(--purple-light); }
        /* Bloc, pas flex : une question qui contient un lien ou un <strong>
           produisait autant d'items flex que de noeuds, et `space-between` les
           ecartait d'un bout a l'autre du bouton (grands trous dans la phrase).
           Le « + » se pose donc en absolu plutot qu'en item de fin. */
        .faq-q {
            width: 100%; text-align: left; background: none; border: none; cursor: pointer;
            padding: 10px 34px 10px 14px; font-family: inherit; font-size: 13px; font-weight: 600;
            color: var(--text); display: block; position: relative;
        }
        .faq-q::after {
            content: '+'; color: var(--purple); font-size: 18px; font-weight: 400;
            position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
            transition: transform .2s;
        }
        .faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
        .faq-a {
            display: none; padding: 0 14px 12px; font-size: 15px;
            color: var(--text-light); line-height: 1.65;
        }
        .faq-item.open .faq-a { display: block; }

        /* OD TABLE */
        .tuto-od {
            background: #fff; border: 1px solid var(--border); border-radius: 8px;
            margin: 14px 0; overflow: hidden; font-size: 12px;
        }
        .tuto-od-header {
            background: var(--dark); color: rgba(255,255,255,0.9);
            padding: 7px 14px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap;
        }
        .tuto-od-header span { font-size: 12px; }
        /* .tuto-od en tête : sinon .tuto-steps > li strong (texte sombre) gagne en spécificité, audit accessibilité 2026-10-29. */
        .tuto-od .tuto-od-header strong { color: #fff; font-weight: 700; }
        /* Le tableau defile a l'interieur du bloc, pas le bloc entier : l'en-tete
           (journal, piece, date) et la ligne de total doivent rester lisibles.
           Sans ce conteneur, `.tuto-od { overflow:hidden }` coupait purement les
           colonnes Debit et Credit sous 400 px - les montants qui justifient
           l'exemple etaient invisibles sur tout telephone (mesure 2026-08-22 :
           409 px de tableau pour 136 px utiles a 320 px). */
        .tuto-od-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
        .tuto-od table { width: 100%; border-collapse: collapse; min-width: 440px; }
        .tuto-od thead tr { background: var(--bg-alt); }
        .tuto-od thead th {
            padding: 6px 10px; text-align: left; font-size: 12.5px; font-weight: 700;
            color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border);
        }
        .tuto-od thead th.num { text-align: right; }
        .tuto-od tbody tr { border-bottom: 1px solid #f0f0f6; }
        .tuto-od tbody tr:last-child { border-bottom: none; }
        .tuto-od tbody td { padding: 7px 10px; color: var(--text-light); font-size: 14px; }
        .tuto-od tbody td.compte { font-weight: 700; color: var(--purple); font-size: 14px; }
        .tuto-od tbody td.num { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
        .tuto-od tbody td.empty { color: var(--text-muted); text-align: right; }
        .tuto-od-total {
            background: var(--bg-alt); padding: 6px 10px;
            display: flex; justify-content: flex-end; gap: 40px; flex-wrap: wrap;
            border-top: 2px solid var(--border); font-size: 14px; font-weight: 700; color: var(--text);
        }

        /* BANQUE EXPORT TABLE + tableau generique de tuto (.tuto-table).
           Meme habillage : la seule difference est semantique. Un tableau large
           se met dans .tuto-table-wrap pour defiler sur telephone au lieu de
           pousser la page hors de l'ecran. */
        .banque-export-table, .tuto-table {
            width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px;
            background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
        }
        .banque-export-table thead tr, .tuto-table thead tr { background: var(--bg-alt); }
        .banque-export-table thead th, .tuto-table thead th {
            padding: 7px 10px; text-align: left; font-size: 12.5px; font-weight: 700;
            color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border);
        }
        .banque-export-table tbody tr, .tuto-table tbody tr { border-bottom: 1px solid #f0f0f6; }
        .banque-export-table tbody tr:last-child, .tuto-table tbody tr:last-child { border-bottom: none; }
        .banque-export-table tbody td, .tuto-table tbody td { padding: 7px 10px; color: var(--text-light); vertical-align: top; }
        .banque-export-table tbody td:first-child, .tuto-table tbody td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
        .tuto-table-wrap { overflow-x: auto; margin: 14px 0; }
        .tuto-table-wrap .tuto-table,
        .tuto-table-wrap .banque-export-table { margin: 0; min-width: 560px; }

        .tuto-tip .tuto-lien-long { overflow-wrap: anywhere; }

        /* Matrice des rôles : présentation validée par Joe le 2026-10-10. */
        #asso-utilisateurs .tuto-matrice-legende { gap: 20px; font-size: 14px; margin: 20px 0 14px; }
        .tuto-table-wrap.tuto-matrice-cadre { border: 1px solid #e2dff2; border-radius: 14px; background: white; box-shadow: 0 4px 16px #25184308; }
        .tuto-matrice-cadre .tuto-matrice { border: 0; border-radius: 0; border-collapse: separate; border-spacing: 0; min-width: 730px; overflow: visible; }
        .tuto-matrice-cadre .tuto-matrice thead th { padding: 12px 8px; text-align: center; font-size: 12.5px; line-height: 1.4; letter-spacing: 0; text-transform: none; color: #514b73; white-space: nowrap; }
        .tuto-matrice-cadre .tuto-matrice thead th:first-child { text-align: left; }
        .tuto-matrice-cadre .tuto-matrice tbody th { padding: 8px 14px; font-size: 13px; line-height: 1.5; border-bottom: 1px solid #eeeaf8; }
        .tuto-matrice-cadre .tuto-matrice tbody td { padding: 8px 10px; vertical-align: middle; border-bottom: 1px solid #eeeaf8; }
        .tuto-matrice-cadre .tuto-matrice th:first-child { position: sticky; left: 0; z-index: 1; width: 150px; min-width: 150px; background: #fff; border-right: 1px solid #eeeaf8; }
        .tuto-matrice-cadre .tuto-matrice thead th:first-child { background: #f8f7fd; z-index: 2; }
        .tuto-matrice-cadre .tuto-matrice tbody tr:nth-child(even) { background: #fcfbff; }
        .tuto-matrice-cadre .tuto-matrice tbody tr:nth-child(even) th { background: #fcfbff; }
        .tuto-matrice-cadre .tuto-matrice tbody tr:last-child > * { border-bottom: 0; }
        .tuto-matrice-cadre .m-oui span, .tuto-matrice-cadre .m-vue span, .tuto-matrice-cadre .m-non span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 15px; }
        .tuto-matrice-cadre .m-oui span { background: #e7f8ef; color: #00845a; }
        .tuto-matrice-cadre .m-vue span { background: #f0ecff; color: #6845d6; }
        .tuto-matrice-cadre .m-non span { color: #9993b0; }
        .tuto-matrice-cadre tfoot td { padding: 10px 14px; font-size: 12px; color: #6a6482; line-height: 1.5; text-align: left; background: #f8f7fd; }

        /* Signaler qu'un tableau defile (2026-08-22).
           23 tableaux de la page defilent horizontalement sous 700 px. Ils
           fonctionnaient, mais RIEN ne le disait : a 390 px la matrice des
           roles affiche « Cotisat », « nulle p », et le lecteur croit a un
           texte tronque. Un degrade sur le bord ou il reste du contenu, pose
           par le cadre exterieur (le tableau est opaque, une ombre posee sur
           le conteneur de defilement passerait dessous).
           Le cadre et les classes sont ajoutes par le script en fin de page :
           le HTML des tableaux n'a pas a les porter. */
        .tuto-scroll-cadre { position: relative; }
        .tuto-scroll-cadre::before,
        .tuto-scroll-cadre::after {
            content: ""; position: absolute; top: 0; bottom: 0; width: 26px;
            pointer-events: none; opacity: 0; transition: opacity .2s;
            z-index: 1;
        }
        .tuto-scroll-cadre::before {
            left: 0; background: linear-gradient(to right, rgba(26,26,46,0.13), rgba(26,26,46,0));
        }
        .tuto-scroll-cadre::after {
            right: 0; background: linear-gradient(to left, rgba(26,26,46,0.13), rgba(26,26,46,0));
        }
        .tuto-scroll-cadre.reste-a-gauche::before { opacity: 1; }
        .tuto-scroll-cadre.reste-a-droite::after { opacity: 1; }
        /* Mention textuelle : l'ombre seule ne se voit pas au lecteur d'ecran,
           et elle passe inapercue d'un lecteur presse. Affichee tant qu'il
           reste du contenu a droite, donc jamais sur grand ecran. */
        .tuto-scroll-note {
            display: none; margin: 4px 0 0; font-size: 11.5px; font-weight: 600;
            color: var(--text-muted);
        }
        .tuto-scroll-cadre.reste-a-droite .tuto-scroll-note,
        .tuto-scroll-cadre.reste-a-gauche .tuto-scroll-note { display: block; }

        /* FEATURE */
        .tuto-feature {
            background: var(--purple-pale); border: 1.5px solid var(--purple-light);
            border-radius: var(--radius); padding: 18px 20px; margin: 20px 0;
        }
        .tuto-feature h4 {
            font-size: 15px; font-weight: 700; color: var(--purple); margin: 0 0 6px;
        }
        .tuto-section p:last-child, .tuto-section ul:last-child,
        .tuto-feature p:last-child, .tuto-feature ul:last-child,
        .faq-a p:last-child, .faq-a ul:last-child,
        .tuto-section li:last-child, .tuto-steps li:last-child { margin-bottom: 0; }
        .tuto-feature p { font-size: 16px; line-height: 1.7; color: var(--text-light); margin-bottom: 18px; }
        .tuto-feature .tuto-steps li { background: rgba(255,255,255,0.7); }

        /* SCENARIO CARD */
        .scenario-card {
            background: #fff; border: 2px solid var(--purple);
            border-radius: var(--radius); padding: 22px 26px; margin-bottom: 16px;
            box-shadow: 0 4px 16px rgba(108,92,231,0.08);
        }
        .scenario-card .scenario-tag {
            display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
            background: var(--gradient); color: #fff; padding: 3px 12px; border-radius: 20px;
            margin-bottom: 10px; text-transform: uppercase;
        }
        .scenario-card h3 {
            font-size: 17px; font-weight: 700; color: var(--text);
            margin: 0 0 10px; padding: 0; border: none;
        }

        /* HELP BOX */
        .help-box {
            background: linear-gradient(135deg, #f0eeff 0%, #e0dbff 100%);
            border: 1px solid var(--purple-light); border-radius: var(--radius);
            padding: 26px 30px; margin: 40px 0 20px;
            text-align: center;
        }
        .help-box h3 {
            font-size: 20px; font-weight: 800; color: var(--purple);
            margin: 0 0 8px; padding: 0; border: none;
        }
        .help-box p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
        .help-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
        .help-btn {
            display: inline-flex; align-items: center; gap: 6px;
            background: #fff; color: var(--purple);
            padding: 10px 20px; border-radius: 8px;
            font-size: 14px; font-weight: 600; text-decoration: none;
            border: 1px solid var(--purple-light);
            transition: all .2s;
        }
        .help-btn:hover { background: var(--purple); color: #fff; text-decoration: none; border-color: var(--purple); }
        .help-btn.primary { background: var(--gradient); color: #fff; border-color: var(--purple); }
        .help-btn.primary:hover { box-shadow: 0 4px 16px rgba(108,92,231,0.4); transform: translateY(-1px); }

        /* MOBILE */
        .tuto-sidebar-toggle {
            display: none; position: fixed; bottom: 20px; left: 20px; z-index: 999;
            width: 48px; height: 48px; border-radius: 50%; background: var(--gradient);
            color: #fff; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(108,92,231,0.4);
            align-items: center; justify-content: center;
        }/* FOOTER */

        @media (max-width: 900px) {
            .tuto-sidebar {
                position: fixed; left: -320px; top: 64px; z-index: 998;
                width: 300px; min-width: 300px; height: calc(100vh - 64px);
                transition: left .3s; box-shadow: 4px 0 24px rgba(0,0,0,0.12); background: #fff;
            }
            .tuto-sidebar.open { left: 0; }
            .tuto-sidebar-toggle { display: flex; }
            .tuto-content { padding: 24px 20px; }
            .tuto-content h1 { font-size: 24px; }
            .hero-paths { grid-template-columns: 1fr; }
            .glossary-list { grid-template-columns: 1fr; }}
        @media (max-width: 600px) {
            .tuto-section { padding: 18px 20px; }
            .tuto-section-header { flex-direction: column; align-items: flex-start; }}

        /* ══════════════════════════════════════════════════════════════
           HABILLAGE DU 2026-09-13 (essai de Joe, trois gestes retenus)
           1. la prose a 15 px ;
           2. la PROCEDURE en panneau etiquete, avec le rail des etapes ;
           3. la CAPTURE posee dans un ecran sombre, comme le lecteur video.
           Pose en fin de feuille : ces regles SURCHARGENT celles du dessus,
           qui restent en place. Le reste du fichier d'essai (chapitres,
           numerotation des sections, panneau de FAQ, encarts colores) n'a
           PAS ete repris.
           ══════════════════════════════════════════════════════════════ */

        /* 1. Une seule declaration pour tout ce qui se lit en continu, afin
           que la taille ne se re-decide pas bloc par bloc. Les sous-listes
           gardent leur cran de moins. */
        .tuto-section p,
        .tuto-section li,
        .tuto-liste li,
        .tuto-feature p,
        .tuto-steps > li,
        .tuto-cas-corps,
        .faq-a { font-size: 15px; }
        .tuto-steps li ul li { font-size: 14px; }

        /* 2. PROCEDURE. Etiquette en tete, panneau indigo, et un rail qui
           relie les pastilles : on voit ou la suite d'etapes commence et ou
           elle finit, meme quand une etape fait cinq lignes. */
        .tuto-steps {
            position: relative; margin: 24px 0 26px; padding: 18px 18px 16px;
            background: linear-gradient(180deg, #e8ecfd 0%, #f1f3ff 80px, #f5f6ff 100%);
            border: 1px solid #b9c2fb; border-radius: 14px;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px -18px rgba(79,70,229,.7);
        }
        .tuto-steps::before {
            content: "Procédure"; display: block; width: fit-content;
            color: #fff; background: var(--num);
            font-size: 11px; font-weight: 800; letter-spacing: .07em;
            text-transform: uppercase; line-height: 1.35;
            padding: 4px 12px; border-radius: 6px; margin-bottom: 14px;
            box-shadow: 0 2px 8px rgba(79,70,229,.45);
        }
        /* Indigo plein en haut, degrade en bas : la suite se lit comme un
           fil, pas comme une pile. */
        .tuto-steps::after {
            content: ""; position: absolute; left: 41px; top: 64px; bottom: 26px;
            width: 3px; border-radius: 3px;
            background: linear-gradient(180deg, #4f46e5 0%, #6366f1 55%, #c7d2fe 100%);
        }
        .tuto-steps > li {
            position: relative; z-index: 1;
            background: #fff; border: 1px solid #d5dbfa; border-radius: 10px;
            padding: 13px 16px 13px 50px; margin-bottom: 10px;
            line-height: 1.75; color: var(--text-light);
            box-shadow: 0 1px 2px rgba(79,70,229,.07);
        }
        .tuto-steps > li::before {
            left: 12px; top: 12px; width: 26px; height: 26px; font-size: 12.5px;
            border: 2px solid #fff; box-shadow: 0 2px 6px rgba(79,70,229,.45);
        }
        .tuto-steps > li:last-child { margin-bottom: 0; }
        .tuto-steps > li strong { color: #1e1b4b; }
        /* Une sous-liste d'etape n'est pas une etape : ni carte, ni rail. */
        .tuto-steps li ul li {
            background: none; border: none; border-radius: 0;
            padding: 2px 0; box-shadow: none;
        }
        /* Dans un encart violet le panneau garde sa couleur mais s'eclaircit :
           deux fonds satures l'un dans l'autre deviennent illisibles. */
        .tuto-feature .tuto-steps {
            background: linear-gradient(180deg, #eceafe 0%, #f6f4ff 80px, #faf9ff 100%);
            border-color: #cdc4fb;
        }
        .tuto-feature .tuto-steps > li { background: #fff; border-color: #ddd6fe; }

        /* 3. CAPTURE. L'image est presentee dans une fenetre : barre de titre,
           trois pastilles, ombre portee teintee d'indigo. Le lecteur comprend
           au premier coup d'oeil que ce qui suit est une image du logiciel et
           non un element de la page. La legende porte son etiquette, qui la
           distingue d'un schema. */
        .tuto-img {
            position: relative; margin: 26px 0; padding: 34px 10px 0;
            background: linear-gradient(160deg, #f6f6fc 0%, #ebecf6 100%);
            border: 1px solid #dcdcea; border-radius: 14px; overflow: hidden;
            box-shadow: 0 1px 2px rgba(26,26,46,.06), 0 20px 44px -26px rgba(79,70,229,.75);
            transition: box-shadow .25s, transform .25s;
        }
        .tuto-img::before {
            content: ""; position: absolute; top: 0; left: 0; right: 0; height: 34px;
            background: linear-gradient(180deg, #fff 0%, #f1f1f9 100%);
            border-bottom: 1px solid #e2e2ee;
        }
        /* Les trois pastilles : trois degrades radiaux sur un seul
           pseudo-element, aucune image a charger. */
        .tuto-img::after {
            content: ""; position: absolute; top: 13px; left: 15px; width: 46px; height: 9px;
            background:
                radial-gradient(circle 4.5px at 4.5px 4.5px, #ff5f57 97%, transparent 100%) 0 0 / 17px 9px no-repeat,
                radial-gradient(circle 4.5px at 4.5px 4.5px, #febc2e 97%, transparent 100%) 17px 0 / 17px 9px no-repeat,
                radial-gradient(circle 4.5px at 4.5px 4.5px, #28c840 97%, transparent 100%) 34px 0 / 17px 9px no-repeat;
        }
        .tuto-img:hover {
            transform: translateY(-2px);
            box-shadow: 0 1px 2px rgba(26,26,46,.06), 0 26px 54px -24px rgba(79,70,229,.85);
        }
        .tuto-img img {
            border-radius: 8px 8px 0 0; border: 1px solid #e2e2ee; border-bottom: none;
        }
        /* Hors du flex (audit responsive 2026-10-10) : en flex, chaque <strong>
           devenait un element distinct qui ne passait pas a la ligne, la legende
           debordait de 77 px et « Télécharger » sortait du cadre. L'etiquette est
           posee en absolu, le retrait pendant (14 + 66,5 + 10 px) est conserve. */
        .tuto-img figcaption {
            position: relative;
            margin: 0 -10px; padding: 11px 14px 11px 91px; font-size: 13.5px; line-height: 1.5;
            background: #fff; border-top: 1px solid #e2e2ee;
        }
        .tuto-img figcaption::before {
            content: "Capture"; position: absolute; left: 14px; top: 13px;
            font-size: 9.5px; line-height: 1.5; font-weight: 800; letter-spacing: .09em;
            text-transform: uppercase; color: var(--purple);
            background: var(--purple-pale); padding: 1px 8px; border-radius: 5px;
        }

        /* Sous 600 px, le panneau et le retrait des pastilles mangeaient la
           largeur utile : on resserre les deux, et le rail suit. */
        @media (max-width: 600px) {
            .tuto-steps { padding: 14px 12px 12px; }
            .tuto-steps > li { padding: 11px 12px 11px 42px; }
            .tuto-steps > li::before { left: 9px; top: 11px; }
            .tuto-steps::after { left: 32px; top: 58px; bottom: 22px; }
            .tuto-img { padding: 27px 7px 0; }
            .tuto-img::before { height: 27px; }
            .tuto-img::after { top: 10px; left: 11px; }
            .tuto-img figcaption { margin: 0 -7px; padding: 10px 11px 10px 88px; }
            .tuto-img figcaption::before { left: 11px; top: 12px; }}
        /* 320 px : quatre retraits imbriques laissent 114 px de colonne, « immédiatement, »
           (118 px) debordait et elargissait la page a 323 (audit responsive 2026-10-10). */
        @media (max-width: 360px) {
            .tuto-content :is(li, p, .tuto-tip, figcaption) { overflow-wrap: anywhere; hyphens: auto; }}

/* Pages de module du tutoriel (decoupage 2026-11-19) : trois chiffres au bandeau, sur une
   ligne a partir de 420 px. En dessous, les libelles en capitales (« QUESTIONS FREQUENTES »)
   debordaient de leur colonne (sonde responsive, 320 a 390 px) : la grille auto-fit reprend. */
@media (min-width: 420px) {
    .tuto-hero-stats--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Audit responsive du 2026-11-19 (lots T1 et T2, pages tutoriel par module).
   T1 : un encart .tuto-feature place dans un autre ajoutait un 4e retrait ; a 320 px la colonne
   de texte tombait a 74 px (avertissement de #facturation-parametres). Sous 600 px, l'encart du
   dedans perd son cadre et ses marges : son contenu reprend la largeur de l'encart parent.
   T2 : la regle max-width 360px (overflow-wrap: anywhere sur li) etait heritee par les cellules du
   tableau OD place dans une etape : numeros de compte coupes (« 4710 / 00 »). Les cellules ne se
   coupent plus, le tableau defile dans .tuto-od-scroll. */
@media (max-width: 600px) {
    .tuto-feature .tuto-feature { padding: 0; margin: 14px 0; border: 0; background: none; }
}
.tuto-od-scroll :is(td, th) { overflow-wrap: normal; hyphens: manual; }
