/* Météo économique. S'appuie sur le design system du site (site.css + labs.css). */
:root{--tone-neg:#e08a6f;--tone-pos:#6fd3b2;--map-empty:#18201c;--hatch:rgba(201,168,106,.16);--map-stroke:rgba(8,11,10,.85);--surface:#0f1713;--surface-2:#131d18;--tip-bg:rgba(12,18,15,.96);--focus:var(--gold-bright);--neg-ink:#f0a993;--pos-ink:#6fd3b2}
html[data-theme=light]{color-scheme:light;--bg:#f6f4ee;--bg-2:#f1eee5;--panel:rgba(255,255,255,.75);--panel-solid:#fff;--line:rgba(120,96,48,.2);--line-strong:rgba(120,96,48,.42);--ink:#14201a;--ink-soft:#2c3a32;--muted:#4f5f56;--muted-2:#5f6c64;--gold:#8a6a2c;--gold-bright:#7a5b1e;--emerald:#1f7a5c;--emerald-bright:#17694f;--map-empty:#ece8de;--hatch:rgba(120,96,48,.16);--map-stroke:rgba(255,255,255,.95);--surface:#fffdf8;--surface-2:#faf7ef;--tip-bg:rgba(255,253,248,.97);--neg-ink:#a6462b;--pos-ink:#17694f}
html[data-theme=light] body{background:radial-gradient(1200px 800px at 70% -10%,#e9efe6 0%,var(--bg-2) 45%,var(--bg) 100%)}
html[data-theme=light] .labs-page{background:radial-gradient(ellipse at 85% 12%,#e3ece2 0,transparent 40%),var(--bg)}
html[data-theme=light] .nav{background:linear-gradient(180deg,rgba(246,244,238,.9),rgba(246,244,238,0))}
html[data-theme=light] .nav.is-scrolled{background:rgba(246,244,238,.92)}
html[data-theme=light] .nav__links a:hover,html[data-theme=light] .nav__links a.is-active{color:#000}
html[data-theme=light] .nav__burger span{background:var(--ink)}
html[data-theme=light] .btn--primary{color:#fff;background:linear-gradient(120deg,#8a6a2c,#6f531f)}
@media(max-width:960px){html[data-theme=light] .nav.is-open .nav__links{background:rgba(246,244,238,.98)}}
.nav__tools{display:flex;align-items:center;gap:10px}
.nav__lang a{display:inline-block;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.05em;padding:7px 12px;transition:all .2s ease}
.nav__lang a.is-active{background:rgba(201,168,106,.16);color:var(--gold-bright)}
.nav__lang a:hover{color:var(--ink)}
.theme-btn{width:34px;height:34px;display:grid;place-content:center;border-radius:999px;border:1px solid var(--line);background:none;color:var(--ink-soft);cursor:pointer}
.theme-btn:hover{border-color:var(--line-strong);color:var(--gold-bright)}
.theme-btn svg{width:16px;height:16px}
html[data-theme=light] .theme-btn .i-sun,html:not([data-theme=light]) .theme-btn .i-moon{display:none}
.mt-page a:focus-visible,.mt-page button:focus-visible,.mt-page select:focus-visible,.mt-page input:focus-visible,.mt-page [tabindex]:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:6px}
.mt-main{max-width:1320px;margin:auto;padding:0 40px}
.mt-hero{padding:96px 0 20px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:end}
.mt-hero .eyebrow{font-size:10px;letter-spacing:.22em;color:var(--gold);margin:0 0 14px}
.mt-hero h1{font-size:clamp(34px,3.5vw,50px);line-height:1.02;letter-spacing:-.045em;font-weight:500}
.mt-hero h1 em{font-style:normal;color:var(--gold-bright)}
.mt-lede{color:var(--muted);font-size:14.5px;line-height:1.7;max-width:760px;margin:12px 0 0}
.mt-badges{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.mt-badge{display:inline-flex;align-items:center;gap:8px;font-size:11.5px;padding:7px 13px;border-radius:999px;border:1px solid var(--line-strong);color:var(--ink-soft);background:var(--panel)}
.mt-badge i{width:6px;height:6px;border-radius:50%;background:var(--emerald-bright)}

.mt-app{display:grid;grid-template-columns:340px 1fr;gap:18px;align-items:start}
.mt-panel{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:20px;display:flex;flex-direction:column;gap:16px;position:sticky;top:84px}
.mt-panel h2{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.mt-field{display:flex;flex-direction:column;gap:7px}
.mt-field>label,.mt-field>legend,.mt-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600;padding:0}
fieldset.mt-field{border:0;margin:0;padding:0}
.mt-select{appearance:none;width:100%;font:inherit;font-size:14px;color:var(--ink);background:var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393a298' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center;border:1px solid var(--line-strong);border-radius:11px;padding:10px 34px 10px 12px;cursor:pointer}
.mt-select:hover{border-color:var(--gold)}
.mt-select option:disabled{color:#888}
.mt-ind{display:grid;gap:6px}
.mt-ind label{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:11px;cursor:pointer;font-size:13.5px;color:var(--ink-soft);transition:border-color .2s,background .2s}
.mt-ind label:hover{border-color:var(--line-strong)}
.mt-ind input{position:absolute;opacity:0;pointer-events:none}
.mt-ind label:has(input:checked){border-color:var(--gold);background:rgba(201,168,106,.1);color:var(--ink)}
.mt-ind label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:2px}
.mt-ind .sw{width:22px;height:8px;border-radius:4px;flex:none}
.mt-ind small{margin-left:auto;font-size:10.5px;color:var(--muted)}
.mt-seg{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line-strong);border-radius:11px;overflow:hidden}
.mt-seg label{position:relative;text-align:center;font-size:12.5px;padding:8px 2px;cursor:pointer;color:var(--muted);border-right:1px solid var(--line)}
.mt-seg label:last-child{border-right:0}
.mt-seg input{position:absolute;opacity:0;inset:0;pointer-events:none}
.mt-seg label:has(input:checked){background:rgba(201,168,106,.16);color:var(--gold-bright);font-weight:600}
.mt-seg label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:-2px}
.mt-kpis{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mt-kpi{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface-2)}
.mt-kpi span{display:block;font-size:10.5px;color:var(--muted);letter-spacing:.04em}
.mt-kpi b{display:block;font-size:21px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.mt-kpi--pos b{color:var(--pos-ink)}.mt-kpi--neg b{color:var(--neg-ink)}
.mt-kpis-scope{font-size:11px;color:var(--muted);margin:-8px 0 0}
.mt-stage{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,48%);grid-template-areas:'top time' 'mk mk' 'map map';align-items:center;border:1px solid var(--line-strong);border-radius:20px;background:radial-gradient(ellipse at 50% 35%,rgba(40,69,50,.35),transparent 65%),var(--surface);overflow:hidden;display:flex;flex-direction:column;min-width:0}
html[data-theme=light] .mt-stage{background:radial-gradient(ellipse at 50% 35%,rgba(79,174,143,.10),transparent 65%),var(--surface)}
.mt-stage__top{grid-area:top;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px 0;font-family:ui-monospace,monospace;font-size:10px;color:var(--muted);letter-spacing:.06em}
.mt-period{font-family:var(--font);font-size:20px;color:var(--ink);letter-spacing:-.02em;font-weight:600}
.mt-period small{display:block;font-size:11.5px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:2px}
.mt-mapwrap{grid-area:map;position:relative;min-height:0;padding:4px 12px 10px}
.mt-kpis-mobile{grid-area:mk}
.mt-map{display:block;width:100%;height:auto;max-height:calc(100vh - 360px);min-height:420px;touch-action:manipulation}
.mt-map path,.mt-map rect.dom{stroke:var(--map-stroke);stroke-width:.8;vector-effect:non-scaling-stroke;cursor:pointer;transition:opacity .2s}
.mt-map .outline{fill:none;stroke:var(--gold-bright);stroke-width:2.4;pointer-events:none;vector-effect:non-scaling-stroke}
.mt-map .mask-layer [data-m]{pointer-events:none;fill:url(#mt-hatch);opacity:0;transition:opacity .5s ease}
.mt-map .mask-layer .is-on{opacity:1}
.mt-map .hatch-bg{fill:var(--map-empty)}.mt-map .hatch-line{stroke:var(--hatch);stroke-width:2}
.mt-map .dom-label{font-size:13px;fill:var(--muted);font-family:var(--font);pointer-events:none}
.mt-map .dom-title{font-size:12px;fill:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-family:var(--font)}
.mt-legend{position:absolute;right:22px;top:14px;background:var(--tip-bg);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:11px;color:var(--ink-soft);min-width:230px;backdrop-filter:blur(8px)}
.mt-legend__title{font-weight:600;margin-bottom:6px;color:var(--ink)}
.mt-legend__bar{height:10px;border-radius:5px}
.mt-legend__ticks{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums;color:var(--muted);margin-top:4px}
.mt-legend__mask{display:flex;align-items:center;gap:7px;margin-top:7px;color:var(--muted)}
.mt-legend__mask i{width:16px;height:10px;border-radius:3px;background:repeating-linear-gradient(45deg,var(--map-empty) 0 3px,var(--hatch) 3px 5px),var(--map-empty);border:1px solid var(--line-strong)}
.mt-tip{position:absolute;z-index:5;pointer-events:none;min-width:230px;background:var(--tip-bg);border:1px solid var(--line-strong);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow);font-size:12.5px;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s}
.mt-tip.is-on{opacity:1;transform:none}
.mt-tip h3{font-size:14.5px;font-weight:600;margin:0 0 2px;color:var(--ink)}
.mt-tip p{margin:0 0 8px;color:var(--muted);font-size:11px}
.mt-tip dl{display:grid;grid-template-columns:1fr auto;gap:3px 16px;margin:0}
.mt-tip dt{color:var(--muted)}.mt-tip dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink);font-weight:600}
.mt-tip dd.pos{color:var(--pos-ink)}.mt-tip dd.neg{color:var(--neg-ink)}
.mt-tip .sub{font-weight:400;color:var(--muted)}
.mt-tip.is-pinned{pointer-events:auto}
.mt-tip__close{display:none;position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;background:none;color:var(--muted);font-size:20px;cursor:pointer;border-radius:8px}
.mt-tip.is-pinned .mt-tip__close{display:block}
.mt-time{grid-area:time;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;padding:16px 20px 0 0}
.mt-time__btns{display:flex;gap:6px}
.mt-iconbtn{width:40px;height:40px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface-2);color:var(--ink);display:grid;place-content:center;cursor:pointer;transition:border-color .2s,background .2s}
.mt-iconbtn:hover:not(:disabled){border-color:var(--gold);color:var(--gold-bright)}
.mt-iconbtn:disabled{opacity:.4;cursor:not-allowed}
.mt-iconbtn--play{background:linear-gradient(120deg,var(--gold),#b8965a);color:#1a1407;border:0}
html[data-theme=light] .mt-iconbtn--play{background:linear-gradient(120deg,#8a6a2c,#6f531f);color:#fff}
.mt-iconbtn svg{width:16px;height:16px}
.mt-iconbtn[aria-pressed=true] .i-play,.mt-iconbtn[aria-pressed=false] .i-pause{display:none}
.mt-range{position:relative}
.mt-range input{width:100%;accent-color:var(--gold);height:28px;cursor:pointer;margin:0}
.mt-ticks{white-space:nowrap;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:2px;user-select:none}
.mt-section{padding:56px 0 0}
.mt-section h2{font-size:24px;letter-spacing:-.02em;font-weight:500}
.mt-section>p,.mt-section .mt-prose p,.mt-section .mt-prose li{color:var(--muted);font-size:14px;line-height:1.8}
.mt-twocol{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin-top:18px}
.mt-card{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:18px 20px;min-width:0}
.mt-card h3{font-size:15px;font-weight:600;margin:0 0 4px}
.mt-card>p{font-size:12px;color:var(--muted);margin:0 0 12px}
.mt-tablewrap{max-height:460px;overflow:auto;border-radius:10px;border:1px solid var(--line)}
.mt-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.mt-table caption{text-align:left;font-size:12px;color:var(--muted);padding:0 0 8px}
.mt-table th,.mt-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.mt-table th:first-child,.mt-table td:first-child{text-align:left;white-space:normal}
.mt-table thead th{position:sticky;top:0;background:var(--surface-2);color:var(--muted);font-weight:600;font-size:11px;letter-spacing:.04em;z-index:1}
.mt-table td.pos{color:var(--pos-ink)}.mt-table td.neg{color:var(--neg-ink)}
.mt-table td.m{color:var(--muted)}
.mt-table tbody tr:hover{background:rgba(201,168,106,.06)}
.mt-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.mt-sources .mt-card p,.mt-sources .mt-card li{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 8px}
.mt-sources ul{padding-left:18px;margin:0}
.mt-sources a,.mt-prose a{color:var(--gold-bright);text-decoration:underline;text-decoration-color:var(--line-strong);text-underline-offset:3px}
.mt-sources a:hover,.mt-prose a:hover{text-decoration-color:var(--gold)}
.mt-note{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.7}
.mt-sheet-btn,.mt-sheet__head,.mt-backdrop{display:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mt-page .labs-footer{margin-top:70px}
.mt-loading{position:absolute;inset:0;display:grid;place-content:center;color:var(--muted);font-size:13px}
@media(max-width:1100px){.mt-app{grid-template-columns:300px 1fr}.mt-sources{grid-template-columns:1fr 1fr}.mt-twocol{grid-template-columns:1fr}}
@media(max-width:820px){
 .mt-main{padding:0}
 .mt-hero{grid-template-columns:1fr;padding:92px 20px 18px;gap:14px}
 .mt-hero h1{font-size:34px}.mt-lede{font-size:14px}
 .mt-badges{flex-direction:row;flex-wrap:wrap;align-items:flex-start}
 .mt-stage{scroll-margin-top:64px}
 .nav{gap:10px}.nav__name{white-space:nowrap;font-size:14px}.nav__tools{margin-left:auto;gap:6px}.theme-btn{width:32px;height:32px}
 .mt-app{display:block}
 .mt-stage{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:'top' 'mk' 'map' 'time';border-radius:0;border-left:0;border-right:0;height:calc(100svh - 64px);position:relative}
 .mt-stage__top{padding:12px 16px 0}
 .mt-period{font-size:17px}
 .mt-mapwrap{display:flex;align-items:center;padding:0 4px}
 .mt-map{min-height:0;max-height:none;height:100%;width:100%}
 .mt-legend{left:10px;right:10px;top:auto;bottom:8px;min-width:0;padding:8px 10px}
 .mt-time{padding:10px 14px calc(12px + env(safe-area-inset-bottom));gap:10px;border-top:1px solid var(--line)}
 .mt-mapwrap{height:100%;padding-bottom:0}
 .mt-iconbtn{width:44px;height:44px}
 .mt-tip.is-pinned{left:10px!important;right:10px;top:auto!important;bottom:8px;min-width:0}
 .mt-legend{transition:opacity .2s,visibility .2s}
 .mt-mapwrap:has(.mt-tip.is-pinned) .mt-legend{opacity:0;visibility:hidden}
 .mt-sheet-btn{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:13px;font-weight:600;padding:9px 14px;border-radius:999px;border:1px solid var(--line-strong);background:var(--tip-bg);color:var(--gold-bright);cursor:pointer;min-height:40px}
 .mt-sheet-btn svg{width:15px;height:15px}
 .mt-panel{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:60;max-height:86svh;overflow:auto;border-radius:22px 22px 0 0;border:1px solid var(--line-strong);border-bottom:0;transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1);padding:10px 18px calc(22px + env(safe-area-inset-bottom));box-shadow:0 -30px 80px -30px rgba(0,0,0,.7);visibility:hidden}
 .mt-panel.is-open{transform:none;visibility:visible}
 .mt-sheet__head{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-10px;background:var(--surface);padding:6px 0 8px;z-index:1}
 .mt-sheet__head::before{content:"";position:absolute;top:0;left:50%;width:42px;height:4px;margin-left:-21px;border-radius:4px;background:var(--line-strong)}
 .mt-sheet__head h2{margin-top:10px}
 .mt-sheet__close{margin-top:8px}
 .mt-backdrop{display:block;position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .3s}
 .mt-backdrop.is-on{opacity:1;pointer-events:auto}
 .mt-section{padding:40px 20px 0}
 .mt-sources{grid-template-columns:1fr}
 .mt-page .labs-footer{margin:60px 20px 0}
 .mt-stage .mt-kpis-mobile{display:flex}
}
.mt-kpis-mobile{display:none;gap:6px;padding:8px 16px 0;overflow-x:auto;scrollbar-width:none}
.mt-kpis-mobile span{flex:none;font-size:11.5px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:var(--tip-bg);font-variant-numeric:tabular-nums}
.mt-kpis-mobile b{color:var(--ink);font-weight:600}
@media(prefers-reduced-motion:reduce){.mt-panel,.mt-tip,.mt-backdrop{transition:none}}
.mt-tip__note{margin:10px 0 0!important;padding-top:8px;border-top:1px solid var(--line);font-size:11px!important;line-height:1.5;color:var(--muted);max-width:250px}
/* --- échelle, masquage, zoom communal --- */
:root{--mask-bg:#3a4048;--mask-dot:rgba(235,240,245,.55);--mask-stroke:#c3cad2}
html[data-theme=light]{--mask-bg:#cdd2d8;--mask-dot:rgba(30,36,44,.55);--mask-stroke:#4a525c}
.mt-map .hatch-bg{fill:var(--mask-bg)}.mt-map .hatch-line{stroke:var(--mask-dot);stroke-width:1.1}
.mt-map .mask-layer .is-on{stroke:var(--mask-stroke);stroke-dasharray:3 2.5;stroke-width:1}
.mt-legend__mask i{width:18px;height:12px;border-radius:3px;background:repeating-linear-gradient(-45deg,var(--mask-bg) 0 2.2px,var(--mask-dot) 2.2px 3.2px);border:1px dashed var(--mask-stroke)}
.mt-legend__lohi{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:1px}
.mt-legend__soon{display:flex;align-items:center;gap:7px;color:var(--muted)}
.mt-legend__soon i{width:18px;height:12px;border-radius:3px;background:var(--surface-2);border:1px dashed var(--line-strong)}
.mt-map path[data-code],.mt-map rect.dom{transition:opacity .4s ease}
.mt-map.is-zoomed path[data-code],.mt-map.is-zoomed rect.dom,.mt-map.is-zoomed .mask-layer [data-m]{opacity:.22}
.mt-map.is-zoomed .is-sel{visibility:hidden}
.mt-map.is-zoomed .dom-label,.mt-map.is-zoomed .dom-title{opacity:.3}
#com-layer path{fill:var(--map-empty);stroke:var(--map-stroke);stroke-width:.5;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .5s ease;animation:com-in .45s ease both}
#com-layer path.m{fill:url(#mt-hatch)!important;stroke:var(--mask-stroke);stroke-dasharray:2.5 2}
#com-layer path.soon{fill:var(--surface-2)!important;stroke:var(--line-strong);stroke-dasharray:3 2}
@keyframes com-in{from{opacity:0}to{opacity:1}}
.mt-zoombar{position:absolute;left:20px;top:10px;z-index:4;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:calc(100% - 300px)}
.mt-zoombar[hidden]{display:none}
.mt-back{display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:13px;font-weight:600;padding:9px 14px;border-radius:999px;border:1px solid var(--gold);background:var(--tip-bg);color:var(--gold-bright);cursor:pointer;min-height:40px}
.mt-back svg{width:14px;height:14px}.mt-back:hover{background:rgba(201,168,106,.16)}
.mt-back kbd{font:inherit;font-size:10px;font-weight:500;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:1px 5px}
.mt-zoominfo{display:flex;flex-direction:column;background:var(--tip-bg);border:1px solid var(--line);border-radius:10px;padding:6px 10px;font-size:11.5px;color:var(--muted)}
.mt-zoominfo strong{font-size:14px;color:var(--ink);font-weight:600}
.mt-hint{position:absolute;left:22px;top:4px;margin:0;font-size:11.5px;color:var(--muted);pointer-events:none}
.mt-hint .h-touch{display:none}
.mt-map.is-zoomed~.mt-hint{display:none}
@media(hover:none){.mt-hint .h-mouse{display:none}.mt-hint .h-touch{display:inline}}
@media(max-width:820px){.mt-zoombar{left:10px;top:6px;max-width:calc(100% - 20px)}.mt-back kbd{display:none}.mt-hint{left:12px;bottom:auto;top:4px}.mt-zoominfo{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){#com-layer path{animation:none;transition:none}}
@media(min-width:821px){.mt-map{aspect-ratio:1020/1111;height:auto}}
.mt-tip{min-width:250px;max-width:300px}
.mt-tip__main{display:flex;align-items:center;gap:10px;margin:2px 0 6px}
.mt-tip__main strong{display:block;font-size:24px;line-height:1.1;font-weight:600;letter-spacing:-.02em;color:var(--ink);font-variant-numeric:tabular-nums}
.mt-tip__main strong small{display:block;font-size:10.5px;font-weight:400;color:var(--muted);letter-spacing:0}
.mt-tip__main strong.pos{color:var(--pos-ink)}.mt-tip__main strong.neg{color:var(--neg-ink)}
.mt-tip__lbl{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.mt-sw{flex:none;width:14px;height:34px;border-radius:5px;border:1px solid var(--line-strong)}
.mt-sw--m{background:repeating-linear-gradient(-45deg,var(--mask-bg) 0 2.2px,var(--mask-dot) 2.2px 3.2px);border:1px dashed var(--mask-stroke)}
.mt-tip__extra{display:flex;flex-direction:column;gap:2px;font-size:11.5px;color:var(--muted);margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.mt-tip__extra b{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}
.mt-tip__extra .pos b{color:var(--pos-ink)}.mt-tip__extra .neg b{color:var(--neg-ink)}
@media(max-width:820px){.mt-tip.is-pinned{max-width:none}}
.mt-zoomctl{display:flex;gap:6px;flex-wrap:wrap;margin-left:auto;align-items:center}
.mt-zoomctl select,.mt-zoomctl button{font:inherit;font-size:12px;padding:5px 8px;border-radius:8px;border:1px solid var(--line,rgba(127,127,127,.35));background:var(--bg-2,transparent);color:inherit;cursor:pointer}
.mt-zoomctl button[aria-pressed=true]{background:var(--accent,#7c9cff);color:#fff;border-color:transparent}
#mt-zoomnote span{display:block}#mt-zoomnote .zn-alert{color:var(--warn,#e0a040)}
@media(max-width:820px){.mt-zoomctl{margin-left:0;width:100%}}
/* ---------- v1 : plage, non consolidé ---------- */
:root{--mx-c:#2fd39a;--mx-d:#ff6a4d;--mx-s:#c9a86a;--nc-ink:rgba(201,168,106,.55)}
html[data-theme=light]{--mx-c:#17694f;--mx-d:#b8381c;--mx-s:#7a5b1e;--nc-ink:rgba(122,91,30,.5)}
.nc-line{fill:var(--nc-ink)}
.mt-range{position:relative}.mt-nczone{position:absolute;right:0;top:0;height:18px;border-radius:0 9px 9px 0;background:repeating-linear-gradient(45deg,var(--nc-ink) 0 2px,transparent 2px 6px);pointer-events:none;opacity:.85}
.mt-nc{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.02em;padding:2px 7px;border-radius:999px;border:1px dashed var(--nc-ink);color:var(--gold-bright,#c9a86a);vertical-align:middle;background:transparent}
.mt-brushrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px 14px;border-top:1px solid var(--line)}
.mt-brushrow__t{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.mt-presets{display:flex;gap:4px}.mt-presets button,.mx-toggle button{font:inherit;font-size:12px;padding:4px 9px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;color:var(--muted);cursor:pointer}
.mt-presets button[aria-pressed=true],.mx-toggle button[aria-pressed=true]{background:var(--gold,#c9a86a);color:var(--bg,#080b0a);border-color:transparent}
.mt-presets button:focus-visible,.mx-toggle button:focus-visible,#mt-brushsvg:focus-visible{outline:2px solid var(--gold-bright,#e0c48a);outline-offset:2px}
.mt-brush{flex:1 1 320px;min-width:240px;height:44px}.mt-brush svg{width:100%;height:44px;display:block;cursor:crosshair;touch-action:none;border-radius:8px;background:var(--bg-2)}
.mt-brush .c{fill:none;stroke:var(--mx-c);stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.8}.mt-brush .d{fill:none;stroke:var(--mx-d);stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.8}
.mt-brush .yrs text{font-size:9px;fill:var(--muted-2)}.mt-brush .sel{fill:rgba(201,168,106,.16);stroke:var(--gold,#c9a86a);stroke-width:1;vector-effect:non-scaling-stroke}.mt-brush .h{fill:var(--gold,#c9a86a);cursor:ew-resize}
.mt-nclegend{font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}.mt-nclegend i{width:18px;height:10px;border-radius:3px;background:repeating-linear-gradient(45deg,var(--nc-ink) 0 2px,transparent 2px 6px);border:1px dashed var(--nc-ink)}
.mt-seg label.is-off{opacity:.45;cursor:not-allowed}
/* ---------- Observation dans le temps ---------- */
.mt-macro .mt-section__head p{color:var(--muted);max-width:70ch}
.mx-filters{display:flex;gap:14px;flex-wrap:wrap;align-items:flex-end;margin:14px 0 18px}.mx-filters .mt-field{min-width:240px;margin:0}
.mx-scope{font-size:13px;color:var(--muted);margin:0 0 8px}
.mx-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.mx-wide{grid-column:1/-1}
.mx-card{margin:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);position:relative;min-width:0}
.mx-card figcaption h3{font-size:15px;margin:0 0 2px}.mx-card figcaption p{font-size:12px;color:var(--muted);margin:0 0 10px}
.mx-plot{position:relative}.mx-sub{position:relative}.mx-sub+.mx-sub{margin-top:6px}.mx-plot svg{display:block;max-width:100%;height:auto;overflow:visible}
.mx-plot .gl{stroke:var(--line);stroke-width:1}.mx-plot .tk{stroke:var(--line-strong)}.mx-plot .zl{stroke:var(--muted-2);stroke-width:1}
.mx-plot .ax{font-size:11px;fill:var(--muted-2);font-variant-numeric:tabular-nums}
.mx-plot .ln{fill:none;stroke-width:2.2;stroke-linejoin:round}.mx-plot .ln.thin{stroke-width:1;opacity:.45}.mx-plot .ln.nc{stroke-dasharray:3 3}
.mx-plot .ln.c{stroke:var(--mx-c)}.mx-plot .ln.d{stroke:var(--mx-d)}.mx-plot .ln.s{stroke:var(--mx-s)}
.mx-plot .evb{fill:rgba(201,168,106,.09)}.mx-plot .evl{stroke:var(--gold,#c9a86a);stroke-dasharray:4 3;stroke-width:1.2}.mx-plot .evt{font-size:10.5px;fill:var(--gold-bright,#c9a86a)}
.mx-plot .ncb{opacity:.6}.mx-plot .xh{stroke:var(--muted);stroke-width:1}
.mx-tip{position:absolute;top:4px;z-index:3;font-size:12px;padding:8px 10px;border-radius:10px;background:var(--tip-bg,rgba(12,18,16,.96));border:1px solid var(--line-strong);pointer-events:none;display:grid;gap:3px;min-width:160px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.mx-tip i,.mx-leg i{display:inline-block;width:14px;height:3px;border-radius:2px;margin-right:6px;vertical-align:middle;background:var(--muted)}
i.c{background:var(--mx-c)}i.d{background:var(--mx-d)}i.thin{opacity:.45;height:2px}i.ev{background:rgba(201,168,106,.35);height:10px}i.ncl{background:repeating-linear-gradient(90deg,var(--muted) 0 3px,transparent 3px 6px)}
.mx-leg{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--muted);margin-top:6px}
.mx-plot .ar0{fill:#2fd39a}.mx-plot .ar1{fill:#c9a86a}.mx-plot .ar2{fill:#6aa8ff}.mx-plot .ar3{fill:#ff8a65}.mx-plot .ar4{fill:#b08cff}.mx-plot .ar5{fill:#4fc3c7}.mx-plot .ar6{fill:#7d8a83}
.mx-plot .ar{opacity:.85;stroke:var(--bg);stroke-width:.5}
i.ar0{background:#2fd39a;height:10px}i.ar1{background:#c9a86a;height:10px}i.ar2{background:#6aa8ff;height:10px}i.ar3{background:#ff8a65;height:10px}i.ar4{background:#b08cff;height:10px}i.ar5{background:#4fc3c7;height:10px}i.ar6{background:#7d8a83;height:10px}
html[data-theme=light] .mx-plot .ar0,html[data-theme=light] i.ar0{fill:#1f8a64;background:#1f8a64}html[data-theme=light] .mx-plot .ar1,html[data-theme=light] i.ar1{fill:#a07a2c;background:#a07a2c}html[data-theme=light] .mx-plot .ar2,html[data-theme=light] i.ar2{fill:#2f6fc4;background:#2f6fc4}html[data-theme=light] .mx-plot .ar3,html[data-theme=light] i.ar3{fill:#c9552f;background:#c9552f}html[data-theme=light] .mx-plot .ar4,html[data-theme=light] i.ar4{fill:#7a52c9;background:#7a52c9}html[data-theme=light] .mx-plot .ar5,html[data-theme=light] i.ar5{fill:#238f94;background:#238f94}
.mx-toggle{display:flex;gap:4px;position:absolute;top:14px;right:14px}
.mx-ranks{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mx-rank h4{font-size:13px;margin:0 0 6px;color:var(--muted)}
.mx-rank table{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums}.mx-rank th,.mx-rank td{padding:4px 6px;border-bottom:1px solid var(--line);text-align:right}.mx-rank th[scope=row],.mx-rank thead th:first-child{text-align:left;font-weight:500}
.mx-rank td.bar{position:relative;min-width:110px}.mx-rank td.bar i{position:absolute;left:6px;top:50%;height:8px;transform:translateY(-50%);border-radius:4px;opacity:.35}.mx-rank td.bar.pos i{background:var(--mx-c)}.mx-rank td.bar.neg i{background:var(--mx-d)}.mx-rank td.bar b{position:relative}
.mx-rank td.bar.pos b{color:var(--pos-ink,#2fd39a)}.mx-rank td.bar.neg b{color:var(--neg-ink,#ff6a4d)}
.mx-table{margin-top:14px}.mx-table summary{cursor:pointer;font-size:13px;color:var(--gold-bright,#c9a86a)}.mx-table table{font-size:12px;border-collapse:collapse;font-variant-numeric:tabular-nums}.mx-table th,.mx-table td{padding:3px 8px;border-bottom:1px solid var(--line);text-align:right}.mx-table tr.nc{opacity:.7;font-style:italic}
.mx-table .mt-tablewrap{max-height:420px;overflow:auto}
.mx-empty,.mx-loading{color:var(--muted);font-size:13px;padding:20px 0}.mx-src,.mx-note{font-size:12px;color:var(--muted);margin-top:12px}
@media(max-width:820px){.mx-grid,.mx-ranks{grid-template-columns:1fr}.mx-toggle{position:static;margin-bottom:8px}.mt-brushrow{padding:10px 12px}.mx-filters .mt-field{min-width:0;flex:1 1 100%}}
.mx-tip[hidden]{display:none}
.mt-nczone{right:0;top:2px;height:14px}
.mt-to12{font:inherit;font-size:12px;margin-left:6px;padding:3px 9px;border-radius:999px;border:1px solid var(--gold,#c9a86a);background:transparent;color:var(--gold-bright,#e0c48a);cursor:pointer}.mt-to12:focus-visible{outline:2px solid var(--gold-bright,#e0c48a);outline-offset:2px}
