:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233c45;background:#edf0e9;font-synthesis:none;--ink:#233c45;--muted:#71828a;--blue:#316cba}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer;background:#fff;border:1px solid #dbe3e3;border-radius:8px;color:var(--ink)}button:hover{background:#f0f5fa;border-color:#a7c2d9}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #367ce0;outline-offset:3px}[hidden]{display:none!important}a{color:var(--blue)}#app{height:100dvh;min-height:560px;position:relative;overflow:hidden}#scene{width:100%;height:100%;display:block;position:absolute;inset:0;touch-action:none}header{position:absolute;top:0;left:0;right:0;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #bccaca55;background:#fafcf7e8;backdrop-filter:blur(14px);z-index:7}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);letter-spacing:.08em;font-size:18px}.brand b{font-weight:300;font-size:22px}.brand-icon{background:#2e655f;color:#fff;padding:7px 9px;border-radius:9px;font-size:17px}.tag{font-size:9px;letter-spacing:.15em;border:1px solid #cad8d3;border-radius:5px;padding:5px 7px;margin-left:10px;color:#668075}header nav{display:flex;gap:22px}header nav a{font-size:13px;text-decoration:none;color:#5b727c}.map-title{position:absolute;top:108px;left:28px;pointer-events:none;z-index:2}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.18em;color:#6f8580}h1{font-weight:450;font-size:38px;line-height:1.08;letter-spacing:-.045em;margin:11px 0}h2{font-size:19px;font-weight:550;letter-spacing:-.035em;margin:8px 0 0}.map-title p{color:#70838a;font-size:13px;margin:0}.places-tool{left:28px;top:275px;width:278px;max-height:calc(100% - 355px);z-index:5;background:#fffffff0;padding:14px;border-color:#d7e1df;box-shadow:0 8px 40px #29443e0d;border-radius:14px}#panel{position:absolute;right:24px;top:102px;width:290px;max-height:calc(100% - 172px);overflow:auto;background:#fffffff0;border:1px solid #d7e1df;box-shadow:0 8px 40px #29443e0d;border-radius:14px;padding:20px;z-index:5;scrollbar-width:thin}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head button{font-size:23px;width:28px;flex-shrink:0;border:0;background:transparent}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:23px 0 24px;padding-bottom:22px;border-bottom:1px solid #e2e8e3}.metrics strong{display:block;font-size:31px;font-weight:400;letter-spacing:-.06em}.metrics span{display:block;font-size:11px;color:#78878b;margin-top:7px;line-height:1.4}.control{display:block;font-size:13px;margin:0 0 9px;font-weight:600}select{width:100%;color:#375957;background:#f4f7f2;border:1px solid #d5dfd7;border-radius:8px;padding:11px 9px;font-size:13px}.note{color:#75868a;font-size:12px;line-height:1.6;margin:10px 0 18px}.switch{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:12px;border-top:1px solid #e2e8e3;padding:16px 0}.switch input{accent-color:#3878b9;width:17px;height:17px}#roofLegend{font-size:10px;line-height:2;margin-bottom:12px;color:#73828d}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:3px}.legend-dot.blue{background:#6693bc}.legend-dot.beige{background:#c6b7a7;margin-left:8px}.primary{width:100%;padding:12px 11px;background:#2e655f;color:#fff;border-color:#2e655f;display:flex;justify-content:space-between;align-items:center;font-size:12px}.primary:hover{background:#39796f;color:#fff;border-color:#39796f}details{border-top:1px solid #e2e8e3;padding-top:14px;font-size:12px;line-height:1.6}summary{cursor:pointer;color:#456564}details p{color:#738186}details a{font-size:11px}.map-tools{position:absolute;right:332px;top:104px;display:flex;flex-direction:column;gap:6px;z-index:4}.map-tools button{width:34px;height:35px;font-size:21px;box-shadow:0 4px 14px #263f4010}.map-tools #north{height:53px;margin-top:6px}.map-tools small{display:block;font-size:9px;margin-top:0}.view-controls{position:absolute;bottom:47px;left:50%;transform:translateX(-50%);display:flex;gap:4px;background:#ffffffed;border:1px solid #d6e0df;border-radius:11px;padding:5px;z-index:4;box-shadow:0 5px 20px #32494515}.view-controls button{font-size:12px;white-space:nowrap;padding:9px 12px;border-color:transparent;background:transparent}.view-controls button[aria-pressed=true]{background:#edf4ed;color:#2e655f;border-color:#d6e1d4}footer{position:absolute;left:28px;right:28px;bottom:16px;display:flex;gap:22px;justify-content:space-between;font-size:10px;color:#7d8f90;pointer-events:none;z-index:3}.gesture{color:#8c9b9b}#selection{position:absolute;left:50%;bottom:109px;transform:translateX(-50%);background:#ffffffed;border:1px solid #cadcd5;border-radius:12px;box-shadow:0 5px 30px #173c4520;z-index:6;padding:18px 36px 18px 18px;width:310px;max-height:45vh;overflow:auto;font-size:13px;line-height:1.6}#selection strong{display:block;font-size:17px;font-weight:550;line-height:1.3}#selection small{display:block;color:#77868c;font-size:11px;margin-top:6px}#selection p{margin:8px 0 0}#closeSelection{position:absolute;right:8px;top:8px;border:0;background:transparent;font-size:22px}#loading{position:absolute;inset:0;background:#edf0e9;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:20;text-align:center;padding:25px}#loading p{font-size:14px;color:#64827b;max-width:360px;line-height:1.6}#loading a{font-size:12px;margin-top:12px}.loadmark{font-size:48px;letter-spacing:-.06em;color:#2e655f}.loadmark span{font-weight:200;color:#7d9e83;margin-left:8px}.shared-route-note{position:absolute;left:50%;transform:translateX(-50%);top:92px;font-size:11px;color:#326cba;background:#fffffff0;border:1px solid #d5e1e9;padding:8px 12px;border-radius:7px;max-width:280px;z-index:3}
@media(max-width:1100px){.map-title h1{font-size:30px}.places-tool{width:248px;top:258px}#panel{width:254px;right:18px;padding:16px}.map-tools{right:285px}.shared-route-note{display:none}.gesture{display:none}}
@media(max-width:760px){#app{min-height:600px}header{height:62px;padding:0 16px}.brand{font-size:15px}.brand-icon{font-size:14px}.tag{display:none}header nav{gap:12px}header nav a{font-size:10px}.map-title{top:86px;left:18px}.map-title h1{font-size:25px}.map-title p{font-size:11px;max-width:155px}.eyebrow{font-size:9px}.places-tool{left:14px;right:14px;bottom:104px;top:auto;width:auto;max-height:45vh;padding:11px}.places-tool:has(#placesBody3d[hidden]){max-height:48px}#panel{right:14px;top:82px;width:190px;max-height:calc(100% - 200px);padding:13px}#panel h2{font-size:14px}.metrics{margin:16px 0;gap:8px}.metrics strong{font-size:25px}.metrics span{font-size:10px}.map-tools{right:14px;top:auto;bottom:215px}#panel:has(#panelContent:not([hidden]))~.map-tools{display:none}.view-controls{bottom:48px;width:max-content;max-width:95%}.view-controls button{padding:9px 8px;font-size:11px}footer{left:15px;right:15px;font-size:9px;bottom:18px}#selection{bottom:162px;width:290px;max-height:40vh}.note{font-size:11px}.switch{font-size:11px}.primary{font-size:11px}}
@media(prefers-reduced-transparency:reduce){header,.places-tool,#panel,.view-controls,#selection{background:#fff}}
/* Streets are the working surface. Existing buildings and tree controls remain. */
.map-title h1{font-size:30px;line-height:1.15;letter-spacing:-.035em}.map-title p{font-size:14px}.places-tool{top:224px;max-height:calc(100% - 310px)}#panel{width:306px;padding:18px}.panel-head h2{font-size:21px}.map-tools{right:344px}.road-metrics{margin:20px 0 16px;padding-bottom:16px}.metrics span{font-size:12px}.street-modes{display:flex;gap:4px;padding:4px;margin-bottom:18px;border:1px solid #d3dfe5;border-radius:9px;background:#eef2f5}.street-modes button{flex:1;border:0;background:transparent;font-size:14px;padding:9px;color:#607580}.street-modes button[aria-pressed=true]{background:white;color:#286ab3;box-shadow:0 2px 7px #33485814}.control{font-size:14px}#streetSelect{font-size:14px;background:#f7f9fb;padding:11px}#streetFocus{margin:9px 0 15px;font-size:14px;background:#326898;border-color:#326898}.street-layers{display:grid;gap:11px;font-size:14px;margin:17px 0}.street-layers label{display:flex;gap:8px;align-items:center}.street-layers input{width:16px;height:16px;accent-color:#367db8;margin:0}.layer-color{width:12px;height:12px;border-radius:3px;display:inline-block;border:1px solid #38576a20}.layer-color.road{background:#505b68}.layer-color.sidewalk{background:#dce2e5}.layer-color.path{background:#c6c5b9}.layer-color.crossing{background:#505b68}.switch{font-size:14px}.note{font-size:13px}#streetLegend{font-size:13px;line-height:1.7;margin:0 0 9px}.legend-dot.documented{background:#4b91bd}.legend-dot.estimated{background:#d59b53;margin-left:12px}.street-method summary,.context-controls summary,#panel>div>details>summary{font-size:14px;font-weight:550}#panel details{font-size:13px;line-height:1.65;margin-top:14px}#panel details p{margin:12px 0}#panel details a{font-size:13px}.context-controls .metrics{margin:18px 0}#selection{width:340px;font-size:14px}#selection small{font-size:13px}#selection a{display:inline-block;font-size:13px;margin-top:10px}.places-heading{font-size:14px}.primary{font-size:14px}.view-controls button{font-size:14px}.eyebrow{font-size:12px;letter-spacing:.09em}
@media(max-width:1100px){#panel{width:276px;padding:15px}.map-tools{right:308px}.map-title h1{font-size:27px}.places-tool{top:219px}}
@media(max-width:760px){.map-title h1{font-size:24px;max-width:165px}.map-title p{font-size:12px;max-width:155px}.eyebrow{font-size:10px}#panel{width:190px;padding:12px}#panel h2{font-size:16px}.map-tools{right:14px;top:auto;bottom:215px}.places-tool{top:auto;max-height:45vh}.street-modes button,.street-layers,.control,#streetSelect,#streetFocus,.switch{font-size:14px}.street-layers{gap:13px}.metrics span{font-size:12px}#panel:has(#panelContent:not([hidden])){width:min(306px,calc(100% - 28px));max-height:calc(100% - 228px);z-index:8}#selection{width:min(340px,calc(100% - 28px));bottom:162px}.view-controls button{font-size:12px}.places-tool .place-input{font-size:16px}}

@media(max-width:760px){.map-title{max-width:calc(100% - 225px)}.map-title h1{font-size:22px}.map-title p{max-width:100%}}

.layer-color.bridge{background:#bfa47d}

/* Quiet controls leave the model as the first thing to see. */
:root{background:#e3ebf0;--ink:#243d50;--muted:#6e8290;--blue:#326898}
header{height:76px;background:transparent;border:0;backdrop-filter:none;pointer-events:none}
header .brand,header nav{pointer-events:auto;background:#fffffff0;border:1px solid #ffffff;box-shadow:0 4px 22px #344d6710;border-radius:12px;padding:10px 14px}
.brand-icon{background:#243f53}.tag{color:#627c8c;border-color:#d4e0e7}
header nav a{font-size:14px;color:#3d5a71}.map-title h1{font-size:34px;color:#243d50;letter-spacing:-.045em}.map-title p{color:#647d91}.map-title .eyebrow{color:#647d91}
.places-tool,#panel{background:#ffffffed;border-color:#ffffff;border-radius:14px;box-shadow:0 10px 32px #263d5710}
#panel .eyebrow{font-size:12px;color:#6a8192}#panel h2{font-size:19px}.street-modes{margin:16px 0 0;border-color:#d9e3ea;background:#edf2f6}
#panelContent{padding-top:2px}.road-metrics{margin-top:18px}.street-modes button[aria-pressed=true]{color:#243f53;box-shadow:0 2px 8px #253c5714}
.view-controls{background:#ffffffed;border-color:#ffffff;box-shadow:0 8px 28px #263d5714;border-radius:14px;padding:6px}.view-controls button{border-radius:8px}.view-controls button[aria-pressed=true]{background:#e8eff5;color:#243f53;border-color:transparent}
#loading{background:#e3ebf0}.loadmark{color:#243f53}.loadmark span{color:#7193a8}
@media(max-width:1100px){.map-title h1{font-size:28px}}
@media(max-width:760px){header{height:64px;padding:0 12px}header .brand,header nav{padding:7px 9px;border-radius:10px}header nav{gap:10px}header nav a{font-size:12px}.map-title h1{font-size:22px}#panel h2{font-size:15px}#panel .eyebrow{font-size:10px}.street-modes{margin-top:12px}.view-controls{padding:4px}}
@media(prefers-reduced-transparency:reduce){header .brand,header nav,.places-tool,#panel,.view-controls{background:#fff}}

/* Stable interactive targets and a complete reduced-motion mode. */
.map-tools button,.panel-head button,#closeSelection,.places-heading button,.place-close{min-width:44px;min-height:44px}
header nav a{display:inline-flex;align-items:center;min-height:44px}.brand-icon{min-width:38px;text-align:center;font-size:12px;letter-spacing:-.04em;padding:9px 6px}.brand b{font-size:13px;letter-spacing:.04em;color:#627c8c}.loadmark{font-size:38px}.loadmark span{font-size:13px;letter-spacing:.08em}
#loading nav{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
