/* Fairway : mise en page facon applis de navigation (09/11/2026). Telephone d'abord : carte plein ecran,
   recherche flottante en haut, panneau du bas a tirer. Grand ecran (>= 900 px) : colonne a gauche, carte a droite. */
:root{--prim:#1a66d9;--prim-f:#1252b4;--txt:#1f2933;--txt2:#52606d;--ligne:#e3e7ed;--doux:#f2f4f7;--ombre:0 1px 3px rgba(16,24,40,.10),0 6px 20px rgba(16,24,40,.12);--rayon:18px;--haut-carte:0px;--bas-carte:0px;--panneau-l:0px}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font:16px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--txt);background:#e8edf1;overflow:hidden;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}
button,input,select{font:inherit;color:inherit}
[hidden]{display:none!important}
.sr-seul{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid var(--prim);outline-offset:2px}
svg{flex:none}

/* ---------- carte ---------- */
#map{position:fixed;top:0;right:0;bottom:0;left:var(--panneau-l);z-index:0;background:#e8edf1}
.leaflet-container{font:inherit;background:#e8edf1}
.leaflet-tile-pane{filter:saturate(.7) brightness(1.03) contrast(.97)}
.leaflet-bottom{bottom:var(--bas-carte)}
.leaflet-control-zoom{display:none}
.leaflet-control-attribution{font-size:10px;line-height:1.5;background:#ffffffd9!important;border-radius:8px 0 0 0;padding:0 6px!important}
.bouton-carte{position:fixed;right:12px;z-index:950;width:48px;height:48px;border:0;border-radius:50%;background:#fff;color:var(--prim);box-shadow:var(--ombre);display:grid;place-items:center;cursor:pointer;transition:opacity .2s,transform .2s}
.bouton-carte:active{transform:scale(.94)}
#btn-pos{bottom:calc(var(--bas-carte) + 28px)}
#btn-vue{bottom:calc(var(--bas-carte) + 86px)}
body[data-feuille=haut] .bouton-carte{opacity:0;pointer-events:none}
/* bulles de duree sur les trajets */
.bulle-trajet{background:none;border:0}
.bulle{position:absolute;left:0;top:0;transform:translate(-50%,calc(-100% - 9px));display:flex;flex-direction:column;align-items:center;padding:5px 10px 6px;border-radius:12px;background:#fff;color:var(--c);box-shadow:0 1px 4px rgba(0,0,0,.25),0 0 0 2px var(--c) inset;font-size:13px;line-height:1.15;white-space:nowrap;cursor:pointer}
.bulle b{font-size:14px;font-weight:800}.bulle span{font-size:11.5px;font-weight:600;color:var(--txt2)}
.bulle::after{content:"";position:absolute;left:50%;bottom:-7px;margin-left:-7px;border:7px solid transparent;border-bottom:0;border-top-color:#fff;filter:drop-shadow(0 2px 1px rgba(0,0,0,.15))}
.bulle-trajet.sel .bulle{background:var(--c);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.bulle-trajet.sel .bulle span{color:#ffffffde}.bulle-trajet.sel .bulle::after{border-top-color:var(--c)}
.repere-arrivee{background:none;border:0}
.repere-arrivee i{position:absolute;left:3px;top:0;width:24px;height:24px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d93025;border:3px solid #fff;box-shadow:-1px 1px 4px rgba(0,0,0,.35)}
.repere-arrivee i::after{content:"";position:absolute;left:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#fff}

/* ---------- recherche flottante ---------- */
#recherche{position:fixed;top:0;left:0;right:0;z-index:1000;padding:calc(env(safe-area-inset-top) + 10px) 10px 0;pointer-events:none}
#recherche>*{pointer-events:auto}
.boite{background:#fff;border-radius:var(--rayon);box-shadow:var(--ombre)}
#f{padding:12px;max-height:calc(100dvh - 150px);overflow-y:auto}
.marque{display:flex;align-items:center;gap:9px;margin:0 2px 10px}
.logo{width:30px;height:30px}
.marque h1{margin:0;font-size:1.2rem;font-weight:800;letter-spacing:-.02em}
.marque p{margin:0;flex:1;min-width:0;font-size:.8rem;line-height:1.25;color:var(--txt2)}
.itin{display:flex;align-items:stretch;gap:8px}
.reperes{flex:none;width:14px;display:flex;flex-direction:column;align-items:center;padding:17px 0 15px}
.reperes .ra{width:12px;height:12px;border-radius:50%;border:3px solid #1f2933;background:#fff;flex:none}
.reperes .rp{flex:1;border-left:2px dotted #9aa5b1;margin:4px 0}
.reperes .rb{width:13px;height:13px;flex:none;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#d93025}
.champs{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.champ{position:relative}
input[type=text]{width:100%;height:46px;padding:0 13px;border:1.5px solid transparent;border-radius:12px;background:var(--doux);font-size:16px;outline:none;transition:background .15s,border-color .15s}
input[type=text]:focus{background:#fff;border-color:var(--prim);box-shadow:0 0 0 4px #1a66d91f}
input::placeholder{color:#7b8794}
.ligne{display:flex;gap:6px}.ligne input{flex:1;min-width:0}
#pos{flex:none;width:46px;height:46px;border:0;border-radius:12px;background:var(--doux);color:var(--prim);display:grid;place-items:center;cursor:pointer}
#inverser{flex:none;align-self:center;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--txt2);display:grid;place-items:center;cursor:pointer}
#inverser:hover,#pos:hover{background:#e6ebf1}
#inverser.tourne svg{animation:tourne .35s ease}
@keyframes tourne{from{transform:rotate(180deg)}to{transform:none}}
.sug{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:1100;list-style:none;margin:0;padding:6px 0;background:#fff;border-radius:14px;box-shadow:0 4px 24px rgba(16,24,40,.22);max-height:min(330px,52vh);overflow:auto}
.sug:empty{display:none}
.sug li{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:50px;cursor:pointer;font-size:.95rem;line-height:1.25}
.sug li::before{content:"";flex:none;width:32px;height:32px;border-radius:50%;background:#eef1f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z' fill='%2352606d'/%3E%3C/svg%3E") center/17px no-repeat}
.sug li.recent::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='none' stroke='%2352606d' stroke-width='2'/%3E%3Cpath d='M12 7.5V12l3 2' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")}
.sug li:hover,.sug li:focus{background:#f0f5fd;outline:none}
.options{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;margin:10px 0 0 22px}
.puce{display:inline-flex;align-items:center;gap:7px;min-height:38px;margin:0;padding:0 13px;border:1px solid var(--ligne);border-radius:99px;background:#fff;font-size:.88rem;font-weight:600;color:var(--txt);cursor:pointer;white-space:nowrap}
.puce svg{color:var(--txt2)}
.puce select{border:0;background:transparent;padding:0;margin:0;width:auto;font-size:.88rem;font-weight:600;appearance:none;-webkit-appearance:none;cursor:pointer;outline:none}
#veh{flex:0 1 auto;min-width:0}
#veh>summary{list-style:none;user-select:none}#veh>summary::-webkit-details-marker{display:none}
#veh.rempli>summary{border-color:#b9d0f5;background:#eef4fe}
#veh-resume{overflow:hidden;text-overflow:ellipsis;max-width:62vw}
.chevron{width:7px;height:7px;border-right:2px solid var(--txt2);border-bottom:2px solid var(--txt2);transform:rotate(45deg);margin:-3px 0 0 2px}
#veh[open]{flex-basis:100%}#veh[open] .chevron{transform:rotate(-135deg);margin-top:3px}
.veh-corps{margin-top:8px;padding:4px 12px 12px;border-radius:14px;background:var(--doux)}
.veh-corps label{display:block;font-weight:600;font-size:.88rem;margin:10px 0 4px}
.veh-corps select,.veh-corps input{width:100%;height:46px;padding:0 12px;border:1px solid #d3d9e1;border-radius:10px;background:#fff;font-size:16px}
.veh-corps input:focus{border-color:var(--prim)}
#go{position:relative;width:100%;height:50px;margin-top:12px;border:0;border-radius:14px;background:var(--prim);color:#fff;font-size:1.05rem;font-weight:700;cursor:pointer;box-shadow:0 2px 8px #1a66d955;overflow:hidden;transition:background .15s}
#go:hover{background:var(--prim-f)}#go:active{transform:scale(.99)}
#go:disabled{background:#7fa6e3;cursor:default}
#go.calcul::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:40%;background:#fff;animation:barre 1.1s ease-in-out infinite}
@keyframes barre{from{transform:translateX(-100%)}to{transform:translateX(260%)}}
#resume{display:flex;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 8px 8px 12px;border:0;text-align:left;cursor:pointer}
#resume .logo{width:28px;height:28px}
.resume-txt{flex:1;min-width:0;display:flex;align-items:center;gap:6px;font-weight:700;font-size:.95rem}
.resume-txt>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.resume-txt>span:first-child{flex:0 1 auto;max-width:48%}.resume-txt i{font-style:normal;color:var(--txt2);flex:none}
.resume-edit{flex:none;padding:8px 12px;border-radius:99px;background:var(--doux);color:var(--prim);font-weight:700;font-size:.85rem}
body.mode-res #f{display:none}

/* ---------- panneau du bas ---------- */
#feuille{position:fixed;left:0;right:0;bottom:0;z-index:900;height:118px;display:flex;flex-direction:column;background:#fff;border-radius:22px 22px 0 0;box-shadow:0 -1px 3px rgba(16,24,40,.08),0 -6px 24px rgba(16,24,40,.14);transition:height .3s cubic-bezier(.2,.8,.2,1);padding-bottom:env(safe-area-inset-bottom)}
#feuille.sans-anim{transition:none}
#feuille.calcul::before{content:"";position:absolute;top:0;left:22px;right:22px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,var(--prim),transparent);background-size:50% 100%;background-repeat:no-repeat;animation:balaye 1.1s linear infinite}
@keyframes balaye{from{background-position:-50% 0}to{background-position:150% 0}}
#poignee{flex:none;height:24px;display:grid;place-items:center;cursor:grab;touch-action:none}
#poignee span{width:42px;height:5px;border-radius:3px;background:#cfd6de}
#feuille-tete{flex:none;padding:0 18px 10px;touch-action:none;cursor:grab;user-select:none}
#feuille-tete h2{margin:0;font-size:1.12rem;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#feuille-tete p{margin:2px 0 0;font-size:.86rem;color:var(--txt2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#feuille-corps{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:2px 12px 24px;border-top:1px solid #f0f2f5}
#msg{margin:8px 2px;font-weight:600;font-size:.92rem}#msg:empty{display:none}
#msg.err{color:#b00020;background:#fdecee;border:1px solid #f6c4cb;border-radius:12px;padding:10px 12px}
.note{font-size:.84rem;color:var(--txt2);margin:6px 0 0;line-height:1.4}
.squelette{height:150px;margin:10px 0;border-radius:16px;background:linear-gradient(90deg,#eef1f5 25%,#f8f9fb 50%,#eef1f5 75%);background-size:200% 100%;animation:sq 1.2s linear infinite}
.squelette+.squelette{height:120px;opacity:.8}.squelette+.squelette+.squelette{opacity:.6}
@keyframes sq{from{background-position:200% 0}to{background-position:-200% 0}}
/* accueil */
#recents h3{margin:12px 4px 6px;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--txt2)}
#recents-liste{list-style:none;margin:0 0 6px;padding:0}
.recent-btn{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;padding:8px 10px 8px 52px;border:0;border-bottom:1px solid #f0f2f5;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='none' stroke='%2352606d' stroke-width='2'/%3E%3Cpath d='M12 7.5V12l3 2' fill='none' stroke='%2352606d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 14px center/20px no-repeat;text-align:left;font-weight:600;font-size:.93rem;cursor:pointer}
.recent-btn:hover{background-color:#f5f8fc}.recent-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.recent-btn i{font-style:normal;color:var(--txt2)}
.atouts{list-style:none;margin:8px 0;padding:0}
.atouts li{position:relative;padding:12px 6px 12px 56px;border-bottom:1px solid #f0f2f5}
.atouts li::before{content:"";position:absolute;left:6px;top:12px;width:38px;height:38px;border-radius:12px;background:#eaf1fd center/22px no-repeat}
.atouts b{display:block;font-size:.98rem}.atouts span{display:block;font-size:.86rem;color:var(--txt2);line-height:1.35;margin-top:1px}
.atouts .at-trajets::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 20C5 11 19 13 19 4M5 20c9 0 14-6 14-16' fill='none' stroke='%231a66d9' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.atouts .at-peage::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20V8l8-4 8 4v12M8 20v-6h8v6M4 11h16' fill='none' stroke='%231a66d9' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.atouts .at-energie::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 5 14h6l-1 8 8-12h-6z' fill='none' stroke='%231a66d9' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
.atouts .at-poi::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7z' fill='none' stroke='%231a66d9' stroke-width='2'/%3E%3Ccircle cx='12' cy='9' r='2.5' fill='%231a66d9'/%3E%3C/svg%3E")}
footer{padding:14px 4px 4px;font-size:.74rem;line-height:1.45;color:#7b8794}footer p{margin:0}
footer.pied{padding:14px 4px 6px;font-size:.78rem;line-height:1.45;color:var(--txt2)}footer.pied p,footer.pied ul{margin:0}
.pied-t{margin-bottom:8px!important}
.puces{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:5px;margin:0 0 8px!important}
.puces li{padding:2px 9px;border-radius:999px;font-size:.72rem;font-weight:600;background:var(--doux);color:var(--txt2);border:1px solid var(--ligne)}
.puces.pays li{background:#e8f0fd;color:#143f87;border-color:#c9dbf8}
.puces.ok li{background:#e6f4ea;color:#1e6b34;border-color:#bfe0c8}
.puces.est li{background:#fff3e0;color:#8a4b00;border-color:#f3d6a6}
footer.pied details{border-top:1px solid var(--ligne)}
footer.pied summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:40px;font-weight:600;color:var(--txt);-webkit-tap-highlight-color:transparent}
footer.pied summary::-webkit-details-marker{display:none}
footer.pied summary::before{content:"\25B8";display:inline-block;width:1em;font-size:1.25em;line-height:1;color:var(--prim);transition:transform .15s}
footer.pied details[open]>summary::before{transform:rotate(90deg)}
footer.pied summary:focus-visible{outline:2px solid var(--prim);outline-offset:2px;border-radius:6px}
footer.pied details>*:not(summary){margin-left:1.4em!important;margin-bottom:8px!important}
footer.pied .liste{padding-left:1.1em}footer.pied .liste li{margin:0 0 4px}
.pied .sous{font-weight:600;color:var(--txt);margin-top:4px!important;margin-bottom:5px!important}
.pied .note{font-size:.72rem;color:var(--txt2)}
@media (prefers-reduced-motion:reduce){footer.pied summary::before{transition:none}}


/* ---------- cartes de trajets ---------- */
.carte{background:#fff;border:1px solid var(--ligne);border-radius:16px;padding:12px 14px;margin:10px 0}
#cartes .carte{position:relative;cursor:pointer;transition:border-color .15s,box-shadow .15s}
#cartes .carte:hover{border-color:#cbd5e1}
#cartes .carte.sel{border-color:var(--c);box-shadow:0 0 0 1.5px var(--c),0 6px 18px rgba(16,24,40,.10)}
.carte h2{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:0 0 8px;font-size:1.02rem;font-weight:700}
.carte h2 .nom{flex:1 1 auto;min-width:0}
.pastille-trajet{flex:none;width:12px;height:12px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px #fff,0 0 0 4.5px var(--c)}
.badge{font-size:.72rem;font-weight:700;letter-spacing:.01em;background:#e6f4ea;color:#137333;border-radius:99px;padding:3px 9px;white-space:nowrap}
.badge.mixte{background:#f3e8fd;color:#7627bb}.badge.ref{background:#eef1f4;color:#3c4752}
.grille{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:4px 0 10px}
.grille div>span:first-child{display:block;font-size:.78rem;color:var(--txt2);font-weight:600}
.grille div b{display:block;font-size:1.08rem;font-weight:700;margin:1px 0 3px}
.grille .g-duree b{font-size:1.32rem;color:var(--c);font-weight:800}
.grille .g-duree b{white-space:nowrap}
.grille .g-duree b .comp{font-size:.78rem;font-weight:400;opacity:.75;white-space:nowrap}
.grille .g-duree b .seul{display:block;font-size:.78rem;font-weight:500;color:var(--texte-doux,inherit);opacity:.75;white-space:nowrap}
.total{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding-top:10px;border-top:1px dashed var(--ligne);font-size:1.12rem;font-weight:800}
.total .ecart{font-size:.84rem}
.gares{margin:10px 0 0;font-size:.88rem}.gares summary{cursor:pointer;color:var(--prim);font-weight:600;padding:4px 0}
.gares ul{margin:4px 0 0;padding-left:18px;color:#3a4856}.gares li{margin:2px 0}
#cartes .carte:not(.sel) .gares,#cartes .carte:not(.sel) .ouvrir{display:none}
.voir{display:inline-block;margin-top:8px;font-size:.86rem;font-weight:700;color:var(--prim)}
.ouvrir{margin-top:12px}
.ouvrir-titre{display:block;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--txt2)}
.liens{display:flex;gap:8px;margin:6px 0 4px}
.lien{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:14px;background:var(--doux);color:var(--txt);font-weight:700;font-size:.82rem;text-decoration:none;text-align:center;white-space:nowrap}
.lien::before{content:"";width:36px;height:36px;border-radius:50%;background:#1a73e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 3 10.5l7.5 3 3 7.5z' fill='%23fff'/%3E%3C/svg%3E") center/18px no-repeat}
.lien:nth-child(2)::before{background-color:#1f2933}
.lien:hover{background:#e6ebf1}.lien:active{transform:scale(.97)}
.ecart{display:inline-block;font-size:.78rem;font-weight:700;line-height:1.2;padding:2px 8px;border-radius:99px;white-space:nowrap}
.ecart-fl{font-style:normal;font-size:.7em}
.ecart.mieux{background:#e3f4e8;color:#0f5c26}.ecart.pire{background:#fdeceb;color:#a3261a}.ecart.nul{background:#eef1f4;color:#4a5560;font-weight:600}
/* pastilles des metriques adoucies (11/11/2026) : plus de fond, fleche de couleur, texte gris ; la pastille pleine reste sur le total */
.grille .ecart.mieux,.grille .ecart.pire,.grille .ecart.nul{background:none;color:var(--txt2);font-weight:600;padding:2px 0}
.grille .ecart .ecart-fl{font-size:.85em}.grille .ecart.mieux .ecart-fl{color:#188038}.grille .ecart.pire .ecart-fl{color:#c5221f}
/* barre double temps perdu / economie (11/11/2026) */
.jauge{margin:2px 0 12px;padding:8px 10px 6px;border-radius:12px;background:#f8fafc}
.jauge-ligne{display:flex;align-items:center;gap:8px}
.jauge-v{flex:none;width:62px;display:flex;flex-direction:column;line-height:1.1}
.jauge-v b{font-size:.95rem;font-weight:800;white-space:nowrap}.jauge-v small{font-size:.68rem;font-weight:600;color:var(--txt2)}
.jauge-v.temps{align-items:flex-end;text-align:right}.jauge-v.temps b{color:#b3261e}
.jauge-v.eco b{color:#137333}.jauge-v.eco.neg b{color:#b3261e}
.jauge-piste{position:relative;flex:1;min-width:60px;display:flex;height:12px}
.jauge-moitie{flex:1;display:flex;background:#e6eaef}
.jauge-moitie.gauche{justify-content:flex-end;border-radius:99px 0 0 99px}.jauge-moitie.droite{border-radius:0 99px 99px 0}
.jauge-temps,.jauge-eco{display:block;height:100%}
.jauge-temps{background:#e8776b;border-radius:99px 0 0 99px}
.jauge-eco{background:#34a853;border-radius:0 99px 99px 0}.jauge-eco.neg{background:#e8776b}
.jauge-piste::after{content:"";position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;margin-left:-1px;border-radius:1px;background:#52606d}
.jauge-phrase{margin:5px 0 0;text-align:center;font-size:.82rem;color:var(--txt2)}.jauge-phrase b{color:var(--txt);font-size:.92rem}
.ecarts-aide{margin:8px 2px 2px;font-size:.8rem;line-height:2;color:var(--txt2)}.ecarts-aide .ecart{font-size:.74rem}
.ecarts-ref{margin:4px 0 0}
.grille .petite{display:block;font-size:.72rem;color:var(--txt2);margin-top:2px;line-height:1.3}
.meteo-ligne{margin:4px 2px 10px;font-size:.84rem;color:var(--txt2)}

/* ---------- grand ecran : colonne a gauche ---------- */
@media (min-width:900px){
 :root{--panneau-l:440px}
 #panneau{position:fixed;top:0;left:0;bottom:0;width:440px;z-index:900;overflow-y:auto;background:#f6f7f9;box-shadow:2px 0 12px rgba(16,24,40,.12)}
 #recherche{position:static;padding:14px 14px 0}
 #f{max-height:none;overflow:visible}
 body.mode-res #f{display:block}#resume{display:none!important}
 #feuille{position:static;height:auto!important;background:transparent;box-shadow:none;border-radius:0;padding:0}
 #feuille.calcul::before{top:auto;position:relative;display:block;margin:0 22px}
 #poignee{display:none}#feuille-tete{padding:16px 18px 4px;cursor:default}
 #feuille-corps{overflow:visible;border:0;padding:0 14px 24px}
 .leaflet-control-zoom{display:block}
 #btn-pos{bottom:100px;right:10px}#btn-vue{bottom:156px;right:10px}
 .bouton-carte{width:44px;height:44px}
 #veh-resume{max-width:260px}
}
@media (prefers-reduced-motion:reduce){#feuille,#go,.bouton-carte{transition:none}.squelette,#feuille.calcul::before,#go.calcul::after{animation:none}}

/* couches "sur le trajet", fiches, etapes (UX refondue 01/11/2026) */
[hidden]{display:none!important}
.sr-seul{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
button{font-family:inherit}
:focus-visible{outline:3px solid var(--prim);outline-offset:2px}
.poi-tete{display:flex;align-items:center;gap:8px}.poi-tete h2{flex:1;margin:0;font-size:1.15rem}
.poi-aidebtn{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--prim);background:#fff;color:var(--prim);font-weight:800;font-size:1.1rem;cursor:pointer}
.poi-replier{min-height:40px;padding:0 12px;border:1px solid #b9c3cd;background:#fff;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer}
.poi-sous{margin:6px 0 0;font-size:.92rem;color:#3a4856}
.poi-resume{margin:8px 0 4px;font-weight:600;color:#1b2430}.poi-resume.err{color:#b00020}
.poi-corps{margin-top:6px}
.poi-guide{background:#eaf1fd;border-left:4px solid var(--prim);border-radius:8px;padding:12px;margin:10px 0}
.poi-guide-titre{display:block;margin-bottom:6px}
.poi-guide-liste{list-style:none;counter-reset:g;margin:0;padding:0}
.poi-guide-liste li{counter-increment:g;position:relative;padding:4px 0 8px 34px;font-size:.93rem}
.poi-guide-liste li::before{content:counter(g);position:absolute;left:0;top:3px;width:24px;height:24px;border-radius:50%;background:var(--prim);color:#fff;font-weight:700;text-align:center;line-height:24px;font-size:.85rem}
#poi-guide-ok{min-height:44px;padding:0 20px;border:0;border-radius:8px;background:var(--prim);color:#fff;font-weight:700;cursor:pointer}
.poi-trajet{margin:12px 0 4px}.poi-trajet-lib{display:block;font-weight:600;margin-bottom:6px}
.poi-chips{display:flex;flex-wrap:wrap;gap:8px}
.poi-chip{min-height:44px;padding:6px 14px;border:2px solid #b9c3cd;border-radius:99px;background:#fff;font-weight:600;font-size:.92rem;display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#1b2430}
.poi-chip.sel{border-color:var(--prim);background:#eaf1fd}
.poi-pt{display:inline-block;width:12px;height:12px;border-radius:50%;flex:none}
.poi-case{display:flex;align-items:flex-start;gap:10px;font-weight:500;margin:8px 0 2px;min-height:32px;cursor:pointer;font-size:.92rem}
.poi-case input{width:22px;height:22px;flex:none;margin:0}
ul.poi-couches{list-style:none;margin:10px 0 0;padding:0;font-size:inherit}
.poi-couche{border-top:1px solid #e3e8ee;padding:4px 0 8px}
.poi-ligne{display:flex;align-items:center;gap:10px;margin:0;padding:6px 0;min-height:56px;font-weight:500;cursor:pointer}
.poi-inter{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:48px;height:28px;margin:0;border-radius:14px;background:#b9c3cd;cursor:pointer;transition:background .15s}
.poi-inter::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}
.poi-inter:checked{background:var(--prim)}.poi-inter:checked::after{transform:translateX(20px)}
.poi-texte{flex:1;min-width:0}.poi-texte b{display:block;font-size:1rem}.poi-texte small{display:block;color:#566;font-size:.8rem;line-height:1.3;margin-top:1px}
.poi-compte{flex:none;min-width:30px;padding:3px 9px;border-radius:99px;background:#0b3d5c;color:#fff;font-weight:700;font-size:.85rem;text-align:center}.poi-compte.zero{background:#e3e8ee;color:#566}
.poi-reglage,.poi-options,.poi-etat{margin:2px 0 4px 12px;padding-left:12px;border-left:3px solid #d5dde5}
.poi-reglage{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:2px;padding-bottom:2px}.poi-reglage label,.poi-options>label:first-child{margin:0;font-size:.88rem;font-weight:600}
.poi-reglage select{width:auto;min-width:96px;padding:8px 10px}
.poi-options select{margin-top:2px}.poi-options{padding-top:2px}
.poi-msg-couche{margin:6px 0;font-size:.88rem;line-height:1.4}.poi-msg-couche.attente{color:#566;animation:poi-pouls 1.2s ease-in-out infinite}
.poi-msg-couche.err{color:#b00020;font-weight:600}
.poi-msg-couche.vide{background:#fff6e0;border:1px solid #f0c36d;border-radius:8px;padding:8px 10px;color:#5a3d00}
.poi-msg-couche.autres{color:#3a4856}
.poi-aux{min-height:44px;margin:2px 0 6px;padding:8px 14px;border:1.5px solid var(--prim);border-radius:8px;background:#fff;color:var(--prim);font-weight:700;font-size:.9rem;cursor:pointer}
.poi-prixlegende{margin:6px 0 2px;font-size:.82rem}.poi-lg{display:inline-flex;align-items:center;gap:6px;margin:3px 14px 3px 0}
i.poi-prix.pt{display:inline-block;width:16px;height:12px;border-radius:3px;padding:0}.etoile{font-style:normal;color:#b8860b;font-weight:700}
.poi-legende{margin:12px 0 4px}ul.poi-legende-liste{list-style:none;margin:6px 0 0;padding:0;font-size:inherit}
.poi-legende-liste li{display:flex;align-items:center;gap:10px;margin:6px 0;font-size:.85rem}
.poi-legende-liste .poi{flex:none;position:static}.poi-legende-liste .poi-cluster{width:30px;height:30px;font-size:12px}
.poi-radar-lg{background:#fff;color:#b00020;border:2px dashed #b00020;box-shadow:none}
.poi{display:flex;align-items:center;justify-content:center;font:700 13px/1 system-ui,-apple-system,sans-serif;color:#fff;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px #0006}
.poi.pastille{width:30px;height:30px;flex:none}
.poi-etape{background:#0b3d5c;font-size:14px;width:30px;height:30px}
/* une FORME et une COULEUR par categorie : le conteneur (.poi-f) est transparent, le dessin est dans .f */
.poi.poi-f{background:transparent;border:0;box-shadow:none;border-radius:0}
.poi-f .f{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:2px solid #fff;box-shadow:0 1px 4px #0007;color:#fff;font:700 13px/1 system-ui,-apple-system,sans-serif}
.poi-f .f b{font:inherit;pointer-events:none;white-space:nowrap}
.poi-tesla .f,.poi-c-tesla .f{background:#1565c0;border-radius:8px}                       /* carre arrondi bleu */
.poi-mcdo .f,.poi-c-mcdo .f{background:#ffbc0d;color:#7a0000;border-radius:50%;font-size:15px}   /* rond jaune */
.poi-bk .f,.poi-c-bk .f{background:#a8400a;border-radius:4px;width:70%;height:70%;transform:rotate(45deg);font-size:10px}   /* losange brun */
.poi-bk .f b,.poi-c-bk .f b{transform:rotate(-45deg);display:block}
.poi-radar .f,.poi-c-radar .f{background:#fff;color:#b00020;border:3px dashed #b00020;border-radius:50%;font-size:16px;box-shadow:0 0 0 2px #fff}   /* anneau rouge pointille */
.poi-prix .f,.poi-carb .f,.poi-c-carb .f{border-radius:14px;padding:0 6px;font-size:12px}   /* pastille de prix */
.poi-prix.bon .f,.poi-carb .f,.poi-c-carb .f{background:#1a7f37}.poi-prix.moyen .f{background:#c26a00}.poi-prix.cher .f{background:#5b6672}
.poi-c-mixte .f{background:#0b3d5c;border-radius:50%}
.poi-cluster .f{font-size:15px;font-weight:800;border-width:3px}
.poi-petit.poi-f .f{border-width:1.5px;box-shadow:0 0 2px #0008}
.poi-petit.poi-prix .f{border-radius:4px;padding:0}
.poi.pastille.mini{width:24px;height:24px}.poi.pastille.mini.poi-prix{width:30px;height:18px}.poi.pastille.mini .f{font-size:10px;border-width:1.5px}
.poi.pastille.poi-prix{width:36px;height:26px}
.poi-ailleurs{opacity:.55}.poi-ailleurs .f{border-style:dashed}
.poi-f.poi-actif{box-shadow:none!important}.poi-f.poi-actif .f{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--prim)}
.poi-f.poi-choisi{outline:0}.poi-f.poi-choisi .f{box-shadow:0 0 0 3px #fff,0 0 0 6px #0b3d5c}
/* legende sur la carte */
.poi-lgcarte{position:absolute;top:calc(var(--haut-carte) + 10px);left:10px;max-width:min(150px,44%);background:#fffffff2;border:1px solid #b9c3cd;border-radius:10px;box-shadow:0 1px 6px #0004;font-size:.74rem;line-height:1.2;padding:0 6px 3px}
.poi-lgcarte .poi.pastille.mini{width:20px;height:20px}.poi-lgcarte .poi.pastille.mini.poi-prix{width:26px;height:16px}.poi-lgcarte .poi-lg-liste li{gap:6px;margin:1px 0;min-height:22px}
.poi-f .f b.c-n{display:flex;align-items:center;justify-content:center;width:64%;height:64%;border-radius:50%;background:#fff;color:#0b3d5c;font-size:13px;font-weight:800}
.poi-c-mixte .f{border-width:2px}
.poi-lg-tete{display:block;width:100%;min-height:36px;padding:0;border:0;background:transparent;font-weight:700;font-size:.85rem;color:#0b3d5c;text-align:left;cursor:pointer}
.poi-lg-liste{list-style:none;margin:0;padding:0;font-size:inherit}.poi-lg-liste li{display:flex;align-items:center;gap:8px;margin:3px 0;min-height:26px}
.poi-lg-liste .poi{position:static;flex:none}.poi-lg-nom{flex:1;min-width:0}.poi-lg-n{flex:none;min-width:22px;text-align:right}
.poi-lg-note{display:none;margin:4px 0 0;font-size:.74rem;color:#566}
@media (min-width:720px){.poi-lgcarte{max-width:230px;font-size:.82rem}.poi-lg-note{display:block}}
.avis{margin:8px 0;padding:8px 10px;border-radius:8px;background:#fff6e0;border:1px solid #f0c36d;color:#5a3d00;font-size:.88rem;line-height:1.4}
.avis-doux{background:#eef3f8;border-color:#c6d3df;color:#2f3d4a}
.poi-choisi{outline:3px solid #0b3d5c;outline-offset:2px}
.poi-actif{box-shadow:0 0 0 4px #fff,0 0 0 8px var(--prim)!important;z-index:900!important}
.leaflet-marker-icon:focus-visible{outline:3px solid var(--prim);outline-offset:3px}
.leaflet-container a.leaflet-popup-close-button{width:40px;height:40px;font-size:26px;line-height:40px}
.leaflet-popup-content{margin:14px 18px 14px 16px;min-width:210px}
.poi-popup{font-size:.92rem;line-height:1.35}
.pp-tete{display:flex;align-items:center;gap:10px;margin:0 22px 8px 0}.pp-titre b{display:block;font-size:1rem;line-height:1.25}.pp-sous{display:block;font-size:.8rem;color:#566}
.pp-ligne{display:flex;gap:7px;margin:4px 0;font-size:.88rem}.pp-ic{flex:none;width:1.4em;text-align:center}
.pp-prix{font-weight:700;font-size:.95rem}.pp-lieu{color:#3a4856}
.pp-autre{background:#fff6e0;border:1px solid #f0c36d;border-radius:8px;padding:8px 10px;margin:8px 0;font-size:.85rem;color:#5a3d00}.pp-autre b{display:block}
.pp-detour{background:#f0f4f8;border-radius:8px;padding:8px 10px;margin:8px 0;font-size:.85rem}
.pp-exact{margin:4px 0}.pp-petit{font-size:.78rem;color:#566}
.poi-voir{display:block}.poi-exact,.poi-voir{margin-top:6px;min-height:40px;padding:6px 12px;border:1.5px solid var(--prim);border-radius:8px;background:#fff;color:var(--prim);font-weight:700;font-size:.88rem;cursor:pointer}
.poi-ajout,.poi-raz{display:block;width:100%;min-height:46px;margin-top:6px;padding:10px 12px;font-size:1rem;font-weight:700;border:0;border-radius:8px;background:var(--prim);color:#fff;cursor:pointer}
.poi-ajout:disabled{background:#8aa;cursor:default}.poi-ajout.poi-retire{background:#fff;color:#b00020;border:1.5px solid #b00020}
.poi-raz{background:#fff;color:#b00020;border:1px solid #b00020;margin-top:12px;font-size:.95rem}
.poi-surcouche{position:absolute;inset:0;pointer-events:none;z-index:800}.poi-surcouche>*{pointer-events:auto}
.poi-astuce{position:absolute;left:8px;right:70px;bottom:calc(var(--bas-carte) + 28px);margin:0 auto;max-width:380px;display:flex;align-items:center;gap:6px;background:#0b3d5ceb;color:#fff;border-radius:12px;padding:6px 6px 6px 12px;font-size:.85rem;line-height:1.3;box-shadow:0 2px 8px #0005}
.poi-astuce span{flex:1}.poi-astuce button{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:#ffffff26;color:#fff;font-size:1.3rem;cursor:pointer}
.poi-pill{position:absolute;top:calc(var(--haut-carte) + 10px);right:10px;min-height:44px;padding:0 14px;border:0;border-radius:99px;background:#0b3d5c;color:#fff;font-weight:700;font-size:.88rem;box-shadow:0 2px 8px #0006;cursor:pointer}
.poi-fiche-ouverte .poi-pill{display:none}
.poi-toast{position:absolute;bottom:calc(var(--bas-carte) + 96px);left:8px;right:70px;max-width:420px;padding:8px 12px;border-radius:10px;background:#1b2430ee;color:#fff;font-size:.85rem;line-height:1.3;box-shadow:0 2px 8px #0006}
.poi-panneau{padding:12px 14px;cursor:default;border-left-color:#0b3d5c}.etapes{border-left-color:#0b3d5c}
.etapes h2{margin:0 0 6px;font-size:1.1rem}.etapes .compteur{font-weight:500;color:#566;font-size:.9rem}
.etapes-vide{margin:4px 0 0;color:#3a4856;font-size:.92rem}
.etapes-liste{list-style:none;margin:6px 0;padding:0}.etapes-liste li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #eef1f4}
.poi-retrait{width:44px;height:44px;font-size:1.4rem;border:1px solid #b9c3cd;border-radius:8px;background:#fff;color:#b00020;flex:none;cursor:pointer}
.detour{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;background:#eaf1fd;border-radius:8px;padding:10px 12px;margin:8px 0 4px}
.detour-lib{font-weight:700;color:#3a4856;text-transform:uppercase;font-size:.75rem;letter-spacing:.05em}.detour b{font-size:1.15rem}
.note.err{color:#b00020}.etapes{cursor:default}
.poi-savoir{margin:6px 0}.poi-savoir summary{font-weight:500;font-size:.88rem;color:var(--prim)}
@keyframes poi-pouls{50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.poi-msg-couche.attente{animation:none}.poi-inter,.poi-inter::after{transition:none}}


#retour{flex:none;margin-left:auto;padding:8px 12px;border:0;border-radius:99px;background:var(--doux);color:var(--prim);font-weight:700;font-size:.85rem;cursor:pointer}
@media (min-width:900px){#retour{display:none!important}}
.poi-fiche-ouverte .poi-lgcarte{display:none}
/* Bouton « Installer » et aide d'installation sur l'ecran d'accueil (10/11/2026) */
#installer{flex:none;margin-left:auto;align-items:center;gap:5px;padding:7px 12px;border:0;border-radius:99px;background:var(--prim);color:#fff;font-weight:700;font-size:.82rem;cursor:pointer}
#installer:not([hidden]){display:inline-flex}
#installer:hover{background:var(--prim-f)}
#installer + #retour{margin-left:6px}
#langue{flex:none;margin-left:auto;padding:6px 10px;border:1px solid var(--doux,#d6e2f5);border-radius:99px;background:#fff;color:var(--prim);font-weight:700;font-size:.78rem;cursor:pointer}
#langue:not([hidden]){display:inline-flex}
#langue:hover{background:var(--doux)}
#langue ~ #installer,#langue ~ #retour{margin-left:6px}
#aide-installer{border:0;border-radius:var(--rayon);padding:20px 20px 16px;width:min(92vw,380px);box-shadow:var(--ombre);color:var(--txt)}
#aide-installer::backdrop{background:rgba(16,24,40,.45)}
#aide-installer h2{margin:0 0 10px;font-size:1.05rem}
#aide-installer ol{margin:0 0 14px;padding-left:1.3em;line-height:1.45}
#aide-installer li{margin:.45em 0}
#aide-installer .ico-partage{vertical-align:-4px;color:var(--prim)}
#aide-installer .fermer{width:100%;padding:11px;border:0;border-radius:12px;background:var(--prim);color:#fff;font-weight:700;font-size:.95rem;cursor:pointer}

/* choisir sur la carte (12/11/2026) */
.sug li.sur-carte{color:#1a66d9;font-weight:600}
.sug li.sur-carte::before{display:none}
.bandeau-carte{position:fixed;left:12px;right:12px;margin:0 auto;width:fit-content;max-width:calc(100vw - 24px);bottom:calc(var(--bas-carte,150px) + 16px);z-index:2500;display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:14px;background:#1b2430;color:#fff;font-size:.9rem;line-height:1.3;box-shadow:0 4px 18px #0006}
@media (min-width:900px){.bandeau-carte{bottom:auto;top:16px;left:calc(var(--col-gauche,380px) + 24px);right:auto;margin:0}}
.bandeau-carte button{flex:none;border:0;border-radius:10px;padding:8px 12px;background:#ffffff26;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.popup-choix .leaflet-popup-content{margin:12px 14px;min-width:170px}
.choix-nom{font-size:.88rem;line-height:1.3;margin:0 18px 10px 0;color:#1b2430;word-break:break-word}
.choix-btn{display:block;width:100%;margin:6px 0 0;padding:11px 12px;border:0;border-radius:10px;font:inherit;font-weight:700;color:#fff;cursor:pointer;min-height:44px}
.choix-btn.depart{background:#188038}.choix-btn.arrivee{background:#d93025}
.choix-btn:disabled{opacity:.6}
.epingle-nom{background:#1b2430;color:#fff;border:0;border-radius:8px;font-weight:700;box-shadow:none}
.epingle-nom:before{display:none}

/* ce qui change (12/11/2026) */
.change{margin:10px 0 2px;font-size:.86rem;line-height:1.35;color:var(--txt,#1f2933)}
.change[open]{padding:6px 12px 10px;border-radius:12px;background:#f5f7fa}
.change-titre{display:list-item;cursor:pointer;padding:4px 0;font-size:.88rem;font-weight:600;color:var(--prim)}
.change[open]>.change-titre{margin-bottom:2px;color:var(--txt2,#52606d)}
.grille .info-btn{-webkit-appearance:none;appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;min-width:0;margin:0 0 2px 6px;padding:0;border:1.5px solid var(--prim);border-radius:50%;background:#fff;color:var(--prim);font:italic 700 .7rem/1 Georgia,serif;cursor:pointer;vertical-align:middle}
.grille .info-btn::after{content:'';position:absolute;inset:-12px}
.grille .info-btn[aria-expanded=true]{background:var(--prim);color:#fff}
.grille .info-bulle{grid-column:1/-1;margin:-2px 0 0;padding:6px 10px 7px;border-radius:10px;background:#f5f7fa;font-size:.76rem;font-weight:400;line-height:1.35;color:var(--txt2)}
.grille .info-bulle .info-titre{display:block;margin:0 0 1px;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--txt2)}
.grille .info-bulle p{margin:2px 0;font-size:.76rem;font-weight:400}
.change ul{margin:4px 0;padding-left:18px}.change li{margin:3px 0}.change p{margin:4px 0 0}
.change-reste{color:var(--txt2,#52606d)}
.veh-corps .btn-lien{margin-top:6px;padding:6px 0;border:0;background:none;color:var(--prim);font-weight:600;font-size:.88rem;text-decoration:underline;cursor:pointer}
.veh-corps .btn-lien[hidden]{display:none}
.puce input[type=datetime-local]{border:0;background:transparent;padding:0;margin:0;width:auto;font-size:.88rem;font-weight:600;outline:none;cursor:pointer}
/* liens juridiques en bas du pied (20/11/2026) */
footer.pied .pied-legal{margin-top:6px!important;padding-top:8px;border-top:1px solid var(--ligne);font-size:.72rem;color:var(--txt2)}
footer.pied .pied-legal a{color:var(--txt2);text-decoration:none;display:inline-block;padding:6px 0}
footer.pied .pied-legal a:hover{text-decoration:underline}
\n
/* ---- mission 2 (20/11/2026) : bornes de recharge suggerees sur le trajet ---- */
.bloc-bornes{margin-top:8px}
.courbe-env{width:100%;max-width:280px;margin:4px 0 6px}
.courbe-batterie{width:100%;height:auto;display:block}
.courbe-trait{fill:none;stroke:var(--c,#1f7a3d);stroke-width:2.2}
.courbe-seuil{stroke:#c0392b;stroke-width:1;stroke-dasharray:3 2;opacity:.55}
.courbe-point{fill:#fff;stroke:var(--c,#1f7a3d);stroke-width:2}
.liste-arrets{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.arret-item{display:flex;align-items:flex-start;gap:8px;padding:4px 0;border-top:1px solid var(--bord,#e3e7ec)}
.arret-item:first-child{border-top:0}
.arret-item.arret-impose{background:#fff6e5;border-radius:8px;padding:4px 6px}
.arret-badge-impose{display:inline-block;font-size:.72rem;font-weight:600;color:#8a5a00;background:#ffe3a8;border-radius:5px;padding:1px 6px;margin-top:2px}
.arret-annuler-impose{margin-top:2px;padding:2px 7px;border:1px solid var(--bord,#e3e7ec);border-radius:7px;background:#fff;font-size:.76rem;cursor:pointer}
.arret-annuler-impose:hover{background:#f3f5f7}
.arret-num{flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:#0b3d5c;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:1px}
.arret-corps{display:flex;flex-direction:column;gap:1px;min-width:0}
.arret-nom{font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.arret-detail{font-size:.82rem;color:var(--txt2)}
.bornes-inconnues{font-size:.85rem;color:var(--txt2);font-style:italic;margin-top:6px}
.bornes-marker{background:#0b3d5c;color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px #0007;display:flex;align-items:center;justify-content:center;font:700 13px/1 system-ui,-apple-system,sans-serif}
.bornes-popup{font-size:.92rem;line-height:1.35;max-width:260px}
.bornes-popup-titre{margin:0 0 2px;font-size:1rem}
.bornes-popup-op{margin:0 0 2px;color:var(--txt2);font-size:.85rem}
.bornes-popup-adresse{margin:0 0 4px;font-size:.85rem}
.bornes-popup-detail{margin:0 0 4px;font-size:.85rem}
.bornes-btn-exclure{display:block;width:100%;margin:6px 0 2px;padding:6px 8px;border:1px solid var(--bord,#e3e7ec);border-radius:8px;background:#fff;font-size:.85rem;cursor:pointer}
.bornes-btn-exclure:hover{background:#f3f5f7}
.vois-titre{margin:8px 0 2px;font-size:.82rem;color:var(--txt2)}
.vois-liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}
.vois-item{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--bord,#e3e7ec);padding-top:4px}
.vois-nom{font-size:.85rem;font-weight:600}
.vois-detail{font-size:.78rem;color:var(--txt2)}
.vois-choisir{align-self:flex-start;margin-top:2px;padding:3px 7px;border:1px solid var(--bord,#e3e7ec);border-radius:7px;background:#fff;font-size:.78rem;cursor:pointer}
.vois-choisir:hover{background:#f3f5f7}
label.case{display:flex;align-items:center;gap:6px;font-weight:400}
label.case input[type=checkbox]{width:auto;margin:0}

/* ---- 21/11/2026 : garage (plusieurs voitures), trajets favoris, transfert sans compte (mission 3) ---- */
.garage-titre { margin-bottom: 4px; }
.garage-liste { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.garage-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c7cdd6; border-radius: 999px; background: #fff; padding: 5px 10px; font-size: 13px; cursor: pointer; }
.garage-chip.sel { border-color: #1a66d9; background: #eaf1fd; color: #1a66d9; font-weight: 600; }
.garage-chip-renom, .garage-chip-suppr { font-style: normal; opacity: 0.6; padding: 0 2px; }
.garage-chip-renom:hover, .garage-chip-suppr:hover { opacity: 1; }
#favoris { margin-top: 10px; }
#favoris-liste { list-style: none; margin: 0; padding: 0; }
#favoris-liste li { display: flex; align-items: center; gap: 6px; margin: 4px 0; }
.favori-lien { flex: 1; text-align: left; background: none; border: none; padding: 6px 0; cursor: pointer; color: #1a66d9; font-size: 14px; }
.favori-suppr { background: none; border: none; opacity: 0.6; cursor: pointer; font-size: 16px; }
.favori-suppr:hover { opacity: 1; }
.actions-garage { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.transfert-boite { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2000; background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 16px; width: min(92vw, 420px); }
.transfert-boite textarea { width: 100%; box-sizing: border-box; font-size: 12px; margin: 8px 0; }
.transfert-actions { display: flex; gap: 10px; justify-content: flex-end; }


/* ---------- telephone : panneau de recherche compact (21/11/2026, cadrage mobile-compact-20261121) ---------- */
.menu-corps{display:none;flex-direction:column;gap:6px}
.marque.menu-ouvert .menu-corps{display:flex}
#options-puce{width:100%;min-height:40px;margin-top:8px;padding:0 14px;border:1px solid var(--ligne);border-radius:99px;background:#fff;font-weight:600;font-size:.88rem;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
#options-feuille{position:fixed;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:1100;max-height:70vh;overflow-y:auto;background:#fff;border-radius:18px;box-shadow:var(--ombre);padding:14px}
#options-feuille-corps .options{margin:0 0 10px}
#options-feuille-corps .actions-garage{margin:0 0 10px}
.options-ok{width:100%;height:44px;border-radius:12px;background:var(--prim);color:#fff;font-weight:700;border:0;cursor:pointer}
#pin-ecran{position:fixed;inset:0;z-index:1150}
.pin-centre{position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-26px 0 0 -13px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#1a66d9;border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.pin-centre::after{content:"";position:absolute;left:7px;top:7px;width:8px;height:8px;border-radius:50%;background:#fff}
.pin-barre{position:fixed;left:10px;right:10px;bottom:calc(env(safe-area-inset-bottom) + 10px);z-index:1160;background:#fff;border-radius:16px;box-shadow:var(--ombre);padding:12px 14px}
#pin-nom{margin:0 0 8px;font-weight:700;font-size:.95rem;min-height:1.2em}
.pin-actions{display:flex;gap:8px}
.pin-actions button{flex:1;height:44px;border-radius:12px;border:0;font-weight:700;cursor:pointer}
#pin-valider{background:var(--prim);color:#fff}
#pin-annuler{background:var(--doux);color:var(--txt)}
@media (max-width:899.98px){
 .marque p{display:none}
 .logo{width:26px;height:26px}
 .marque h1{font-size:1.05rem}
 .marque{position:relative}
 #menu-ouvrir{flex:none;width:32px;height:32px;border:0;border-radius:50%;background:var(--doux);color:var(--txt2);font-size:1.15rem;font-weight:800;display:grid;place-items:center;cursor:pointer}
 .menu-corps{position:absolute;right:0;top:100%;margin-top:6px;z-index:1200;padding:8px;background:#fff;border-radius:14px;box-shadow:var(--ombre);min-width:150px}
 .menu-corps #langue,.menu-corps #installer{width:100%;margin-left:0!important;min-height:40px;border:0;background:var(--doux);border-radius:10px;padding:0 10px;display:flex!important;align-items:center;gap:8px;justify-content:flex-start}
 .menu-corps #installer{color:var(--prim)}
 .champs input[type=text]{height:40px;padding-right:42px}
 .ligne{position:relative}
 #pos{position:absolute;right:3px;top:3px;width:34px;height:34px;background:transparent}
 #resume{min-height:0;height:44px;padding:6px 10px}
 .resume-txt{font-size:.92rem}
}
@media (min-width:900px){
 #menu-ouvrir,#options-puce,#options-feuille,#pin-ecran{display:none!important}
 .menu-corps{display:flex!important;position:static;padding:0;box-shadow:none;min-width:0}
}

/* ---------- telephone : resserrement supplementaire (21/11/2026) pour tenir sous 30% de la hauteur en mode saisie ---------- */
@media (max-width:899.98px){
 #recherche{padding-top:calc(env(safe-area-inset-top) + 8px)}
 #f{padding:8px}
 .marque{margin-bottom:6px}
 .champs input[type=text]{height:34px}
 #options-puce{min-height:30px;margin-top:6px}
 #go{height:38px;margin-top:8px}
}

@media (max-width:899.98px){
 #f{padding:6px 8px}
 .champs input[type=text]{height:32px}
 #go{height:36px;margin-top:6px}
}

/* Mode Electrique/Thermique + carburants (24/11/2026, cadrage vehicule-mode-20261123) */
[data-mode="therm"] .seul-elec{display:none!important}
[data-mode="elec"] .seul-therm{display:none!important}
.mode-sel{display:flex;gap:8px;margin:0 0 10px}
.mode-btn{flex:1;padding:8px 10px;border:1px solid #d7dce2;border-radius:10px;background:#fff;font:inherit;cursor:pointer;color:#445}
.mode-btn[aria-pressed="true"]{background:#1a66d9;color:#fff;border-color:#1a66d9}
.carburant-encart{margin-top:10px;padding:10px;border-radius:10px;background:#f4f7fb}
.carburant-encart h4{margin:0 0 4px;font-size:.95em}
.carburant-encart .carb-prix{font-weight:700}
.carburant-encart .carb-voir{margin-top:6px;background:none;border:none;color:#1a66d9;cursor:pointer;font:inherit;padding:0;text-decoration:underline}
.carburant-encart ul{margin:6px 0 0;padding-left:18px}
.carburant-hors-france{margin-top:10px;color:#667;font-size:.92em}


/* 24/11/2026 (demande d'Ory) : la ou les stations les moins cheres = couleur a part (rose, avec etoile) ;
   pastilles groupees de carburant = prix le plus bas du groupe, meme code couleur. */
.poi-prix.meilleur .f{background:#d4148c}
.poi-c-carb .f{font-size:13px}.poi-c-carb.moyen .f{background:#c26a00}.poi-c-carb.cher .f{background:#5b6672}.poi-c-carb.meilleur .f{background:#d4148c}
i.poi-prix.pt.bon{background:#1a7f37}i.poi-prix.pt.moyen{background:#c26a00}i.poi-prix.pt.cher{background:#5b6672}i.poi-prix.pt.meilleur{background:#d4148c}
.poi-legende-liste .poi-c-carb{width:46px;height:26px;font-size:12px}

/* 24/11/2026 (Ory) : la moins chere est doree, toujours visible (jamais regroupee, jamais reduite) */
.poi-prix.meilleur .f,.poi-c-carb.meilleur .f,i.poi-prix.pt.meilleur{background:#e0a800}
.poi-prix.meilleur .f{color:#2b1d00;border:2px solid #fff;box-shadow:0 0 0 2px #b07d00,0 2px 8px #0009;font-weight:800}
/* 25/11/2026 (Ory) : case « Superchargeurs Tesla uniquement » sortie du menu véhicule, en puce à côté des options du trajet */
#tesla-zone{font-weight:600;cursor:pointer}
#tesla-zone input[type=checkbox]{width:auto;margin:0;accent-color:var(--prim)}
