/* Generated by scripts/theme_css.py at each build. Do not edit: change the source stylesheets or EXTRAS. */

.theme-switch{position:relative;display:inline-flex;z-index:70}
.theme-toggle{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 4px;border:0;background:transparent;color:inherit;font-size:12px;cursor:pointer}
.theme-toggle svg{width:17px;height:17px}
.theme-menu{position:absolute;right:0;top:100%;z-index:60;min-width:190px;padding:6px;background:var(--white,#fff);color:var(--ink,#17374b);border:1px solid var(--line,#dce3e5);border-radius:14px;box-shadow:0 12px 30px #17374b26}
.theme-menu[hidden]{display:none}
.theme-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:inherit;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.theme-menu button:hover{background:var(--light,#eaf2f6)}
.theme-menu button[aria-pressed="true"]{font-weight:700}
.theme-menu button[aria-pressed="true"]::after{content:"✓";content:"✓"/"";color:var(--accent,#006da4)}
.theme-float{position:fixed;right:12px;bottom:12px;z-index:60}
@media screen{
html[data-theme="dark"]{--paper:#0e171d;--white:#17242c;--line:#2c3d48;--light:#1c2c36;--ink:#e7eff3;--muted:#a6b6bf;--accent:#5db8e8;--blue:#8fc3de;--ko:#f87171;--ok:#4ade80;--mid:#fbbf24;--lagon:#38bdf8;--lave:#fb923c}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] button,html[data-theme="dark"] select{color:inherit}
html[data-theme="dark"] a{color:inherit}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] summary:focus-visible,html[data-theme="dark"] path:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] h1 span{color:#96bdd0}
html[data-theme="dark"] select{border:1px solid #768993;background:var(--white)}
html[data-theme="dark"] .topline{color:var(--muted)}
html[data-theme="dark"] .header{background:#17242c;border:1px solid #45493c}
html[data-theme="dark"] .brand-icon{background:var(--ink)}
html[data-theme="dark"] .brand-icon i{background:#17242c}
html[data-theme="dark"] nav .nav-first{color:var(--accent)}
html[data-theme="dark"] .lead{color:var(--muted)}
html[data-theme="dark"] .island-stat{border-left:1px solid #3d4748}
html[data-theme="dark"] .island-stat>span:not(:first-child){color:var(--muted)}
html[data-theme="dark"] .island-stat a{color:var(--muted)}
html[data-theme="dark"] .toolbar{background:#1c2528}
html[data-theme="dark"] .commune-control select{border:0}
html[data-theme="dark"] .vintage{color:var(--muted)}
html[data-theme="dark"] .metric-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .metric-card:hover{border-color:var(--accent)}
html[data-theme="dark"] .metric-card.active{background:var(--ink);color:white;border-color:var(--ink)}
html[data-theme="dark"] .panel{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .panel .eyebrow{color:var(--muted)}
html[data-theme="dark"] .map-badge{background:var(--paper)}
html[data-theme="dark"] .map-select label{color:var(--muted)}
html[data-theme="dark"] .map-wrap{background:#121d1f}
html[data-theme="dark"] #map path{stroke:#17242c}
html[data-theme="dark"] #map path:hover,html[data-theme="dark"] #map path.selected{stroke:#bed6e6}
html[data-theme="dark"] #map path:focus{outline:none;stroke:#dcad77}
html[data-theme="dark"] .map-label{fill:#b7cbd9;stroke:#121d1f}
html[data-theme="dark"] .ocean-label{color:#91a7b4}
html[data-theme="dark"] .north{color:#8094a0}
html[data-theme="dark"] .map-legend{color:var(--muted)}
html[data-theme="dark"] .helper{color:var(--muted)}
html[data-theme="dark"] .code{color:var(--muted)}
html[data-theme="dark"] #portrait-unit{color:var(--muted)}
html[data-theme="dark"] #portrait-explanation{color:var(--muted)}
html[data-theme="dark"] .mini-track{background:#1b2124}
html[data-theme="dark"] .mini-track>i{background:#4796b7}
html[data-theme="dark"] .mini-row:first-child .mini-track>i{background:var(--ink)}
html[data-theme="dark"] .reading-note{background:var(--paper)}
html[data-theme="dark"] .reading-note p{color:var(--muted)}
html[data-theme="dark"] .note-icon{border:1px solid #3e4446}
html[data-theme="dark"] .section-heading>p{color:var(--muted)}
html[data-theme="dark"] .compare-controls{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .versus{color:#8398a4}
html[data-theme="dark"] .table-scroll{background:#17242c;border:1px solid var(--line);border-top:0}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-bottom:1px solid #3d4547}
html[data-theme="dark"] th{background:#171d1f}
html[data-theme="dark"] td:first-child span{color:var(--muted)}
html[data-theme="dark"] td:nth-child(2){color:#98cce7}
html[data-theme="dark"] tr:last-child td{border-bottom:0}
html[data-theme="dark"] .all-communes{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .outline-button{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .rank-row{border:0;background:transparent}
html[data-theme="dark"] .rank-row:hover{background:#141b20}
html[data-theme="dark"] .rank-row.chosen{color:var(--accent)}
html[data-theme="dark"] .rank-track{background:#171e22}
html[data-theme="dark"] .rank-track i{background:#85b4c9}
html[data-theme="dark"] .chosen .rank-track i{background:#176c93}
html[data-theme="dark"] .section-tag{border:1px solid #3e4647;color:var(--muted)}
html[data-theme="dark"] .analysis-card.blue{background:#1c4261;color:white}
html[data-theme="dark"] .analysis-card.pale{background:#212b2c;color:var(--ink)}
html[data-theme="dark"] .analysis-card summary{border-top:1px solid rgba(66,66,66,0.314)}
html[data-theme="dark"] .pale summary{border-color:#3c4549}
html[data-theme="dark"] .article-bars span{background:#78b5d1}
html[data-theme="dark"] .article-bars span:first-child{background:#17242c}
html[data-theme="dark"] .concept-number .concept-separator{color:#8babad}
html[data-theme="dark"] .sources-section{border-top:1px solid #3e4646}
html[data-theme="dark"] .sources-section>div>p:last-child{color:var(--muted)}
html[data-theme="dark"] .source-list details{border-bottom:1px solid #3e4747}
html[data-theme="dark"] .source-list p{color:var(--muted)}
html[data-theme="dark"] footer{border-top:1px solid #3e4747}
html[data-theme="dark"] footer p,html[data-theme="dark"] footer>span{color:var(--muted)}
html[data-theme="dark"] .skip{background:#17242c}
html[data-theme="dark"] .sr-only{border:0}
html[data-theme="dark"] .noscript{background:#17242c}
html[data-theme="dark"] nav a[aria-current=page]{color:var(--accent)}
html[data-theme="dark"] .primary-button{background:var(--ink);color:white}
html[data-theme="dark"] .hero-note{color:var(--muted)}
html[data-theme="dark"] .hero-map{background:#1d282a}
html[data-theme="dark"] .hero-map path{fill:#17242c;stroke:#cedee0}
html[data-theme="dark"] .hero-map circle{fill:#9bcfda}
html[data-theme="dark"] .hero-map-caption small{color:var(--muted)}
html[data-theme="dark"] .dot{background:#277e91}
html[data-theme="dark"] .facts{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .facts>div{border-right:1px solid var(--line)}
html[data-theme="dark"] .facts>div:last-child{border:0}
html[data-theme="dark"] .facts span{color:var(--muted)}
html[data-theme="dark"] .feature-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .feature-card:hover{border-color:#6a9db0}
html[data-theme="dark"] .feature-number{color:var(--muted)}
html[data-theme="dark"] .feature-card p{color:var(--muted)}
html[data-theme="dark"] .mission{background:#202929}
html[data-theme="dark"] .mission>div>p:not(.eyebrow){color:var(--muted)}
html[data-theme="dark"] .dataset-note{color:var(--muted)}
html[data-theme="dark"] #eco-map circle{stroke:#17242c}
html[data-theme="dark"] #eco-map circle:hover,html[data-theme="dark"] #eco-map circle.selected,html[data-theme="dark"] #eco-map circle:focus{stroke:#c2d4e5;outline:none}
html[data-theme="dark"] .place-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .place-card p{color:var(--muted)}
html[data-theme="dark"] .place-type{color:#a5ccda}
html[data-theme="dark"] .place-card button{border:0;background:none}
html[data-theme="dark"] .source-principles p{color:var(--muted)}
html[data-theme="dark"] .source-document{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .source-document-label p{color:var(--muted)}
html[data-theme="dark"] .source-document dl>div{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .source-document dd{color:var(--muted)}
html[data-theme="dark"] .source-caution{background:#192225}
html[data-theme="dark"] .analysis-card.blue .source-link{color:white}
html[data-theme="dark"] .breadcrumb{color:var(--muted)}
html[data-theme="dark"] .history-overview{background:#1d272a}
html[data-theme="dark"] .history-timeline li{border-bottom:1px solid #39474b}
html[data-theme="dark"] .history-timeline li:last-child{border:0}
html[data-theme="dark"] .history-year{color:#a0c9da}
html[data-theme="dark"] .history-reading{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .history-editorial{color:var(--muted)}
html[data-theme="dark"] .history-home{background:#17374b;color:white}
html[data-theme="dark"] .history-home .primary-button{background:#17242c;color:var(--ink)}
html[data-theme="dark"] .history-figure img{background:#1c2223}
html[data-theme="dark"] .history-figure figcaption{color:var(--muted)}
html[data-theme="dark"] .history-figure-document img{border:1px solid var(--line)}
html[data-theme="dark"] .insee-table th,html[data-theme="dark"] .insee-table td{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .insee-table thead{background:#192225}
html[data-theme="dark"] .history-toc{background:#192225}
html[data-theme="dark"] .history-chapters a{border:1px solid var(--line)}
html[data-theme="dark"] .history-chapters [aria-current]{background:#1c4261;color:white}
html[data-theme="dark"] .catalogue-notice{border-left:3px solid #328291;background:#1a2527}
html[data-theme="dark"] .catalogue-filters input,html[data-theme="dark"] .catalogue-filters select{border:1px solid #768993;background:#17242c;color:var(--ink)}
html[data-theme="dark"] .catalogue-chart-grid path{stroke:#17242c}
html[data-theme="dark"] .catalogue-chart-grid path:hover,html[data-theme="dark"] .catalogue-chart-grid path:focus{stroke:#b9d8e7;outline:none}
html[data-theme="dark"] .catalogue-bar .track{background:#1e292b}
html[data-theme="dark"] .catalogue-bar .track i{background:#28798b}
html[data-theme="dark"] .catalogue-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .catalogue-card .catalogue-tag{color:#a5d7e0}
html[data-theme="dark"] .catalogue-card .excerpt{color:var(--muted)}
html[data-theme="dark"] .catalogue-card dd{color:var(--muted)}
html[data-theme="dark"] .catalogue-source-grid article{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .catalogue-card a:focus-visible,html[data-theme="dark"] .catalogue-page button:focus-visible,html[data-theme="dark"] .catalogue-page input:focus-visible,html[data-theme="dark"] .catalogue-page select:focus-visible,html[data-theme="dark"] .catalogue-page summary:focus-visible{outline:3px solid #006da4}
html[data-theme="dark"] .landing-seo .home-hero{background:#112f42;color:white}
html[data-theme="dark"] .landing-seo .home-hero h1 span{color:#81d4df}
html[data-theme="dark"] .landing-seo .home-hero .lead,html[data-theme="dark"] .landing-seo .hero-note{color:#d9e8ed}
html[data-theme="dark"] .landing-seo .home-hero .primary-button{background:#a8e6dd;color:#102f43}
html[data-theme="dark"] .landing-seo .home-hero .outline-button{color:#bfd7e5}
html[data-theme="dark"] .landing-seo .hero-map{color:#bfd7e5;background:#1a2828}
html[data-theme="dark"] .commune-directory>p:not(.eyebrow){color:var(--muted)}
html[data-theme="dark"] .commune-links a{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .commune-links a:hover{border-color:var(--accent);background:#172428}
html[data-theme="dark"] .landing-history-image figcaption{color:#d1e0e7}
html[data-theme="dark"] .landing-faq details{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .landing-faq details p{color:var(--muted)}
html[data-theme="dark"] .population-spotlight{background:#1a2828;color:#bfd7e5}
html[data-theme="dark"] .population-bars a{color:inherit}
html[data-theme="dark"] .population-track{background:#273538}
html[data-theme="dark"] .population-track i{background:#216978}
html[data-theme="dark"] .menu-toggle{border:1px solid var(--line);background:#17242c;color:var(--ink)}
html[data-theme="dark"] .today-hero h1 span{color:#a7dcdb}
html[data-theme="dark"] .today-edition{color:var(--muted)}
html[data-theme="dark"] .today-context{border-left:4px solid #257a78;background:#1e2924}
html[data-theme="dark"] .today-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .today-card .eyebrow{color:#b3d4d1}
html[data-theme="dark"] .today-unit{color:var(--muted)}
html[data-theme="dark"] .today-change{border-top:1px solid var(--line)}
html[data-theme="dark"] .today-comparison{color:var(--muted)}
html[data-theme="dark"] .today-card dl{border-top:1px solid var(--line)}
html[data-theme="dark"] .today-card dt{color:var(--muted)}
html[data-theme="dark"] .today-note{color:var(--muted)}
html[data-theme="dark"] .contact-panel{border:1px solid #353f50;background:#17242c}
html[data-theme="dark"] .contact-field input,html[data-theme="dark"] .contact-field textarea{border:1px solid #768993;background:#17242c;color:#c7d1e7}
html[data-theme="dark"] .contact-field input:focus-visible,html[data-theme="dark"] .contact-field textarea:focus-visible{outline:3px solid #2563eb}
html[data-theme="dark"] .contact-help{color:#b1b9c6}
html[data-theme="dark"] .contact-submit{background:#17374b;color:#fff;border:0}
html[data-theme="dark"] .contact-submit:hover{background:#006da4}
html[data-theme="dark"] .contact-submit:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .jeu-intro{color:#fff;background:radial-gradient(circle at 85% 20%,rgba(23,36,44,0.18) 0 18%,transparent 19%),linear-gradient(135deg,var(--lagon),#17374b 55%,var(--lave))}
html[data-theme="dark"] .jeu-intro .eyebrow{color:#fde68a}
html[data-theme="dark"] .jeu-intro .lead{color:#e0f2fe}
html[data-theme="dark"] .jeu-num{color:var(--accent)}
html[data-theme="dark"] .jeu-secondary{background:transparent;border:2px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .jeu-secondary:hover{border-color:var(--accent)}
html[data-theme="dark"] .jeu-dots span{background:var(--line)}
html[data-theme="dark"] .jeu-dots .d-now{background:var(--accent)}
html[data-theme="dark"] .jeu-dots .d-ok{background:var(--ok)}
html[data-theme="dark"] .jeu-dots .d-ko{background:var(--ko)}
html[data-theme="dark"] .jeu-dots .d-mid{background:var(--mid)}
html[data-theme="dark"] .jeu-theme{background:var(--light)}
html[data-theme="dark"] .jeu-score{color:var(--accent)}
html[data-theme="dark"] .jeu-timer{background:var(--line)}
html[data-theme="dark"] .jeu-timer span{background:linear-gradient(90deg,var(--lagon),var(--accent))}
html[data-theme="dark"] .jeu-timer.urgent span{background:var(--ko)}
html[data-theme="dark"] .jeu-choice{border:2px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-choice:hover:not(:disabled){border-color:var(--accent)}
html[data-theme="dark"] .jeu-choice kbd{background:var(--light)}
html[data-theme="dark"] .jeu-choice.ok{border-color:var(--ok);background:var(--ok-bg)}
html[data-theme="dark"] .jeu-choice.ko{border-color:var(--ko);background:var(--ko-bg)}
html[data-theme="dark"] .jeu-play{border:0;background:var(--lave);color:#fff}
html[data-theme="dark"] .jeu-est-val{color:var(--accent)}
html[data-theme="dark"] .jeu-est-bounds{color:var(--muted)}
html[data-theme="dark"] .jeu-order-item{border:2px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-order-item.on{border-color:var(--accent);background:var(--light)}
html[data-theme="dark"] .jeu-order-n{background:var(--accent);color:#fff}
html[data-theme="dark"] .jeu-order-item:not(.on) .jeu-order-n{background:var(--line);color:var(--muted)}
html[data-theme="dark"] .jeu-map path{fill:var(--light);stroke:var(--ink)}
html[data-theme="dark"] .jeu-map path:hover,html[data-theme="dark"] .jeu-map path:focus{fill:#10394f;outline:none}
html[data-theme="dark"] .jeu-map path.ok{fill:var(--ok)}
html[data-theme="dark"] .jeu-map path.ko{fill:var(--ko)}
html[data-theme="dark"] .jeu-feedback.is-ok{background:var(--ok-bg)}
html[data-theme="dark"] .jeu-feedback.is-ko{background:var(--ko-bg)}
html[data-theme="dark"] .jeu-feedback.is-mid{background:var(--mid-bg)}
html[data-theme="dark"] .jeu-pseudo input{border:2px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-net{color:#fff;border:0}
html[data-theme="dark"] .jeu-net.wa{background:#1f8f4e}
html[data-theme="dark"] .jeu-net.fb{background:#1b5fc1}
html[data-theme="dark"] .jeu-net.x{background:#111}
html[data-theme="dark"] .jeu-net.tg{background:#1f7fb8}
html[data-theme="dark"] .jeu-net.copy{background:var(--ink)}
html[data-theme="dark"] .jeu-level.l1{background:var(--ok-bg);color:var(--ok)}
html[data-theme="dark"] .jeu-level.l2{background:var(--mid-bg);color:var(--mid)}
html[data-theme="dark"] .jeu-level.l3{background:var(--ko-bg);color:var(--ko)}
html[data-theme="dark"] .jeu-streak{color:var(--lave)}
html[data-theme="dark"] .jeu-friend{background:linear-gradient(135deg,rgba(14,116,144,.12),rgba(194,65,12,.12))}
html[data-theme="dark"] .jeu-more{border-top:1px solid var(--line)}
html[data-theme="dark"] .jeu-kpis div{background:var(--light)}
html[data-theme="dark"] .jeu-kpis span{color:var(--muted)}
html[data-theme="dark"] .jeu-dist-row i{background:var(--accent);color:#fff}
html[data-theme="dark"] .jeu-badge{border:1px solid var(--line)}
html[data-theme="dark"] .jeu-badge.on{border-color:var(--accent);background:var(--light)}
html[data-theme="dark"] .jeu-badge small{color:var(--muted)}
html[data-theme="dark"] .jeu-map{background:var(--light)}
html[data-theme="dark"] .jeu-map-ctl button{border:1px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-est-input{border:2px solid var(--line);color:var(--accent);background:var(--white,#17242c)}
html[data-theme="dark"] .jeu-est-unit{color:var(--muted)}
html[data-theme="dark"] .jeu-step{border:2px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-daily{background:linear-gradient(135deg,rgba(14,116,144,.10),rgba(194,65,12,.10))}
html[data-theme="dark"] .jeu-top li{background:var(--white,#17242c)}
html[data-theme="dark"] .jeu-top li.me{outline:2px solid var(--accent)}
html[data-theme="dark"] .jeu-publish input{border:2px solid var(--line);background:var(--white,#17242c);color:var(--ink)}
html[data-theme="dark"] .jeu-rank{color:var(--accent)}
html[data-theme="dark"] .jeu-q:focus{outline:none}
html[data-theme="dark"] .jeu-q:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .jeu-map path:focus-visible{stroke:#daa56e}
html[data-theme="dark"] .jeu-dots .d-ko{background:repeating-linear-gradient(135deg,var(--ko) 0 3px,transparent 3px 6px)}
html[data-theme="dark"] .jeu-dots .d-mid{background:repeating-linear-gradient(90deg,var(--mid) 0 5px,transparent 5px 8px)}
html[data-theme="dark"] .commune-history-index a{border:1px solid #3c4549;color:#bfd7e5}
html[data-theme="dark"] .history-method{border:1px solid #3c4549}
html[data-theme="dark"] .local-history{border-top:1px solid #3c4549}
html[data-theme="dark"] .commune-history-teaser{background:#192225}
html[data-theme="dark"] .commune-picker{background:#1a2828;color:var(--ink)}
html[data-theme="dark"] .commune-picker button{border:0}
html[data-theme="dark"] .hero-method{color:#a8e6dd}
html[data-theme="dark"] .featured-reading{border:1px solid var(--line);background:#17242c}
html[data-theme="dark"] .breadcrumb{color:var(--muted)}
html[data-theme="dark"] .portrait-stat{color:var(--blue)}
html[data-theme="dark"] .editorial-note{color:var(--muted)}
html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] textarea:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .portrait-services details.service-group{border-top:1px solid var(--line)}
html[data-theme="dark"] .service-list span{color:var(--muted)}
html[data-theme="dark"] .page-faq details{background:var(--white,#17242c);border:1px solid var(--line)}
html[data-theme="dark"] .page-faq details p{color:var(--muted)}
html[data-theme="dark"] .commune-photo{background:var(--white);border:1px solid var(--line)}
html[data-theme="dark"] .commune-photo-image{background:var(--light)}
html[data-theme="dark"] .commune-photo figcaption{color:var(--muted)}
html[data-theme="dark"] .commune-photo figcaption strong{color:var(--ink)}
html[data-theme="dark"] .elus-mayor span{color:var(--muted)}
html[data-theme="dark"] .line-chart text{fill:var(--muted)}
html[data-theme="dark"] .line-chart .chart-value{fill:var(--ink)}
html[data-theme="dark"] .chart-line{fill:none;stroke:var(--accent)}
html[data-theme="dark"] .chart-axis{stroke:var(--line)}
html[data-theme="dark"] .line-chart figcaption{color:var(--muted)}
html[data-theme="dark"] .portrait-switcher{background:var(--white);border:1px solid var(--line)}
html[data-theme="dark"] .portrait-switcher .primary-button{border:0}
html[data-theme="dark"] .analysis-filters button{border:1px solid var(--line);background:var(--white)}
html[data-theme="dark"] .analysis-filters button[aria-pressed="true"]{background:var(--ink);color:var(--white);border-color:var(--ink)}
html[data-theme="dark"] .analysis-count{color:var(--muted)}
html[data-theme="dark"] .reading-card{background:var(--white);border:1px solid var(--line)}
html[data-theme="dark"] .reading-card .analysis-excerpt,html[data-theme="dark"] .analysis-dossier>p:not(.eyebrow){color:var(--muted)}
html[data-theme="dark"] .analysis-read{color:var(--accent)}
html[data-theme="dark"] .reading-card details[open] summary{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .reading-card summary:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .chart-grid{stroke:var(--line)}
html[data-theme="dark"] .chart-line.line-a{stroke:var(--accent)}
html[data-theme="dark"] .chart-line.line-b{stroke:#e99f80}
html[data-theme="dark"] .chart-line.line-c{stroke:#a2e6bc}
html[data-theme="dark"] .legend-item{color:var(--ink)}
html[data-theme="dark"] .legend-item::before{background:currentColor}
html[data-theme="dark"] .legend-item.line-a{color:var(--accent)}
html[data-theme="dark"] .legend-item.line-b{color:#e99f80}
html[data-theme="dark"] .legend-item.line-c{color:#a2e6bc}
html[data-theme="dark"] .gallery-grid img{background:var(--light)}
html[data-theme="dark"] .gallery-grid figcaption span{color:var(--muted)}
html[data-theme="dark"] .fuel-price-card{background:#192421;border:1px solid #3a4a46;border-top:4px solid #176b57}
html[data-theme="dark"] .fuel-price-card .fuel-price-value{color:#b9e7da}
html[data-theme="dark"] .fuel-explanation{border:1px solid #3a4a46}
html[data-theme="dark"] .fuel-costs{background:#14191e;border:1px solid var(--line)}
html[data-theme="dark"] .fuel-cost-pump{color:#b9e7da}
html[data-theme="dark"] .fuel-cost-legend li{border-left:5px solid var(--fuel-cost-color);background:#17242c}
html[data-theme="dark"] .fuel-cost-legend strong{color:var(--ink)}
html[data-theme="dark"] .economy-stats strong{color:var(--blue)}
html[data-theme="dark"] .economy-stats span{color:var(--muted)}
html[data-theme="dark"] .economy-employment-detail{border-top:1px solid var(--line)}
html[data-theme="dark"] .economy-card{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .economy-card .eyebrow{color:var(--muted)}
html[data-theme="dark"] .economy-card>p:not(.eyebrow){color:var(--muted)}
html[data-theme="dark"] .aide-card dt{color:var(--ink)}
html[data-theme="dark"] .aide-card dd{color:var(--muted)}
html[data-theme="dark"] .aide-status{background:#463b0e;color:#eab798}
html[data-theme="dark"] .seo-related{border-top:1px solid #3b464a}
html[data-theme="dark"] .lontan-grid img{background:var(--light)}
html[data-theme="dark"] .lontan-grid figcaption span{color:var(--ink)}
html[data-theme="dark"] .lontan-grid figcaption small{color:var(--muted)}
html[data-theme="dark"] .reperes-list li{border-top:1px solid var(--line)}
html[data-theme="dark"] .repere-date{color:var(--accent)}
html[data-theme="dark"] .editorial-photo figcaption{color:var(--muted)}
html[data-theme="dark"] .editorial-photo figcaption strong{color:var(--ink)}
html[data-theme="dark"] .partner-slot{border:1px solid var(--line);background:var(--white,#17242c)}
html[data-theme="dark"] .partner-label{color:var(--muted)}
html[data-theme="dark"] .partner-link{color:var(--ink)}
html[data-theme="dark"] .partner-link span{color:var(--muted)}
html[data-theme="dark"] .partner-link strong{color:var(--ink)}
html[data-theme="dark"] .partner-rules{color:var(--muted)}
html[data-theme="dark"] .aides-highlight{background:var(--light);border:1px solid #334751;border-left:4px solid var(--accent)}
html[data-theme="dark"] .aides-highlight .eyebrow{color:var(--accent)}
html[data-theme="dark"] .aides-highlight-copy>p:last-child{color:var(--muted)}
html[data-theme="dark"] .aides-highlight-publics{color:var(--accent)}
html[data-theme="dark"] .landing-seo .home-aides-link{color:#a8e6dd}
html[data-theme="dark"] .landing-seo .home-quiz-card{background:var(--light);border-color:#334751}
html[data-theme="dark"] nav a.nav-jeu{color:#fff;background:linear-gradient(135deg,#0e7490,#c2410c)}
html[data-theme="dark"] nav a.nav-jeu[aria-current=page]{color:#fff;outline:2px solid var(--ink)}
html[data-theme="dark"] .elec-live-bars i.enr{background:#15803d}
html[data-theme="dark"] .elec-live-bars i.fos{background:#9ca3af}
html[data-theme="dark"] .site-search{border:1px solid #38464c;background:#17242c}
html[data-theme="dark"] .site-search>summary{color:var(--ink,#bfd8e5)}
html[data-theme="dark"] .site-search input,html[data-theme="dark"] .analysis-search input{border:1px solid #768993}
html[data-theme="dark"] .search-results li{border-top:1px solid #38464c}
html[data-theme="dark"] .search-results span{color:#acb9c1}
html[data-theme="dark"] .portrait-toc{border:1px solid #38464c;background:#17242c}
html[data-theme="dark"] .portrait-toc a,html[data-theme="dark"] .home-shortcuts a{background:#182629}
html[data-theme="dark"] .aide-filters select{border:1px solid #768993;background:#17242c}
html[data-theme="dark"] .aide-card details{border-top:1px solid #38464c}
html[data-theme="dark"] .home-updates a{background:#17242c;border:1px solid #38464c}
html[data-theme="dark"] .home-updates span{color:#acb9c1}
html[data-theme="dark"] .home-explore a{background:#17242c;border:1px solid #38464c}
html[data-theme="dark"] .site-search input:focus-visible,html[data-theme="dark"] .analysis-search input:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .tourisme-office-list li{border:1px solid var(--line)}
html[data-theme="dark"] .tourisme-office-list span{color:var(--muted)}
html[data-theme="dark"] .tourisme-places li{color:var(--muted)}
html[data-theme="dark"] .tourisme-places strong{color:var(--ink)}
html[data-theme="dark"] .eau-chart rect.eau-bar{fill:#85b4c9}
html[data-theme="dark"] .eau-chart rect.eau-wet{fill:#a7cbe2}
html[data-theme="dark"] .eau-chart text{fill:var(--muted)}
html[data-theme="dark"] .eau-chart figcaption{color:var(--muted)}
html[data-theme="dark"] .helper-inline{color:var(--muted)}
html[data-theme="dark"] .source-note{color:var(--muted)}
html[data-theme="dark"] .elec-kpis div{background:var(--light)}
html[data-theme="dark"] .elec-kpis span{color:var(--muted)}
html[data-theme="dark"] .donnees-table{border:1px solid #39464c}
html[data-theme="dark"] .donnees-table th,html[data-theme="dark"] .donnees-table td{border-bottom:1px solid #39464c}
html[data-theme="dark"] .donnees-table thead{background:#16242b}
html[data-theme="dark"] .donnees-table:focus-visible{outline:3px solid #006da4}
html[data-theme="dark"] .topline .site-search{border:0;background:transparent}
html[data-theme="dark"] .topline .site-search>summary{color:var(--muted)}
html[data-theme="dark"] .topline .site-search>summary:hover,html[data-theme="dark"] .topline .site-search[open]>summary{color:var(--accent)}
html[data-theme="dark"] .search-popover{border:1px solid var(--line);background:var(--white);color:var(--ink)}
html[data-theme="dark"] .topline .site-search>summary{border:1px solid #37454e;background:var(--white);color:var(--ink)}
html[data-theme="dark"] .topline .site-search>summary:hover,html[data-theme="dark"] .topline .site-search[open]>summary{border-color:var(--accent);background:var(--light)}
html[data-theme="dark"] .landing-seo>.home-shortcuts{border-top:1px solid var(--line)}
html[data-theme="dark"] .home-shortcuts a:focus-visible{background:var(--ink);color:#e9f3f5}
html[data-theme="dark"] .home-week-card{background:var(--ink);color:#fff}
html[data-theme="dark"] .home-week-card .text-link{color:#9ccbe0}
html[data-theme="dark"] .home-week .eyebrow{color:var(--muted)}
html[data-theme="dark"] #duel-canvas{border:1px solid var(--line)}
html[data-theme="dark"] .ocean-label{color:#a3b0b9}
html[data-theme="dark"] .north{color:#acb5ba}
html[data-theme="dark"] .concept-number .concept-separator{color:#a9b9ba}
html[data-theme="dark"] .viz-title{color:var(--ink)}
html[data-theme="dark"] .viz figcaption{color:var(--muted)}
html[data-theme="dark"] .viz-label{fill:#bbc6cd}
html[data-theme="dark"] .viz-value{fill:#bbc6cd}
html[data-theme="dark"] .viz-strong{fill:var(--ink)}
html[data-theme="dark"] .viz-grid{stroke:#23292b}
html[data-theme="dark"] .viz-axis{stroke:#9aa8ae}
html[data-theme="dark"] .viz-ref{stroke:#acb5ba}
html[data-theme="dark"] .viz-mark{outline:none}
html[data-theme="dark"] .viz-mark:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .viz-commune{stroke:#17242c}
html[data-theme="dark"] .viz-commune:hover,html[data-theme="dark"] .viz-commune:focus{stroke:#bfd7e5}
html[data-theme="dark"] .viz-legend{color:#bbc6cd}
html[data-theme="dark"] .viz-scale{color:#bbc6cd}
html[data-theme="dark"] .viz-scale small{color:var(--muted)}
html[data-theme="dark"] .viz-versus>div:not(.viz-vs){background:var(--light)}
html[data-theme="dark"] .viz-versus strong{color:var(--ink)}
html[data-theme="dark"] .viz-versus>div:first-child strong{color:#8db2e0}
html[data-theme="dark"] .viz-versus span{color:#bbc6cd}
html[data-theme="dark"] .viz-vs{color:var(--muted)}
html[data-theme="dark"] .viz-tip{background:#17374b;color:#fff}
html[data-theme="dark"] .viz-small{fill:#acb5ba}
html[data-theme="dark"] .viz-row{color:#bbc6cd}
html[data-theme="dark"] a.viz-row:hover,html[data-theme="dark"] .viz-row:focus-visible{background:var(--light)}
html[data-theme="dark"] .viz-row-track i{background:#b8c3c9}
html[data-theme="dark"] .viz-row.is-hi{color:var(--ink)}
html[data-theme="dark"] .viz-row.is-hi .viz-row-track i{background:#2a78d6}
html[data-theme="dark"] .has-ref .viz-row-track::after{border-left:1.5px dashed #5e6d76}
html[data-theme="dark"] .viz-ref-note{color:#bbc6cd}
html[data-theme="dark"] .viz-ref-note i{border-top:1.5px dashed #5e6d76}
html[data-theme="dark"] .viz-strip-row>p:first-child{color:#bbc6cd}
html[data-theme="dark"] .viz-strip-row strong{color:#8db2e0}
html[data-theme="dark"] .viz-strip-track{border-bottom:1px solid #3c4449}
html[data-theme="dark"] .viz-dot{background:#b8c3c9;border:1.5px solid #424242}
html[data-theme="dark"] .viz-dot.is-hi{background:#2a78d6;border:2px solid #424242}
html[data-theme="dark"] .viz-strip-ends{color:#acb5ba}
html[data-theme="dark"] main .breadcrumb:first-child{color:#adb5ba}
html[data-theme="dark"] .story-visual{background:var(--ink)}
html[data-theme="dark"] .story-slide{color:#fff}
html[data-theme="dark"] .story-slide span{color:#cfe3ee}
html[data-theme="dark"] .story-step{border-left:3px solid transparent}
html[data-theme="dark"] .hub-lead{color:var(--muted)}
html[data-theme="dark"] .hub-card{background:#181d1f;border:1px solid #39464b;color:var(--ink)}
html[data-theme="dark"] .hub-card:hover{border-color:#38464d}
html[data-theme="dark"] .hub-card:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .hub-icon{background:rgba(23,36,44,0.769)}
html[data-theme="dark"] .hub-unit{color:var(--muted)}
html[data-theme="dark"] .tone-a{background:#172528;border-color:#324c53}
html[data-theme="dark"] .tone-a .hub-icon,html[data-theme="dark"] .tone-a .hub-kicker{color:#a1dbeb}
html[data-theme="dark"] .tone-b{background:#121527;border-color:#2f3655}
html[data-theme="dark"] .tone-b .hub-icon,html[data-theme="dark"] .tone-b .hub-kicker{color:#919ace}
html[data-theme="dark"] .tone-c{background:#2e230f;border-color:#5a4b2a}
html[data-theme="dark"] .tone-c .hub-icon,html[data-theme="dark"] .tone-c .hub-kicker{color:#f3c894}
html[data-theme="dark"] .tone-d{background:#281613;border-color:#543731}
html[data-theme="dark"] .tone-d .hub-icon,html[data-theme="dark"] .tone-d .hub-kicker{color:#d39591}
html[data-theme="dark"] .hub-band{background:#17374b;color:#fff}
html[data-theme="dark"] .hub-band h2{color:#fff}
html[data-theme="dark"] .hub-band p{color:#c9dbe4}
html[data-theme="dark"] .hub-commune select{border:0;background:#17242c;color:#bfd7e5}
html[data-theme="dark"] .hub-band .primary-button{background:#a8e6dd;color:#102f43;border:0}
html[data-theme="dark"] .seo-footer{border-top:1px solid var(--line)}
html[data-theme="dark"] .seo-footer a{color:var(--muted)}
html[data-theme="dark"] .seo-footer a:hover{color:var(--ink)}
html[data-theme="dark"] .seo-footer .seo-footer-title a{color:var(--ink)}
html[data-theme="dark"] .hub-unit-text{color:var(--ink)}
html[data-theme="dark"] .hub-note{background:var(--light);color:var(--muted)}
html[data-theme="dark"] .hub-note strong{color:var(--ink)}
html[data-theme="dark"] .reading-split{color:var(--muted)}
html[data-theme="dark"] .analysis-dossier .primary-button{border:0;background:none;color:var(--accent)}
html[data-theme="dark"] .analysis-dossier .primary-button:hover{background:none}
html[data-theme="dark"] .key-fig{background:#172124;border:1px solid #37484e}
html[data-theme="dark"] .key-fig strong{color:var(--ink)}
html[data-theme="dark"] .key-fig span{color:var(--muted)}
html[data-theme="dark"] .v-kicker{color:var(--accent)}
html[data-theme="dark"] .v-hero h1 span{color:#94c5d7}
html[data-theme="dark"] .v-lead{color:var(--muted)}
html[data-theme="dark"] .v-jump{border:1px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .v-jump:hover{border-color:var(--accent)}
html[data-theme="dark"] .v-hero-round{border:6px solid var(--paper)}
html[data-theme="dark"] .v-hero-badge{background:#17242c}
html[data-theme="dark"] .v-hero-badge strong{color:#bfd7e5}
html[data-theme="dark"] .v-hero-badge span{color:#acb5ba}
html[data-theme="dark"] .b{color:var(--ink)}
html[data-theme="dark"] .b:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .b-go{background:currentColor}
html[data-theme="dark"] .b-go{color:inherit}
html[data-theme="dark"] .b-go{background:transparent;border:1.5px solid currentColor}
html[data-theme="dark"] .b-photo{color:#fff}
html[data-theme="dark"] .b-shade{background:linear-gradient(180deg,#0b1d2700 20%,#0b1d27b8 75%,#0b1d27e6)}
html[data-theme="dark"] .b-photo .b-num{color:#fff}
html[data-theme="dark"] .b-photo .b-unit{color:#e3eef3}
html[data-theme="dark"] .b-photo .b-kicker{color:#fff}
html[data-theme="dark"] .b-chips span{background:rgba(23,36,44,0.149)}
html[data-theme="dark"] .b-solid{background:#0f4c5c;color:#fff}
html[data-theme="dark"] .b-solid .b-kicker{color:#9fe0e8}
html[data-theme="dark"] .b-solid .b-unit{color:#d3eef2}
html[data-theme="dark"] .b-deco{fill:none;stroke:rgba(23,36,44,0.122)}
html[data-theme="dark"] .b-tint{border:1px solid transparent}
html[data-theme="dark"] .b-ring-num{border:2px dashed currentColor;color:#919ace}
html[data-theme="dark"] .b-ring-num strong{color:var(--ink)}
html[data-theme="dark"] .b-routes .b-num{color:#d39591}
html[data-theme="dark"] .b-donut{background:conic-gradient(#0d6680 calc(var(--p)*1%),#23363b 0)}
html[data-theme="dark"] .b-donut strong{background:#172528}
html[data-theme="dark"] .b-data{background:#17242c;border:1px solid var(--line)}
html[data-theme="dark"] .b-data .b-num{color:#f2c38c}
html[data-theme="dark"] .b-bar em{color:var(--ink)}
html[data-theme="dark"] .b-track{background:#362b1b}
html[data-theme="dark"] .b-track i{background:#d9822b}
html[data-theme="dark"] .b-bar-muted em{color:var(--muted)}
html[data-theme="dark"] .b-bar-muted .b-track i{background:#8fa1aa}
html[data-theme="dark"] .v-credits{color:var(--muted)}
html[data-theme="dark"] .b-photo .b-unit-text{color:#fff}
html[data-theme="dark"] .b-solid-navy{background:#17374b}
html[data-theme="dark"] .b-solid-navy .b-kicker{color:#9fd0e6}
html[data-theme="dark"] .b-solid-amber{background:#8a4b0f}
html[data-theme="dark"] .b-solid-amber .b-kicker{color:#ffd9a8}
html[data-theme="dark"] .b-solid-amber .b-unit{color:#fbe7cf}
html[data-theme="dark"] .b-solid-teal{background:#0f4c5c}
html[data-theme="dark"] .b-solid-brand{background:linear-gradient(135deg,#1f6f86,#c4561f)}
html[data-theme="dark"] .b-solid-brand .b-kicker{color:#fff3e6}
html[data-theme="dark"] .b-solid-brand .b-unit{color:#fff}
html[data-theme="dark"] .b-solid .b-num{color:#fff}
html[data-theme="dark"] .landing-seo .home-hero{background:#0f2a3a url("assets/communes/galerie/97422-3.webp") center 60%/cover}
html[data-theme="dark"] .landing-seo .home-hero::before{background:linear-gradient(100deg,#0c2230f2 0%,#0c2230d9 42%,#0c223066 75%,#0c223033)}
html[data-theme="dark"] .landing-seo .home-hero .commune-picker{background:rgba(23,36,44,0.922);color:#bfd7e5}
html[data-theme="dark"] .c-tile{color:#fff}
html[data-theme="dark"] .c-tile:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .c-shade{background:linear-gradient(180deg,#0b1d2700 35%,#0b1d27cc)}
html[data-theme="dark"] .c-pop{color:#e3eef3}
html[data-theme="dark"] .landing-seo .home-hero{background:#0f2a3a}
html[data-theme="dark"] .landing-seo .home-hero::after{background:url("assets/accueil/case-creole.jpg") center 58%/cover}
html[data-theme="dark"] .landing-seo .home-hero h1,html[data-theme="dark"] .landing-seo .home-hero h1 .w{color:#fff}
html[data-theme="dark"] .landing-seo .home-hero h1>span:not(.w),html[data-theme="dark"] .landing-seo .home-hero h1>span:not(.w) .w{color:#81d4df}
html[data-theme="dark"] .b-shade{background:linear-gradient(180deg,#0b1d2714 0%,#0b1d2766 34%,#0b1d27c7 62%,#0b1d27f2 100%)}
html[data-theme="dark"] .c-shade{background:linear-gradient(180deg,#0b1d2700 25%,#0b1d27e0)}
html[data-theme="dark"] .header nav a.nav-jeu::after{background:linear-gradient(110deg,transparent 30%,rgba(23,36,44,0.349) 50%,transparent 70%)}
html[data-theme="dark"] .history-overview{background:#17374b;color:#fff}
html[data-theme="dark"] .history-overview .eyebrow{color:#9fd0e6}
html[data-theme="dark"] .history-overview h2{color:#fff}
html[data-theme="dark"] .history-overview .lead{color:#c9dbe4}
html[data-theme="dark"] .ht-track::before{background:linear-gradient(90deg,#81d4df,#e3a24a)}
html[data-theme="dark"] .ht-media{border:3px solid rgba(66,66,66,0.18);background:#0b1d27}
html[data-theme="dark"] .ht-year{color:#81d4df}
html[data-theme="dark"] .ht-item:nth-child(n+3) .ht-year{color:#f0b46a}
html[data-theme="dark"] .ht-item h3 a{color:#fff}
html[data-theme="dark"] .ht-item p{color:#d6e5ec}
html[data-theme="dark"] .ht-item .source-link{color:#9fbccb}
html[data-theme="dark"] .history-overview .text-link{color:#81d4df}
html[data-theme="dark"] .history-overview .v-credits{color:#9fbccb}
html[data-theme="dark"] .history-overview .v-credits a{color:#c9dbe4}
html[data-theme="dark"] .story-step:not(.on) .story-title{color:var(--muted)}
html[data-theme="dark"] .story-step.on{border-left-color:#d9822b}
html[data-theme="dark"] .landing-seo .home-hero{background:#0f2a3a url("assets/accueil/case-creole.jpg") center 64%/cover}
html[data-theme="dark"] .landing-seo .home-hero::before{background:linear-gradient(100deg,#0c2230f0 0%,#0c2230d1 40%,#0c223059 72%,#0c223026)}
html[data-theme="dark"] .seo-footer h2.seo-footer-title{color:inherit}
html[data-theme="dark"] svg path[tabindex]:focus-visible,html[data-theme="dark"] svg a:focus-visible path,html[data-theme="dark"] svg a:focus-visible{outline:3px solid #df872b;stroke:#daa56e}
html[data-theme="dark"] .commune-control select,html[data-theme="dark"] .hub-commune select{border:1px solid #768993}
html[data-theme="dark"] .lang-menu>summary{border:1px solid #768993;color:var(--ink)}
html[data-theme="dark"] .lang-menu[open]>summary,html[data-theme="dark"] .lang-menu>summary:hover{background:var(--light)}
html[data-theme="dark"] .lang-menu>summary:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .lang-list{background:var(--white);border:1px solid var(--line)}
html[data-theme="dark"] .lang-item{color:var(--ink)}
html[data-theme="dark"] a.lang-item:hover,html[data-theme="dark"] a.lang-item:focus-visible{background:var(--light)}
html[data-theme="dark"] a.lang-item:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .lang-item.is-current::after{color:var(--accent)}
html[data-theme="dark"] .topline-social{color:var(--muted)}
html[data-theme="dark"] .topline-social svg{fill:currentColor}
html[data-theme="dark"] .topline-social:hover,html[data-theme="dark"] .topline-social:focus-visible{color:var(--ink);background:var(--light)}
html[data-theme="dark"] .topline-social:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .history-figure-dates{color:var(--muted)}
html[data-theme="dark"] .ht-item:nth-child(n+5) .ht-year{color:#f0b46a}
html[data-theme="dark"] .history-figure-photo figcaption{color:var(--muted)}
html[data-theme="dark"] .footer-social .seo-footer-title{color:var(--ink)}
html[data-theme="dark"] .footer-social a{border:1px solid #768993;color:var(--ink)}
html[data-theme="dark"] .footer-social a:hover,html[data-theme="dark"] .footer-social a:focus-visible{background:var(--light)}
html[data-theme="dark"] .landing-seo .home-hero::after,html[data-theme="dark"] [data-theme] .landing-seo .home-hero::after{background-image:image-set(url("assets/accueil/case-creole.webp") type("image/webp"),url("assets/accueil/case-creole.jpg") type("image/jpeg"))}
html[data-theme="dark"] .landing-seo .home-hero,html[data-theme="dark"] [data-theme] .landing-seo .home-hero{background-image:image-set(url("assets/accueil/case-creole.webp") type("image/webp"),url("assets/accueil/case-creole.jpg") type("image/jpeg"))}
html[data-theme="dark"] .catalogue-route{border:1px solid var(--accent);color:var(--accent)}
html[data-theme="dark"] .catalogue-route:hover{background:var(--light)}
html[data-theme="dark"] .tourisme-office-fold>summary{color:var(--accent)}
html[data-theme="dark"] .tourisme-offices-link a{color:var(--accent)}
html[data-theme="dark"] .hero-quick a{border:1px solid #2c5852;color:#fff}
html[data-theme="dark"] .hero-quick a:hover{background:rgba(23,36,44,0.122)}
html[data-theme="dark"] .hero-quick a:focus-visible{outline:3px solid #df872b}
html[data-theme="dark"] .portrait-themes{background:var(--paper)}
html[data-theme="dark"] .portrait-themes a{border:1px solid var(--line);background:var(--white);color:var(--ink)}
html[data-theme="dark"] .portrait-themes a:hover{border-color:var(--accent)}
html[data-theme="dark"] .ma-commune-save button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent)}
html[data-theme="dark"] .portrait-updates li{border:1px solid var(--line)}
html[data-theme="dark"] .portrait-updates li a{color:var(--accent)}
html[data-theme="dark"] .portrait-updates li>span{color:var(--muted)}
html[data-theme="dark"] .portrait-neighbours .table-scroll{border:1px solid var(--line)}
html[data-theme="dark"] .portrait-neighbours tr.is-current th,html[data-theme="dark"] .portrait-neighbours tr.is-current td{background:var(--light);color:var(--ink)}
html[data-theme="dark"] .aides-besoins li{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .aides-besoins a{color:var(--accent)}
html[data-theme="dark"] .ma-commune-memo{background:var(--white);border:1px solid #354b50}
html[data-theme="dark"] .ma-commune-memo a{color:var(--accent)}
html[data-theme="dark"] .ma-commune-forget{border:0;background:none;color:var(--muted)}
html[data-theme="dark"] .semaine-card a:not(.text-link){color:var(--accent)}
html[data-theme="dark"] .semaine-figure{background:#17374b;color:#fff;border-color:#17374b}
html[data-theme="dark"] .semaine-figure .eyebrow{color:#9fd0e6}
html[data-theme="dark"] .semaine-figure .semaine-big{color:#fff}
html[data-theme="dark"] .semaine-figure .text-link{color:#a8e6dd}
html[data-theme="dark"] .semaine-data li{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .semaine-data li span{color:var(--muted)}
html[data-theme="dark"] .semaine-place{color:var(--muted)}
html[data-theme="dark"] .semaine-choices li{border:1px solid var(--line)}
html[data-theme="dark"] .semaine-quiz details summary{color:var(--accent)}
html[data-theme="dark"] .semaine-note{border-left:4px solid var(--accent);background:var(--white)}
html[data-theme="dark"] .semaine-share a{color:var(--accent)}
html[data-theme="dark"] .semaine-past{border-top:1px solid var(--line)}
html[data-theme="dark"] .ephemeride-list li{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .ephemeride-list li strong{color:var(--accent)}
html[data-theme="dark"] .ephemeride-list li small{color:var(--muted)}
html[data-theme="dark"] .ephemeride-list li small a{color:var(--accent)}
html[data-theme="dark"] .home-ephemeride{background:var(--white);border:1px solid var(--line)}
html[data-theme="dark"] .search-results .search-snippet{color:var(--muted)}
html[data-theme="dark"] .search-results mark{background:#fde9a8;color:#17374b}
html[data-theme="dark"] .home-cyclone{background:#312109;border:1px solid #614a24;color:#bfd7e5}
html[data-theme="dark"] .home-cyclone .eyebrow{color:#eac29d}
html[data-theme="dark"] .cyclone-links a{border:1px solid #5b4629;background:#17242c;color:#efc8a4}
html[data-theme="dark"] .cyclone-links a:hover{background:#402c0e}
html[data-theme="dark"] .home-cyclone .helper a{color:#efc8a4}
html[data-theme="dark"] .upcoming-data li{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .upcoming-data li strong{color:var(--accent)}
html[data-theme="dark"] .upcoming-data li a{color:var(--accent)}
html[data-theme="dark"] .page-utile{border:1px solid var(--line);background:var(--white)}
html[data-theme="dark"] .insee-box{border-left:5px solid var(--accent)}
html[data-theme="dark"] .realestate-track{background:#1c282b}
html[data-theme="dark"] .realestate-track i{background:#216978}
@media(max-width:700px){
html[data-theme="dark"] .facts>div{border-right:0;border-bottom:1px solid var(--line)}
html[data-theme="dark"] .header nav{border-top:1px solid var(--line)}
html[data-theme="dark"] .header nav a[aria-current=page]{background:var(--light)}
html[data-theme="dark"] .header nav a:hover{background:var(--light)}
html[data-theme="dark"] .header nav a.nav-jeu{color:#fff;background:linear-gradient(135deg,#0e7490,#c2410c)}
}
@media(hover:hover){
html[data-theme="dark"] .jeu-order-item:not(.on):not(:disabled):hover{border-color:var(--accent)}
html[data-theme="dark"] .jeu-step:not(:disabled):hover{border-color:var(--accent);background-color:var(--light)}
html[data-theme="dark"] .home-shortcuts a:hover{background:var(--ink);color:#e9f3f5}
html[data-theme="dark"] .primary-button:not(:disabled):hover{background-color:#27536f}
html[data-theme="dark"] .history-home .primary-button:not(:disabled):hover{background-color:#172228}
html[data-theme="dark"] .landing-seo .home-hero .primary-button:not(:disabled):hover{background-color:#1d463f}
html[data-theme="dark"] .outline-button:not(:disabled):hover,html[data-theme="dark"] .menu-toggle:hover{border-color:var(--accent);background-color:var(--light)}
html[data-theme="dark"] .analysis-filters button:not([aria-pressed=true]):hover{border-color:var(--accent);background-color:var(--light)}
html[data-theme="dark"] .analysis-filters button[aria-pressed=true]:hover{background-color:#27536f}
html[data-theme="dark"] .portrait-toc a:hover{background-color:#1d3137}
}
@media(min-width:901px){
html[data-theme="dark"].anim-on.scrolled body:not(:has(.portrait-switcher)) .header{background:rgba(23,36,44,0.74)}
}
@media(max-width:760px){
html[data-theme="dark"] .landing-seo .home-hero::before{background:linear-gradient(180deg,#0c2230e6,#0c2230cc 60%,#0c2230b3)}
}
@media(max-width:850px){
html[data-theme="dark"] .landing-seo .home-hero::before{background:linear-gradient(180deg,#0c2230eb,#0c2230c7 55%,#0c2230a6)}
}

html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] :is(.primary-button,.metric-card.active,.brand-icon,.analysis-filters button[aria-pressed="true"],.home-shortcuts a:hover,.home-shortcuts a:focus-visible,.home-week-card,.story-visual,.jeu-net.copy){background:#1d587c;color:#fff;border-color:#1d587c}
html[data-theme="dark"] :is(.primary-button,.metric-card.active,.brand-icon,.analysis-filters button[aria-pressed="true"],.home-shortcuts a:hover,.home-shortcuts a:focus-visible,.home-week-card,.story-visual,.jeu-net.copy) :is(a,span,p,strong,small,em){color:#fff}
html[data-theme="dark"] .brand-icon i{background:#fff}
html[data-theme="dark"] .mini-row:first-child .mini-track>i{background:var(--accent)}
html[data-theme="dark"] img:not([src$=".svg"]){filter:brightness(.9) contrast(1.02)}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:var(--white);color:var(--ink);border-color:#768993}
html[data-theme="dark"] ::placeholder{color:var(--muted)}
html[data-theme="dark"] ::selection{background:#2f6f94;color:#fff}
}
