.ofqd-map-page{max-width:1500px;margin:0 auto;padding:28px 24px 56px;color:#0b214f}.ofqd-map-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.ofqd-map-eyebrow{display:inline-block;color:#1769d2;font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.ofqd-map-page-head h1{font-size:clamp(2rem,4vw,3.35rem);margin:4px 0 4px;line-height:1}.ofqd-map-page-head p{margin:0;color:#53627c}.ofqd-map-back{font-weight:800;color:#1769d2;text-decoration:none}.ofqd-map-shell{background:#fff;border:1px solid #e2e8f4;border-radius:24px;box-shadow:0 18px 50px rgba(15,44,100,.12);overflow:hidden}.ofqd-map-topbar,.ofqd-map-filterbar{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #e6ebf4}.ofqd-map-topbar{justify-content:space-between}.ofqd-map-view-switch{display:flex;gap:7px;flex-wrap:wrap}.ofqd-map-view-switch button,.ofqd-map-filterbar button,.ofqd-map-search-wrap button,.ofqd-map-recenter{border:1px solid #d8e0ee;background:#f5f8fd;color:#17366c;font-weight:800;border-radius:12px;padding:10px 14px;cursor:pointer}.ofqd-map-view-switch button.is-active,.ofqd-map-filterbar button.is-active{background:#1267d6;color:#fff;border-color:#1267d6}.ofqd-map-search-wrap{display:flex;min-width:min(420px,40vw)}.ofqd-map-search-wrap input{flex:1;min-width:0;border:1px solid #d8e0ee;border-radius:12px 0 0 12px;padding:11px 13px;font:inherit}.ofqd-map-search-wrap button{border-radius:0 12px 12px 0;background:#0b2f73;color:#fff}.ofqd-map-filterbar{overflow:auto}.ofqd-map-filterbar label{margin-left:auto;display:flex;align-items:center;gap:7px;white-space:nowrap;font-weight:800}.ofqd-map-filterbar select{border:1px solid #d8e0ee;border-radius:10px;padding:8px;background:#fff}.ofqd-map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:650px}.ofqd-map-stage-wrap{position:relative;min-height:650px;overflow:hidden;background:#dff0f3}.ofqd-large-map{position:absolute;inset:0;overflow:hidden;transform:translateZ(0);background:linear-gradient(160deg,#e8f4df 0 54%,#b9e7f6 55% 100%)}.ofqd-large-map::before,.ofqd-large-map::after{content:"";position:absolute;background:#fff;border:2px solid #d4dde5;opacity:.85;transform:rotate(-16deg);width:130%;height:28px;left:-15%;top:24%}.ofqd-large-map::after{top:68%;transform:rotate(12deg);height:18px}.ofqd-map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(64,112,150,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(64,112,150,.08) 1px,transparent 1px);background-size:80px 80px;transform-origin:center;transition:transform .35s ease}.ofqd-map-france-shape{position:absolute;left:22%;top:7%;width:56%;height:82%;background:rgba(255,255,255,.4);border:2px solid rgba(18,103,214,.3);clip-path:polygon(42% 0,69% 7%,86% 27%,80% 53%,92% 70%,70% 95%,42% 100%,18% 85%,6% 61%,14% 38%,3% 20%,25% 7%)}.ofqd-map-marker,.ofqd-map-cluster,.ofqd-map-user{position:absolute;transform:translate(-50%,-50%);z-index:5;border:0;cursor:pointer}.ofqd-map-marker{width:18px;height:18px;border-radius:50%;background:#ef1529;border:3px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.35)}.ofqd-map-marker:hover,.ofqd-map-marker.is-active{width:25px;height:25px;z-index:12}.ofqd-map-cluster{min-width:42px;height:42px;border-radius:50%;background:#0f4fb4;color:#fff;border:3px solid #fff;font-weight:900;box-shadow:0 5px 16px rgba(5,35,90,.35)}.ofqd-map-user{width:27px;height:27px;border-radius:50%;background:#2d79ef;border:5px solid #fff;box-shadow:0 0 0 9px rgba(45,121,239,.2),0 5px 14px rgba(0,0,0,.25)}.ofqd-map-user::after{content:"Ma position";position:absolute;top:30px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff;color:#0b2f73;border-radius:8px;padding:4px 7px;font-size:.72rem;font-weight:900;box-shadow:0 3px 10px rgba(0,0,0,.15)}.ofqd-map-popup{position:absolute;z-index:20;width:240px;background:#fff;border:1px solid #dce4f1;border-radius:15px;padding:12px;box-shadow:0 14px 34px rgba(10,36,88,.24);transform:translate(-50%,calc(-100% - 18px))}.ofqd-map-popup b{display:block;color:#0e2e68;margin-bottom:4px}.ofqd-map-popup small{display:block;color:#60708a}.ofqd-map-popup a{display:inline-block;margin-top:8px;color:#1267d6;font-weight:900;text-decoration:none}.ofqd-map-zoom{position:absolute;right:18px;bottom:90px;z-index:30;display:flex;flex-direction:column;border-radius:13px;overflow:hidden;box-shadow:0 8px 22px rgba(13,39,87,.22)}.ofqd-map-zoom button{width:52px;height:52px;border:0;background:#fff;color:#0d3473;font-size:2rem;line-height:1;cursor:pointer}.ofqd-map-zoom button+button{border-top:1px solid #e2e7ef}.ofqd-map-recenter{position:absolute;left:18px;bottom:18px;z-index:30;background:#fff;box-shadow:0 7px 20px rgba(13,39,87,.18)}.ofqd-map-status{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:25;background:#0a2f70;color:#fff;border-radius:999px;padding:9px 14px;font-weight:800;font-size:.85rem;max-width:58%;text-align:center}.ofqd-large-map-loading{position:absolute;inset:0;display:grid;place-items:center;font-weight:900;color:#174987}.ofqd-map-results{border-left:1px solid #e2e8f4;background:#fff;display:flex;flex-direction:column;min-width:0}.ofqd-map-results-head{padding:16px 18px;border-bottom:1px solid #e4e9f2;display:flex;align-items:center;justify-content:space-between}.ofqd-map-results-head strong{font-size:1.65rem;color:#e1142d}.ofqd-map-results-head button{display:none}.ofqd-map-list{overflow:auto;max-height:650px;padding:10px}.ofqd-map-card{display:grid;grid-template-columns:76px 1fr;gap:11px;padding:10px;border-radius:14px;text-decoration:none;color:inherit;border:1px solid transparent}.ofqd-map-card:hover,.ofqd-map-card.is-active{background:#f1f6ff;border-color:#bdd3f4}.ofqd-map-card img{width:76px;height:70px;object-fit:cover;border-radius:10px;background:#edf1f7}.ofqd-map-card b{display:block;color:#0e3b86;line-height:1.2}.ofqd-map-card small{display:block;color:#65748c;margin-top:4px}.ofqd-map-empty-list{padding:28px;text-align:center;color:#6d7890}.ofqd-open-large-map{display:inline-flex;align-items:center;gap:7px;border:1px solid #cbd8ed;background:#fff;color:#0f4fb4;text-decoration:none;font-weight:900;border-radius:10px;padding:8px 11px;margin-right:5px}
@media(max-width:1000px){.ofqd-map-workspace{grid-template-columns:1fr}.ofqd-map-results{border-left:0;border-top:1px solid #e2e8f4;position:relative}.ofqd-map-results-head button{display:block;border:0;background:#eef4ff;border-radius:9px;padding:7px 11px}.ofqd-map-list{max-height:290px}.ofqd-map-results.is-collapsed .ofqd-map-list{display:none}.ofqd-map-stage-wrap{min-height:58vh}.ofqd-map-topbar{align-items:stretch;flex-direction:column}.ofqd-map-search-wrap{min-width:0;width:100%}}@media(max-width:650px){.ofqd-map-page{padding:12px 0 30px}.ofqd-map-page-head{padding:0 14px;align-items:flex-start;flex-direction:column}.ofqd-map-back{display:none}.ofqd-map-shell{border-radius:0;border-left:0;border-right:0}.ofqd-map-view-switch{display:grid;grid-template-columns:1fr 1fr;width:100%}.ofqd-map-view-switch button{padding:10px 7px}.ofqd-map-filterbar{padding:10px}.ofqd-map-filterbar label{margin-left:0}.ofqd-map-stage-wrap{min-height:62vh}.ofqd-map-status{bottom:78px;max-width:72%;font-size:.74rem}.ofqd-map-zoom{right:12px;bottom:86px}.ofqd-map-zoom button{width:48px;height:48px}.ofqd-map-recenter{left:12px;bottom:16px}.ofqd-map-card{grid-template-columns:64px 1fr}.ofqd-map-card img{width:64px;height:60px}}

/* V29.1 — correction des vues géographiques */
.ofqd-map-page{padding-top:46px}
.ofqd-large-map[data-view="france"]{
  background:linear-gradient(180deg,#d9eefb 0 100%);
}
.ofqd-large-map[data-view="france"]::before,
.ofqd-large-map[data-view="france"]::after{display:none}
.ofqd-large-map[data-view="france"] .ofqd-map-grid{
  background-image:linear-gradient(rgba(33,91,140,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(33,91,140,.055) 1px,transparent 1px);
  background-size:70px 70px;
}
.ofqd-map-france-shape{
  left:24%;top:5%;width:52%;height:88%;
  background:linear-gradient(145deg,#e7f3d8,#cfe6bb);
  border:3px solid rgba(40,108,72,.36);
  box-shadow:0 16px 40px rgba(25,76,75,.16);
  clip-path:polygon(44% 1%,61% 5%,73% 13%,86% 27%,82% 42%,88% 54%,81% 67%,74% 77%,61% 91%,47% 98%,35% 92%,25% 82%,15% 70%,11% 56%,4% 43%,10% 29%,4% 19%,20% 10%,32% 5%);
}
.ofqd-map-france-shape::before{
  content:"FRANCE";position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);
  font-weight:900;letter-spacing:.16em;color:rgba(18,79,70,.18);font-size:clamp(1.2rem,3vw,2.8rem)
}
.ofqd-map-corsica{position:absolute;left:72.5%;top:77%;width:2.4%;height:10%;background:#d8eac6;border:2px solid rgba(40,108,72,.35);border-radius:55% 45% 60% 40%;transform:rotate(12deg);box-shadow:0 6px 14px rgba(25,76,75,.12)}
.ofqd-map-country-label{position:absolute;z-index:2;color:#517286;font-size:.74rem;font-weight:800;opacity:.72;pointer-events:none}
.ofqd-map-country-label.spain{left:38%;top:91%}.ofqd-map-country-label.italy{left:76%;top:70%}.ofqd-map-country-label.belgium{left:58%;top:5%}.ofqd-map-country-label.germany{left:76%;top:22%}.ofqd-map-country-label.atlantic{left:5%;top:48%;transform:rotate(-90deg)}.ofqd-map-country-label.mediterranean{left:58%;top:94%}
.ofqd-large-map[data-view="position"] .ofqd-map-france-shape,
.ofqd-large-map[data-view="commune"] .ofqd-map-france-shape,
.ofqd-large-map[data-view="region"] .ofqd-map-france-shape,
.ofqd-large-map:not([data-view="france"]) .ofqd-map-corsica,
.ofqd-large-map:not([data-view="france"]) .ofqd-map-country-label{display:none}
.ofqd-map-view-switch button{min-height:42px}
.ofqd-map-view-switch button:focus-visible,.ofqd-map-filterbar button:focus-visible,.ofqd-map-zoom button:focus-visible{outline:3px solid #ffcf2f;outline-offset:2px}
@media(max-width:700px){.ofqd-map-page{padding-top:24px}.ofqd-map-france-shape{left:16%;width:68%;top:7%;height:82%}.ofqd-map-corsica{left:79%;top:76%}.ofqd-map-country-label{display:none}.ofqd-map-workspace{min-height:0}.ofqd-map-stage-wrap{min-height:68vh}}

/* V30.0 — vraie carte OpenStreetMap / Leaflet */
.ofqd-large-map{background:#dceaf2!important}
.ofqd-large-map::before,.ofqd-large-map::after,.ofqd-map-grid,.ofqd-map-france-shape,.ofqd-map-corsica,.ofqd-map-country-label{display:none!important}
.ofqd-large-map .leaflet-container{font-family:inherit}
.ofqd-large-map .leaflet-control-attribution{font-size:10px}
.ofqd-map-zoom{z-index:700}
.ofqd-map-recenter,.ofqd-map-status{z-index:700}
.ofqd-leaflet-pin-wrap{background:transparent;border:0}
.ofqd-leaflet-pin{display:block;width:20px;height:20px;border-radius:50% 50% 50% 0;background:#ef1529;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.35);transform:rotate(-45deg)}
.ofqd-leaflet-pin::after{content:"";display:block;width:6px;height:6px;border-radius:50%;background:#fff;margin:4px}
.ofqd-leaflet-user-wrap{background:transparent;border:0;overflow:visible!important}
.ofqd-leaflet-user-dot{position:absolute;left:9px;top:6px;width:24px;height:24px;border-radius:50%;background:#2d79ef;border:5px solid #fff;box-shadow:0 0 0 9px rgba(45,121,239,.22),0 5px 14px rgba(0,0,0,.25)}
.ofqd-leaflet-user-wrap small{position:absolute;left:0;top:36px;background:#fff;color:#0b2f73;border-radius:8px;padding:4px 7px;font-size:.72rem;font-weight:900;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.ofqd-leaflet-popup b{display:block;color:#0e2e68;margin-bottom:5px}.ofqd-leaflet-popup small{display:block;color:#60708a}.ofqd-leaflet-popup a{display:inline-block;margin-top:8px;color:#1267d6;font-weight:900;text-decoration:none}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background:rgba(18,103,214,.22)}
.marker-cluster-small div,.marker-cluster-medium div,.marker-cluster-large div{background:#1267d6;color:#fff;font-weight:900}
.leaflet-popup-content-wrapper{border-radius:14px;box-shadow:0 12px 30px rgba(10,36,88,.22)}
.leaflet-popup-content{margin:13px 15px}

/* V31.6 — popup entière cliquable, sans bouton redondant. */
.ofqd-leaflet-popup-link{display:block;text-decoration:none;color:inherit;cursor:pointer;padding:2px}.ofqd-leaflet-popup-link:hover b{color:#1267d6}.ofqd-leaflet-popup-link small{margin-top:4px}.leaflet-popup-content .ofqd-leaflet-popup-link{min-width:190px}
/* V31.32 — navigation territoriale complète */
.ofqd-map-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ofqd-map-list-link{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border-radius:12px;background:#1267d6;color:#fff;text-decoration:none;font-weight:850}.ofqd-map-view-switch button{white-space:nowrap}.ofqd-map-card span b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ofqd-map-card span small{line-height:1.25}.ofqd-map-results-head span{font-size:.88rem;color:#63718a}@media(max-width:900px){.ofqd-map-page-head{align-items:flex-start;flex-direction:column}.ofqd-map-head-actions{width:100%}.ofqd-map-view-switch{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:4px}.ofqd-map-topbar{align-items:stretch;flex-direction:column}}

/* V31.34 — position de référence claire et carte robuste */
.ofqd-location-reference{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #e4ebf6;background:#f8fbff;color:#12366f}.ofqd-location-reference strong{font-size:.92rem}.ofqd-location-reference div{display:flex;gap:8px;flex-wrap:wrap}.ofqd-location-reference button{border:1px solid #cfdcf0;background:#fff;color:#12366f;border-radius:10px;padding:7px 10px;font-weight:800;cursor:pointer}.ofqd-location-reference button:hover{border-color:#1267d6;color:#1267d6}.ofqd-map-tile-warning{position:absolute;inset:auto 16px 16px 16px;z-index:750;background:rgba(255,255,255,.96);border:1px solid #f0b6b6;border-radius:12px;padding:10px 12px;color:#8a1f1f;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.12)}@media(max-width:760px){.ofqd-location-reference{align-items:flex-start;flex-direction:column}}

/* V31.35 — moteur cartographique autonome de secours */
.ofqd-fallback-map{position:relative;background:#dceef1!important;overflow:hidden}
.ofqd-osm-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:#dceef1;z-index:1}
.ofqd-map-overlay{position:absolute;inset:0;z-index:4;pointer-events:none;overflow:hidden}
.ofqd-map-provider-note{position:absolute;right:10px;bottom:8px;z-index:5;background:rgba(255,255,255,.88);padding:3px 7px;border-radius:7px;font-size:10px;color:#52627b;pointer-events:none}
.ofqd-map-pin,.ofqd-map-cluster,.ofqd-map-user{position:absolute;transform:translate(-50%,-50%);pointer-events:auto}
.ofqd-map-pin{width:24px;height:24px;border:0;background:transparent;text-decoration:none;z-index:7}
.ofqd-map-pin>span{display:block;width:20px;height:20px;border-radius:50% 50% 50% 0;background:#ef1529;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.35);transform:rotate(-45deg)}
.ofqd-map-pin.is-highlight>span,.ofqd-map-pin:hover>span{transform:rotate(-45deg) scale(1.25);background:#1267d6}
.ofqd-map-mini-popup{display:none;position:absolute;left:26px;top:-22px;width:220px;background:#fff;border-radius:12px;padding:10px;box-shadow:0 10px 26px rgba(9,38,91,.24);text-align:left;color:#0b2f73;z-index:15}
.ofqd-map-pin:hover .ofqd-map-mini-popup{display:block}
.ofqd-map-cluster{min-width:38px;height:38px;padding:0 9px;border-radius:999px;border:4px solid rgba(255,255,255,.9);background:#1267d6;color:#fff;font-weight:900;box-shadow:0 5px 16px rgba(0,0,0,.3);z-index:8;cursor:pointer}
.ofqd-map-cluster:hover{background:#ef1529;transform:translate(-50%,-50%) scale(1.12)}
.ofqd-map-user{width:22px;height:22px;border-radius:50%;background:#2d79ef;border:5px solid #fff;box-shadow:0 0 0 9px rgba(45,121,239,.22),0 5px 14px rgba(0,0,0,.25);z-index:10}
@media(max-width:720px){.ofqd-map-provider-note{display:none}.ofqd-map-mini-popup{width:170px}}

/* V31.39 — moteur V30 restauré : tuiles officielles Leaflet visibles, sans CSS Leaflet dupliqué. */
#ofqdLargeMap.leaflet-container{background:#dceaf2!important}
#ofqdLargeMap .leaflet-tile{visibility:visible!important;opacity:1!important;max-width:none!important;max-height:none!important}


/* V52.4 — couleurs officielles des points de la grande carte */
.ofqd-leaflet-pin{background:var(--pin-color,#e31b36)!important;transition:transform .16s ease,filter .16s ease}
.ofqd-leaflet-pin-wrap:hover .ofqd-leaflet-pin{transform:rotate(-45deg) scale(1.18);filter:brightness(1.06)}
.ofqd-map-pin>span{background:var(--pin-color,#e31b36)!important}
.ofqd-marker-cluster{background:transparent!important}
.ofqd-marker-cluster .ofqd-cluster-inner{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--cluster-color,#1267d6);color:#fff;border:4px solid rgba(255,255,255,.95);font-weight:900;box-shadow:0 5px 16px rgba(0,0,0,.32)}
.ofqd-map-legend{position:absolute;left:18px;top:18px;z-index:700;display:flex;flex-wrap:wrap;gap:6px;max-width:min(620px,74%);padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 6px 18px rgba(13,39,87,.18);font-size:11px;font-weight:800;color:#17366c;pointer-events:none}
.ofqd-map-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ofqd-map-legend i{width:10px;height:10px;border-radius:50%;display:inline-block;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(10,30,60,.10)}
.ofqd-map-legend .event i{background:#e31b36}.ofqd-map-legend .association i{background:#169b62}.ofqd-map-legend .sport i{background:#1267d6}.ofqd-map-legend .artisan i{background:#f28c18}.ofqd-map-legend .commerce i{background:#8b4fc9}.ofqd-map-legend .commune i{background:#19a7ce}.ofqd-map-legend .pmr i{background:#0f8f8a}.ofqd-map-legend .parking i{background:#f1b800}
@media(max-width:700px){.ofqd-map-legend{left:10px;right:10px;top:10px;max-width:none;font-size:10px;padding:6px 8px}.ofqd-map-legend span:nth-child(n+6){display:none}}

/* V52.5 : ligne de position redondante supprimée */
.ofqd-map-topbar{border-bottom:1px solid #e4ebf6}

/* OFQD V52.7 — finition définitive de la grande carte */
.ofqd-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ofqd-map-zoom{bottom:18px}
.ofqd-map-card{position:relative;align-items:center}
.ofqd-map-card-body{min-width:0}
.ofqd-map-card-badge{display:inline-flex;align-items:center;min-height:18px;margin:0 0 4px;padding:2px 7px;border-radius:999px;background:#eef3fb;color:var(--badge-color);font-size:.66rem;font-style:normal;font-weight:900;line-height:1;border:1px solid #dbe5f3}
.ofqd-map-card:hover .ofqd-map-card-badge,.ofqd-map-card.is-active .ofqd-map-card-badge{background:var(--badge-color);color:#fff;border-color:var(--badge-color)}
.ofqd-leaflet-pin-wrap,.ofqd-map-pin{transition:transform .16s ease,filter .16s ease}
.ofqd-leaflet-pin-wrap.is-highlight,.ofqd-map-pin.is-highlight{transform:scale(1.32);filter:drop-shadow(0 4px 7px rgba(4,25,67,.35));z-index:9999!important}
.ofqd-large-map.is-overview-zoom .ofqd-leaflet-pin-wrap{transform:scale(.88)}
.ofqd-large-map.is-overview-zoom .ofqd-leaflet-pin-wrap.is-highlight{transform:scale(1.18)}
@media(max-width:650px){
  .ofqd-map-zoom{bottom:14px}
  .ofqd-map-card-badge{font-size:.61rem;padding:2px 6px}
}


/* V53.0 — autocomplétion nationale des communes */
.ofqd-map-search-wrap{position:relative}
.ofqd-geo-suggestions{position:absolute;z-index:1200;top:calc(100% + 7px);left:0;right:0;max-height:310px;overflow:auto;background:#fff;border:1px solid #d7e3ef;border-radius:14px;box-shadow:0 18px 46px rgba(16,45,78,.18);padding:6px}
.ofqd-geo-suggestions[hidden]{display:none}
.ofqd-geo-suggestions button{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;text-align:left;border:0;background:#fff;border-radius:10px;padding:10px 11px;color:#173754;cursor:pointer}
.ofqd-geo-suggestions button:hover,.ofqd-geo-suggestions button:focus{background:#eef6ff;outline:none}
.ofqd-geo-suggestions strong{font-size:13px;line-height:1.25}
.ofqd-geo-suggestions small{font-size:11px;line-height:1.25;color:#64778a;text-align:right}
@media(max-width:760px){.ofqd-geo-suggestions{position:fixed;left:10px;right:10px;top:auto;max-height:42vh}}

/* V54.2 — marqueurs typés et popup enrichi */
.ofqd-leaflet-pin{display:grid;place-items:center}
.ofqd-leaflet-pin i{font-style:normal;font-size:11px;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35);transform:translateY(-1px)}
.ofqd-leaflet-popup-card{display:grid;gap:5px;min-width:210px;color:#0b2b5c}
.ofqd-leaflet-popup-card b{font-size:14px;line-height:1.25}
.ofqd-leaflet-popup-card small{display:block;color:#53657d;font-size:12px;line-height:1.3}
.ofqd-leaflet-popup-card a{display:inline-flex;width:max-content;margin-top:3px;padding:7px 10px;border-radius:9px;background:#0d67d9;color:#fff!important;font-weight:800;text-decoration:none}
.ofqd-marker-cluster .ofqd-cluster-inner{box-shadow:0 4px 14px rgba(0,0,0,.28),0 0 0 4px rgba(255,255,255,.92)}

/* OFQD V55.0 — couches cartographiques et clusters intelligents */
.ofqd-map-theme-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ofqd-map-layerbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px 14px;border-bottom:1px solid #e5edf8;background:#f8fbff}
.ofqd-map-layerbar>span{font-size:12px;font-weight:900;color:#17366c;margin-right:2px}
.ofqd-map-layerbar button{border:1px solid #d5e1f1;background:#fff;color:#28456f;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;cursor:pointer;opacity:.55;transition:.15s ease}
.ofqd-map-layerbar button::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background:#7e8da3}
.ofqd-map-layerbar button.is-active{opacity:1;background:#edf5ff;border-color:#aac8ef;box-shadow:0 2px 7px rgba(26,91,166,.10)}
.ofqd-map-layerbar button[data-map-layer="all"]::before{background:linear-gradient(135deg,#e31b36 0 25%,#1267d6 25% 50%,#19a7ce 50% 75%,#8b4fc9 75%)}
.ofqd-map-layerbar .event::before{background:#e31b36}.ofqd-map-layerbar .activity::before{background:#1267d6}.ofqd-map-layerbar .place::before{background:#19a7ce}.ofqd-map-layerbar .commerce::before{background:#8b4fc9}.ofqd-map-layerbar .artisan::before{background:#f28c18}.ofqd-map-layerbar .service::before{background:#56657a}.ofqd-map-layerbar .parking::before{background:#f1b800}.ofqd-map-layerbar .pmr::before{background:#0f8f8a}
.ofqd-cluster-ring{position:relative;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--cluster-color) 0 100%);border:4px solid rgba(255,255,255,.96);box-shadow:0 5px 16px rgba(0,0,0,.30)}
.ofqd-cluster-ring strong{position:relative;z-index:2;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fff;color:#0c2d60;font-size:12px;font-weight:950;box-shadow:0 2px 7px rgba(0,0,0,.18)}
.ofqd-cluster-ring i{display:none}
@media(max-width:760px){.ofqd-map-layerbar{padding:8px 10px;gap:5px;overflow-x:auto;flex-wrap:nowrap}.ofqd-map-layerbar>span{display:none}.ofqd-map-layerbar button{white-space:nowrap;padding:6px 9px}.ofqd-map-filterbar{align-items:flex-start}.ofqd-map-theme-filters{overflow-x:auto;flex-wrap:nowrap;max-width:calc(100vw - 120px)}}

/* OFQD V70.0 — Carte mobile premium vacances */
.ofqd-map-mobile-dock{display:none}
@media(max-width:700px){
  body:has(.ofqd-map-page){background:#eef4fb}
  body:has(.ofqd-map-page) .ofqd-topbar-v1{position:sticky;top:0;z-index:2100;box-shadow:0 5px 18px rgba(5,31,76,.12)}
  body:has(.ofqd-map-page) footer{display:none}
  .ofqd-map-page{padding:0!important;max-width:none;min-height:calc(100dvh - 70px)}
  .ofqd-map-page-head{display:none!important}
  .ofqd-map-shell{border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;background:#fff}
  .ofqd-map-topbar{position:sticky;top:66px;z-index:1050;padding:8px 10px!important;gap:8px!important;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 5px 16px rgba(5,31,76,.10)}
  .ofqd-map-search-wrap{order:-1;height:50px;border-radius:16px;box-shadow:0 4px 14px rgba(7,40,91,.10)}
  .ofqd-map-search-wrap input{font-size:16px!important;border-radius:16px 0 0 16px!important;padding-left:15px!important;background:#fff}
  .ofqd-map-search-wrap button{width:54px;font-size:0!important;border-radius:0 16px 16px 0!important;padding:0!important}
  .ofqd-map-search-wrap button:after{content:'⌕';font-size:25px;line-height:1}
  .ofqd-map-view-switch{display:flex!important;overflow-x:auto;scrollbar-width:none;gap:7px!important;padding:1px 0 3px!important}
  .ofqd-map-view-switch::-webkit-scrollbar,.ofqd-map-theme-filters::-webkit-scrollbar,.ofqd-map-layerbar::-webkit-scrollbar{display:none}
  .ofqd-map-view-switch button{flex:0 0 auto;border-radius:999px!important;min-height:38px;padding:8px 12px!important;font-size:12px!important;box-shadow:none}
  .ofqd-map-view-switch button:nth-child(n+4){display:none}
  .ofqd-map-filterbar{position:sticky;top:170px;z-index:1040;display:flex!important;align-items:center!important;padding:7px 10px!important;gap:8px!important;background:#fff;border-bottom:1px solid #e5ebf4}
  .ofqd-map-theme-filters{max-width:calc(100vw - 102px)!important;overflow-x:auto!important;flex-wrap:nowrap!important;gap:6px!important}
  .ofqd-map-filterbar button{flex:0 0 auto;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important}
  .ofqd-map-filterbar label{font-size:0!important;gap:0!important;margin-left:auto!important}
  .ofqd-map-filterbar label:before{content:'Rayon';font-size:11px;font-weight:900;margin-right:5px;color:#17366c}
  .ofqd-map-filterbar select{height:36px;padding:6px 5px!important;font-weight:850;font-size:12px;border-radius:11px!important}
  .ofqd-map-layerbar{display:none!important}
  .ofqd-map-workspace{display:block!important;min-height:0!important}
  .ofqd-map-stage-wrap{height:calc(100dvh - 248px)!important;min-height:480px!important;max-height:none!important}
  .ofqd-map-legend{display:none!important}
  .ofqd-map-zoom{right:12px!important;bottom:92px!important;border-radius:16px!important}
  .ofqd-map-zoom button{width:46px!important;height:46px!important;font-size:1.65rem!important}
  .ofqd-map-recenter{left:12px!important;bottom:94px!important;border-radius:999px!important;padding:10px 13px!important;background:#fff!important;box-shadow:0 6px 18px rgba(7,39,87,.22)!important;font-size:12px!important}
  .ofqd-map-status{left:50%!important;bottom:148px!important;max-width:72%!important;padding:7px 11px!important;border-radius:999px!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ofqd-map-results{position:fixed!important;z-index:1900;left:8px;right:8px;bottom:73px;height:min(48dvh,440px);border:0!important;border-radius:24px 24px 18px 18px!important;background:#fff;box-shadow:0 -10px 36px rgba(7,31,75,.22);overflow:hidden;transition:transform .28s ease;height:auto;max-height:48dvh}
  .ofqd-map-results.is-collapsed{transform:translateY(calc(100% - 62px))}
  .ofqd-map-results-head{min-height:62px;padding:11px 15px!important;background:#fff;border-bottom:1px solid #edf1f7;cursor:pointer}
  .ofqd-map-results-head:before{content:'';position:absolute;left:50%;top:7px;width:42px;height:4px;border-radius:4px;background:#d2d9e5;transform:translateX(-50%)}
  .ofqd-map-results-head strong{font-size:25px!important;color:#e31b36}
  .ofqd-map-results-head span{font-size:11px!important;line-height:1.2}
  .ofqd-map-results-head button{display:grid!important;place-items:center;width:38px;height:38px;padding:0!important;border-radius:14px!important;font-size:22px;transition:transform .2s}
  .ofqd-map-results:not(.is-collapsed) .ofqd-map-results-head button{transform:rotate(180deg)}
  .ofqd-map-list{max-height:calc(48dvh - 62px)!important;padding:8px!important;background:#f5f7fb;overflow-y:auto}
  .ofqd-map-card{grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;margin-bottom:8px!important;padding:8px!important;border-radius:17px!important;background:#fff!important;box-shadow:0 4px 12px rgba(8,36,82,.08)!important;border:1px solid #edf1f6!important}
  .ofqd-map-card img{width:76px!important;height:72px!important;border-radius:13px!important;object-fit:cover}
  .ofqd-map-card-body b{font-size:14px!important;line-height:1.18!important}
  .ofqd-map-card-body small{font-size:10.5px!important;margin-top:3px!important}
  .ofqd-map-card-badge{font-size:9px!important;padding:2px 6px!important}
  .ofqd-map-mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;height:68px;z-index:2000;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);border-top:1px solid #dce4ef;box-shadow:0 -7px 24px rgba(8,34,77,.12);padding:5px 8px max(5px,env(safe-area-inset-bottom))}
  .ofqd-map-mobile-dock button,.ofqd-map-mobile-dock a{border:0;background:transparent;color:#64748b;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:14px;font-size:20px;font-weight:800;cursor:pointer}
  .ofqd-map-mobile-dock span{font-size:10px;line-height:1}
  .ofqd-map-mobile-dock .is-active{color:#1267d6;background:#edf5ff}
  body:has(.ofqd-map-page) .rodyn-launcher{bottom:82px!important;right:12px!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
  body:has(.ofqd-map-page) .rodyn-launcher-avatar{width:44px!important;height:44px!important}
}
@media(max-width:380px){
  .ofqd-map-stage-wrap{height:calc(100dvh - 240px)!important;min-height:430px!important}
  .ofqd-map-view-switch button{padding:7px 10px!important}
  .ofqd-map-filterbar button{padding:7px 10px!important}
}

/* OFQD V73.0 — autocomplétion mobile sous le champ, sans masquer la saisie */
@media (max-width:760px){
  .ofqd-map-search-wrap{
    position:relative!important;
    z-index:1600!important;
    overflow:visible!important;
  }
  .ofqd-map-search-wrap input,
  #ofqdMapSearch{
    position:relative!important;
    z-index:1602!important;
  }
  .ofqd-geo-suggestions{
    position:absolute!important;
    top:calc(100% + 6px)!important;
    bottom:auto!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-height:min(230px,34vh)!important;
    margin:0!important;
    padding:5px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain;
    border-radius:12px!important;
    z-index:1601!important;
  }
  .ofqd-geo-suggestions button{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    min-height:46px!important;
    padding:8px 10px!important;
  }
  .ofqd-geo-suggestions strong{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:15px!important;
    line-height:1.2!important;
  }
  .ofqd-geo-suggestions small{
    display:block!important;
    max-width:52vw!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
}


/* OFQD V22.0 — filtres compacts et icônes modernes */
.ofqd-map-page-head{margin-bottom:14px}.ofqd-map-page-head h1{margin:0 0 5px}.ofqd-map-eyebrow{display:none!important}.ofqd-map-topbar,.ofqd-map-filterbar{padding:9px 14px;gap:8px}.ofqd-map-view-switch{gap:6px}.ofqd-map-view-switch button,.ofqd-map-filterbar button{min-height:34px;padding:7px 11px;border-radius:10px;font-size:.82rem;line-height:1;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.ofqd-map-view-switch button svg,.ofqd-map-filterbar button svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.ofqd-map-theme-filters{display:flex;gap:6px;flex-wrap:wrap}.ofqd-map-filterbar select{height:34px;padding:5px 8px}.ofqd-map-filterbar label{font-size:.82rem}.ofqd-map-search-wrap input{padding:8px 11px}.ofqd-map-search-wrap button{padding:8px 12px}.ofqd-map-shell{border-radius:18px}.ofqd-map-layerbar{padding:7px 12px}.ofqd-map-layerbar button{padding:5px 9px}.ofqd-map-workspace{min-height:620px}.ofqd-map-stage-wrap{min-height:620px}
@media(max-width:1100px){.ofqd-map-topbar{align-items:flex-start;flex-direction:column}.ofqd-map-search-wrap{width:100%;min-width:0}.ofqd-map-view-switch{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}}
@media(max-width:700px){.ofqd-map-view-switch button,.ofqd-map-filterbar button{min-height:34px!important;padding:7px 10px!important;font-size:11.5px!important}.ofqd-map-view-switch button svg,.ofqd-map-filterbar button svg{width:15px;height:15px;flex-basis:15px}.ofqd-map-topbar{padding:7px 9px!important}.ofqd-map-filterbar{padding:6px 9px!important}.ofqd-map-filterbar select{height:34px}.ofqd-map-stage-wrap{height:calc(100dvh - 230px)!important}}


/* OFQD V22.2 — carte finalisée : filtres compacts, pictogrammes fins, doublon supprimé */
.ofqd-map-page{padding-top:26px!important}
.ofqd-map-page-head{margin-bottom:10px!important;align-items:center!important}
.ofqd-map-page-head h1{font-size:clamp(2rem,3.2vw,3.05rem)!important;margin:0!important;line-height:1.04!important}
.ofqd-map-page-head p,.ofqd-map-status{display:none!important}
.ofqd-map-topbar{padding:8px 13px!important;min-height:52px!important}
.ofqd-map-filterbar{padding:7px 13px!important;min-height:48px!important}
.ofqd-map-view-switch,.ofqd-map-theme-filters{gap:6px!important}
.ofqd-map-view-switch button,.ofqd-map-theme-filters button{
  min-height:34px!important;height:34px!important;padding:0 10px!important;border-radius:9px!important;
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;font-size:12px!important;line-height:1!important;white-space:nowrap!important;
}
.ofqd-map-view-switch button svg,.ofqd-map-theme-filters button svg{
  display:block!important;width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;
  min-height:15px!important;max-height:15px!important;flex:0 0 15px!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;overflow:visible!important;
}
.ofqd-map-view-switch button svg path,.ofqd-map-view-switch button svg circle,.ofqd-map-view-switch button svg rect,
.ofqd-map-theme-filters button svg path,.ofqd-map-theme-filters button svg circle,.ofqd-map-theme-filters button svg rect{
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
}
.ofqd-map-view-switch button.is-active,.ofqd-map-theme-filters button.is-active{color:#fff!important}
.ofqd-map-view-switch button:not(.is-active),.ofqd-map-theme-filters button:not(.is-active){color:#164b96!important;background:#f7faff!important}
.ofqd-map-search-wrap{min-width:min(390px,38vw)!important}
.ofqd-map-search-wrap input{height:34px!important;padding:6px 10px!important;font-size:12px!important}
.ofqd-map-search-wrap button{height:34px!important;padding:0 12px!important;font-size:12px!important}
.ofqd-map-filterbar label{font-size:12px!important}.ofqd-map-filterbar select{height:32px!important;padding:3px 7px!important;font-size:12px!important}
.ofqd-map-layerbar{padding:5px 11px!important;min-height:34px!important}.ofqd-map-layerbar button{padding:3px 8px!important;font-size:10px!important}
.ofqd-map-workspace{min-height:650px!important}.ofqd-map-stage-wrap{min-height:650px!important}
.ofqd-map-card{grid-template-columns:72px minmax(0,1fr)!important;gap:8px!important;padding:7px!important}
.ofqd-map-card img{width:72px!important;height:64px!important}.ofqd-map-card b{font-size:13px!important}.ofqd-map-card small{font-size:10.5px!important;margin-top:2px!important}
@media(max-width:1100px){.ofqd-map-search-wrap{min-width:0!important;width:100%!important}}
@media(max-width:700px){
 .ofqd-map-page{padding-top:0!important}.ofqd-map-page-head{display:none!important}
 .ofqd-map-view-switch button,.ofqd-map-theme-filters button{height:34px!important;min-height:34px!important;padding:0 10px!important}
 .ofqd-map-view-switch button svg,.ofqd-map-theme-filters button svg{width:14px!important;height:14px!important;flex-basis:14px!important}
}


/* OFQD — organisation finale des commandes de la grande carte */
@media (min-width:1101px){
  .ofqd-map-topbar{justify-content:flex-start!important;}
  .ofqd-map-search-wrap{margin-left:0!important;flex:0 1 390px!important;}
  .ofqd-map-view-switch{margin-left:0!important;justify-content:flex-start!important;}
}

/* OFQD V165 — carte unifiée par univers */
.ofqd-map-page-head .ofqd-map-kicker{display:block;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#1565c0;margin-bottom:.18rem}
.ofqd-map-page-head h1{margin:0;line-height:1.05}
.ofqd-map-page-head p{margin:.28rem 0 0;color:#64748b;font-size:.94rem}
.ofqd-map-universes{display:flex;gap:.48rem;overflow-x:auto;padding:.55rem .15rem .7rem;scrollbar-width:thin}
.ofqd-map-universes a{display:inline-flex;align-items:center;gap:.38rem;flex:0 0 auto;min-height:38px;padding:.45rem .78rem;border:1px solid #d8e2ee;border-radius:999px;background:#fff;color:#23354d;text-decoration:none;font-weight:800;font-size:.86rem;box-shadow:0 2px 8px rgba(15,43,75,.06)}
.ofqd-map-universes a:hover,.ofqd-map-universes a.is-active{background:#0f5fae;color:#fff;border-color:#0f5fae}
.ofqd-map-universes a span{font-size:1rem}
@media (max-width:760px){.ofqd-map-page-head p{font-size:.84rem}.ofqd-map-universes{margin-inline:-.4rem;padding-inline:.4rem}.ofqd-map-universes a{min-height:34px;padding:.36rem .65rem;font-size:.8rem}}

/* OFQD V17.1.1 — retour territorial après la vue France */
.ofqd-map-view-switch .ofqd-map-territory-back{background:#fff7d6;color:#765600;border-color:#f1cf55;white-space:nowrap}.ofqd-map-view-switch .ofqd-map-territory-back:hover{background:#ffed9c}.ofqd-map-view-switch .ofqd-map-territory-back[hidden]{display:none!important}
@media(max-width:900px){.ofqd-map-view-switch .ofqd-map-territory-back{order:-1;width:100%;justify-content:center}}
/* V17.2.5 — icônes vectorielles homogènes */
.ofqd-map-universe-icon,.ofqd-map-mobile-dock i{display:inline-grid;place-items:center;flex:0 0 auto;width:18px;height:18px}
.ofqd-map-universe-icon .ofqd-icon,.ofqd-map-mobile-dock i .ofqd-icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ofqd-map-universes a{gap:7px}
.ofqd-map-mobile-dock button,.ofqd-map-mobile-dock a{gap:3px}
