@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#24171c;background:#f7f8fa;font-synthesis:none;--red:#c72741;--muted:#747077;--border:#e5e1e4;--dark:#25151b}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,#map:focus-visible{outline:3px solid #e54468;outline-offset:4px}a{color:inherit}button{color:inherit}.topbar{height:84px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--border);gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Manrope,Arial,sans-serif;font-size:25px;font-weight:800;letter-spacing:-1px}.brand-mark{background:var(--red);color:white;border-radius:11px;width:42px;height:42px;display:grid;place-items:center;font-size:24px;letter-spacing:-2px;padding-right:2px}.brand-dot{color:var(--red)}.header-context{font-size:12px;letter-spacing:1.4px;color:#80787e;font-weight:600}.header-context span{padding:0 15px;color:#b0a7ae}.text-button{background:transparent;border:0;font-size:14px}.text-button span{margin-left:8px;color:var(--red)}main{height:calc(100dvh - 84px);min-height:630px;display:grid;grid-template-columns:354px minmax(0,1fr)}.sidebar{background:var(--dark);color:white;padding:30px 28px 18px;display:flex;flex-direction:column;overflow:auto}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:700;line-height:1.6}.sidebar-heading .eyebrow{color:#e79fab}.sidebar h1{font-family:Manrope,Arial,sans-serif;letter-spacing:-1.7px;font-size:34px;line-height:1.22;font-weight:600;margin:13px 0 14px}.sidebar-heading p{font-size:14px;line-height:1.7;color:#bfb0b7;margin:0 0 24px}.dataset-label{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid #4b353e;border-bottom:1px solid #4b353e;font-size:14px}.date-badge{font-size:11px;color:#e7b7c0;padding:5px 7px;background:#402830;border-radius:4px;letter-spacing:.5px}.detail{padding:25px 0 23px;border-bottom:1px solid #4b353e}.detail .eyebrow{color:#c3aab5;font-size:10px}.detail h2{font-family:Manrope,Arial,sans-serif;font-size:23px;line-height:1.25;margin:5px 0 13px;font-weight:600}.price{font-family:Manrope,Arial,sans-serif;font-size:48px;font-weight:700;letter-spacing:-2px;line-height:1.15}.price span{font-family:'DM Sans',Arial,sans-serif;font-size:18px;font-weight:400;color:#c2aab5;letter-spacing:0}.price-caption{font-size:12px;color:#bca8b1;margin-top:6px}.variation{font-size:14px;color:#ffd1d8;margin-top:17px}.variation span{font-size:12px;color:#bca8b1;margin-left:5px}.detail-source{display:inline-block;color:#d9bec9;font-size:12px;margin-top:17px;text-decoration:underline;text-underline-offset:4px}.territory-section{padding-top:23px;flex:1;min-height:160px;display:flex;flex-direction:column}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:10px}.section-title h3{font-size:14px;font-weight:500;margin:0}.section-title>span{font-size:11px;color:#bd9daa;border:1px solid #63424f;border-radius:5px;padding:2px 6px}.territory-list{overflow:auto;min-height:110px;scrollbar-width:thin;scrollbar-color:#6f4859 transparent;max-height:380px}.territory-row{display:flex;align-items:center;gap:10px;width:100%;background:none;border:0;border-radius:7px;padding:11px 4px;color:#ddcbd3;text-align:left;font-size:13px}.territory-row:hover,.territory-row:focus-visible,.territory-row.active{background:#412932}.territory-row .swatch{width:8px;height:8px;border-radius:50%;flex:none}.territory-row .row-name{flex:1}.territory-row strong{font-size:13px;font-weight:500;color:white;font-variant-numeric:tabular-nums}.territory-row .arrow{color:#a8798c;margin-left:5px}.sidebar-note{display:flex;gap:10px;align-items:center;border-top:1px solid #4b353e;margin-top:20px;padding-top:16px;color:#b79faa}.sidebar-note p{font-size:11px;line-height:1.6;margin:0}.note-icon{border:1px solid #896272;border-radius:50%;height:16px;width:16px;flex:none;display:grid;place-items:center;font-size:10px}.map-workspace{position:relative;overflow:hidden;background:#f0f3f5}.map-top{position:absolute;z-index:5;top:27px;left:30px;right:30px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;pointer-events:none}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;flex-wrap:wrap;padding:10px 0}.breadcrumbs button{border:0;background:none;color:var(--muted);padding:0;font-size:14px;pointer-events:auto}.breadcrumbs span{color:#514650}.level-control{display:flex;gap:3px;background:white;padding:5px;box-shadow:0 3px 12px #35202d0b;border:1px solid #e1e2e6;border-radius:9px;pointer-events:auto}.level-control button{border:0;background:none;border-radius:5px;font-size:13px;padding:9px 14px;color:#80727a}.level-control button[aria-pressed="true"]{background:var(--dark);color:white}.map-caption{position:absolute;top:120px;left:34px;pointer-events:none}.map-caption .eyebrow{font-size:11px;letter-spacing:2.2px;color:#958590}.map-caption p{font-family:Manrope,Arial,sans-serif;font-size:25px;line-height:1.45;letter-spacing:-.7px;color:#51434c;margin:8px 0}#map{position:absolute;inset:0;outline-offset:-4px;cursor:grab;touch-action:none}#map:active{cursor:grabbing}#map-svg{width:100%;height:100%;display:block}#map-status{position:absolute;inset:50% 20px auto;text-align:center;color:var(--muted);font-size:14px}.area{stroke:#fff;stroke-width:1.2;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s,opacity .18s}.area:hover,.area:focus{stroke:#591727;stroke-width:2;outline:0}.area.selected{stroke:#451323;stroke-width:2.3}.region-outline{fill:none;stroke:#fff;stroke-width:1.6;vector-effect:non-scaling-stroke;pointer-events:none}.map-label{font-family:'DM Sans',Arial,sans-serif;pointer-events:none;text-anchor:middle;paint-order:stroke;stroke:#f5f7f8;stroke-width:3px;stroke-linejoin:round;fill:#4c3643;font-size:11px;font-weight:600}.sea-label{fill:#a2afb7;letter-spacing:4px;font-size:12px;font-style:italic;pointer-events:none}.map-controls{position:absolute;right:29px;bottom:150px;display:flex;flex-direction:column;gap:1px;box-shadow:0 3px 16px #38232d0e;border:1px solid #d9dce1;border-radius:9px;overflow:hidden}.map-controls button{height:44px;width:44px;border:0;background:white;font-size:25px;font-weight:400}.map-controls button:hover{background:#f9e9ee}.map-controls button+button{border-top:1px solid #eee7eb}.map-bottom{position:absolute;bottom:53px;left:30px;right:30px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;pointer-events:none}.legend{padding:16px 19px;background:white;border:1px solid #e1e2e6;border-radius:10px;width:290px;box-shadow:0 3px 15px #35202d08}.legend-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:13px}.legend-heading strong{font-weight:600}.legend-heading>span{color:#85727e}.color-scale{height:9px;background:linear-gradient(90deg,#fff0ed,#f9b9ac,#ee7b75,#db455a,#ad173c,#690e2d);border-radius:3px}.legend-labels{display:flex;justify-content:space-between;font-size:10px;color:#8a7883;margin-top:7px}.map-hint{font-size:11px;color:#9b8994;padding-bottom:5px}.attribution{position:absolute;bottom:14px;right:20px;left:20px;text-align:right;color:#8c8490;font-size:10px;line-height:1.5}.attribution a{text-decoration:underline;text-underline-offset:2px}.map-tooltip{position:absolute;z-index:9;pointer-events:none;background:white;box-shadow:0 8px 24px #34172222;padding:13px 16px;border:1px solid #eadde3;border-radius:9px;font-size:13px;min-width:150px}.map-tooltip strong{display:block;font-size:21px;margin-top:5px}.map-tooltip small{color:#8a7883;display:block;font-size:11px;margin-top:4px}dialog{border:1px solid #e9dde3;border-radius:15px;box-shadow:0 30px 90px #160a1840;max-width:570px;width:calc(100% - 32px);padding:0;color:var(--dark);max-height:85dvh}dialog::backdrop{background:#27151d77;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 27px;border-bottom:1px solid #e9dde3}.dialog-heading h2{margin:0;font-size:22px;font-family:Manrope,Arial,sans-serif}.dialog-heading button{border:0;background:#f4edf1;border-radius:50%;width:32px;height:32px;font-size:23px}.dialog-body{padding:4px 27px 24px}.dialog-body h3{font-size:16px;margin:22px 0 8px}.dialog-body p{font-size:14px;color:#75636f;line-height:1.7;margin:6px 0}.dialog-body a{color:#b01a40}.empty-data{color:#bea4b0;font-size:13px;padding:12px 0}.country-shape{fill:#e2e6e9;stroke:#f6f8f9;stroke-width:1;vector-effect:non-scaling-stroke}.country-label{fill:#adb5bd;font-size:12px;letter-spacing:2px;pointer-events:none}.no-data-key{font-size:10px;color:#8a7883;margin-top:10px}.no-data-key:before{content:'';display:inline-block;width:9px;height:9px;background:#d9dce0;margin-right:6px;border-radius:2px}
@media(min-height:950px){.sidebar{padding-top:40px}.sidebar-heading p{margin-bottom:32px}.detail{padding-top:32px;padding-bottom:30px}.territory-list{max-height:none}.sidebar h1{font-size:38px}}@media(max-width:1100px){main{grid-template-columns:315px minmax(0,1fr)}.sidebar{padding:25px 24px 18px}.sidebar h1{font-size:30px}.price{font-size:43px}.topbar{padding:0 25px}.header-context{display:none}.map-caption p{font-size:20px}.map-hint{display:none}.map-top{left:23px;right:23px}.map-caption{left:26px}.map-bottom{left:23px}}@media(max-width:720px){.topbar{height:70px;padding:0 18px}.brand{font-size:21px}.brand-mark{width:35px;height:35px;font-size:21px}.text-button{font-size:12px;max-width:130px;text-align:right}main{display:flex;flex-direction:column;height:auto;min-height:0}.map-workspace{order:0;height:65dvh;min-height:430px}.sidebar{order:1;display:grid;grid-template-columns:1fr 1fr;gap:0 22px;padding:24px 22px;overflow:visible}.sidebar-heading{grid-column:1/3}.sidebar-heading h1{font-size:29px;margin:8px 0}.sidebar-heading h1 br{display:none}.sidebar-heading p{font-size:14px;margin-bottom:16px}.sidebar-heading p br{display:none}.dataset-label{grid-column:1/3}.detail{padding:24px 0 14px;border-bottom:none;align-self:start}.detail h2{font-size:22px}.detail .eyebrow{font-size:10px;letter-spacing:1px}.price{font-size:37px}.price span{font-size:14px}.variation span{display:block;margin:6px 0 0}.territory-section{padding-top:23px;min-height:240px}.territory-list{max-height:260px}.section-title h3{font-size:13px}.sidebar-note{grid-column:1/3;margin-top:18px}.sidebar-note p br{display:none}.map-top{top:18px;left:18px;right:18px}.map-caption{top:83px;left:21px}.map-caption p{font-size:16px;line-height:1.4}.map-caption .eyebrow{font-size:10px}.map-bottom{bottom:41px;left:16px;right:16px}.legend{width:240px;padding:12px 14px}.map-controls{right:17px;bottom:45px}.map-controls button{width:39px;height:39px}.level-control button{font-size:12px;padding:7px 10px}.attribution{font-size:9px;right:13px;left:13px;bottom:10px}.breadcrumbs{font-size:12px;max-width:47%;gap:6px}.breadcrumbs button{font-size:12px}.legend-labels{font-size:10px}.map-tooltip{display:none!important}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Readable working labels and compact source metadata. */
.eyebrow{font-size:12px}.sidebar-heading p{font-size:16px}.date-badge{font-size:12px}.detail .eyebrow{font-size:12px;letter-spacing:1px}.price-caption,.variation span,.detail-source{font-size:12px}.section-title>span{font-size:12px}.territory-row,.territory-row strong{font-size:14px}.sidebar-note p{font-size:12px}.legend-heading{font-size:14px}.legend-labels,.attribution,.map-hint{font-size:12px}.map-label{font-size:12px}.level-control button{font-size:14px}.map-caption .eyebrow{font-size:12px}.dialog-body p{font-size:16px}.map-bottom{bottom:64px}.attribution{bottom:13px;line-height:1.5}.territory-row .swatch{border:1px solid #ffffff35}.map-tooltip small{font-size:12px}.map-tooltip{max-width:260px}.map-tooltip strong span{font-size:14px;font-weight:400;color:#88717e}button:disabled{opacity:.45;cursor:default}.map-caption p{font-size:21px}.section-title h3{line-height:1.5}.sidebar-heading h1{letter-spacing:-1px}#reload-map{display:inline-block;border:1px solid #c72741;background:white;color:#a8193c;padding:9px 14px;border-radius:7px;margin:10px}#map-status[hidden]{display:none}
@media(max-width:720px){.map-bottom{bottom:57px}.attribution{font-size:12px;bottom:9px;text-align:left}.map-controls{bottom:62px}.map-caption p{font-size:16px}.map-caption .eyebrow,.detail .eyebrow,.sidebar-note p,.text-button{font-size:12px}.legend{width:240px}.legend-labels{font-size:12px}.sidebar-heading p{font-size:16px}.sidebar{display:flex;flex-direction:column;gap:0}.detail{border-bottom:1px solid #4b353e}.territory-section{min-height:200px}.territory-list{max-height:250px}.level-control button,.breadcrumbs,.breadcrumbs button{font-size:14px}.breadcrumbs{max-width:42%}.map-top{gap:10px}}
@media(min-width:721px) and (max-height:790px){.sidebar-heading p{margin-bottom:18px}.sidebar h1{font-size:30px}.sidebar{padding-top:23px}.detail{padding:20px 0}.territory-section{padding-top:18px}.sidebar-note{margin-top:13px;padding-top:13px}}

@media(max-width:1100px){.map-caption{display:none}}
/* Neighborhood comparison extends the existing red map palette. */
[hidden]{display:none!important}.neighborhood-panel{position:absolute;inset:0;z-index:4;background:#f8f9fb;padding:96px 32px 28px;overflow:auto}.show-zones .map-top{background:#f8f9fb;padding-bottom:14px;right:24px}.show-zones #map,.show-zones .map-caption,.show-zones .map-controls,.show-zones .map-bottom,.show-zones .attribution{visibility:hidden}.zone-heading .eyebrow{color:#a82143;font-size:12px}.zone-heading h2{font-family:Manrope,Arial,sans-serif;font-size:30px;line-height:1.25;margin:8px 0;letter-spacing:-.8px}.zone-heading p{font-size:16px;color:#71656d;margin:0 0 24px}.zone-selectors,.zone-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px}.neighborhood-panel label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#66535e}.neighborhood-panel select,.neighborhood-panel input{width:100%;min-width:0;border:1px solid #dcd4d9;border-radius:8px;background:white;padding:11px 12px;color:#25151b;font:inherit;font-size:16px;min-height:46px}.neighborhood-panel select:focus-visible,.neighborhood-panel input:focus-visible{outline:3px solid #e54468;outline-offset:2px}.zone-summary{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px;padding:22px 0;margin:3px 0 18px;border-bottom:1px solid #e5dde2}.zone-summary>div{display:flex;flex-direction:column;gap:7px}.zone-summary span{font-size:14px;color:#71616b}.zone-summary strong{font-size:24px;font-family:Manrope,Arial,sans-serif}.zone-summary small{font-family:'DM Sans',Arial,sans-serif;font-size:14px;font-weight:400;color:#76606d}.zone-summary a{font-size:14px;color:#a81e42;text-underline-offset:4px}.zone-tools{grid-template-columns:minmax(0,1fr) 190px}.zone-result-count{font-size:14px;color:#796873;margin:20px 0 12px}.zone-list{display:grid;gap:10px}.zone-row{width:100%;background:white;border:1px solid #e5dfe3;border-radius:10px;padding:17px 18px;text-align:left}.zone-row:hover,.zone-row[aria-pressed=true]{border-color:#b92b4a;background:#fff9fa}.zone-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:18px;font-size:16px;line-height:1.5}.zone-row-top>span{flex:1;min-width:0}.zone-row strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:19px;color:#831033}.zone-row small{font-size:14px;font-weight:400}.zone-track{display:block;height:9px;border-radius:3px;background:#f3eaee;margin:12px 0 8px;overflow:hidden}.zone-track>span{display:block;height:100%;border-radius:3px}.zone-delta{display:block;font-size:14px;color:#72616a}.zone-footnote{font-size:14px;line-height:1.7;color:#71616b;border-top:1px solid #e2d9df;margin:24px 0 0;padding:18px 0 0}.zone-empty{padding:25px;background:#f0ebef;border-radius:10px;font-size:16px;line-height:1.6}.zone-detail-delta{font-size:14px;line-height:1.6;color:#ffd0dc;margin:16px 0 0}.breadcrumbs{flex-wrap:wrap;max-width:48%}.show-zones .breadcrumbs{font-size:14px}.show-zones .breadcrumbs span{overflow-wrap:anywhere}.show-zones .level-control{flex-shrink:0}
@media(max-width:1000px){.neighborhood-panel{padding:120px 22px 24px}.zone-heading h2{font-size:26px}.zone-tools{grid-template-columns:1fr}.show-zones .map-top{flex-direction:column;gap:12px}.show-zones .breadcrumbs{max-width:100%}.zone-row-top{flex-wrap:wrap;gap:6px}.zone-row-top>span{flex-basis:100%}}
@media(max-width:720px){.show-zones{height:85dvh;min-height:600px}.neighborhood-panel{padding:122px 18px 22px}.zone-selectors{gap:10px}.zone-summary{gap:18px}.zone-summary strong{font-size:22px}.zone-row{padding:14px}.zone-tools{grid-template-columns:minmax(0,1fr) 150px;gap:10px}.zone-heading h2{font-size:26px}.show-zones .map-top{right:18px}.show-zones .breadcrumbs{max-width:100%}}
@media(max-width:390px){.zone-selectors,.zone-tools{grid-template-columns:1fr}.neighborhood-panel{padding-top:130px}}

.community-box{position:absolute;z-index:6;right:28px;top:142px;display:flex;align-items:center;gap:16px;padding:12px 14px;background:#fff;border:1px solid #ded7db;border-radius:12px;box-shadow:0 8px 26px #3017221c}.community-box div{display:flex;flex-direction:column;gap:2px}.community-box strong{font-size:14px}.community-box span{font-size:12px;color:#786b72}.community-box button,#confirm-location{border:0;border-radius:8px;background:#c72741;color:#fff;font-weight:700;padding:10px 14px}.community-pin{pointer-events:auto;cursor:pointer}.community-pin circle{fill:#c72741;stroke:#fff;stroke-width:3;filter:drop-shadow(0 3px 5px #3a16294d)}.community-pin text{fill:#fff;font-size:17px;font-weight:900}.community-dialog-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:28px}.community-dialog-card h2{font:700 27px Manrope,Arial,sans-serif;margin:0}.community-dialog-card p{margin:0;color:#71636b;line-height:1.55}.community-dialog-card label{display:flex;flex-direction:column;gap:7px;font-size:14px}.community-dialog-card input{font:inherit;font-size:16px;padding:12px;border:1px solid #d9d0d5;border-radius:8px}.community-close{position:absolute;right:14px;top:12px;border:0;background:#f2e9ed;border-radius:50%;width:34px;height:34px;font-size:22px}.community-dialog-card #community-status{min-height:24px;font-size:14px;color:#8f1036}
@media(max-width:720px){.community-box{top:auto;right:16px;left:16px;bottom:102px;justify-content:space-between}.community-box button{padding:10px 12px}.show-comparison .community-box{display:none}}
.level-control{display:none!important}
.map-top{right:auto}
.show-zones .map-top{right:24px}

/* Keep neighborhood access visible at every zoom level. */
.map-top{right:30px;align-items:flex-start}
.neighborhood-toggle{pointer-events:auto;flex:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 16px;border:1px solid #991a3a;border-radius:9px;background:#a82143;color:white;font-size:16px;font-weight:600;box-shadow:0 3px 12px #35202d12}
.neighborhood-toggle:hover{background:#8f1036}
.neighborhood-toggle[aria-expanded=true]{background:white;color:#921a3d}
.show-zones{display:flex;flex-direction:column}
.show-zones .map-top{position:relative;inset:auto;flex:none;flex-direction:row;align-items:center;gap:12px;padding:14px 24px;border-bottom:1px solid #e5dde2}
.show-zones .breadcrumbs{flex:1;max-width:none;padding:0}
.show-zones .neighborhood-panel{position:relative;inset:auto;flex:1;min-height:0;padding:18px 24px 24px;overscroll-behavior-y:contain}
.zone-heading h2{font-size:28px;margin:0 0 6px}
.zone-heading p{margin-bottom:16px}
.zone-summary{padding:14px 0;gap:12px 24px;margin:0 0 14px}
.zone-summary>div{gap:4px}
.zone-summary a{font-size:14px}
.zone-summary strong{font-size:23px}
.zone-result-count{margin:14px 0 10px}
.zone-row{padding:14px 16px}
.zone-row-top{flex-wrap:nowrap;gap:14px}
.zone-row-top>span{flex-basis:auto}
.zone-row strong{font-size:21px}
.zone-selectors select{font-size:16px}
.zone-heading h2:focus{outline:none}
@media(max-width:1000px){.show-zones .map-top{padding:12px 18px}.show-zones .neighborhood-panel{padding:16px 18px 22px}.neighborhood-toggle{font-size:14px;padding:10px 12px}.zone-tools{grid-template-columns:minmax(0,1fr) 160px}.zone-summary{column-gap:18px}.zone-heading h2{font-size:25px}}
@media(max-width:720px){.map-top{right:18px}.breadcrumbs{max-width:none;flex:1}.show-zones{height:calc(100dvh - 70px);min-height:610px}.show-zones .map-top{right:auto;gap:10px}.show-zones .breadcrumbs{font-size:12px}.show-zones .breadcrumbs button{font-size:12px}.show-zones .neighborhood-toggle{max-width:150px}.zone-heading h2{font-size:24px}.zone-heading p{font-size:14px;margin-bottom:14px}.zone-selectors,.zone-tools{gap:10px}.zone-summary span{font-size:12px}.zone-summary strong{font-size:21px}.zone-summary a{font-size:12px}.zone-row-top>span{font-size:16px}.zone-row strong{font-size:21px}.zone-row small{display:block;font-size:12px;text-align:right}.zone-delta{font-size:12px}.zone-track{margin-top:10px}.zone-footnote{font-size:12px}}
@media(max-width:390px){.zone-selectors{grid-template-columns:1fr 1fr}.zone-tools{grid-template-columns:minmax(0,1fr) 138px}.zone-summary{gap:10px 14px}.zone-summary strong{font-size:19px}.zone-row-top{align-items:flex-start}.neighborhood-toggle{padding:10px;gap:6px}}

/* Continuous geographic drill-down and a price card inside the map. */
.map-workspace{isolation:isolate}
.map-top{left:24px;right:24px;top:16px;gap:14px;align-items:flex-start}
.breadcrumbs{max-width:none;flex:1;font-size:14px;gap:7px;max-height:60px;overflow:auto}
.neighborhood-toggle{font-size:14px;min-height:42px;padding:10px 13px}
.city-jump{position:absolute;z-index:5;top:76px;left:24px;display:flex;align-items:center;gap:10px;max-width:calc(100% - 48px);padding:8px 10px;background:#ffffffed;border:1px solid #dce1e6;border-radius:9px;box-shadow:0 3px 14px #3020290a}
.city-jump label{font-size:14px;white-space:nowrap}
.city-jump select{min-width:0;max-width:235px;border:0;border-left:1px solid #ddd;background:transparent;padding:4px 8px;font-size:16px;color:#33202d}
#map-level-label{font-size:12px;white-space:nowrap;color:#8a2245;padding-left:8px;border-left:1px solid #ddd}
.city-map-status{position:absolute;z-index:4;top:132px;left:24px;right:24px;width:fit-content;max-width:calc(100% - 48px);background:#ffffffeb;border:1px solid #e1dce0;border-radius:6px;padding:7px 10px;font-size:12px;line-height:1.4;color:#57434e;pointer-events:none}
.city-map-status button{pointer-events:auto}
.map-caption{top:154px;left:27px}
.layer-labels text{text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3.5px;stroke-linejoin:round;fill:#3c2935;font-family:'DM Sans',Arial,sans-serif;font-size:12px;font-weight:600}
.layer-labels .geo-label-price{fill:#8b1236;font-size:12px;font-weight:700;stroke-width:3px}
.area-context{stroke:#c9d0d7;stroke-width:.9}
.city-area{stroke:#8e6e7d;stroke-width:1.1;fill-opacity:.82}
.district-area{stroke:white;stroke-width:1.6;fill-opacity:.91}
.locality-area{stroke:#657481;stroke-width:1.2;fill-opacity:.94;vector-effect:non-scaling-stroke}
.locality-area:hover,.locality-area:focus,.locality-area.selected{stroke:#55112c;stroke-width:2.6;fill-opacity:1}
.district-area:hover,.district-area:focus{stroke:#55112c;stroke-width:2.6;fill-opacity:1}
.district-area.selected{stroke:#371025;stroke-width:3.2;fill-opacity:1}
.city-pin{fill:#a82143;stroke:white;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer}
.map-popup{position:absolute;z-index:8;left:24px;bottom:154px;width:350px;max-width:calc(100% - 92px);max-height:calc(100% - 295px);overflow:auto;background:white;border:1px solid #d8c8d1;border-radius:12px;padding:20px;box-shadow:0 8px 30px #29122229;color:#25151b;overscroll-behavior:contain}
#close-popup{position:absolute;right:9px;top:9px;width:32px;height:32px;border:0;border-radius:50%;background:#f1e9ee;font-size:24px;color:#67334c}
.map-popup .eyebrow{display:block;padding-right:22px;font-size:12px;letter-spacing:.6px;color:#745162}
.map-popup h2{font-size:23px;line-height:1.25;margin:8px 0 12px;padding-right:20px}
.map-popup .price{font-size:37px;color:#8b1236;letter-spacing:-1px}
.map-popup .price span{color:#705263;font-size:16px}
.reference-label{font-size:14px;line-height:1.5;margin:8px 0 4px}
.reference-zone{font-size:16px;line-height:1.45;font-weight:600;margin:4px 0 8px}
.reference-note,.reference-missing{font-size:14px;line-height:1.5;margin:8px 0}
.reference-note{opacity:.82}
.reference-alternative{display:flex;flex-direction:column;gap:3px;border-top:1px solid #b899aa55;padding:10px 0;font-size:14px;line-height:1.4}
.map-popup .detail-source{margin-top:8px;color:#951c41;font-size:12px}
.geography-note{position:absolute;z-index:3;bottom:40px;left:24px;right:24px;font-size:12px;line-height:1.4;color:#58424e;max-width:650px;margin:0;padding:5px 7px;background:#ffffffdf;border-radius:4px;pointer-events:none}
.map-bottom{bottom:84px}.map-controls{bottom:180px;z-index:6}.attribution{font-size:12px;bottom:8px;left:24px;right:24px;line-height:1.35}
.map-hint{max-width:170px;text-align:right}.legend{width:280px;padding:12px 15px}
#zone-map-button{border:1px solid #a82143;border-radius:8px;background:white;color:#a82143;padding:11px 14px;font-size:16px}
.show-comparison .neighborhood-panel{display:block;position:absolute;inset:0;z-index:7;padding:86px 24px 24px;overflow:auto}
.show-comparison .map-top{z-index:8;background:#f8f9fb;padding-bottom:12px}
.show-comparison .city-jump,.show-comparison .city-map-status,.show-comparison .map-popup{visibility:hidden}
.show-comparison #map{visibility:hidden}
@media(max-width:1100px){.city-jump label{display:none}.city-jump select{max-width:230px}.map-hint{display:none}}
@media(max-width:720px){.map-workspace{height:calc(100dvh - 70px);min-height:600px}.map-top{left:14px;right:14px;top:12px}.breadcrumbs,.breadcrumbs button{font-size:12px}.breadcrumbs{gap:5px;max-height:48px}.neighborhood-toggle{font-size:14px;padding:9px 10px;min-height:42px;max-width:142px}.city-jump{top:71px;left:14px;max-width:calc(100% - 28px);gap:5px;padding:7px 8px}.city-jump select{max-width:210px;padding:4px 3px}#map-level-label{font-size:12px;padding-left:7px}.city-map-status{top:121px;left:14px;max-width:calc(100% - 28px);font-size:12px}.map-caption{top:153px}.map-popup{left:14px;bottom:155px;width:calc(100% - 82px);max-width:350px;max-height:calc(100% - 302px);padding:16px}.map-popup h2{font-size:21px}.map-popup .price{font-size:34px}.map-popup .reference-note{font-size:12px}.map-popup .reference-zone{font-size:14px}.map-controls{right:14px;bottom:184px}.map-controls button{width:42px;height:44px}.map-bottom{left:14px;bottom:90px}.legend{width:240px}.geography-note{left:14px;right:14px;bottom:51px;font-size:12px}.attribution{left:14px;right:14px;bottom:6px;font-size:12px;line-height:1.3}.show-comparison .neighborhood-panel{padding:78px 16px 24px}.show-comparison .map-top{right:14px}.zone-summary{gap:12px}.sidebar-heading h1{font-size:28px}}
@media(max-width:380px){.city-jump select{max-width:185px}#map-level-label{max-width:100px;white-space:normal}.map-popup{max-height:calc(100% - 280px);bottom:144px}.reference-label{font-size:12px}}

/* National catalogue: searchable municipalities and named ISTAT localities. */
.city-jump{width:min(580px,calc(100% - 48px))}.city-search{position:relative;flex:1;min-width:0}.city-search input{width:100%;min-width:0;border:0;border-left:1px solid #ded7dc;background:transparent;padding:6px 10px;font:inherit;font-size:16px;color:#33202d}.city-search input:focus{outline:2px solid #c72741;outline-offset:2px;border-radius:4px}#city-results{position:absolute;z-index:15;left:-8px;right:-70px;top:calc(100% + 13px);max-height:min(48dvh,380px);overflow:auto;list-style:none;margin:0;padding:6px;background:#fff;border:1px solid #dadde2;border-radius:10px;box-shadow:0 14px 35px #25151b22}#city-results[hidden]{display:none}#city-results li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 10px;border-radius:6px;cursor:pointer;font-size:14px}#city-results li:hover,#city-results li[aria-selected=true]{background:#f9e9ee}#city-results li>span{display:flex;flex-direction:column;gap:5px;min-width:0}#city-results strong{font-size:16px;overflow-wrap:anywhere}#city-results small{color:#74636d;font-size:12px}#city-results b{font-size:14px;white-space:nowrap;color:#a0193b}.locality-pin{fill:#fff;stroke:#675965;stroke-width:1.8;vector-effect:non-scaling-stroke;cursor:pointer}.locality-pin:hover,.locality-pin:focus{fill:#fae1e9;stroke:#a7193e;stroke-width:2.8;outline:none}.coverage-summary{font-size:12px;line-height:1.6;color:#d4b7c4;border-top:1px solid #4b353e;margin:18px 0 0;padding-top:12px}.territory-row,.territory-row strong{font-size:14px}.date-badge{white-space:nowrap;font-size:12px}.geography-note{pointer-events:none}.city-map-status{font-size:14px}.city-jump{z-index:7}.map-popup .reference-note{font-size:14px}.sidebar .reference-note{line-height:1.5}
@media(max-width:720px){.city-jump{width:calc(100% - 28px)}.city-search input{padding-left:4px;border-left:0}#city-results{left:-8px;right:-62px}#map-level-label{max-width:72px;flex:none}.city-map-status{font-size:12px}.date-badge{font-size:12px}.coverage-summary{margin:10px 0 0}.map-popup{z-index:6}}

/* Spacca il Mattone Italia brand. The supplied portrait canvas is cropped visually to preserve the original logo pixels. */
.brand-spacca{gap:9px;letter-spacing:0}.brand-logo-window{position:relative;display:block;width:140px;height:74px;overflow:hidden;flex:none}.brand-logo{position:absolute;width:140px;height:auto;left:0;top:-56px}.brand-country{font:800 13px Manrope,Arial,sans-serif;letter-spacing:2px;color:#d71912;border-left:2px solid #ffd400;padding-left:10px}
@media(max-width:720px){.brand-logo-window{width:120px;height:64px}.brand-logo{width:120px;top:-48px}.brand-country{font-size:10px;letter-spacing:1.2px;padding-left:7px}}

/* Community launch: one focused screen. Price tools remain in the codebase for the coming-soon phase. */
.community-only .community-access{font-size:12px;font-weight:800;letter-spacing:1.4px;color:#a81738;border:1px solid #e5c6cf;border-radius:999px;padding:9px 13px;background:#fff7f9}
.community-only main{grid-template-columns:410px minmax(0,1fr)}
.community-only .sidebar{padding:42px 36px 28px;background:linear-gradient(160deg,#25151b 0%,#321820 100%)}
.community-only .sidebar-heading .eyebrow{color:#ffd23b}
.community-only .sidebar h1{font-size:43px;line-height:1.04;letter-spacing:-2.2px;margin:18px 0 20px}
.community-only .sidebar-heading p{font-size:17px;line-height:1.55;color:#d2c1c7;margin-bottom:28px}
.community-only .dataset-label{border-color:#5a3542;color:#fff;font-weight:700}
.community-only .date-badge{background:#ffd23b;color:#2b151c;font-weight:900}
.community-only .detail,.community-only .territory-section,.community-only .map-top,.community-only .map-caption,.community-only .attribution{display:none!important}
.community-only .coverage-summary{margin-top:auto;padding-top:22px;color:#e4cbd4;font-size:14px}
.community-only .sidebar-note{padding:18px;background:#ffffff0b;border:1px solid #ffffff17;border-radius:12px;margin-top:16px;color:#d8c5cd}
.community-only .sidebar-note strong{display:inline-block;color:#ffd23b;letter-spacing:1.4px;margin-bottom:3px}
.community-only .note-icon{width:25px;height:25px;border-color:#ffd23b;color:#ffd23b;font-size:18px}
.community-only .map-workspace{background:radial-gradient(circle at 52% 42%,#fff 0%,#f4f1ee 62%,#e8e2df 100%)}
.community-only .area{stroke:#fff;stroke-width:1.4}
.community-only .community-box{top:auto;right:32px;bottom:32px;gap:20px;padding:14px 16px;border-radius:14px;border-color:#e0d4d8;box-shadow:0 16px 40px #30172220}
.community-only .community-box strong{font-size:16px}
.community-only .community-box span{font-size:13px}
.community-only .community-box button{padding:13px 17px;background:linear-gradient(145deg,#db3150,#aa1234);box-shadow:0 7px 16px #a70f3538}
.community-only .community-pin{filter:drop-shadow(0 7px 6px #30172238)}
.community-only .community-pin .pin-shadow{fill:#3d27303d}
.community-only .community-pin .pin-stem{stroke:#6f1735;stroke-width:5;stroke-linecap:round}
.community-only .community-pin circle{fill:url(#none);fill:#f3bc22;stroke:#fff;stroke-width:4}
.community-only .community-pin text{fill:#971032;font-size:12px;font-weight:900}

@media(max-width:1100px) and (min-width:721px){.community-only main{grid-template-columns:350px minmax(0,1fr)}.community-only .sidebar{padding:34px 28px 24px}.community-only .sidebar h1{font-size:36px}.community-only .community-box{right:24px}}
@media(max-width:720px){.community-only .topbar{height:70px}.community-only main{height:calc(100dvh - 70px);min-height:630px;display:grid;grid-template-rows:minmax(270px,46%) minmax(330px,54%)}.community-only .sidebar{order:0;display:flex;padding:20px 22px;overflow:auto}.community-only .map-workspace{order:1;height:auto;min-height:0}.community-only .sidebar h1{font-size:32px;line-height:1.04;margin:10px 0 12px}.community-only .sidebar-heading p{font-size:14px;line-height:1.45;margin-bottom:14px}.community-only .dataset-label{padding:10px 0}.community-only .coverage-summary{display:none}.community-only .sidebar-note{margin-top:12px;padding:10px 12px}.community-only .sidebar-note p{font-size:11px}.community-only .community-access{font-size:10px;padding:7px 9px}.community-only .community-box{top:auto;right:14px;left:14px;bottom:16px;gap:10px;padding:11px 12px}.community-only .community-box strong{font-size:14px}.community-only .community-box span{font-size:11px}.community-only .community-box button{padding:11px 12px;font-size:13px}.community-only .map-bottom{bottom:88px}.community-only .geography-note{display:none}.community-only .map-controls{bottom:182px}}

/* fix mobile (23 set 2026): il layout community teneva le 2 colonne del desktop anche sotto i 720px → la mappa finiva fuori schermo */
@media(max-width:720px){.community-only main{grid-template-columns:minmax(0,1fr)}}

/* ===== Mobile community (23 set 2026): layout uniforme su tutti i telefoni =====
   - la pagina scorre: testo in alto, mappa a tutto schermo sotto (niente griglia a percentuali che schiacciava la mappa)
   - sulla mappa restano solo: ricerca in alto, zoom a destra, box "Entra nella community" in basso
   - legenda prezzi e box "coming soon" nascosti sotto i 720px (si sovrapponevano alla mappa) */
@media(max-width:720px){
  .community-only main{display:block;height:auto;min-height:0}
  .community-only .sidebar{display:flex;flex-direction:column;overflow:visible;padding:22px 20px 16px}
  .community-only .sidebar h1{font-size:30px;line-height:1.05;margin:8px 0 10px}
  .community-only .sidebar-heading p{font-size:14px;line-height:1.45;margin-bottom:12px}
  .community-only .sidebar-note{display:none}
  .community-only .map-workspace{height:calc(100dvh - 70px);min-height:540px;max-height:860px}
  .community-only .city-jump{top:12px;left:12px;right:12px;max-width:none}
  .community-only .map-bottom{display:none}
  .community-only .map-controls{right:12px;bottom:104px}
  .community-only .community-box{left:12px;right:12px;bottom:12px;flex-wrap:wrap;gap:8px 12px}
  .community-only .community-box>div{flex:1 1 150px;min-width:0}
  .community-only .community-box button{flex:0 0 auto;white-space:nowrap}
}
@media(max-width:400px){
  .community-only .community-box button{flex:1 1 100%;width:100%}
  .community-only .map-controls{bottom:132px}
  .community-only .community-access{white-space:nowrap;font-size:9px;padding:6px 8px}
}
@media(max-width:380px){
  .community-only .sidebar h1{font-size:27px}
}

/* 23 set 2026: ricerca città tolta dalla home (tornerà come card "Cerca operazioni immobiliari" nella dashboard) */
.community-only .city-jump{display:none}

/* ===== Community: accesso Google, consensi, area personale (23 set 2026) ===== */
a.community-access{text-decoration:none;cursor:pointer}
.community-dialog-card .consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#4c3a42;line-height:1.45}
.community-dialog-card .consent input{margin:3px 0 0;flex:none;width:18px;height:18px;accent-color:#a81738}
.community-dialog-card .consent a{color:#a81738;font-weight:700}
.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 16px;font:700 15px Manrope,Arial,sans-serif;color:#25151b;background:#fff;border:1.5px solid #d9d0d5;border-radius:10px;cursor:pointer;box-shadow:0 3px 10px #3017220f}
.google-btn:hover{background:#faf7f8}
.dialog-link{font-size:14px;color:#a81738;font-weight:700;text-decoration:none;text-align:center}
