/* Mode nuit : généré automatiquement à partir des feuilles du site (scripts/gendark.py), puis réglages manuels en fin de fichier. */

/* --- styles.css --- */
html[data-theme="dark"] body { color: #e7edf3; background: #16202b; }
html[data-theme="dark"] .header { background: rgba(255,255,255,0.080); border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .logo { color: #e7edf3; }
html[data-theme="dark"] .nav a { color: #e7edf3; }
html[data-theme="dark"] .tools select, html[data-theme="dark"] .icon-btn { border: 1px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .btn-ghost { border-color: #2b3846; }
html[data-theme="dark"] .btn-ghost:hover { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .btn-outline { color: #e7edf3; }
html[data-theme="dark"] .hero-note { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .search { background: #16202b; }
html[data-theme="dark"] .search input { color: #e7edf3; }
html[data-theme="dark"] .search-results { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .search-results a { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .search-results a:hover { background: #16202b; }
html[data-theme="dark"] .eyebrow { color: #a9b8c6; }
html[data-theme="dark"] h2 { color: #e7edf3; }
html[data-theme="dark"] .lead { color: #a9b8c6; }
html[data-theme="dark"] .bg-grey { background: #16202b; }
html[data-theme="dark"] .tab { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .product-card { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .badge.demo { color: #e7edf3; }
html[data-theme="dark"] .product-ref { color: #a9b8c6; }
html[data-theme="dark"] .product-body h3 { color: #e7edf3; }
html[data-theme="dark"] .specs li { background: #16202b; }
html[data-theme="dark"] .price { color: #e7edf3; }
html[data-theme="dark"] .price small { color: #a9b8c6; }
html[data-theme="dark"] .avail { color: #a9b8c6; }
html[data-theme="dark"] .empty { border: 1.5px dashed #2b3846; color: #a9b8c6; background: #16202b; }
html[data-theme="dark"] .steps li::before { color: #a9b8c6; }
html[data-theme="dark"] .adv { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .adv h3 { color: #e7edf3; }
html[data-theme="dark"] .adv p { color: #a9b8c6; }
html[data-theme="dark"] .adv svg { stroke: #a9b8c6; }
@media (max-width: 1024px) {
  html[data-theme="dark"] .nav { background: #16202b; border-bottom: 1px solid #2b3846; }
}
html[data-theme="dark"] .cat-grid.cat-photos .cat-card, html[data-theme="dark"] .cat-grid.cat-photos .cat-card:nth-child(1), html[data-theme="dark"] .cat-grid.cat-photos .cat-card:nth-child(4) { background: #16202b; color: #e7edf3; border: 1px solid #2b3846; }
html[data-theme="dark"] .cat-grid.cat-photos .cat-card h3 { color: #e7edf3; }
html[data-theme="dark"] .cat-grid.cat-photos .cat-card p { color: #a9b8c6; }
@media (max-width: 720px) {
  html[data-theme="dark"] .tabbar { background: #16202b; border-top: 1px solid #2b3846; }
  html[data-theme="dark"] .tabbar a { color: #e7edf3; }
  html[data-theme="dark"] .tabbar a[aria-current="page"] { color: #a9b8c6; }
}
html[data-theme="dark"] .cat-row-head a { color: #a9b8c6; }
html[data-theme="dark"] .faq-item { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .faq-item summary { color: #e7edf3; }
html[data-theme="dark"] .faq-item summary::after { color: #a9b8c6; }
html[data-theme="dark"] .faq-item p { color: #a9b8c6; }
html[data-theme="dark"] .cdrawer { background: #16202b; }
html[data-theme="dark"] .cdrawer-head { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .cdrawer-head h2 { color: #e7edf3; }
html[data-theme="dark"] .cdrawer-item { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .cdrawer-info strong { color: #e7edf3; }
html[data-theme="dark"] .cdrawer-qty { border: 1px solid #2b3846; }
html[data-theme="dark"] .cdrawer-qty .qty-btn { color: #e7edf3; }
html[data-theme="dark"] .cdrawer-qty .qty-btn:hover { background: #16202b; }
html[data-theme="dark"] .cdrawer-foot { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .cfly { background: #16202b center/cover no-repeat; }
html[data-theme="dark"] .recent { border-top: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .recent-head h2 { color: #e7edf3; }
html[data-theme="dark"] .recent-list a { color: #e7edf3; }
html[data-theme="dark"] [data-fav][aria-pressed="true"] { background: #16202b !important; }
@media (max-width: 720px) {
  html[data-theme="dark"] nav#tabbar.tabbar { border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.080); }
  html[data-theme="dark"] nav#tabbar.tabbar a { color: #a9b8c6; }
  html[data-theme="dark"] nav#tabbar.tabbar a[aria-current="page"] { color: #e7edf3; }
  html[data-theme="dark"] nav#tabbar.tabbar .tab-badge { border: 2px solid #2b3846; }
}
html[data-theme="dark"] .ptag { color: #e7edf3; }
html[data-theme="dark"] .ptag--req { border: 2px solid #2b3846; }
html[data-theme="dark"] .ptag--req .ptag__now { color: #a9b8c6; }
html[data-theme="dark"] .theme-btn { border: 1px solid #2b3846; background: #16202b; color: #e7edf3; }

/* --- forms.css --- */
html[data-theme="dark"] .page-pad h1 { color: #e7edf3; }
html[data-theme="dark"] .card-form { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .f { color: #a9b8c6; }
html[data-theme="dark"] .f input, html[data-theme="dark"] .f select, html[data-theme="dark"] .f textarea { color: #e7edf3; border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .f input[readonly] { background: #16202b; }
html[data-theme="dark"] .hint { color: #a9b8c6; }
html[data-theme="dark"] .status-msg.err { color: #e6716a; }
html[data-theme="dark"] .side-btn { color: #e7edf3; }
html[data-theme="dark"] .side-btn:hover, html[data-theme="dark"] .side-btn[aria-current="true"] { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .stat { background: #16202b; }
html[data-theme="dark"] .stat b { color: #e7edf3; }
html[data-theme="dark"] .row-card { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .pill { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .summary { background: #16202b; }
html[data-theme="dark"] .sum-row.total { border-top: 1px solid #2b3846; color: #e7edf3; }
html[data-theme="dark"] .sum-row.sub { color: #a9b8c6; }
html[data-theme="dark"] .coupon input { border: 1px solid #2b3846; }
html[data-theme="dark"] .bank-row { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .bank-row span { color: #a9b8c6; }
html[data-theme="dark"] .bankbox, html[data-theme="dark"] .proofbox { background: #16202b; }
html[data-theme="dark"] .legal-banner { color: #e6716a; }

/* --- pages.css --- */
html[data-theme="dark"] .crumbs { color: #a9b8c6; }
html[data-theme="dark"] .crumbs a:hover { color: #a9b8c6; }
html[data-theme="dark"] .container h1 { color: #e7edf3; }
html[data-theme="dark"] .mini-search { border: 1px solid #2b3846; }
html[data-theme="dark"] .opt { border: 1px solid #2b3846; }
html[data-theme="dark"] .opt legend { color: #e7edf3; }
html[data-theme="dark"] .opt em { color: #a9b8c6; }
html[data-theme="dark"] .pbox { background: #16202b; }
html[data-theme="dark"] .pbox .label { color: #a9b8c6; }
html[data-theme="dark"] .pbox .big { color: #e7edf3; }
html[data-theme="dark"] .muted { color: #a9b8c6; }
html[data-theme="dark"] .spec-table th, html[data-theme="dark"] .spec-table td { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .spec-table th { color: #a9b8c6; }
html[data-theme="dark"] .plan { border: 1px solid #2b3846; }
html[data-theme="dark"] .cfg-step { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cfg-step legend { color: #e7edf3; }
html[data-theme="dark"] .cfg-step legend em { color: #a9b8c6; }
html[data-theme="dark"] .cfg-delta { color: #a9b8c6; }
html[data-theme="dark"] .cfg-qty button { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .cfg-summary { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cfg-total { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .cfg-box { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .pano { background: #16202b; }
html[data-theme="dark"] .filters-box { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .filters-box summary { color: #e7edf3; }
html[data-theme="dark"] .filters-on { color: #a9b8c6; }
html[data-theme="dark"] .filters label, html[data-theme="dark"] .filters legend { color: #a9b8c6; }
html[data-theme="dark"] .filters input[type=number], html[data-theme="dark"] .filters select { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .btn-link { color: #a9b8c6; }
html[data-theme="dark"] .btn-link[aria-pressed="true"] { color: #e7edf3; }
html[data-theme="dark"] .cmp { background: #16202b; }
html[data-theme="dark"] .cmp th, html[data-theme="dark"] .cmp td { border: 1px solid #2b3846; }
html[data-theme="dark"] .cmp thead th { background: #16202b; }
html[data-theme="dark"] .cmp tbody th { background: #16202b; }
html[data-theme="dark"] .cmp .diff td { background: #16202b; }
html[data-theme="dark"] .blog-card { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .blog-body time { color: #a9b8c6; }
html[data-theme="dark"] .blog-body h2 { color: #e7edf3; }
html[data-theme="dark"] .blog-body p { color: #a9b8c6; }
html[data-theme="dark"] .prose h2 { color: #e7edf3; }
html[data-theme="dark"] .prose h3 { color: #e7edf3; }
html[data-theme="dark"] .arrbox { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .arr-msg { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .low-stock { color: #eeb063; }
html[data-theme="dark"] .cat-hero__count { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .cat-chip { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .cat-chip:hover { color: #63b6ee; }
html[data-theme="dark"] .cat-toolbar .filters-box[open] .filters-grid, html[data-theme="dark"] .cat-toolbar .filters-box[open] .filters-actions { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .cat-toolbar .sort select { border: 1.5px solid #2b3846; background-color: #16202b; color: #e7edf3; }
html[data-theme="dark"] .cat-results { color: #a9b8c6; }
html[data-theme="dark"] .product-card.pc { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .product-card.pc:hover { border-color: #2b3846; }
html[data-theme="dark"] .pc-fav.fav { background: rgba(255,255,255,0.080); color: #e7edf3; }
html[data-theme="dark"] .pc-ref { color: #a9b8c6; }
html[data-theme="dark"] .pc-title a { color: #e7edf3; }
html[data-theme="dark"] .pc-specs li { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pc-avail { color: #a9b8c6; }
html[data-theme="dark"] .pc-avail--ok { color: #6ee2a0; }
html[data-theme="dark"] .pc-avail--out { color: #eb6f66; }
html[data-theme="dark"] .pc-foot { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .pc-price strong { color: #e7edf3; }
html[data-theme="dark"] .pc-price small { color: #a9b8c6; }
html[data-theme="dark"] .pc-compare { color: #63b6ee; }
html[data-theme="dark"] .pc-compare[aria-pressed="true"] { color: #7cc4ff; }
html[data-theme="dark"] .pp-box { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .pp-box__title { color: #e7edf3; }
html[data-theme="dark"] .pp-box__intro { color: #e7edf3; }
html[data-theme="dark"] .pp-box__list li { color: #e7edf3; }
html[data-theme="dark"] .pp-box__list li strong { color: #e7edf3; }
html[data-theme="dark"] .pp-box__list li.is-paid span::after { color: #6ee2a0; }
html[data-theme="dark"] .pp-box__list li:first-child strong { color: #63b6ee; }

/* --- home.css --- */
html[data-theme="dark"] .home2 .hdr2 { background: #16202b; }
html[data-theme="dark"] .home2 .hdr-row .logo { color: #e7edf3; }
html[data-theme="dark"] .home2 .hdr-nav { border-top: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .home2 .hdr-links a { color: #e7edf3; }
html[data-theme="dark"] .home2 .hdr-search { border-top: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .home2 .hero-dots button { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .home2 .hero-dots button[aria-current="true"] { background: #16202b; }
html[data-theme="dark"] .home2 .val-grid svg { stroke: #65b4eb; }
html[data-theme="dark"] .home2 .cat-tile { background: #16202b; border: 1px solid #2b3846; color: #e7edf3; }
html[data-theme="dark"] .home2 .cat-tile-body span { color: #a9b8c6; }
html[data-theme="dark"] .home2 .showcase-all { color: #e7edf3; }
html[data-theme="dark"] .home2 .shop-card { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .home2 .shop-body h3 a { color: #e7edf3; }
html[data-theme="dark"] .home2 .shop-price { color: #e7edf3; }
html[data-theme="dark"] .home2 .shop-price small { color: #a9b8c6; }
html[data-theme="dark"] .home2 .shop-price.muted { color: #a9b8c6; }
html[data-theme="dark"] .home2 .custom-eyebrow { color: #65b4eb; }
html[data-theme="dark"] .home2 .faq3-band { background: #16202b; }
html[data-theme="dark"] .home2 .faq3-eyebrow { color: #63b6ee; }
html[data-theme="dark"] .home2 .faq3-head h2 { color: #e7edf3; }
html[data-theme="dark"] .home2 .faq3-list { border-top: 1.5px solid #2b3846; }
html[data-theme="dark"] .home2 .faq3-item { border-bottom: 1.5px solid #2b3846; }
html[data-theme="dark"] .home2 .faq3-item summary { color: #e7edf3; }
html[data-theme="dark"] .home2 .faq3-item summary:hover .faq3-q { color: #63b6ee; }
html[data-theme="dark"] .home2 .faq3-ico { color: #63b6ee; }
html[data-theme="dark"] .home2 .faq3-a p { color: #e7edf3; }
@media (max-width: 760px) {
  html[data-theme="dark"] .home2 .hdr-nav.open .hdr-links a { border-bottom: 1px solid #2b3846; }
}
html[data-theme="dark"] .home2 .shop-price .ptag { color: #e7edf3; }

/* --- produit.css --- */
html[data-theme="dark"] .pp-main { border: 1px solid rgba(255,255,255,0.08); }
html[data-theme="dark"] .pp-zoom, html[data-theme="dark"] .pp-nav { border: 1px solid rgba(255,255,255,0.08); color: #e7edf3; }
html[data-theme="dark"] .pp-nav:hover { background: #16202b; }
html[data-theme="dark"] .pp-hint { color: #a9b8c6; }
html[data-theme="dark"] .pp-thumb { border: 1.5px solid rgba(255,255,255,0.08); }
html[data-theme="dark"] .pp-viewer__close, html[data-theme="dark"] .pp-viewer__nav { border: 1px solid rgba(255,255,255,0.08); color: #e7edf3; }
html[data-theme="dark"] .pp-info { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .pp-family { color: #63b6ee; }
html[data-theme="dark"] .pp-ref { color: #a9b8c6; }
html[data-theme="dark"] .pp-title { color: #e7edf3; }
html[data-theme="dark"] .pp-rating { color: #e7edf3; }
html[data-theme="dark"] .pp-rating__stars { color: #eec463; }
html[data-theme="dark"] .pp-rating span:last-child { color: #a9b8c6; }
html[data-theme="dark"] .pp-lead { color: #e7edf3; }
html[data-theme="dark"] .pp-from { color: #a9b8c6; }
html[data-theme="dark"] .pp-price { color: #e7edf3; }
html[data-theme="dark"] .pp-savings s { color: #a9b8c6; }
html[data-theme="dark"] .pp-savings span { background: #16202b; color: #ee9f63; }
html[data-theme="dark"] .pp-vat { color: #a9b8c6; }
html[data-theme="dark"] .pp-avail { background: #16202b; color: #a9b8c6; }
html[data-theme="dark"] .pp-avail--ok { background: #16202b; color: #6ee2a0; }
html[data-theme="dark"] .pp-avail--out { background: #16202b; color: #eb6f66; }
html[data-theme="dark"] .pp-lowstock { border: 1px solid #2b3846; background: linear-gradient(135deg, #16202b, #16202b); color: #ee8863; }
html[data-theme="dark"] .pp-delivery { background: #16202b; }
html[data-theme="dark"] .pp-delivery__badge { background: #16202b; color: #63b6ee; }
html[data-theme="dark"] .pp-delivery__title { color: #e7edf3; }
html[data-theme="dark"] .pp-delivery__pill { background: #16202b; color: #7cc4ff; }
html[data-theme="dark"] .pp-delivery__tag { background: #16202b; color: #e7edf3; border: 1px solid #2b3846; }
html[data-theme="dark"] .pp-timeline__icon { background: #16202b; color: #7cc4ff; }
html[data-theme="dark"] .pp-timeline__step span { color: #7cc4ff; }
html[data-theme="dark"] .pp-timeline__step--pending span { color: #a9b8c6; }
html[data-theme="dark"] .pp-delivery__line { border-top: 1px solid #2b3846; color: #e7edf3; }
html[data-theme="dark"] .pp-delivery__ico { color: #a9b8c6; }
html[data-theme="dark"] .pp-opt legend { color: #e7edf3; }
html[data-theme="dark"] .pp-opt legend em { color: #a9b8c6; }
html[data-theme="dark"] .pp-chip span { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pp-chip small { color: #a9b8c6; }
html[data-theme="dark"] .pp-chip:hover span { border-color: #2b3846; }
html[data-theme="dark"] .pp-chip input:checked + span { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pp-qty label { color: #e7edf3; }
html[data-theme="dark"] .pp-stepper { border: 1px solid #2b3846; }
html[data-theme="dark"] .pp-stepper button { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pp-stepper button:hover { background: #1d2834; }
html[data-theme="dark"] .pp-links a { color: #63b6ee; }
html[data-theme="dark"] .pp-trust { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .pp-trust__item { background: linear-gradient(180deg, #16202b, #16202b); border: 1px solid #2b3846; }
html[data-theme="dark"] .pp-trust__ico { background: #16202b; color: #7cc4ff; }
html[data-theme="dark"] .pp-trust__txt strong { color: #e7edf3; }
html[data-theme="dark"] .pp-trust__txt small { color: #a9b8c6; }
html[data-theme="dark"] .pp-share { background: #16202b; }
html[data-theme="dark"] .pp-share__label { color: #a9b8c6; }
html[data-theme="dark"] .pp-share__btn--link { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pp-favbtn { border: 1.5px solid #2b3846; background: #16202b; color: #ec659a; }
html[data-theme="dark"] .pp-favbtn[aria-pressed="true"] { background: #16202b; }
html[data-theme="dark"] .pp-spec { background: #16202b; }
html[data-theme="dark"] .pp-spec__ico { color: #a9b8c6; }
html[data-theme="dark"] .pp-spec__label { color: #a9b8c6; }
html[data-theme="dark"] .pp-spec__value { color: #e7edf3; }
html[data-theme="dark"] .pp-details { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .pp-drawer { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .pp-drawer summary h2 { color: #e7edf3; }
html[data-theme="dark"] .pp-drawer summary::after { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .pp-drawer__body { color: #e7edf3; }
html[data-theme="dark"] .pp-table th, html[data-theme="dark"] .pp-table td { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .pp-table th { color: #a9b8c6; }
html[data-theme="dark"] .pp-table tr:nth-child(even) td, html[data-theme="dark"] .pp-table tr:nth-child(even) th { background: #16202b; }
html[data-theme="dark"] .pp-services__ico { background: #16202b; color: #7cc4ff; }
html[data-theme="dark"] .pp-services em { color: #63b6ee; }
html[data-theme="dark"] .pp-services p { color: #a9b8c6; }
html[data-theme="dark"] .pp-reviews { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .pp-reviews h2 { color: #e7edf3; }
html[data-theme="dark"] .pp-review { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .pp-review__stars { color: #eec463; }
html[data-theme="dark"] .pp-review small { color: #a9b8c6; }
html[data-theme="dark"] .sim-btn { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .sim-dots span { background: #1d2834; }
html[data-theme="dark"] .pp-price { color: #e7edf3; }

/* --- devis.css --- */
html[data-theme="dark"] .qd-perks li { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .qd-card { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .qd-h2 { color: #e7edf3; }
html[data-theme="dark"] .qd-optional { color: #a9b8c6; }
html[data-theme="dark"] .qd-f > span { color: #e7edf3; }
html[data-theme="dark"] .qd-f em { color: #a9b8c6; }
html[data-theme="dark"] .qd-f input, html[data-theme="dark"] .qd-f select, html[data-theme="dark"] .qd-f textarea { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .qd-f input:hover, html[data-theme="dark"] .qd-f select:hover, html[data-theme="dark"] .qd-f textarea:hover { border-color: #2b3846; }
html[data-theme="dark"] .qd-count { color: #a9b8c6; }
html[data-theme="dark"] .qd-fs legend { color: #e7edf3; }
html[data-theme="dark"] .qd-tile > span { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .qd-tile:hover > span, html[data-theme="dark"] .qd-chip:hover > span { border-color: #2b3846; }
html[data-theme="dark"] .qd-tile input:checked + span, html[data-theme="dark"] .qd-chip input:checked + span { background: #16202b; }
html[data-theme="dark"] .qd-chip > span { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .qd-product { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .qd-product__text small { color: #a9b8c6; }
html[data-theme="dark"] .qd-product__text strong { color: #e7edf3; }
html[data-theme="dark"] .qd-product__text em { color: #a9b8c6; }
html[data-theme="dark"] .qd-config { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .qd-config > strong { color: #e7edf3; }
html[data-theme="dark"] .qd-config__line { color: #e7edf3; }
html[data-theme="dark"] .qd-config__total { border-top: 1px solid #2b3846; color: #e7edf3; }
html[data-theme="dark"] .qd-drop { border: 2px dashed #2b3846; background: #16202b; }
html[data-theme="dark"] .qd-drop:hover, html[data-theme="dark"] .qd-drop:focus-within { background: #16202b; }
html[data-theme="dark"] .qd-drop__icon { background: #16202b; color: #63b6ee; }
html[data-theme="dark"] .qd-drop strong { color: #e7edf3; }
html[data-theme="dark"] .qd-drop small { color: #a9b8c6; }
html[data-theme="dark"] .qd-files li { background: #16202b; }
html[data-theme="dark"] .qd-files li.is-bad { background: #16202b; color: #eb6f66; }
html[data-theme="dark"] .qd-files small { color: #a9b8c6; }
html[data-theme="dark"] .qd-check { color: #e7edf3; }
html[data-theme="dark"] .qd-note { color: #a9b8c6; }
html[data-theme="dark"] .qd-success__icon { background: #1d2834; color: #7cc4ff; }
html[data-theme="dark"] .qd-success h2 { color: #e7edf3; }
html[data-theme="dark"] .qd-success p { color: #a9b8c6; }
html[data-theme="dark"] .qd-ref { background: #16202b; border: 1.5px dashed #2b3846; color: #e7edf3 !important; }
html[data-theme="dark"] .qd-btn--ghost { background: #16202b; color: #e7edf3; border: 1.5px solid #2b3846; }
html[data-theme="dark"] .qd-how h2, html[data-theme="dark"] .qd-track h2 { color: #e7edf3; }
html[data-theme="dark"] .qd-how li::before { background: #16202b; color: #63b6ee; }
html[data-theme="dark"] .qd-how li:not(:last-child)::after { background: #16202b; }
html[data-theme="dark"] .qd-how strong { color: #e7edf3; }
html[data-theme="dark"] .qd-how span { color: #a9b8c6; }
html[data-theme="dark"] .qd-status { background: #16202b; color: #6689ea; }
html[data-theme="dark"] .qd-status--accepted, html[data-theme="dark"] .qd-status--converted { background: #1d2834; color: #e7edf3; }
html[data-theme="dark"] .qd-status--rejected { background: #16202b; color: #eb6f66; }
html[data-theme="dark"] .qd-status--new, html[data-theme="dark"] .qd-status--in_review { background: #4a3e1c; color: #eeb263; }
html[data-theme="dark"] .qd-answer { background: #16202b; }

/* --- compte.css --- */
html[data-theme="dark"] .auth-form h1 { color: #e7edf3; }
html[data-theme="dark"] .auth-form > p { color: #a9b8c6; }
html[data-theme="dark"] .auth-form .form-field label { color: #e7edf3; }
html[data-theme="dark"] .auth-form .form-field input { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .password-toggle { color: #a9b8c6; }
html[data-theme="dark"] .password-toggle:hover { color: #e7edf3; background: #16202b; }
html[data-theme="dark"] .auth-btn--outline { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .auth-link { color: #a9b8c6; }
html[data-theme="dark"] .auth-link:hover { color: #e7edf3; }
html[data-theme="dark"] .auth-error { color: #e07770; }
html[data-theme="dark"] .auth-success { color: #71dfa9; }
html[data-theme="dark"] .auth-alt h2 { color: #e7edf3; }
html[data-theme="dark"] .auth-confirmation h1 { color: #e7edf3; }
html[data-theme="dark"] .account-hero__logout:hover { border-color: #2b3846; }
html[data-theme="dark"] .account-stats button { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .account-stats button:hover { background: rgba(255,255,255,0.080); }
html[data-theme="dark"] .account-nav { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .account-nav__item { color: #a9b8c6; }
html[data-theme="dark"] .account-nav__item:hover { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .account-card { background: #16202b; border: 1px solid #2b3846; }
html[data-theme="dark"] .account-card__head h2 { color: #e7edf3; }
html[data-theme="dark"] .account-card__head p { color: #a9b8c6; }
html[data-theme="dark"] .account-page .form-field label { color: #e7edf3; }
html[data-theme="dark"] .account-page .form-field small { color: #a9b8c6; }
html[data-theme="dark"] .account-page .form-field input, html[data-theme="dark"] .account-page .form-field select { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .account-page .form-field input:hover, html[data-theme="dark"] .account-page .form-field select:hover { border-color: #2b3846; }
html[data-theme="dark"] .account-page .form-field input:disabled { background: #16202b; color: #a9b8c6; }
html[data-theme="dark"] .account-check { color: #e7edf3; }
html[data-theme="dark"] .save-confirm { color: #71dfa9; }
html[data-theme="dark"] .address-card { background: #16202b; border: 1.5px solid #2b3846; }
html[data-theme="dark"] .address-card__icon { background: #16202b; color: #63b6ee; }
html[data-theme="dark"] .address-card__title { color: #e7edf3; }
html[data-theme="dark"] .address-card__text { color: #e7edf3; }
html[data-theme="dark"] .address-card__note { color: #a9b8c6; }
html[data-theme="dark"] .link-btn { color: #63b6ee; }
html[data-theme="dark"] .link-btn--danger { color: #e07770; }
html[data-theme="dark"] .add-address { border: 1.5px dashed #2b3846; background: #16202b; }
html[data-theme="dark"] .add-address summary { color: #e7edf3; }
html[data-theme="dark"] .add-address[open] { border-color: #2b3846; background: #16202b; }
html[data-theme="dark"] .add-address[open] summary { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .order-card { background: #16202b; border: 1.5px solid #2b3846; }
html[data-theme="dark"] .order-card:hover { border-color: #2b3846; }
html[data-theme="dark"] .order-card__ref { color: #e7edf3; }
html[data-theme="dark"] .order-card__date { color: #a9b8c6; }
html[data-theme="dark"] .order-card__items { border-top: 1px dashed #2b3846; }
html[data-theme="dark"] .order-card__items li { color: #e7edf3; }
html[data-theme="dark"] .order-card__items li em { color: #a9b8c6; }
html[data-theme="dark"] .order-card__items .order-card__more { color: #a9b8c6; }
html[data-theme="dark"] .order-card__total { color: #e7edf3; }
html[data-theme="dark"] .order-card__track { color: #63b6ee; }
html[data-theme="dark"] .order-card__answer { border-top: 1px dashed #2b3846; color: #e7edf3; }
html[data-theme="dark"] .status-pill--wait { background: #4a3e1c; color: #eeb263; }
html[data-theme="dark"] .status-pill--ok { background: #1d2834; color: #e7edf3; }
html[data-theme="dark"] .status-pill--ship { background: #16202b; color: #6689ea; }
html[data-theme="dark"] .status-pill--done { background: #1c4a30; color: #e7edf3; }
html[data-theme="dark"] .status-pill--cancel { background: #16202b; color: #eb6f66; }
html[data-theme="dark"] .account-empty { background: #16202b; border: 1.5px dashed #2b3846; }
html[data-theme="dark"] .account-empty p { color: #e7edf3; }
html[data-theme="dark"] .account-empty .account-empty__hint { color: #a9b8c6; }
html[data-theme="dark"] .fav-card { background: #16202b; border: 1.5px solid #2b3846; }
html[data-theme="dark"] .fav-card__ref { color: #a9b8c6; }
html[data-theme="dark"] .fav-card h3 { color: #e7edf3; }

/* --- configurateur.css --- */
html[data-theme="dark"] .cz-h2 { color: #e7edf3; }
html[data-theme="dark"] .cz-filter { border: 1.5px solid #2b3846; background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .cz-model { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-model:hover, html[data-theme="dark"] .cz-model:focus-visible { border-color: #2b3846; }
html[data-theme="dark"] .cz-model__name { color: #e7edf3; }
html[data-theme="dark"] .cz-model__price { color: #a9b8c6; }
html[data-theme="dark"] .cz-model__go { color: #63b6ee; }
html[data-theme="dark"] .cz-empty { border: 1.5px dashed #2b3846; color: #a9b8c6; }
html[data-theme="dark"] .cz-model-bar { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-model-bar__text strong { color: #e7edf3; }
html[data-theme="dark"] .cz-model-bar__text small { color: #a9b8c6; }
html[data-theme="dark"] .cz-change { border: 1.5px solid #2b3846; background: #16202b; color: #63b6ee; }
html[data-theme="dark"] .cz-step { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-step.is-open { border-color: #2b3846; }
html[data-theme="dark"] .cz-step__title { color: #e7edf3; }
html[data-theme="dark"] .cz-step__sub { color: #a9b8c6; }
html[data-theme="dark"] .cz-step.is-done .cz-step__sub { color: #7cc4ff; }
html[data-theme="dark"] .cz-opt { border: 1.5px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-opt:hover { border-color: #2b3846; }
html[data-theme="dark"] .cz-opt.is-on { background: #16202b; }
html[data-theme="dark"] .cz-opt__text strong { color: #e7edf3; }
html[data-theme="dark"] .cz-opt__text small { color: #a9b8c6; }
html[data-theme="dark"] .cz-opt.is-on .cz-opt__text small { color: #63b6ee; }
html[data-theme="dark"] .cz-check { border: 2px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-opt.is-on .cz-check::after { border: solid #2b3846; }
html[data-theme="dark"] .cz-swatch { border: 3px solid #2b3846; }
html[data-theme="dark"] .cz-stepper { background: #16202b; }
html[data-theme="dark"] .cz-qbtn { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .cz-stepper output { color: #e7edf3; }
html[data-theme="dark"] .cz-preview { border: 1px solid #2b3846; }
html[data-theme="dark"] .cz-preview__hint { color: #a9b8c6; }
html[data-theme="dark"] .cz-summary { border: 1px solid #2b3846; background: #16202b; }
html[data-theme="dark"] .cz-summary h2 { color: #e7edf3; }
html[data-theme="dark"] .cz-line { color: #e7edf3; }
html[data-theme="dark"] .cz-line span:last-child { color: #e7edf3; }
html[data-theme="dark"] .cz-line--base { border-bottom: 1px dashed #2b3846; }
html[data-theme="dark"] .cz-missing { background: #16202b; color: #ee9763; }
html[data-theme="dark"] .cz-total { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .cz-total span { color: #e7edf3; }
html[data-theme="dark"] .cz-total strong { color: #e7edf3; }
html[data-theme="dark"] .cz-leadtime { color: #7cc4ff; }
html[data-theme="dark"] .cz-btn--ghost { background: #16202b; color: #e7edf3; border: 1.5px solid #2b3846; }
html[data-theme="dark"] .cz-disclaimer { color: #a9b8c6; }
@media (max-width: 980px) {
  html[data-theme="dark"] .cz-mobilebar { background: rgba(255,255,255,0.080); border-top: 1px solid #2b3846; }
  html[data-theme="dark"] .cz-mobilebar small { color: #a9b8c6; }
  html[data-theme="dark"] .cz-mobilebar strong { color: #e7edf3; }
}
@media (max-width: 720px) {
  html[data-theme="dark"] .cz-mobilebar { border: 1px solid #2b3846; }
}

/* --- menu.css --- */
html[data-theme="dark"] .mm-toggle { color: #e7edf3; }
html[data-theme="dark"] .mm-toggle:hover { background: #16202b; }
html[data-theme="dark"] .mm-drawer { background: #16202b; }
html[data-theme="dark"] .mm-head { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .mm-head b { color: #e7edf3; }
html[data-theme="dark"] .mm-close { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] .mm-close:hover { background: #1d2834; }
html[data-theme="dark"] .mm-links a { color: #e7edf3; border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .mm-links a:hover, html[data-theme="dark"] .mm-links a[aria-current="page"] { color: #63b6ee; }
html[data-theme="dark"] .mm-links a.d2 { color: #a9b8c6; }
html[data-theme="dark"] .mm-links a.mm-admin { color: #63b6ee; }
html[data-theme="dark"] .mm-show { border-top: 1px solid #2b3846; }
html[data-theme="dark"] .mm-show__title { color: #a9b8c6; }
html[data-theme="dark"] .mm-show a { background: #16202b; }

/* --- contact.css --- */
html[data-theme="dark"] .contact-card { background: #16202b; border: 1px solid #2b3846; }

/* --- invoice.css --- */
html[data-theme="dark"] .inv { background: #16202b; color: #e7edf3; border: 1px solid #2b3846; }
html[data-theme="dark"] .inv h1 { color: #e7edf3; }
html[data-theme="dark"] .inv-warn { color: #e6716a; }
html[data-theme="dark"] .inv th, html[data-theme="dark"] .inv td { border-bottom: 1px solid #2b3846; }
html[data-theme="dark"] .inv .inv-opt { color: #a9b8c6; }
html[data-theme="dark"] .inv-foot { color: #e7edf3; }
@media print {
  html[data-theme="dark"] body { background: #16202b; }
}

/* ---------- Réglages manuels du mode nuit ---------- */
html[data-theme="dark"] { color-scheme: dark; --white: #16202b; --grey: #1d2834; --line: #2b3846; --muted: #a9b8c6; --anthracite: #e7edf3; --navy: #e7edf3; }
html[data-theme="dark"] body { background: #0e161f; color: #e7edf3; }
html[data-theme="dark"] .header, html[data-theme="dark"] .hdr-nav, html[data-theme="dark"] header.header { background: #121c26; border-color: #233140; }
html[data-theme="dark"] .footer { background: #0b121a; color: #a9b8c6; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { background-color: #121c26; color: #e7edf3; border-color: #34465a; }
html[data-theme="dark"] input::placeholder, html[data-theme="dark"] textarea::placeholder { color: #7f91a3; }
html[data-theme="dark"] .logo-img { filter: brightness(1.25) contrast(1.05); background: #f4f6f8; border-radius: 10px; padding: 2px 6px; }
html[data-theme="dark"] .ptag { color: #e7edf3; }
html[data-theme="dark"] .ptag--req .ptag__now { color: #a9b8c6; }
html[data-theme="dark"] .ptag--req { border-color: #34465a; }
html[data-theme="dark"] .btn-outline { color: #e7edf3; border-color: #4a5d72; }
html[data-theme="dark"] .btn-primary { color: #fff; }
html[data-theme="dark"] hr { border-color: #2b3846; }
/* Chat (styles insérés par chat.js) */
html[data-theme="dark"] #chat-panel { background: #16202b; color: #e7edf3; }
html[data-theme="dark"] #chat-body input[type=text], html[data-theme="dark"] #chat-body input[type=email], html[data-theme="dark"] #chat-body textarea { background: #121c26; color: #e7edf3; border-color: #34465a; }
html[data-theme="dark"] .chat-m.v { background: #1f3a55; } html[data-theme="dark"] .chat-m.s { background: #243241; }
html[data-theme="dark"] #chat-btn { background: #2a4a6b; }
/* Barre d'onglets mobile */
html[data-theme="dark"] nav#tabbar.tabbar { background: rgba(18, 28, 38, .96); border-color: #2b3846; }
html[data-theme="dark"] nav#tabbar.tabbar a { color: #a9b8c6; }
html[data-theme="dark"] nav#tabbar.tabbar a[aria-current="page"] { color: #fff; }
html[data-theme="dark"] nav#tabbar.tabbar a[aria-current="page"] .tab-ic { background: #2f6fa8; }
html[data-theme="dark"] nav#tabbar .tab-badge { border-color: #121c26; }
/* Bouton jour / nuit */
html[data-theme="dark"] .theme-btn { background: #1d2834; border-color: #34465a; color: #ffd36b; }

/* Logo blanc du pied de page : pas de fond clair en mode nuit (le pied de page est déjà sombre) */
html[data-theme="dark"] .logo--footer .logo-img { filter: none; background: none; padding: 0; border-radius: 0; }
