
#pf-native-map{position:absolute;inset:0;z-index:2;opacity:0;pointer-events:none;background:#1a1924;overflow:hidden}
.map-shell.pf-native-active #map{opacity:0!important;pointer-events:none!important}
.map-shell.pf-native-active #pf-native-map{opacity:1;pointer-events:auto}
.map-shell.pf-native-active #pf-native-map.pf-native-navigating{pointer-events:none}
#pf-native-map .maplibregl-ctrl-attrib{background:#201823dc!important;color:#f3dce8!important}
#pf-native-map .maplibregl-ctrl-attrib a{color:#f3dce8!important}
#pf-native-map .maplibregl-ctrl-logo{display:block}
#pf-native-toggle{font-size:12px;font-weight:750;letter-spacing:.04em}
#pf-native-toggle[aria-pressed=true]{border-color:#e77da6!important;background:#5c203b!important;color:white!important}
.pf-native-marker{cursor:pointer;pointer-events:auto}
.pf-native-marker .place-marker{transform:none!important}
.pf-native-marker .price-marker{transform:none!important}
.pf-native-marker .nav-direction-arrow{position:absolute;left:6px;top:7px;width:40px;height:56px}
.pf-native-car{z-index:10;pointer-events:none}
.pf-native-position{z-index:9;pointer-events:none}
.pf-native-navigating .pf-native-marker{pointer-events:none}
@media(max-width:850px){.map-shell.pf-native-active .map-controls{gap:5px}}

#pf-native-map .pf-native-car .pf-cinematic-car{width:58px;height:65px;left:-3px;top:1px;filter:drop-shadow(0 5px 5px #0009);transform-origin:50% 50%;transition:none!important} #pf-native-map .pf-native-car{z-index:15;}

#pf-native-map .pf-car3d-canvas{position:absolute;left:50%;top:50%;width:88px!important;height:88px!important;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 4px 3px #0009)} #pf-native-map .pf-car3d-ready .pf-cinematic-car{visibility:hidden!important} #pf-native-map .pf-native-car{overflow:visible!important}

#pf-native-map .pf-car3d-canvas{width:100px!important;height:100px!important;filter:drop-shadow(0 5px 4px #000b)} body.is-navigating.pf-driving-perspective #pf-native-map .pf-native-car:after{content:'';position:absolute;top:72%;left:50%;width:44px;height:22px;transform:translate(-50%,0);background:radial-gradient(ellipse,#ff23434d,transparent 72%);pointer-events:none;z-index:-1}

body.is-navigating .nav-trip-card{padding:12px 14px!important;bottom:12px!important;border-radius:18px!important;background:linear-gradient(155deg,#3d2035e8,#221522f7)!important;box-shadow:0 8px 28px #10081380!important}body.is-navigating .nav-trip-note{font-size:9px!important;line-height:1.2!important;margin:6px 0 0!important}body.is-navigating .nav-trip-metrics{margin:9px 0!important;padding:8px 0!important}body.is-navigating .nav-trip-metrics strong{font-size:23px!important}body.is-navigating .nav-instruction-card{padding:12px!important;background:linear-gradient(135deg,#49243ce8,#261a2cf5)!important;box-shadow:0 5px 20px #170b2050!important}#nav-view-mode{font-weight:800;font-size:12px;letter-spacing:.04em}#nav-view-mode[aria-pressed=true]{background:#692341!important}#pf-native-map .pf-native-marker .price-marker:before{content:'⌂';font-weight:800;margin-right:5px;color:#ffdce9} @media(max-width:650px){body.is-navigating .nav-trip-card{left:10px!important;right:10px!important;max-width:none!important}body.is-navigating .nav-heading{left:10px!important;right:10px!important}body.is-navigating .nav-floating{top:49%!important;gap:4px!important}body.is-navigating .nav-floating button{min-height:36px!important;min-width:36px!important}body.is-navigating .nav-trip-actions button{min-height:34px!important;padding:7px 12px!important}}

/* Keep map gestures inside the map, not the browser viewport. */
html,body{width:100%;max-width:100%;overscroll-behavior:none}body{margin:0;overflow:hidden}#map,#pf-native-map,#pf-native-map .maplibregl-canvas-container,#pf-native-map canvas{touch-action:none!important;overscroll-behavior:none;-webkit-user-select:none;user-select:none}#pf-native-map .maplibregl-canvas-container{width:100%;height:100%}.map-shell.pf-native-active #pf-native-map.pf-native-navigating{pointer-events:auto}.map-controls,.map-controls button,.nav-floating button{touch-action:manipulation} @media(max-width:850px){html,body{height:100%;height:100dvh;overflow:hidden}.topbar{height:62px!important}.workspace{height:calc(100dvh - 62px)!important;max-height:calc(100dvh - 62px)!important;overflow:hidden!important}.map-shell{min-width:0;min-height:0;max-width:100%;overflow:hidden}.rail{bottom:0!important}#map-inline-query{font-size:16px!important}.map-shell #destination-launch #map-inline-query{font-size:16px!important}}

html,body{touch-action:pan-x pan-y} #map,#pf-native-map,#pf-native-map canvas{touch-action:none!important}


body.is-navigating .nav-trip-card{padding:8px 11px!important;max-width:390px!important;width:calc(100% - 24px)!important;border-radius:15px!important;background:linear-gradient(145deg,#392235ed,#201622f5)!important}
body.is-navigating .nav-trip-metrics{margin:4px 0!important;padding:5px 0!important;gap:6px!important}
body.is-navigating .nav-trip-metrics strong{font-size:19px!important;line-height:1.05!important}
body.is-navigating .nav-trip-metrics small{font-size:9px!important;line-height:1.05!important}
body.is-navigating .nav-destination{font-size:10px!important;min-height:14px!important;gap:4px!important}
body.is-navigating .nav-trip-actions button{min-height:30px!important;padding:4px 9px!important;font-size:11px!important}
body.is-navigating .nav-trip-note{font-size:8px!important;line-height:1.15!important;margin:3px 0 0!important}
body.is-navigating .nav-instruction-card{padding:9px!important;gap:9px!important}
body.is-navigating .nav-turn{width:43px!important;height:43px!important;flex:0 0 43px!important}
body.is-navigating #nav-instruction{font-size:15px!important;line-height:1.25!important}
body.is-navigating .nav-floating button{min-height:34px!important;min-width:34px!important}
.pf-native-marker .place-marker{border-radius:50% 50% 50% 12px!important;border:1.5px solid #f4c7c0!important;box-shadow:0 4px 9px #10121aa8!important}
.pf-native-marker .place-marker[data-poi-kind*="cafe"]{background:#77482d!important}
.pf-native-marker .place-marker[data-poi-kind*="restaurante"]{background:#793441!important}
.pf-native-marker .place-marker[data-poi-kind*="tienda"]{background:#346354!important}
.pf-native-marker .event-marker{border:1.5px solid #f7d9a3!important;box-shadow:0 3px 9px #0008!important}
.pf-native-marker .pf-live-offer{position:relative;border-color:#ffe0a3!important;animation:pf-offer-pulse 2.8s ease-in-out infinite}
.pf-native-marker .pf-live-offer:after{content:'%';position:absolute;right:-5px;top:-7px;width:16px;height:16px;border-radius:50%;background:#c39042;color:#211207;display:grid;place-items:center;font-size:10px;font-weight:800}
@keyframes pf-offer-pulse{0%,100%{filter:brightness(1);box-shadow:0 0 4px #ffce7d44}50%{filter:brightness(1.25);box-shadow:0 0 16px #ffcb75aa}}
@media(prefers-reduced-motion:reduce){.pf-live-offer{animation:none!important}}
@media(max-width:650px){body.is-navigating .nav-trip-card{width:calc(100% - 20px)!important;max-width:none!important}}


/* Unified category markers, identical on 2D and 3D. */
body .map-shell .price-marker.pf-property-marker,
body:is([data-map-view="properties"],[data-map-view="venta"],[data-map-view="arriendo"]) .map-shell .price-marker.pf-property-marker{
 background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:white!important;
 display:flex!important;flex-direction:column;align-items:center;gap:2px;padding:0!important;width:74px;min-height:34px;line-height:1.15;
}
body .map-shell .price-marker.pf-property-marker:before,body .map-shell .price-marker.pf-property-marker:after{content:none!important;display:none!important}
.pf-property-marker .pf-house-badge{width:33px;height:33px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(145deg,#249968,#126041);border:1.5px solid #d0f9e5;box-shadow:0 3px 8px #091f1b88;color:#fff}
.pf-property-marker.pf-rent .pf-house-badge{background:linear-gradient(145deg,#418fe0,#20569b);border-color:#d0e8ff}
.pf-property-marker .pf-price-label{font:700 9px/1.2 Manrope,system-ui,sans-serif;border-radius:6px;padding:3px 5px;background:#123d2cf5;color:#fff;border:1px solid #82d5ab;white-space:nowrap;box-shadow:0 2px 5px #12172055}
.pf-property-marker.pf-rent .pf-price-label{background:#1c4272;border-color:#96c8f9}
.pf-property-marker.selected .pf-house-badge,.pf-property-marker:hover .pf-house-badge{outline:2px solid #fff;outline-offset:2px}
.pf-category-glyph{width:19px!important;height:19px!important;display:block;flex-shrink:0;color:inherit}
.map-shell .place-marker.pf-category-marker,.map-shell .event-marker.pf-category-marker{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:var(--pf-marker-color,#65758c)!important;color:#fff!important;border:1.5px solid #f5edf5!important;box-shadow:0 3px 8px #10141e66!important;transform:none!important}
.map-shell .pf-category-marker[data-kind="cafe"]{--pf-marker-color:#916040}
.map-shell .pf-category-marker[data-kind="restaurant"]{--pf-marker-color:#bd4e4e}
.map-shell .pf-category-marker[data-kind="bar"]{--pf-marker-color:#7550a8}
.map-shell .pf-category-marker[data-kind="ice"]{--pf-marker-color:#527ebf}
.map-shell .pf-category-marker[data-kind="shop"]{--pf-marker-color:#358580}
.map-shell .pf-category-marker[data-kind="service"]{--pf-marker-color:#53758c}
.map-shell .pf-category-marker[data-kind="park"]{--pf-marker-color:#3c8e62}
.map-shell .pf-category-marker[data-kind="landmark"]{--pf-marker-color:#4375cd}
.map-shell .pf-category-marker[data-kind="event"]{--pf-marker-color:#8652bc}
.map-shell .pf-category-marker[data-kind="garage"]{--pf-marker-color:#b66d36}
.map-shell .pf-category-marker[data-kind="road"]{--pf-marker-color:#b65d48}
.map-shell .pf-category-marker[data-kind="open"]{--pf-marker-color:#387d75}
.map-shell .place-marker.pf-category-marker.pf-live-offer{background:linear-gradient(145deg,#dcab53,#94601b)!important;border-color:#fff0ca!important;animation:pf-offer-pulse 2.8s ease-in-out infinite}
.map-shell .place-marker.pf-live-offer:after{content:'%';position:absolute;right:-5px;top:-7px;width:16px;height:16px;border-radius:50%;background:#eac46f;color:#372303;display:grid;place-items:center;font-size:10px;font-weight:800}
.pf-category-marker .pf-demo-tag{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);font:700 7px system-ui,sans-serif;background:#302438;color:white;border:1px solid #c7afcd;border-radius:4px;padding:1px 3px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.pf-live-offer{animation:none!important}}


/* Map-first compact control strip. */
#pf-map-actions{top:10px!important;left:10px!important;right:auto!important;width:max-content!important;max-width:calc(100% - 20px)!important;gap:6px!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;pointer-events:auto}
.map-shell:not(.list-hidden) #pf-map-actions{justify-content:flex-start!important}
#pf-map-actions .pf-demo-shortcuts{gap:6px!important}
#pf-map-actions button:is(.map-view-trigger,.map-quick-report,#pf-quick-gps-demo,#pf-quick-keysway,#pf-search-toggle){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;padding:0!important;display:grid!important;place-items:center!important;gap:0!important;border-radius:14px!important;background:linear-gradient(145deg,#32252feF,#19141eeF)!important;color:#fff0f7!important;border:1px solid #c68da654!important;box-shadow:0 3px 10px #180a1855!important;touch-action:manipulation}
#pf-map-actions #pf-quick-gps-demo{background:linear-gradient(145deg,#742644,#3b182b)!important;border-color:#e286ae88!important}
#pf-map-actions #pf-search-toggle[aria-expanded="true"]{background:linear-gradient(145deg,#742644,#3b182b)!important;border-color:#ed9abd!important}
#pf-map-actions .pf-ui-icon,#pf-map-actions #pf-search-toggle svg{display:block!important;width:21px!important;height:21px!important}
#pf-map-actions #map-view-root .map-view-trigger b,#pf-map-actions #map-view-root .map-view-chevron,#pf-map-actions #map-quick-report b{display:none!important}
#pf-map-actions #map-view-root .map-view-menu{left:-50px!important;right:auto!important;top:50px!important;width:min(310px,calc(100vw - 20px));max-width:calc(100vw - 20px)!important}
.map-shell #destination-launch[hidden],.map-shell #map-inline-results[hidden]{display:none!important}
.map-shell #destination-launch{position:absolute!important;top:62px!important;left:10px!important;right:auto!important;width:min(450px,calc(100% - 20px))!important;max-width:calc(100% - 20px)!important;min-height:48px!important;gap:6px!important;padding:6px 8px!important;border-radius:15px!important;z-index:820!important;background:linear-gradient(145deg,#322330f5,#1b1520fa)!important;box-shadow:0 7px 25px #1c0b2166!important}
.map-shell #destination-launch:not([hidden]){display:flex!important}
.map-shell #destination-launch #map-inline-query{font-size:16px!important;padding:7px 0!important;min-width:0!important}
.map-shell #destination-launch .inline-search-icon{display:none!important}
.map-shell #destination-launch button,.map-shell #destination-launch #map-voice-lang{min-width:36px!important;width:36px!important;height:36px!important}
.map-shell #destination-launch #pf-search-close{background:transparent!important;color:#e6cbdf!important}
.map-shell #destination-launch .inline-submit{background:#69304e!important;color:white!important}
.map-shell #destination-launch[data-voice-state]:not([hidden]){padding-bottom:28px!important}
.map-shell #map-inline-results{top:116px!important;left:10px!important;width:min(450px,calc(100% - 20px))!important;max-height:42dvh!important;z-index:825!important}
.map-shell:has(#destination-launch[data-voice-state]:not([hidden])) #map-inline-results{top:143px!important}
body.is-navigating #destination-launch,body.is-navigating #map-inline-results,body.is-navigating #pf-map-actions{display:none!important}
body .map-shell:has(#detail-panel:not([hidden])) #destination-launch,body .map-shell:has(#route-panel:not([hidden])) #destination-launch{display:none!important}
body .map-shell #detail-panel:not([hidden]),body .map-shell #route-panel:not([hidden]){top:10px!important;max-height:calc(100% - 20px)!important}
@media(max-width:850px){.topbar{height:54px!important;padding:0 9px!important}.workspace{height:calc(100dvh - 54px)!important;max-height:calc(100dvh - 54px)!important}.rail .rail-btn{min-height:44px!important}.rail .rail-btn small{font-size:9px!important}.map-shell .map-controls{bottom:18px!important}}
@media(max-width:350px){#pf-map-actions{gap:4px!important}#pf-map-actions .pf-demo-shortcuts{gap:4px!important}#pf-map-actions button:is(.map-view-trigger,.map-quick-report,#pf-quick-gps-demo,#pf-quick-keysway,#pf-search-toggle){width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important}}
