/* North Shore viewer: the model is the canvas; controls share its edges. */
.water-live-choice{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:650;cursor:pointer}
.water-live-choice input{width:18px;height:18px;accent-color:var(--orange)}
.water-current{padding-block:14px;margin-block:16px;border-block:1px solid var(--line)}
.water-current h3{font-size:15px;margin:0 0 8px}
.water-current-reading{display:flex;gap:12px;align-items:center;font:13px/1.5 var(--mono)}
.water-current-reading svg{width:32px;height:32px;flex:none;stroke:var(--orange);fill:none;stroke-width:2}
.water-actions{display:flex;gap:12px;flex-wrap:wrap;margin-block:12px}
.water-actions button{min-height:44px;appearance:none;border:1px solid var(--line);border-radius:7px;padding:9px 12px;background:var(--cream);color:var(--ink);font:13px/1.3 var(--body);cursor:pointer;text-decoration:none}
.water-actions button:first-child{background:var(--ink);color:var(--cream)}
.water-actions button:hover,.water-actions button:focus-visible{border-color:var(--orange);outline-offset:3px}
.water-actions button:disabled{opacity:.5;cursor:default}
.water-current{margin-top:0;padding-top:0;border-top:0}
.current-flow-switch{font-size:13px;margin-top:8px}
.current-flow-note{font-size:12px;line-height:1.45}
.current-peek{position:absolute;z-index:7;right:16px;top:16px;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);min-height:58px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--cream);color:var(--ink);box-shadow:var(--panel-elevation);text-align:left;cursor:pointer}
.current-peek-reading{display:flex;flex-direction:column;gap:4px;min-width:0}
.current-peek small{font:10px/1 var(--mono);text-transform:uppercase;letter-spacing:.07em;color:var(--ink2)}
.current-peek strong{font:500 14px/1.1 var(--mono);white-space:nowrap}
.current-peek-action{padding-left:12px;border-left:1px solid var(--line);font:12px/1.2 var(--body);text-decoration:underline;text-underline-offset:3px}
.current-peek-symbol{display:flex;align-items:center;gap:3px;color:var(--orange);width:28px}
.current-peek-symbol i{display:block;width:4px;height:4px;background:currentColor;opacity:.4}
.current-peek-symbol i:nth-child(2){width:6px;height:6px;opacity:.7}
.current-peek-symbol i:nth-child(3){width:8px;height:8px;opacity:1}
.current-peek[data-live="false"] .current-peek-symbol{color:var(--ink2)}
.current-peek:hover,.current-peek:focus-visible{border-color:var(--orange)}
body.touring .current-peek{visibility:hidden}
@media(max-width:1023px){.current-peek{top:68px;right:14px;padding:9px 12px;min-height:54px;gap:9px}body:not(.intro-dismissed) .current-peek{visibility:hidden}}
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--header-height:76px;--rail-width:76px;--target-min:44px;--rail-item-height:64px;--sheet-width:360px;--popover-width:288px;--panel-radius:12px;--motion-panel:180ms ease-out;--control-size:14px;--panel-elevation:0 5px 20px #192c341f}
html,body{height:100%;overflow:hidden}
.app{height:100dvh;display:grid;grid-template-rows:var(--header-height) minmax(0,1fr)}
.site-header{height:var(--header-height)}
.map-main{position:relative;min-width:0;min-height:0;background:var(--water);isolation:isolate}
canvas.gl{display:block;width:100%;height:100%;touch-action:none}
canvas.gl:focus-visible{outline-offset:-5px}
.scene-label-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2}
.scene-label-leaders{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.scene-label-leaders line{stroke:var(--ink);stroke-width:1;opacity:.8}
.scene-label-leaders line.proposal{stroke:var(--massing-edge)}
.scene-label{position:absolute;left:0;top:0;display:flex;flex-direction:column;gap:2px;width:max-content;max-width:210px;margin:0;padding:6px 9px;border:1px solid var(--ink);border-radius:6px;background:var(--cream);color:var(--ink);box-shadow:0 2px 5px #192c3426;text-align:left;font:11px/1.25 var(--body)}
.scene-label strong{font-size:12px;font-weight:650}
.scene-label span{font-size:10px}
button.scene-label{pointer-events:auto;min-height:44px;cursor:pointer}
@media (hover:hover) and (pointer:fine){button.scene-label:hover{background:var(--chip)}}
.scene-label-proposal{border-color:var(--massing-edge)}
.scene-label-rezoning{max-width:190px;background:var(--ink);color:var(--cream)}
.scene-label-rezoning strong{font-size:11px}
.diagnostic-focus{font-size:13px;padding-top:0}
/* Storytelling introduction: a fading paper card over the miniature. */
.intro{position:absolute;top:18px;left:18px;width:320px;max-width:calc(100% - 120px);padding:24px 44px 22px 24px;border-radius:8px;background:radial-gradient(ellipse 78% 72% at 44% 46%,#fff4e3f5 52%,#fff4e3cc 74%,#fff4e300 100%);pointer-events:none;z-index:1;color:var(--ink)}
.intro-eyebrow,.intro-label{display:block;font:500 10px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--ink2);margin:0;white-space:nowrap}
.intro-eyebrow{margin-bottom:18px}
.intro h1{font:400 58px/.98 var(--scene-serif);letter-spacing:-.03em;margin:0 0 16px;color:var(--ink)}
.intro-lede{font:15px/1.5 var(--body);color:var(--ink2);margin:0}
.intro-rule{width:46px;height:1px;background:var(--line);margin:22px 0 20px}
.intro-label{margin-bottom:10px}
.intro select{pointer-events:auto;width:218px;background:#fff4e3f0;font-weight:500}
.intro-link{pointer-events:auto;display:inline-flex;align-items:center;gap:6px;min-height:36px;margin-top:8px;padding:6px 0;border:0;background:none;font:600 13px var(--body);color:var(--ink);text-decoration:underline;text-underline-offset:4px}
body.has-details .intro,body.has-welcome .intro{visibility:hidden}
.panel{background:var(--cream);border-radius:var(--panel-radius);box-shadow:var(--panel-elevation);overflow:hidden;z-index:5}
.information-sheet{position:absolute;top:16px;left:16px;width:var(--sheet-width);max-height:calc(100% - 32px);display:flex;flex-direction:column}
.panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;min-height:64px;padding:10px 12px 8px 22px}
.panel-header h2{font:700 19px/1.2 var(--body);letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.panel-header-actions{display:flex;align-items:center;gap:0}
.icon-button{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;background:none;padding:10px;line-height:1;color:var(--ink);border-radius:8px}
@media (hover:hover) and (pointer:fine){.icon-button:hover,.text-button:hover{background:var(--chip)}}
.icon-button .icon{width:21px;height:21px}
.text-button{min-height:44px;padding:10px 0;background:none;border:0;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-align:left}
.expand-panel{display:none}
.sheet-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}
.pane{padding:0 22px 22px;outline-offset:-4px}
.pane h2{font-size:31px;margin:0 0 16px;overflow-wrap:anywhere}
.pane h3{font-size:20px;margin:24px 0 12px}
.pane p{font-size:15px;line-height:1.5;color:var(--ink2)}
.pane a{overflow-wrap:anywhere}
.pane .btn{font-size:14px;min-height:44px;padding:9px 13px;border-radius:8px}
.tabs{display:flex;flex:none;margin:0 22px;padding:4px 0 10px;border-top:1px solid var(--line)}
.tabs button{flex:1;min-height:44px;font:500 14px var(--body);border:0;border-bottom:2px solid transparent;background:none;padding:10px 2px}
.tabs button[aria-selected=true]{font-weight:700;border-bottom-color:var(--orange)}
@media (hover:hover) and (pointer:fine){.tabs button:hover{background:var(--chip)}}
.selection-actions{padding:0 22px 8px}
.selection-hidden{background:var(--chip);padding:8px 16px;margin:0 22px 16px;border-radius:8px;font-size:14px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.selection-hidden p{margin:0}
.selection-hidden button{flex:none}
.empty{font-size:16px;line-height:1.5;color:var(--ink2);padding:8px 0 20px}
.kv{display:grid;grid-template-columns:minmax(80px,.75fr) minmax(0,1fr);gap:10px 14px;font-size:14px;line-height:1.5;margin:20px 0}
.kv dt{color:var(--ink2)}
.kv dd{margin:0;overflow-wrap:anywhere;font:13px/1.5 var(--mono)}
.kv dt.strong,.kv dd.strong{font-weight:600;color:var(--ink)}
.row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.chip{display:inline-block;border-radius:5px;padding:3px 7px;background:var(--chip);font:13px/1.4 var(--body)}
.chip.flag{color:var(--flag);background:var(--flag-soft)}
.chip.ok{background:var(--water)}
.tilelist{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.tile{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:7px;background:transparent;padding:9px 7px;gap:5px;min-height:44px}
@media (hover:hover) and (pointer:fine){.tile:hover{border-color:var(--ink);background:var(--chip)}}
.tile[aria-pressed=true]{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.tile .id{font:800 21px var(--display)}
.tile .n{font:13px var(--mono)}
.tile .bar{height:3px;width:100%;background:var(--water)}
.tile .bar i{display:block;height:100%;background:var(--ink2)}
.tool-surface{position:absolute;top:16px;right:calc(var(--rail-width) + 16px);width:var(--popover-width);max-height:calc(100% - 92px);display:flex;flex-direction:column}
.tool-panel{min-height:0;display:flex;flex-direction:column;overflow:hidden}
.tool-panel .panel-header{padding-left:20px}
.tool-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 20px 18px;font-size:15px;line-height:1.45}
.tool-scroll>.panel-intro{margin:0 0 12px;font-size:15px;color:var(--ink2)}
.tool-scroll>p:last-child{margin-bottom:0}
.tool-scroll .text-link{font-size:14px;display:inline-block;padding:12px 0 4px}
.layer-note{font-size:13px;line-height:1.45;color:var(--ink2);margin:8px 0 12px;overflow-wrap:anywhere}
.panel-footnote{font-size:13px;line-height:1.45;color:var(--ink2);margin:12px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.control-group{margin:0 0 18px;padding:0;border:0;min-width:0}
.control-group legend,.control-heading{font:600 14px/1.4 var(--body);letter-spacing:0;color:var(--ink2);margin:0 0 10px;padding:0}
.control-heading{margin:20px 0 6px;border-top:1px solid var(--line);padding-top:16px}
.segmented{display:flex;gap:0;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.segmented button{flex:1;min-width:0;border:0;border-right:1px solid var(--line);background:none;min-height:44px;padding:7px 5px;font-size:14px;font-weight:500}
.segmented button:last-child{border-right:0}
.segmented button[aria-pressed=true]{background:var(--ink);color:var(--cream);font-weight:600}
@media (hover:hover) and (pointer:fine){.segmented button:hover:not([aria-pressed=true]){background:var(--chip)}}
.tog{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:46px;padding:6px 0;font-size:15px;line-height:1.25;cursor:pointer}
.tog>span{min-width:0}
.tog input[type=checkbox]{appearance:none;position:relative;flex:none;order:2;width:42px;height:25px;margin:0;border:1px solid var(--line);border-radius:14px;background:var(--line);cursor:pointer;transition:background var(--motion-panel)}
.tog input[type=checkbox]::after{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:var(--cream);transition:transform var(--motion-panel)}
.tog input[type=checkbox]:checked{background:var(--ink);border-color:var(--ink)}
.tog input[type=checkbox]:checked::after{transform:translateX(17px)}
.tog:has(input:disabled){color:var(--ink3);cursor:not-allowed}
.tog input:disabled{cursor:not-allowed;opacity:.55}
@media (hover:hover) and (pointer:fine){.tog:hover:has(input:not(:disabled)){color:var(--ink)}}
#propSites{padding:8px 0 12px;border-bottom:1px solid var(--line);margin-bottom:18px}
#propSites .tog{font-size:14px;min-height:52px}
#publicLayerControls{display:block}
.builder-tools{border-top:1px solid var(--line);margin-top:16px;padding-top:2px}
.builder-tools>summary{font-size:15px;min-height:48px;padding:13px 0;font-weight:600}
.builder-tools[open]>summary{margin-bottom:8px}
.field{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-size:14px}
.field label{font-weight:500}
.field label output{float:right;font-family:var(--mono);font-size:13px}
select,input[type=date],input[type=time],input[type=url]{min-width:0;width:100%;min-height:44px;border:1px solid var(--line);border-radius:7px;background:var(--cream);padding:9px;font:14px var(--body)}
input[type=range]{accent-color:var(--orange);width:100%;min-width:0;min-height:32px;margin:0;cursor:pointer}
.range-labels{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--ink2);margin-top:0}
.date-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.date-chips button{min-height:44px;padding:8px 5px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:14px;white-space:nowrap}
.date-chips button[aria-pressed=true]{background:var(--ink);color:var(--cream);border-color:var(--ink)}
@media (hover:hover) and (pointer:fine){.date-chips button:hover:not([aria-pressed=true]){background:var(--chip)}}
.date-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:14px 0 8px}
.sun-date{margin:12px 0 6px;font-size:15px;font-weight:500}
.sun-study{display:flex;flex-direction:column}
.time-readout output{display:block;font:800 33px/1.2 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.time-readout span{font-size:13px;color:var(--ink2)}
.sundial{width:100%;max-height:125px;margin:8px auto 2px;overflow:visible;order:2}
.sundial .dial-arc{stroke:var(--line);stroke-width:1.5;fill:none}
.sundial line{stroke:var(--ink);stroke-width:1.5}
.sundial circle{fill:var(--massing);stroke:var(--orange);stroke-width:1}
.sundial text{font:13px var(--body);fill:var(--ink)}
.sun-slider{margin:4px 0 12px}
.precise-time{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;margin:12px 0}
#sunTimeNotice{color:var(--flag)}
.water-caveat{font-size:14px;line-height:1.5;border-top:1px solid var(--line);padding-top:16px;color:var(--ink2)}
.places-list{display:flex;flex-direction:column}
.places-list button,.place-link{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:50px;padding:12px 0;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;font-size:16px;font-weight:600;line-height:1.3}
@media (hover:hover) and (pointer:fine){.places-list button:hover,.place-link:hover{color:var(--flag)}}
.places-list button span{display:block}
.places-list button small{display:block;margin-top:4px;font:13px/1.4 var(--body);font-weight:400;color:var(--ink2)}
.proposal-title{display:block;font:700 18px/1.3 var(--body);margin-bottom:8px}
.ferry-note{font-size:13px;line-height:1.5;margin-top:18px;color:var(--ink2)}
.ferry-note strong{font-weight:600;color:var(--ink)}
.ferry-note p{margin:6px 0 10px}
.panel-links{display:flex;align-items:flex-start;flex-direction:column;gap:2px;margin-top:14px;font-size:14px}
.panel-links>a{min-height:44px;padding:10px 0}
.viewer-tools{position:absolute;right:0;top:0;bottom:0;width:var(--rail-width);padding:10px 6px;background:var(--cream);border-left:1px solid var(--line);z-index:6;display:flex;flex-direction:column;gap:2px}
.rail-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;min-height:var(--rail-item-height);flex:none;border:0;border-radius:10px;background:none;font-size:13px;font-weight:500;line-height:1.15;padding:7px 1px}
.rail-button .icon{width:25px;height:25px}
.rail-button[aria-expanded=true],.rail-button[aria-pressed=true]{background:var(--ink);color:var(--cream)}
@media (hover:hover) and (pointer:fine){.rail-button:hover:not([aria-expanded=true]):not([aria-pressed=true]){background:var(--chip)}}
.mobile-street{display:none}
.map-recovery{position:absolute;right:calc(var(--rail-width) + 16px);bottom:18px;display:flex;flex-direction:row-reverse;gap:8px;z-index:7}
.map-recovery .btn{font-size:14px;padding:10px 14px;min-height:44px;border:1px solid var(--line);box-shadow:var(--shadow);gap:8px}
.exit-street{background:var(--ink);color:var(--cream)}
.map-utilities{position:absolute;right:14px;bottom:12px;width:48px;display:flex;flex-direction:column;align-items:center;gap:9px;z-index:7}
.map-utilities>.icon-button{background:var(--cream);border:1px solid var(--line);width:44px}
.map-utilities .compass{border-radius:50%;flex-direction:column;gap:0;height:54px;width:54px;padding:5px}
.compass .icon{fill:var(--ink);width:25px;height:25px}
.compass span{font-size:12px;font-weight:600}
.zoom-controls{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--cream)}
.zoom-controls button{display:flex;border-radius:0;padding:10px}
.zoom-controls button+button{border-top:1px solid var(--line)}
.map-utilities .share-button{flex-direction:column;gap:6px;font-size:11px;min-height:56px}
.map-utilities .help-button{min-height:36px;height:36px;border:0}
.legend{position:absolute;right:calc(var(--rail-width) + 16px);bottom:80px;display:flex;flex-direction:column;gap:7px;padding:12px 14px;border-radius:9px;background:var(--cream);font-size:12px;max-width:260px;pointer-events:none;z-index:2;box-shadow:var(--shadow)}
body.has-tool .legend{display:none}
.legend:empty{display:none}
.legend span{display:flex;align-items:center;gap:8px}
.legend .sw{width:15px;height:15px;border:1px solid var(--line);flex:none}
.legend .ramp{display:inline-block;width:50px;height:12px}
.legend .sw.hatch{background:repeating-linear-gradient(45deg,var(--headroom-over) 0 3px,var(--flag-soft) 3px 6px)}
.legend .sw.ghost{background:var(--headroom-ghost);opacity:.45;border-color:var(--headroom-ghost-edge)}
.headroom-controls{margin:4px 0 10px;padding:2px 10px 6px;border-radius:8px;background:var(--panel2)}
.headroom-controls .layer-note{margin-top:0}
.headroom-controls .field{margin:4px 0 10px}
.headroom-controls .text-link{display:inline-block;padding:0 0 6px;font-size:14px}
.model-status{position:absolute;bottom:14px;left:20px;display:flex;flex-direction:column;gap:1px;max-width:calc(100% - 380px);font-size:11px;line-height:1.35;pointer-events:none;color:var(--ink2);z-index:1}
.model-status #conditionLabel{font-weight:600}
.mode-message{position:absolute;top:18px;left:50%;transform:translateX(-50%);max-width:360px;padding:11px 15px;border-radius:8px;background:var(--cream);font-size:14px;line-height:1.4;z-index:4;box-shadow:var(--shadow);pointer-events:none}
.mode-message:empty{display:none}
.share-status{position:absolute;bottom:75px;right:calc(var(--rail-width) + 16px);max-width:260px;background:var(--ink);color:var(--cream);padding:9px 12px;border-radius:8px;font-size:14px;z-index:8}
.share-status:empty{display:none}
#shareUrl{font-size:13px;font-family:var(--mono);margin:8px 0 12px}
.selection-peek{display:none}
.welcome-panel{position:absolute;top:20px;left:20px;width:330px;max-width:calc(100% - 120px);padding:30px 24px 18px;background:var(--cream);border-radius:12px;box-shadow:var(--panel-elevation);z-index:4}
.welcome-close{position:absolute;right:4px;top:4px}
.welcome-panel h2{font-size:29px;line-height:1.05;margin:0 0 16px}
.welcome-panel p{font-size:15px;line-height:1.45;margin:0 0 12px}
.welcome-panel .coverage-note{font-size:13px;color:var(--ink2)}
.welcome-panel>.btn{width:100%;justify-content:space-between;font-size:15px;padding:11px 14px;margin-top:7px;background:var(--ink);color:var(--cream)}
.welcome-panel>.text-button{font-size:13px;margin-top:4px}
.tip{position:absolute;max-width:340px;pointer-events:none;background:var(--ink);color:var(--cream);border-radius:8px;padding:7px 11px;font-size:13px;line-height:1.4;z-index:3;box-shadow:var(--shadow);overflow-wrap:anywhere}
.tip .tip-line{white-space:normal}
.tip strong{font-weight:700}
.load{position:absolute;inset:0 var(--rail-width) 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:var(--water);padding:24px;z-index:9}
.load strong{font:800 38px/1.08 var(--display);letter-spacing:-.03em;margin:18px 0 14px}
.load p{font-size:15px;margin-bottom:16px}
.load .bar{width:210px;height:4px;border-radius:4px;background:var(--cream);overflow:hidden;margin:6px 0 15px}
.load .bar i{display:block;width:100%;height:100%;background:var(--ink);transform:scaleX(0);transform-origin:left;transition:transform .2s}
#loadMsg{font-size:12px}
.load .btn{margin-top:18px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:900px) and (max-height:760px){.map-utilities{right:calc(var(--rail-width) + 20px);bottom:82px}.map-utilities>.icon-button,.zoom-controls{box-shadow:var(--shadow)}body.has-tool .map-utilities{right:calc(var(--rail-width) + var(--popover-width) + 30px)}.viewer-tools{padding-top:14px}.legend{right:calc(var(--rail-width) + 82px)}}
@media(min-width:900px) and (max-height:510px){.viewer-tools{overflow-y:auto;padding-bottom:8px}.rail-button{min-height:54px;gap:3px}.rail-button .icon{height:22px;width:22px}.map-utilities{flex-direction:row;width:auto;right:calc(var(--rail-width) + 16px);bottom:72px;gap:5px}body.has-tool .map-utilities{right:calc(var(--rail-width) + 16px)}.map-utilities .compass{height:44px;width:44px}.zoom-controls{display:flex}.zoom-controls button+button{border-top:0;border-left:1px solid var(--line)}.map-utilities .share-button{min-height:44px}.share-button span{display:none}.tool-surface{max-height:calc(100% - 138px)}.model-status,.legend{display:none}}
@media(max-width:899px){
 :root{--header-height:64px;--strip-height:66px;--panel-limit:min(45dvh,calc(70dvh - var(--header-height) - var(--strip-height) - env(safe-area-inset-bottom)));--sheet-width:100%;--popover-width:100%}
 .site-header{height:64px;padding:0 16px}.menu-button{display:flex;align-items:center;gap:6px;width:auto;padding:7px;font-size:13px;min-height:44px}.site-nav{top:63px}
 .map-main{padding-bottom:calc(var(--strip-height) + env(safe-area-inset-bottom))}
 canvas.gl{height:100%}
 .intro{top:12px;left:12px;width:232px;max-width:calc(100% - 92px);padding:16px 28px 14px 16px;background:radial-gradient(ellipse 80% 74% at 46% 48%,#fff4e3f2 54%,#fff4e3c4 76%,#fff4e300 100%)}.intro-eyebrow{font-size:9px;margin-bottom:10px}.intro h1{font-size:38px;margin-bottom:10px}.intro-lede{font-size:12px;line-height:1.45}.intro-rule{margin:14px 0 12px}.intro select{width:172px;min-height:40px;padding:7px 9px;font-size:13px}.intro-link{display:none}
 body.has-tool .intro{visibility:hidden}
 .viewer-tools{top:auto;bottom:0;left:0;right:0;width:100%;height:calc(var(--strip-height) + env(safe-area-inset-bottom));padding:4px 5px calc(4px + env(safe-area-inset-bottom));border-left:0;border-top:1px solid var(--line);flex-direction:row;gap:0;justify-content:space-between;z-index:10}
 .rail-button{width:calc(100% / 6);min-width:44px;min-height:56px;height:56px;gap:4px;padding:5px 0;font-size:12px;border-radius:8px}
 .rail-button .icon{width:22px;height:22px}.desktop-street{display:none}.mobile-street{display:inline}
 .tool-surface,.information-sheet{top:auto;left:0;right:0;bottom:calc(var(--strip-height) + env(safe-area-inset-bottom));width:100%;max-height:var(--panel-limit);border-radius:16px 16px 0 0;box-shadow:0 -3px 16px #192c341a;z-index:8}
 .information-sheet::before,.tool-surface::before{content:'';display:block;flex:none;width:36px;height:4px;border-radius:3px;background:var(--line);margin:8px auto 2px}
 .panel-header{min-height:52px;padding:3px 10px 3px 20px}
 .tool-panel .panel-header{padding-left:20px}
 .panel-header h2{font-size:20px}
 .tool-scroll{padding:0 20px 16px;font-size:15px}
 .tool-surface:has(.tool-panel:not([hidden])) .selection-peek{border-bottom:1px solid var(--line);margin:0 20px;padding:6px 0;width:calc(100% - 40px)}
 .selection-peek{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 20px;border:0;background:none;width:100%;font-size:14px;text-align:left;flex:none}
 .selection-peek>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
 .selection-peek strong{font-weight:600}
 .pane{padding:0 20px 14px}.pane h2{font-size:27px;margin-bottom:12px}.pane p{font-size:15px}.pane h3{font-size:20px}
 .tabs{margin:0 20px;padding:0 0 3px}.tabs button{min-height:44px}.selection-actions{padding:0 20px}.selection-actions button{min-height:40px}
 .selection-hidden{margin:0 20px 12px}
 .expand-panel{display:block;font-size:13px;padding:8px}
 .information-sheet.is-expanded{max-height:calc(100% - var(--strip-height) - 80px - env(safe-area-inset-bottom))}
 .map-recovery{top:14px;right:14px;bottom:auto;max-width:calc(100% - 28px);flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;flex-direction:column;gap:6px}
 .map-recovery .btn{font-size:13px;padding:10px 12px}
 body.has-tool .map-recovery,body.has-details .map-recovery{z-index:7}
 .map-utilities,body.has-tool .map-utilities{right:14px;bottom:calc(var(--strip-height) + 20px + env(safe-area-inset-bottom));width:44px;gap:8px}
 .map-utilities .compass{width:44px;height:47px;padding:3px}.compass .icon{width:22px;height:22px}.compass span{font-size:11px}
 .map-utilities .share-button{min-height:44px}.share-button span{display:none}.map-utilities .help-button{min-height:44px;height:44px}
 body.has-tool .map-utilities,body.has-details .map-utilities{bottom:calc(var(--strip-height) + var(--panel-limit) + 10px + env(safe-area-inset-bottom))}
 body.has-selection:not(.has-tool):not(.has-details) .map-utilities{bottom:calc(var(--strip-height) + 77px + env(safe-area-inset-bottom))}
 .legend,.model-status{display:none}
 .mode-message{top:74px;left:16px;right:16px;transform:none;max-width:calc(100% - 85px);font-size:13px;padding:10px 12px}
 .share-status{top:68px;right:14px;bottom:auto;font-size:13px;max-width:230px}
 .welcome-panel{top:18px;left:16px;width:285px;max-width:calc(100% - 94px);padding:26px 20px 12px}.welcome-panel h2{font-size:26px}.welcome-panel p{font-size:14px}.welcome-panel .coverage-note{font-size:12px}.welcome-panel>.btn{font-size:14px;padding:10px}
 .date-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.date-chips button{font-size:13px;min-height:44px}
 .date-field{margin:10px 0 6px}.sun-date{font-size:14px;margin:10px 0 6px}
 .sun-study{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.time-readout output{font-size:31px}.sundial{width:40%;max-height:80px;margin:-15px 0 -4px}.sun-slider{margin:6px 0 8px}.precise-time{margin:8px 0}.time-readout span{font-size:12px}
 .load{inset:0 0 calc(var(--strip-height) + env(safe-area-inset-bottom))}.load strong{font-size:32px}.load p{font-size:14px}
 .tip{max-width:240px;font-size:12px}
}
@media(max-width:359px){.site-header{padding:0 10px}.site-header .brand-name{font-size:24px}.brand-link{gap:6px}.menu-button{font-size:12px;gap:3px;padding:5px}.rail-button{font-size:11px}.tool-scroll{padding-left:16px;padding-right:16px}.tool-panel .panel-header{padding-left:16px}.panel-header h2{font-size:19px}.date-chips{gap:4px}.date-chips button{font-size:12px}.welcome-panel{max-width:calc(100% - 80px);left:12px;padding-left:16px;padding-right:16px}.welcome-panel h2{font-size:23px}.map-recovery{right:10px}.map-recovery .btn{padding:9px;font-size:12px}.map-recovery .icon{width:17px}.intro{width:200px;max-width:calc(100% - 80px)}.intro h1{font-size:32px}.intro select{width:150px}}
@media(max-width:899px) and (max-height:540px){
 :root{--strip-height:56px;--panel-limit:min(40dvh,calc(70dvh - var(--header-height) - var(--strip-height)))}
 .rail-button{height:48px;min-height:48px;gap:2px}.rail-button .icon{width:20px;height:20px}.viewer-tools{padding-top:3px;padding-bottom:3px}
 .map-utilities,body.has-tool .map-utilities,body.has-details .map-utilities,body.has-selection:not(.has-tool):not(.has-details) .map-utilities{flex-direction:row;width:auto;right:14px;bottom:calc(var(--strip-height) + 8px);gap:5px}
 body.has-selection:not(.has-tool):not(.has-details) .map-utilities{bottom:calc(var(--strip-height) + 77px + env(safe-area-inset-bottom))}
 .map-utilities .compass{height:44px}.zoom-controls{display:flex}.zoom-controls button+button{border-top:0;border-left:1px solid var(--line)}.map-utilities .help-button{display:flex}
 body.has-tool .map-utilities,body.has-details .map-utilities{display:none}
 .welcome-panel{width:350px;top:10px;max-width:calc(100% - 180px);padding:18px}.welcome-panel h2{font-size:23px;margin-bottom:9px}.welcome-panel h2 br{display:none}.welcome-panel p{margin-bottom:8px}.welcome-panel .coverage-note{display:none}.welcome-panel>.btn{width:auto;display:inline-flex;gap:12px;margin:0 12px 0 0}.welcome-panel>.text-button{min-height:36px}
 .tool-surface.is-peek .tool-scroll{display:none}.tool-surface.is-peek .panel-header{min-height:44px}.tool-surface.is-peek .selection-peek{min-height:40px}
 .tool-surface.is-expanded{max-height:calc(100% - var(--strip-height) - 80px)}
 .map-recovery{top:10px}
}
@media(prefers-reduced-motion:no-preference){.tool-panel:not([hidden]),.information-sheet:not([hidden]){animation:panel-enter var(--motion-panel)}@keyframes panel-enter{from{opacity:.8;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.expand-tool{display:none;margin-left:auto;padding:8px;font-size:13px}
@media(max-width:899px) and (max-height:540px){.expand-tool{display:block}.tool-panel .panel-header h2{font-size:17px}}
.public-layer-details{margin:4px 0 8px}
.public-layer-details>summary{min-height:44px;padding:11px 0;font-size:14px;color:var(--ink2)}
.public-layer-details .tog{font-size:14px}
/* Keep recovery above utility controls on shorter phones. */
@media(min-width:900px){.rail-button{height:64px}.rail-button .desktop-street{font-size:12px;white-space:nowrap}}
@media(max-width:899px) and (max-height:760px) and (min-height:541px){.map-utilities,body.has-tool .map-utilities,body.has-details .map-utilities{flex-direction:row;justify-content:flex-end;width:auto;gap:5px}.map-utilities .compass{height:44px}.map-utilities .help-button{display:flex}.zoom-controls{display:flex}.zoom-controls button+button{border-top:0;border-left:1px solid var(--line)}}
@media(max-width:899px) and (max-height:650px) and (min-height:541px){.map-utilities,body.has-tool .map-utilities,body.has-details .map-utilities{flex-direction:row;justify-content:flex-end;width:auto;gap:6px}.zoom-controls{display:flex}.zoom-controls button+button{border-top:0;border-left:1px solid var(--line)}}
@media(max-width:359px){.rail-button{font-size:12px}}
.places-list .place-button{display:block;padding:12px 0;min-height:50px}
.places-list .place-button strong{display:block;font-size:16px;font-weight:600}
.places-list .place-button span{display:block;margin-top:4px;font-size:13px;font-weight:400;line-height:1.4;color:var(--ink2)}
.places-list details{margin-top:14px;font-size:14px}
.places-list details>summary{min-height:44px;padding:10px 0;font-weight:600}
.places-list details label{display:block;margin:8px 0}
.selection-illustration{display:block;max-width:100%;height:auto;border-radius:7px;margin:16px 0}
@media(min-width:900px) and (max-width:1100px){.site-header{gap:12px;padding:0 16px}.site-header .brand-name{font-size:24px}.site-header .brand-tagline{display:none}.site-header .brand-link{gap:7px}.site-header .brand-emblem{width:44px;height:44px}.site-nav{gap:10px}.site-nav a{font-size:12.5px}.site-nav a.comment-cta{font-size:12px;padding:8px 9px;min-height:44px}}
@media(min-width:1101px) and (max-width:1240px){.site-header{gap:18px;padding:0 20px}.site-nav{gap:15px}.site-nav a{font-size:13px}.site-header .brand-name{font-size:28px}.site-header .brand-tagline{font-size:7px}.site-nav a.comment-cta{padding:9px 11px;font-size:13px}}

/* Record lists share the Places target size and typography. */
#proposalList .place-button{display:flex;align-items:center;width:100%;min-height:50px;padding:12px 0;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:600 16px/1.3 var(--body)}
@media (hover:hover) and (pointer:fine){#proposalList .place-button:hover{color:var(--flag)}}
#proposalList>.proposal-title{min-height:44px;width:100%;padding:8px 0;border:0;background:none;text-align:left;color:var(--ink)}
@media (hover:hover) and (pointer:fine){.welcome-panel>.btn:hover{background:var(--primary-hover);color:var(--cream)}}
@media(max-width:899px){.map-main:has(.map-recovery .btn:not(#btnHome):not([hidden])) .mode-message{top:124px;max-width:calc(100% - 32px)}}

@media (max-width:899px),(hover:none),(pointer:coarse){
 .tip{display:none!important}
 button.scene-label{pointer-events:none}
}

/* Recording retains the model and the shared scene, with H to reveal controls. */
body.capture-hidden .map-main{padding-bottom:0}
body.capture-hidden .app{grid-template-rows:0 minmax(0,1fr)}
body.capture-hidden .site-header,body.capture-hidden .map-main>:not(canvas):not(.load):not(.google-attribution):not(.transport-credit){visibility:hidden!important;pointer-events:none!important}
body.capture-hidden canvas.gl{cursor:none!important}
.camera-pose{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.6 var(--mono);margin:10px 0 18px}

.google-attribution{position:absolute;z-index:7;left:12px;bottom:12px;display:flex;align-items:center;gap:10px;max-width:calc(100% - 100px);padding:10px 10px 5px;background:#fff;color:#222;font:11px/1.3 Arial,sans-serif;border-radius:3px;pointer-events:none}
.google-attribution[hidden]{display:none}
.transport-credit{position:absolute;z-index:7;right:12px;bottom:6px;padding:3px 6px;border-radius:3px;background:#fff4e3e6;color:var(--ink);font:10px/1.4 Karla,sans-serif}
.transport-credit[hidden]{display:none}
.transport-credit a{color:inherit;text-decoration:underline}
@media(max-width:899px){.transport-credit{left:10px;right:auto;bottom:calc(68px + env(safe-area-inset-bottom,0px))}}
.google-attribution img{width:auto;height:18px;flex-shrink:0}
.google-only .scene-label-layer{visibility:hidden}
#baseGoogle{margin-top:8px}
#illustratedControls{padding:12px 0}
#googlePalette{width:100%;font-size:12px}

body.opening-flight .site-header,body.opening-flight .deadline-banner,body.opening-flight .map-main>:not(canvas):not(.load):not(.google-attribution):not(.transport-credit){opacity:0}
body.opening-flight.opening-flight-fade .site-header,body.opening-flight.opening-flight-fade .deadline-banner,body.opening-flight.opening-flight-fade .map-main>:not(canvas):not(.load):not(.google-attribution):not(.transport-credit){opacity:1;transition:opacity 2s ease}
@media(prefers-reduced-motion:reduce){body.opening-flight .site-header,body.opening-flight .deadline-banner,body.opening-flight .map-main>:not(canvas){opacity:1;transition:none}}

.google-only .intro{background:var(--cream)}
.google-only #legend{display:none}

/* Hero actions and dismiss */
.intro-purpose{margin:8px 0 0;font-size:14px;line-height:1.45;color:#192c34cc}
.intro-actions{display:flex;align-items:center;gap:14px;margin:14px 0 2px;pointer-events:auto}
.intro-close{pointer-events:auto}
.intro-primary{min-height:46px;padding:0 20px;border:0;border-radius:10px;background:var(--orange);color:#fff;font:700 15px/1 var(--body);cursor:pointer}
.intro-secondary{padding:10px 0}
.intro-close{position:absolute;top:8px;right:8px}
body.intro-dismissed .intro{display:none}
/* ---------- Tour / Explore / Builder shell ---------- */
/* Episode library (inside the Tour panel) */
.tour-library-list{display:grid;gap:10px;margin:0 0 18px}
.tour-episode{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1.5px solid #192c3426;border-radius:12px;background:#fff4e3;text-align:left}
.tour-episode h3{margin:0 0 2px;font:400 19px/1.15 var(--scene-serif)}
.tour-episode p{margin:0;font-size:13px;color:#192c34b3}
.tour-episode .tour-episode-play{min-height:44px;padding:0 16px;border:0;border-radius:999px;background:var(--orange);color:#fff;font:700 13px/1 var(--body);cursor:pointer}
.episode-explorer{margin-top:4px;padding-top:14px;border-top:1px solid var(--line)}
.episode-explorer h3{margin:0 0 8px;font:400 20px/1.15 var(--scene-serif)}
.tog-master{font-weight:600;border-bottom:1px solid var(--line);margin-bottom:4px}
#propSites .tog{padding-left:12px;font-size:14px}
.proposal-buildings{margin:10px 0 6px;font-size:14px}
.proposal-buildings>summary{min-height:44px;padding:10px 0;font-weight:600;cursor:pointer}
.tour-panel-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;min-height:46px;padding:10px 16px;border:2px solid var(--ink);border-radius:10px;background:var(--orange);color:var(--ink);font-weight:600;text-decoration:none}
/* Switches read orange when on (the mockup), ink when the panel is a diagnostic. */
.tog input[type=checkbox]:checked{background:var(--orange);border-color:var(--orange)}
.builder-tools .tog input[type=checkbox]:checked{background:var(--ink);border-color:var(--ink)}
/* Rail: three tabs */
.viewer-tools{justify-content:flex-start}
@media(max-width:899px){.rail-button{width:calc(100% / 3)}}
/* Explore */
.explore-search{margin:0 0 6px}
.explore-search input{width:100%;min-height:46px;padding:10px 14px;border:1.5px solid #192c3433;border-radius:10px;background:#fff;font:500 15px/1.2 var(--body);color:var(--ink)}
.explore-search input:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:var(--orange)}
.live-now{margin:0 0 6px;font-size:13px;color:var(--ink2)}
.places-list .place-group{margin:12px 0 2px;font:600 12px/1.3 var(--body);letter-spacing:.1em;text-transform:uppercase;color:var(--ink2)}
.places-list .place-more{display:none}
#panelExplore.show-all .place-more,#panelExplore.is-searching .place-more{display:block}
#panelExplore.is-searching .place-group{display:none}
.places-list .place-button.is-filtered{display:none!important}
.places-list .place-empty{margin:12px 0;font-size:14px;color:var(--ink2)}
.see-everything{margin-top:12px;font-size:14px}
.see-everything>summary{min-height:44px;padding:10px 0;font-weight:600;cursor:pointer}
/* Builder */
.builder-tabs{display:flex;flex:none;margin:0 20px 10px;border-bottom:1px solid var(--line)}
.builder-tabs button{flex:1;min-height:44px;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;font:600 14px/1.2 var(--body);color:var(--ink2);cursor:pointer}
.builder-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--orange)}
/* Reset layers sits at the end of the list (not sticky): a sticky footer covered the Base view control in short panels. */
.builder-actions{display:flex;gap:10px;margin:14px -20px 0;padding:12px 20px 0;border-top:1px solid var(--line)}
.builder-actions .btn{flex:1;min-height:46px}
.builder-tools{margin:10px 0}
.builder-tools>summary{min-height:44px;padding:10px 0;font-weight:600;cursor:pointer}
#builderPrint .street-button{margin:4px 0 14px}
#builderPrint .street-button .mobile-street{display:none}
#builderPrint .street-button .desktop-street{display:inline}
/* Modifier icons (Sun, Water) in the utilities cluster */
.map-utilities>.icon-button.map-modifier{border-radius:50%;width:48px;height:48px;position:relative}
.map-utilities>.icon-button.map-modifier[aria-expanded=true]{background:var(--ink);color:var(--cream);border-color:var(--ink)}
.map-utilities>.icon-button.map-modifier.is-driven::after{content:'';position:absolute;top:4px;right:4px;width:9px;height:9px;border-radius:50%;background:var(--orange);border:2px solid var(--cream)}
.modifier-panel .panel-header{min-height:54px}
.modifier-panel .tool-scroll{padding-bottom:14px}
.modifier-details{margin:12px 0 4px;font-size:14px}
.modifier-details>summary{min-height:44px;padding:10px 0;font-weight:600;cursor:pointer}
/* Deadline banner under the header */
body.has-banner .app{grid-template-rows:var(--header-height) auto minmax(0,1fr)}
.deadline-banner{display:flex;align-items:center;gap:12px;min-height:44px;padding:4px 16px 4px 24px;background:var(--orange);color:var(--ink);border-bottom:1px solid var(--ink);font-size:14px;font-weight:600}
.deadline-banner[hidden]{display:none}
.deadline-text{flex:1 1 auto;min-width:0}
.deadline-cta{display:none;flex:none;min-height:36px;padding:7px 12px;border:2px solid var(--ink);border-radius:9px;background:var(--cream);color:var(--ink);text-decoration:none}
.deadline-close{flex:none;min-width:40px;min-height:40px}
.deadline-short{display:none}
@media(max-width:899px){.deadline-banner{padding:4px 6px 4px 14px;font-size:13px}.deadline-label,.deadline-name{display:none}.deadline-short{display:inline}.deadline-cta{display:inline-flex}.site-nav a.comment-cta{display:none}body.has-banner .site-nav a.comment-cta{display:none}}
@media(max-width:899px){.intro-actions{flex-direction:column;align-items:flex-start;gap:4px;margin-top:10px}.intro-primary{min-height:44px;padding:0 16px;font-size:14px;white-space:nowrap}.intro-secondary{white-space:nowrap;min-height:36px}.intro-purpose{font-size:12px;line-height:1.4}
 /* With a sheet open the icon cluster keeps only the Sun and Water modifiers. */
 body.has-tool .map-utilities>:not(.map-modifier){display:none}}
/* Phones keep the Take a closer look link (the other intro links stay desktop-only). */
@media(max-width:899px){#introPlaces{display:inline-flex;min-height:36px;margin-top:2px;font-size:12px}}
/* Byline at the foot of the intro card: who made this and where corrections go. */
.intro-byline{margin:14px 0 0;max-width:none;font:12px/1.45 var(--body);color:var(--ink2)}
.intro-byline a{pointer-events:auto;color:var(--ink);text-underline-offset:3px}
@media(max-width:899px){.intro-byline{margin-top:10px;font-size:11px}}
/* Tour panel copy: mouse users click and grab, touch users tap and touch. */
.pointer-fine{display:none}
@media (pointer:fine){.pointer-fine{display:inline}.pointer-coarse{display:none}}
/* One button grammar in the utilities cluster: circles and pills. */
.map-utilities>.icon-button,.map-utilities .zoom-controls{border-radius:999px}
/* ---------- Polish, October 6 ---------- */
/* The status text in the corner reads on cream terrain. */
@media(min-width:900px){.model-status{left:14px;bottom:10px;padding:6px 9px;border-radius:7px;background:#fff4e3bf}}
/* Between 900 and 1023 px a popover tool also takes the intro card's place (the Sun and Water cards do not). */
@media(min-width:900px) and (max-width:1023px){body.has-tool:not(:has(.modifier-panel:not([hidden]))) .intro{visibility:hidden}}
/* Site switches read as inert until the towers are on. */
.episode-explorer:has(#lProposal:not(:checked)) #propSites{opacity:.45}
/* Episode cards: the length on its own line. */
.tour-episode p+p{margin-top:3px;font-size:12px;color:#192c3499}
/* Capture mode drops the banner too, so the canvas keeps the whole frame. */
body.capture-hidden .deadline-banner{display:none}
/* Phones: a shorter intro card leaves more of the harbor on the first screen. */
@media(max-width:899px){.intro-purpose{display:none}.intro h1{font-size:34px}.intro-rule{margin:12px 0 10px}}
/* After the window closes the banner turns muted for ten days: cream, ink, no urgency. */
.deadline-banner.is-closed{background:var(--cream);color:var(--ink2);border-bottom-color:var(--line);font-weight:500}
.deadline-banner.is-closed .deadline-cta{border-color:var(--line);background:transparent;color:var(--ink)}

/* Neighborhood stories: a compact paper wash that fades into the map. */
#placesBrowse{display:flex;flex-direction:column;gap:12px}
#neighborhoodLoadNote:empty{display:none}
#neighborhoodDetail{display:flex;flex-direction:column;gap:12px;min-height:0;width:100%;touch-action:pan-y}
#panelExplore .neighborhood-back{margin-left:-10px}
#panelExplore:has(#neighborhoodDetail:not([hidden])) .panel-header{gap:2px;min-height:48px;padding:0 16px 4px 20px}
#panelExplore:has(#neighborhoodDetail:not([hidden])) .panel-header h2{flex:1;font-size:17px}
#panelExplore:has(#neighborhoodDetail:not([hidden])) .expand-tool{display:none}
#panelExplore:has(#neighborhoodDetail:not([hidden])) .tool-scroll{display:flex;flex:1;overflow:visible;padding:0 20px 12px}
.neighborhood-fact{min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;outline-offset:4px;cursor:grab;padding:4px 2px}
.neighborhood-fact:active{cursor:grabbing}
.neighborhood-fact h3{font:400 clamp(28px,2.7vw,36px)/1.12 var(--scene-serif);letter-spacing:-.02em;margin:0 0 12px;overflow-wrap:anywhere;text-wrap:balance}
.neighborhood-fact #factBody{font:400 17px/1.5 var(--body);margin:0;color:var(--ink2)}
.fact-navigation{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px}
.fact-swipe{display:flex;align-items:center;gap:10px;color:var(--ink2)}
.fact-swipe svg{width:32px;height:30px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.fact-navigation output{font:12px var(--mono);font-variant-numeric:tabular-nums}
.fact-navigation .icon-button{border:1px solid var(--line);border-radius:50%}
body.has-neighborhood .intro{visibility:hidden}
body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden])){isolation:isolate;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;bottom:auto;max-height:calc(100% - 112px);padding-top:12px}
body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden]))::before{display:none}
body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden]))::after{content:'';position:absolute;inset:-20px -28px -24px;z-index:-1;pointer-events:none;background:#fff4e3fa;mask-image:linear-gradient(to right,transparent,#000 32px,#000 calc(100% - 32px),transparent),linear-gradient(to bottom,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-composite:intersect}
@media(min-width:1024px){
 body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden])){top:calc(var(--sidebar-tabs) + 20px)}
 body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden])) .tool-panel{flex:0 1 auto}
}
@media(max-width:899px){
 body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden])){top:auto;bottom:calc(var(--strip-height) + env(safe-area-inset-bottom) + 8px);max-height:min(38dvh,calc(100dvh - 180px));padding-top:4px}
 .neighborhood-fact h3{font-size:27px;margin-bottom:10px}
 .neighborhood-fact #factBody{font-size:16px;line-height:1.45}
 #neighborhoodDetail{gap:10px}
}
@media(min-width:600px) and (max-width:899px) and (max-height:540px){
 body.has-neighborhood .tool-surface:has(#panelExplore:not([hidden])){top:12px;bottom:auto;right:auto;width:46vw;max-height:calc(100% - var(--strip-height) - 28px)}
}

/* Loading: a build tag top left and rising ticks for progress, the last lit one
   orange; on phones a hint line and an orange title band along the bottom with
   our own mark in the corner, the way a 2001 console menu framed its screens. */
.load-tag{position:absolute;top:14px;left:16px;margin:0;font-size:11px;letter-spacing:.1em;color:#192c34b3}
.load-ticks{display:flex;gap:4px;align-items:flex-end;height:22px;margin:6px 0 15px}
.load-ticks i{display:block;width:10px;height:calc(8px + var(--n,0) * .8px);background:#192c342e;transition:background .2s}
.load-ticks i.is-on{background:var(--ink)}
.load-ticks i.is-on.is-last{background:var(--orange)}
.load-hint{position:absolute;left:16px;right:16px;bottom:108px;white-space:nowrap;margin:0;justify-content:center;text-align:center;font-size:12px;letter-spacing:.06em;color:#192c34cc}
.load-band{position:absolute;left:0;right:0;bottom:0;height:92px;padding:0 20px;background:var(--orange);align-items:center;justify-content:flex-end}
.load-band img{position:absolute;left:16px;bottom:18px;width:48px;height:48px;border-radius:11px;box-shadow:3px 3px 0 var(--ink)}
.load-band span{font:800 38px/1 var(--display);letter-spacing:-.03em;color:var(--ink);text-shadow:2px 2px 0 var(--cream)}
.tour-rail{display:none}

/* Sourced figures under a story title and in the building card. */
.neighborhood-numbers{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 16px;margin:0 0 12px;font:400 13px/1.5 var(--mono);font-variant-numeric:tabular-nums;color:var(--ink2)}
.neighborhood-numbers[hidden]{display:none}
.neighborhood-numbers-list{display:contents;margin:0}
.neighborhood-numbers-list>div{display:contents}
.neighborhood-numbers-list dd{margin:0;white-space:nowrap}
.neighborhood-numbers-toggle{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;min-height:24px;margin:-3px 0 0;padding:0;border:1px solid var(--line);border-radius:50%;background:none;color:inherit;font:600 13px/1 var(--mono);cursor:pointer}
.neighborhood-numbers-toggle.is-open{background:var(--ink);border-color:var(--ink);color:var(--cream)}
.neighborhood-numbers-note{flex-basis:100%;margin:2px 0 0;font:400 12px/1.5 var(--body);color:var(--ink2)}
.neighborhood-numbers-note[hidden]{display:none}
.neighborhood-numbers-note a{color:inherit}
/* Property card sections */
.building-card h3{display:flex;align-items:center;gap:8px;margin:22px 0 4px}
.building-card h3:first-child{margin-top:0}
.building-card .kv{margin:10px 0 14px}
.building-card .card-address{margin:0 0 4px;font:800 19px/1.2 var(--display);letter-spacing:-.02em;overflow-wrap:anywhere}
.building-card .card-section{border-top:1px solid var(--line);padding-top:6px}
.building-card .card-section summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;cursor:pointer;list-style:none;font:800 17px/1.2 var(--display);letter-spacing:-.02em}
.building-card .card-section summary::-webkit-details-marker{display:none}
.building-card .card-section summary::after{content:'';width:9px;height:9px;flex:none;border:solid currentColor;border-width:0 1.5px 1.5px 0;opacity:.7;transform:rotate(45deg);transition:transform .15s}
.building-card .card-section[open]>summary::after{transform:rotate(225deg)}
.building-card .card-section summary h3{margin:0;font:inherit}
.building-card .card-place{margin:6px 0 0}
.building-card .card-place .neighborhood-numbers{margin-top:8px}
.building-card .card-transit{display:grid;gap:8px;margin:8px 0 12px}
.building-card .card-transit span{display:block;font:400 13px/1.45 var(--body);color:var(--ink2)}
.building-card .card-transit strong{display:block;font:800 20px/1.15 var(--display);letter-spacing:-.02em;color:inherit}
.building-card .copy-status{font-size:13px;color:var(--ink2);margin:6px 0 0;min-height:1.2em}
