/* Parcours éditoriaux : règles limitées au module et à sa fenêtre. */
.wr-routes,.wr-route-dialog{--wr-font:var(--e-global-typography-text-font-family,Inter),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--wr-blue:var(--werun-primary,#13aff0);--wr-blue-dark:var(--werun-primary-hover,#087fae);--wr-text:var(--werun-text-strong,#2f3d45);--wr-muted:var(--werun-text-soft,#68757d);--wr-line:rgba(19,175,240,.16);font-family:var(--wr-font);color:var(--wr-text);box-sizing:border-box;font-size:14px;line-height:1.65;text-align:left}
.wr-routes *,.wr-route-dialog *{box-sizing:border-box}
.wr-routes.werun-courses-explorer{position:relative;left:auto;width:min(1500px,calc(100% - 56px));max-width:100%;margin:24px auto 32px;padding:0;background:transparent;overflow:visible;font-family:var(--wr-font)}
.wr-routes .wr-routes-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
.wr-routes .wr-routes-count{font-size:11px;font-weight:600;color:var(--wr-muted)}
.wr-routes .wr-routes-search{display:flex;align-items:center;gap:10px;margin:0;color:var(--wr-muted);font-size:11px;font-weight:500}
.wr-routes .wr-routes-search input{width:235px;max-width:100%;margin:0;padding:9px 12px;border:1px solid #dce9ef;border-radius:999px;background:#fff;color:var(--wr-text);font:400 12px/1.5 var(--wr-font);height:auto;box-shadow:none}
/* Même largeur utile, pas de 12 px, et seuils du widget événements. */
.wr-routes .wr-routes-grid{display:grid;grid-template-columns:repeat(var(--werun-route-columns,1),minmax(0,1fr));gap:12px;align-items:stretch}
.wr-routes .wr-route-card{margin:0;min-height:0;font-family:var(--wr-font)}
.wr-routes .werun-course-card__media{position:relative;aspect-ratio:1/1;border-bottom:1px solid var(--wr-line)}
.wr-routes .werun-course-card__media-fallback{width:64px;height:64px;border:1px solid rgba(19,175,240,.12);background:rgba(255,255,255,.8);box-shadow:0 8px 24px #087fae0a}
.wr-routes .werun-course-card__media-fallback svg{width:29px;height:29px;stroke-width:1.5}
.wr-routes .werun-course-card__media:has(.werun-course-card__media-fallback){background:radial-gradient(ellipse at 85% 18%,#fbc42c30,transparent 47%),linear-gradient(145deg,#e9f8fe,#f5fbfd)}
.wr-routes .wr-route-card-photo{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.wr-routes .wr-route-card-body{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:11px;flex:1}
.wr-routes .wr-route-sector,.wr-route-dialog .wr-route-sector{color:var(--wr-blue-dark);font-size:9px;line-height:1.4;font-weight:800;letter-spacing:.075em;text-transform:uppercase}
.wr-routes .wr-route-card h3{font-family:var(--wr-font);font-size:12px;font-weight:800;line-height:1.3;letter-spacing:-.01em;color:var(--wr-text);margin:0;padding:0;text-transform:none}
.wr-routes .wr-route-card p{font-size:10px;line-height:1.5;color:var(--wr-muted);font-weight:400;margin:0;padding:0}
.wr-routes .wr-route-badges{gap:4px;margin:0}
.wr-routes .werun-course-card__badge{min-height:19px;padding:3px 6px;font-size:8px;line-height:1.25}
.wr-routes .werun-route-open{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:auto;min-height:30px;margin:4px 0 0;margin-top:auto;padding:7px 8px;border:1px solid transparent;border-radius:999px;background:var(--wr-blue);color:#fff;font:700 10px/1.4 var(--wr-font);letter-spacing:0;box-shadow:0 3px 9px #13aff014;cursor:pointer;text-transform:none;transform:none}
.wr-routes .werun-route-open span{font-size:14px;line-height:1}
.wr-routes .werun-route-open:hover,.wr-routes .werun-route-open:focus-visible{background:var(--wr-blue-dark);color:#fff;border-color:transparent;box-shadow:0 3px 10px #087fae1a;transform:none}
.wr-routes [hidden],.wr-route-dialog [hidden]{display:none!important}
.wr-routes button:focus-visible,.wr-route-dialog button:focus-visible,.wr-route-dialog a:focus-visible{outline:2px solid var(--wr-blue);outline-offset:4px}
/* La police et les proportions sont explicites pour résister aux styles du thème. */
dialog.wr-route-dialog{position:fixed;inset:0;padding:0;margin:auto;width:min(1060px,calc(100vw - 48px));max-width:none;height:auto;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);border:1px solid rgba(255,255,255,.65);border-radius:20px;background:#fff;box-shadow:0 30px 110px #172f3e40;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d1e1e9 transparent}
dialog.wr-route-dialog::backdrop{background:rgba(19,39,52,.64);backdrop-filter:blur(3px)}
.wr-route-dialog .wr-route-close{position:sticky;top:14px;right:auto;margin:14px 14px -52px auto;display:grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border:1px solid #dfebf0;border-radius:50%;background:#fff;color:#50646f;font-family:Arial,sans-serif;font-size:26px;font-weight:400;line-height:1;cursor:pointer;z-index:1200;box-shadow:0 3px 10px #2446540a;outline:none}
.wr-route-dialog .wr-route-close:hover{background:#eff9fd;color:#087fae}
.wr-route-dialog .wr-route-close:focus-visible{outline:2px solid #13aff0;outline-offset:3px}
.wr-route-dialog .wr-route-dialog-body{padding:0}
.wr-route-dialog .wr-route-view{font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.wr-route-dialog .wr-route-header{padding:34px 38px 0;background:linear-gradient(140deg,#f1faff 0%,#fff 68%)}
.wr-route-dialog .wr-route-eyebrow{display:flex;align-items:center;gap:12px;margin:0 48px 11px 0}
.wr-route-dialog .wr-route-kind{min-height:24px;padding:4px 9px;font-family:var(--wr-font);font-size:9px}
.wr-route-dialog .wr-route-view h2.wr-route-title{max-width:850px;margin:0 30px 24px 0;padding:0;font-family:var(--wr-font);font-size:29px;font-weight:700;line-height:1.23;letter-spacing:-.035em;text-transform:none;color:var(--wr-text)}
.wr-route-dialog .wr-route-metrics{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0 0 22px;border-bottom:1px solid #deebf1}
.wr-route-dialog .werun-event-hero__badge{color:var(--wr-blue-dark);font-family:var(--wr-font);font-size:10px;line-height:1.4}
.wr-route-dialog .werun-event-hero__badge--legendary{color:#775900;border-color:rgba(251,196,44,.58);background:linear-gradient(135deg,#fffced,#fff8d9)}
.wr-route-dialog .wr-route-detail-photo{display:block;width:calc(100% - 76px);height:210px;object-fit:cover;border-radius:12px;margin:24px auto 0}
.wr-route-dialog .wr-route-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 38px;align-items:start}
.wr-route-dialog .wr-route-overview{display:flex;flex-direction:column;gap:24px;grid-column:1/-1;min-width:0}
.wr-route-dialog .wr-route-columns:has(>.wr-route-itinerary)>.wr-route-overview{grid-column:span 2}
.wr-route-dialog .wr-route-itinerary{min-width:0}
.wr-route-dialog .wr-route-columns:has(>.wr-route-overview:only-child){grid-template-columns:1fr}
.wr-route-dialog .wr-route-view h3{font-family:var(--wr-font);font-size:15px;font-weight:700;line-height:1.4;letter-spacing:-.015em;color:var(--wr-text);margin:0 0 13px;padding:0;text-transform:none}
.wr-route-dialog .wr-route-description{margin:0}
.wr-route-dialog .wr-route-practical{min-width:0;margin:0}
.wr-route-dialog .wr-route-description p,.wr-route-dialog .wr-route-notes p{font-size:14px;font-weight:400;line-height:1.8;margin:0 0 12px;padding:0;color:#647783}
.wr-route-dialog .wr-route-description p:last-child,.wr-route-dialog .wr-route-notes p:last-child{margin-bottom:0}
.wr-route-dialog .wr-route-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;margin:0;padding:0}
.wr-route-dialog .wr-route-facts>div{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 0;border-bottom:1px solid #edf2f5;background:transparent}
.wr-route-dialog .wr-route-fact--departure{grid-area:1/1}
.wr-route-dialog .wr-route-fact--arrival{grid-area:1/2}
.wr-route-dialog .wr-route-fact--distance{grid-area:2/1}
.wr-route-dialog .wr-route-fact--duration{grid-area:2/2}
.wr-route-dialog .wr-route-fact--gain{grid-area:3/1}
.wr-route-dialog .wr-route-fact--loss{grid-area:3/2}
.wr-route-dialog .wr-route-fact--max_alt{grid-area:4/1}
.wr-route-dialog .wr-route-fact--min_alt{grid-area:4/2}
.wr-route-dialog .wr-route-fact--water{grid-area:5/1/6/-1}
.wr-route-dialog .wr-route-facts dt{font-size:11px;line-height:1.7;font-weight:400;color:#82919a;margin:0;padding:0}
.wr-route-dialog .wr-route-facts dd{font-size:13px;line-height:1.7;font-weight:600;color:#465d6a;margin:0;padding:0}
.wr-route-dialog .wr-route-stages{counter-reset:wr-stage;list-style:none;margin:0;padding:0}
.wr-route-dialog .wr-route-stages li{position:relative;list-style:none;min-height:37px;padding:0 0 17px 36px;margin:0;color:#5e7380;font-size:13px;line-height:1.65;font-weight:400}
.wr-route-dialog .wr-route-stages li::before{counter-increment:wr-stage;content:counter(wr-stage,decimal-leading-zero);position:absolute;left:0;top:0;display:grid;place-items:center;width:23px;height:23px;border:1px solid #d9edf6;border-radius:50%;background:#f2faff;color:#087fae;font-size:9px;font-weight:700;z-index:1}
.wr-route-dialog .wr-route-stages li:not(:last-child)::after{content:"";position:absolute;left:11px;top:23px;bottom:0;width:1px;background:#dcecf4}
.wr-route-dialog .wr-route-notes{min-width:0;margin:0;padding:0}
.wr-route-dialog .wr-route-notes-content{padding:16px 18px;background:#f6fafc;border:1px solid #e8f0f4;border-radius:10px}
.wr-route-dialog .wr-route-notes h3{margin:0 0 13px}
.wr-route-dialog .wr-route-notes p{font-size:12px}
.wr-route-dialog .werun-format-route{margin:0 38px;border:1px solid #deebf0;border-radius:13px;background:#fff;overflow:hidden}
.wr-route-dialog .wr-route-map-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid #e5eef3}
.wr-route-dialog .wr-route-map-heading h3{font-size:14px;margin:0 0 2px}
.wr-route-dialog .wr-route-map-heading p{font-size:11px;line-height:1.5;font-weight:400;color:#8b9aa3;margin:0;padding:0}
.wr-route-dialog .wr-route-map-label{font-size:9px;font-weight:600;line-height:1.4;color:#8aa0ac;text-transform:uppercase;letter-spacing:.1em}
.wr-route-dialog .werun-format-route__map{height:365px}
.wr-route-dialog .werun-format-route__profile{height:auto;min-height:0;padding:0 12px 12px;background:#fff}
.wr-route-dialog .werun-format-route__profile svg{height:195px}
.wr-route-dialog .werun-profile-summary{padding:12px 2px 8px;gap:8px}
.wr-route-dialog .werun-profile-summary span{font-family:var(--wr-font);font-size:7px;letter-spacing:.035em}
.wr-route-dialog .werun-profile-summary strong{font-family:var(--wr-font);font-size:11px}
.wr-route-dialog .wr-route-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 38px;padding:23px 0}
.wr-route-dialog .wr-route-bottom strong{font-size:12px;font-weight:700;color:#3f5663}
.wr-route-dialog .wr-route-bottom p{font-size:11px;font-weight:400;line-height:1.6;color:#8b9aa3;margin:3px 0 0;padding:0}
.wr-route-dialog .wr-route-download-link{display:inline-flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0;border:1px solid #13aff0;border-radius:999px;background:#13aff0;color:#fff!important;padding:11px 16px;font-family:var(--wr-font);font-size:12px;font-weight:600;line-height:1.5;text-decoration:none!important;box-shadow:0 4px 10px #087fae14;text-transform:none}
.wr-route-dialog .wr-route-download-link:hover{background:#066c94}
.wr-route-dialog .wr-route-download-link span{font-size:17px;line-height:1}
.wr-route-dialog .wr-route-download-link[aria-busy=true]{opacity:.6;cursor:wait}
.wr-route-dialog .wr-route-status{margin:0 38px 16px;color:var(--wr-blue-dark);font-size:12px;font-weight:600;line-height:1.65}
.wr-route-dialog .wr-route-status[data-state="error"]{color:#a12828}
.wr-route-dialog .wr-route-status:empty{display:none}
.wr-route-dialog .wr-route-caution{font-size:11px;font-weight:400;line-height:1.7;color:#738590;border-top:1px solid #edf2f5;margin:0 38px;padding:14px 0 20px}
.wr-route-dialog .wr-route-loading{font-size:13px;color:#687e8b;padding:30px 65px 30px 38px;margin:0}
.wr-route-dialog .wr-route-fullscreen-hint{display:none}
/* Plein écran de carte dans la fenêtre : reste dans la couche modale, sans déplacer le DOM. */
dialog.wr-route-dialog.wr-route-map-fullscreen{width:100vw;height:100vh;height:100dvh;max-height:none;max-width:none;inset:0;margin:0;border:0;border-radius:0;overflow:hidden}
.wr-route-map-fullscreen .wr-route-close,.wr-route-map-fullscreen .wr-route-view>:not(.werun-format-route){display:none!important}
.wr-route-dialog.wr-route-map-fullscreen .werun-format-route{position:absolute;inset:0;margin:0;padding:0;border:0;border-radius:0;display:flex;flex-direction:column;height:100%}
.wr-route-map-fullscreen .wr-route-map-heading{display:none!important}
.wr-route-dialog.wr-route-map-fullscreen .werun-format-route__map{flex:1 1 0;height:auto;min-height:0;width:100%}
.wr-route-dialog.wr-route-map-fullscreen .werun-format-route__profile{display:flex;flex-direction:column;flex:0 0 clamp(155px,27dvh,270px);height:clamp(155px,27dvh,270px);min-height:0;padding:0 16px 8px;overflow:hidden}
.wr-route-dialog.wr-route-map-fullscreen .werun-profile-summary{flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));padding:10px 2px 6px}
.wr-route-dialog.wr-route-map-fullscreen .werun-format-route__profile svg{flex:1 1 0;height:0;min-height:0;width:100%}
.wr-route-map-fullscreen .wr-route-fullscreen-hint{display:block;position:absolute;top:12px;right:12px;z-index:900;padding:5px 10px;border:1px solid #d9e7ef;border-radius:6px;background:#ffffffed;color:#607684;font-size:10px;pointer-events:none}
.wr-route-dialog .wr-route-map-fullscreen-button:before{display:none!important}
.wr-route-dialog .wr-route-map-fullscreen-button svg{display:block;width:16px;height:16px}
@media(max-width:1080px){.wr-routes.werun-courses-explorer{width:calc(100% - 34px)}.wr-routes .wr-routes-search>span{display:none}}
@media(max-width:720px){.wr-routes.werun-courses-explorer{width:calc(100% - 22px)}}
@media(max-width:700px){.wr-routes .wr-routes-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.wr-routes .wr-routes-search,.wr-routes .wr-routes-search input{width:100%}dialog.wr-route-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border-radius:15px}.wr-route-dialog .wr-route-header{padding:25px 20px 0}.wr-route-dialog .wr-route-view h2.wr-route-title{font-size:23px;line-height:1.3;margin-bottom:18px;margin-right:12px}.wr-route-dialog .wr-route-eyebrow{margin-right:42px;flex-wrap:wrap;gap:8px}.wr-route-dialog .wr-route-metrics{gap:6px;padding-bottom:18px}.wr-route-dialog .werun-event-hero__badge{font-size:9px;min-height:28px;padding:5px 9px}.wr-route-dialog .wr-route-detail-photo{width:calc(100% - 40px);height:170px;margin-top:20px}.wr-route-dialog .wr-route-columns{grid-template-columns:1fr;gap:24px;margin:23px 20px}.wr-route-dialog .wr-route-columns:has(>.wr-route-itinerary)>.wr-route-overview{grid-column:1/-1}.wr-route-dialog .wr-route-view h3{font-size:14px}.wr-route-dialog .wr-route-description p{font-size:14px}.wr-route-dialog .werun-format-route{margin:0 14px}.wr-route-dialog .werun-format-route__map{height:300px}.wr-route-dialog .werun-format-route__profile{padding:0 7px 10px}.wr-route-dialog .werun-format-route__profile svg{height:190px}.wr-route-dialog .werun-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.wr-route-dialog .wr-route-bottom{align-items:flex-start;flex-direction:column;gap:14px;margin:0 20px;padding:20px 0}.wr-route-dialog .wr-route-download-link{width:100%}.wr-route-dialog .wr-route-caution,.wr-route-dialog .wr-route-status{margin-left:20px;margin-right:20px}.wr-route-dialog .wr-route-close{top:10px;margin-top:10px;margin-right:10px}.wr-route-map-fullscreen .wr-route-fullscreen-hint{font-size:9px;right:8px}}
@media(max-width:480px){.wr-route-dialog .wr-route-facts{grid-template-columns:minmax(0,1fr)}.wr-route-dialog .wr-route-facts>div{grid-area:auto;}}
@media(prefers-reduced-motion:reduce){.wr-routes *, .wr-route-dialog *{transition:none!important;scroll-behavior:auto!important}}

/* Suit le sélecteur de thème WeRun, y compris lors d’un changement fiche ouverte. */
html.werun-theme-dark .wr-routes,
html.werun-theme-dark .wr-route-dialog{--wr-blue-dark:var(--werun-link,#70cff4);--wr-line:var(--werun-border,rgba(91,194,235,.18));color-scheme:dark}
html.werun-theme-dark .wr-routes.werun-courses-explorer{background:transparent!important}
html.werun-theme-dark .wr-routes .wr-routes-search input{border-color:var(--werun-border);background:var(--werun-field-bg);color:var(--werun-text)}
html.werun-theme-dark .wr-routes .wr-route-card{border-color:var(--werun-border);background:var(--werun-surface);box-shadow:var(--werun-shadow)}
html.werun-theme-dark .wr-routes .wr-route-card:hover{border-color:var(--werun-border-strong);background:var(--werun-surface-soft)}
html.werun-theme-dark .wr-routes .werun-course-card__media{background:var(--werun-surface-soft);border-color:var(--wr-line)}
html.werun-theme-dark .wr-routes .werun-course-card__media:has(.werun-course-card__media-fallback){background:radial-gradient(ellipse at 85% 18%,#fbc42c12,transparent 47%),linear-gradient(145deg,#172c36,#17242b)}
html.werun-theme-dark .wr-routes .werun-course-card__media-fallback{border-color:var(--wr-line);background:var(--werun-surface-raised);color:var(--werun-link);box-shadow:none}
html.werun-theme-dark dialog.wr-route-dialog{border-color:var(--werun-border);background:var(--werun-surface,#121d23);color:var(--werun-text);box-shadow:0 30px 110px #0008;scrollbar-color:#38505d transparent}
html.werun-theme-dark dialog.wr-route-dialog::backdrop{background:rgba(3,9,13,.76)}
html.werun-theme-dark .wr-route-dialog .wr-route-header{background:linear-gradient(140deg,#19313d 0%,var(--werun-surface) 68%)}
html.werun-theme-dark .wr-route-dialog .wr-route-close{border-color:var(--wr-line);background:var(--werun-surface-raised);color:var(--werun-text-soft);box-shadow:none}
html.werun-theme-dark .wr-route-dialog .wr-route-close:hover{background:var(--werun-surface-hover);color:var(--werun-link)}
html.werun-theme-dark .wr-route-dialog .wr-route-metrics,
html.werun-theme-dark .wr-route-dialog .wr-route-facts>div,
html.werun-theme-dark .wr-route-dialog .wr-route-map-heading,
html.werun-theme-dark .wr-route-dialog .wr-route-caution{border-color:var(--wr-line)}
/* Les pills jaunes restent distinctes des pills bleues partagées. */
html.werun-theme-dark .wr-route-dialog .werun-event-hero__badge--legendary{border-color:rgba(251,196,44,.32)!important;background:rgba(251,196,44,.14)!important;color:#ffd76a!important}
html.werun-theme-dark .wr-route-dialog .wr-route-description,
html.werun-theme-dark .wr-route-dialog .wr-route-description p,
html.werun-theme-dark .wr-route-dialog .wr-route-notes p,
html.werun-theme-dark .wr-route-dialog .wr-route-stages li,
html.werun-theme-dark .wr-route-dialog .wr-route-map-heading p,
html.werun-theme-dark .wr-route-dialog .wr-route-bottom p,
html.werun-theme-dark .wr-route-dialog .wr-route-loading{color:var(--werun-text-soft)}
html.werun-theme-dark .wr-route-dialog .wr-route-facts dt,
html.werun-theme-dark .wr-route-dialog .wr-route-map-label,
html.werun-theme-dark .wr-route-dialog .wr-route-caution{color:var(--werun-text-faint)}
html.werun-theme-dark .wr-route-dialog .wr-route-facts dd,
html.werun-theme-dark .wr-route-dialog .wr-route-bottom strong{color:var(--werun-text)}
html.werun-theme-dark .wr-route-dialog .wr-route-description a{color:var(--werun-link)}
html.werun-theme-dark .wr-route-dialog .wr-route-notes-content{border-color:var(--wr-line);background:var(--werun-surface-soft)}
html.werun-theme-dark .wr-route-dialog .wr-route-stages li::before{border-color:var(--wr-line);background:var(--werun-surface-raised);color:var(--werun-link)}
html.werun-theme-dark .wr-route-dialog .wr-route-stages li::after{background:var(--wr-line)}
html.werun-theme-dark .wr-route-dialog .wr-route-status[data-state="error"]{color:#ffaaaa}
html.werun-theme-dark .wr-route-dialog .werun-profile-summary{border-color:var(--wr-line)}
html.werun-theme-dark .wr-route-dialog .werun-profile-summary span{color:var(--werun-text-soft)}
html.werun-theme-dark .wr-route-dialog .werun-profile-summary strong{color:var(--werun-text)}
html.werun-theme-dark .wr-route-dialog .werun-profile-grid{stroke:rgba(169,184,192,.14)}
html.werun-theme-dark .wr-route-dialog .werun-profile-grid--vertical{stroke:rgba(169,184,192,.08)}
html.werun-theme-dark .wr-route-dialog .werun-profile-axis{stroke:rgba(169,184,192,.3)}
html.werun-theme-dark .wr-route-dialog .werun-profile-line{stroke:#70cff4}
html.werun-theme-dark .wr-route-dialog .werun-profile-line--halo{stroke:var(--werun-surface-soft)}
html.werun-theme-dark .wr-route-dialog .werun-profile-endpoint,
html.werun-theme-dark .wr-route-dialog .werun-profile-dot{stroke:var(--werun-surface-soft)}

/* Graduations non deformees : reserve laterale uniquement en plein ecran mobile. */
@media(max-width:600px){
	.wr-route-dialog.wr-route-map-fullscreen .werun-format-route__profile{padding-left:36px}
	.wr-route-dialog.wr-route-map-fullscreen .werun-profile-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px}
}
html.werun-theme-dark .wr-route-dialog .wr-route-fullscreen-hint{border-color:var(--wr-line);background:var(--werun-surface-raised);color:var(--werun-text-soft)}
html.werun-theme-dark .wr-route-dialog .werun-map-fullscreen,
html.werun-theme-dark .wr-route-dialog .wr-route-map-fullscreen-button{background:var(--werun-surface-soft)!important;color:var(--werun-link)!important}
html.werun-theme-dark .wr-route-dialog .wr-route-map-fullscreen-button:hover{background:var(--werun-surface-hover)!important}
html.werun-theme-dark .wr-route-dialog .leaflet-control-layers label{color:var(--werun-text)}
html.werun-theme-dark .wr-route-dialog .leaflet-tooltip{border-color:var(--wr-line);background:var(--werun-surface-raised);color:var(--werun-text)}
html.werun-theme-dark .wr-route-dialog .leaflet-control-attribution{background:var(--werun-surface);color:var(--werun-text-soft)}
html.werun-theme-dark .wr-route-dialog .leaflet-control-attribution a{color:var(--werun-link)}
