.street-entry{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,72px);align-items:center;margin:12px 0 32px;padding:clamp(24px,4vw,42px);border:1px solid #cbdcf1;border-radius:24px;background:linear-gradient(145deg,#fff,#f5f9ff);box-shadow:0 14px 38px #1733570b}
.street-entry h2{max-width:560px;color:#073f94;font:700 clamp(28px,3.3vw,43px)/1.13 Georgia,serif;letter-spacing:-.025em}
.street-entry p{color:#455976}
.street-entry form{min-width:0}
.street-entry form>label,.street-entry__prefs>label,.street-entry__more label{display:block;margin:0 0 8px;font-weight:750;color:#172030}
.street-entry__input{display:flex;gap:9px}
.street-entry input,.street-entry select{width:100%;min-width:0;min-height:50px;padding:10px 13px;border:1px solid #a8bfd9;border-radius:11px;background:#fff;color:#172030;font:16px Arial,sans-serif}
.street-entry__input input{flex:1}
.street-entry__input button{min-height:50px;white-space:nowrap;background:#0756c5;border-color:#0756c5;color:#fff}
.street-entry__prefs{margin:18px 0 4px}
.street-entry__more{margin-top:14px;border-top:1px solid #dce5f0}
.street-entry__more summary{min-height:48px;display:flex;align-items:center;color:#0756c5;font-weight:750;cursor:pointer}
.street-entry__more[open] label{margin-top:8px}
.street-entry__more p,.street-entry #street-entry-status{font-size:14px;line-height:1.45}
.street-entry #street-entry-status{min-height:21px;margin:15px 0 0;color:#41536c}
.street-entry :is(input,select,button,summary):focus-visible{outline:3px solid #edaa39;outline-offset:3px}
.street-entry button:disabled{opacity:.7;cursor:progress}
.street-entry__route{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.street-entry__route button{min-height:48px}
@media(max-width:900px){.street-entry{grid-template-columns:1fr}}
@media(max-width:580px){.street-entry{padding:22px 18px}.street-entry__input{flex-direction:column}.street-entry__input button{white-space:normal}.street-entry h2{font-size:31px}}
#life-charts{margin:22px 0 34px;padding:clamp(18px,3vw,30px);border:1px solid #d7e5f6;border-radius:20px;background:#fff}
#life-charts .section-head{align-items:center}
#life-charts select{min-height:48px;padding:8px 13px;border:1px solid #a8bfd9;border-radius:9px;background:#fff;color:#172030}
#life-charts #zoneChart{max-height:410px;overflow:auto;overscroll-behavior:contain;padding:12px 18px}
#life-charts #zoneChart .bar i{transform-origin:left;animation:street-chart-in .6s ease-out both}
@keyframes street-chart-in{from{transform:scaleX(.04)}to{transform:scaleX(1)}}
@media(max-width:720px){#life-charts .section-head{display:block}#life-charts #zoneChart{max-height:360px;padding:12px 8px}#life-charts #zoneChart>div{grid-template-columns:minmax(100px,1fr) minmax(70px,1fr) 50px!important;gap:7px!important}#life-charts #zoneChart button{font-size:12px!important}#life-charts #zoneChart strong{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){#life-charts #zoneChart .bar i{animation:none}}
#life-charts #zoneChart button{min-height:48px;border:0;text-align:left;background:transparent;color:#073f94;font-weight:700}
#life-charts #zoneChart button:hover,#life-charts #zoneChart button:focus-visible{background:#edf5ff}
/* Una domanda alla volta: una scheda compatta prima della mappa. */
.street-entry{width:min(100%,840px);min-height:660px;grid-template-columns:1fr;align-content:center;gap:16px;margin:28px auto 48px;padding:clamp(28px,5vw,54px);background:radial-gradient(circle at 100% 0%,#eaf4ff 0%,#fff 44%)}
.street-entry h2{max-width:720px;margin:8px 0 12px;font-size:clamp(32px,3.4vw,45px)}
.street-entry__intro p{max-width:660px;margin:0}
.street-entry__route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:22px}
.street-entry__route button{padding:12px 10px;border:1px solid #bdcee6;border-radius:15px;background:#fff;color:#073f94;font-weight:750;box-shadow:0 5px 14px #0b4b9314;cursor:pointer}
.street-entry__route button:hover{background:#eaf3ff;border-color:#0756c5}
.life-rail{position:fixed;right:17px;top:50%;z-index:40;display:grid;gap:7px;transform:translateY(-50%);padding:8px;border:1px solid #d6e3f3;border-radius:28px;background:#fffffff0;box-shadow:0 18px 48px #051d3b26;backdrop-filter:blur(18px)}
.life-rail a{display:flex;align-items:center;justify-content:center;position:relative;width:50px;height:50px;border-radius:17px;color:#073f94;text-decoration:none;font:700 18px Arial;transition:transform .2s,background .2s,color .2s}
.life-rail a:hover,.life-rail a[aria-current=location]{background:#0756c5;color:#fff;transform:scale(1.06)}
.life-rail a:focus-visible{outline:3px solid #edaa39;outline-offset:2px}
.life-rail a span{position:absolute;right:62px;white-space:nowrap;opacity:0;pointer-events:none;transform:translateX(8px);padding:8px 11px;border-radius:10px;background:#092855;color:#fff;font:700 13px Arial;transition:opacity .2s,transform .2s}
.life-rail a:hover span,.life-rail a:focus-visible span{opacity:1;transform:none}
@media(max-width:1100px){.life-rail{display:none}}
@media(max-width:580px){.street-entry{min-height:0;width:100%;padding:24px 18px}.street-entry__route{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){.life-rail a,.life-rail a span{transition:none}}

.lifestyle-app #service-results:empty,.maps-lab #district-service-results:empty{display:none}

/* Two explicit actions, scoped to the existing street form. */
.street-entry__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.street-entry__actions button{min-width:0;min-height:50px;padding:12px;border:1px solid #0b2342;border-radius:11px;color:#0b2342;background:transparent;font-weight:700}
.street-entry__actions button.primary{background:#0b2342;color:#fff;border-color:#0b2342}
#life-google-map{scroll-margin-top:130px}
@media(max-width:580px){.street-entry__actions{grid-template-columns:1fr}.street-entry__actions button{width:100%}}
