/* Final shared tool layer: readable labels, concise guidance and native scrolling. */
.header-utilities{display:flex;align-items:center;justify-content:flex-end;gap:17px;min-width:0}
.quick-guide-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px 9px;border-radius:7px;color:#38665d;font-size:12px;white-space:nowrap}
.quick-guide-button:hover{background:#edf4f1}.quick-guide-button .icon{width:17px;height:17px}.quick-guide-button[data-new]:after{content:'';width:5px;height:5px;background:#21665a;border-radius:50%}
.quick-guide-button .guide-short{display:none}
#quick-guide{padding:26px;border:1px solid #d5e3e4;border-radius:14px;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;color:#173b36;box-shadow:0 20px 80px #153d3830;background:#fff}
#quick-guide::backdrop{background:#173b3655;backdrop-filter:blur(2px)}
.guide-heading{position:relative;padding-right:25px}.guide-heading .icon-button{position:absolute;top:-8px;right:-13px;font-size:25px;font-weight:400;color:#57736d;width:44px;height:44px}
.guide-label{font-size:10px;letter-spacing:1px;color:#71847f}.guide-heading h2{font-size:23px;letter-spacing:-.6px;line-height:1.25;margin:10px 0}.guide-heading p{font-size:14px;line-height:1.5;color:#657e77;margin:0}
.quick-guide-steps{list-style:none;padding:0;margin:24px 0;display:grid;gap:20px}.quick-guide-steps li{display:grid;grid-template-columns:29px 1fr;gap:13px}.quick-guide-steps li>span{height:29px;border-radius:8px;background:#e9f3ef;color:#21665a;display:grid;place-items:center;font-size:13px;font-weight:600}
.quick-guide-steps h3{font-size:15px;line-height:1.4;margin:1px 0 4px;font-weight:600}.quick-guide-steps p{font-size:13px;line-height:1.6;color:#607c75;margin:0}.quick-guide-steps p strong{font-weight:550;color:#355d53}
.quick-guide-actions .button{width:100%;justify-content:center;min-height:46px;gap:12px}.quick-guide-actions p{font-size:12px;line-height:1.5;color:#71847f;margin:13px 0 0}
#main:not([data-tool="explore"]){scroll-padding-top:calc(var(--stacked-map-height,0px) + var(--section-nav-height,0px) + 12px);scroll-padding-bottom:20px}
#main.has-scroll-sections.is-scrollable{scroll-snap-type:y proximity}
#main.has-scroll-sections.is-scrollable:has(input:focus,select:focus,textarea:focus){scroll-snap-type:none}
#main.has-scroll-sections.is-scrollable>.workspace{scroll-snap-align:start}
.scroll-section-target{scroll-snap-align:start;scroll-snap-stop:normal;scroll-margin-top:12px;min-width:0}
[data-scroll-section]:focus,[data-scroll-mobile-section]:focus{outline:none}
.section-navigation{position:sticky;top:var(--stacked-map-height,0px);z-index:25;display:flex;align-items:center;gap:16px;background:#f5f7f8f5;backdrop-filter:blur(10px);border-bottom:1px solid #dae5e7;padding:8px 0;margin:0 0 16px;min-height:48px}
.section-navigation>span{flex:none;font-size:11px;color:#798b91}.section-navigation>div{min-width:0;display:flex;gap:4px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin}
.section-navigation button{flex:none;white-space:nowrap;min-height:36px;padding:7px 10px;border-radius:6px;font-size:12px;color:#56727c;scroll-snap-align:start}
.section-navigation button[aria-current]{background:#e4eeea;color:#1c6153;font-weight:600}.section-navigation button:hover{background:#e9f0ee}
.chart-topic-wrap{position:relative;display:flex;align-items:center;border-bottom:1px solid #dce5e8;margin-bottom:12px;gap:6px}
.chart-topic-wrap .chart-topic-nav,.source-topic-nav{border:0;margin:0;padding:0 0 8px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;flex-wrap:nowrap;flex:1;min-width:0}
.source-topic-nav{flex:none}
.chart-topic-nav button,.source-topic-nav button{scroll-snap-align:start;min-height:44px;font-size:12px}
.topic-next{flex:none;width:36px;height:44px;min-height:44px;border-radius:7px;color:#5b777c;background:linear-gradient(90deg,#f5f7f8cc,#f5f7f8);font-size:20px;margin-bottom:8px}.topic-next:hover{background:#e8f0ed}.topic-next[hidden]{display:none}
.suggested-action{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid #d9e7df;border-radius:9px;background:#edf5f0;margin:0 0 18px;color:#315d4e}
.suggested-action>div{min-width:0}.suggested-action>div>span{display:block;font-size:11px;line-height:1.5;color:#698277;margin-bottom:3px}.suggested-action p{font-size:13px;line-height:1.6;margin:0}.suggested-action .text-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;white-space:nowrap;min-height:44px;font-size:12px;padding:6px 0}
.compare-content{min-width:0}.compare-section{margin-bottom:18px}.compare-section-heading{display:flex;align-items:baseline;gap:12px;margin:0 0 13px}.compare-section-heading h2{font-size:16px;letter-spacing:-.3px;margin:0}.compare-section-heading p{font-size:12px;color:#6b818a;margin:0}
.compare-workspace .work-heading{align-items:center}.compare-workspace .heading-sub,.sources-workspace .heading-sub{font-size:13px;line-height:1.55}
.compare-workspace .compare-summary{display:grid;grid-template-columns:1.1fr 1.1fr .65fr;gap:0;margin:0 0 16px;padding:18px 20px}.compare-summary>div,.compare-summary>div:first-child{display:block;padding:0 20px;border:0;border-right:1px solid #e4ecef;min-width:0}.compare-summary>div:first-child{padding-left:0}.compare-summary>div:last-child{padding-right:0;border:0}.compare-summary strong{display:block;margin:7px 0 3px}.compare-summary span,.compare-summary small{font-size:12px;line-height:1.5}.compare-summary strong>small{font-size:13px;margin-left:6px}
.compare-visual h2{font-size:16px}.compare-visual p{font-size:12px;line-height:1.6}.compare-visual{margin-bottom:14px}
.comparison-table th,.comparison-table td{font-size:12px}.comparison-table tbody th strong{font-size:13px;line-height:1.5}.comparison-table tbody th small,.comparison-table td>small{font-size:12px;line-height:1.6}.comparison-table .location-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:120px}.location-actions button{min-height:44px;min-width:36px;padding:6px;border-radius:6px;font-size:12px;color:#4b7165}.location-actions .icon{width:16px;height:16px}.location-actions .map-link{display:flex;align-items:center;gap:5px;white-space:nowrap}.location-actions button:hover{background:#edf4f0}.location-actions button:disabled{opacity:.35;cursor:default}
.comparison-note{font-size:12px;max-height:none;overflow:visible;line-height:1.7}.comparison-note strong{color:#3e5c67}.add-location-row{font-size:13px;min-height:48px}
.compare-empty{max-width:640px;margin:18px auto;padding:28px}.compare-empty h2{font-size:24px;line-height:1.3;margin:0 0 10px}.compare-empty>p{font-size:14px;line-height:1.65;color:#667d85;margin:0 0 22px}.compare-empty .button{min-height:46px;margin:0}.compare-empty-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:16px;padding:22px 0 0;margin:24px 0 0;border-top:1px solid #e4ecef;text-align:left}.compare-empty-steps li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#edf4f0;color:#21665a;font-size:12px;margin-bottom:9px}.compare-empty-steps strong{font-size:13px}.compare-empty-steps p{font-size:12px;line-height:1.6;color:#6c8189;margin:5px 0 0}
.map-legend strong{font-size:12px}.map-legend>small,.map-marker-key,#legend-swatches small{font-size:11px;line-height:1.5}.map-legend{width:280px;padding:10px 11px}.map-legend>div:first-child>span{font-size:11px}.map-view-status{font-size:11px}
.list-caption,.list-caption select,.result-hint,.result-content>span,.result-content>small,.result-city,.result-number small,.list-footnote{font-size:12px;line-height:1.5}.result-content>strong{font-size:13px}.result-hint{padding-bottom:10px}.result-main{min-height:96px}.result-content>small{font-size:11px}.result-number small{font-size:10px}.results-top{padding-top:13px}
.detail-kicker,.detail-address,.precision-badge,.pool-main>span,.pool-note,.two-metrics span,.honesty-line,.nearby-section>p,.nearby-section>small,.detail-evidence,.detail-evidence summary,.detail-evidence a,.detail-evidence dl,.detail-scroll .viz-bar-row{font-size:12px;line-height:1.55}.section-label h3,.nearby-section h3{font-size:14px}.detail-actions .text-button{font-size:12px;min-height:40px}.detail-close,.mobile-panel-close{min-width:44px;min-height:44px;width:44px;height:44px}.detail-scroll .viz-bar-row{grid-template-columns:90px minmax(0,1fr) 30px}.save-mini{min-width:44px}
.dialog-body,.dialog-body p{font-size:14px;line-height:1.7}.dialog-head .icon-button{min-width:44px;min-height:44px}
@media(min-width:901px){.app-header{grid-template-columns:minmax(260px,1fr) auto minmax(210px,1fr)}.chart-topic-nav{flex-wrap:nowrap}.map-legend{bottom:18px}.result-content>strong{gap:3px}.result-main{gap:5px}.header-meta{font-size:10px}}
@media(max-width:1100px) and (min-width:901px){.header-utilities{gap:7px}.quick-guide-button{padding:6px}.header-meta{display:none}.app-header{grid-template-columns:260px 1fr 96px}.comparison-table th,.comparison-table td{padding:13px 11px}}
@media(min-width:901px) and (max-width:1000px){.app-header{grid-template-columns:minmax(190px,1fr) auto auto;gap:8px;padding:0 14px}.identity{gap:7px}.identity strong{font-size:16px}.identity small{font-size:9px}.primary-nav{gap:2px;padding:3px}.primary-nav button{gap:5px;padding:8px 9px;font-size:11px}.quick-guide-button{font-size:0;gap:0;min-width:40px}.quick-guide-button .guide-long{display:none}.quick-guide-button .guide-short{display:inline;font-size:11px}}
@media(max-width:900px){
 .app-header{gap:9px;padding:0 14px}.header-brand{position:relative;height:44px;padding-bottom:12px;flex:1;justify-content:flex-start}.identity{height:32px;align-items:center}.creator-credit{position:absolute;left:40px;bottom:0;margin:0;line-height:12px;font-size:10px;text-align:left;white-space:nowrap}.creator-credit span{display:inline;font-size:10px}.header-utilities{display:flex;gap:0}.quick-guide-button{min-height:44px;padding:5px 2px;gap:5px;font-size:12px}.quick-guide-button .guide-long{display:none}.quick-guide-button .guide-short{display:inline}.quick-guide-button .icon{width:16px;height:16px}.header-meta{display:none}
 .workspace:not(.explore-workspace){padding:17px 15px 24px}.work-heading h1{font-size:24px}.heading-sub{font-size:13px}.section-navigation{gap:9px;margin:0 -15px 14px;padding:6px 15px;min-height:51px}.section-navigation>span{display:none}.section-navigation>div{width:100%;gap:4px;scrollbar-width:none}.section-navigation button{min-height:40px;font-size:12px;padding:8px 10px}
 .chart-topic-wrap{margin:0 -15px 12px;padding-left:15px;gap:0}.chart-topic-wrap .chart-topic-nav{padding:0 0 8px;margin:0;scrollbar-width:none}.chart-topic-nav button{font-size:12px;min-height:44px;padding:8px 11px}.topic-next{width:34px;margin-right:5px}
 .suggested-action{gap:10px;padding:12px 14px;flex-wrap:wrap;margin-bottom:14px}.suggested-action p{font-size:13px;line-height:1.6}.suggested-action .text-button{justify-content:flex-start;min-height:36px;padding:3px 0}.suggested-action>div>span{font-size:11px}
 .compare-workspace .work-heading{align-items:flex-start;display:flex;flex-wrap:wrap}.compare-workspace .heading-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 40px;gap:8px;width:100%;margin:3px 0 4px;align-items:center;justify-content:stretch}.compare-workspace .heading-actions .field select{font-size:16px;min-width:0;width:100%;padding:6px 4px;letter-spacing:0}.compare-workspace .heading-actions .field>span{display:none}.compare-workspace .heading-actions .button{font-size:12px;min-height:44px}.compare-workspace .heading-actions .field{display:flex;flex-direction:row;min-width:0;width:100%;max-width:none;padding:4px 6px;gap:0;align-items:center}
 .compare-workspace .compare-summary{grid-template-columns:1fr 1fr;padding:15px;gap:15px}.compare-summary>div,.compare-summary>div:first-child{padding:0;border:0;grid-column:auto;display:block;min-height:0;text-align:left}.compare-summary>div:last-child{grid-column:1/-1;padding-top:12px;border-top:1px solid #e0e9e7;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.compare-summary>div:last-child strong{font-size:21px;margin:0}.compare-summary strong{font-size:29px}.compare-summary span,.compare-summary small{font-size:12px}.compare-visual h2{font-size:15px}.compare-visual p{font-size:12px}.compare-section-heading{display:block}.compare-section-heading p{margin-top:4px}.compare-section{margin-bottom:16px}
 .compare-visual .viz-bar-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:11px 0;min-height:70px}.compare-visual .viz-bar-label{grid-column:1;grid-row:1}.compare-visual .viz-bar-label>span{font-size:13px;line-height:1.5}.compare-visual .viz-bar-label>small{font-size:12px;line-height:1.5}.compare-visual .viz-bar-value{grid-column:2;grid-row:1;align-self:start;font-size:15px}.compare-visual .viz-bar-plot{grid-column:1/-1;grid-row:2;width:100%}.compare-visual .viz-bar-axis-row{grid-template-columns:1fr}.compare-visual .viz-bar-axis-row>span{display:none}.compare-visual .viz-bar-axis{grid-column:1}
 .comparison-table tbody th{padding-right:0}.comparison-table tbody th strong{font-size:14px}.comparison-table tbody th small{font-size:12px}.comparison-table td[data-label]:before,.comparison-table tbody td>small{font-size:12px;line-height:1.5}.comparison-table tbody td{font-size:15px}.comparison-table tbody td:last-child{position:static;grid-column:1/-1;justify-self:stretch;width:100%}.comparison-table .location-actions{justify-content:flex-start;border-top:1px solid #e6edef;padding-top:8px;gap:10px}.location-actions .map-link{margin-right:auto}.location-actions button{padding:7px;min-width:44px}.comparison-note{font-size:12px}
 .compare-empty{padding:23px 18px;margin-top:14px}.compare-empty-steps{grid-template-columns:1fr;gap:16px}.compare-empty-steps li{display:grid;grid-template-columns:25px 1fr;column-gap:12px}.compare-empty-steps li>span{grid-row:1/3;margin:0}.compare-empty-steps p{grid-column:2;margin:3px 0 0}.compare-empty-steps strong{font-size:13px}.compare-empty .button{width:100%;justify-content:center}
 .map-legend{width:270px;max-width:calc(100% - 68px);padding:9px 10px;bottom:65px}.map-legend strong{font-size:12px}.map-legend>small,.map-marker-key,#legend-swatches small{font-size:10px}.map-sheetbar{min-height:48px}.map-sheetbar button{min-height:40px;font-size:12px}.map-sheetbar b{font-size:11px}.map-layer-controls select{font-size:12px}.list-caption,.list-caption select,.result-hint,.result-content>span,.result-city,.list-footnote{font-size:12px}.result-content>small{font-size:11px}.result-content>strong{font-size:14px}.result-main{min-height:100px}.result-number{font-size:23px}.result-number small{font-size:10px}
 .explore-grid>.results-pane,.explore-grid>.detail-pane{height:68%;max-height:calc(100% - 110px)}.detail-head h2{font-size:21px}.detail-head .detail-address{font-size:12px}.detail-kicker,.precision-badge{font-size:11px}.detail-head{padding:13px 16px 10px}.detail-actions .text-button{flex-basis:100px;width:100px;font-size:12px;line-height:1.4}.detail-actions .button{font-size:12px;min-height:44px}.detail-scroll>section{padding:14px 0}.detail-scroll .viz-bar-row{font-size:12px;grid-template-columns:90px minmax(0,1fr) 30px}.detail-scroll .viz-bar-label{font-size:12px}
}
@media(max-width:380px){.app-header{padding:0 10px;gap:5px}.identity strong{font-size:17px}.creator-credit span{font-size:10px}.quick-guide-button .icon{display:none}.workspace:not(.explore-workspace){padding-left:12px;padding-right:12px}.section-navigation{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.chart-topic-wrap{margin-left:-12px;margin-right:-12px;padding-left:12px}.compare-workspace .heading-actions .field>span{display:none}.compare-workspace .heading-actions .button{padding:9px}.compare-summary strong{font-size:27px}.map-legend{max-width:calc(100% - 60px);width:260px}.map-layer-controls select{font-size:11px;max-width:126px}}
@media(max-width:900px) and (max-height:600px){.header-brand{height:39px;padding-bottom:11px}.identity{height:28px}.identity .rx-mark{width:27px;height:27px}.creator-credit{left:35px}.quick-guide-button{min-height:40px}.map-legend{padding:5px 8px;bottom:59px}.map-legend>small,.map-marker-key{display:none}.explore-grid>.results-pane,.explore-grid>.detail-pane{height:calc(100% - 12px);max-height:calc(100% - 12px)}.detail-head{padding:8px 14px}.detail-head h2{font-size:18px;margin-top:2px}.detail-head .detail-address{font-size:11px;line-height:1.4}.precision-badge{display:none}.detail-actions{padding:7px 12px}.detail-actions .text-button{display:flex}.quick-guide-steps{gap:13px;margin:17px 0}.quick-guide-steps p{font-size:12px}.guide-heading h2{font-size:21px}.guide-heading p{font-size:13px}#quick-guide{padding:21px}}
@media(prefers-reduced-motion:reduce){#main.has-scroll-sections,.section-navigation>div,.chart-topic-nav,.source-topic-nav{scroll-snap-type:none!important}html *,html *::before,html *::after{scroll-behavior:auto!important}}
