/* Both territorial views share the same frame, projection and blue selection. */
.lifestyle-app #zone-map-workspace,.lifestyle-app #micro-map-workspace{max-width:none;width:100%;margin-inline:0;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.lifestyle-app #micro-map-workspace:not([hidden]){display:grid}
.lifestyle-app #zone-map-workspace[hidden],.lifestyle-app #micro-map-workspace[hidden]{display:none!important}
.lifestyle-app :is(#zone-map-workspace,#micro-map-workspace) .mapbox{min-width:0;border-color:#b9cee5;background:#f4f9ff;overflow:visible}
.lifestyle-app :is(#zone-map-workspace,#micro-map-workspace) .mapbar{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;padding:18px;align-items:end;border-radius:20px 20px 0 0}
.lifestyle-app .mapbar label.map-picker{margin:0;min-width:0}
.lifestyle-app #micro-map-workspace .mapbar select{display:block;width:100%;min-width:0;min-height:54px;padding:12px 15px;border:1px solid #b9cce2;border-radius:12px;background:#f8fbff;color:#073f94;font:700 16px/1.4 Arial}
.lifestyle-app .territory-map-stage{position:relative;width:100%;height:auto;aspect-ratio:1;padding:4px;background:#f4f9ff;border-block:1px solid #d8e6f4}
.lifestyle-app :is(#map,#flow-map){display:block;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;aspect-ratio:1}
.lifestyle-app #map .atlas-ambito,.lifestyle-app #flow-map path,.lifestyle-app #flow-map path.active{fill:#9dcbed;stroke:#fff;stroke-width:1;cursor:pointer}
.lifestyle-app #map .zone{fill:#9dcbed;stroke:#fff;stroke-width:2}
.lifestyle-app #map .zone.active,.lifestyle-app #flow-map path.selected{fill:#073f94;stroke:#032b68;stroke-width:2.5}
.lifestyle-app #map .zone.active{fill:#073f94!important}
.lifestyle-app #map :is(.zone,.atlas-ambito):is(:hover,:focus-visible),.lifestyle-app #flow-map path:is(:hover,:focus-visible){fill:#619fd9;stroke:#073f94;stroke-width:2.5;outline:none}
.lifestyle-app #map .zone.active:is(:hover,:focus-visible),.lifestyle-app #flow-map path.selected:is(:hover,:focus-visible){fill:#073f94;stroke:#d59a20;stroke-width:3}
.lifestyle-app #flow-map path.outside-scope{visibility:hidden;pointer-events:none}
.lifestyle-app #map .zlabel{fill:#fff;stroke:#173e70;stroke-width:2px;paint-order:stroke;pointer-events:none}
.lifestyle-app .territory-map-explainer{max-width:80ch;font-size:16px!important;color:#41536c;margin:0 0 18px}
.lifestyle-app .territory-map-explainer strong{color:#073f94}
.lifestyle-app .territory-price{display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding:20px 24px;margin:0 0 18px;background:#eaf3ff;border:1px solid #b8d0ef;border-radius:16px;color:#073f94}
.lifestyle-app .territory-price>div{min-width:0}
.lifestyle-app .territory-price span,.lifestyle-app .territory-price small{display:block;font:400 13px/1.5 Arial;color:#41536c}
.lifestyle-app .territory-price strong{display:block;font-size:21px;line-height:1.3;max-width:35ch}
.lifestyle-app .territory-price b{display:block;font-size:28px;font-variant-numeric:tabular-nums;line-height:1.3}
.lifestyle-app .map-level-switch{margin-bottom:14px}
.lifestyle-app .mapfoot p{margin:10px 0}
.lifestyle-app .territory-overview,.lifestyle-app .zone-drilldown{min-height:48px;padding:10px 16px;border:1px solid #9ebde2;border-radius:10px;background:#fff;color:#073f94;font-weight:700;white-space:normal}
.lifestyle-app .zone-boundary-note{margin-top:14px;font-size:14px}
.lifestyle-app .zone-boundary-note summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
.lifestyle-app #flow-micro-detail{margin:0;min-width:0;padding:24px;border-radius:20px;background:#fff}
.lifestyle-app #flow-micro-detail h3{font:700 30px/1.15 Georgia,serif!important;margin:8px 0 18px;color:#073f94}
.lifestyle-app .micro-price{padding:18px;margin:0 0 20px;background:#eaf3ff;border-radius:12px;color:#073f94}
.lifestyle-app .micro-price>span,.lifestyle-app .micro-price small{display:block;font-size:13px;line-height:1.5}
.lifestyle-app .micro-price>strong{display:block;font-size:30px;line-height:1.3;font-variant-numeric:tabular-nums;margin:4px 0}
.lifestyle-app .micro-price p{font-size:13px!important;margin:8px 0 0!important;color:#41536c}
.lifestyle-app .life-micro-workspace .life-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lifestyle-app .life-micro-workspace .life-metric{min-width:0;background:#f3f7fc;padding:14px;border-radius:12px}
.lifestyle-app .life-micro-workspace .life-metric b{display:block;color:#073f94;font-size:26px;line-height:1.3}
.lifestyle-app .life-micro-workspace .life-metric strong,.lifestyle-app .life-micro-workspace .life-metric small{display:block;font-size:14px;line-height:1.4}
.lifestyle-app .life-micro-workspace .life-metric small{font-size:12px;color:#536780;margin-top:6px}
.lifestyle-app .life-micro-context summary{gap:10px;font-size:16px;line-height:1.3;min-height:56px;padding:12px 0}
.lifestyle-app .life-micro-context summary:after{content:'+';margin-left:auto;font-size:22px}
.lifestyle-app .life-micro-context[open] summary:after{content:'−'}
.lifestyle-app .micro-actions{display:grid;gap:10px;margin-top:20px}
.lifestyle-app .micro-actions a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:10px 14px;color:#073f94;font-size:15px;font-weight:700;line-height:1.4}
.lifestyle-app .micro-actions .micro-valuation{background:#073f94;color:#fff;text-decoration:none;border-radius:10px}
.lifestyle-app .micro-actions #micro-services{margin-top:0}
@media(max-width:1000px){.lifestyle-app #zone-map-workspace,.lifestyle-app #micro-map-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){
 .lifestyle-app #zone-map-workspace,.lifestyle-app #micro-map-workspace{width:calc(100% + 8px);margin-inline:-4px;gap:16px}
 .lifestyle-app :is(#zone-map-workspace,#micro-map-workspace) .mapbar{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 .lifestyle-app .territory-price{padding:16px 18px;display:grid;gap:12px}
 .lifestyle-app .territory-price strong{font-size:20px}
 .lifestyle-app .territory-price b{font-size:29px}
 .lifestyle-app .territory-map-stage{padding:2px}
 .lifestyle-app #flow-micro-detail{padding:18px}
 .lifestyle-app .map-level-switch button{font-size:15px!important}
}

.lifestyle-app .life-zone-price strong{display:block;font-size:24px;color:#073f94}.lifestyle-app .life-zone-price small{display:block;font-size:12px;color:#536780}.lifestyle-app .life-match-card .micro-price{padding:12px;margin-bottom:12px}.lifestyle-app .life-match-card .micro-price>strong{font-size:25px}

.lifestyle-app :is(#zone-map-workspace,#micro-map-workspace){scroll-margin-top:calc(var(--giuliani-audio-height,0px) + 144px)}

/* Enter the map immediately after the two full-width mode controls. */
body.lifestyle-page .lifestyle-app #explore .map-level-switch{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px;margin-bottom:14px}
body.lifestyle-page .lifestyle-app #explore .map-level-switch button{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:12px 18px;font-size:17px!important;border-radius:12px;white-space:normal;line-height:1.3}
.lifestyle-app .territory-map-options{margin:0;background:#fff;border-radius:20px 20px 0 0}
.lifestyle-app .territory-map-options>summary{display:flex;align-items:center;min-height:48px;padding:12px 16px;font-size:14px;color:#073f94;font-weight:700;cursor:pointer}
.lifestyle-app .territory-map-options .mapbar{border-top:1px solid #d8e6f4;border-radius:0!important}
.lifestyle-app #territory-price{margin-top:18px}
.lifestyle-app .territory-map-explanation{padding:0 18px;border:1px solid #c8d9ec;border-radius:12px;background:#f7faff}
.lifestyle-app .territory-map-explanation summary{display:flex;align-items:center;min-height:48px;padding:12px 0;color:#073f94;font-size:15px;font-weight:700;cursor:pointer}
.lifestyle-app .territory-map-explanation p{font-size:15px;line-height:1.6;color:#41536c;margin:0 0 18px}
.area-guide__locate{display:inline-flex;align-items:center;min-height:44px;font-weight:700;line-height:1.4}.area-guide__route-note{display:block;width:100%;font-size:13px;color:#536780}
@media(max-width:760px){body.lifestyle-page .lifestyle-app #explore .section-head{padding-bottom:14px}body.lifestyle-page .lifestyle-app #explore .section-head h2{font-size:26px!important}.lifestyle-app #explore .section-head p{display:none}.lifestyle-app .territory-map-options>summary{min-height:44px;padding:10px 14px}}
