:root{--ink:#193d35;--muted:#73837c;--line:#e0e7e2;--green:#285b46;--soft:#f0f4ee;--amber:#ab743a}*{box-sizing:border-box}body{margin:0;background:#f5f7f3;color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #35745a}a{color:var(--green)}[hidden]{display:none!important}header{height:68px;padding:0 30px;display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.brand{font-size:26px;font-weight:800;letter-spacing:-1.1px;text-decoration:none}.brand span{color:#90ac72}.city{font-size:13px;color:var(--muted);padding-left:24px;border-left:1px solid var(--line)}header nav{margin-left:auto;display:flex;gap:10px}.header-button{padding:10px 12px;border:0;border-radius:8px;background:transparent;font-size:13px}.header-button:hover{background:var(--soft)}.subdued{color:var(--muted)}main{position:relative;height:calc(100dvh - 68px);min-height:0;overflow:hidden}#stage{position:absolute;inset:0;background:#eaf0e7}#map{position:absolute;inset:0}.explorer{position:absolute;z-index:2;top:24px;left:24px;width:380px;max-height:calc(100% - 48px);padding:26px;background:#fff;border:1px solid #e0e7de;border-radius:20px;box-shadow:0 10px 45px #1a3c3012;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#a6b8ac transparent;scroll-padding-block:20px;overscroll-behavior:contain}.steps{list-style:none;display:flex;justify-content:space-between;gap:8px;margin:0 0 32px;padding:0;font-size:11px;color:#859189}.steps li{display:flex;align-items:center;gap:6px;white-space:nowrap}.steps span{width:20px;height:20px;display:grid;place-items:center;background:#f0f3ee;border-radius:50%;font-size:10px}.steps [aria-current=step]{color:var(--green);font-weight:650}.steps [aria-current=step] span{background:var(--green);color:#fff}.steps .done span{background:#e4efe3;color:var(--green)}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#7f947c}h1{font-size:38px;line-height:1.07;letter-spacing:-1.5px;margin:12px 0 15px;font-weight:720}h2{font-size:18px;line-height:1.25;letter-spacing:-.35px;margin:0}h3{font-size:14px;margin:0}p{line-height:1.55;color:var(--muted)}.intro{font-size:14px;margin:0 0 26px;max-width:300px}.field-label{display:block;font-weight:600;font-size:12px;margin-bottom:9px}input[type=search],#zone-name,select{width:100%;background:#fff;border:1px solid #d8e2da;border-radius:10px;padding:14px 12px;font-size:13px;min-height:46px}input::placeholder{color:#8b9790}input[type=search]:focus,select:focus{border-color:#6c937c}.location-wrap{position:relative}#location-results{position:relative;margin-top:5px;border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden;max-height:270px;overflow-y:auto}#location-results button{display:block;width:100%;padding:12px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}#location-results button:hover{background:var(--soft)}#location-results b{display:block;font-size:12px;font-weight:600}#location-results small{display:block;font-size:11px;color:var(--muted);margin-top:4px}#location-results p{padding:0 12px}.or{display:flex;align-items:center;gap:12px;margin:17px 0;color:#88958c;font-size:11px}.or:before,.or:after{content:"";height:1px;background:#e8ece6;flex:1}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #d9e3da;border-radius:10px;min-height:46px;padding:12px 16px;font-size:13px;font-weight:600;background:#fff}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#1e4938}.secondary:hover{background:var(--soft)}.full{width:100%;margin-top:12px}.text-button{border:0;background:transparent;color:#47795c;font-size:12px;padding:7px 0;text-align:left}.text-button:hover{text-decoration:underline}.draw-link{display:block;text-align:center;margin:7px auto 0;font-size:11px;color:var(--muted)}.try-example{border-top:1px solid var(--line);margin-top:24px;padding-top:17px;font-size:12px}.try-example>span{display:block;color:var(--muted)}.try-example .text-button{font-weight:600}.back-link{border:0;background:none;padding:0;margin-bottom:14px;color:var(--muted);font-size:12px}.chosen-place{font-size:12px;font-weight:600;background:var(--soft);border-radius:8px;padding:10px 12px;line-height:1.5;margin-bottom:24px}.topic-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 5px}.topic-chip{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 10px;text-align:left;font-size:12px;min-height:42px}.topic-chip:hover,.topic-chip[aria-pressed=true]{background:#eaf2e5;border-color:#8bab7d}.topic-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px #8bab7d}.all-nearby{display:block;text-align:center;margin:7px auto 0;color:var(--muted)}#topic-catalog{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0;max-height:240px;overflow:auto}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-heading h1{font-size:29px;letter-spacing:-1px;margin:9px 0 18px;overflow-wrap:anywhere}.result-heading .text-button{white-space:nowrap}.place-summary{background:#f3f6f0;border:1px solid #e7ece1;border-radius:11px;padding:12px 13px;margin-bottom:20px}.place-link{display:flex;align-items:center;gap:7px;width:100%;text-align:left;background:transparent;border:0;padding:0;font-size:12px;font-weight:600;line-height:1.45}.place-link #zone-title{flex:1}.change-place{font-size:10px;color:#7a8a76;font-weight:400}#radius-controls{display:flex;align-items:center;justify-content:space-between;margin-top:10px;font-size:11px;color:var(--muted)}#radius{width:88px;min-height:32px;padding:6px 8px;font-size:11px;border-radius:7px}.result-tabs{display:flex;border-bottom:1px solid var(--line);margin:0 -4px 20px;gap:3px}.result-tabs button{border:0;border-bottom:2px solid transparent;background:none;flex:1;padding:11px 2px;font-size:11px;color:var(--muted);white-space:nowrap}.result-tabs [aria-pressed=true]{color:var(--green);font-weight:700;border-bottom-color:var(--green)}#result-badge{display:inline-block;font-size:10px;margin-left:3px}#counter{font-size:11px;color:var(--muted);margin:8px 0 12px}.list-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.list-heading h2{font-size:16px}.row{display:flex;gap:9px;width:100%;border:0;border-bottom:1px solid #edf0e9;background:none;text-align:left;padding:15px 0;align-items:start}.row:hover{background:#f7f9f4}.row .dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;margin-top:5px}.row b{font-size:13px;font-weight:650}.row span{display:block;font-size:11px;color:var(--muted);margin-top:4px;line-height:1.4}.row .closed{color:#aa7446}.row .match-reason{font-size:10px;color:#8a978b}.hint{font-size:12px;line-height:1.55;margin:9px 0 15px}.gap-note{font-size:11px;color:#967344;background:#faf5e9;border-radius:8px;padding:11px;line-height:1.5;margin-bottom:12px}#business-insight>p:empty{display:none}#business-insight p{font-size:12px;margin:0 0 12px}.result-actions{margin-top:18px;padding-top:5px;border-top:1px solid var(--line)}.result-actions>.text-button{display:block;margin:6px auto 0;font-size:11px}.section-heading select{width:155px;padding:8px;min-height:34px;font-size:11px}.section-heading>label,.section-heading>span{font-size:11px;color:var(--muted)}.overview-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;font-size:13px}.overview-row:hover{color:#59925f}.overview-row b{font-weight:600}.no-evidence b{font-size:11px;color:#8b9689}.metro-card{margin-top:12px;border:1px solid var(--line);border-radius:12px;padding:14px}.metro-route{display:flex;gap:9px;align-items:center;width:100%;border:0;background:transparent;padding:0;text-align:left;font-size:12px}.metro-route strong{margin-left:auto;white-space:nowrap}.metro-badge,.route-target{display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;background:#e8f1ea;border-radius:50%;color:#447b59;font-weight:700}.metro-card p{font-size:11px;margin:8px 0}.metro-card a{font-size:11px}.transport-note{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}.transport-note>*{display:block;font-size:12px;margin:5px 0}.transport-note small{font-size:10px;color:var(--muted)}.nearby-alternative{display:block;border:1px solid var(--line);background:#f4f7f0;border-radius:10px;padding:14px;width:100%;text-align:left;margin-bottom:15px}.nearby-alternative>*{display:block;margin-bottom:5px;font-size:11px}.nearby-alternative b{font-size:14px}.map-reset{position:absolute;right:65px;top:24px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 13px;font-size:12px;box-shadow:0 3px 12px #2647200a}.maplibregl-ctrl-top-right{top:14px;right:14px}#draw-actions{position:absolute;z-index:3;top:24px;left:50%;transform:translateX(-50%);max-width:480px;width:calc(100% - 40px);background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;text-align:center;box-shadow:0 4px 20px #193d3518;font-size:13px}#draw-actions>div{display:flex;gap:8px;justify-content:center;margin-top:10px}#draw-actions button{border:0;background:var(--soft);border-radius:7px;padding:8px 12px}#draw-actions #finish-polygon{background:var(--green);color:#fff}#notice{position:absolute;z-index:4;bottom:40px;left:50%;transform:translateX(-50%);max-width:480px;width:max-content;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 17px;font-size:12px;color:#4a6657;box-shadow:0 3px 18px #193d3512;pointer-events:none}#notice:empty{display:none}#coverage-legend{position:absolute;bottom:80px;right:24px;max-width:420px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px}body[data-picking=true] .explorer{visibility:hidden}body[data-view=result] .steps{margin-bottom:23px}.maplibregl-popup-content{padding:19px;border-radius:12px;box-shadow:0 6px 25px #193d3525;font-family:inherit}.maplibregl-popup-content h2{font-size:20px;margin-top:8px}.maplibregl-popup-content p{font-size:12px}.maplibregl-popup-content small,.maplibregl-popup-content a{font-size:11px}.maplibregl-popup-close-button{padding:4px 8px;font-size:20px}dialog{width:min(500px,calc(100vw - 32px));max-height:85dvh;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);padding:26px;box-shadow:0 20px 100px #193d3530;overflow:auto}dialog::backdrop{background:#1d382e50;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.icon-button{border:0;background:#f0f4ed;border-radius:50%;width:32px;height:32px;font-size:23px;line-height:1;flex-shrink:0}.filter-actions{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:22px}dialog>label{display:block;font-size:12px;font-weight:600;margin:16px 0 8px}dialog details{border-top:1px solid var(--line);padding-top:15px;margin-top:20px;font-size:12px}summary{cursor:pointer;font-weight:600}dialog pre{white-space:pre-wrap;font:12px/1.6 system-ui;color:var(--muted)}dialog p{font-size:13px}.city-total{font-size:13px;background:var(--soft);border-radius:12px;padding:16px}.city-total strong{font-size:23px}.city-total small{display:block;font-size:11px;color:var(--muted);margin-top:8px}.saved-zone{display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.saved-zone>button:first-child{flex:1;border:0;background:none;text-align:left;padding:0}.saved-zone b,.saved-zone small{display:block}.saved-zone small{font-size:11px;color:var(--muted);margin-top:6px}.zone-total{padding:16px;background:var(--soft);border-radius:10px;font-size:12px}.zone-total strong{display:block;font-size:30px;margin:8px 0}.zone-total small{display:block;line-height:1.5;color:var(--muted)}#zone-geometry{display:block;margin-top:9px;font-size:11px;color:var(--muted)}.kind-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.kind-stats button{background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 8px;text-align:left}.kind-stats b,.kind-stats span{display:block}.kind-stats span{font-size:10px;margin-top:6px}.category-row{width:100%;border:0;background:none;padding:10px 0;text-align:left}.category-row>span{display:flex;justify-content:space-between;gap:10px;font-size:12px}.meter{height:3px;margin-top:8px;background:#eff2eb}.meter i{display:block;height:3px;background:#9bb68a}.quality-stat{display:flex;justify-content:space-between;gap:10px;margin:12px 0;font-size:12px}.quality-stat.warning{color:#a07848}#comparison{width:min(1000px,calc(100vw - 32px))}#comparison-content{overflow:auto}table{border-collapse:collapse;min-width:500px;width:100%;font-size:12px}th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{font-weight:600}td strong{font-size:21px}thead{background:var(--soft)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mobile-map,.mobile-panel{display:none}@media(min-width:1600px){.explorer{left:32px;top:32px;width:400px;padding:30px;max-height:calc(100% - 64px)}}@media(max-width:700px){header{height:58px;padding:0 17px;gap:13px}.brand{font-size:23px}.city{font-size:11px;padding-left:12px}header nav{gap:0}.header-button{font-size:11px;padding:8px 6px}.header-button.subdued{display:block;font-size:0;width:28px}.header-button.subdued:after{content:"?";font-size:14px}main{height:calc(100dvh - 58px);min-height:0}.explorer{top:14px;left:12px;right:12px;width:auto;max-height:calc(100% - 28px);padding:23px;border-radius:17px}.steps{margin-bottom:24px}h1{font-size:34px}.intro{font-size:13px;margin-bottom:21px;max-width:none}.map-reset{top:18px;right:60px}.try-example{margin-top:20px;padding-top:13px}.topic-chips{grid-template-columns:repeat(3,1fr);gap:6px}.topic-chip{padding:10px 7px;font-size:11px}.result-heading h1{font-size:27px}.mobile-map{display:block;position:sticky;bottom:0;width:100%;margin-top:18px;border:0;border-radius:10px;padding:13px;background:var(--green);color:#fff;font-size:13px;box-shadow:0 -10px 12px #ffffffb0}.mobile-panel{display:block;position:absolute;z-index:4;bottom:30px;left:50%;transform:translateX(-50%);border:1px solid var(--line);border-radius:25px;white-space:nowrap;padding:14px 24px;background:#fff;box-shadow:0 5px 20px #193d3526;font-weight:600}body[data-map-only=true] .explorer{display:none}#notice{max-width:calc(100% - 30px);width:max-content;bottom:90px;text-align:center}#draw-actions{top:16px;font-size:12px}.result-tabs button{font-size:12px}dialog{padding:22px}.maplibregl-ctrl-attrib{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.area-option.is-map-hovered,.area-option.is-map-hovered:hover{background:#e4f0e7;box-shadow:inset 3px 0 #2d7957}.area-option.is-map-hovered b{color:#23674d}

.more-stations{margin:14px 0;font-size:12px;color:var(--muted)}.more-stations summary{padding:5px 0}.result-heading h1:focus{outline:none}
/* Territory selection: a reviewable, editable map selection before business search. */
.area-picker-button{margin-top:0;justify-content:space-between}.area-tabs{display:flex;background:#f1f5ef;border-radius:10px;padding:4px;gap:4px;margin-bottom:15px}.area-tabs button{flex:1;border:0;border-radius:7px;background:none;font-size:11px;line-height:1.4;padding:10px 6px}.area-tabs [aria-pressed=true]{background:#fff;box-shadow:0 1px 5px #193d3510;color:#285b46;font-weight:600}#areas-step h1,#area-step h1{font-size:29px;letter-spacing:-.8px}.area-list-caption{font-size:11px;color:var(--muted);margin:15px 0 7px}#area-options{max-height:310px;overflow:auto;scrollbar-width:thin}.area-option{display:block;width:100%;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;padding:13px 5px}.area-option:hover{background:var(--soft)}.area-option b,.area-option span{display:block}.area-option b{font-size:13px;font-weight:600}.area-option span{font-size:10px;color:var(--muted);margin-top:5px}.area-source-note{font-size:11px;line-height:1.5;margin:15px 0 0}#areas-on-map{display:none}.area-heading{padding:13px 14px;border-radius:10px;background:var(--soft);margin:20px 0}.area-heading strong,.area-heading span{display:block}.area-heading strong{font-size:14px}.area-heading span{font-size:11px;color:var(--muted);margin-top:6px}.radius-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px}.radius-heading>div{display:flex;gap:6px;align-items:center;color:var(--muted)}#area-radius{width:80px;min-height:36px;border:1px solid var(--line);padding:7px 9px;border-radius:8px;background:white;font-size:14px;color:var(--ink)}#area-range{width:100%;height:30px;margin:12px 0 7px;accent-color:#285b46;cursor:ew-resize}.radius-presets{display:flex;gap:6px}.radius-presets button{flex:1;border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 5px;font-size:11px}.radius-presets [aria-pressed=true]{background:#eaf2e5;border-color:#8bab7d;color:#285b46}.area-edit-actions{display:flex;flex-wrap:wrap;gap:3px 16px}.area-edit-actions .text-button,#area-outline-actions .text-button{font-size:11px}#area-edit-hint{margin-top:18px;margin-bottom:8px;font-size:12px}#selected-area-size{font-size:11px;color:var(--muted);margin-top:6px}.area-handle{display:block;width:23px;height:23px;border:3px solid #285b46;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #fff,0 2px 10px #193d3540;cursor:grab;touch-action:none}.area-handle:active{cursor:grabbing}.area-handle.midpoint{width:20px;height:20px;border:1px solid #73917b;background:#fff;color:#285b46;font-size:17px;line-height:16px;padding:0;box-shadow:none;cursor:pointer}.area-tooltip{pointer-events:none}.area-tooltip .maplibregl-popup-content{padding:9px 12px;font-size:12px}.area-tooltip .maplibregl-popup-tip{display:none}body[data-view=area] .steps{margin-bottom:20px}body[data-view=area] .maplibregl-marker{z-index:1}
@media(max-width:700px){body[data-view=area] .explorer{top:auto;bottom:12px;max-height:55%;padding:18px 20px}body[data-view=area] .steps{display:none}#area-step h1{font-size:23px;margin:0 0 12px}#area-step .back-link{font-size:11px;margin-bottom:10px}.area-heading{padding:9px 12px;margin:10px 0 12px}.area-heading strong{font-size:12px}.area-heading span{font-size:10px;margin-top:4px}#area-edit-hint{font-size:11px;margin:11px 0 5px}#area-range{margin:4px 0}#area-confirm{margin-top:7px;min-height:42px;padding:10px}#area-options{max-height:32dvh}#areas-on-map{display:flex}#area-radius{min-height:32px;padding:5px 8px}.radius-presets button{padding:6px 4px}.area-handle{width:26px;height:26px}}

.chosen-place strong,.chosen-place small{display:block}.chosen-place small{font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}#chosen-area-note{font-size:11px;margin-top:-12px;margin-bottom:20px}#result-area-note{font-size:10px;margin-bottom:0;line-height:1.4}

/* Searchable choices share one visual and keyboard interaction model. */
.search-choice{position:relative;width:100%;min-width:0}.choice-field{width:100%}.choice-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;border:1px solid #d8e2da;border-radius:10px;background:#fff;padding:12px 14px;text-align:left;font-size:13px;line-height:1.4}.choice-trigger:hover{border-color:#8fa99b;background:#fcfdfb}.choice-trigger>span:first-child{min-width:0;overflow-wrap:anywhere}.choice-chevron{color:#738b7d;font-size:17px;line-height:1}.search-choice.is-open .choice-trigger{border-color:#458268;box-shadow:0 0 0 3px #39845c12}.choice-tags{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 0}.choice-tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 5px 4px 9px;border:1px solid #cee2d3;background:#eaf4ed;border-radius:7px;color:#265e45;font-size:12px;font-weight:500;line-height:1.4}.choice-tag>span{overflow-wrap:anywhere;min-width:0}.choice-tag button{flex-shrink:0;display:grid;place-items:center;width:24px;height:24px;border:0;border-radius:4px;background:transparent;color:#4d7d62;font-size:18px;padding:0}.choice-tag button:hover{background:#d2e8d9;color:#163f2e}.choice-popup{position:fixed;z-index:100;box-sizing:border-box;border:1px solid #d9e5dd;border-radius:13px;background:#fff;box-shadow:0 12px 40px #193d3524;overflow:hidden;text-align:left;color:var(--ink);font-size:13px}.choice-search-header{display:flex;align-items:center;gap:9px;margin:9px 9px 0;padding:0 10px;border:1px solid #dce7df;border-radius:8px;background:#f8faf7;min-height:40px}.choice-search-icon{color:#7e9788;font-size:20px;line-height:1;flex-shrink:0}.choice-search{width:100%;min-width:0;min-height:40px;padding:9px 0;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--ink);font-size:13px;outline:none!important}.choice-search-header:focus-within{border-color:#599c79;box-shadow:0 0 0 2px #478e6510}.choice-caption{padding:11px 13px 8px;font-size:10px;color:#849288;line-height:1.4}.choice-options{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 5px}.choice-option{display:flex;align-items:center;gap:9px;min-height:40px;padding:9px 8px;border-radius:7px;cursor:pointer;font-size:12px;line-height:1.4}.choice-option.is-active{background:#f0f5ef}.choice-option[aria-selected=true]{color:#256444;background:#edf6ef}.choice-option[aria-selected=true].is-active{background:#e2f0e6}.choice-check{display:grid;place-items:center;width:17px;height:17px;flex-shrink:0;border:1px solid #d5dfd7;border-radius:4px;background:#fff;color:white;font-size:12px}.choice-option[aria-selected=true] .choice-check{border-color:#387b58;background:#387b58}.choice-option-text{min-width:0;flex:1;overflow-wrap:anywhere}.choice-option-text small{display:block;margin-top:3px;font-size:10px;color:var(--muted)}.choice-count{font-size:10px;color:#839187;white-space:nowrap}.choice-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;border-top:1px solid #e7eee7;margin-top:5px;min-height:43px;color:#789080;font-size:10px}.choice-done{border:0;background:#e9f3eb;border-radius:6px;padding:7px 12px;color:#286442;font-size:11px;font-weight:600}.choice-done:hover{background:#dceddf}.choice-empty{font-size:12px;margin:10px;padding:4px 0}.choice-help{font-size:11px;line-height:1.5;margin:9px 0 0;color:#7c8c81}#business-picker .choice-field{padding:7px 10px;border:1px solid #ccdcd0;border-radius:11px;background:#fff;transition:border-color .15s,box-shadow .15s}#business-picker .choice-field:focus-within{border-color:#458268;box-shadow:0 0 0 3px #39845c12}#business-picker .choice-tags{margin:2px 0 5px}#business-picker .choice-input-line{display:flex;gap:8px;align-items:center}#business-picker .choice-search{font-size:13px;min-height:34px;padding:5px 0}.choice-toggle{border:0;background:transparent;border-radius:5px;width:28px;height:28px;font-size:18px;color:#637e6d;flex-shrink:0}.choice-toggle:hover{background:#f0f5ef}.result-query-tags{margin:-7px 0 17px}.result-query-tags .choice-tag{font-size:11px}.section-heading>.search-choice,.section-heading>div:has(>.search-choice){width:175px;flex-shrink:0}.section-heading .choice-trigger{font-size:11px;min-height:36px;padding:7px 10px}#filters-dialog{width:min(460px,calc(100vw - 28px))}#filters-dialog .dialog-heading{margin-bottom:14px}#filters-dialog>label{margin-top:19px}.choice-popup button:focus-visible{outline-offset:1px}.choice-popup input:focus-visible{outline:none}.choice-trigger:focus-visible{outline:2px solid #428266;outline-offset:2px}
@media(max-width:700px){.choice-popup{border-radius:12px}.choice-search,.choice-trigger,#business-picker .choice-search{font-size:16px}.choice-option{min-height:44px;font-size:13px}.choice-tag{font-size:12px}.choice-tag button{width:28px;height:28px}.choice-caption,.choice-footer{font-size:11px}.choice-done{padding:8px 13px}.section-heading .choice-trigger{font-size:12px}.topic-chip[aria-pressed=true]{background:#e1f0e5}}

/* Search explanations stay folded; only matching evidence accompanies results. */
.search-meaning,.ai-query{margin:14px 0;border:1px solid #dce5dd;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.5}
.search-meaning summary,.ai-query summary{cursor:pointer;color:var(--ink,#183f34);font-weight:600}
.search-meaning>div,.ai-query[open]>label{margin-top:12px}
.search-meaning p{margin:6px 0 12px;color:#667b72;font-size:13px}.search-meaning small{color:#71847b}
.meaning-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 14px}.meaning-links small{flex-basis:100%}.meaning-links button{font-size:13px;padding:2px 0}
.ai-query summary span{float:right;font-size:10px;background:#eaf2eb;border-radius:4px;padding:1px 5px;color:#3e765c}
.ai-query label{display:block;font-weight:600;margin-bottom:6px}.ai-query textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:82px;max-height:200px;border:1px solid #cdded3;border-radius:9px;padding:10px;font:inherit;color:#183f34;background:white}
.ai-query textarea:focus-visible{outline:2px solid #387c5e;outline-offset:2px}.ai-query .hint{font-size:12px;margin:6px 0 12px}.ai-query .secondary{font-size:13px;min-height:42px;padding:10px}
#ai-query-proposal{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;font-size:13px}#ai-query-proposal>b{width:100%}#ai-query-proposal .choice-tag{font-size:12px;padding:5px 8px}#ai-query-proposal p{margin:4px 0}.query-unverified{width:100%;background:#fff6e8;padding:10px;border-radius:8px;color:#735629}.query-unverified ul{padding-left:18px;margin:5px 0}
#business-exclusions,#result-exclusions{margin:10px 0}.exclusion-tag{background:#f5eee6;border-color:#e8dacb;color:#7e5d3d}
.row .match-evidence,.match-evidence{color:#357451;font-size:11px;line-height:1.45;margin-top:4px;display:block}

.maplibregl-popup-content{max-height:min(560px,calc(100dvh - 150px));overflow-y:auto;overscroll-behavior:contain}
.place-source{margin:10px 0;font-size:12px}.place-source summary{cursor:pointer;color:#356e56}.place-source p{font-size:12px;line-height:1.5}.place-source a,.place-source small{display:block;margin:8px 0}.place-source small{color:#74857d}
/* Clickable, persistent workflow navigation and optional neighbourhood margins. */
.steps{position:sticky;top:0;z-index:4;background:#fff;box-shadow:0 -16px 0 #fff,0 10px 12px #ffffffed}
.steps button{display:flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;font:inherit;white-space:nowrap;min-height:36px;padding:6px 2px;border-radius:7px;cursor:pointer}
.steps button:hover:not(:disabled){background:#edf4ee;color:var(--green)}.steps button:disabled{opacity:.55;cursor:default}.steps button:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.current-place{padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin:0 0 22px;background:var(--soft)}.current-place>strong,.current-place>small{display:block;margin-top:6px}.current-place>strong{font-size:13px}.current-place>small{font-size:11px;color:var(--muted)}.current-place>div{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px}.current-place .text-button{font-size:11px}
.border-options{margin:16px 0 22px}.border-options>b{font-size:12px;font-weight:600}.border-buttons{display:flex;gap:6px;margin-top:9px}.border-buttons button{flex:1;border:1px solid var(--line);background:#fff;border-radius:8px;min-height:36px;font-size:12px;padding:8px 6px}.border-buttons button[aria-pressed=true]{background:#eaf4ed;border-color:#7d9e87;color:var(--green);font-weight:600}.border-options .hint{font-size:11px;margin:8px 0 0}
@media(max-width:700px){body[data-view=area] .steps{display:flex;margin-bottom:12px}.steps button{min-height:36px}.border-buttons button{min-height:40px}.current-place{margin-bottom:16px}}
.margin-editor{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font-size:12px}.margin-editor>div{display:flex;align-items:center;gap:7px;color:var(--muted)}.margin-editor input{width:85px;min-height:36px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;background:#fff;color:var(--ink);font-size:14px}.margin-range{display:block;width:100%;height:30px;margin:5px 0 0;accent-color:#285b46;cursor:ew-resize;touch-action:pan-y}.margin-scale{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:0 0 4px}.border-options[aria-busy=true] .hint{color:var(--green)}

/* Static surfaces never advertise a click; controls keep their own cursor. */
body{cursor:default}
a[href],select,input[type=checkbox],input[type=radio]{cursor:pointer}
input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,[contenteditable=true]{cursor:text}
input:disabled,select:disabled,textarea:disabled,a[aria-disabled=true]{cursor:default}

.loaded-places{font-size:12px;color:#285b46;background:#edf5ef;border-radius:8px;padding:10px 12px;margin:-12px 0 20px;line-height:1.4}
.rent-layer-control{position:absolute;right:65px;top:72px;display:flex;align-items:center;background:#fff;border:1px solid #ead8cb;border-radius:10px;box-shadow:0 3px 12px #26472012;overflow:hidden;font-size:12px}
.rent-layer-control label{display:flex;align-items:center;gap:7px;padding:11px 10px;cursor:pointer;font-weight:600;margin:0}.rent-layer-control input{accent-color:#bd592b;width:15px;height:15px;margin:0}.rent-layer-control i,.rental-square{display:inline-block;width:9px;height:9px;background:#bd592b;border-radius:2px}.rent-layer-control button{border:0;border-left:1px solid #ead8cb;background:#fff8f2;padding:12px 10px;color:#9f421a;font-size:11px}.rent-layer-control button:hover{background:#f7e6d9}
.rent-legend{position:absolute;right:18px;bottom:30px;display:flex;gap:14px;padding:9px 12px;background:#fffffff2;border:1px solid var(--line);border-radius:8px;font-size:11px;pointer-events:none}.rent-legend span{display:flex;align-items:center;gap:6px}.business-dot{width:9px;height:9px;border-radius:50%;background:#358159;display:inline-block}
.result-tabs{flex-wrap:wrap}.result-tabs button{flex:1 0 43%;padding:9px 3px}.result-tabs button[data-tab=rentals][aria-pressed=true]{color:#a34520;border-bottom-color:#bd592b}.result-tabs button span{font-size:10px;margin-left:3px}
#rent-context{margin-top:0}#rent-caption{font-size:11px}.rent-search-label{margin-top:14px}#rent-search{width:100%;padding:11px 12px;border:1px solid #dce5dd;border-radius:9px;background:white;font-size:13px}.rent-count{font-size:11px;color:var(--muted);margin:18px 0 4px}.rent-row{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;text-align:left;padding:17px 3px;border:0;border-bottom:1px solid var(--line);background:white}.rent-row:hover{background:#fff8f2}.rent-row strong{font-size:13px;line-height:1.4}.rent-row span{font-size:11px;line-height:1.5;color:var(--muted)}.rent-price{font-size:15px;color:#a34520;line-height:1.4}.rent-data-note{font-size:11px;line-height:1.5;color:var(--muted);margin:22px 0}.rent-data-note summary{cursor:pointer}.rent-disabled{padding:9px;background:#fff5eb;font-size:12px;border-radius:8px}.rent-disabled button{font-size:12px;padding:3px}.rent-tag{color:#a34520;font-weight:650;font-size:10px}.rent-popup-price{font-size:19px;color:#a34520}.rent-popup .rent-source{display:inline-block;margin:6px 0 16px;color:#a34520}.rent-popup .primary{margin-bottom:9px}.rent-popup .secondary{font-size:12px}.rent-popup details{font-size:12px;margin:10px 0}.rent-other{display:block;background:#fff8f2;border:0;border-radius:5px;padding:8px;margin-top:5px;text-align:left;width:100%;font-size:12px}.rent-popup .hint{font-size:11px}.rent-popup h2{line-height:1.35}
@media(max-width:700px){.rent-layer-control{top:66px;right:12px}.rent-legend{right:12px;top:116px;bottom:auto;font-size:10px;padding:7px 9px}#open-rentals{font-size:0;padding:10px 8px}#open-rentals:after{content:'Аренда';font-size:12px}#rent-search{font-size:16px}.result-tabs button{font-size:12px}body[data-map-only=true] .rent-legend{top:116px}}

@media(max-width:700px){.rental-map-popup .maplibregl-popup-content{max-height:min(440px,calc(100dvh - 260px))}}
/* Keep territory editing in its own step, so results start with useful choices. */
body[data-view=result] #result-border-options,body[data-view=result] #result-area-note{display:none!important}
body[data-tab=rentals] #result-queries,body[data-tab=rentals] #result-unverified{display:none!important}
body[data-tab=rentals] .place-summary{padding:11px 13px;margin-bottom:12px}
body[data-tab=rentals] .result-heading h1{font-size:26px;margin-bottom:13px}
body[data-tab=rentals] .result-tabs{margin-bottom:17px}
#rent-ai-input{width:100%;resize:vertical;min-height:68px;max-height:140px;border:1px solid #d7e2db;border-radius:10px;padding:12px;font:inherit;font-size:13px;line-height:1.5;background:#fff;color:var(--ink)}
#rent-ai-input::placeholder{color:#8b9790}#rent-ai-input:focus{outline:2px solid #80a38d;outline-offset:2px}
.rent-search-actions{display:flex;gap:8px;margin-top:8px}.rent-search-actions button{min-height:40px;padding:10px;font-size:12px}.rent-search-actions .primary{flex:1}.rent-search-actions .secondary{min-width:100px}
#rent-use-business{font-size:11px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:4px 0}
#rent-ai-proposal{font-size:12px;line-height:1.5;margin-top:12px;background:#f4f7ef;border-radius:10px;padding:12px}#rent-ai-proposal:empty{display:none}
.rent-proposal-conditions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.rent-proposal-conditions span{padding:5px 7px;background:white;border-radius:6px;border:1px solid var(--line);font-size:11px}
.rent-active-filters{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.rent-active-filters:empty{display:none}.rent-filter-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #ead6c8;background:#fff8f2;border-radius:8px;padding:6px 9px;color:#984720;font-size:11px}
.rent-results-heading{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:16px}.rent-results-heading .rent-count{margin:0}.rent-results-heading button{font-size:11px}.rent-row{padding:13px 3px}.rent-data-note{margin:16px 0}
.rent-check-note{font-size:11px;color:#7b623e;background:#faf6ed;border-radius:8px;padding:9px 11px;margin:10px 0}.rent-check-note ul{padding-left:16px;margin:9px 0 0;line-height:1.5}.rent-check-note li+li{margin-top:5px}
.rent-form-group{border:0;padding:0;margin:20px 0}.rent-form-group legend{font-size:13px;font-weight:600;margin-bottom:10px}.rent-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rent-form-row>*,.rent-form-row .search-choice{min-width:0}.rent-form-row label{font-size:12px;font-weight:600;display:block}.rent-form-row input{display:block;width:100%;min-height:44px;border:1px solid var(--line);border-radius:9px;padding:10px;margin-top:8px;background:white}.rent-form-row .field-label{margin-bottom:8px}.rent-form-row .choice-trigger{min-height:44px}.rent-form-group .hint{font-size:11px;margin:9px 0 0}.rent-form-error{color:#a0412c;font-size:12px}.rent-form-error:empty{display:none}#rent-filters-dialog .filter-actions{position:sticky;bottom:-26px;background:white;margin-top:20px;padding:13px 0 6px;border-top:1px solid var(--line)}
.rent-form-row .choice-trigger>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rent-form-row .choice-chevron{flex-shrink:0}
@media(max-width:700px){#rent-ai-input{font-size:16px}.rent-search-actions button{min-height:44px}.rent-form-row input{font-size:16px}#rent-filters-dialog .filter-actions{bottom:-22px}.rent-filter-chip{font-size:12px}}
