/* Shared map console: no column taller than the map and no clipped controls. */
.maps-lab .google-map-frame{padding:clamp(10px,1.5vw,20px);box-sizing:border-box;background:#f3f7fc}
.maps-lab .maps-terminal{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(0,1.5fr);min-height:0;gap:18px;align-items:start;position:relative;isolation:isolate}
.maps-lab .map-canvas{grid-column:2;grid-row:1;align-self:stretch;position:relative;top:auto;z-index:0;min-width:0;min-height:clamp(420px,43vw,580px);height:auto;border:1px solid #8faecb;border-radius:14px;overflow:hidden}
.maps-lab .map-canvas>#google-map{position:absolute;inset:0;height:100%;min-height:0;width:100%}
.maps-lab .maps-console{grid-column:1/-1;position:relative;min-width:0;border:1px solid #c7d9eb;border-radius:14px;padding:clamp(14px,2vw,24px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.maps-lab .maps-console>:is(.zone-pulse,.district-street,h3,.layer-buttons,.places-result){grid-column:1/-1;margin:0}
.maps-lab .maps-console>.layer-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.maps-lab .senior-services{grid-column:1/-1;margin:0 0 8px;padding:20px}
.maps-lab .senior-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.maps-lab .layer-button{display:flex;align-items:center;gap:10px;min-width:0;width:100%;min-height:52px;height:auto;padding:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-size:16px;text-align:left;box-sizing:border-box}
.maps-lab .layer-button span{min-width:0;white-space:normal}
.maps-lab .layer-button svg{flex-shrink:0}
.maps-lab .district-cycling-control{margin:0}
.maps-lab #district-cycling{font-size:16px}
.maps-lab .map-radius{margin:0;min-width:0}
.maps-lab .map-radius select{width:100%;box-sizing:border-box;min-width:0;font-size:16px;min-height:48px}
.maps-lab .maps-console>.mobility-submit{margin:0;align-self:end;min-height:52px;font-size:16px;white-space:normal}
.maps-lab .maps-console>.map-context{margin:0;font-size:16px;line-height:1.5}
.maps-lab .maps-console>[hidden]{display:none!important}
.maps-lab .places-list{max-height:none;overflow:visible}
@media(min-width:1400px){.maps-lab .maps-console>.layer-buttons{grid-template-columns:repeat(5,minmax(0,1fr))}.maps-lab .senior-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.maps-lab .maps-console{grid-template-columns:minmax(0,1fr);gap:14px}.maps-lab .maps-console>.layer-buttons,.maps-lab .senior-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.maps-lab .map-canvas{height:390px;min-height:390px}.maps-lab .senior-services{padding:14px}.maps-lab .map-caption{max-width:calc(100% - 28px);box-sizing:border-box}.maps-lab .layer-button{font-size:16px;padding:10px;gap:8px}}
@media(max-width:380px){.maps-lab .senior-category-grid,.maps-lab .maps-console>.layer-buttons{grid-template-columns:minmax(0,1fr)}}

/* Clock, weather and flows stay on the left; address and services span below. */
.maps-lab .maps-status{grid-column:1;grid-row:1;min-width:0;position:relative;align-self:start;text-align:left}
.maps-lab .maps-status .zone-pulse{margin:0}
.maps-lab .maps-status .zone-pulse__head{flex-wrap:wrap;justify-content:flex-start;gap:16px}
.maps-lab .maps-status .zone-pulse__weather{flex:1 1 130px}
.maps-lab .maps-status .zone-pulse :is(select,button){font-size:16px;min-height:48px}
.maps-lab .maps-status .zone-pulse__status{font-size:14px;line-height:1.5}
@media(max-width:900px){.maps-lab .maps-terminal{grid-template-columns:minmax(0,1fr)}.maps-lab .maps-status{grid-column:1;grid-row:1}.maps-lab .map-canvas{grid-column:1;grid-row:2;position:relative;top:auto;min-height:390px;height:390px}.maps-lab .maps-console{grid-row:3}}

/* Lifestyle: one map, grouped services and a shared search strip. */
.lifestyle-app #daily-life{--service-gap:20px;box-sizing:border-box}
.lifestyle-app #daily-life .service-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:"map live" "health services" "search search";gap:var(--service-gap);align-items:start}
.lifestyle-app #daily-life .service-layout>*,.lifestyle-app #daily-life .service-layout :is(button,select,input,details){box-sizing:border-box;min-width:0;max-width:100%}
.lifestyle-app #daily-life .service-map-wrap{grid-area:map;position:relative;top:auto;min-width:0;padding:0;border:0;isolation:isolate}
.lifestyle-app #daily-life .service-map-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;position:relative;inset:auto;align-items:stretch}
.lifestyle-app #daily-life .service-map-toolbar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;height:auto;padding:10px 12px;font:700 16px/1.4 Arial,sans-serif;white-space:normal;border:1px solid #adc4df;border-radius:10px;background:white;color:#103c69;cursor:pointer}
.lifestyle-app #daily-life .cycling-control{display:contents}
.lifestyle-app #daily-life #map-cycling{width:auto;flex:1 1 130px}
.lifestyle-app #daily-life #map-cycling svg{flex:0 0 24px;width:24px}
.lifestyle-app #daily-life .service-map-toolbar button[aria-pressed=true]{background:#103c69;color:#fff;border-color:#103c69}
.lifestyle-app #daily-life .life-google-map{box-sizing:border-box;width:100%;height:clamp(350px,30vw,440px);min-height:350px;border:1px solid #adc4df;border-radius:14px;overflow:hidden;position:relative;z-index:0;scroll-margin-top:var(--section-anchor-offset,220px)}
.lifestyle-app #daily-life .service-live-status{grid-area:live;min-width:0;padding:0;border:0;background:transparent}
.lifestyle-app #daily-life .service-live-status .zone-pulse{margin:0;padding:20px;border-radius:16px}
.lifestyle-app #daily-life .zone-pulse__head{flex-wrap:wrap;gap:16px;justify-content:space-between}
.lifestyle-app #daily-life .zone-pulse__weather{flex:1 1 140px}
.lifestyle-app #daily-life .service-layout>.senior-services{grid-area:health;width:100%;margin:0;padding:20px;border-radius:16px;border:1px solid #adc4df;background:#f0f6ff}
.lifestyle-app #daily-life .service-console{grid-area:services;position:relative;top:auto;width:100%;max-height:none;overflow:visible;padding:20px;border:1px solid #d4e1f1;border-radius:16px;background:#fff}
.lifestyle-app #daily-life :is(.service-console,.senior-services) h3{margin:0 0 12px;line-height:1.3;overflow-wrap:anywhere}
.lifestyle-app #daily-life .service-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lifestyle-app #daily-life .service-categories button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-width:0;width:100%;height:auto;min-height:52px;padding:12px;font-size:16px!important;line-height:1.45;white-space:normal;overflow-wrap:anywhere;text-align:left}
/* Labels must not inherit the icon's 22px size or non-shrinking flex rule. */
.lifestyle-app #daily-life .service-layout button>span:not([aria-hidden]){flex:1 1 auto;min-width:0;font-size:inherit!important;line-height:inherit;color:inherit;white-space:normal;overflow-wrap:anywhere}
.lifestyle-app #daily-life .service-categories button>span[aria-hidden]{flex:0 0 20px;font-size:20px}
.lifestyle-app #daily-life :is(.senior-services,.service-console) p{font-size:16px!important;line-height:1.6!important;overflow-wrap:anywhere;margin:0 0 16px}
.lifestyle-app #daily-life :is(.senior-autonomy,.service-mobility){border-top:1px solid #adc9eb;margin-top:16px;padding-top:10px}
.lifestyle-app #daily-life :is(.senior-autonomy,.service-mobility,.service-explanation) summary{white-space:normal;line-height:1.5;min-height:48px;overflow-wrap:anywhere;cursor:pointer;color:#103c69;font-weight:700}
.lifestyle-app #daily-life .service-search-panel{grid-area:search;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 20px;align-items:end;padding:20px;background:#fff;border:1px solid #d4e1f1;border-radius:16px}
.lifestyle-app #daily-life .field{display:grid;gap:8px;margin:0;color:#103c69;font-size:16px}
.lifestyle-app #daily-life .field select{box-sizing:border-box;width:100%;font-size:16px;min-height:48px}
.lifestyle-app #daily-life #search-services{width:100%;max-width:100%;height:auto;min-height:48px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-size:16px!important;padding:12px 14px}
.lifestyle-app #daily-life .service-status{grid-column:1/-1;min-height:0;margin:0;padding:12px 0 0;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.lifestyle-app #daily-life .service-status strong{font-size:20px}
.lifestyle-app #daily-life .service-status span{display:block}
.lifestyle-app #daily-life .service-explanation{align-self:start}
.lifestyle-app #daily-life .service-story{margin:8px 0;font-size:16px!important;overflow-wrap:anywhere}
.lifestyle-app #daily-life #google-fallback{align-self:start;justify-self:end;min-height:48px;max-width:100%;font-size:14px;overflow-wrap:anywhere}
.lifestyle-app #daily-life :is(.map-point,#map-cycling-note){font-size:14px!important;line-height:1.55;overflow-wrap:anywhere;margin:10px 0 0}
.lifestyle-app #daily-life .service-live-status :is(button,select){font-size:16px;min-height:48px;white-space:normal}
.lifestyle-app #daily-life .service-results:empty{display:none}
.lifestyle-app #daily-life .life-destinations{margin-top:20px;box-sizing:border-box;min-width:0}
.lifestyle-app #daily-life .life-destinations :is(button,select,input,fieldset){box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1050px){.lifestyle-app #daily-life .service-layout{grid-template-columns:repeat(2,minmax(0,1fr));--service-gap:16px}.lifestyle-app #daily-life :is(.service-layout>.senior-services,.service-console,.service-search-panel){padding:16px}.lifestyle-app #daily-life .service-categories{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.lifestyle-app #daily-life .service-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"map" "live" "health" "services" "search"}.lifestyle-app #daily-life .life-google-map{height:360px;min-height:360px}.lifestyle-app #daily-life .service-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.lifestyle-app #daily-life{padding:16px}.lifestyle-app #daily-life .service-categories,.lifestyle-app #daily-life .service-search-panel{grid-template-columns:minmax(0,1fr)}.lifestyle-app #daily-life #google-fallback{justify-self:start}.lifestyle-app #daily-life .life-google-map{height:330px;min-height:330px}}

/* The Lifestyle map uses this column for the live context and the search radius. */
.lifestyle-app #daily-life .service-layout{grid-template-areas:"map live" "health services"}
.lifestyle-app #daily-life .service-live-status{padding:18px;border:1px solid #b6cee5;border-radius:16px;background:linear-gradient(125deg,#eef7ff,#fff 70%,#e6f2fe)}
.lifestyle-app #daily-life .service-live-status .zone-pulse{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.lifestyle-app #daily-life .service-live-status .zone-pulse :is(.zone-pulse__flows,.zone-pulse__status,.zone-pulse__legend,.zone-pulse__sources){display:none!important}
.lifestyle-app #daily-life .service-live-status .service-search-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0 0;border:0;border-radius:0;background:transparent}
.lifestyle-app #daily-life .service-live-status :is(.service-status,.service-explanation,#google-fallback){grid-column:auto;justify-self:stretch;margin:0}
.lifestyle-app #daily-life .service-live-status .service-status{padding:3px 0 0}
.lifestyle-app #daily-life .service-live-status .service-explanation{border-top:1px solid #cddfed;padding-top:7px}
.lifestyle-app #daily-life .service-live-status #google-fallback{min-height:44px}
.lifestyle-app #daily-life #destinazioni{scroll-margin-top:var(--section-anchor-offset,220px);margin-top:20px}
@media(max-width:760px){.lifestyle-app #daily-life .service-layout{grid-template-areas:"map" "live" "health" "services"}}
