/* Mode clair / sombre (essai, staging). Le clair reste le mode par defaut. Bandeau, pied de page, bandeau bleu d'accueil et etiquettes des trois publics ne changent jamais. */
.theme-sw{position:relative;flex:0 0 auto;align-self:center;width:54px;height:30px;margin:0 0 0 6px;padding:0;border-radius:15px;border:1px solid rgba(255,255,255,.55);background:#555;cursor:pointer;transition:background-color .25s}
.theme-sw .ts-ic{position:absolute;top:50%;transform:translateY(-50%);width:16px;height:16px;display:block;color:#fff}
.theme-sw .ts-soleil{left:7px}.theme-sw .ts-lune{right:7px}
.theme-sw .ts-pt{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.5);transition:transform .25s}
.theme-sw[aria-checked="true"]{background:#009999}
.theme-sw[aria-checked="true"] .ts-pt{transform:translateX(24px)}
.theme-sw:focus-visible{outline:3px solid #fff;outline-offset:2px}
nav.site .theme-sw{margin:0 0 0 auto;align-self:center}
.theme-ligne{display:none}
@media (max-width:700px){
  .menu-m-liste .theme-ligne{display:flex;align-items:center;justify-content:space-between;background:#444;color:#fff;padding:7px 14px;border-radius:3px;font-size:.95rem}
  .menu-m-liste .theme-ligne .theme-sw{margin:0}
}
html[data-theme="sombre"]{color-scheme:dark}
html[data-theme="sombre"] body{background-color:#2b2b2b;color:#f2f2f2}
html[data-theme="sombre"] body.fond-accueil{background:#2b2b2b url(fond-accueil-sombre.jpg) center top / cover fixed no-repeat}
@media (max-width:767px){
  html[data-theme="sombre"] body.fond-accueil{background:#2b2b2b}
  html[data-theme="sombre"] body.fond-accueil::before{background-image:url(fond-accueil-sombre.jpg)}
}
html[data-theme="sombre"] main{--encre:#f2f2f2;--encre-2:#dcdcdc;--encre-3:#bdbdbd;--carte:#333;--mute:#3d3d3d;--bord:rgba(255,255,255,.24);--info:#27424a;--ok:#1f3b36;--err:#4a2326;color:#f2f2f2}
html[data-theme="sombre"] main a:not(.btn):not(.tuile-public){color:#7fe3e3}
html[data-theme="sombre"] main .boite-blanche,
html[data-theme="sombre"] main .outil-tuile,
html[data-theme="sombre"] main table.liste,
html[data-theme="sombre"] main fieldset.contact-ent,
html[data-theme="sombre"] main .frise.propose .jalon .carte{background:#333;color:#f2f2f2}
html[data-theme="sombre"] main .carte:not(.tuile-public){background:#333;color:#f2f2f2;box-shadow:0 8px 18px rgba(0,0,0,.45)}
html[data-theme="sombre"] main .aiguillage{color:#f2f2f2 !important}
html[data-theme="sombre"] main [style*="b00020"]{color:#ff8a95 !important}
html[data-theme="sombre"] main input[type=email],html[data-theme="sombre"] main input[type=password],html[data-theme="sombre"] main input[type=text],html[data-theme="sombre"] main textarea,html[data-theme="sombre"] main select{background:#262626;color:#f2f2f2;border-color:rgba(255,255,255,.35)}
html[data-theme="sombre"] main ::placeholder{color:#a8a8a8}
html[data-theme="sombre"] main .btn.secondaire{background:#444;color:#f2f2f2;border-color:rgba(255,255,255,.35)}
html[data-theme="sombre"] main .btn.secondaire:hover{background:#505050}
html[data-theme="sombre"] main .hero .btn.secondaire{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.8)}
html[data-theme="sombre"] main .hero .btn.secondaire:hover{background:rgba(255,255,255,.15)}
html[data-theme="sombre"] main .btn.discret{color:#7fe3e3;border-color:#2fb5b5}
html[data-theme="sombre"] main .alerte.ok{border-color:#5aa89a}
html[data-theme="sombre"] main .badge{background:#444;color:#ddd}
html[data-theme="sombre"] main .badge.simul{background:#4a3b12;color:#f0c96a;border-color:#8a7330}
html[data-theme="sombre"] main .badge.attente{background:#4a3520;color:#f0c79a;border-color:#8a6a3e}
html[data-theme="sombre"] main .identifiants{background:#3d3720;color:#f2e6b8;border-color:#8a7330}
html[data-theme="sombre"] main .etapes li{background:#3d3d3d;color:#ccc}
html[data-theme="sombre"] main .etapes li.courante{background:#009999;color:#fff}
html[data-theme="sombre"] main .frise .jalon .point{background:#333}
html[data-theme="sombre"] main .frise .jalon.fait .point{background:#009999}
html[data-theme="sombre"] main .frise .jalon.en_cours .point{background:#cb4b00}
html[data-theme="sombre"] main table.liste th{background:#3d3d3d}
html[data-theme="sombre"] main .ress,html[data-theme="sombre"] main .ress-centre,html[data-theme="sombre"] main .ress [class*="etape"],html[data-theme="sombre"] main .ress div{background-color:#3d3d3d}
html[data-theme="sombre"] main .ress-turquoise{color:#4fd1d1}
@media(min-width:1260px){html.th-defile .acces .theme-sw{display:none}}
html[data-theme="sombre"] main .price_old{color:#000}
html[data-theme="sombre"] main .etapes li.courante{background:#007272;color:#fff}
/* bandeau de reprise de l'accueil en mode sombre */
html[data-theme="sombre"] .ck-reprise{background:#27424a;border-color:#4a8593;color:#f2f2f2}
html[data-theme="sombre"] .ck-reprise a{color:#7fe3e3}
/* Avatar de l espace virtuel : conteneurs transparents (le PNG detoure garde son alpha) */
html[data-theme="sombre"] main .ress .ress-ligne,html[data-theme="sombre"] main .ress .ress-corps,html[data-theme="sombre"] main .ress .ress-avatar{background-color:transparent}
