@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;650;700;750;800;900&display=swap');
:root{font-family:Urbanist,Arial,sans-serif;font-size:16px;font-synthesis:none;color:#17243a;background:#e7edf4;--ink:#17243a;--muted:#60718a;--blue:#2463dc;--blue-dark:#1648aa;--blue-soft:#edf4ff;--line:#dfe6ef;--paper:#fff;--shadow:0 6px 24px #10274d12;--header:80px}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none}button,a,input{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2b67dd}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,p{margin:0}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}span[data-icon]{display:inline-flex;flex:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#map,#google-map,#street-map{position:absolute;top:var(--header);bottom:0;left:0;right:0;background:#d5e3ef}#google-map>gmp-map-3d{width:100%;height:100%}#street-map{z-index:12}.topbar{position:absolute;z-index:20;top:0;left:0;right:0;height:var(--header);display:flex;align-items:center;gap:24px;padding:12px 28px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:27px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand>svg{width:35px;height:35px;fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand>svg path:last-child{fill:var(--blue);stroke-width:1.1}.search{position:relative;display:flex;align-items:center;gap:12px;height:50px;width:min(600px,100%);margin:auto;background:#f5f8fc;border:1px solid #e0e7f0;padding:5px 6px 5px 16px;border-radius:13px}.search>span{color:#6a7b91}.search input{background:transparent;border:0;outline:0;color:var(--ink);font-size:16px;width:100%;min-width:0}.search input::placeholder{color:#73819a}.search button[type=submit]{height:38px;border-radius:9px;background:var(--blue);color:#fff;padding:0 19px;font-size:14px;font-weight:700}.search button[type=submit]:hover,.primary:hover,.play-button:hover{background:var(--blue-dark)}.search-results{position:absolute;top:58px;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:15px;padding:7px;box-shadow:0 12px 32px #10274d22;max-height:50vh;overflow:auto}.search-results button{display:block;width:100%;text-align:left;padding:13px 14px;border-radius:9px;font-size:16px;font-weight:650}.search-results button:hover,.search-results button:focus{background:var(--blue-soft)}.search-results small{display:block;color:var(--muted);margin-top:5px;font-size:13px;font-weight:400}.avatar-button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;padding:3px 12px 3px 3px;height:48px;white-space:nowrap;font-size:14px;font-weight:700}.avatar-button img{width:41px;height:41px;object-fit:contain}.avatar-button .icon{width:14px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;flex:none}.icon-button:hover{background:var(--blue-soft);color:var(--blue)}.help-button{color:var(--muted)}.panel{background:#fff;border:1px solid #dbe4ef;box-shadow:var(--shadow);border-radius:18px}.welcome{position:absolute;z-index:4;left:24px;top:104px;width:360px;padding:28px}.eyebrow{font-size:12px;letter-spacing:1px;font-weight:750;color:#6280a5;display:block}.welcome h1{font-size:36px;line-height:1.12;font-weight:800;letter-spacing:-1.35px;margin:18px 0}.welcome h1 em{font-style:normal;color:var(--blue)}.welcome>p{font-size:16px;line-height:1.55;color:var(--muted)}.primary{background:var(--blue);color:#fff;border-radius:11px;padding:15px 18px;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:750;font-size:16px}.welcome>.primary{margin-top:22px;width:100%}.welcome-divider{border-top:1px solid var(--line);margin:25px 0 14px;padding-top:21px;font-size:14px;font-weight:700;color:#53657e}.demo-grid{display:flex;flex-direction:column;gap:10px}.demo-card{display:flex;align-items:center;text-align:left;gap:12px;background:#f6f8fc;padding:10px;border:1px solid #e6ebf4;border-radius:12px}.demo-card:hover{background:#edf4ff;border-color:#bed1f2}.demo-card>span:nth-child(2){flex:1}.demo-card strong{font-size:16px;font-weight:700;display:block}.demo-card small{font-size:13px;display:block;margin-top:3px;color:var(--muted)}.demo-card .icon{width:17px;color:#7692b9}.demo-art{width:50px;height:50px;background:#dfeafa;border-radius:8px;position:relative;overflow:hidden;flex:none}.hills:before,.hills:after,.hills i{content:'';position:absolute;background:#9bb8e6;transform:rotate(-30deg);border-radius:50%;width:90px;height:40px;left:-32px;top:25px}.hills:after{left:6px;top:36px;background:#618bcc}.hills i{left:15px;top:12px;background:#bed2ef}.houses{background:repeating-linear-gradient(35deg,#dbe5f3 0 14px,#f7f9fd 15px 20px)}.houses i,.houses b,.houses:after{content:'';width:14px;height:19px;background:#94afd8;position:absolute;transform:rotate(35deg);box-shadow:3px 2px #7693bf;left:9px;top:8px;border-top:3px solid #f5f9ff}.houses b{left:34px;top:22px}.houses:after{left:10px;top:38px}.welcome-foot{display:flex;gap:8px;align-items:center;font-size:12px;color:#6c819e;margin-top:20px}.welcome-foot .icon{width:16px;height:16px}.location-card{position:absolute;top:104px;left:24px;z-index:4;padding:19px 22px;max-width:360px}.location-card h1{font-size:24px;line-height:1.25;font-weight:800;margin:8px 0;letter-spacing:-.5px;max-width:310px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-meta{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.location-meta button{display:flex;padding:4px}.location-meta svg{width:16px;height:16px}.map-modes{position:absolute;top:104px;left:50%;transform:translateX(-50%);display:flex;padding:4px;z-index:4;border-radius:11px;gap:3px}.map-modes button{font-size:14px;font-weight:700;padding:9px 16px;border-radius:8px}.map-modes button.active{background:var(--blue-soft);color:var(--blue)}.view-controls{position:absolute;top:104px;right:24px;z-index:4;display:flex;padding:4px;border-radius:11px;gap:3px}.view-controls button{display:flex;align-items:center;gap:7px;padding:9px 12px;border-radius:8px;font-size:14px;font-weight:650}.view-controls .icon{width:18px;height:18px}.view-controls button.active{background:var(--blue);color:#fff}.tools{position:absolute;right:24px;top:174px;z-index:4;border-radius:14px;width:136px;padding:7px}.tools button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 9px;border-radius:8px;font-size:14px;font-weight:650}.tools button:hover,.tools button.active{background:var(--blue-soft);color:var(--blue)}.tools button:last-child{border-top:1px solid var(--line);border-top-left-radius:0;border-top-right-radius:0;margin-top:5px;padding-top:15px}.tools .icon{width:19px;height:19px}.terrain-panel{position:absolute;z-index:6;right:176px;top:174px;width:356px;padding:24px;max-height:calc(100dvh - 220px);overflow:auto}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-title h2{font-size:24px;letter-spacing:-.7px;margin-top:7px;font-weight:800}.elevation-readout{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:20px 0 16px}.elevation-readout>span{display:block;color:var(--muted);font-size:14px}.elevation-readout strong{display:block;font-size:36px;font-weight:800;line-height:1.2;margin:8px 0;color:var(--blue)}.elevation-readout small{display:block;color:#7888a0;font-size:12px}.secondary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:1px solid #d6e1f1;border-radius:10px;padding:12px;font-size:14px;font-weight:700;background:#f7faff}.secondary:hover{border-color:#9ab9ec;background:#edf4ff}.measure-actions{display:flex;gap:8px}.measure-actions .icon{width:17px;height:17px}.panel-hint{font-size:13px;line-height:1.5;color:var(--muted);margin-top:14px}.fineprint{font-size:12px;line-height:1.5;color:#78879b;margin-top:16px}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:12px;color:#6e819c}.profile-stats strong{display:block;color:var(--ink);margin-top:4px;font-size:17px}#profile-chart{width:100%;display:block;margin:16px 0}.map-instruction{position:absolute;z-index:8;top:167px;left:50%;transform:translateX(-50%);max-width:90%;display:flex;gap:16px;align-items:center;background:#163971;color:#fff;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow);font-size:15px}.map-instruction button{color:#c8dcff;font-size:14px;font-weight:700}.loading{position:absolute;z-index:8;left:50%;top:48%;transform:translate(-50%,-50%);padding:17px 22px;display:flex;align-items:center;gap:12px;font-size:15px}.spinner{width:19px;height:19px;border:2px solid #d8e4f6;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite;flex:none}.toast{position:absolute;z-index:30;top:95px;left:50%;transform:translateX(-50%);background:#153664;color:#fff;border-radius:12px;padding:14px 18px;font-size:14px;max-width:85%;line-height:1.5;box-shadow:var(--shadow)}@keyframes spin{to{transform:rotate(360deg)}}.flight-hud{position:absolute;bottom:55px;left:50%;transform:translateX(-50%);z-index:5;width:590px;padding:17px 22px 14px;border-radius:16px}.flight-state{display:flex;align-items:center;gap:12px;font-size:14px;color:#526b8c;font-variant-numeric:tabular-nums}.flight-state>span:first-child{color:var(--blue);font-weight:750}.flight-state strong{font-weight:700;color:#3c5272;margin-left:auto}.flight-distance{font-size:12px;color:#7b8ba2}.flight-options{display:flex;gap:22px;align-items:center;margin-top:15px}.flight-options label{flex:1;display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;color:#637792;min-width:0}.flight-options output{font-weight:800;color:#203d65;font-size:14px;white-space:nowrap}.flight-options input{grid-column:span 2;width:100%;margin:2px 0 0;accent-color:var(--blue);height:18px;cursor:pointer}.play-button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:78px;height:42px;background:var(--blue);color:#fff;border-radius:10px;font-weight:750;font-size:15px}.play-button .icon{width:17px;height:17px}.keyboard-hint{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #edf1f6;padding-top:11px;margin-top:14px;color:#8290a4;font-size:12px}.keyboard-hint>span{display:flex;align-items:center;gap:4px}kbd{font-family:inherit;background:#f4f7fb;border:1px solid #dce5f0;border-radius:4px;min-width:18px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;color:#5f7390;padding:0 4px}.map-footer{position:absolute;bottom:23px;left:20px;display:flex;align-items:center;gap:13px;z-index:4;font-size:12px;background:#ffffffef;border:1px solid #dfe6ef;border-radius:7px;padding:6px 10px;color:#6a809d}.map-footer a:hover{color:var(--blue);text-decoration:underline}.maplibregl-control-container .maplibregl-ctrl-top-right{right:28px;top:374px}.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:0}.maplibregl-ctrl-group{box-shadow:var(--shadow)!important;border:1px solid var(--line);border-radius:10px;overflow:hidden}.maplibregl-ctrl-group button{width:35px;height:35px}.maplibregl-ctrl-bottom-left{bottom:8px;left:8px}.maplibregl-ctrl-scale{font-size:10px}.point-pin{width:28px;height:28px;border:3px solid #fff;background:var(--blue);box-shadow:0 2px 9px #16397155;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.point-pin.start{background:#2463dc;width:18px;height:18px}.maplibregl-canvas:focus{outline:none}.maplibregl-popup-content{border-radius:12px;font-family:Urbanist,sans-serif}dialog{border:1px solid #dce5f0;border-radius:22px;background:#fff;padding:30px;width:min(620px,calc(100% - 32px));color:var(--ink);box-shadow:0 24px 90px #142e5938;max-height:88dvh;overflow:auto}dialog::backdrop{background:#142b4a77;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-head h2{font-size:30px;font-weight:800;letter-spacing:-1px;margin-top:9px}dialog>p{font-size:16px;color:var(--muted);line-height:1.55;margin-top:12px}.avatar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.avatar-choice{border:1px solid #dae4f1;background:#f5f8fe;padding:12px 8px 16px;border-radius:14px;position:relative}.avatar-choice:hover{background:#ebf2ff}.avatar-choice[aria-pressed=true]{border:2px solid var(--blue);background:#edf4ff;box-shadow:0 0 0 2px #2463dc0a}.avatar-choice[aria-pressed=true]:after{content:'✓';position:absolute;right:9px;top:8px;background:var(--blue);color:#fff;width:20px;height:20px;border-radius:50%;font-size:12px;display:grid;place-items:center}.avatar-choice img{width:100%;height:104px;display:block;object-fit:contain;margin:auto auto 9px}.avatar-choice strong{display:block;font-size:16px}.avatar-choice small{font-size:12px;color:#69809f;display:block;margin-top:5px}.dialog-note{border-top:1px solid var(--line);padding-top:18px;margin-top:24px;font-size:13px;color:#73859e;display:flex;align-items:center;gap:12px;line-height:1.5}.dialog-note .icon{color:var(--blue)}.help-list{font-size:15px;line-height:1.7;margin-top:20px}.help-list p{padding:12px 0;border-bottom:1px solid var(--line)}.help-list kbd{font-size:12px}#help-dialog .primary{width:100%;margin-top:22px}.touch-controls{position:absolute;bottom:230px;left:24px;z-index:5;display:none;grid-template-columns:repeat(3,42px);gap:5px}.touch-controls button{width:42px;height:42px;background:#fff;border:1px solid #dbe5f2;border-radius:11px;box-shadow:var(--shadow);font-size:23px;color:#315f9d;touch-action:none}.touch-controls button:active{background:var(--blue);color:#fff}.leave-street{position:absolute;top:100px;left:24px;z-index:15;box-shadow:var(--shadow)}.street-active .tools,.street-active .map-modes,.street-active .view-controls,.street-active .flight-hud,.street-active .touch-controls,.street-active .location-card,.street-active .terrain-panel{display:none!important}.noscript{position:absolute;top:50%;left:20%;right:20%;background:#fff;padding:30px;text-align:center}.legal{overflow:auto;background:#f8faff}.legal main{max-width:780px;margin:40px auto;padding:30px}.legal .brand{display:inline-flex;margin-bottom:50px;color:var(--blue)}.legal h1{font-size:40px;font-weight:800;letter-spacing:-1.5px;margin-bottom:25px}.legal h2{font-size:24px;font-weight:750;margin:30px 0 12px}.legal p,.legal li{font-size:16px;line-height:1.75;color:#516984;margin-bottom:16px}.legal a{text-decoration:underline}.legal .back{display:inline-block;margin-top:30px}.legal ul{padding-left:20px}
@media(pointer:coarse){.touch-controls:not([hidden]){display:grid}.keyboard-hint{display:none}}
@media(max-width:1100px){.topbar{gap:15px;padding:12px 20px}.avatar-button>span:not([data-icon]){display:none}.welcome{width:330px;padding:25px;left:20px}.welcome h1{font-size:33px}.location-card{left:20px;max-width:310px}.location-card h1{max-width:260px}.tools{right:20px;width:50px;padding:4px}.tools button{justify-content:center;padding:12px 5px}.tools button>span:not(:first-child){display:none}.view-controls{right:20px}.view-controls button span:not(:first-child){display:none}.terrain-panel{right:84px}.maplibregl-control-container .maplibregl-ctrl-top-right{right:24px;top:367px}.map-modes{left:auto;right:135px;transform:none}.flight-hud{width:540px}.flight-options{gap:16px}.keyboard-hint>span:last-child{display:none}}
@media(max-width:700px){:root{--header:126px}.topbar{padding:10px 16px;gap:10px;flex-wrap:wrap;height:126px;align-content:center}.brand{font-size:24px;gap:7px}.brand>svg{width:31px;height:31px}.avatar-button{margin-left:auto;height:40px;padding:1px 8px 1px 1px}.avatar-button img{width:36px;height:36px}.help-button{width:32px;height:32px}.search{order:2;width:100%;height:44px;gap:10px;border-radius:11px;margin:0;padding-left:12px}.search input{font-size:14px}.search button[type=submit]{height:34px;padding:0 14px;font-size:13px}.search-results{top:51px}.welcome{left:16px;right:16px;top:146px;width:auto;max-height:calc(100dvh - 204px);overflow:auto;padding:24px}.welcome h1{font-size:34px;margin:15px 0}.welcome>p{font-size:16px;max-width:360px}.welcome>.primary{margin-top:20px}.welcome-divider{margin:20px 0 12px;padding-top:17px}.welcome-foot{margin-top:17px}.demo-art{height:42px;width:46px}.demo-card{padding:9px}.location-card{top:146px;left:16px;padding:14px 16px;max-width:calc(100% - 94px);border-radius:14px}.location-card h1{font-size:21px;max-width:220px;margin:6px 0}.location-card .eyebrow{font-size:10px}.location-meta{font-size:12px;gap:8px}.map-modes{top:268px;left:16px;right:auto;padding:3px;max-width:calc(100% - 90px)}.map-modes button{font-size:13px;padding:8px 13px}.view-controls{top:146px;right:16px;flex-direction:column;border-radius:11px}.view-controls button{padding:9px}.tools{top:244px;right:16px;width:44px;border-radius:12px}.tools button{padding:11px 5px}.tools .icon{width:18px;height:18px}.maplibregl-control-container .maplibregl-ctrl-top-right{top:410px;right:20px}.maplibregl-ctrl-group button{width:32px;height:32px}.flight-hud{bottom:70px;left:16px;right:16px;width:auto;transform:none;padding:13px 15px;border-radius:14px}.flight-options{gap:12px;margin-top:14px}.flight-options label{font-size:12px;display:flex;flex-wrap:wrap;gap:5px}.flight-options label>span{width:100%;white-space:nowrap}.flight-options output{font-size:14px}.flight-options input{height:14px;margin:1px 0 0}.play-button{min-width:43px;width:43px;height:43px}.play-button>span{display:none}.flight-options .icon-button{width:27px}.flight-state{font-size:13px;gap:8px}.flight-state strong{font-size:12px}.flight-distance{display:none}.keyboard-hint{display:none}.touch-controls:not([hidden]){display:grid;bottom:216px;left:16px;grid-template-columns:repeat(3,40px);gap:5px}.touch-controls button{height:40px;width:40px}.terrain-panel{right:70px;left:16px;top:244px;width:auto;padding:20px;max-height:calc(100dvh - 318px);border-radius:14px}.panel-title h2{font-size:23px}.panel-title .eyebrow{font-size:10px}.measure-actions{flex-direction:column;gap:8px}.secondary{font-size:14px;padding:11px}.elevation-readout{padding:14px 0;margin:17px 0 14px}.terrain-panel:not([hidden])~.touch-controls{display:none}.map-instruction{top:320px;font-size:14px;width:calc(100% - 90px);max-width:none;left:16px;transform:none;gap:10px}.map-instruction button{font-size:13px}.map-footer{left:10px;bottom:37px;font-size:11px;padding:5px 8px;gap:10px}.map-footer>span{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.maplibregl-ctrl-bottom-right{max-width:100%;right:0;bottom:1px}.maplibregl-ctrl-scale{display:none}.toast{top:136px;font-size:14px;max-width:92%;width:max-content}.loading{font-size:14px;max-width:85%;width:max-content}.leave-street{top:142px;left:16px;font-size:14px;padding:12px 16px}dialog{padding:23px}.dialog-head h2{font-size:27px}.dialog-head .eyebrow{font-size:10px}.avatar-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:20px}.avatar-choice img{height:94px}.avatar-choice small{font-size:12px}.avatar-choice strong{font-size:15px}.dialog-note{font-size:12px}body:not(.started) .tools,body:not(.started) .view-controls,body:not(.started) .map-modes,body:not(.started) .maplibregl-ctrl-top-right{display:none}.legal main{margin:20px auto;padding:25px}.legal h1{font-size:33px}}
@media(max-height:690px) and (min-width:701px){.welcome{padding:22px;width:320px;max-height:calc(100dvh - 158px);overflow:auto}.welcome h1{font-size:30px}.welcome-divider{margin:18px 0 12px;padding-top:15px}.welcome-foot{display:none}.flight-hud{bottom:45px;padding:12px 18px}.keyboard-hint{display:none}.terrain-panel{max-height:calc(100dvh - 225px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation:none}}

.tools button>span:last-child{white-space:nowrap}.google-active .map-footer{bottom:45px}.google-active .flight-hud{bottom:76px}@media(max-width:700px){.google-active .flight-hud{bottom:84px}.google-active .map-footer{bottom:47px}}

body:has(#terrain-panel:not([hidden])) .flight-hud,body.picking .flight-hud,body.picking .touch-controls{display:none!important}@media(max-width:700px){body.picking .terrain-panel{display:none!important}}

.leave-street{left:50%;transform:translateX(-50%)}@media(max-width:700px){.leave-street{top:auto;bottom:58px;left:50%;white-space:nowrap}.google-active .touch-controls{bottom:230px}}

body.picking .terrain-panel{display:none!important}

/* Address results and shareable starting points. */
.location-meta #copy-link{display:flex;align-items:center;gap:6px;width:auto;padding:6px 10px;background:var(--blue-soft);color:var(--blue-dark);border-radius:8px;font-size:14px;flex:none}
.location-meta #copy-link .icon{width:16px;height:16px}
.location-match{font-size:14px;line-height:1.4;color:#6e521f;background:#fff5de;border-radius:8px;padding:9px 10px;margin-top:10px;max-width:290px}
.location-source,.search-attribution{font-family:Arial,sans-serif;font-style:normal;font-weight:400;font-size:12px;letter-spacing:normal;white-space:nowrap;color:#5e5e5e}
.location-source{display:block;margin-top:8px}.search-attribution{padding:10px 14px;border-top:1px solid var(--line)}
.search-message{padding:16px;font-size:14px;line-height:1.5;color:var(--muted)}
#share-dialog{max-width:540px}#share-dialog label{display:block;font-size:14px;font-weight:600;margin-top:24px}#share-url{display:block;width:100%;margin:8px 0 16px;border:1px solid var(--line);border-radius:10px;background:#f8faff;padding:13px;font-size:14px;color:var(--ink)}#share-copy{width:100%}#share-copy-status{min-height:24px;font-size:14px;color:var(--blue-dark)}#share-dialog .fineprint{font-size:14px}
@media(max-width:700px){.location-card h1{font-size:18px;line-height:1.2;overflow-wrap:anywhere}.location-card .location-meta{flex-wrap:wrap;gap:4px 10px}.location-match{font-size:13px;padding:8px}.location-source{font-size:12px}.location-card{max-width:calc(100% - 94px)}}

.location-card h1{white-space:normal;overflow-wrap:break-word;text-overflow:clip}

/* ZipSoar by Investra: property exploration with a quieter control surface. */
.brand-block{flex:none;display:flex;flex-direction:column;gap:1px}.brand-credit{margin-left:44px;font-size:13px;line-height:1.2;color:var(--muted);width:max-content;letter-spacing:0}.brand-credit strong{font-weight:700;color:var(--blue-dark)}.brand-credit:hover strong{text-decoration:underline}.brand-block .brand{line-height:1.05}
.flight-hud{width:390px;padding:16px 20px}.flight-main{display:flex;align-items:center;justify-content:space-between;gap:20px}.flight-state{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.flight-state .eyebrow{font-size:10px;color:var(--muted)}#flight-status{font-size:15px;font-weight:650}.play-button{height:44px;min-width:92px}.flight-options{margin-top:14px;display:block}.flight-options label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px;font-size:14px}.flight-options label>span{width:auto}.flight-options output{text-align:right;font-size:15px}.flight-options input{grid-column:1/-1;width:100%;margin:0}
.help-map-options{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.help-map-options h3{margin:0;font-size:17px}.help-map-options p{font-size:14px;line-height:1.5;color:var(--muted);margin:8px 0 12px}.help-map-options .map-modes{position:static;transform:none;display:flex;max-width:none;box-shadow:none;width:max-content;border:1px solid var(--line);padding:4px}.help-map-options .map-modes button{font-size:14px;padding:9px 15px}.street-active .help-map-options .map-modes,body:not(.started) .help-map-options .map-modes{display:flex!important}
@media(max-width:700px){.brand-block{gap:0}.brand-credit{margin-left:38px;font-size:12px}.brand-block .brand{font-size:24px}.flight-hud{width:auto;padding:12px 16px}.flight-state{gap:4px}.play-button{width:auto;min-width:90px;height:42px}.play-button>span{display:inline}.flight-options{margin-top:10px}.flight-options label{display:grid;gap:7px;font-size:13px}.flight-options label>span{width:auto}.flight-options input{height:14px;margin:0}.touch-controls:not([hidden]){bottom:222px}.maplibregl-control-container .maplibregl-ctrl-top-right{top:365px}}

/* Persistent imagery choices and steering on every screen size. */
:root{--viewbar:48px}
#map,#google-map,#google-flat-map,#street-map{position:absolute;top:calc(var(--header) + var(--viewbar));bottom:0;left:0;right:0;background:#d5e3ef}
.view-bar{position:absolute;z-index:16;top:var(--header);left:0;right:0;height:var(--viewbar);display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;background:#fff;border-bottom:1px solid var(--line)}
.view-bar button{min-height:36px;padding:8px 20px;border-radius:8px;font-size:14px;font-weight:750;white-space:nowrap;color:#566d8a}
.view-bar button.active{color:var(--blue);background:var(--blue-soft)}.view-bar button:hover{background:#f1f5fc}
.welcome,.location-card,.view-controls{top:calc(var(--header) + var(--viewbar) + 24px)}
.tools,.terrain-panel{top:calc(var(--header) + var(--viewbar) + 94px)}
.map-instruction{top:calc(var(--header) + var(--viewbar) + 88px)}.toast{top:calc(var(--header) + var(--viewbar) + 12px)}
.touch-controls:not([hidden]){display:grid;bottom:78px;left:24px;grid-template-columns:repeat(3,48px);gap:6px;background:#fffffff5;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:var(--shadow)}
.touch-controls button{width:48px;height:46px;box-shadow:none;background:#edf4ff;color:var(--blue-dark);border:1px solid #d2e0f5;font-weight:750}
.touch-controls button:active{color:#fff;background:var(--blue)}
.steering-hint{grid-column:1/-1;text-align:center;color:var(--muted);font-size:11px;line-height:1.35;max-width:156px;padding-top:4px}
.flight-heading{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:13px;color:var(--muted)}.flight-heading output{font-size:14px;font-weight:750;color:var(--blue-dark);font-variant-numeric:tabular-nums}
.leave-street{top:calc(var(--header) + var(--viewbar) + 18px)}
.flat-pilot{position:absolute;width:70px;height:70px;transform:translate(-50%,-50%);pointer-events:none;filter:drop-shadow(0 3px 4px #122a4e66)}.flat-pilot img{width:70px;height:70px;background:#ffffffed;border:2px solid #fff;border-radius:50%}.flat-heading{position:absolute;inset:-13px;transform:rotate(var(--heading));border:2px solid #2463dc66;border-radius:50%}.flat-heading:before{content:'';position:absolute;left:50%;top:-9px;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:14px solid #2463dc}.flat-pin{position:absolute;transform:translate(-50%,-100%);padding:5px 8px;background:#fff;color:#174fac;border:2px solid #2463dc;border-radius:8px;font-size:12px;font-weight:750;white-space:nowrap}
@media(max-width:1100px) and (min-width:701px){.touch-controls:not([hidden]){left:16px;grid-template-columns:repeat(3,40px);padding:8px}.touch-controls button{width:40px;height:42px}.flight-hud{left:auto;right:24px;transform:none;width:370px}.terrain-panel{max-height:calc(100dvh - 300px)}}
@media(max-width:700px){
 .view-bar{gap:1px;padding:5px 6px;justify-content:space-between}.view-bar button{padding:8px 9px;font-size:12px}
 .welcome,.location-card,.view-controls{top:calc(var(--header) + var(--viewbar) + 16px)}
 .tools,.terrain-panel{top:calc(var(--header) + var(--viewbar) + 118px)}
 .location-card{padding:12px 14px}.view-controls button{padding:8px}
 .touch-controls:not([hidden]),.google-active .touch-controls{bottom:274px;left:16px;padding:8px;grid-template-columns:repeat(3,38px);gap:4px;border-radius:12px}
 .touch-controls button{width:38px;height:38px;font-size:22px}.steering-hint{font-size:10px;max-width:122px}
 .flight-hud{padding:12px 16px}.flight-heading{margin-top:8px}.flight-options{margin-top:9px}
 .leave-street{top:auto;bottom:58px}.map-instruction{top:calc(var(--header) + var(--viewbar) + 160px)}
 .terrain-panel{max-height:calc(100dvh - 365px)}.avatar-grid{grid-template-columns:repeat(3,1fr)}.avatar-choice img{height:75px}.avatar-choice small{font-size:11px}
}
@media(max-height:720px) and (max-width:700px){.touch-controls:not([hidden]),.google-active .touch-controls{bottom:250px}.location-card .location-meta{display:none}.location-card h1{font-size:16px}.steering-hint{display:none}}

/* Keep the origin label clear of the companion at the same coordinates. */
.flat-start{transform:translate(52px,-50%)}.flat-start:before{content:'';position:absolute;right:100%;top:50%;width:14px;height:2px;background:#2463dc}

/* Compact exploration controls: the map stays the primary surface. */
:root{--header:60px;--viewbar:0px}
#map,#google-map,#google-flat-map,#street-map{top:var(--header)}
.topbar{height:var(--header);padding:7px 16px;gap:14px;flex-wrap:nowrap}
.brand-block{gap:0}.brand-block .brand{font-size:23px;letter-spacing:-.8px;gap:6px}.brand>svg{width:29px;height:29px}.brand-credit{margin-left:35px;font-size:12px}
.search{height:42px;max-width:560px;gap:9px;border-radius:10px;padding:4px 4px 4px 12px}.search input{font-size:16px}.search button[type=submit]{height:32px;padding:0 15px;font-size:14px}.search-results{top:48px}
.avatar-button{height:40px;border-radius:9px;padding:2px 9px 2px 2px;gap:5px}.avatar-button img{width:34px;height:34px}.avatar-button .icon{width:12px}.help-button{width:32px;height:40px}
.view-bar{top:calc(var(--header) + 10px);left:50%;right:auto;transform:translateX(-50%);height:44px;width:max-content;max-width:calc(100% - 24px);padding:4px;gap:2px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.view-bar button{min-height:34px;padding:7px 12px;font-size:14px;border-radius:8px}
.welcome{top:calc(var(--header) + 68px)}
.location-card{top:calc(var(--header) + 10px);left:16px;max-width:none;width:270px;padding:0;border-radius:12px;z-index:17}
.location-toggle{display:flex;align-items:center;gap:8px;width:100%;height:42px;padding:0 12px;text-align:left;font-size:14px;font-weight:700;border-radius:11px}
.location-toggle:hover{background:var(--blue-soft)}.location-toggle>.icon,.location-toggle>span[data-icon]{flex:none;color:var(--blue)}.location-toggle .icon{width:17px;height:17px}.location-toggle>span:last-child .icon{width:13px;height:13px;color:var(--muted)}
#location-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}#location-accuracy{font-size:12px;font-weight:600;color:#6e521f;white-space:nowrap}
.location-details{padding:16px;border-top:1px solid var(--line)}.location-details .eyebrow{font-size:12px}.location-details h1{font-size:18px;font-weight:750;letter-spacing:-.3px;line-height:1.35;margin:8px 0 12px;max-width:none;white-space:normal;overflow-wrap:anywhere}
.location-card .location-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px}.location-meta #copy-link{min-height:36px}.location-match{font-size:14px;max-width:none}.location-source{font-size:12px}
.tools{top:calc(var(--header) + 10px);right:16px;left:auto;width:auto;padding:0;z-index:17;border:0;border-radius:0;background:none;box-shadow:none}
.tools .tools-toggle{height:44px;width:auto;display:flex;align-items:center;gap:7px;margin:0;padding:0 12px;font-size:14px;border:1px solid var(--line);border-radius:12px}
.tools .tools-toggle>span{display:inline-flex}.tools .tools-toggle .icon{width:17px;height:17px}.tools .tools-toggle>span:last-child .icon{width:13px;height:13px}
.tools-menu{position:absolute;right:0;top:52px;width:238px;padding:7px;border-radius:14px}.tools .tools-menu>button{display:flex;justify-content:flex-start;gap:10px;width:100%;min-height:44px;padding:10px 12px;margin:0;border:0;border-radius:8px;font-size:14px}.tools .tools-menu>button>span{display:inline-flex}.tools .tools-menu>button:last-child{border-top:1px solid var(--line);border-radius:0 0 8px 8px;margin-top:4px}
.tools-menu .view-controls{position:static;display:flex;flex-direction:row;transform:none;width:auto;max-width:none;padding:3px;margin:0 0 6px;gap:3px;box-shadow:none;background:var(--blue-soft);border-radius:9px}
.tools .view-controls button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;flex:1;width:auto;padding:7px 9px;margin:0;border:0;border-radius:7px;font-size:14px}.tools .view-controls button>span{display:inline-flex}.tools .view-controls .icon{width:16px;height:16px}
.terrain-panel{top:calc(var(--header) + 68px);right:16px;width:326px;padding:20px;max-height:calc(100dvh - var(--header) - 128px)}
.map-instruction{top:calc(var(--header) + 68px);font-size:14px;max-width:calc(100% - 32px)}
.toast{top:calc(var(--header) + 66px)}
.flight-hud,.google-active .flight-hud{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:13px;position:absolute;left:50%;right:auto;bottom:48px;width:max-content;max-width:calc(100% - 32px);transform:translateX(-50%);padding:8px 10px;border-radius:15px;z-index:7}
.flight-hud .play-button{width:80px;min-width:80px;height:48px;gap:6px;font-size:15px}.flight-hud .play-button>span{display:inline}.flight-hud .play-button .icon{width:16px;height:16px}
.flight-hud .touch-controls:not([hidden]),.google-active .flight-hud .touch-controls:not([hidden]){position:static;display:grid;grid-template-columns:repeat(4,52px);gap:4px;inset:auto;transform:none;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none}
.flight-hud .touch-controls button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:52px;height:48px;padding:4px 2px;border:0;border-radius:8px;box-shadow:none;background:var(--blue-soft);color:var(--blue-dark);font-size:13px;font-weight:650;touch-action:none;user-select:none;-webkit-user-select:none}
.flight-hud .touch-controls button .icon{width:18px;height:18px}.flight-hud .touch-controls button:hover{background:#dce9ff}.flight-hud .touch-controls button:active{background:var(--blue);color:#fff}
.dock-readouts{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:13px}
.flight-heading{margin:0;display:flex;align-items:center;justify-content:center;min-width:65px}.flight-heading output{font-size:14px;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
.height-toggle{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:6px;border-radius:8px;font-size:14px;color:var(--ink);white-space:nowrap}.height-toggle:hover,.height-toggle[aria-expanded=true]{background:var(--blue-soft)}.height-toggle output{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.height-toggle .icon{width:17px;height:17px;color:var(--muted)}.height-toggle>span:last-child .icon{width:12px;height:12px}
.altitude-panel{position:absolute;right:0;bottom:calc(100% + 10px);width:300px;padding:16px;border-radius:14px}.altitude-title{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:15px;font-weight:700}.altitude-title .icon-button{width:30px;height:30px}.altitude-panel input{display:block;width:100%;height:28px;margin:14px 0;accent-color:var(--blue);cursor:pointer}.altitude-actions{display:flex;gap:8px}.altitude-actions button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:42px;background:var(--blue-soft);color:var(--blue-dark);border-radius:8px;font-size:18px;font-weight:700;touch-action:none;user-select:none;-webkit-user-select:none}.altitude-actions button span{font-size:14px}.altitude-actions button:active{background:var(--blue);color:#fff}.altitude-panel p{font-size:13px;line-height:1.45;margin-top:12px;color:var(--muted)}
.map-footer,.google-active .map-footer{bottom:44px;left:12px;padding:4px 7px;font-size:12px;gap:9px}.map-footer>span{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.maplibregl-control-container .maplibregl-ctrl-top-right{top:72px;right:16px}.maplibregl-ctrl-group button{width:34px;height:34px}
.leave-street{top:auto;bottom:64px;padding:12px 16px;font-size:14px}
[data-disclosure][aria-expanded=true]>span:last-child .icon{transform:rotate(180deg)}
@media(max-width:1150px){
 .location-card{top:calc(var(--header) + 64px);width:260px}.tools{top:calc(var(--header) + 64px)}
 .terrain-panel{top:calc(var(--header) + 116px);max-height:calc(100dvh - var(--header) - 170px)}
 .maplibregl-control-container .maplibregl-ctrl-top-right{top:124px}
 .flight-hud,.google-active .flight-hud{bottom:76px}
 .map-footer,.google-active .map-footer{bottom:36px}
 .map-instruction{top:calc(var(--header) + 116px)}
}
@media(max-width:700px){
 :root{--header:104px}
 .topbar{height:var(--header);padding:7px 12px;gap:6px 10px;flex-wrap:wrap;align-content:center}
 .brand-block .brand{font-size:21px;gap:5px}.brand>svg{width:27px;height:27px}.brand-credit{font-size:12px;margin-left:32px}.brand-block{gap:0}
 .avatar-button{margin-left:auto;height:38px;padding:1px 6px 1px 1px}.avatar-button img{width:32px;height:32px}.avatar-button>span:not([data-icon]){display:none}.help-button{width:30px;height:36px}
 .search{order:2;max-width:none;width:100%;height:40px;margin:0;padding-left:10px;gap:8px}.search input{font-size:16px}.search button[type=submit]{font-size:14px;height:30px;padding:0 12px}.search-results{top:46px}
 .view-bar{top:calc(var(--header) + 8px);left:8px;right:8px;transform:none;width:auto;max-width:none;height:42px;padding:3px;gap:0;justify-content:space-between;border-radius:11px}.view-bar button{padding:7px 8px;font-size:14px;min-height:34px;flex:1}
 .location-card{left:8px;top:calc(var(--header) + 58px);width:calc(100% - 114px);max-width:320px;border-radius:10px}.location-toggle{height:40px;padding:0 10px;gap:6px;font-size:14px}.location-toggle>span:first-child .icon{width:16px;height:16px}.location-details{padding:14px}.location-details h1{font-size:18px}.location-card .location-meta{display:flex;font-size:13px}.location-match{font-size:14px}
 .tools{top:calc(var(--header) + 58px);right:8px;width:auto}.tools .tools-toggle{height:42px;padding:0 10px;gap:6px;font-size:14px;border-radius:10px}.tools-menu{width:230px;top:49px}
 .welcome{top:calc(var(--header) + 62px);left:12px;right:12px;padding:22px;max-height:calc(100dvh - var(--header) - 112px)}.welcome h1{font-size:32px}.welcome-divider{margin-top:18px;padding-top:16px}
 .terrain-panel{top:calc(var(--header) + 108px);left:8px;right:8px;width:auto;padding:18px;max-height:calc(100dvh - var(--header) - 158px)}.measure-actions{flex-direction:row}.terrain-panel .panel-title .eyebrow{font-size:12px}.measure-actions .secondary{font-size:14px}
 .flight-hud,.google-active .flight-hud{left:50%;right:auto;bottom:72px;width:calc(100% - 16px);max-width:420px;grid-template-columns:68px 1fr;gap:5px 8px;padding:8px;transform:translateX(-50%);border-radius:13px}
 .flight-hud .play-button{width:68px;min-width:68px;height:48px;font-size:15px}
 .flight-hud .touch-controls:not([hidden]),.google-active .flight-hud .touch-controls:not([hidden]){grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;width:100%;padding:0;inset:auto}
 .flight-hud .touch-controls button{width:100%;min-width:0;height:48px;gap:2px;font-size:13px}.flight-hud .touch-controls button .icon{width:17px;height:17px}
 .dock-readouts{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:3px 4px 0;gap:16px;justify-content:space-between}.flight-heading{min-width:0;justify-content:flex-start}.flight-heading output{font-size:14px}.flight-heading:before{content:'Direction';font-size:13px;color:var(--muted);margin-right:7px}.height-toggle{min-height:36px;padding:4px 5px;font-size:14px}
 .altitude-panel{width:100%;bottom:calc(100% + 8px);padding:14px}.altitude-panel input{margin:10px 0}
 .map-footer,.google-active .map-footer{left:8px;bottom:35px;font-size:12px;gap:9px;padding:4px 6px}.map-footer>span{max-width:150px}
 .maplibregl-control-container .maplibregl-ctrl-top-right{top:108px;right:10px}.maplibregl-ctrl-group button{width:30px;height:30px}
 .map-instruction{top:calc(var(--header) + 108px);left:8px;transform:none;width:calc(100% - 16px);max-width:none;gap:10px}.toast{top:calc(var(--header) + 108px)}
 .avatar-grid{grid-template-columns:repeat(3,1fr)}.avatar-choice small{font-size:12px}.leave-street{bottom:70px;top:auto}
}
@media(max-width:360px){.view-bar button{font-size:13px;padding:7px 5px}.flight-hud,.google-active .flight-hud{grid-template-columns:60px 1fr;gap:5px}.flight-hud .play-button{width:60px;min-width:60px}.flight-hud .touch-controls button{font-size:12px}.location-card{width:calc(100% - 108px)}.tools .tools-toggle{padding:0 8px}}
@media(max-height:560px) and (min-width:701px){.flight-hud,.google-active .flight-hud{bottom:42px}.map-footer,.google-active .map-footer{bottom:10px}.terrain-panel{max-height:calc(100dvh - var(--header) - 140px)}.welcome{max-height:calc(100dvh - var(--header) - 98px)}}
/* Preserve the Tools label at narrow breakpoints as well as its accessible name. */
.tools button.tools-toggle>span{display:inline-flex}

/* One companion grid, with a shared color palette for the whole crew. */
.avatar-color-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.avatar-color-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.avatar-color-heading h3{font-size:16px;font-weight:750;margin:0}.avatar-color-heading output{font-size:14px;font-weight:650;color:var(--muted)}
.avatar-colors{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:15px}.avatar-color{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:72px;padding:8px 2px;border-radius:10px;font-size:14px;font-weight:650;color:var(--muted)}.avatar-color:hover,.avatar-color[aria-pressed=true]{background:var(--blue-soft);color:var(--ink)}
.color-swatch{display:block;position:relative;width:32px;height:32px;border-radius:50%;background:var(--swatch);border:1px solid #17243a26;box-shadow:0 0 0 3px #fff}.avatar-color[aria-pressed=true] .color-swatch{outline:2px solid var(--ink);outline-offset:3px}.avatar-color[aria-pressed=true] .color-swatch:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:19px;text-shadow:0 1px 2px #17243a80}
#avatar-apply{width:100%;margin-top:22px;min-height:46px}#avatar-dialog .dialog-note{margin-top:16px;padding-top:15px}
@media(max-width:700px){#avatar-dialog{padding:22px}.avatar-color-section{margin-top:19px;padding-top:17px}.avatar-colors{gap:3px;margin-top:12px}.avatar-color{font-size:14px;gap:7px;padding:7px 0}.color-swatch{width:30px;height:30px}#avatar-apply{margin-top:18px;font-size:15px;padding:12px}#avatar-dialog .avatar-choice{padding:10px 4px 12px}#avatar-dialog .avatar-choice small{font-size:12px;line-height:1.3}#avatar-dialog .avatar-grid{gap:8px;margin-top:18px}}

/* Keep mobile chrome within the device viewport; map gestures belong to maps. */
html{width:100%;height:100%;overflow:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{position:relative;width:100%;height:100dvh;min-width:0;overflow:hidden}
#map,#google-map,#google-flat-map{touch-action:none;overscroll-behavior:contain}
#google-map>gmp-map-3d{display:block;touch-action:none}
.topbar,.search,.search input,.dock-readouts{min-width:0}
.search input{flex:1 1 0;width:0}.search button[type=submit]{flex:none}
@media(max-width:700px){
 :root{--safe-left:max(8px,env(safe-area-inset-left));--safe-right:max(8px,env(safe-area-inset-right));--safe-bottom:env(safe-area-inset-bottom,0px);--header:calc(104px + env(safe-area-inset-top,0px))}
 .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;grid-template-rows:44px 40px;gap:5px 8px;align-content:end;padding:0 var(--safe-right) 8px var(--safe-left)}
 .brand-block{min-width:0}.brand-block .brand{font-size:21px}.avatar-button{margin:0;justify-self:end}.help-button{width:30px}
 .search{grid-column:1/-1;grid-row:2;order:initial;width:100%;max-width:100%;margin:0;min-width:0}
 .view-bar{left:var(--safe-left);right:var(--safe-right);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:auto;min-width:0;height:48px;padding:3px;gap:0}
 .view-bar button{min-width:0;min-height:40px;padding:4px 2px;font-size:14px;white-space:normal;line-height:1.15}
 .location-card{left:var(--safe-left);right:calc(var(--safe-right) + 104px);width:auto;max-width:none;top:calc(var(--header) + 64px)}
 .tools{right:var(--safe-right);top:calc(var(--header) + 64px)}
 .location-toggle{min-width:0}.location-details{overflow-wrap:anywhere}
 .flight-hud,.google-active .flight-hud{left:var(--safe-left);right:var(--safe-right);width:auto;max-width:none;min-width:0;transform:none;bottom:calc(64px + var(--safe-bottom));grid-template-columns:64px minmax(0,1fr);gap:5px 6px}
 .flight-hud .play-button{width:64px;min-width:0}.flight-hud .touch-controls:not([hidden]){min-width:0}
 .dock-readouts{gap:8px}.height-toggle{min-width:0}
 .map-footer,.google-active .map-footer{left:var(--safe-left);bottom:calc(32px + var(--safe-bottom));max-width:calc(100% - var(--safe-left) - var(--safe-right));font-size:11px}
 .leave-street{bottom:calc(64px + var(--safe-bottom));max-width:calc(100% - 24px)}
 .terrain-panel,.map-instruction{top:calc(var(--header) + 112px)}
 .welcome{left:var(--safe-left);right:var(--safe-right);width:auto;max-height:calc(100dvh - var(--header) - 90px - var(--safe-bottom));overflow:auto}
 dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px - var(--safe-bottom));overflow:auto}
}
/* Guided entry and user-drawn area routes. Keep imagery and touch space primary. */
body:not(.started) #map{visibility:hidden}
body:not(.started){background:linear-gradient(130deg,#eaf2ff,#f7faff 55%,#dfedff)}
.welcome-steps{padding:0;list-style:none;display:grid;gap:18px;margin:24px 0}.welcome-steps li{display:grid;gap:5px;color:#74849c}.welcome-steps li.active{color:#184da8}.welcome-steps strong{font-size:18px}.welcome-steps span{font-size:15px;line-height:1.4}.welcome .welcome-foot{margin-bottom:0}
.route-panel{position:absolute;z-index:8;right:18px;top:calc(var(--header) + 112px);width:280px;padding:14px;border-radius:16px}.route-heading{display:flex;align-items:center;justify-content:space-between}.route-heading .icon-button{width:32px;height:32px}.route-panel p{font-size:14px;line-height:1.4;margin:5px 0 12px}.route-panel small{display:block;margin-top:10px;color:#667a95;font-size:11px}.route-actions{display:flex;gap:8px}.route-actions button{flex:1;font-size:14px;padding:10px}.route-panel select{width:100%;border:1px solid #dbe5f4;border-radius:8px;padding:9px;background:white;color:#172c4b;font:inherit;font-size:14px}.route-panel #route-fly{width:100%;margin-top:8px;padding:10px;font-size:14px}.route-corner{pointer-events:none}
.flat-pilot{width:42px;height:42px;background:#fff;border:2px solid #fff;box-shadow:0 2px 9px #17345540;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.flat-pilot img{width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box;transform:none}.flat-pilot .flat-heading{inset:-6px;border:0;transform:rotate(var(--heading,0deg));border-radius:50%}.flat-pilot .flat-heading:before{top:-5px;left:calc(50% - 5px);border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:8px solid #1f61dc}
@media(max-width:700px){.route-panel{left:var(--safe-left);right:var(--safe-right);top:calc(var(--header) + 112px);width:auto;padding:9px 12px}.route-panel p{margin:0 0 7px}.route-panel small{margin-top:6px}.route-panel #route-ready:not([hidden]){display:flex;gap:8px}.route-panel select{min-width:0;flex:1}.route-panel #route-fly{width:auto;margin:0;white-space:nowrap}.welcome h1{font-size:36px}.welcome-steps{gap:14px;margin:18px 0}.flat-pilot{width:38px;height:38px}}

.street-active #route-panel{display:none}
/* Full entry flow: visible before JavaScript or map providers have loaded. */
#header-search-slot{display:contents}body:not(.started):not(.legal){overflow:auto;background:radial-gradient(ellipse at 20% 65%,#e0edfa 0,transparent 60%),#f7faff}body:not(.started) .view-bar,body:not(.started) #tools,body:not(.started) #avatar-open,body:not(.started) #provider-label,body:not(.started) .maplibregl-control-container{display:none!important}body:not(.started) .topbar{position:relative}body:not(.started) .help-button{margin-left:auto}body:not(.started) #header-search-slot{display:none}body:not(.started) #map{visibility:hidden}.welcome{position:relative;top:auto;left:auto;right:auto;z-index:3;transform:none;width:min(1120px,calc(100% - 64px));max-width:none;margin:36px auto 80px;padding:0;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center;overflow:visible;max-height:none;border:0;box-shadow:none;background:none}.welcome-story h1{font-size:46px;line-height:1.08;letter-spacing:-1.7px;margin:20px 0 18px}.welcome-story>p{font-size:18px;line-height:1.5;color:#61748d;max-width:420px}.welcome-art{position:relative;width:100%;max-width:540px;margin:12px 0 -8px}.welcome-art>img:first-child{width:100%;display:block}.welcome-companion{position:absolute;width:118px;height:118px;object-fit:contain;top:2%;left:42%;filter:drop-shadow(0 12px 10px #35599420);animation:welcome-float 5s ease-in-out infinite}.welcome-features{display:flex;gap:10px;justify-content:center;color:#466483;font-size:13px}.welcome-features span{background:#ffffffaa;border:1px solid #dce6f2;border-radius:20px;padding:7px 12px}.setup-card{padding:28px;box-shadow:0 16px 70px #1c42600d;border-radius:24px}.setup-progress{display:flex;align-items:center;gap:12px;margin-bottom:28px;color:#8795a9;font-size:13px;font-weight:700}.setup-progress>span{display:flex;align-items:center;gap:6px}.setup-progress i{flex:1;height:1px;background:#dbe5f1}.setup-progress .active{color:#245dc5}.setup-card h2{font-size:25px;letter-spacing:-.7px;line-height:1.2;margin:0 0 10px}.setup-card h2+p{font-size:15px;line-height:1.5;color:#677c94}.setup-card .avatar-grid{gap:9px;margin-top:22px}.setup-card .avatar-choice{padding:10px 5px 12px}.setup-card .avatar-choice img{height:88px}.setup-card .avatar-choice small{display:none}.setup-card .avatar-colors{gap:5px}.setup-card .avatar-color{font-size:11px;min-width:0;padding:8px 3px}.setup-card .avatar-color-section{margin:18px 0}.setup-card .primary{width:100%;margin-top:18px;min-height:48px}.setup-note{border-top:1px solid #e3eaf3;padding-top:18px;margin-top:22px;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;color:#74859c}.setup-note .icon{width:17px;color:#326cce}.setup-card .search{width:100%;height:54px;margin:24px 0 0;gap:8px}.setup-card .search-results{top:60px;z-index:24;max-height:260px}.setup-card .search input{font-size:16px}.setup-search-hint{font-size:12px;line-height:1.5;color:#73859c;margin-top:12px}.setup-back{margin-top:28px;color:#285fae;font-size:14px;padding:10px 0;text-align:left}.setup-card #setup-loading{padding:32px 0;color:#75849a}.setup-card .avatar-color-heading h3{font-size:14px}body:not(.started) .map-footer{position:fixed;background:#f7faff;border:0;bottom:12px}.started .topbar #header-search-slot{display:contents}.legal{overflow:auto!important;height:auto!important;min-height:100dvh}.legal main{overflow:visible}.started .welcome{display:none}#restart-guide{margin-top:20px}@keyframes welcome-float{50%{transform:translateY(-8px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.welcome-companion{animation:none}.spinner{animation-duration:2s}}
@media(max-width:900px){.welcome{width:calc(100% - 40px);gap:24px}.welcome-story h1{font-size:38px}.setup-card{padding:22px}.welcome-companion{width:90px;height:90px}}
@media(max-width:700px){body:not(.started) .topbar{height:calc(60px + env(safe-area-inset-top));display:flex;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top))}.welcome{width:calc(100% - 28px);margin:22px auto 60px;display:flex;flex-direction:column;gap:20px;max-height:none;overflow:visible}.welcome-story{width:100%;text-align:center}.welcome-story .eyebrow{font-size:10px;letter-spacing:.7px}.welcome-story h1{font-size:31px;line-height:1.13;margin:12px 0}.welcome-story>p{font-size:15px;line-height:1.45;max-width:340px;margin:auto}.welcome-art{height:148px;margin:3px auto -6px;width:240px}.welcome-art>img:first-child{height:158px;object-fit:contain}.welcome-companion{width:66px;height:66px;top:0;left:42%}.welcome-features{display:none}.setup-card{width:100%;padding:20px;border-radius:20px}.setup-progress{margin-bottom:20px}.setup-card h2{font-size:23px}.setup-card .avatar-choice img{height:70px}.setup-card .avatar-grid{margin-top:18px}.setup-card .avatar-color-section{margin:14px 0}.setup-card .setup-note{margin-top:16px;padding-top:14px}body:not(.started) .map-footer{position:relative;left:auto;bottom:auto;justify-content:center;padding:0 0 20px;max-width:100%}.setup-card .search-results{max-height:min(260px,40dvh)}.setup-card .search button[type=submit]{padding:0 12px}.setup-card .avatar-colors{grid-template-columns:repeat(5,minmax(0,1fr))}}

@media(max-width:700px){body.setup-address-active:not(.started) .welcome-story{display:none}body.setup-address-active:not(.started) .welcome{margin-top:24px}}

html.native-app{--header:64px}html.native-app .brand-block{display:none}html.native-app body:not(.started) .topbar{display:none}html.native-app .topbar{height:64px;padding:8px;display:flex;gap:6px}html.native-app .topbar .search{flex:1;width:auto;height:44px;min-width:0}html.native-app .topbar .search input{font-size:16px}html.native-app .topbar .search button[type=submit]{padding:0 9px}html.native-app .avatar-button{padding:3px;width:42px;height:42px}html.native-app .avatar-button>span{display:none}html.native-app .help-button{width:30px;margin:0}html.native-app .welcome{margin-top:24px}

/* Provider credits belong only to the map currently shown. Retain required
   open-map attribution when its imagery is active, including on small screens. */
body.google-active #map,body.street-active #map,body:has(#street-map:not([hidden])) #map{display:none!important}
.map-footer #provider-label{max-width:none;white-space:normal}
