/* ImmoPilot V37 / cartographie éditoriale : aucun fournisseur de tuiles requis */
.map-wrap{background:#c8e1df!important;border:1px solid #d8e6e0!important;border-radius:22px!important;box-shadow:0 20px 48px rgba(18,62,64,.10);overflow:hidden}
.ip-map-shell{background:#c8e1df!important;border-radius:22px}
.ip-map-shell svg{transition:background .2s ease}
.ip-map-eyebrow{position:absolute;left:20px;top:20px;z-index:4;display:flex;flex-direction:column;gap:3px;pointer-events:none;padding:14px 17px;border-radius:16px;background:rgba(255,255,251,.92);box-shadow:0 8px 30px rgba(20,73,73,.10);border:1px solid rgba(255,255,255,.85);backdrop-filter:blur(16px)}
.ip-map-kicker{font-size:9px;font-weight:850;letter-spacing:.17em;color:#178478}.ip-map-eyebrow strong{font-size:20px;letter-spacing:-.04em;color:#173d42}.ip-map-eyebrow small{font-size:10px;color:#67807c}
.ip-map-controls{right:16px;bottom:17px;gap:7px}.ip-map-controls button{border:1px solid #e1e9e3;background:rgba(255,255,251,.96);box-shadow:0 7px 24px #163f3a1d;border-radius:12px;width:41px;height:41px;font-size:21px;color:#165f59;transition:transform .15s ease,background .15s ease}.ip-map-controls button:hover{transform:translateY(-2px);background:#e5f5ed}.ip-map-controls .ip-map-theme{font-size:19px}
.ip-map-marker rect{transition:fill .2s ease,stroke .2s ease}.ip-map-marker:hover rect{stroke:#f4a65c;stroke-width:3}.ip-map-marker:focus-visible rect{stroke:#f4a65c;stroke-width:4}.ip-map-credit{left:14px;bottom:16px;letter-spacing:.1em;font-weight:750;font-size:9px;color:#44756f;background:rgba(255,255,250,.82);padding:8px 11px;border-radius:9px}
.ip-map-detail{border-radius:18px;border:1px solid #e2eae5;box-shadow:0 20px 55px #143c3938}
.map-overlay{left:auto!important;right:17px!important;top:18px!important;background:rgba(255,255,251,.94)!important;box-shadow:0 5px 20px #164c3a17;border:1px solid #edf1ec!important;color:#315a55!important}
.map-legend{color:#698580}.map-legend .legend-dot{background:#0b756c}
.ip-map-dark{background:#142f38!important}.ip-map-dark svg{filter:brightness(.67) saturate(.72) hue-rotate(7deg)}.ip-map-dark .ip-map-eyebrow{background:rgba(21,48,54,.94);border-color:#2e5b5e}.ip-map-dark .ip-map-eyebrow strong{color:#f3f7f3}.ip-map-dark .ip-map-eyebrow small{color:#a7c4c0}.ip-map-dark .ip-map-credit{background:rgba(21,48,54,.85);color:#e5f1ed}
@media(max-width:700px){.ip-map-eyebrow{left:12px;top:12px;padding:10px 12px}.ip-map-eyebrow strong{font-size:16px}.ip-map-eyebrow small{display:none}.map-overlay{right:11px!important;top:11px!important;max-width:46%;font-size:10px!important}.map-wrap,.ip-map-shell{border-radius:15px!important}.ip-map-credit{font-size:8px;bottom:11px;left:10px}.ip-map-controls{bottom:12px;right:11px}.ip-map-controls button{width:37px;height:37px}}

/* V61 refinements: clearer toolbar, stronger detail card, cleaner responsive behavior */
.ip-map-shell{position:relative;isolation:isolate}
.ip-map-shell svg{display:block;width:100%;height:100%;touch-action:none}
.ip-map-eyebrow{max-width:min(320px,calc(100% - 44px))}
.ip-map-controls{display:grid;z-index:8}
.ip-map-detail{position:absolute;left:16px;right:16px;bottom:16px;z-index:9;width:auto;max-width:430px;max-height:min(46%,310px);overflow:auto;background:rgba(255,255,255,.97);padding:18px 18px 14px;display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(16px)}
.ip-map-detail[hidden]{display:none}
.ip-detail-head{display:flex;flex-direction:column;gap:5px;padding-right:26px}
.ip-detail-kicker{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#0f7a70}
.ip-detail-head strong{font-size:20px;line-height:1.1;color:#173d42}
.ip-detail-copy{margin:0;font-size:12px;line-height:1.55;color:#5d746f}
.ip-detail-metrics{display:flex;flex-wrap:wrap;gap:7px}
.ip-detail-metrics span{padding:7px 10px;border-radius:999px;background:#eef6f2;color:#155d54;font-size:11px;font-weight:750}
.ip-detail-list{display:flex;flex-direction:column;gap:8px}
.ip-detail-item{display:flex;flex-direction:column;gap:4px;padding:11px 12px;border-radius:13px;background:#f8fbf9;border:1px solid #e4ede8;color:#143a3f;transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease}
.ip-detail-item:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(18,62,64,.10);border-color:#c8dbd3}
.ip-detail-item-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ip-detail-item-top strong{font-size:13px;line-height:1.3}
.ip-detail-item-top span{flex-shrink:0;color:#0b756c;font-size:11px;font-weight:800;background:#e8f6ef;padding:6px 8px;border-radius:999px}
.ip-detail-item small{font-size:11px;color:#6e817d}
.ip-detail-more{font-size:11px;color:#67807c}
.ip-detail-close{position:absolute;right:10px;top:6px;border:0;background:transparent;font-size:24px;color:#5c7270;line-height:1}
.ip-map-credit{max-width:calc(100% - 30px)}
@media(max-width:980px){
  .ip-map-detail{max-width:none;right:16px;max-height:42%}
}
@media(max-width:700px){
  .ip-map-detail{left:10px;right:10px;bottom:10px;padding:14px 14px 12px;max-height:48%}
  .ip-detail-head strong{font-size:17px}
}
