/* ══════════════════════════════════════════════════════════
   CARTE DES RECOMMANDATIONS ET « MA JOURNÉE »
   Guide du voyageur (panneau de la barre, design App) et tableau de bord de l'hôte :
   les deux sont sur fond nuit, texte clair, accents beige.
   Angles nets partout, y compris sur les commandes de la carte.
   ══════════════════════════════════════════════════════════ */

html body .wgm{
    --m-texte:#FAF9F7; --m-doux:rgba(250,249,247,.7); --m-trait:rgba(215,202,175,.22);
    --m-puce:rgba(250,249,247,.08); --m-puce-survol:rgba(250,249,247,.15);
    --m-accent:#D7CAAF; --m-sur-accent:#00133B;
    --m-beige:#D7CAAF; --m-nuit:#00133B; --m-fond:#04080F; --m-alerte:#F0C078;
    font-family:'Space Grotesk',system-ui,sans-serif; color:var(--m-texte); font-size:14px; line-height:1.45;
}
html body .wgm *,html body .wgm *::before,html body .wgm *::after{box-sizing:border-box;}
html body .wgm button,html body .wgm a.wgm-btn,html body .wgm textarea,html body .wgm input{
    font-family:inherit; border-radius:0 !important; -webkit-appearance:none; appearance:none; box-shadow:none;
}
html body .wgm [hidden]{display:none !important;}

/* ── Onglets du panneau : cinq au lieu de trois ── */
html body .wg-reco-tabs.wg-reco-tabs--cinq{gap:2px;}
@media(max-width:560px){
    /* Largeur selon le libellé : « Ma journée » a besoin de plus de place que « Carte » */
    html body .wg-reco-tabs.wg-reco-tabs--cinq .wg-reco-tab{
        flex:1 1 auto !important; padding:13px 6px !important; font-size:11px !important; letter-spacing:.02em !important;
        white-space:nowrap; overflow:visible !important; text-overflow:clip !important;
    }
}
/* Carte et Ma journée : le contenu du panneau s'élargit sur grand écran (860 px sinon) */
@media(min-width:900px){
    html body .wg-vbar__panel.wg-vbar__panel--large .wg-vbar__panel-header,
    html body .wg-vbar__panel.wg-vbar__panel--large .wg-vbar__panel-body{max-width:1280px; width:100%;}
}

/* ── Messages ── */
html body .wgm .wgm-etat{margin:0; padding:32px 16px; text-align:center; font-size:15px; color:var(--m-texte);}
html body .wgm .wgm-etat span{font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-note{margin:14px 0 0; font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-lien{
    background:none !important; border:none !important; padding:0 !important; cursor:pointer;
    font-size:inherit; font-weight:700; color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
    text-decoration:underline; text-underline-offset:3px;
}

/* ── Boutons ── */
html body .wgm .wgm-btn{
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    min-height:40px; padding:0 14px; cursor:pointer; text-decoration:none !important; white-space:nowrap;
    background:var(--m-puce) !important; border:1px solid transparent !important;
    font-size:13px !important; font-weight:700 !important; letter-spacing:.02em; line-height:1 !important;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
    transition:background .15s;
}
html body .wgm .wgm-btn:hover{background:var(--m-puce-survol) !important;}
html body .wgm .wgm-btn:focus-visible,html body .wgm .wgm-filtre:focus-visible,html body .wgm .wgm-ligne:focus-visible,
html body .wgm .wgm-jour:focus-visible,html body .wgm .wgm-seg button:focus-visible{outline:2px solid var(--m-accent); outline-offset:2px;}
html body .wgm .wgm-btn--plein{
    background:var(--m-accent) !important; color:var(--m-sur-accent) !important; -webkit-text-fill-color:var(--m-sur-accent) !important;
}
html body .wgm .wgm-btn--plein:hover{background:var(--m-accent) !important; opacity:.88;}
html body .wgm .wgm-btn:disabled{opacity:.5; cursor:default;}

/* ── Filtres par catégorie ── */
html body .wgm .wgm-filtres,html body .wgm .wgm-envies{
    display:flex; gap:6px; flex-wrap:wrap; margin:0 0 14px;
}
html body .wgm .wgm-filtre{
    display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:0 12px; cursor:pointer;
    background:var(--m-puce) !important; border:1px solid transparent !important;
    font-size:13px !important; font-weight:600 !important; line-height:1 !important; white-space:nowrap;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
    transition:background .15s;
}
html body .wgm .wgm-filtre:hover{background:var(--m-puce-survol) !important;}
html body .wgm .wgm-filtre b{font-weight:500; opacity:.62;}
html body .wgm .wgm-filtre.is-actif{
    background:var(--m-accent) !important; color:var(--m-sur-accent) !important; -webkit-text-fill-color:var(--m-sur-accent) !important;
}
html body .wgm .wgm-filtre svg{flex:none;}
/* « À proximité » : hors sélection de l'hôte, en creux comme ses points sur la carte */
html body .wgm .wgm-filtre--ext{background:transparent !important; border-color:var(--m-accent) !important;}
html body .wgm .wgm-filtre--ext.is-actif{background:var(--m-accent) !important;}
@media(max-width:680px){
    /* Une seule ligne qui défile, plutôt que trois rangées de puces au-dessus de la carte */
    html body .wgm .wgm-filtres{flex-wrap:nowrap; overflow-x:auto; margin-right:-20px; padding-right:20px; scrollbar-width:none;}
    html body .wgm .wgm-filtres .wgm-filtre{flex:none;}
    html body .wgm .wgm-filtres::-webkit-scrollbar{display:none;}
}

/* ── Carte et liste ── */
html body .wgm .wgm-corps{display:grid; grid-template-columns:320px minmax(0,1fr); gap:20px; height:clamp(340px,calc(100vh - 372px),700px);}
html body .wgm .wgm-plan{position:relative; min-width:0; min-height:0; background:#00133B;}
html body .wgm .wgm-plan__carte{position:absolute; inset:0;}
html body .wgm .wgm-plan .wgm-etat{position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center;}
html body .wgm .wgm-plan.is-panne{height:auto; min-height:120px;}
html body .wgm .wgm-liste{order:-1; overflow-y:auto; min-height:0; border-top:1px solid var(--m-trait);}
html body .wgm .wgm-ligne{
    display:flex; align-items:center; gap:12px; width:100%; padding:10px 8px 10px 0; text-align:left; cursor:pointer;
    background:none !important; border:none !important; border-bottom:1px solid var(--m-trait) !important;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
}
html body .wgm .wgm-ligne:hover .wgm-ligne__picto,html body .wgm .wgm-ligne.is-actif .wgm-ligne__picto{background:#FFFFFF; color:var(--m-nuit);}
html body .wgm .wgm-ligne.is-actif .wgm-ligne__texte b{color:var(--m-beige); -webkit-text-fill-color:var(--m-beige);}
html body .wgm .wgm-ligne__picto{
    flex:none; width:32px; height:32px; display:flex; align-items:center; justify-content:center;
    background:var(--m-beige); color:var(--m-nuit); transition:background .15s,color .15s;
}
html body .wgm .wgm-ligne__texte{display:flex; flex-direction:column; gap:2px; min-width:0;}
html body .wgm .wgm-ligne__texte b{font-size:14px; font-weight:700; line-height:1.25; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
html body .wgm .wgm-ligne__texte small{font-size:13px; color:var(--m-doux); -webkit-text-fill-color:var(--m-doux);}
html body .wgm .wgm-ligne.is-ferme .wgm-ligne__picto{opacity:.5;}
html body .wgm .wgm-ligne.is-ext .wgm-ligne__picto{background:transparent; color:var(--m-beige); border:1px solid var(--m-beige);}
html body .wgm .wgm-ligne.is-ext:hover .wgm-ligne__picto,html body .wgm .wgm-ligne.is-ext.is-actif .wgm-ligne__picto{background:#FFFFFF; color:var(--m-nuit); border-color:#FFFFFF;}
@media(max-width:899px){
    html body .wgm .wgm-corps{display:flex; flex-direction:column; height:auto; min-height:0; gap:0;}
    html body .wgm .wgm-plan{height:46vh; min-height:280px; flex:none;}
    html body .wgm .wgm-liste{order:0; overflow:visible; border-top:none; margin-top:6px;}
}

/* ── Fiche d'une adresse, posée sur la carte ── */
html body .wgm .wgm-fiche{
    position:absolute; left:12px; bottom:12px; z-index:3; width:min(360px,calc(100% - 24px));
    display:flex; background:var(--m-fond); color:var(--m-texte);
    border:1px solid rgba(215,202,175,.45); box-shadow:0 10px 32px rgba(0,0,0,.55);
}
html body .wgm .wgm-fiche__img{width:96px; flex:none; object-fit:cover; display:block;}
html body .wgm .wgm-fiche__corps{position:relative; flex:1; min-width:0; padding:12px 14px 14px; display:flex; flex-direction:column; gap:4px;}
html body .wgm .wgm-fiche__fermer{
    position:absolute; top:0; right:0; width:38px; height:38px; cursor:pointer; padding:0;
    background:none !important; border:none !important; font-size:13px; line-height:1;
    color:var(--m-beige) !important; -webkit-text-fill-color:var(--m-beige) !important;
}
html body .wgm .wgm-fiche__cat{font-size:11.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--m-beige); padding-right:30px;}
html body .wgm .wgm-fiche__nom{font-size:17px; font-weight:700; line-height:1.2; color:#FFFFFF; padding-right:24px;}
html body .wgm .wgm-fiche__ferme{font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-fiche__ferme.is-auj{color:var(--m-alerte); font-weight:700;}
html body .wgm .wgm-fiche__ext{font-size:12.5px; color:var(--m-doux);}
html body .wgm .wgm-fiche__note{margin:4px 0 0; font-size:13.5px; line-height:1.45; color:rgba(250,249,247,.85); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}
html body .wgm .wgm-fiche__actions{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
html body .wgm .wgm-fiche .wgm-btn{min-height:38px; padding:0 12px;}
html body .wgm .wgm-creneaux{display:flex; flex-wrap:wrap; gap:6px; flex-basis:100%;}
@media(max-width:480px){
    /* Sur téléphone la fiche ne doit pas masquer la carte : sans photo, texte sur deux lignes */
    html body .wgm .wgm-fiche__img{display:none;}
    html body .wgm .wgm-fiche__note{-webkit-line-clamp:2;}
    html body .wgm .wgm-fiche{left:8px; bottom:8px; width:calc(100% - 16px);}
}
html body .wgm .wgm-creneaux .wgm-btn{border-color:var(--m-beige) !important;}

/* ── Repères posés sur la carte ── */
html body .wgm .wgm-logement{width:30px; height:30px; transform-origin:center;}
html body .wgm .wgm-logement span{
    display:flex; align-items:center; justify-content:center; width:30px; height:30px;
    background:#00133B; border:2px solid #D7CAAF; color:#D7CAAF; transform:rotate(45deg);
}
html body .wgm .wgm-logement svg{transform:rotate(-45deg);}
html body .wgm .wgm-etape-repere{
    width:32px; height:32px; padding:0; cursor:pointer; display:flex; align-items:center; justify-content:center;
    background:#FFFFFF !important; border:2px solid #00133B !important;
    font-size:14px !important; font-weight:700 !important; line-height:1 !important;
    color:#00133B !important; -webkit-text-fill-color:#00133B !important;
}
html body .wgm .wgm-repere-mobile{
    width:40px; height:40px; display:flex; align-items:center; justify-content:center; cursor:grab;
    background:#FFFFFF; border:3px solid #D7CAAF; color:#00133B; box-shadow:0 6px 18px rgba(0,0,0,.45);
}

/* ── Commandes de la carte : angles nets ── */
html body .wgm .maplibregl-ctrl-group,html body .wgm .maplibregl-ctrl-group button,
html body .wgm .maplibregl-ctrl-attrib,html body .wgm .maplibregl-ctrl-attrib-button,
html body .wgm .maplibregl-ctrl-attrib.maplibregl-compact{border-radius:0 !important;}
html body .wgm .maplibregl-ctrl-group{box-shadow:0 2px 10px rgba(0,0,0,.3) !important;}
html body .wgm .maplibregl-ctrl-group button{width:34px; height:34px; background-color:#FFFFFF !important;}
html body .wgm .maplibregl-ctrl-attrib{font:11px/1.4 'Space Grotesk',system-ui,sans-serif; color:#00133B;}
html body .wgm .maplibregl-ctrl-attrib a{color:#00133B; -webkit-text-fill-color:#00133B;}
html body .wgm .maplibregl-canvas:focus-visible{outline:2px solid #D7CAAF; outline-offset:-2px;}

/* ══════════════════════════════════════════════════════════
   MA JOURNÉE
   ══════════════════════════════════════════════════════════ */
html body .wgm .wgm-j{display:grid; grid-template-columns:minmax(0,480px) minmax(0,1fr); gap:24px; align-items:start;}
html body .wgm .wgm-j__colonne{min-width:0;}
html body .wgm .wgm-plan--journee{position:sticky; top:0; height:clamp(340px,calc(100vh - 300px),700px);}
@media(max-width:899px){
    html body .wgm .wgm-j{display:flex; flex-direction:column; gap:16px; align-items:stretch;}
    html body .wgm .wgm-plan--journee{position:relative; height:300px; min-height:0;}
}

html body .wgm .wgm-jours{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:2px; margin-bottom:10px;}
html body .wgm .wgm-jour{
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:72px; padding:8px 2px; cursor:pointer;
    background:var(--m-puce) !important; border:none !important;
    font-size:12px !important; font-weight:600 !important; line-height:1.1 !important; white-space:nowrap;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
}
html body .wgm .wgm-jour b{font-size:17px; font-weight:700; line-height:1; font-variant-numeric:tabular-nums;}
html body .wgm .wgm-jour:hover{background:var(--m-puce-survol) !important;}
html body .wgm .wgm-jour.is-actif{background:var(--m-accent) !important; color:var(--m-sur-accent) !important; -webkit-text-fill-color:var(--m-sur-accent) !important;}
html body .wgm .wgm-jour span{letter-spacing:.04em; text-transform:uppercase; opacity:.8;}

html body .wgm .wgm-rangee{display:flex; align-items:stretch; gap:10px; margin-bottom:10px; flex-wrap:wrap;}
html body .wgm .wgm-seg{display:grid; grid-template-columns:1fr 1fr; gap:2px; flex:1 1 200px;}
html body .wgm .wgm-seg button{
    min-height:42px; padding:0 10px; cursor:pointer; background:var(--m-puce) !important; border:none !important;
    font-size:13px !important; font-weight:700 !important; line-height:1 !important;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
}
html body .wgm .wgm-seg button.is-actif{background:var(--m-accent) !important; color:var(--m-sur-accent) !important; -webkit-text-fill-color:var(--m-sur-accent) !important;}
html body .wgm .wgm-coche{
    display:flex; align-items:center; gap:10px; min-height:42px; padding:0 14px; cursor:pointer; flex:1 1 160px;
    background:var(--m-puce); font-size:13px; font-weight:700; color:var(--m-texte) !important;
}
html body .wgm .wgm-coche input{
    width:16px; height:16px; margin:0; flex:none; cursor:pointer; display:grid; place-content:center;
    background:transparent !important; border:1.5px solid var(--m-accent) !important;
}
html body .wgm .wgm-coche input::before{content:''; width:8px; height:8px; background:var(--m-accent); transform:scale(0); transition:transform .12s;}
html body .wgm .wgm-coche input:checked::before{transform:scale(1);}

html body .wgm .wgm-titre{display:block; margin:0 0 8px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--m-beige) !important;}
html body .wgm .wgm-gaspard{margin:4px 0 0; padding:14px; background:var(--m-puce); display:grid; gap:8px;}
html body .wgm .wgm-gaspard .wgm-titre{margin:0;}
html body .wgm .wgm-gaspard textarea{
    display:block; width:100%; min-height:56px; padding:10px 12px; margin:0; resize:vertical;
    background:#0B1120 !important; border:1px solid rgba(215,202,175,.3) !important;
    font-size:16px !important; line-height:1.4 !important; color:#FAF9F7 !important; -webkit-text-fill-color:#FAF9F7 !important;
}
html body .wgm .wgm-gaspard textarea::placeholder{color:rgba(250,249,247,.6) !important; -webkit-text-fill-color:rgba(250,249,247,.6) !important; opacity:1;}
html body .wgm .wgm-gaspard textarea:focus{outline:2px solid var(--m-accent); outline-offset:0;}
html body .wgm .wgm-gaspard .wgm-btn{min-height:44px; background:var(--m-accent) !important; color:var(--m-sur-accent) !important; -webkit-text-fill-color:var(--m-sur-accent) !important;}

html body .wgm .wgm-resultat{margin-top:18px; transition:opacity .15s;}
html body .wgm .wgm-resultat.is-attente{opacity:.45; pointer-events:none;}
html body .wgm .wgm-recherche{margin:12px 0 0; font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-entete{display:flex; align-items:center; justify-content:space-between; gap:10px 14px; flex-wrap:wrap; margin:0 0 12px;}
html body .wgm .wgm-entete .wgm-btn{min-height:36px; padding:0 12px; border-color:var(--m-accent) !important; background:transparent !important;}
html body .wgm .wgm-entete .wgm-btn:hover{background:var(--m-puce-survol) !important;}
html body .wgm .wgm-meteo{display:flex; align-items:flex-start; gap:8px; margin:0; flex:1 1 220px; font-size:14px; color:var(--m-texte);}
html body .wgm .wgm-meteo svg{flex:none; margin-top:2px;}
html body .wgm .wgm-mot{margin:0 0 12px; padding:10px 12px; background:var(--m-puce); font-size:14px; color:var(--m-texte);}
html body .wgm .wgm-mot--gaspard{border-left:3px solid var(--m-beige);}

html body .wgm .wgm-etapes{list-style:none !important; margin:0 !important; padding:0 !important; border-top:1px solid var(--m-trait);}
html body .wgm .wgm-etape{
    display:grid; grid-template-columns:56px minmax(0,1fr); gap:14px; margin:0 !important; padding:16px 0 !important;
    border-bottom:1px solid var(--m-trait); list-style:none !important; transition:background .3s;
}
html body .wgm .wgm-etape::before,html body .wgm .wgm-etape::marker{content:none !important;}
html body .wgm .wgm-etape.is-vue{background:var(--m-puce);}
html body .wgm .wgm-etape__heure{display:flex; flex-direction:column; align-items:flex-start; gap:8px;}
html body .wgm .wgm-etape__heure b{font-size:16px; font-weight:700; line-height:1.2; font-variant-numeric:tabular-nums;}
html body .wgm .wgm-etape__creneau{font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--m-beige); line-height:1.2;}
html body .wgm .wgm-etape__ciel{display:block; font-size:13px; line-height:1.4; color:var(--m-doux);}
html body .wgm .wgm-etape__ciel svg{display:inline-block; vertical-align:-3px; margin-right:5px;}
html body .wgm .wgm-etape__tete{display:flex; align-items:flex-start; gap:10px;}
html body .wgm .wgm-etape__tete > div{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px;}
html body .wgm .wgm-etape__num{
    flex:none; width:24px; height:24px; display:flex; align-items:center; justify-content:center;
    background:var(--m-accent); color:var(--m-sur-accent); font-size:13px; font-weight:700; line-height:1;
}
html body .wgm .wgm-etape__nom{
    padding:0 !important; text-align:left; cursor:pointer; background:none !important; border:none !important;
    font-size:16px !important; font-weight:700 !important; line-height:1.25 !important; white-space:normal;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important;
}
html body .wgm button.wgm-etape__nom:hover{text-decoration:underline; text-underline-offset:3px;}
html body .wgm strong.wgm-etape__nom{display:block; cursor:default;}
html body .wgm .wgm-etape__ext{display:block; font-size:12.5px; line-height:1.4; color:var(--m-doux);}
html body .wgm .wgm-etape.is-ext .wgm-etape__num{background:transparent; color:var(--m-accent); border:1px solid var(--m-accent);}
html body .wgm .wgm-etape__cat{display:block; font-size:13px; line-height:1.4; color:var(--m-doux);}
html body .wgm .wgm-etape__cat svg{display:inline-block; vertical-align:-2px; margin-right:5px;}
html body .wgm .wgm-etape__img{flex:none; width:56px; height:56px; object-fit:cover; display:block;}
html body .wgm .wgm-etape__raison{margin:8px 0 0; font-size:14px; color:var(--m-texte);}
html body .wgm .wgm-etape__trajet,html body .wgm .wgm-etape__ferme{margin:4px 0 0; font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-etape__alerte{margin:6px 0 0; font-size:13px; font-weight:600; color:var(--m-alerte);}
html body .wgm .wgm-etape__actions{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
html body .wgm .wgm-etape__actions .wgm-btn{min-height:36px; padding:0 11px;}
/* D'autres choix pour le même créneau : trois lignes pleine largeur, pour que les noms se lisent en entier */
html body .wgm .wgm-ou{margin-top:12px; padding-top:10px; border-top:1px dashed var(--m-trait);}
html body .wgm .wgm-ou__tete{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px;}
html body .wgm .wgm-ou__titre{font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--m-doux);}
html body .wgm .wgm-ou .wgm-lien{font-size:12.5px; font-weight:600; color:var(--m-beige) !important; -webkit-text-fill-color:var(--m-beige) !important;}
html body .wgm .wgm-ou__liste{display:grid; grid-template-columns:minmax(0,1fr); gap:2px;}
html body .wgm .wgm-ou__choix{
    display:flex; align-items:center; gap:10px; min-width:0; min-height:44px; padding:6px 10px; text-align:left; cursor:pointer;
    background:var(--m-puce) !important; border:1px solid transparent !important;
    color:var(--m-texte) !important; -webkit-text-fill-color:var(--m-texte) !important; transition:background .15s;
}
html body .wgm .wgm-ou__choix:hover{background:var(--m-puce-survol) !important;}
html body .wgm .wgm-ou__choix:focus-visible{outline:2px solid var(--m-accent); outline-offset:2px;}
html body .wgm .wgm-ou__picto{flex:none; width:24px; height:24px; display:flex; align-items:center; justify-content:center; background:var(--m-beige); color:var(--m-nuit);}
html body .wgm .wgm-ou__choix.is-ext .wgm-ou__picto{background:transparent; color:var(--m-beige); border:1px solid var(--m-beige);}
html body .wgm .wgm-ou__texte{display:flex; flex-direction:column; gap:1px; min-width:0;}
html body .wgm .wgm-ou__texte b{font-size:13px; font-weight:700; line-height:1.2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
html body .wgm .wgm-ou__texte small{font-size:11.5px; line-height:1.25; color:var(--m-doux); -webkit-text-fill-color:var(--m-doux); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
@media(max-width:480px){
    html body .wgm .wgm-etape{grid-template-columns:50px minmax(0,1fr); gap:12px;}
    html body .wgm .wgm-etape__img{width:48px; height:48px;}
}
html body .wgm .wgm-pied{display:flex; flex-wrap:wrap; gap:6px; margin-top:14px;}
html body .wgm .wgm-pied .wgm-btn{min-height:44px; flex:1 1 180px;}
html body .wgm .wgm-notes{list-style:none !important; margin:14px 0 0 !important; padding:0 !important;}
html body .wgm .wgm-notes li{margin:0 0 4px !important; padding:0 !important; font-size:12.5px; color:var(--m-doux); list-style:none !important;}
html body .wgm .wgm-notes li::before{content:none !important;}

/* ══════════════════════════════════════════════════════════
   TABLEAU DE BORD DE L'HÔTE
   ══════════════════════════════════════════════════════════ */
html body .wgm.wgm-hote{margin:0 0 18px;}
html body .wgm .wgm-hote__tete{display:flex; align-items:center; justify-content:space-between; gap:12px 16px; flex-wrap:wrap;}
html body .wgm .wgm-hote__tete .wgm-seg{flex:0 0 220px;}
html body .wgm .wgm-hote__nb{font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-hote__plan{margin-top:14px;}
html body .wgm .wgm-hote__voir{display:inline-flex; flex:none; margin:0 0 10px;}
/* Lieux à proximité : réglages de l'hôte */
html body .wgm .wgm-hote__alentours{margin-top:14px; padding:14px 16px; border:1px solid var(--m-trait);}
html body .wgm .wgm-hote__alentours-tete{display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap;}
html body .wgm .wgm-hote__alentours-tete .wgm-titre{margin:0; flex:1 1 150px;}
html body .wgm .wgm-hote__alentours-tete .wgm-seg{flex:0 0 220px;}
html body .wgm .wgm-hote__alentours-tables{margin-top:6px;}
html body .wgm .wgm-hote__alentours-tete .wgm-seg--trois{flex:0 0 min(100%,420px); grid-template-columns:repeat(3,minmax(0,1fr));}
html body .wgm .wgm-seg button:disabled{opacity:.4; cursor:default;}
html body .wgm .wgm-hote__alentours-texte{margin:10px 0 0; font-size:13px; line-height:1.5; color:var(--m-doux); max-width:78ch;}
html body .wgm .wgm-hote__alentours-etat{color:var(--m-beige); font-weight:600;}
html body .wgm .wgm-hote__plan .wgm-plan{height:min(640px,70vh); min-height:360px; border:1px solid var(--m-trait);}
html body .wgm .wgm-hote__sans{margin-top:14px; padding:16px; border:1px solid var(--m-trait);}
html body .wgm .wgm-hote__sans-tete{display:flex; align-items:center; justify-content:space-between; gap:10px 16px; flex-wrap:wrap;}
html body .wgm .wgm-hote__sans-titre{font-size:15px; font-weight:700; color:var(--m-texte);}
html body .wgm .wgm-hote__bilan{margin:8px 0 0; font-size:13px; color:var(--m-doux);}
html body .wgm .wgm-hote__bilan:empty{display:none;}
html body .wgm .wgm-hote__sans-liste{list-style:none !important; margin:12px 0 0 !important; padding:0 !important; border-top:1px solid var(--m-trait);}
html body .wgm .wgm-hote__sans-liste li{
    display:flex; align-items:center; justify-content:space-between; gap:8px 14px; flex-wrap:wrap;
    margin:0 !important; padding:10px 0 !important; border-bottom:1px solid var(--m-trait); font-size:13.5px; color:var(--m-doux); list-style:none !important;
}
html body .wgm .wgm-hote__sans-liste li::before{content:none !important;}
html body .wgm .wgm-hote__sans-liste b{color:var(--m-texte); font-weight:700;}
html body .wgm .wgm-hote__deplacement{
    position:absolute; left:12px; right:12px; bottom:12px; z-index:4; padding:12px 14px;
    display:flex; align-items:center; justify-content:space-between; gap:10px 14px; flex-wrap:wrap;
    background:var(--m-fond); border:1px solid rgba(215,202,175,.45); box-shadow:0 10px 32px rgba(0,0,0,.55);
}
html body .wgm .wgm-hote__deplacement span{font-size:14px; font-weight:600; color:var(--m-texte); flex:1 1 220px;}
html body .wgm .wgm-hote__deplacement div{display:flex; gap:6px;}

/* Jours de fermeture et cadre, sur chaque carte de la liste : repliés, enregistrés dès le clic */
html body details.wgm.wgm-pratique{margin-top:10px; font-size:13px;}
html body details.wgm.wgm-pratique > summary{
    display:inline-flex; align-items:center; gap:8px; cursor:pointer; list-style:none; padding:6px 8px 6px 0;
    font-size:13px; font-weight:600; color:var(--m-beige);
}
html body details.wgm.wgm-pratique > summary::-webkit-details-marker{display:none;}
html body details.wgm.wgm-pratique > summary::before{content:'+'; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border:1px solid var(--m-beige); font-size:13px; line-height:1; font-weight:700;}
html body details.wgm.wgm-pratique[open] > summary::before{content:'−';}
html body details.wgm.wgm-pratique > summary:focus-visible{outline:2px solid var(--m-accent); outline-offset:2px;}
html body .wgm .wgm-pratique__ligne{display:flex; align-items:center; gap:6px 10px; flex-wrap:wrap; margin-top:10px;}
html body .wgm .wgm-pratique__nom{flex:0 0 100%; font-size:11.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--m-doux);}
html body .wgm .wgm-pratique__choix{display:flex; gap:2px; flex-wrap:wrap;}
html body .wgm .wgm-pratique__choix label{position:relative; cursor:pointer; margin:0; padding:0;}
html body .wgm .wgm-pratique__choix input{position:absolute; opacity:0; pointer-events:none; width:1px; height:1px; margin:0;}
html body .wgm .wgm-pratique__choix span{
    display:flex; align-items:center; justify-content:center; min-width:34px; height:34px; padding:0 9px;
    background:var(--m-puce); font-size:12.5px; font-weight:700; color:var(--m-texte); transition:background .15s;
}
html body .wgm .wgm-pratique__choix input:checked + span{background:var(--m-accent); color:var(--m-sur-accent);}
html body .wgm .wgm-pratique__choix input:focus-visible + span{outline:2px solid var(--m-accent); outline-offset:2px;}
html body .wgv__reco.is-vue{outline:2px solid #D7CAAF; outline-offset:2px;}
/* La liste a un affichage en grille : sans cette règle, l'attribut « hidden » posé par la bascule Carte resterait sans effet */
html body .wgv__recos[hidden]{display:none !important;}

