/* GÉNÉRÉ par scripts/build-dark-css.py à partir de style.css : ne pas modifier à la main (voir dark-extra.css). */
html[data-theme="dark"]{color-scheme:dark;--paper:#0A120E;--paper-2:#0F1B15;--line:#22302A;--gris:#A3ACA4;--gris-clair:#22302A;--text-muted:#A3ACA4;--success-soft:#10261C;--accent-soft:#2A2010;--danger-soft:#2B1512;--warning-soft:#2A2010;--info-soft:#0F1B15;--shadow:0 8px 30px rgba(0,0,0,.45)}
html[data-theme="dark"] body{background:#0A120E;color:#F1EFE6}
html[data-theme="dark"] [style*="background:#fff"],html[data-theme="dark"] [style*="background: #fff"],html[data-theme="dark"] [style*="background:white"],html[data-theme="dark"] [style*="background: white"]{background:#101C16!important}
html[data-theme="dark"] [style*="color:var(--ink)"],html[data-theme="dark"] [style*="color: var(--ink)"],html[data-theme="dark"] [style*="color:#0B1220"],html[data-theme="dark"] [style*="color: #0B1220"]{color:#F1EFE6!important}
html[data-theme="dark"] body{color:#F1EFE6;background:#0A120E}
html[data-theme="dark"] .muted{color:#A3ACA4}
html[data-theme="dark"] .btn-outline{color:#F1EFE6}
html[data-theme="dark"] .site-header{border-bottom:1px solid #22302A}
html[data-theme="dark"] .logo span.tag{color:#A3ACA4}
html[data-theme="dark"] .mega-menu-panel{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .mega-menu-item{color:#F1EFE6}
html[data-theme="dark"] .mega-menu-item:hover{background:#0F1B15}
html[data-theme="dark"] .mega-menu-item span{color:#A3ACA4}
html[data-theme="dark"] .nav-icon-btn{color:#F1EFE6}
html[data-theme="dark"] .nav-icon-btn:hover{background:#0F1B15}
@media (max-width: 860px){html[data-theme="dark"] .nav-links.open{background:#0A120E;border-bottom:1px solid #22302A}}
html[data-theme="dark"] .roadmap.light .roadmap-num{background:#0A120E}
html[data-theme="dark"] .roadmap.light .roadmap-content .rd{color:#A3ACA4}
html[data-theme="dark"] .section.alt{background:#0F1B15}
html[data-theme="dark"] .card{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .badge{background:#0F1B15;color:#F1EFE6}
html[data-theme="dark"] .badge.bleu{background:#2A2010}
html[data-theme="dark"] .badge.muted{background:#0F1B15;color:#A3ACA4}
html[data-theme="dark"] .testimonial{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .testimonial .role{color:#A3ACA4}
html[data-theme="dark"] .faq-item{border:1px solid #22302A;background:#101C16}
html[data-theme="dark"] .faq-item p{color:#A3ACA4}
html[data-theme="dark"] .form-control{border:1px solid #22302A;background:#101C16;color:#F1EFE6}
html[data-theme="dark"] .auth-card{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .stat-tile{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .stat-tile .label{color:#A3ACA4}
html[data-theme="dark"] .progress-track{background:#0F1B15}
html[data-theme="dark"] .module-block{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .module-head{background:#0F1B15}
html[data-theme="dark"] .module-head .module-meta{color:#A3ACA4}
html[data-theme="dark"] .lesson-row{border-top:1px solid #22302A}
html[data-theme="dark"] .lesson-status.non_commence{color:#A3ACA4}
html[data-theme="dark"] .resource-item{border:1px solid #22302A;background:#101C16}
html[data-theme="dark"] .resource-item .res-type{color:#A3ACA4}
html[data-theme="dark"] table.data-table{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] table.data-table th,html[data-theme="dark"] table.data-table td{border-bottom:1px solid #22302A}
html[data-theme="dark"] table.data-table th{background:#0F1B15;color:#A3ACA4}
html[data-theme="dark"] .panel{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .formation-card{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .badge-bestseller{color:#F1EFE6}
html[data-theme="dark"] .formation-card-body .card-desc{color:#A3ACA4}
html[data-theme="dark"] .card-meta-row{color:#A3ACA4}
html[data-theme="dark"] .card-stars .stars-count{color:#A3ACA4}
html[data-theme="dark"] .card-price-row{border-top:1px solid #22302A}
html[data-theme="dark"] .testimonials-premium{background:#0F1B15}
html[data-theme="dark"] .testimonial-card-premium{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .testi-author{border-top:1px solid #22302A}
html[data-theme="dark"] .testi-role{color:#A3ACA4}
html[data-theme="dark"] .slider-btn{border:1px solid #22302A;background:#101C16;color:#F1EFE6}
html[data-theme="dark"] .partners-section{border-bottom:1px solid #22302A}
html[data-theme="dark"] .partners-label{color:#A3ACA4}
html[data-theme="dark"] .partner-item{color:#A3ACA4;border:1px solid #22302A}
html[data-theme="dark"] .stat-tile-premium{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .stat-tile-premium .tile-num{color:#F1EFE6}
html[data-theme="dark"] .stat-tile-premium .tile-label{color:#A3ACA4}
html[data-theme="dark"] .tile-trend.neutral{background:#0F1B15;color:#A3ACA4}
html[data-theme="dark"] .progress-track-premium{background:#0F1B15}
html[data-theme="dark"] .progress-palier-dot{background:#0A120E}
html[data-theme="dark"] .progress-palier-label{color:#A3ACA4}
html[data-theme="dark"] .progress-palier.atteint .progress-palier-label{color:#F1EFE6}
html[data-theme="dark"] .gamification-section{background:#0F1B15}
html[data-theme="dark"] .badge-item{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .badge-name{color:#F1EFE6}
html[data-theme="dark"] .badge-desc{color:#A3ACA4}
html[data-theme="dark"] .mobile-bottom-nav{border-top:1px solid #22302A}
html[data-theme="dark"] .mobile-nav-item{color:#A3ACA4}
html[data-theme="dark"] .kpi-card{background:#101C16}
html[data-theme="dark"] .kpi-trend.up{background:#10261C}
html[data-theme="dark"] .kpi-trend.warn{background:#2A2010}
html[data-theme="dark"] .kpi-trend.neutral{color:#A3ACA4}
html[data-theme="dark"] .admin-panel{background:#101C16}
html[data-theme="dark"] .filter-pill{background:#101C16}
html[data-theme="dark"] .status-badge.active,html[data-theme="dark"] .status-badge.valide,html[data-theme="dark"] .status-badge.publie{background:#10261C}
html[data-theme="dark"] .status-badge.pending,html[data-theme="dark"] .status-badge.en_attente,html[data-theme="dark"] .status-badge.brouillon{background:#2A2010}
html[data-theme="dark"] .status-badge.inactive,html[data-theme="dark"] .status-badge.echoue,html[data-theme="dark"] .status-badge.archive,html[data-theme="dark"] .status-badge.masque,html[data-theme="dark"] .status-badge.inactif,html[data-theme="dark"] .status-badge.suspendu{background:#2B1512}
html[data-theme="dark"] .status-badge.neutral,html[data-theme="dark"] .status-badge.lu,html[data-theme="dark"] .status-badge.traite{background:#0F1B15;color:#A3ACA4}
html[data-theme="dark"] .status-badge.non_lu{background:#2A2010}
html[data-theme="dark"] .quick-link-card{border:1.5px solid #22302A}
html[data-theme="dark"] .mini-bar-track{background:#0F1B15}
html[data-theme="dark"] .admin-select-sm{border:1.5px solid #22302A}
html[data-theme="dark"] .admin-search input{background:#101C16}
html[data-theme="dark"] .admin-search::before{color:#A3ACA4}
html[data-theme="dark"] .admin-form .form-control{background:#101C16}
html[data-theme="dark"] .admin-alert.success{background:#10261C}
html[data-theme="dark"] .admin-alert.error{background:#2B1512}
html[data-theme="dark"] .admin-alert.info{background:#2A2010}
html[data-theme="dark"] .admin-alert.warning{background:#2A2010}
html[data-theme="dark"] .btn-admin-secondary{background:#101C16}
html[data-theme="dark"] .btn-admin-danger{background:#101C16}
html[data-theme="dark"] .btn-admin-danger:hover{background:#2B1512}
html[data-theme="dark"] .breadcrumb-site{border-bottom:1px solid #22302A;background:#0F1B15}
html[data-theme="dark"] .breadcrumb-site ol{color:#A3ACA4}
html[data-theme="dark"] .breadcrumb-site a{color:#A3ACA4}
html[data-theme="dark"] .breadcrumb-site li[aria-current="page"]{color:#F1EFE6}
html[data-theme="dark"] .lecon-nav-bar{background:#101C16}
html[data-theme="dark"] .lecon-sidebar{background:#101C16}
html[data-theme="dark"] .sidebar-header{background:#101C16}
html[data-theme="dark"] .sidebar-module-title{color:#F1EFE6;background:#101C16}
html[data-theme="dark"] .sidebar-lecon-text .ltitle{color:#F1EFE6}
html[data-theme="dark"] .sidebar-lecon-item.active .ltitle{color:#F1EFE6}
html[data-theme="dark"] .notes-area:focus{background:#101C16}
html[data-theme="dark"] .price-box{background:#101C16}
html[data-theme="dark"] .price-box-thumb-play{background:rgba(16,28,22,0.95)}
html[data-theme="dark"] .price-box-price{color:#F1EFE6}
html[data-theme="dark"] .price-include-item{color:#F1EFE6}
html[data-theme="dark"] .programme-week{border:1px solid #22302A;background:#101C16}
html[data-theme="dark"] .programme-week-header{background:#101C16}
html[data-theme="dark"] .pw-num{background:#0F1B15}
html[data-theme="dark"] .pw-meta{background:#0F1B15}
html[data-theme="dark"] .pw-lecon-item:hover{background:#0F1B15}
html[data-theme="dark"] .programme-overview{border:1px solid #22302A}
html[data-theme="dark"] .programme-overview a{color:#A3ACA4;background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .timeline-dot{background:#101C16}
html[data-theme="dark"] .timeline-card{background:#101C16}
html[data-theme="dark"] .exit-popup{background:#101C16}
html[data-theme="dark"] .exit-popup-close{background:#0F1B15}
html[data-theme="dark"] .upsell-box{background:#2A2010}
html[data-theme="dark"] .compare-card{border:1px solid #22302A}
html[data-theme="dark"] .compare-card.before{background:#0F1B15}
html[data-theme="dark"] .compare-card.before h3{color:#A3ACA4}
html[data-theme="dark"] .section:nth-of-type(even):not(.dark):not(.hero){background:#0F1B15}
html[data-theme="dark"] table.admin-table tbody tr:hover{background:#0F1B15}
html[data-theme="dark"] ::-webkit-scrollbar-track{background:#0F1B15}
html[data-theme="dark"] .payment-stepper li{color:#A3ACA4}
html[data-theme="dark"] .payment-stepper .ps-num{background:#0F1B15;color:#A3ACA4;border:1px solid #22302A}
html[data-theme="dark"] .payment-stepper li.is-active .ps-label{color:#F1EFE6}
html[data-theme="dark"] .method-card{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .method-card summary .ms-chevron{color:#A3ACA4}
html[data-theme="dark"] .fait-pour-toi{border-top:1px solid #22302A}
html[data-theme="dark"] .fait-pour-toi h4{color:#A3ACA4}
html[data-theme="dark"] .step-num{background:#0F1B15;border:1px solid #22302A}
html[data-theme="dark"] .modal-box{background:#101C16}
html[data-theme="dark"] .modal-box-header{border-bottom:1px solid #22302A}
html[data-theme="dark"] .modal-box-footer{border-top:1px solid #22302A}
html[data-theme="dark"] .media-field{background:#0F1B15;border:1px solid #22302A}
html[data-theme="dark"] .media-preview-external{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .media-tab-btn{background:#101C16;border:1px solid #22302A}
@media (max-width: 640px){html[data-theme="dark"] .cmp-table tr{border-bottom:1px solid #22302A}html[data-theme="dark"] .cmp-table td.cmp-crit{color:#A3ACA4}html[data-theme="dark"] .cmp-table td[data-label]::before{color:#F1EFE6}}
html[data-theme="dark"] .checkout-body{background:#0F1B15}
html[data-theme="dark"] .checkout-header{background:#101C16;border-bottom:1px solid #22302A}
html[data-theme="dark"] .checkout-header-back{color:#A3ACA4}
html[data-theme="dark"] .checkout-header-back:hover{color:#F1EFE6}
html[data-theme="dark"] .checkout-footer-inner{color:#A3ACA4}
html[data-theme="dark"] .checkout-footer-inner a{color:#A3ACA4}
html[data-theme="dark"] .checkout-footer-inner a:hover{color:#F1EFE6}
html[data-theme="dark"] .hero-float-card{color:#F1EFE6}
html[data-theme="dark"] .hero-float-card.card-progress .fc-label{color:#A3ACA4}
html[data-theme="dark"] .hero-float-card.card-cert .fc-sub{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium{background:#0A120E;border:1px solid #22302A}
html[data-theme="dark"] .certificate-premium .cert-eyebrow{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium .cert-brand{color:#F1EFE6}
html[data-theme="dark"] .certificate-premium .cert-lead{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium .cert-name{color:#F1EFE6}
html[data-theme="dark"] .certificate-premium .cert-formation-label{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium .cert-date{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium .cert-footer{border-top:1px dashed #22302A}
html[data-theme="dark"] .certificate-premium .cert-footer img{border:1px solid #22302A}
html[data-theme="dark"] .certificate-premium .cert-code{color:#A3ACA4}
html[data-theme="dark"] .certificate-premium .cert-code strong{color:#F1EFE6}
html[data-theme="dark"] .certificate-premium .cert-signature .sig-line{color:#F1EFE6;border-bottom:1px solid #22302A}
html[data-theme="dark"] .certificate-premium .cert-signature .sig-label{color:#A3ACA4}
@media print{html[data-theme="dark"] body{background:#101C16!important}}
html[data-theme="dark"] .editorial-list-item{border-bottom:1px solid #22302A}
html[data-theme="dark"] .editorial-list-item .eli-icon{background:#10261C}
html[data-theme="dark"] .editorial-list-item .eli-body p{color:#A3ACA4}
html[data-theme="dark"] .process-step .ps-num{background:#0A120E}
html[data-theme="dark"] .process-step p{color:#A3ACA4}
html[data-theme="dark"] .cm-tabs{border-bottom:1px solid #22302A}
html[data-theme="dark"] .cm-tabs a{color:#A3ACA4}
html[data-theme="dark"] .cm-tabs a.active{color:#F1EFE6}
html[data-theme="dark"] .cm-tabs a:hover{color:#F1EFE6}
html[data-theme="dark"] .cm-card{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .cm-side-title{color:#F1EFE6}
html[data-theme="dark"] .cm-level{background:#2A2010}
html[data-theme="dark"] .cm-composer{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .cm-textarea{border:1px solid #22302A;background:#0A120E}
html[data-theme="dark"] .cm-textarea:focus{background:#101C16}
html[data-theme="dark"] .cm-tool{border:1px solid #22302A;background:#101C16;color:#F1EFE6}
html[data-theme="dark"] .cm-select{border:1px solid #22302A;background:#101C16}
html[data-theme="dark"] .cm-chip{border:1px solid #22302A;background:#101C16;color:#A3ACA4}
html[data-theme="dark"] .cm-meta{color:#A3ACA4}
html[data-theme="dark"] .cm-tag.warn{background:#2A2010}
html[data-theme="dark"] .cm-tag.ok{background:#10261C}
html[data-theme="dark"] .cm-photo img{border:1px solid #22302A}
html[data-theme="dark"] .cm-actions{border-top:1px solid #22302A}
html[data-theme="dark"] .cm-act{color:#A3ACA4}
html[data-theme="dark"] .cm-act:hover{color:#F1EFE6}
html[data-theme="dark"] .cm-comment{border-top:1px solid #22302A}
html[data-theme="dark"] .cm-comment-form{border-top:1px solid #22302A}
html[data-theme="dark"] .cm-bar{background:#0F1B15}
html[data-theme="dark"] .cm-stats span{color:#A3ACA4}
html[data-theme="dark"] .cm-rank + .cm-rank{border-top:1px solid #22302A}
html[data-theme="dark"] .cm-rank.me{background:#10261C}
html[data-theme="dark"] .cm-rank-n{color:#A3ACA4}
html[data-theme="dark"] .cm-podium-col{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .cm-more{color:#A3ACA4}
html[data-theme="dark"] .cm-wrap{border:1px solid #22302A;background:#101C16}
html[data-theme="dark"] .cm-band{background:#101C16;border-bottom:1px solid #22302A}
html[data-theme="dark"] .cm-band-title{color:#A3ACA4}
html[data-theme="dark"] .cm-wrap .cm-chip{color:#A3ACA4}
html[data-theme="dark"] .cm-composer{background:#101C16;border:1px solid #22302A}
html[data-theme="dark"] .cm-input{color:#F1EFE6}
html[data-theme="dark"] .cm-input:focus{background:#101C16}
html[data-theme="dark"] .cm-top-title{color:#A3ACA4}
html[data-theme="dark"] .cm-top-links{border-top:1px solid #22302A}
html[data-theme="dark"] .cm-perks li{border-bottom:1px solid #22302A}
