/* Documentation CashChap (cashchap.com/docs) — feuille de style unique, sans dépendance.
   Couleurs et police des pages publiques de cashchap.com (bleu #1e40af, IBM Plex Sans) ; thème clair et sombre. */

:root {
    --bleu: #1e40af;
    --bleu-fonce: #172f7f;
    --bleu-clair: #e8edfb;
    --accent: #c2410c;
    --accent-clair: #fdebdc;
    --fond: #ffffff;
    --fond-2: #f6f8fc;
    --fond-3: #eef1f7;
    --texte: #0f172a;
    --texte-2: #334155;
    --texte-3: #64748b;
    --bordure: #e2e8f0;
    --bordure-2: #cbd5e1;
    --code-fond: #0f172a;
    --code-texte: #e2e8f0;
    --code-barre: #1e293b;
    --vert: #15803d;
    --vert-clair: #e6f6ec;
    --rouge: #b91c1c;
    --rouge-clair: #fdecec;
    --jaune: #a16207;
    --jaune-clair: #fff7dc;
    --ombre: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --rayon: 10px;
    --entete: 64px;
    --police: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --fond: #0b1220;
        --fond-2: #0f172a;
        --fond-3: #16203a;
        --texte: #e5e9f2;
        --texte-2: #b4bdcf;
        --texte-3: #8a94a8;
        --bordure: #223052;
        --bordure-2: #2f3f66;
        --bleu: #7aa2ff;
        --bleu-fonce: #9db9ff;
        --bleu-clair: #16234d;
        --accent: #fb923c;
        --accent-clair: #3a2412;
        --code-fond: #060b16;
        --code-barre: #111a2e;
        --vert: #4ade80;
        --vert-clair: #0f2a1c;
        --rouge: #f87171;
        --rouge-clair: #3a1515;
        --jaune: #fbbf24;
        --jaune-clair: #332a0d;
        --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --fond: #0b1220;
    --fond-2: #0f172a;
    --fond-3: #16203a;
    --texte: #e5e9f2;
    --texte-2: #b4bdcf;
    --texte-3: #8a94a8;
    --bordure: #223052;
    --bordure-2: #2f3f66;
    --bleu: #7aa2ff;
    --bleu-fonce: #9db9ff;
    --bleu-clair: #16234d;
    --accent: #fb923c;
    --accent-clair: #3a2412;
    --code-fond: #060b16;
    --code-barre: #111a2e;
    --vert: #4ade80;
    --vert-clair: #0f2a1c;
    --rouge: #f87171;
    --rouge-clair: #3a1515;
    --jaune: #fbbf24;
    --jaune-clair: #332a0d;
    --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--police);
    font-size: 16px;
    line-height: 1.65;
    color: var(--texte);
    background: var(--fond);
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--bleu); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 4px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--bleu); color: #fff; padding: 8px 14px; border-radius: 8px; }
.saut:focus { top: 12px; }

/* En-tête */
.entete {
    position: sticky; top: 0; z-index: 40; height: var(--entete);
    background: color-mix(in srgb, var(--fond) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--bordure);
}
.entete__interieur { display: flex; align-items: center; gap: 14px; height: 100%; padding: 0 16px; max-width: 1520px; margin: 0 auto; }
.entete__menu { display: none; border: 0; background: none; color: var(--texte); padding: 8px; border-radius: 8px; cursor: pointer; }
.entete__menu:hover { background: var(--fond-3); }
.marque { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--texte); white-space: nowrap; }
.marque:hover { text-decoration: none; }
.marque img { border-radius: 8px; }
.marque em { font-style: normal; color: var(--bleu); font-weight: 600; }
.entete__lien { color: var(--texte-2); font-size: 14px; font-weight: 500; padding: 8px 6px; }
.entete__lien:hover { color: var(--bleu); text-decoration: none; }
.entete__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langue select { font: inherit; font-size: 13px; font-weight: 600; color: var(--texte-3); background: var(--fond-2); border: 1px solid var(--bordure); border-radius: 8px; padding: 6px 8px; cursor: not-allowed; }
.theme { border: 1px solid var(--bordure); background: var(--fond-2); color: var(--texte); width: 38px; height: 38px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.theme:hover { background: var(--fond-3); }
.theme__lune { display: none; }
:root[data-theme="dark"] .theme__lune { display: block; }
:root[data-theme="dark"] .theme__soleil { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme__lune { display: block; }
    :root:not([data-theme="light"]) .theme__soleil { display: none; }
}
.bouton { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; background: var(--bleu); color: #fff; border: 1px solid var(--bleu); white-space: nowrap; }
.bouton:hover { background: var(--bleu-fonce); text-decoration: none; }
:root[data-theme="dark"] .bouton:not(.bouton--contour) { color: #0b1220; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bouton:not(.bouton--contour) { color: #0b1220; } }
.bouton--contour { background: transparent; color: var(--bleu); }
.bouton--contour:hover { background: var(--bleu-clair); }

/* Recherche */
.recherche { position: relative; flex: 1; max-width: 520px; margin-left: 16px; }
.recherche__champ { display: flex; align-items: center; gap: 8px; background: var(--fond-2); border: 1px solid var(--bordure); border-radius: 10px; padding: 0 10px; height: 40px; color: var(--texte-3); }
.recherche__champ:focus-within { border-color: var(--bleu); box-shadow: 0 0 0 3px var(--bleu-clair); }
.recherche__champ input { flex: 1; border: 0; background: none; font: inherit; font-size: 14px; color: var(--texte); min-width: 0; outline: none; }
.recherche__champ kbd { font: 12px var(--mono); border: 1px solid var(--bordure-2); border-radius: 5px; padding: 0 6px; color: var(--texte-3); }
.recherche__resultats { position: absolute; top: 46px; left: 0; right: 0; background: var(--fond); border: 1px solid var(--bordure); border-radius: 12px; box-shadow: var(--ombre); max-height: min(70vh, 480px); overflow: auto; padding: 6px; z-index: 50; }
.recherche__resultats a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--texte); }
.recherche__resultats a:hover, .recherche__resultats a[aria-selected="true"] { background: var(--fond-3); text-decoration: none; }
.recherche__resultats small { display: block; color: var(--texte-3); font-size: 12px; }
.recherche__resultats strong { display: block; font-size: 14px; }
.recherche__resultats mark { background: var(--accent-clair); color: inherit; border-radius: 3px; padding: 0 1px; }
.recherche__resultats p { margin: 2px 0 0; font-size: 13px; color: var(--texte-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.recherche__vide { padding: 14px; color: var(--texte-3); font-size: 14px; }

/* Mise en page */
.page { display: grid; grid-template-columns: 270px minmax(0, 1fr) 230px; gap: 0; max-width: 1520px; margin: 0 auto; }
.navigation { position: sticky; top: var(--entete); height: calc(100vh - var(--entete)); overflow-y: auto; padding: 24px 12px 24px 20px; border-right: 1px solid var(--bordure); background: var(--fond); }
.navigation__groupe { margin-bottom: 22px; }
.navigation__titre { margin: 0 0 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-3); }
.navigation ul { list-style: none; margin: 0; padding: 0; }
.navigation li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; color: var(--texte-2); font-size: 14.5px; font-weight: 500; }
.navigation li a:hover { background: var(--fond-3); color: var(--texte); text-decoration: none; }
.navigation li a.active { background: var(--bleu-clair); color: var(--bleu); }
.navigation .icone { flex: none; opacity: .85; }
.navigation__pied { margin-top: 24px; padding: 16px 12px 0; border-top: 1px solid var(--bordure); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.voile { position: fixed; inset: 0; background: rgba(2, 6, 23, .5); z-index: 45; }
.contenu { padding: 28px 48px 56px; min-width: 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 13.5px; color: var(--texte-3); }
.ariane li + li::before { content: "›"; margin-right: 6px; color: var(--bordure-2); }
.ariane li[aria-current] { color: var(--texte); font-weight: 500; }
.sommaire { position: sticky; top: var(--entete); height: calc(100vh - var(--entete)); overflow-y: auto; padding: 32px 20px 24px 8px; font-size: 13.5px; }
.sommaire__titre { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-3); }
.sommaire ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--bordure); }
.sommaire li a { display: block; padding: 4px 12px; color: var(--texte-2); border-left: 2px solid transparent; margin-left: -1px; }
.sommaire li.niveau-3 a { padding-left: 24px; font-size: 13px; }
.sommaire li a:hover { color: var(--texte); text-decoration: none; }
.sommaire li a.active { color: var(--bleu); border-left-color: var(--bleu); font-weight: 500; }

/* Article */
.article { max-width: 820px; }
.article h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 700; }
.article .chapeau { font-size: 18px; color: var(--texte-2); margin: 0 0 28px; line-height: 1.55; }
.article h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 14px; padding-top: 14px; border-top: 1px solid var(--bordure); letter-spacing: -.01em; font-weight: 700; }
.article h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 24px; }
.article h3 { font-size: 18.5px; margin: 30px 0 10px; font-weight: 600; }
.article h4 { font-size: 16px; margin: 22px 0 8px; font-weight: 600; }
.article p, .article ul, .article ol { margin: 0 0 14px; }
.article li { margin-bottom: 6px; }
.article li > ul, .article li > ol { margin-top: 6px; }
.article .ancre { color: var(--bordure-2); margin-left: 8px; font-weight: 400; opacity: 0; text-decoration: none; }
.article h2:hover .ancre, .article h3:hover .ancre, .article .ancre:focus { opacity: 1; }
.article code:not(pre code) { font-family: var(--mono); font-size: .88em; background: var(--fond-3); border: 1px solid var(--bordure); border-radius: 5px; padding: 1px 6px; color: var(--texte); word-break: break-word; }
.article kbd { font-family: var(--mono); font-size: .85em; border: 1px solid var(--bordure-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; }
.article strong { font-weight: 600; }
.article hr { border: 0; border-top: 1px solid var(--bordure); margin: 32px 0; }
/* Captures d'écran (composant x-docs.capture) : bordure, ombre légère, clic pour agrandir (docs.js). Les captures restent
   claires en mode sombre, légèrement atténuées pour ne pas éblouir. */
.article figure.capture { margin: 20px 0 28px; }
.article figure.capture img { display: block; max-width: 100%; height: auto; border: 1px solid var(--bordure-2); border-radius: var(--rayon); box-shadow: var(--ombre); background: #fff; cursor: zoom-in; }
.article figure.capture img:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.article figure.capture figcaption { font-size: 13px; line-height: 1.5; color: var(--texte-3); margin-top: 10px; max-width: 820px; }
.article figure.capture--mobile img { max-width: min(100%, 300px); border-radius: 18px; }
.article figure.capture--moyenne img { max-width: min(100%, 460px); }
.article figure.capture.petite img { max-width: 260px; }
.article .captures { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); gap: 18px; margin: 20px 0 28px; align-items: start; }
.article .captures figure.capture { margin: 0; }
.article .captures figure.capture--mobile img { max-width: 100%; }
.capture-zoom { padding: 0; border: 0; background: transparent; max-width: 98vw; max-height: 98vh; overflow: visible; }
.capture-zoom { overflow: auto; }
.capture-zoom img.capture-zoom__haute { max-height: none; }
.capture-zoom::backdrop { background: rgba(8, 13, 25, .84); }
.capture-zoom img { display: block; width: auto; height: auto; max-width: min(var(--largeur, 96vw), 96vw); max-height: 86vh; margin: 0 auto; border-radius: 10px; background: #fff; cursor: zoom-out; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.capture-zoom__legende { margin: 10px auto 0; max-width: 820px; color: #e5e9f2; font-size: 13px; line-height: 1.5; text-align: center; }
.capture-zoom__fermer { position: fixed; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.capture-zoom__fermer:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; }
:root[data-theme="dark"] .article figure.capture img { filter: brightness(.93); border-color: var(--bordure-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .article figure.capture img { filter: brightness(.93); } }

/* Tableaux */
.tableau { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--bordure); border-radius: var(--rayon); -webkit-overflow-scrolling: touch; }
.tableau table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.tableau th, .tableau td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bordure); }
.tableau th { background: var(--fond-2); font-weight: 600; font-size: 13px; letter-spacing: .02em; color: var(--texte-2); white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td code, .tableau th code { white-space: nowrap; }
.tableau .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tableau--compact table { min-width: 0; }
.etiquette { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.etiquette--ok { background: var(--vert-clair); color: var(--vert); }
.etiquette--erreur { background: var(--rouge-clair); color: var(--rouge); }
.etiquette--attente { background: var(--jaune-clair); color: var(--jaune); }
.etiquette--neutre { background: var(--fond-3); color: var(--texte-2); }
.etiquette--bleu { background: var(--bleu-clair); color: var(--bleu); }
.methode { display: inline-block; min-width: 46px; text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 5px; color: #fff; background: var(--bleu); }
.methode--post { background: #c2410c; }
.methode--get { background: #15803d; }
.methode--delete { background: #b91c1c; }
.point-api { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--fond-2); border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 10px 14px; margin: 0 0 16px; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }

/* Blocs de code */
.code { margin: 0 0 20px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bordure); background: var(--code-fond); color: var(--code-texte); }
.code__barre { display: flex; align-items: center; justify-content: space-between; background: var(--code-barre); padding: 6px 8px 6px 14px; font-size: 12.5px; color: #94a3b8; }
.code__copier { font: inherit; font-weight: 600; color: #cbd5e1; background: transparent; border: 1px solid #334155; border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.code__copier:hover { background: #1e293b; color: #fff; }
.code__copier.copie { color: #86efac; border-color: #166534; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; tab-size: 4; }
.code code { font-family: inherit; }
.tk-com { color: #7c8aa5; font-style: italic; }
.tk-str { color: #a5d6a7; }
.tk-num { color: #ffcc80; }
.tk-kw { color: #90caf9; }
.tk-key { color: #80deea; }
.tk-tag { color: #f48fb1; }
.tk-attr { color: #ffe082; }
.tk-var { color: #ce93d8; }
.tk-fn { color: #ffab91; }
.tk-cmd { color: #ffab91; font-weight: 600; }
.tk-flag { color: #80deea; }

/* Notes */
.note { border: 1px solid var(--bordure); border-left: 4px solid var(--bleu); background: var(--bleu-clair); border-radius: var(--rayon); padding: 12px 16px; margin: 0 0 20px; }
.note__titre { margin: 0 0 4px; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.note__corps > :last-child { margin-bottom: 0; }
.note--attention { border-left-color: var(--jaune); background: var(--jaune-clair); }
.note--danger { border-left-color: var(--rouge); background: var(--rouge-clair); }
.note--astuce { border-left-color: var(--vert); background: var(--vert-clair); }

/* Cartes et étapes */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.carte { display: block; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 16px; background: var(--fond-2); color: var(--texte); transition: border-color .15s, transform .15s; }
.carte:hover { border-color: var(--bleu); text-decoration: none; transform: translateY(-1px); }
.carte .icone { width: 22px; height: 22px; color: var(--bleu); margin-bottom: 8px; }
.carte strong { display: block; margin-bottom: 4px; }
.carte span { font-size: 13.5px; color: var(--texte-2); }
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0 0 24px; }
.etapes > li { position: relative; padding-left: 48px; margin-bottom: 18px; }
.etapes > li::before { counter-increment: etape; content: counter(etape); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.etapes > li > strong:first-child { color: var(--texte); }
.cycle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; }
.cycle__etat { padding: 6px 12px; border-radius: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; border: 1px solid var(--bordure); background: var(--fond-2); }
.cycle__fleche { color: var(--texte-3); }
.cycle__etat--ok { color: var(--vert); }
.cycle__etat--erreur { color: var(--rouge); }
.heros { background: linear-gradient(160deg, #172f7f, #1e40af 65%, #2f55c9); color: #fff; border-radius: 16px; padding: 28px; margin: 0 0 28px; }
.heros h1 { color: #fff; margin-bottom: 8px; }
.heros p { color: rgba(255, 255, 255, .9); font-size: 17px; margin: 0 0 18px; max-width: 640px; }
.heros .bouton { background: #fff; color: var(--bleu); border-color: #fff; }
.heros .bouton:hover { background: #eef2ff; }
.heros .bouton--contour { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.heros .bouton--contour:hover { background: rgba(255, 255, 255, .12); }
.heros__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.logos { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.logos span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--bordure); border-radius: 8px; padding: 6px 12px; background: var(--fond-2); font-size: 14px; font-weight: 500; }
.logos img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; background: #fff; }
details.faq { border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 0 16px; margin-bottom: 10px; background: var(--fond-2); }
details.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--texte-3); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 0 14px; }
details.faq > div > :last-child { margin-bottom: 0; }

/* Pagination et pied */
.pagination { display: flex; justify-content: space-between; gap: 12px; margin: 48px 0 0; max-width: 820px; }
.pagination__lien { display: flex; flex-direction: column; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 12px 16px; min-width: 40%; color: var(--texte); }
.pagination__lien:hover { border-color: var(--bleu); text-decoration: none; }
.pagination__lien small { color: var(--texte-3); font-size: 12px; }
.pagination__lien span { font-weight: 600; color: var(--bleu); }
.pagination__lien--suivant { text-align: right; margin-left: auto; }
.pied { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--bordure); font-size: 13px; color: var(--texte-3); max-width: 820px; }
.pied p { margin: 0 0 6px; }
.haut { position: fixed; right: 20px; bottom: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte); box-shadow: var(--ombre); cursor: pointer; display: grid; place-items: center; z-index: 30; }

/* Réactif */
@media (max-width: 1240px) {
    .page { grid-template-columns: 260px minmax(0, 1fr); }
    .sommaire { display: none; }
}
@media (max-width: 900px) {
    .page { grid-template-columns: minmax(0, 1fr); }
    .entete__menu { display: inline-grid; place-items: center; }
    .entete__portail, .entete__lien { display: none; }
    .recherche { margin-left: 0; }
    .navigation { position: fixed; top: var(--entete); left: 0; width: min(86vw, 320px); transform: translateX(-105%); transition: transform .2s ease; z-index: 46; box-shadow: var(--ombre); }
    .navigation.ouverte { transform: translateX(0); }
    .contenu { padding: 20px 16px 48px; }
    .article h2 { margin-top: 36px; }
    .heros { padding: 22px 18px; }
}
@media (max-width: 600px) {
    .marque span { display: none; }
    .langue { display: none; }
    .recherche__champ kbd { display: none; }
    .pagination { flex-direction: column; }
    .pagination__lien { min-width: 0; }
    .pagination__lien--suivant { margin-left: 0; }
    .code pre { font-size: 13px; }
}
@media print {
    .entete, .navigation, .sommaire, .pagination, .haut, .code__copier { display: none !important; }
    .page { display: block; }
    .contenu { padding: 0; }
}

/* Ajouts cashchap.com/docs */
.tk-yk { color: #80deea; }
.badge-v { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--bleu-clair); color: var(--bleu); vertical-align: middle; margin-left: 6px; }
.tableau tr:target td { background: var(--jaune-clair); }
.tableau td.code-v2 code { font-weight: 600; }
.article dl.champs { margin: 0 0 20px; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; }
.article dl.champs > div { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; border-bottom: 1px solid var(--bordure); }
.article dl.champs > div:last-child { border-bottom: 0; }
.article dl.champs dt { padding: 10px 14px; background: var(--fond-2); font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; }
.article dl.champs dt small { display: block; font-family: var(--police); color: var(--texte-3); font-size: 12px; }
.article dl.champs dd { margin: 0; padding: 10px 14px; font-size: 14.5px; }
@media (max-width: 600px) {
    .article dl.champs > div { grid-template-columns: 1fr; }
    .article dl.champs dt { border-bottom: 1px solid var(--bordure); }
}
:root[data-theme="dark"] .etapes > li::before, :root[data-theme="dark"] .saut { color: #0b1220; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .etapes > li::before, :root:not([data-theme="light"]) .saut { color: #0b1220; } }
.heros .bouton:not(.bouton--contour) { color: #1e40af; }
