/* Compact, aligned translucent surfaces leave more of the map visible. */
.sms-layout .sms-map-heading,.sms-layout .sms-map-bottom{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.35);box-shadow:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.sms-layout .sms-map-heading{right:auto;max-width:calc(100% - 92px);padding:12px 16px}
.sms-layout .sms-map-heading h1{margin:0 0 5px}
.sms-layout .sms-map-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:10px 14px}
.sms-layout .city-search{display:flex;align-items:center;gap:8px;flex:1 1 100%;font-size:13px}
.sms-layout .city-search span{white-space:nowrap}
.sms-layout .city-search select{min-width:0;flex:1;padding:10px 34px 10px 11px;border:1px solid rgba(17,17,17,.55);border-radius:3px;background:rgba(255,255,255,.88);color:#111;font-size:16px}
.sms-layout .sms-map-bottom p{margin:0;flex:1 1 190px}
.sms-layout .sms-map-bottom #map-reset{margin:0;min-height:44px;background:rgba(255,255,255,.35);border-radius:3px;white-space:nowrap}
.sms-layout .sms-map-bottom #map-selections:empty{display:none}
.sms-layout .sms-map-bottom #map-selections:not(:empty){flex-basis:100%}
@media(max-width:720px){.sms-layout .sms-map-heading{left:10px;max-width:calc(100% - 76px);padding:10px 12px}.sms-layout .sms-map-bottom{left:10px;right:10px;padding:10px 12px;gap:6px 10px}.sms-layout .sms-map-bottom p{flex-basis:100%}.sms-layout .city-search{align-items:stretch;flex-direction:column;gap:4px}.sms-layout .city-search span{font-size:12px}.sms-layout .city-search select{width:100%}}
@media(prefers-reduced-transparency:reduce){.sms-layout .sms-map-heading,.sms-layout .sms-map-bottom{background:#fff}}
/* Colour trial: retain the map tiles' natural colours on SMS signup only. */
#city-map .leaflet-tile-pane{filter:none}
/* A quiet halo identifies selected cities without moving the clickable marker. */
#city-map .city-pin.selected>span{position:relative}
#city-map .city-pin.selected>span::after{content:"";position:absolute;inset:-9px;border:2px solid rgba(38,37,34,.65);border-radius:50%;pointer-events:none;animation:sms-city-pulse 2.4s ease-out infinite}
@keyframes sms-city-pulse{0%{transform:scale(.85);opacity:.65}75%,100%{transform:scale(1.9);opacity:0}}
@media(prefers-reduced-motion:reduce){#city-map .city-pin.selected>span::after{animation:none;transform:scale(1.1);opacity:.35}}
/* Two compact rows: chooser above, count/chosen cities beside reset below. */
.sms-layout .sms-map-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
.sms-layout .sms-map-bottom .city-search{grid-column:1/-1}
.sms-layout .sms-map-bottom .map-choice-summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-width:0}
.sms-layout .sms-map-bottom #map-feedback{flex:0 1 auto;margin:0}
.sms-layout .sms-map-bottom #map-selections:not(:empty){flex:0 1 auto;min-width:0;gap:6px}
.sms-layout .sms-map-bottom #map-selections button{padding:6px 10px;min-height:34px}
.sms-layout .sms-map-bottom #map-reset{grid-column:2;align-self:center;font-size:13px;padding:8px 10px}
/* City labels may wrap and are constrained to the map by city-map.js. */
#city-map .sms-city-tooltip{width:260px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
#city-map .sms-city-tooltip::before{display:none}
/* Keep the native city picker beside reset, with choices in the row above. */
.sms-layout .sms-map-bottom{gap:8px 10px}
.sms-layout .sms-map-bottom .map-choice-summary{grid-column:1/-1;grid-row:1;gap:6px 8px}
.sms-layout .sms-map-bottom .city-search{grid-column:1;grid-row:2;min-width:0;display:block}
.sms-layout .sms-map-bottom .city-search>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sms-layout .sms-map-bottom .city-search select{width:100%;min-height:44px;padding:10px 24px 10px 10px}
.sms-layout .sms-map-bottom #map-reset{grid-column:2;grid-row:2;min-height:44px}
@media(max-width:720px){.sms-layout .sms-map-bottom #map-selections button{font-size:13px;padding:5px 9px}}
