/* 0.60.0 — Plateforme plus sobre, en clair ou en sombre (choix retenu pour chaque utilisateur).
   Clair : colonne de gauche blanche, couleur de la marque réservée aux boutons, au carré du logo
   et au repère de la page en cours. Sombre : même mise en page sur fond nuit. */

/* ── Commun aux deux modes (0.62.0 : couleurs données par la palette, plus de traits de couleur) ── */
body.avec-menu .cote{background:var(--cote-fond,#fff);color:var(--cote-texte,#3a4150);border-right:1px solid var(--cote-trait,var(--ligne))}
body.avec-menu .cote .logo{display:flex;align-items:center;gap:9px;color:var(--cote-actif-texte,var(--texte))}
body.avec-menu .cote .logo:not(:has(.logo-img))::before{content:"";width:24px;height:24px;border-radius:7px;background:var(--marque);flex:none}
body.avec-menu .cote .logo .logo-img{margin-right:0}
body.avec-menu .cote summary.menu-section{background:none;box-shadow:none;opacity:.6;font-size:.7rem;font-weight:700;letter-spacing:.08em;margin:10px 0 2px;padding:6px 10px}
body.avec-menu .cote summary.menu-section:hover{opacity:.9;background:var(--cote-survol,#f5f6f8)}
body.avec-menu .cote .menu-groupe{border-top:0;padding-top:0}
body.avec-menu .cote .menu-liens a{margin-left:0}
body.avec-menu .cote .menu a{opacity:1;border-radius:7px;padding:7px 10px}
body.avec-menu .cote .menu a:hover{background:var(--cote-survol,#f5f6f8)}
body.avec-menu .cote .menu a.actif{background:var(--cote-actif,#e3e6eb);color:var(--cote-actif-texte,var(--texte));box-shadow:none;font-weight:600}
body.avec-menu .cote .compte{border-top:1px solid var(--cote-trait,var(--ligne))}
body.avec-menu .cote .compte-lien:hover,body.avec-menu .cote .compte-lien.actif{background:var(--cote-survol,#f5f6f8)}
body.avec-menu .cote .idee-rapide input{border:1px solid var(--cote-trait,var(--ligne));background:transparent;color:inherit}
body.avec-menu .cote .idee-rapide input::placeholder{color:inherit;opacity:.6}
body.avec-menu .cote .idee-rapide button,body.avec-menu .burger{background:var(--cote-survol,#f0f2f5);color:inherit;border:1px solid var(--cote-trait,var(--ligne))}
.theme-form{margin:4px 0 0}
.theme-bouton{border:1px solid var(--cote-trait,var(--ligne));background:transparent;color:inherit;border-radius:999px;padding:4px 12px;font:inherit;font-size:.8rem;cursor:pointer}
.theme-bouton:hover{background:var(--cote-survol,#f5f6f8)}

/* 0.68.0 : menu rangé par blocs (façon Sewan), toujours ouverts ; sous-entrées d'Offres et tarifs */
body.avec-menu .cote .menu{gap:10px}
body.avec-menu .cote .menu-groupe{background:color-mix(in srgb,var(--cote-texte,#3a4150) 7%,transparent);border-radius:10px;padding:4px 4px 6px}
@media (min-width:901px){ body.avec-menu{grid-template-columns:clamp(240px,20vw,380px) minmax(0,1fr)} body.avec-menu .cote{padding:18px 16px} } /* 0.68.1, 0.68.2, 0.70.1, 0.70.2 : menu plus large (380 px) ; 0.74.1 : proportionnel à l'écran, de 240 à 380 px */
body.avec-menu .cote summary.menu-section{cursor:pointer;margin:0;padding:8px 10px;border-radius:8px;white-space:nowrap}
body.avec-menu .cote summary.menu-section:hover{background:var(--cote-survol,#f5f6f8);opacity:1}
body.avec-menu .cote .menu-groupe:not([open]){padding-bottom:4px}
body.avec-menu .cote .menu-fleche{display:inline-block}
body.avec-menu .cote .menu-liens{padding-bottom:0}
body.avec-menu .cote .menu a.menu-sous{padding:4px 10px 4px 24px;font-size:.86rem;position:relative;opacity:.9}
body.avec-menu .cote .menu a.menu-sous::before{content:"";position:absolute;left:12px;top:50%;width:5px;height:5px;margin-top:-2px;border-radius:50%;background:currentColor;opacity:.55}
body.avec-menu .cote .menu a.menu-sous.actif{background:color-mix(in srgb,var(--cote-actif,#e3e6eb) 70%,transparent);font-weight:600}

/* Plus de traits de couleur : l'état est donné par une pastille ou la couleur du chiffre */
body.avec-menu .alerte{position:relative;border:1px solid var(--ligne);border-left-width:1px!important;border-radius:10px;padding-left:34px;--pt:#8a94a6}
body.avec-menu .alerte::before{content:"";position:absolute;left:14px;top:19px;width:9px;height:9px;border-radius:50%;background:var(--pt)}
body.avec-menu .alerte-erreur{--pt:#d93a2b}body.avec-menu .alerte-succes{--pt:#22a06b}body.avec-menu .alerte-info{--pt:#e0a100}
body.avec-menu .rubrique-en_cours{border-left:1px solid var(--ligne)}
body.avec-menu .sa-carte{border-left-width:1px!important;border-left-color:var(--ligne)!important;--pt:#8a94a6}
body.avec-menu .sa-carte.sa-ok{--pt:#22a06b}body.avec-menu .sa-carte.sa-attention{--pt:#e0a100}body.avec-menu .sa-carte.sa-alerte{--pt:#d93a2b}
body.avec-menu .sa-carte > h2:first-of-type::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--pt);margin-right:9px;vertical-align:1px}
body.avec-menu .sc-tuile{border-left-width:1px!important;border-left-color:var(--ligne)!important}
body.avec-menu .sc-tuile.r b{color:#d93a2b}body.avec-menu .sc-tuile.o b{color:#c08a00}
body.avec-menu .resume div{border-left-width:1px!important}
body.avec-menu .resume div[style*="#17a34a"] strong{color:#17a34a}body.avec-menu .resume div[style*="#c5221f"] strong{color:#c5221f}
body.avec-menu .resume div[style*="border-left-color"]{border-left-color:var(--ligne)!important}
body.avec-menu .cp-bilan div,body.avec-menu .ct-bilan div{border-left-width:1px!important;border-left-color:var(--ligne)!important}
body.avec-menu .cp-bilan div::before,body.avec-menu .ct-bilan div::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--pt,#8a94a6);margin-right:7px}
body.avec-menu .cp-bilan .cp-ok,body.avec-menu .ct-bilan .v{--pt:#22a06b}body.avec-menu .cp-bilan .cp-part,body.avec-menu .ct-bilan .o{--pt:#e0a100}
body.avec-menu .cp-bilan .cp-non,body.avec-menu .ct-bilan .r{--pt:#d93a2b}body.avec-menu .ct-bilan .b{--pt:#6b7da8}
body.avec-menu .fs-tot{border-top:1px solid var(--ligne)}
/* Onglet choisi : fond plus marqué, sans trait au-dessus */
body.avec-menu .fs-onglets a[aria-selected=true]::before,body.avec-menu .sa-onglets a.on::before{display:none}
body.avec-menu .fs-onglets a[aria-selected=true],body.avec-menu .sa-onglets a.on{background:var(--onglet,#fff);color:var(--onglet-t,var(--texte))}

/* ── Clair sobre ── */
body.theme-clair{--surface:#fff;--texte:#1d2330;--discret:#5f6775;--ligne:#e6e8ec;--bleu-clair:#eef1f6}

/* ── Sombre ── */
body.theme-sombre{color-scheme:dark;--fond:#0f141c;--surface:#171d27;--texte:#e6e9ef;--discret:#97a0b0;--ligne:#283142;--bleu-clair:#1f2735;
  --cote-fond:#131922;--cote-texte:#c4cad6;--cote-survol:#1b2230;--cote-actif:#2a3446;--cote-actif-texte:#fff;--cote-trait:#232b39;--onglet:#222b3a;--onglet-t:#fff;--lien:#a9bde6;
  --ed-s1:#171d27;--ed-s2:#1d2431;--ed-encre:#c9cfda;--ed-trait:#283142;--marque:#3b5c94;
  background:var(--fond);color:var(--texte)}
body.theme-sombre .bouton:not(.secondaire){background:color-mix(in srgb,var(--action-marque,var(--marque)) 82%,#fff);border-color:transparent}
body.theme-sombre .sl-vign{background:linear-gradient(135deg,#253047,#1d2638);color:#b8c6ec}
body.theme-sombre .sl-anneau{background:conic-gradient(var(--c) calc(var(--n) * 1%),#283142 0)}
body.theme-sombre input,body.theme-sombre select,body.theme-sombre textarea{background-color:var(--surface);color:var(--texte);border-color:var(--ligne)}
body.theme-sombre a{color:inherit}
body.theme-sombre [style*="background:#e6ebf7"]{background:#1f2735!important;border-color:var(--ligne)!important;color:#b8c6ec!important}
body.theme-sombre [style*="background:#fff"],body.theme-sombre [style*="background: #fff"]{background:var(--surface)!important}
body.theme-sombre [style*="color:#16233a"],body.theme-sombre [style*="color:#1d2330"]{color:var(--texte)!important}
body.theme-sombre .note-qualite{filter:saturate(.85) brightness(.92)}

/* Couleurs claires des pages, adaptées automatiquement (même méthode que l'espace client) */
body.theme-sombre .badge-en_ligne,body.theme-sombre .badge-termine,body.theme-sombre .badge-publie{background:#363c3f;color:#a2bbb1}
body.theme-sombre .badge-creation{background:#373b42;color:#a8b3d2}
body.theme-sombre .badge-erreur{background:#3b393e;color:#d0a4a1}
body.theme-sombre .badge-en_cours{background:#3b3c39;color:#c4ba99}
body.theme-sombre .fs-tete{background:var(--ed-s1)}
body.theme-sombre .fs-vignette{background:var(--ed-s2)}
body.theme-sombre .badge.fs-bleu{background:#383b42;color:#acb7df}
body.theme-sombre .fs-ic{background:#383b42}
body.theme-sombre .fs-demande{background:#3b3d3f;color:#c4ba99}
body.theme-sombre .fs-inter input[type=checkbox]{background:#34373e}
body.theme-sombre .fs-lab select{background:var(--ed-s1)}
body.theme-sombre .fs-opt .fs-inclus{background:#363c3f;color:#a2bbb1}
body.theme-sombre .fs-choix.sel,body.theme-sombre .fs-choix:has(input:checked){background:var(--ed-s2)}
body.theme-sombre .fs-note{background:#3b3d3f;border-color:var(--ed-trait);color:#c4b799}
body.theme-sombre .fs-histo{background:var(--ed-s1)}
body.theme-sombre .feuille{background:var(--ed-s1)}
body.theme-sombre .tete p{color:var(--ed-encre)}
body.theme-sombre .resume div{border-color:var(--ed-trait)}
body.theme-sombre th,body.theme-sombre td{border-bottom-color:var(--ed-trait)}
body.theme-sombre th{color:var(--ed-encre)}
body.theme-sombre td small{color:var(--ed-encre)}
body.theme-sombre .note{background:var(--ed-s2);border-color:var(--ed-trait);color:var(--ed-encre)}
body.theme-sombre .cpt-role{background:var(--ed-s2)}
body.theme-sombre .ci-pas.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .ci-pas.r{background:#3b3a3f;color:#db9f9f}
body.theme-sombre .ci-jauge{background:var(--ed-s2)}
body.theme-sombre .ci-recharge input{border-color:var(--ed-trait)}
body.theme-sombre .org-statut{background:var(--ed-s2)}
body.theme-sombre .org-partenaire{background:#393a43;color:#bdace1}
body.theme-sombre .org-revendeur{background:#373c43;color:#a1bed2}
body.theme-sombre .org-sous_revendeur{background:#3b3c3c;color:#caba99}
body.theme-sombre .en-ligne input,body.theme-sombre .en-ligne textarea,body.theme-sombre .en-ligne select{background:var(--ed-s1)}
body.theme-sombre .eq-liste{background:var(--ed-s1)}
body.theme-sombre .eq-liste label{border-bottom-color:var(--ed-trait)}
body.theme-sombre .eq-fonction select{background:var(--ed-s1)}
body.theme-sombre .imp-logo img{background:var(--ed-s2)}
body.theme-sombre .imp-alerte{background:#3b3d3f;border-color:var(--ed-trait);color:#c4b799}
body.theme-sombre .imp-pastille{background:#3b3a3c;color:#d0b199}
body.theme-sombre .imp-ok{background:#363c3f;color:#a2c0b2}
body.theme-sombre .imp-images img{background:var(--ed-s2)}
body.theme-sombre .cp-etat.ok{background:var(--ed-s2);color:#a5c4ad}
body.theme-sombre .cp-etat.part{background:#3b3c3c;color:#d0bd99}
body.theme-sombre .cp-etat.non{background:#3b3a3f;color:#db9f9f}
body.theme-sombre .cp-vignettes img{background:var(--ed-s2)}
body.theme-sombre .imp-avant{color:#d0a5a2}
body.theme-sombre .imp-apres{color:#a2c0b2}
body.theme-sombre .imp-etiquette.sup{background:#3b393e;color:#d0a5a2}
body.theme-sombre .mq-titre p{color:var(--ed-encre)}
body.theme-sombre .mq-pastille{background:#373b42;color:#a8b3d2}
body.theme-sombre .mq-reglages p{color:var(--ed-encre)}
body.theme-sombre .mq-reglages textarea{border-color:var(--ed-trait)}
body.theme-sombre .mq-choix{background:var(--ed-s2)}
body.theme-sombre .mq-carte{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .mq-vignette{border-bottom-color:var(--ed-trait);background:var(--ed-s2)}
body.theme-sombre .mq-infos p{color:var(--ed-encre)}
body.theme-sombre .mq-infos small{color:var(--ed-encre)}
body.theme-sombre .mq-points i{border-color:var(--ed-trait)}
body.theme-sombre .mq-badge{background:var(--ed-s2);color:#a5c2b6}
body.theme-sombre .mq-fam{border-color:var(--ed-trait);background:var(--ed-s1)}
body.theme-sombre .mq-fam-vue{background:var(--ed-s2);border-bottom-color:var(--ed-trait)}
body.theme-sombre .mq-fam-infos small{color:var(--ed-encre)}
body.theme-sombre .mq-attente{background:var(--ed-s1);border-color:var(--ed-trait);color:var(--ed-encre)}
body.theme-sombre .mq-seg button.actif{background:var(--ed-s1);color:#a2a6b0}
body.theme-sombre .mq-grand-zone iframe{background:var(--ed-s1)}
body.theme-sombre .of-puces label{background:var(--ed-s1)}
body.theme-sombre .of-puces label:has(input:checked){background:var(--ed-s2);color:#aab5dc}
body.theme-sombre .of-rouge{color:#e1a7a3}
body.theme-sombre .of-plus{background:var(--ed-s1)}
body.theme-sombre .of-t td{border-bottom-color:var(--ed-trait)}
body.theme-sombre .of-sel td,body.theme-sombre .of-pack.of-sel{background:var(--ed-s2)}
body.theme-sombre .of-vente{background:#363c3f;color:#a2bbb1}
body.theme-sombre .of-dev,body.theme-sombre .of-mod{background:#3b3c3c;color:#cab799}
body.theme-sombre .of-tard,body.theme-sombre .of-brouillon,body.theme-sombre .of-arch{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .of-nv{background:#383b42;color:#aab5dc}
body.theme-sombre .of-ed{background:var(--ed-s1)}
body.theme-sombre .of-ordre button{background:var(--ed-s1)}
body.theme-sombre .of-pack{background:var(--ed-s1)}
body.theme-sombre .of-av{color:#e1a7a3}
body.theme-sombre .of-ap{color:#a2bbb1}
body.theme-sombre .of-code{background:var(--ed-s2)}
body.theme-sombre .pr-g input,body.theme-sombre .pr-g textarea,body.theme-sombre .pr-l input,body.theme-sombre .pr-l textarea,body.theme-sombre .pr-l select{border-color:var(--ed-trait)}
body.theme-sombre .pr-presta input{border-color:var(--ed-trait)}
body.theme-sombre .formulaire .pr-amb label{border-color:var(--ed-trait)}
body.theme-sombre .pz-courriels #pzc-form input,body.theme-sombre .pz-courriels #pzc-form textarea{background:var(--ed-s1)}
body.theme-sombre .pzc-rep{background:#373b42;color:#a8b3d2}
body.theme-sombre .pzc-mail{background:var(--ed-s1);color:var(--ed-encre)}
body.theme-sombre .pzc-objet{background:var(--ed-s2)}
body.theme-sombre .pzc-corps h4{color:#9ea9b6}
body.theme-sombre .pz-logo img{background:var(--ed-s1)}
body.theme-sombre .pz-c input[type=color]{background:var(--ed-s1)}
body.theme-sombre .pz-lisible.tres{background:#363c3f;color:#a2bbb1}
body.theme-sombre .pz-lisible.ok{background:var(--ed-s2);color:#a4b0c4}
body.theme-sombre .pz-lisible.peu{background:#3b393e;color:#d0a4a1}
body.theme-sombre .pz-ap{background:var(--ed-s1)}
body.theme-sombre .pz-plat .c i{background:var(--ed-s2)}
body.theme-sombre .sa-secu{border-color:var(--ed-trait);background:var(--ed-s2)}
body.theme-sombre .sa-secu-r{background:#3b3b3f;border-color:var(--ed-trait)}
body.theme-sombre .sa-secu-o{background:#3b3d3f;border-color:var(--ed-trait)}
body.theme-sombre .sa-bilan.v{background:var(--ed-s2);border-color:var(--ed-trait)}
body.theme-sombre .sa-bilan.b{background:#393c43;border-color:var(--ed-trait)}
body.theme-sombre .sa-bilan.o{background:#3b3d3e;border-color:var(--ed-trait)}
body.theme-sombre .sa-bilan.r{background:#3b3b3f;border-color:var(--ed-trait)}
body.theme-sombre .sa-prog{background:#353942}
body.theme-sombre .sa-reg{border-top-color:var(--ed-trait)}
body.theme-sombre .sa-inter button{background:var(--ed-s1)}
body.theme-sombre .sa-filtres button{background:var(--ed-s1)}
body.theme-sombre .sa-filtres button.on{background:#383b43;border-color:var(--ed-trait);color:#a5b8ef}
body.theme-sombre .sa-tag.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .sa-tag.o{background:#3b3c3c;color:#caba99}
body.theme-sombre .sa-tag.b{background:#383b42;color:#a8b5d0}
body.theme-sombre .sa-tag.g{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .sc-prog{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .sc-prog-l b{color:#a8b3d2}
body.theme-sombre .sc-prog-l span{color:var(--ed-encre)}
body.theme-sombre .sc-prog-barre{background:#373b42}
body.theme-sombre .sc-tableau td small.sc-ici{color:#a8b3d2}
body.theme-sombre .sc-tuile{background:var(--ed-s1)}
body.theme-sombre .sc-tuile span{color:var(--ed-encre)}
body.theme-sombre .sc-filtres button{background:var(--ed-s1)}
body.theme-sombre .sc-tableau th{color:var(--ed-encre);background:var(--ed-s2)}
body.theme-sombre .sc-tableau td{border-bottom-color:var(--ed-trait)}
body.theme-sombre .sc-tableau td small{color:var(--ed-encre)}
body.theme-sombre .sc-tableau tr.sc-alerte td{background:var(--ed-s2)}
body.theme-sombre .sc-etat.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .sc-etat.r{background:#3b3b3f;color:#e1a8a5}
body.theme-sombre .sc-etat.o{background:#3b3c3a;color:#cabb99}
body.theme-sombre .sc-etat.b{background:#373b42;color:#a8b3d2}
body.theme-sombre .sc-tableau tr{border-bottom-color:var(--ed-trait)}
body.theme-sombre .sa-onglets a{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .sa-onglets a:hover{background:var(--ed-s2)}
body.theme-sombre .sa-onglets a.on{background:var(--ed-s1)}
body.theme-sombre .sa-pas{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .sa-pas.v{background:#363c3f;color:#a2bbb1}
body.theme-sombre .sa-pas.o{background:#3b3c3c;color:#cab799}
body.theme-sombre .sa-pas.r{background:#3b393e;color:#d0a4a1}
body.theme-sombre .sa-k>div{background:var(--ed-s1)}
body.theme-sombre .sa-jauge{background:var(--ed-s2)}
body.theme-sombre .sa-lig{border-top-color:var(--ed-trait)}
body.theme-sombre .sa-mini{background:var(--ed-s2)}
body.theme-sombre .sa-info{background:#383b42;border-color:var(--ed-trait);color:#a5adc6}
body.theme-sombre .sa-note{background:#3b3d3f;border-color:var(--ed-trait);color:#c4b799}
body.theme-sombre .sa-det-g .sa-lig{border-top-color:var(--ed-trait)}
body.theme-sombre .pc-grille small{color:var(--ed-encre)}
body.theme-sombre .pc-montants input{border-color:var(--ed-trait)}
body.theme-sombre .modif-duree select{border-color:var(--ed-trait)}
body.theme-sombre .dlg-champ input,body.theme-sombre .dlg-champ textarea{border-color:var(--ed-trait)}
body.theme-sombre .dlg-mail{background:var(--ed-s1)}
body.theme-sombre .dlg-alerte{background:#3b3d3e;border-color:var(--ed-trait);color:#bdb599}
body.theme-sombre .dlg-champ input.dlg-modif{background:var(--ed-s1)}
body.theme-sombre .fs-essai{border-color:var(--ed-trait);background:#3b3d3f}
body.theme-sombre .fs-puces label{border-color:var(--ed-trait);background:var(--ed-s1)}
body.theme-sombre .fs-puces label.on{background:#383b43}
body.theme-sombre .fs-puces input[type=date]{border-color:var(--ed-trait)}
body.theme-sombre .fs-essai-etat{color:var(--ed-encre)}
body.theme-sombre .fs-vert{color:#a5c4b7}
body.theme-sombre .fs-essai-traite{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .fs-essai-c small{color:var(--ed-encre)}
body.theme-sombre .fs-supprimer summary{color:#e1a7a3}
body.theme-sombre .fs-refaire summary{color:#aebbe5}
body.theme-sombre .fs-supprimer summary small{color:var(--ed-encre)}
body.theme-sombre .fs-onglets a{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .fs-onglets a:hover{background:var(--ed-s2)}
body.theme-sombre .fs-onglets a[aria-selected=true]{background:var(--ed-s1)}
body.theme-sombre .fs-panneau{background:var(--ed-s1)}
body.theme-sombre .fs-panneau .carte{background:var(--ed-s2)}
body.theme-sombre .fs-on-n{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .fs-on-n.r{background:#3b3a3f;color:#d7a4a4}
body.theme-sombre .essai-o{background:#3b3c3c;color:#caba99}
body.theme-sombre .essai-v{background:#373c40;color:#a5c4b7}
body.theme-sombre .essai-b{background:var(--ed-s2);color:#a8b5d0}
body.theme-sombre .sl-outils select{background:var(--ed-s1)}
body.theme-sombre .sl-vue{background:var(--ed-s1)}
body.theme-sombre .sl-vue button[aria-pressed=true]{background:#383b43;color:#a3addc}
body.theme-sombre .sl-entete{background:var(--ed-s2)}
body.theme-sombre .sl-ligne:not(.sl-entete):hover{background:var(--ed-s2)}
body.theme-sombre .sl-vign b{color:#a8b3d2}
body.theme-sombre .sl-site small{color:#b2c0ef}
body.theme-sombre .sl-anneau::before{background:var(--ed-s1)}
body.theme-sombre .sl-ic{background:var(--ed-s1)}
body.theme-sombre .sl-ic:hover{color:#b2c0ef}
body.theme-sombre .sl-liste[data-vue=vignettes] .sl-ligne{background:var(--ed-s1)}
body.theme-sombre .ct-encours{background:#393c43;color:#a5b2dc}
body.theme-sombre .ct-erreur{background:#3b3b3f;border-color:var(--ed-trait);color:#d0a4a1}
body.theme-sombre .ct .pas.r{background:#3b3a3f;color:#db9f9f}
body.theme-sombre .ct .pas.o{background:#3b3c3c;color:#d0bd99}
body.theme-sombre .ct .pas.b{background:#383b42;color:#a5b2dc}
body.theme-sombre .ct .pas.v{background:var(--ed-s2);color:#a5c4ad}
body.theme-sombre .ct-onglets button{color:var(--ed-encre)}
body.theme-sombre .ct-onglets button[aria-pressed=true]{color:#9faac4}
body.theme-sombre .ct-vue{background:var(--ed-s2)}
body.theme-sombre .ct-vue figcaption{background:var(--ed-s1)}
body.theme-sombre .ct-point{background:var(--ed-s1)}
body.theme-sombre .ct-point p{color:var(--ed-encre)}
body.theme-sombre .ct-ignores summary{color:var(--ed-encre)}
body.theme-sombre .sv-compte{background:var(--ed-s1)}
body.theme-sombre .sv-compte:hover{border-color:var(--ed-trait)}
body.theme-sombre .sv-compte span span,body.theme-sombre .sv-compte > span:last-child{color:var(--ed-encre)}
body.theme-sombre .sv-groupe p{color:var(--ed-encre)}
body.theme-sombre .sv-question{background:var(--ed-s2);border-color:var(--ed-trait);color:var(--ed-encre)}
body.theme-sombre .sv-question em{color:#a2a7b0}
body.theme-sombre .sv-choix span{background:var(--ed-s1);color:#a2a7b0}
body.theme-sombre .sv-choix span.on{background:var(--ed-s2)}
body.theme-sombre .sv-choix small{color:var(--ed-encre)}
body.theme-sombre .sv-etat{color:#a5c4ad}
body.theme-sombre .sv-etat.att{color:#d0bd99}
body.theme-sombre .sv-modif summary,body.theme-sombre .sv-case summary{color:#a5b8ef}
body.theme-sombre .sv-modif label{color:var(--ed-encre)}
body.theme-sombre .sv-modif input,body.theme-sombre .sv-modif select{color:#a2a7b0}
body.theme-sombre .sv-barre{border-color:var(--ed-trait)}
body.theme-sombre .sv-barre small{color:var(--ed-encre)}
body.theme-sombre .sv-magie-info{background:var(--ed-s2);border-color:var(--ed-trait);color:var(--ed-encre)}
body.theme-sombre .sv-magie-info b{color:#b7ace7}
body.theme-sombre .sv-modele{background:#3b3d3f;border-color:var(--ed-trait);color:var(--ed-encre)}
body.theme-sombre .sv-alerte{color:#db9f9f}
body.theme-sombre .sv-etat .att{color:#d0bd99}
body.theme-sombre .ct-detail > summary{border-color:var(--ed-trait);color:#a5b8ef;background:var(--ed-s1)}
body.theme-sombre .gd{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .gd-tete{background:var(--ed-s2);border-bottom-color:var(--ed-trait)}
body.theme-sombre .gd .lien{color:var(--ed-encre)}
body.theme-sombre .gd-remontrer .lien{color:#aebbe5}
body.theme-sombre .gd-etapes li{color:var(--ed-encre)}
body.theme-sombre .gd-etapes li::before{background:var(--ed-s2)}
body.theme-sombre .gd-etapes i{background:var(--ed-s2)}
body.theme-sombre .gd-etapes li.ici{color:#9faac4}
body.theme-sombre .gd-verif li{border-bottom-color:var(--ed-trait)}
body.theme-sombre .gd-verif small{color:var(--ed-encre)}
body.theme-sombre .gd-verif input{border-color:var(--ed-trait)}
body.theme-sombre .gd-savoir{background:var(--ed-s2);border-color:var(--ed-trait)}
body.theme-sombre .mel-liste li{border-bottom-color:var(--ed-trait)}
body.theme-sombre .mel-liste b.ok{color:#a5c4b7}
body.theme-sombre .mel-liste b.non{color:#e1a7a3}
body.theme-sombre .pc-etat.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .pc-etat.b{background:#373b42;color:#a8b3d2}
body.theme-sombre .pc-etat.o{background:#3b3c3a;color:#cabb99}
body.theme-sombre .pc-etat.g{background:var(--ed-s2);color:var(--ed-encre)}
body.theme-sombre .pc-jauge{background:#373a41}
body.theme-sombre .pc-rep{border-top-color:var(--ed-trait)}
body.theme-sombre .pc-rep div{border-bottom-color:var(--ed-trait)}
body.theme-sombre .pc-rep span{color:var(--ed-encre)}
body.theme-sombre .ref-nav button{color:var(--ed-encre)}
body.theme-sombre .ref-nav button:hover{background:var(--ed-s2)}
body.theme-sombre .ref-nav button.actif{background:#383b43;color:#acbfec}
body.theme-sombre .ref-doux{color:var(--ed-encre)}
body.theme-sombre .ref-note{color:var(--ed-encre)}
body.theme-sombre .ref-carte{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .ref-anneau div{background:var(--ed-s1)}
body.theme-sombre .ref-anneau small{color:var(--ed-encre)}
body.theme-sombre .ref-grille small{color:var(--ed-encre)}
body.theme-sombre .ref-ligne{border-top-color:var(--ed-trait)}
body.theme-sombre .ref-ligne small{color:var(--ed-encre)}
body.theme-sombre .ref-imp{background:#3b3c3f;color:#e7b39e}
body.theme-sombre .ref-ame{background:#3b3c3f}
body.theme-sombre .ref-con{background:#383b43;color:#acbfec}
body.theme-sombre .ref-ok{background:var(--ed-s2);color:#a1ccb1}
body.theme-sombre .ref-p{background:#3b3c3f}
body.theme-sombre .ref-p.ok{background:var(--ed-s2);color:#a1ccb1}
body.theme-sombre .ref-p.r{background:#3b3c3f;color:#e7b39e}
body.theme-sombre .ref-p.c{background:#383b43;color:#acbfec}
body.theme-sombre .ref-table th,body.theme-sombre .ref-table td{border-top-color:var(--ed-trait)}
body.theme-sombre .ref-table th{color:var(--ed-encre)}
body.theme-sombre .ref-table td small{color:var(--ed-encre)}
body.theme-sombre .ref-clic:hover td{background:var(--ed-s2)}
body.theme-sombre .ref-clic.choisie td{background:#383b43}
body.theme-sombre .ref-google{border-color:var(--ed-trait)}
body.theme-sombre .ref-google .u{color:var(--ed-encre)}
body.theme-sombre .ref-google .t{color:#a39edd}
body.theme-sombre .ref-google .d{color:var(--ed-encre)}
body.theme-sombre .ref-vide{background:var(--ed-s1);border-color:var(--ed-trait)}
body.theme-sombre .ref-vide p{color:var(--ed-encre)}
body.theme-sombre .se-pas.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .se-pas.r{background:#3b3a3f;color:#db9f9f}
body.theme-sombre .se-pas.o{background:#3b3c3c;color:#caba99}
body.theme-sombre .se-l{border-top-color:var(--ed-trait)}
body.theme-sombre .se-ic.v{background:#373c40;color:#a5c4b7}
body.theme-sombre .se-ic.r{background:#3b3a3f;color:#db9f9f}
body.theme-sombre .se-ic.o{background:#3b3c3c;color:#caba99}
body.theme-sombre .se-alerte{background:#3b3b3f;border-color:var(--ed-trait)}
body.theme-sombre .se-alerte.se-orange{background:#3b3d3f;border-color:var(--ed-trait)}
body.theme-sombre .se-alerte strong{color:#d0a4a1}
body.theme-sombre .se-alerte.se-orange strong{color:#c4ba99}
body.theme-sombre .se-alerte ul{color:#bda4a2}
body.theme-sombre .se-alerte em{color:#d0bdbb}
body.theme-sombre .se-robot{background:var(--ed-s1)}
body.theme-sombre .se-robot div{border-top-color:var(--ed-trait)}
/* 0.69.0 : nombre à droite d'une entrée du menu (Ressources) */
.menu .menu-nb{float:right;margin-left:8px;font-size:.72rem;font-weight:600;line-height:1.6;padding:0 8px;border-radius:99px;background:color-mix(in srgb,currentColor 16%,transparent)}
/* 0.72.1, 0.73.1 : pas de barre de défilement visible dans la page ni dans le menu (la molette et le pavé tactile font défiler) ;
   seuls les tableaux trop larges gardent une barre fine, pour montrer qu'il y a des colonnes à droite. */
html,body,body.avec-menu .cote{scrollbar-width:none;-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar,body.avec-menu .cote::-webkit-scrollbar{display:none;width:0;height:0}
.tableau-defilant{scrollbar-width:thin;scrollbar-color:rgba(127,127,127,.4) transparent}
.tableau-defilant::-webkit-scrollbar{height:8px}
.tableau-defilant::-webkit-scrollbar-thumb{background:rgba(127,127,127,.4);border-radius:8px}
/* 0.74.1 : pages adaptatives — elles se resserrent sur un petit écran ou avec le zoom du navigateur, au lieu de déborder. */
@media (max-width:1700px){
  body .fs-onglets{gap:3px;padding:6px 8px 0;flex-wrap:wrap}
  body .fs-onglets a{padding:10px 9px;gap:5px;font-size:.9rem}
  body .fs-onglets a[aria-selected=true]{padding-top:13px}
}
@media (max-width:1400px){
  body .fs-onglets{padding:6px 2px 0;gap:2px}
  body .fs-onglets a{padding:9px 7px;gap:4px;font-size:.85rem}
}
body .fc-ong{flex-wrap:wrap;overflow:visible}
@media (max-width:1300px){
  body.avec-menu main.conteneur.large{padding-left:18px;padding-right:18px}
  body .ctm-titre{min-width:0}
  body .en-onglets{gap:14px}
}
