:root{font-family:Arial,Helvetica,sans-serif;color:#202a30;background:#f6f8f9;font-size:14px;letter-spacing:0;--first:#168164;--study:#c68b17;--local:#7c8b96;--line:#dfe5e8;--muted:#63717a}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:#087f78;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #75c1bb;outline-offset:2px}button svg,a svg,.search svg{width:18px;height:18px;flex-shrink:0}.app{height:100vh;height:100dvh;display:flex;flex-direction:column}.header{display:flex;align-items:center;gap:14px;padding:14px 20px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.icon-button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#34434b;border:1px solid #cbd4d9;border-radius:6px;flex-shrink:0;padding:0;box-shadow:0 1px 2px #162b3610}.icon-button:hover{background:#f0f6f5;color:#087f78}.brand{min-width:0}.brand h1{font-size:21px;line-height:26px;margin:0;display:flex;align-items:center;gap:8px}.brand-five{display:inline-flex;justify-content:center;align-items:center;width:25px;height:25px;background:#cf3347;color:#fff;border-radius:50%;font-size:22px;font-style:italic;flex-shrink:0}.brand p{font-size:12px;margin:4px 0 0;color:var(--muted)}.totals{display:flex;gap:24px;margin-left:auto;align-items:center;color:var(--muted);font-size:12px}.totals strong{color:#273139;display:block;font-size:22px;line-height:27px}.toolbar{display:flex;align-items:center;gap:20px;padding:10px 20px;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.segments{display:flex;gap:3px;flex-shrink:0}.segments button{border:1px solid transparent;background:#fff;color:#56636c;border-radius:5px;padding:8px 10px;display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:13px;min-height:36px}.segments button[aria-pressed=true]{color:#145f56;background:#e8f4f0;border-color:#b5d7cc;font-weight:700}.segments button:hover{background:#f0f4f4}.segments button span{font-size:11px;opacity:.8}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.dot.first{background:var(--first)}.dot.study{background:var(--study)}.dot.local{background:var(--local)}.store-filter{font-size:13px;display:flex;gap:6px;align-items:center;white-space:nowrap;cursor:pointer}.store-filter input{accent-color:#087f78;width:16px;height:16px;margin:0}.checked-date{font-size:11px;color:var(--muted);margin-left:auto;white-space:nowrap}.workspace{flex:1;position:relative;min-height:0;isolation:isolate}.map-stage,#map{position:absolute;inset:0}#map{background:#d8e5e9}.map-tools{position:absolute;right:12px;top:88px;z-index:600}.legend{position:absolute;right:12px;bottom:25px;display:flex;align-items:center;gap:14px;background:#ffffffed;border:1px solid #d9e1e4;border-radius:5px;padding:9px 12px;z-index:600;font-size:11px;color:#4c5961;box-shadow:0 2px 12px #23394314}.legend span{display:flex;align-items:center;gap:5px}.store-symbol{display:flex;width:18px;height:18px;justify-content:center;align-items:center;color:#fff;background:#cf3347;border-radius:50%;font-size:15px;font-style:italic}.store-marker{background:#cf3347;border:2px solid #fff;border-radius:50%;color:#fff;font-size:19px;font-weight:700;font-style:italic;line-height:24px;text-align:center;box-shadow:0 1px 5px #172b4d50}.store-marker.selected-store{border-color:#f9e9a3;box-shadow:0 0 0 2px #cf334755}.store-marker:hover{background:#ac2034}.place-tooltip{font-size:12px;font-weight:700;padding:5px 8px;border-color:#d7dfe2;color:#26363b;box-shadow:0 1px 4px #1b37321a}#places-panel{position:absolute;left:16px;top:16px;bottom:16px;width:366px;z-index:700;background:#fff;border:1px solid #d9e2e5;border-radius:8px;box-shadow:0 5px 24px #152e3526;display:flex;flex-direction:column}.panel-head{padding:12px;display:flex;gap:8px;border-bottom:1px solid var(--line)}.search{display:flex;align-items:center;border:1px solid #cbd5da;border-radius:5px;gap:8px;padding:0 10px;min-width:0;flex:1;color:#70818a}.search input{border:0;outline:none;background:transparent;padding:10px 0;width:100%;min-width:0;font-size:12px;color:#243039}.search:focus-within{box-shadow:0 0 0 2px #75c1bb}.search svg{width:16px}.list-options{padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.list-options select{padding:5px 4px;background:#fff;border:0;color:#4b5c64;font-size:11px;max-width:136px}.list-options #summary{white-space:nowrap}#places-list{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}.place-card{border-bottom:1px solid var(--line);border-left:3px solid transparent}.place-card.selected{border-left-color:#087f78;background:#f0f8f5}.place-select{border:0;background:transparent;text-align:left;width:100%;padding:13px 13px 12px;color:inherit}.place-select:hover{background:#f4f8f7}.place-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.place-top h2{font-size:16px;line-height:21px;margin:0;overflow-wrap:anywhere}.tier-label{font-size:10px;padding:4px 6px;border-radius:4px;white-space:nowrap;flex-shrink:0;font-weight:400}.tier-label.first{background:#e4f2eb;color:#12664c}.tier-label.study{background:#fff2d6;color:#845b0b}.tier-label.local{background:#eef0f2;color:#56616a}.district{color:#74818a;font-size:10px;line-height:15px;margin:3px 0 9px}.numbers{display:flex;align-items:center;gap:16px;font-size:12px;color:#5f6e76}.numbers span{display:flex;align-items:center;gap:5px}.numbers svg{width:14px;height:14px}.numbers strong{font-size:14px;color:#29383f}.analysis{font-size:12px;line-height:18px;color:#506069;margin:9px 0 0}.place-details{padding:0 13px 13px;font-size:11px;line-height:17px}.place-details[hidden]{display:none}.population-meta{color:#68747b;margin:0 0 8px}.place-details h3{font-size:11px;margin:8px 0 5px}.store-link{display:flex;align-items:flex-start;gap:6px;padding:5px 0;color:#506069}.store-link svg{width:13px;height:13px;flex-shrink:0}.store-link a{overflow-wrap:anywhere}.detail-links{display:flex;gap:13px;margin-top:8px;align-items:center}.detail-links a{display:flex;align-items:center;gap:4px}.detail-links svg{width:12px;height:12px}.check-note{color:#7a6971;font-size:10px;line-height:15px;margin:7px 0 0}footer{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:7px 12px;border-top:1px solid var(--line);font-size:10px;color:#738087}footer button{background:none;border:0;color:#63717a;padding:0;display:flex;align-items:center;width:26px;height:26px;justify-content:center}footer button svg{width:15px;height:15px}.panel-hidden #places-panel{inset:16px auto auto 16px;width:38px;height:38px;border:0;box-shadow:none;background:none}.panel-hidden #places-panel>*{display:none}.panel-hidden #places-panel .panel-head{display:block;border:0;padding:0}.panel-hidden .panel-head .search{display:none}.panel-hidden #panel-toggle{display:flex;color:#087f78;box-shadow:0 2px 12px #153d3b25}#list-empty{padding:24px 16px;color:var(--muted)}[hidden]{display:none!important}#map-empty{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);z-index:600;background:#fff;padding:14px 18px;border-radius:5px;box-shadow:0 2px 12px #253d3b25}.popup-title{font-size:16px;font-weight:700;margin-bottom:6px}.popup-stats{color:#5c6d76;font-size:12px;line-height:19px}.popup-store{font-size:12px;line-height:18px}.popup-store a{display:inline-block;margin-top:8px}dialog{border:1px solid #d5dfe2;border-radius:8px;width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:22px;color:#34434b;box-shadow:0 12px 60px #0b302b40;overflow:auto}dialog::backdrop{background:#182f3e65}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-heading h2{font-size:20px;margin:0}dialog p,dialog dd{font-size:13px;line-height:20px}dialog h3{font-size:15px;margin:20px 0 0}dialog dt{display:flex;gap:7px;align-items:center;font-weight:700;font-size:13px;margin-top:15px}dialog dd{margin:5px 0 0 16px;color:#5a6770}.sources{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px}.sources a{display:flex;gap:5px;align-items:center;font-size:12px}.sources svg{width:12px;height:12px}.leaflet-control-attribution{font-size:9px!important}.leaflet-popup-content{margin:14px!important;max-width:260px}.leaflet-control-zoom{border:1px solid #cbd5d9!important;box-shadow:0 1px 5px #192f3720!important}
@media(min-width:1700px){#places-panel{width:390px}.place-select{padding:15px}.place-details{padding:0 15px 15px}.analysis{font-size:13px;line-height:19px}}
@media(max-width:1100px){.checked-date{display:none}.totals{gap:15px}.totals span:last-child{display:none}.toolbar{gap:12px}.segments button{padding:8px}.header{padding:12px 16px}}
@media(max-width:760px){.header{padding:10px 12px;gap:9px}.brand h1{font-size:17px;line-height:22px;gap:6px}.brand p{font-size:10px;margin-top:2px}.brand-five{width:22px;height:22px;font-size:19px}.totals{display:none}#method-open{margin-left:auto}.header .icon-button{width:32px;height:34px}.toolbar{padding:7px 10px;display:block}.segments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.segments button{font-size:10px;padding:6px 3px;white-space:normal;line-height:14px;min-height:38px;justify-content:center;gap:4px}.segments button span{display:none}.segments button .dot{width:6px;height:6px}.store-filter{font-size:11px;margin-top:7px;width:max-content;min-height:23px}#places-panel{left:10px;right:10px;top:auto;bottom:24px;width:auto;height:43%;min-height:190px;max-height:420px}.panel-head{padding:8px}.panel-head .icon-button{height:34px;width:34px}.search input{font-size:12px;padding:8px 0}.list-options{padding:5px 10px}.legend{left:10px;right:auto;bottom:auto;top:10px;max-width:calc(100% - 65px);flex-wrap:wrap;gap:6px 10px;font-size:9px;padding:7px 8px}.legend .dot{width:7px;height:7px}.legend .store-symbol{width:16px;height:16px;font-size:13px}.map-tools{top:87px;right:11px}.map-tools .icon-button{width:32px;height:32px}.place-select{padding:10px 11px}.place-top h2{font-size:15px}.analysis{margin-top:7px}.district{margin-bottom:6px}.panel-hidden #places-panel{inset:auto auto 24px 10px;width:38px;height:38px;min-height:0}.panel-hidden .panel-head{padding:0}.panel-hidden #panel-toggle{height:38px;width:38px}#map-empty{left:42%;top:25%;width:210px;font-size:12px}dialog{padding:16px}.dialog-heading h2{font-size:18px}.leaflet-bottom .leaflet-control-attribution{max-width:85vw}}
.place-top{flex-wrap:wrap;gap:5px 10px}.place-top h2{flex:1 1 120px}.legend{flex-wrap:wrap;max-width:calc(100% - 420px)}
@media(min-width:761px) and (max-width:1300px){.checked-date{display:none}.toolbar{flex-wrap:wrap}}
@media(max-width:760px){.segments{grid-template-columns:repeat(2,minmax(0,1fr))}.segments button{font-size:11px;min-height:34px;padding:5px 7px}.legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:calc(100% - 65px);font-size:9px;gap:5px 8px}.legend span{min-width:0;overflow-wrap:anywhere}.legend span .dot{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
