/* Homepage preview shares the full map with the audience builder. */
.demo-mobile-count{display:none}
.demo-filter-help{font-size:10px;line-height:1.6;color:#a6b499;margin:10px 0 0}.demo-distribution{font-size:11px;line-height:1.7;color:#b4c2a9;margin-top:8px}
.home .selection-demo{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:clamp(32px,6vw,90px);padding-block:32px}
.demo-controls{min-width:0}.demo-controls>.micro{font-size:9px;margin-bottom:17px}
.demo-geography{margin-bottom:24px}
#demo-map-open{width:100%;display:flex;align-items:center;gap:20px;padding:12px 18px;text-align:left;border:1px solid #61705773;background:radial-gradient(ellipse at 0 30%,#293427,#111914 80%);border-radius:3px;min-height:124px}
#demo-map-open:hover{border-color:var(--accent)}#demo-map-mini{height:104px;width:82px;flex-shrink:0;overflow:visible}.mini-context{fill:#4c5c47;stroke:#192518;stroke-width:.8}.mini-selected{fill:#ceb58a;stroke:none}
#demo-map-open>span{display:grid;gap:7px;min-width:0}#demo-map-open small{font:9px var(--mono);letter-spacing:.1em;color:#b0bea9}#demo-map-open strong{font-size:19px;font-weight:400;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#demo-map-open>span>span{font-size:11px;color:#bac7ae}#demo-map-open>span>span span{color:var(--accent);margin-left:12px}
#demo-area-clear{border:0;border-bottom:1px solid #617057;background:transparent;font-size:11px;padding:10px 0;color:#d6c39d}
.demo-input-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.demo-controls label:not(.demo-check){font-size:11px;line-height:1.5;color:#b9c4b3;display:block}.demo-controls select{display:block;appearance:auto;color:#e3e8dc;border:1px solid #61705773;background:#151d16;width:100%;border-radius:3px;min-height:46px;padding:8px 9px;font-size:12px;margin-top:8px;cursor:pointer}.demo-controls select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.demo-check{display:flex;align-items:center;gap:10px;min-height:46px;font-size:12px;line-height:1.5;color:#ced6c5;cursor:pointer}.demo-check input{width:17px;height:17px;margin:0;accent-color:var(--accent);flex-shrink:0}.demo-input-grid+.demo-check{margin-top:9px}
.demo-financials{border-block:1px solid var(--line);margin:10px 0 22px;padding-block:13px}.demo-financials summary{font-size:13px;list-style:none;cursor:pointer;line-height:1.7;position:relative;padding-right:25px}.demo-financials summary::-webkit-details-marker{display:none}.demo-financials summary>span{position:absolute;right:2px;top:0;color:var(--accent);font-size:20px;transition:transform .2s}.demo-financials[open] summary>span{transform:rotate(45deg)}.demo-financials summary small{display:block;font-size:10px;color:#96a78c;font-weight:400;letter-spacing:.025em}.demo-financials[open] summary{margin-bottom:15px}.demo-financials>p{font-size:10px;color:#98a78f;line-height:1.6;padding:5px 0}
#demo-continue{font-size:12px;width:100%;gap:20px;min-height:49px;padding:12px 17px}.demo-continue-note{font-size:10px;line-height:1.6;color:#a6b499;margin-top:11px}
.home .demo-field{justify-content:flex-start;padding-top:0}.field-caption{min-height:25px}#reset-demo{border:0;background:transparent;font-size:11px;color:#bec8b4;min-height:34px;padding:0 0 0 10px}#reset-demo span{margin-left:12px;color:var(--accent)}
.demo-result{margin-top:22px}.demo-result>.micro{font-size:8px;color:#aabb9c}.demo-result>strong{display:block;font:400 clamp(43px,5.5vw,78px)/1.12 var(--mono);letter-spacing:-.065em;color:var(--accent);margin:10px 0}.demo-result>p:last-child{font-size:13px;line-height:1.7;color:#d0d9c6}.demo-result[data-state=manual]>strong,.demo-result[data-state=unavailable]>strong,.demo-result[data-state=loading]>strong{font:400 clamp(26px,3vw,42px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.035em;max-width:440px;min-height:75px;display:flex;align-items:center}
#demo-universe{font-size:11px;color:#9aab90;line-height:1.6;margin-top:9px}
.home .company-field{grid-template-columns:repeat(24,minmax(0,1fr));gap:9px 7px;padding:30px 0 24px;max-width:none;width:100%}.home .company-dot{width:7px;height:7px;border-radius:50%;max-width:none;max-height:none;transition:opacity .55s,background .55s,border-color .55s,transform .55s;transition-delay:var(--dot-delay,0s)}.home .company-dot.selected{background:#dcc69e;border-color:#efdbb8;box-shadow:0 0 8px #d9c39b20}.home .company-dot.excluded{opacity:.25;transform:scale(.56);background:#74866b;border-color:#74866b}.home .company-dot.unresolved{opacity:.25;transform:scale(.7);background:transparent;border-color:#acb89d}.home .company-field.is-counting{opacity:.48}
.demo-dot-caption{font-size:10px;line-height:1.6;color:#8d9d83;margin-top:12px}.demo-finance-help{border-left:1px solid #b59b70;padding-left:12px;font-size:11px;line-height:1.7;color:#bec8b3;margin-top:15px;max-width:440px}
.demo-source{font-size:11px;color:#a4b397;margin-top:13px}.demo-source summary{cursor:pointer;padding-block:8px;color:#bcc9ae}.demo-source p{line-height:1.7;margin-top:8px;max-width:470px}#demo-retry{border:1px solid #938367;background:transparent;color:var(--accent);align-self:flex-start;padding:10px 15px;margin-top:12px;min-height:44px;font-size:12px}
.home .geo-map-dialog{--ink:#20331c;--navy:#1f321b;--muted:#5a7050;--line:#cbd6c2;color-scheme:light;margin:auto;font-family:Manrope,Arial,sans-serif}.home .geo-map-dialog h2{font-weight:500}.home .geo-map-dialog button{font-family:inherit}.home .geo-map-dialog .primary,.home .geo-map-dialog .secondary,.home .geo-map-dialog .quiet{padding:10px 14px;border:1px solid #bcc8ac;border-radius:5px;font-size:13px}.home .geo-map-dialog .primary{background:#30442a;color:#f5f4e8;border-color:#30442a}.home .geo-map-dialog .secondary{background:#e8eeda;color:#2e4822}.home .geo-map-dialog .quiet{background:transparent;color:#526447}.home .geo-map-dialog .text-button{border:0;background:transparent;color:#426034;text-decoration:underline}.home .geo-map-dialog .primary:disabled{opacity:.45;cursor:default}.home .geo-map-dialog :focus-visible{outline:2px solid #8b753f;outline-offset:3px}.home .geo-map-dialog #geo-map-apply{background:var(--accent);color:#182115;border-color:var(--accent)}.home .geo-map-dialog .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.home .map-credit-dialog{margin:auto;color-scheme:light}.home .geo-map-dialog .geo-map-header .eyebrow{font-family:var(--mono)}
.demo-area-list{width:min(480px,calc(100vw - 28px));max-height:85dvh;margin:auto;padding:24px;background:#f2f3e8;color:#23351d;border:1px solid #8ea57a;border-radius:5px;color-scheme:light}.demo-area-list h2{font-size:25px;margin-bottom:16px}.demo-area-list label{display:flex;gap:12px;align-items:center;min-height:40px;font-size:14px}.demo-area-list input{width:18px;height:18px;accent-color:#486a35}.demo-area-list button{padding:12px 17px;margin:15px 8px 0 0;min-height:44px;border:1px solid #91a480;background:#e4ebd7;color:#263e1c}.demo-area-list .primary{background:#30442a;color:white}.demo-area-list::backdrop{background:#050b08b8}
@media(max-width:900px){.home .selection-demo{grid-template-columns:310px minmax(0,1fr);gap:32px}.home .company-field{gap:9px 4px}.home .company-dot{width:5px;height:5px}}
@media(max-width:760px){.home .selection-demo{display:flex;gap:30px}.home .demo-field{padding-top:25px}.home .demo-controls{display:block}.demo-controls>.micro{font-size:8px}.demo-input-grid{gap:12px}.demo-controls select{font-size:16px;padding:8px}.demo-controls label:not(.demo-check){font-size:11px}.demo-result{margin-top:20px}.demo-result>strong{font-size:52px}.demo-result[data-state=manual]>strong,.demo-result[data-state=unavailable]>strong,.demo-result[data-state=loading]>strong{font-size:32px;min-height:59px}.home .company-field{gap:8px 4px;padding:24px 0}.home .company-dot{width:5px;height:5px}.field-legend{font-size:10px}.demo-financials summary{font-size:14px}.demo-financials summary small{font-size:11px}.demo-financials>p{font-size:11px}.demo-check{font-size:13px;min-height:49px}.demo-continue-note{font-size:11px}.home .demo-note{font-size:11px}.demo-source{font-size:12px}.demo-finance-help{font-size:12px}.demo-result>p:last-child{font-size:12px}}
@media(max-width:350px){.demo-input-grid{grid-template-columns:1fr}.home .company-field{gap:8px 3px}.demo-result>strong{font-size:44px}}
@media(max-width:760px){.demo-mobile-count{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:8px;z-index:4;background:#182117f5;border:1px solid #5d70505c;padding:12px 14px;box-shadow:0 5px 20px #0002;margin-bottom:-10px;min-height:52px}.demo-mobile-count>span{font:8px var(--mono);color:#bac6ad;flex-shrink:0}.demo-mobile-count>strong{font:400 17px/1.5 var(--mono);color:var(--accent);text-align:right}.demo-mobile-count>strong:not(:empty){overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.home .company-dot{transition:none}.demo-financials summary>span{transition:none}}
/* Free ranges and the complete industry picker keep advanced choices folded. */
.demo-control-label{display:block;font-size:11px;line-height:1.5;color:#b9c4b3}
.demo-industry{margin:17px 0}.demo-industry>button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;min-height:46px;margin-top:8px;padding:10px 12px;border:1px solid #61705773;background:#151d16;border-radius:3px;font-size:12px;color:#e3e8dc}.demo-industry>button>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-industry>button>span:last-child{color:var(--accent)}
.demo-industry-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.demo-industry-chip{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:1px solid #65765966;background:#26312180;border-radius:3px;padding:6px 9px;min-height:32px;color:#c8d4bf;font-size:10px;text-align:left}
.home .demo-controls .demo-range{display:block;min-width:0;padding:0;margin:0 0 17px;border:0}.home .demo-controls .demo-range legend{float:none;width:auto;padding:0;margin:0 0 8px;font-size:11px;color:#b9c4b3;line-height:1.6}.demo-range legend>span{color:#8e9f82;margin-left:5px}.demo-range-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home .demo-controls .demo-range-inputs label{padding:7px 10px 8px;border:1px solid #61705773;background:#151d16;border-radius:3px;font-size:9px;color:#97a88c;min-width:0}.demo-range-inputs input{border:0;background:transparent;display:block;width:100%;min-width:0;margin-top:4px;padding:2px 0;color:#e3e8dc;font:13px/1.5 Manrope,Arial,sans-serif;min-height:23px;border-radius:0}.demo-range-inputs input::placeholder{color:#788b6f;font-size:11px}.demo-range-inputs input:focus{outline:0}.demo-range-inputs label:focus-within{outline:2px solid var(--accent);outline-offset:2px}.demo-range-inputs label:has([aria-invalid=true]){border-color:#d69b83}.demo-input-error{font-size:11px!important;line-height:1.6;color:#e4b09a;margin:8px 0 12px}
.demo-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.demo-presets button{border:1px solid #61705766;background:transparent;padding:6px 8px;min-height:32px;font-size:9px;color:#b7c4ad;border-radius:3px}.demo-presets button:hover,.demo-industry-chip:hover{border-color:var(--accent);color:var(--accent)}
.demo-scope-choice{border:1px solid #9e885b66;background:#29291a70;padding:12px;margin:12px 0 0;border-radius:3px}.demo-scope-choice p{font-size:11px;line-height:1.7;color:#c9c7af}.demo-scope-choice button{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:44px;margin-top:8px;padding:7px 0;border:0;background:transparent;text-align:left;color:var(--accent);font-size:12px}
.demo-more-filters{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid var(--line);font-size:12px;color:#d1dbc8;min-height:54px}.demo-more-filters>span{color:var(--accent);font-size:19px}.demo-more-filters>small{flex-basis:100%;font-size:10px;color:#96a78c}.demo-more-filters:hover{color:var(--accent)}
#demo-advanced[aria-disabled=true],#demo-continue[aria-disabled=true]{opacity:.5;cursor:not-allowed}
.demo-result[data-state=invalid]>strong{font:400 clamp(26px,3vw,42px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.035em;max-width:440px;min-height:75px;display:flex;align-items:center}
.home .demo-controls :is(button,a,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.home .demo-field{align-self:start;position:sticky;top:22px}
.demo-industry-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-width:none;height:min(780px,90dvh);max-height:90dvh;margin:auto;padding:0;border:1px solid #617057;border-radius:6px;background:#111a13;color:#e3e8dc;color-scheme:dark;box-shadow:0 24px 90px #0008;font-family:Manrope,Arial,sans-serif}
.demo-industry-dialog[open]{display:flex;flex-direction:column}.demo-industry-dialog::backdrop{background:#050b08cf;backdrop-filter:blur(5px)}.demo-industry-dialog header{display:flex;gap:15px;justify-content:space-between;padding:26px 28px 18px;flex-shrink:0}.demo-industry-dialog header .micro{color:#a7b198;font-size:9px;margin:0 0 9px}.demo-industry-dialog h2{font-size:34px;line-height:1.2;letter-spacing:-.04em;font-weight:400}.demo-industry-dialog header p:last-child{font-size:12px;line-height:1.6;color:#a9b79e;margin-top:10px}.demo-industry-dialog button{font-family:inherit;cursor:pointer}.demo-industry-dialog header button{border:1px solid #61705766;background:transparent;border-radius:3px;color:#d6dfcd;width:44px;height:44px;flex-shrink:0;font-size:24px}.demo-industry-search{display:block;font-size:11px;color:#aebca3;padding:0 28px 16px;flex-shrink:0}.demo-industry-search input{display:block;width:100%;box-sizing:border-box;background:#1c281b;border:1px solid #617057;border-radius:3px;padding:12px;color:#f0f1e7;font:14px/1.5 Manrope,Arial,sans-serif;margin-top:8px}.demo-industry-search input::placeholder{color:#8e9f82;font-size:12px}.demo-industry-dialog :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.demo-industry-results{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:0 28px 18px;scrollbar-color:#68785d #141e15}.demo-industry-path{display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;font-size:11px;line-height:1.7;margin-bottom:8px}.demo-industry-path button{border:0;background:transparent;color:#d8c09a;padding:5px 0;text-align:left;min-height:32px}.demo-industry-path span{color:#6f8163}.demo-industry-result-count{font-size:10px;color:#8e9f82;margin-bottom:12px}.demo-industry-row{display:flex;align-items:stretch;gap:10px;border-top:1px solid #55654a66}.demo-industry-row label{display:flex;gap:13px;align-items:center;min-width:0;flex:1;cursor:pointer;padding:14px 4px;font-size:13px;line-height:1.6}.demo-industry-row input{accent-color:#d5bb8e;width:18px;height:18px;flex-shrink:0;margin:0}.demo-industry-row label span{min-width:0;overflow-wrap:anywhere}.demo-industry-row small{display:block;font-size:10px;color:#92a384;margin-top:3px}.demo-industry-row>button{align-self:center;min-height:44px;min-width:44px;border:1px solid #61705766;background:transparent;border-radius:3px;color:var(--accent);font-size:18px}.demo-industry-row:has(input:checked){background:#26331e66}.demo-industry-parent{background:#26331e66;margin-bottom:12px}.demo-industry-empty{font-size:13px;color:#b7c4ad;padding:20px 0;line-height:1.7}
.demo-industry-dialog footer{padding:18px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#172116;border-top:1px solid #61705766;flex-shrink:0}.demo-industry-dialog footer p{font-size:11px;color:#d2dcc7;line-height:1.6}.demo-industry-dialog footer small{display:block;font-size:9px;color:#829775;margin-top:5px}.demo-industry-dialog #demo-industry-clear{font-size:10px;border:0;background:transparent;color:#b8c6aa;padding:6px 0;text-decoration:underline;min-height:30px}.demo-industry-dialog #demo-industry-clear:disabled{opacity:.35;cursor:default}.demo-industry-actions{display:flex;gap:8px;flex-shrink:0}.demo-industry-actions button,#demo-industry-more{border:1px solid #617057;border-radius:3px;background:transparent;color:#d6dfcd;padding:12px 14px;min-height:44px;font-size:11px}#demo-industry-more{margin-top:16px}#demo-industry-apply{background:var(--accent);color:#182115;border-color:var(--accent)}#demo-industry-apply span{margin-left:12px}
@media(max-width:760px){.home .demo-field{position:static;align-self:auto}.demo-industry>button{font-size:14px}.demo-range-inputs input{font-size:16px}.home .demo-controls .demo-range legend{font-size:12px}.home .demo-controls .demo-range-inputs label{font-size:10px}.demo-range-inputs input::placeholder{font-size:12px}.demo-presets button{min-height:40px;font-size:10px}.demo-more-filters{font-size:13px}.demo-more-filters>small{font-size:11px}.demo-industry-chip{min-height:40px;font-size:11px}.demo-industry-dialog{width:calc(100vw - 20px);height:92dvh;max-height:92dvh}.demo-industry-dialog header{padding:20px 18px 14px}.demo-industry-dialog h2{font-size:29px}.demo-industry-search{padding:0 18px 12px}.demo-industry-search input{font-size:16px}.demo-industry-results{padding:0 18px 14px}.demo-industry-dialog footer{padding:12px 18px;flex-wrap:wrap;gap:10px}.demo-industry-dialog footer>div:first-child{width:100%}.demo-industry-dialog footer p{display:inline}.demo-industry-dialog #demo-industry-clear{display:block}.demo-industry-dialog footer small{display:none}.demo-industry-actions{width:100%;justify-content:flex-end}.demo-result[data-state=invalid]>strong{font-size:32px;min-height:59px}}
/* Match the builder's safe exit choices for pending map/list changes. */
.demo-pending-dialog{margin:auto;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;background:#f1f1e9;color:#1b291c;border:1px solid #b2bea1;border-radius:7px;box-shadow:0 20px 70px #0005;color-scheme:light;font-family:Manrope,Arial,sans-serif}
.demo-pending-dialog::backdrop{background:#07100bab}
.demo-pending-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.demo-pending-dialog h2{font-size:24px;line-height:1.3;font-weight:500;letter-spacing:-.03em}.demo-pending-close{flex-shrink:0;width:44px;min-height:44px;border:0;border-radius:3px;background:#dbe2cf;color:#465a38;font-size:24px}
.demo-pending-dialog>p{margin-top:15px;color:#637457;font-size:13px;line-height:1.7}.demo-pending-actions{display:grid;gap:10px;margin-top:22px}.demo-pending-actions button{min-height:46px;padding:11px 15px;border-radius:3px;font:13px/1.5 Manrope,Arial,sans-serif}.demo-pending-actions .primary{border:1px solid #243720;background:#243720;color:#f1f2e7}.demo-pending-actions .secondary{border:1px solid #a5b597;background:#e4ebd7;color:#263e1c}.demo-pending-actions .text-button{border:0;background:transparent;color:#405734;text-decoration:underline;text-underline-offset:3px}.demo-pending-dialog :focus-visible{outline:2px solid #8b753f;outline-offset:3px}
@media(max-width:480px){.demo-pending-dialog{padding:20px}.demo-pending-dialog h2{font-size:22px}}
