:root{--green:#1d5f3f;--ink:#183b2d;--muted:#718076;--paper:#f8f8f2;--line:#dfe5d9;--orange:#e06935;--serif:Georgia,'Times New Roman',serif;--sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--sans);background:var(--paper);color:var(--ink)}button,input,select{font:inherit}button,a,input,select,svg [role=button]{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,svg [role=button]:focus-visible{outline:3px solid #c77942;outline-offset:4px}[hidden]{display:none!important}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid var(--line);background:#fafbf6;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--green);font-size:22px;font-weight:800;letter-spacing:2.3px}.brand svg{width:37px;height:42px}.brand small{display:block;font-size:7.6px;font-weight:600;letter-spacing:1.35px;margin-top:5px}.topbar nav{display:flex;align-items:center;gap:30px}.version-label{font-size:10px;color:var(--muted);letter-spacing:1.4px}.version-label b{color:var(--green);background:#e9efe4;padding:5px 7px;border-radius:4px;margin-left:5px}.text-button{border:0;background:none;padding:8px 0;font-size:12px}.intro{padding:82px 0 55px 9%;align-self:center}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:650;letter-spacing:1.7px;color:var(--green)}.eyebrow span,.live-dot{width:6px;height:6px;border-radius:50%;background:#4f8e67;display:inline-block;flex-shrink:0}.intro h1{font-size:clamp(36px,3.9vw,62px);font-weight:500;line-height:1.14;letter-spacing:-2.2px;margin:24px 0 22px}.intro h1 em{font-family:var(--serif);font-weight:400;color:var(--green)}.intro-copy{font-size:14px;line-height:1.85;color:var(--muted);margin:0 0 34px}.home-search{max-width:360px;position:relative}.home-search>label{font-size:11px;font-weight:600;display:block;margin-bottom:9px}.search-box{border:1px solid #d6ded1;display:flex;align-items:center;gap:10px;border-radius:7px;background:#fff;padding:12px 14px}.search-box svg{width:18px;height:18px;stroke:#7b8d7d;fill:none;stroke-width:1.7;flex:none}.search-box input{border:0;background:none;outline:none;width:100%;min-width:0;font-size:12px;color:var(--ink)}.search-box:focus-within{box-shadow:0 0 0 2px #c5d6bc}.department-results{position:absolute;top:74px;background:white;width:100%;z-index:4;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px #183b2d1c;max-height:250px;overflow:auto}.department-results button{width:100%;text-align:left;background:none;border:0;padding:13px 16px;display:flex;gap:13px;align-items:center;font-size:12px}.department-results button:hover{background:#eef4e9}.department-results span{color:#79917d;font-size:10px}.primary{border:0;background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:16px 20px;border-radius:7px;font-size:12px;font-weight:550;max-width:360px;width:100%;margin-top:13px;box-shadow:0 5px 14px #1d5f3f15}.primary:hover{background:#174e34}.primary span{font-size:21px;line-height:1}.pilot-note{display:flex;gap:10px;align-items:flex-start;margin-top:30px}.pilot-note .live-dot{margin-top:5px}.pilot-note p{margin:0;font-size:11px;line-height:1.8;color:var(--muted)}.pilot-note strong{font-size:12px;color:var(--ink);font-weight:600}.home-footnote{margin-top:37px;font-size:10px;line-height:1.8;color:#879386}#home{display:grid;grid-template-columns:1fr 1.1fr;max-width:1600px;margin:auto;min-height:calc(100dvh - 88px)}.france-map{margin:45px 8% 25px 4%;min-width:0;position:relative;display:flex;flex-direction:column;justify-content:center}.map-heading{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:#7a8c78;margin:0 7px 4px}.map-index{color:#a6b19e}.svg-container{width:100%;aspect-ratio:1.13;display:flex;align-items:center;justify-content:center}.svg-container svg{width:100%;height:100%;overflow:visible}.dep-path{stroke:#fafbf5;stroke-width:1.4;fill:#dfe7d7;cursor:pointer;transition:fill .15s,filter .15s}.dep-path.is-available{fill:#2b6b48}.dep-path:hover,.dep-path:focus{fill:#91ad7d;filter:drop-shadow(0 1px 2px #264f3a25);outline:none}.dep-path.is-available:hover{fill:#588a4b}.dep-label{font-size:10px;font-family:var(--sans);font-weight:600;fill:#f9fff0;pointer-events:none}.map-legend{display:flex;justify-content:center;gap:22px;font-size:9px;color:#728570;padding:4px}.map-legend span{display:flex;align-items:center;gap:6px}.map-legend i{width:8px;height:8px;display:inline-block;background:#dfe7d7;border-radius:2px}.map-legend i.available{background:#2b6b48}.map-hover{min-height:30px;text-align:center;font-size:11px;padding-top:12px;color:#688061}.overseas{display:flex;justify-content:center;gap:8px;margin-top:17px}.overseas button{background:#f3f5ed;border:1px solid #e5e9dc;border-radius:5px;min-width:0;flex:1;max-width:100px;padding:7px 3px;font-size:8px;color:#7f8c76}.overseas svg{display:block;width:100%;height:38px;margin-bottom:3px}.overseas button:hover{border-color:#9cb18c;background:#edf2e6}.loading-copy{color:#80917b;font-size:12px}.muted{color:var(--muted)}.small{font-size:11px!important}body.exploring{overflow:hidden}.exploring .topbar{height:70px;padding:0 28px}.exploring .brand{font-size:19px}.exploring .brand svg{width:31px;height:36px}.exploring .brand small{font-size:6.5px}.exploring .topbar .version-label{font-size:9px}#explorer{display:flex;height:calc(100dvh - 70px);position:relative}.sidebar{width:350px;flex:none;background:#fafbf6;display:flex;flex-direction:column;border-right:1px solid var(--line);z-index:3;min-height:0}.territory-header{padding:22px 23px 15px}.back-button{border:0;background:none;padding:0;margin:0 0 28px;font-size:11px;color:#7a8a79;display:flex;gap:8px;align-items:center}.back-button:hover{color:var(--green)}.territory-kicker{font-size:9px;letter-spacing:1.6px;color:#86917f;margin-bottom:8px}.territory-header h1{font-size:29px;font-weight:500;letter-spacing:-.9px;margin:0 0 8px}.territory-header p{font-size:11px;margin:0;line-height:1.5}.filters{padding:0 23px 17px}.filters .search-box{padding:10px 11px}.filter-line{display:flex;justify-content:space-between;align-items:center;margin-top:11px;gap:8px}.select-wrap select{border:1px solid var(--line);border-radius:4px;background:#f4f6ef;color:#526b56;font-size:10px;padding:7px 3px;max-width:150px}.viewport-filter{font-size:9px;color:#71846f;display:flex;gap:4px;align-items:center;white-space:nowrap}.viewport-filter input{accent-color:var(--green);width:12px;height:12px}.route-list{overflow:auto;flex:1;min-height:0;border-top:1px solid var(--line)}.route-row{border:0;border-bottom:1px solid #e7ebdf;background:none;display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;padding:17px 23px;width:100%;position:relative}.route-row:hover{background:#f0f4e9}.route-row.selected{background:#eef1e1;box-shadow:inset 3px 0 var(--orange)}.row-name{font-size:12px;line-height:1.5;font-weight:550;grid-column:1}.row-sub{font-size:9px;color:#8b9985;grid-column:1}.row-distance{font-size:10px;align-self:center;grid-column:2;grid-row:1 / 3;color:#4e704e;white-space:nowrap;background:#edf2e6;border-radius:4px;padding:5px 7px}.sidebar-footer{font-size:8.5px;letter-spacing:.2px;color:#819079;padding:14px 23px;border-top:1px solid var(--line);display:flex;align-items:center;gap:7px}.sidebar-footer .live-dot{width:4px;height:4px}.empty-list{padding:34px 23px;color:#7b8f75;font-size:12px;line-height:1.8}.map-area{position:relative;flex:1;min-width:0;background:#dbe4d4}#map{position:absolute;inset:0}.map-topline{position:absolute;top:22px;left:24px;right:62px;display:flex;gap:12px;align-items:center;pointer-events:none;flex-wrap:wrap}.terrain-badge{background:#fafcf4ed;backdrop-filter:blur(10px);border:1px solid #dfe6d8;border-radius:5px;box-shadow:0 2px 9px #183b2d0c;padding:9px 12px;font-size:9px;letter-spacing:1px;display:flex;align-items:center;gap:7px}.terrain-icon{font-size:18px;line-height:1}.terrain-badge small{border-left:1px solid #d8dfce;padding-left:8px;color:#7d9071;font-size:9px;letter-spacing:0}.map-load-status{border-radius:5px;background:#fafcf3f2;padding:9px 12px;font-size:10px;color:#758569;max-width:350px}.map-load-status.error{color:#955528;background:#fff5df}.extra-map-controls{position:absolute;top:138px;right:10px;display:flex;flex-direction:column;gap:8px}.extra-map-controls button{width:32px;height:32px;border:0;background:white;border-radius:5px;box-shadow:0 0 0 2px #00000012;font-size:10px;font-weight:650}.extra-map-controls svg{width:17px;height:17px;fill:none;stroke:#345d43;stroke-width:1.7}.map-help{position:absolute;bottom:34px;left:50%;transform:translateX(-50%);font-size:9px;color:#48613c;background:#f8faedcf;padding:7px 13px;border-radius:5px;white-space:nowrap;pointer-events:none}.maplibregl-ctrl-top-right{top:13px!important}.maplibregl-ctrl-group{border-radius:5px!important}.maplibregl-ctrl-attrib{font-size:9px!important;max-width:85%;color:#466140!important}.maplibregl-ctrl-scale{font-size:9px!important;border-color:#50664a!important;background:#fafcf3c9!important}.route-detail{background:#f0f3e7;border-top:1px solid #dfe4d1;border-bottom:1px solid #dfe4d1;padding:18px 23px;max-height:43%;overflow:auto;flex-shrink:0;position:relative}.detail-close{position:absolute;right:14px;top:8px;background:none;border:0;font-size:22px;color:#8a957e;padding:4px 8px}.route-detail h2{font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.5px;margin:7px 17px 15px 0}.detail-eyebrow{font-size:8px;letter-spacing:1.2px;color:#9a6b3c}.detail-metrics{display:flex;gap:23px;align-items:center}.distance-value{font-size:23px;letter-spacing:-.7px}.distance-value small{font-size:12px;letter-spacing:0}.metric-label{font-size:8px;color:#89947d;margin-top:3px}.detail-deps{font-size:10px;line-height:1.7;color:#6e8163}.detail-actions{display:flex;gap:10px;align-items:center;margin-top:17px}.detail-actions button{border:1px solid #cbd7bf;background:#fffef5;padding:8px 12px;border-radius:4px;color:#41633e;font-size:10px}.detail-actions a{font-size:9px;color:#7a8e6e}.detail-license{font-size:8px;color:#8c9b80;margin:13px 0 0;line-height:1.6}.overlap-choices{background:#fff4df;padding:12px 23px;font-size:11px}.overlap-choices p{margin:0 0 5px}.overlap-choices button{display:block;border:0;background:none;font-size:11px;text-decoration:underline;text-align:left;padding:4px 0}.mobile-sheet-toggle{display:none}dialog{max-width:540px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:12px;padding:35px;color:var(--ink);background:var(--paper);box-shadow:0 20px 80px #183b2d30;max-height:85dvh}dialog::backdrop{background:#173c2b60;backdrop-filter:blur(3px)}dialog h2{font-size:34px;font-family:var(--serif);font-weight:400;line-height:1.15;margin:20px 0}dialog p,dialog li{font-size:12px;color:#71816a;line-height:1.85}dialog h3{font-size:12px;font-weight:600;margin-top:24px}dialog ul{padding-left:17px}dialog li{font-size:10px;margin-bottom:8px}dialog a{text-underline-offset:3px}.dialog-close{position:absolute;top:8px;right:13px;border:0;background:none;font-size:26px;color:#7f9075}.fatal-error{position:fixed;z-index:10;bottom:20px;left:20px;right:20px;background:#fff3dc;border:1px solid #dcc59a;padding:18px;border-radius:8px;color:#80582c;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.intro{padding-left:14%}.france-map{margin-right:12%}}@media(max-width:1000px){.intro{padding-left:8%;padding-top:55px}.intro h1{font-size:40px}.france-map{margin-right:5%;margin-left:0}.sidebar{width:310px}.version-label{display:none}.topbar nav{gap:15px}.home-footnote{margin-top:25px}}@media(max-width:700px){.topbar{height:72px;padding:0 22px}.brand{font-size:19px;gap:9px}.brand svg{width:30px;height:35px}.brand small{font-size:6px;letter-spacing:1.2px}.text-button{font-size:11px}#home{display:flex;flex-direction:column;min-height:0}.intro{padding:37px 26px 10px;align-self:stretch}.eyebrow{font-size:9px}.intro h1{font-size:37px;letter-spacing:-1.5px;margin-top:18px}.intro-copy{font-size:12px;line-height:1.8;margin-bottom:23px}.home-search,.primary{max-width:100%}.pilot-note{margin-top:22px}.home-footnote{display:none}.france-map{margin:32px 25px 28px}.svg-container{aspect-ratio:1.16}.map-heading{font-size:8px}.map-hover{font-size:9px}.map-legend{font-size:8px;gap:16px}.overseas{gap:5px;margin-top:12px}.overseas button{font-size:7px}.exploring .topbar{height:62px;padding:0 18px}.exploring .brand{font-size:17px}.exploring .brand svg{width:27px;height:31px}.exploring .brand small{font-size:5.5px}.exploring .topbar .version-label{display:none}#explorer{height:calc(100dvh - 62px)}.map-area{position:absolute;inset:0}.sidebar{position:absolute;bottom:0;left:0;right:0;width:100%;height:265px;max-height:72%;border-right:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -6px 22px #20392617;transition:height .2s;overflow:hidden}.sidebar.expanded{height:67dvh}.sidebar[data-selected=true]{height:auto;min-height:285px;max-height:72dvh}.sidebar[data-selected=true] .route-list,.sidebar[data-selected=true] .filters,.sidebar[data-selected=true] .sidebar-footer{display:none}.territory-header{padding:13px 22px 10px;flex-shrink:0}.back-button{margin:0 0 13px;font-size:10px}.territory-kicker{font-size:8px;display:inline-block;margin-right:9px;margin-bottom:0}.territory-header h1{display:inline;font-size:22px}.territory-header p{margin-top:5px;font-size:10px}.mobile-sheet-toggle{display:block;position:absolute;top:13px;right:20px;font-size:10px;border:0;background:#eaf0e3;border-radius:5px;padding:6px 10px}.filters{padding:0 22px 10px;flex-shrink:0}.filter-line{margin-top:7px}.search-box{padding:9px 11px}.route-row{padding:14px 22px}.sidebar-footer{display:none}.route-detail{max-height:50dvh;padding:17px 22px 23px;flex-shrink:1}.route-detail h2{font-size:24px}.map-help{display:none}.map-topline{top:13px;left:13px;right:50px;gap:7px}.terrain-badge{padding:7px 10px;font-size:8px}.map-load-status{font-size:9px;max-width:240px;padding:7px 10px}.maplibregl-ctrl-bottom-right{bottom:270px!important}.maplibregl-ctrl-bottom-left{bottom:270px!important}.extra-map-controls{top:127px}.maplibregl-ctrl-attrib{font-size:8px!important}dialog{padding:29px 25px}dialog h2{font-size:31px}.overlap-choices{flex-shrink:0}.sidebar:not(.expanded) .route-list{min-height:30px}.sidebar[data-selected=true] .territory-header{padding-bottom:12px}}/* Carte 03 : la vue verticale ne charge aucun moteur 3D. */
.map-view{position:absolute;inset:0}.view-2d{z-index:1}.view-3d{z-index:2}.map-toolbar{position:absolute;top:20px;left:24px;right:60px;display:flex;gap:9px;z-index:600;flex-wrap:wrap}.segmented{display:flex;background:#fafcf7f5;border:1px solid #d7e0d0;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #183b2d12}.segmented button{border:0;border-right:1px solid #dce4d4;padding:10px 12px;background:transparent;color:#607359;font-size:10px;white-space:nowrap}.segmented button:last-child{border-right:0}.segmented button[aria-pressed=true]{background:#1d5f3f;color:white}.segmented button:hover:not([aria-pressed=true]){background:#eaf0e4}.segmented button:disabled{cursor:wait;opacity:.6}.map-topline{top:72px;z-index:500}.extra-map-controls{z-index:600;top:142px}.extra-map-controls button:disabled{opacity:.45;cursor:default}.map-help{z-index:500}.map-view .leaflet-top{top:13px}.map-view .leaflet-control-zoom{border:0;box-shadow:0 0 0 2px #00000012}.map-view .leaflet-control-zoom a{width:32px;height:32px;line-height:32px;color:#345d43}.map-view .leaflet-control-attribution{font-size:9px;color:#466140;background:#fafcf3e8;max-width:85%;line-height:1.4}.map-view .leaflet-control-scale-line{font-size:9px;background:#fafcf3ce;border-color:#50664a}.gpx-controls{position:absolute;right:10px;top:23px;display:flex;flex-direction:column;background:white;border-radius:5px;box-shadow:0 0 0 2px #00000012;overflow:hidden}.gpx-controls button{width:32px;height:32px;border:0;border-bottom:1px solid #e0e5d9;background:#fff;color:#345d43;font-size:20px}.gpx-controls button:last-child{font-size:11px;border:0}.gpx-attribution{position:absolute;right:0;bottom:0;max-width:88%;padding:4px 8px;background:#fafcf3e8;color:#536c48;font-size:9px;line-height:1.5}.gpx-attribution a{text-underline-offset:2px}.engine-label{display:block;font-size:11px;color:#5a7050;margin-bottom:9px}#engine-choice{font-size:11px;padding:9px;border:1px solid #ced9c4;border-radius:5px;background:#fff;color:#345d43;max-width:100%}.engine-metrics{display:grid;grid-template-columns:1fr auto;gap:9px;font-size:11px;color:#72826b}.engine-metrics dd{margin:0;text-align:right;color:#345d43}.diagnostic-button{border:1px solid #ced9c4;background:#eef3e7;padding:9px 12px;border-radius:5px;font-size:11px;color:#345d43}
@media(max-width:700px){.map-toolbar{top:13px;left:13px;right:50px;gap:7px}.segmented button{font-size:9px;padding:9px 10px}.map-topline{top:62px}.map-view .leaflet-bottom{bottom:270px}.map-view .leaflet-control-attribution{font-size:8px}.gpx-attribution{bottom:268px;font-size:8px}.extra-map-controls{top:142px}}
@media(max-width:700px){.map-view .leaflet-bottom,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-bottom-left{bottom:calc(var(--sheet-height,265px) + 5px)!important}.gpx-attribution{bottom:calc(var(--sheet-height,265px) + 3px)}}
/* Version 04 : priorité aux traces, liste repliable et fiche sur la carte. */
.overview-map .view-2d{background:#edf0e7}.sidebar-collapsed>.sidebar{display:none}.sidebar-toggle{border:1px solid #d4dece;border-radius:6px;background:#fafcf7f5;padding:9px 13px;font-size:10px;color:#345d43;box-shadow:0 2px 8px #183b2d12}.sidebar-toggle:hover{background:#eaf0e4}.route-overlay{position:absolute;z-index:650;right:24px;bottom:32px;width:340px;max-width:calc(100% - 48px);max-height:65%;padding:23px;border:1px solid #d8dfce;border-radius:12px;background:#fafbf6f5;backdrop-filter:blur(12px);box-shadow:0 12px 45px #183b2d25;overflow:auto}.route-overlay h2{margin-top:10px;font-size:25px}.detail-tabs{display:flex;border-bottom:1px solid #dbe2d2;margin:18px 0}.detail-tabs button{border:0;background:none;font-size:11px;color:#748269;padding:9px 11px;border-bottom:2px solid transparent}.detail-tabs button[aria-selected=true]{color:#1d5f3f;border-bottom-color:#1d5f3f}.route-description{font-size:12px;line-height:1.85;color:#52694a}.description-origin,.unavailable-data{font-size:10px;line-height:1.7;color:#7b8872}.unavailable-data{margin:16px 0}.source-link{font-size:11px;color:#1d5f3f}.route-overlay .detail-actions{border-top:1px solid #e0e5d8;padding-top:15px}.route-overlay .detail-actions button{font-size:10px}.route-overlay [role=tabpanel]{min-height:115px}.map-toolbar{align-items:flex-start}
@media(max-width:700px){.route-overlay{left:13px;right:13px;bottom:30px;width:auto;max-width:none;max-height:46dvh;padding:18px 20px;border-radius:13px}.route-overlay h2{font-size:23px;margin-bottom:12px}.route-overlay [role=tabpanel]{min-height:80px}.route-overlay .detail-tabs{margin:12px 0}.sidebar-toggle{font-size:9px;padding:9px 10px}.map-toolbar{gap:6px;right:50px}.map-topline{top:100px}.sidebar:not(.expanded){height:265px}.sidebar-collapsed>.sidebar{display:none}.detail-actions{flex-wrap:wrap}}

/* Version 10 : commandes solaires compactes, au-dessus de la fiche sur mobile. */
.solar-panel{position:absolute;left:24px;bottom:26px;z-index:5;width:330px;max-width:calc(100% - 48px);padding:12px 14px;background:#fafcf7f2;border:1px solid #d7e0d0;border-radius:8px;box-shadow:0 3px 16px #183b2d1c;color:#345d43;font-family:var(--sans)}
.solar-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.solar-header button{font:inherit;font-size:10px;border:0;background:none;padding:3px 0;color:#1d5f3f}.solar-toggle{font-weight:650!important}.solar-reset{text-decoration:underline;text-underline-offset:3px;color:#6b7e62!important}.solar-toggle[aria-pressed=false]{color:#7a8277}
.solar-fields{display:flex;gap:12px}.solar-fields label{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:9px;color:#6d7f63}.solar-fields label:first-child{flex:1}.solar-fields label:last-child{flex:0 0 108px}.solar-fields input{min-width:0;width:100%;background:white;border:1px solid #cedac6;border-radius:4px;padding:5px;font:inherit;font-size:11px;color:#345d43;color-scheme:light}.solar-range{display:block;width:100%;height:14px;margin:8px 0 4px;accent-color:#1d5f3f}.solar-info{font-size:10px;margin:5px 0 0;line-height:1.35}.solar-zone{font-size:8px;color:#7d8c73;margin:4px 0 0}
@media(max-width:700px){.solar-panel{left:12px;bottom:calc(var(--sheet-height,265px) + 18px);width:310px;max-width:calc(100% - 24px);padding:9px 11px}.solar-header{margin-bottom:6px}.solar-zone{font-size:8px}}

/* Hexarando v11 : commandes solaires, fiches responsives et couleurs synchronisées. */
.route-swatch,.detail-route-dot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;margin-right:8px;vertical-align:middle}
.route-row .row-name{display:flex;align-items:center;gap:2px}
.detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.detail-head-actions{display:flex;align-items:center;gap:8px}
.route-overlay .detail-close{position:static;float:none;line-height:1.2;display:inline-flex;align-items:center;justify-content:center}
#expand-detail{border:1px solid #b5cfb7;border-radius:6px;background:#ecf3e8;color:#1d5f3f;font-size:10px;padding:7px}
.route-overlay.expanded{width:min(460px,calc(100% - 48px));max-height:calc(100% - 100px);overflow:auto}
.detail-type{font-size:10px;color:#5c705d;margin-top:7px}.detail-start{font-size:11px;color:#536b5a;margin:8px 0}
.detail-extended{border-top:1px solid #dbe5d7;margin-top:17px;padding-top:15px}
.detail-extended h3{color:#254c38;font-size:12px;letter-spacing:.04em;margin:14px 0 8px}
.future-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.future-sections>div{padding:9px;background:#f1f5ee;border:1px solid #dce6d5;border-radius:5px}
.future-sections strong{font-size:10px}.future-sections p,.mobile-transfer p,.source-disclaimer{font-size:10px;line-height:1.55;color:#677765;margin:5px 0}
.mobile-transfer{display:flex;align-items:center;gap:12px}.mobile-transfer img{flex:none;background:#fff;padding:4px;border-radius:5px}
.mobile-transfer a,.source-metadata a{font-size:11px;color:#1d5f3f}
.source-metadata{display:grid;grid-template-columns:40% 60%;gap:8px 5px;font-size:10px;line-height:1.5;margin:8px 0}.source-metadata dt{color:#6d7968}.source-metadata dd{margin:0;min-width:0;overflow-wrap:anywhere}
.solar-launcher{position:absolute;z-index:7;left:24px;bottom:26px;background:#fafcf7f0;color:#1d5f3f;border:1px solid #bfceb9;border-radius:7px;font:600 11px var(--sans);padding:10px 13px;box-shadow:0 4px 20px #183b2d24}
.solar-panel{z-index:8;bottom:75px}.solar-header{flex-wrap:wrap}.solar-header .solar-close{margin-left:auto;font-size:14px}.solar-player{display:flex;gap:7px;justify-content:space-between}.solar-player button{border:1px solid #c3d0bc;background:#f2f6ef;padding:7px 10px;border-radius:5px;color:#1d5f3f;font:600 10px var(--sans)}
.gpx-compass{display:flex!important;flex-direction:column;align-items:center;line-height:1.1!important;gap:2px;min-height:64px!important}.compass-needle{color:#c45135;font-size:15px;transition:transform .15s ease}.compass-bearing{font-size:9px;color:#486655}
@media(max-width:700px){.route-overlay.expanded{left:8px;right:8px;bottom:12px;width:auto;max-height:75dvh;padding:16px}.solar-launcher{left:12px;bottom:calc(var(--sheet-height,265px) + 18px)}.solar-panel{bottom:calc(var(--sheet-height,265px) + 66px);max-height:50dvh;overflow:auto}.future-sections{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.compass-needle{transition:none}}

/* v19 : bandeau blanc supprimé ; en-tête direct, non flottant dans la fiche. */
.route-overlay .detail-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 9px;min-height:32px}
.route-overlay .detail-head .v12-route-kicker{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;font-size:10px;font-weight:650}
.route-overlay .detail-head-actions{display:flex;gap:5px;flex:none;margin-left:auto}
.route-overlay .detail-head-actions button{min-width:29px;min-height:29px;padding:4px;line-height:1;background:transparent;border:1px solid transparent;box-shadow:none;border-radius:5px;font-size:17px}
.route-overlay .detail-head-actions button:hover,.route-overlay .detail-head-actions button:focus-visible{background:#e8f0e4;border-color:#c8d9c7}
.route-row{grid-template-columns:minmax(0,1fr);gap:7px;padding:14px 22px;transition:background .12s ease,box-shadow .12s ease}
.route-row .row-name{font-size:12px;grid-column:1;min-width:0;line-height:1.45}
.route-row .row-meta{display:flex;gap:5px 11px;flex-wrap:wrap;padding-left:17px;grid-column:1;font-size:10px;color:#4d6c58}
.route-row .row-meta span{white-space:nowrap}
.route-row .row-meta span:first-child{font-weight:700}
.route-row .row-meta sup{font-size:8px;color:#9b704c;padding-left:1px}
.route-row:hover,.route-row.is-previewed{background:#e5f3e6;box-shadow:inset 4px 0 #2d8557}
.route-row.selected{background:#eef1e1;box-shadow:inset 3px 0 var(--orange)}
.route-row.selected.is-previewed{background:#e1f1e1;box-shadow:inset 4px 0 #2d8557}
@media(max-width:700px){.route-row{padding:13px 18px}.route-row .row-meta{font-size:9px;gap:4px 9px}.route-overlay .detail-head .v12-route-kicker{font-size:9px}}

/* v21 : petits points blancs calés sur l'épaisseur du tracé ; aucun pictogramme directionnel. */
.route-row:hover,.route-row.is-previewed{box-shadow:inset 4px 0 var(--route-color,#28784c)}
.route-row.selected{box-shadow:inset 3px 0 var(--route-color,#28784c)}
.route-row.selected.is-previewed{box-shadow:inset 4px 0 var(--route-color,#28784c)}

/* v28 : marqueurs de départ aux zooms départementaux ; coordonnées GPS inchangées. */
.hex-start-shell{background:transparent!important;border:0!important;overflow:visible!important}
.hex-start-marker{display:block;box-sizing:border-box;width:17px;height:17px;border-radius:50%;background:var(--hex-marker-color);border:2px solid #fff;box-shadow:0 1px 5px #071e2580,0 0 0 1px #1b2a35aa;transition:box-shadow .12s ease,transform .12s ease;cursor:pointer}
.hex-start-marker.is-hovered{transform:scale(1.38);box-shadow:0 0 0 4px #fff,0 0 0 7px var(--hex-marker-color),0 2px 10px #001a2c90}
.hex-start-marker.is-selected{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--hex-marker-color),0 1px 10px #001a2c90}
.hex-start-marker.is-selected.is-hovered{transform:scale(1.28)}
.leaflet-marker-icon:focus-visible .hex-start-marker{outline:3px solid #161616;outline-offset:6px}

/* v31 : filtres existants de la liste enrichis par les disciplines Geotrek. */
.filters .filter-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.filters .filter-line .select-wrap{flex:1 1 116px;min-width:0}
.filters .filter-line select{max-width:100%;width:100%}
.filters .filter-line .viewport-filter{flex:0 0 auto}

.route-sport{font-size:13px;line-height:1;flex:none}

/* v34 : indicateurs qualifiés, palette distincte de la couleur des itinéraires */
.difficulty-indicator{font-weight:700;display:inline-flex;gap:.35rem;align-items:center;white-space:nowrap}
.difficulty-indicator::before{content:"";width:6px;height:14px;display:inline-block;border-radius:3px;background:var(--difficulty-color,#64748b)}
.difficulty-1{--difficulty-color:#23865f}.difficulty-2{--difficulty-color:#2777b5}.difficulty-3{--difficulty-color:#c77727}.difficulty-4{--difficulty-color:#b74149}
.difficulty-missing{color:#76837f}

.difficulty-card{font-size:clamp(.87rem,1.2vw,1.15rem)!important}

/* v40 — Profil altimetrique MNT IGN, style Atlas, responsive. */
.real-elevation{margin-top:15px}.real-profile-wrap{position:relative;touch-action:pan-y;cursor:crosshair}
.real-profile-wrap .demo-profile-svg{display:block;width:100%;height:auto;max-height:185px}
.real-elevation-tooltip{position:absolute;top:8px;pointer-events:none;padding:5px 8px;background:var(--panel,#173b30);color:white;border-radius:5px;font-size:12px;white-space:nowrap}
.real-profile-caption,.elevation-source-note{font-size:12px;color:var(--muted,#678075);margin:8px 0}
.real-elevation .demo-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}

/* v47 — ouverture directe de la simulation Soleil/Lune GPX depuis la fiche. */



/* v95 : météo exclusivement au clic ; bouton Atlas discret et accessible. */
.route-weather{border-top:1px solid var(--line,#d7e3d5);padding:17px 0 18px}
.route-weather-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;font-size:11px;font-weight:750;letter-spacing:.035em;color:#284634}
.route-weather-source,.route-weather-note{font-size:10px;font-weight:450;letter-spacing:0;color:#687e6b}
.route-weather-prompt{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.route-weather-prompt button{display:inline-flex;align-items:center;gap:7px;border:1px solid #b5ccb2;background:#eef5e7;color:#245a3b;border-radius:6px;padding:9px 12px;font-size:11px;font-weight:650;cursor:pointer}
.route-weather-prompt button:hover:not(:disabled){background:#e0eddb;border-color:#87af90}
.route-weather-prompt button:focus-visible{outline:2px solid #245a3b;outline-offset:3px}
.route-weather-prompt button:active:not(:disabled){transform:translateY(1px)}
.route-weather-prompt button:disabled{cursor:wait;opacity:.55}
.route-weather-prompt .atlas-icon{width:15px;height:15px}
.route-weather-error{font-size:11px;color:#9b3f36}
.route-weather-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.route-weather-day{min-width:0;padding:9px 3px 8px;background:#f3f7f2;border:1px solid #dbe6d9;border-radius:7px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#254432}
.route-weather-dayname{font-size:10px;font-weight:650;color:#425a48}
.route-weather-symbol{display:flex;height:25px;align-items:center}
.route-weather-symbol .atlas-icon{width:23px;height:23px;stroke-width:1.7}
.route-weather-day strong{font-size:16px}
.route-weather-min{font-size:11px;color:#738676}
.route-weather-rain{display:flex;gap:2px;align-items:center;font-size:10px;white-space:nowrap;color:#3d6075}
.route-weather-rain .atlas-icon{width:12px;height:12px}
.route-weather .route-weather-note{margin:8px 0 0;line-height:1.4}
@media(max-width:700px){.route-weather-days{gap:3px}.route-weather-day{padding:7px 1px}.route-weather-dayname{font-size:9px}.route-weather-day strong{font-size:14px}.route-weather-rain{font-size:9px}}
