@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--paper:#f7f6f2;--white:#fffefa;--ink:#342f3b;--muted:#7d7882;--line:#e4e1e5;--purple:#574565;--deep:#42344e;--lavender:#ece4f2;--accent:#c6aedb;--green:#50735c;--orange:#d48d65;--rail:86px;--sidebar:338px;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #936fba;outline-offset:4px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg use{pointer-events:none}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app{display:grid;width:100%;height:100dvh;min-height:480px;grid-template-columns:var(--rail) var(--sidebar) minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden}.live-dot{width:6px;height:6px;background:#76977b;border-radius:50%;display:inline-block;flex-shrink:0}.icon-button{display:grid;place-items:center;width:44px;height:44px;background:var(--white);border-radius:12px;color:var(--ink);flex-shrink:0}.icon-button:hover{background:#ece6f1}
.nav-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;gap:15px;padding:26px 8px 20px;background:var(--paper);border-right:1px solid var(--line);z-index:12}.nav-item{background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:70px;min-height:66px;font-size:9px;color:var(--muted);border-radius:14px;transition:background .2s}.nav-item svg{width:22px;height:22px}.nav-item.active{background:var(--lavender);color:var(--purple);font-weight:700}.nav-item:hover{background:#eeebef}.nav-spacer{flex:1}.nav-help{font-size:8px;white-space:nowrap}.rail-label{font-size:7px;line-height:1.8;text-align:center;letter-spacing:1.8px;color:#aaa3ad;margin-top:12px}.sidebar{grid-column:2;grid-row:1;overflow:auto;background:var(--white);z-index:11;display:flex;flex-direction:column;border-right:1px solid #d6cfd5;scrollbar-width:thin;scrollbar-color:#ddd6e1 transparent}.sidebar-intro{padding:30px 26px 23px}.eyebrow{font-size:8.5px;letter-spacing:1.65px;font-weight:700;color:var(--purple);text-transform:uppercase;display:block}.sidebar h1{font-family:Manrope,sans-serif;font-weight:650;font-size:30px;letter-spacing:-1.1px;line-height:1.24;margin:12px 0 12px}.sidebar-intro>p{font-size:12px;color:var(--muted);line-height:1.7;margin:0;max-width:255px}.sidebar-line{height:1px;background:var(--line);margin:0 26px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:22px 26px 15px}.section-header h2{font-size:12px;font-weight:650;margin:0}.count{color:#99919f;background:#f0edf1;display:inline-grid;place-items:center;min-width:21px;height:21px;font-size:10px;border-radius:7px;margin-left:5px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:11px;color:var(--purple);background:none;padding:0;min-height:30px;text-decoration:none}.text-button svg{width:16px;height:16px}.project-feature{border:1px solid #d8ccdf;border-radius:16px;margin:0 24px 12px;overflow:hidden;background:#fcfafd;text-align:left;padding:0;display:block;width:calc(100% - 48px)}.project-feature:hover{border-color:#9c7eb2;box-shadow:0 6px 20px #5341630b}.project-photo{height:117px;position:relative;background:#a99b98;overflow:hidden}.project-photo img{width:100%;height:100%;object-fit:cover;object-position:55% 55%;transform:scale(1.45)}.photo-shade{position:absolute;inset:0;background:linear-gradient(transparent,#362b3440)}.photo-badge{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:6px;border-radius:6px;background:#f9f7efeF;padding:5px 7px;font-size:8px;font-weight:600}.photo-badge .live-dot{width:4px;height:4px}.photo-coordinate{position:absolute;right:10px;bottom:9px;color:#fff;font-size:7px;letter-spacing:1px}.project-copy{padding:14px 14px 13px}.project-copy h3{font-size:13px;margin:0 0 5px;letter-spacing:-.2px}.project-copy p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.project-meta{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:9px;color:var(--muted)}.project-meta>span{display:flex;align-items:center;gap:5px}.project-meta svg{width:12px;height:12px}.project-meta>b{display:flex;align-items:center;gap:5px;color:var(--purple);font-weight:600}.project-meta>b svg{width:15px;height:15px}.project-row{margin:0 24px;display:flex;align-items:center;gap:11px;width:calc(100% - 48px);padding:15px 0;background:none;text-align:left;border-bottom:1px solid var(--line)}.project-row .project-row-icon{width:37px;height:37px;border-radius:11px;background:#edf0e7;color:#6b7e61;display:grid;place-items:center;flex-shrink:0}.project-row:nth-of-type(3) .project-row-icon{background:#f3e7df;color:#a17557}.project-row h3{font-size:11px;margin:0 0 5px;font-weight:600}.project-row p{font-size:9px;color:var(--muted);margin:0}.project-row>svg{margin-left:auto;width:16px;color:#9d91a5}.community-note{margin:auto 24px 20px;padding-top:25px}.neighbor-avatars{display:flex;margin-bottom:12px;padding-left:0}.neighbor-avatars span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--white);margin-left:-5px;font-size:8px;color:#6f5c5a;background:#e7d6c8;font-weight:650}.neighbor-avatars span:first-child{margin-left:0;background:#d5dfd0}.neighbor-avatars span:nth-child(2){background:#e6d6e2}.neighbor-avatars span:nth-child(3){background:#e8e1be}.neighbor-avatars b{align-self:center;margin-left:7px;font-size:9px;color:var(--muted);font-weight:500}.community-note p{font-size:10px;line-height:1.7;margin:0;color:var(--muted)}.community-note p strong{font-weight:600;color:var(--ink)}.sidebar-bottom{padding:15px 24px;border-top:1px solid var(--line);font-size:8px;color:#9b939f;display:flex;gap:6px;align-items:center}.sidebar-bottom svg{width:12px;height:12px}.primary-button{min-height:44px;border-radius:11px;background:var(--purple);color:white;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;font-size:12px;font-weight:550;transition:background .2s;letter-spacing:.1px}.primary-button:hover{background:#42334f}.primary-button svg{width:17px;height:17px}.secondary-button{min-height:44px;border-radius:11px;background:transparent;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;font-size:11px;font-weight:550}.secondary-button:hover{background:#f1ecf4}.secondary-button svg{width:17px;height:17px}.full-width{width:100%}
.map-area{grid-column:3;grid-row:1;position:relative;overflow:hidden;isolation:isolate;background:#9a8880}.map-canvas{position:absolute;inset:0;overflow:hidden;touch-action:none;cursor:grab}.map-canvas:active{cursor:grabbing}.city-stage{position:absolute;left:50%;top:50%;width:var(--scene-width,1704px);height:var(--scene-height,786px);transform:translate(-50%,-50%) translate(var(--pan-x,0px),var(--pan-y,0px)) scale(var(--zoom,1));transform-origin:50% 50%;will-change:transform}.city-art{position:absolute;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none}.map-area::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 25px 70px #3227320a}.planning-plot{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.planning-plot path{stroke:#f8f5f2;stroke-width:2.5;stroke-dasharray:8 9;fill:#b59dc22a;vector-effect:non-scaling-stroke;stroke-linejoin:round}.map-pin{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);border:0;background:none;display:flex;flex-direction:column;align-items:center;padding:0;z-index:3;cursor:pointer}.map-pin>span{display:grid;place-items:center;width:43px;height:43px;background:var(--purple);color:#fff;border:3px solid #eee4f4;border-radius:15px 15px 15px 3px;transform:rotate(-45deg);box-shadow:-4px 5px 16px #33263944}.map-pin>span>svg{transform:rotate(45deg);width:20px;height:20px;stroke-width:2}.map-pin b{margin-top:18px;padding:8px 11px;background:#fcfaf6f5;color:var(--deep);font-size:9px;font-weight:600;border-radius:7px;white-space:nowrap;box-shadow:0 3px 10px #261c311a}.small-pin>span{width:35px;height:35px;border-width:2px;border-radius:12px 12px 12px 3px;background:#6c7e58}.small-pin>span>svg{width:16px;height:16px}.orange-pin>span{background:#b57b58}.map-topbar{position:absolute;z-index:5;left:25px;right:25px;top:24px;display:flex;align-items:start;justify-content:space-between;gap:12px;pointer-events:none}.map-topbar>*{pointer-events:auto}.search{background:#fffdf8f5;box-shadow:0 4px 18px #372f3310;display:flex;align-items:center;gap:10px;border:1px solid #fff8;border-radius:11px;padding:0 13px;height:43px;width:255px;color:#78717a}.search svg{width:16px;height:16px}.search input{width:100%;min-width:0;border:0;outline:0;background:none;font-size:10px;color:var(--ink)}.search input::placeholder{color:#8b848b}.search kbd{font:11px 'DM Sans',sans-serif;border:1px solid #d9d4d9;border-radius:4px;padding:1px 5px;color:#a39aa7}.view-switch{display:flex;padding:4px;background:#fffdf8f5;border:1px solid #fff8;border-radius:11px;box-shadow:0 4px 18px #372f3310;flex-shrink:0}.view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#6d6571;min-height:33px;padding:6px 11px;border-radius:7px;background:none}.view-switch button svg{width:14px;height:14px}.view-switch button.active{background:var(--purple);color:white}.map-caption{position:absolute;z-index:2;top:88px;left:28px;display:flex;align-items:center;gap:6px;color:#fffaf5;font-size:7px;letter-spacing:1.6px;text-shadow:0 1px 4px #342b32}.map-caption .live-dot{background:#e4d3b9;width:4px;height:4px}.site-callout{position:absolute;z-index:2;left:28px;bottom:44px;padding:20px 23px 17px;border:1px solid #fff8;border-radius:14px;background:#f9f7f0f2;box-shadow:0 10px 40px #35293116;backdrop-filter:blur(12px);max-width:340px}.site-callout .eyebrow{font-size:7px;letter-spacing:1.4px;color:#8c7a92}.site-callout h2{font:600 21px Manrope,sans-serif;letter-spacing:-.8px;margin:10px 0 7px}.site-callout p{font-size:10px;color:#8b8087;margin:0 0 8px}.site-callout .text-button{font-size:10px;justify-content:space-between;width:100%;margin-top:3px}.map-controls{position:absolute;bottom:63px;right:25px;z-index:5;display:flex;flex-direction:column;gap:12px;align-items:center}.map-controls .icon-button{width:37px;height:37px;border-radius:9px;background:#fffdf6f2;box-shadow:0 3px 12px #32232b14}.map-controls svg{width:17px;height:17px}.zoom-controls{display:flex;flex-direction:column;border-radius:9px;overflow:hidden;background:#fffdf6f2;box-shadow:0 3px 12px #32232b14}.zoom-controls .icon-button{border-radius:0;box-shadow:none}.zoom-controls .icon-button+button{border-top:1px solid #e3dce0}.compass{display:flex;flex-direction:column;align-items:center;color:white;text-shadow:0 1px 5px #23182599;font-size:7px;gap:1px}.compass span{font-size:22px;line-height:1}.map-footer{position:absolute;z-index:2;bottom:15px;left:28px;right:25px;display:flex;align-items:center;color:#fff8ef;font-size:6.5px;letter-spacing:1.5px;text-shadow:0 1px 4px #322832}.scale-bar{margin-left:20px;width:60px;border-bottom:1px solid #fff8ef;position:relative;text-align:center;font-size:7px;letter-spacing:0;padding-bottom:4px}.scale-bar::before,.scale-bar::after{content:'';position:absolute;bottom:0;left:0;height:4px;width:1px;background:#fff8ef}.scale-bar::after{left:auto;right:0}.demo-label{margin-left:auto;font-size:6px;opacity:.7}
.street-scene{position:absolute;inset:0;z-index:3;overflow:hidden;touch-action:none;cursor:grab;background:#b9c5c5}.street-scene>img{width:130%;height:110%;max-width:none;object-fit:cover;position:absolute;left:-15%;top:-5%;transform:translateX(var(--look,0px)) scale(var(--street-zoom,1));pointer-events:none;user-select:none;transition:transform .35s ease}.street-label{position:absolute;bottom:118px;left:28px;background:#fbf8f0f0;backdrop-filter:blur(12px);padding:22px;border-radius:14px;max-width:330px}.street-label h2{font:600 22px Manrope,sans-serif;letter-spacing:-.6px;margin:10px 0}.street-label p{font-size:11px;margin:0 0 8px}.street-hint{font-size:9px;color:var(--muted)}.street-navigation{position:absolute;bottom:51px;left:28px;display:flex;gap:10px;align-items:center}.street-navigation .icon-button{width:42px;height:42px}.street-mode .map-controls,.street-mode .map-caption,.street-mode .site-callout,.street-mode .map-footer{display:none}.street-mode .map-topbar{z-index:6}
.detail-body{padding:24px}.back-link{display:flex;align-items:center;gap:6px;background:none;font-size:10px;color:var(--muted);padding:0;margin-bottom:24px;min-height:30px}.back-link svg{width:14px;height:14px}.detail-photo{height:145px;border-radius:13px;background:url('assets/city.png') 58% 58%/220%;margin-bottom:23px;position:relative}.detail-body h1{font-size:27px;line-height:1.25;margin:11px 0}.status-pill{display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:600;padding:5px 8px;border-radius:5px;background:#eaf0e4;color:#657d59}.detail-location{font-size:10px;color:var(--muted);display:flex;gap:5px;align-items:center;margin-bottom:17px}.detail-location svg{width:13px;height:13px}.body-copy{font-size:11px;line-height:1.8;color:var(--muted)}.project-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0}.project-facts dt{font-size:8px;color:var(--muted);margin-bottom:5px}.project-facts dd{font-size:10px;font-weight:550;margin:0}.detail-body .primary-button{margin-top:10px}.detail-body .secondary-button{margin-top:9px}.detail-body h3{font-size:12px;margin:24px 0 8px}.sidebar .empty-state{font-size:12px;line-height:1.8;padding:26px;color:var(--muted)}
.community-header{padding-bottom:18px}.filter-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px}.filter-chip{font-size:9px;padding:8px 11px;background:#f1edf2;color:var(--muted);border-radius:20px;min-height:32px}.filter-chip.active{background:var(--purple);color:white}.proposal-card{margin:0 24px 15px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fffefa}.proposal-image{height:115px;background:#e9ebe0;display:grid;place-items:center;position:relative;padding:12px;cursor:pointer;width:100%}.proposal-image img{max-width:95%;height:95%;object-fit:contain;filter:drop-shadow(0 6px 6px #39312c1c)}.proposal-image .status-pill{position:absolute;top:9px;left:10px;background:#fffdf4}.proposal-card-copy{padding:13px}.proposal-card-copy h3{font-size:12px;margin:0 0 5px}.proposal-card-copy>p{font-size:9px;color:var(--muted);margin:0 0 12px}.proposal-card-copy .proposal-description{line-height:1.7;font-size:10px}.proposal-title{padding:0;background:none;text-align:left}.proposal-votes{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted)}.proposal-votes button,.vote-button{display:flex;align-items:center;justify-content:center;gap:6px;background:#f2eff4;border:1px solid transparent;border-radius:7px;min-height:34px;padding:7px 9px;font-size:10px}.proposal-votes button svg{width:14px;height:14px}.proposal-votes button.chosen,.vote-button.chosen{background:#e6dced;border-color:#bca7ce;color:var(--purple)}.proposal-votes .comment-count{margin-left:auto;background:none;min-height:34px;padding-right:0}.proposal-votes .comment-count svg{width:14px;height:14px}.activity-item{padding:17px 24px;border-top:1px solid var(--line)}.activity-item h3{font-size:12px;margin:8px 0}.activity-item p{font-size:10px;line-height:1.7;color:var(--muted)}.activity-item .text-button{font-size:10px}.activity-item img{max-height:90px;display:block;margin:10px auto}.activity-label{font-size:8px;letter-spacing:1px;color:#94839b}.sidebar-backdrop{display:none}
.builder{position:absolute;inset:0;z-index:7;pointer-events:none}.builder>*{pointer-events:auto}.builder-toolbar{position:absolute;left:22px;right:22px;top:20px;background:#fffdf7f5;border:1px solid #fff9;padding:12px 16px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 5px 24px #2b20311a;backdrop-filter:blur(12px)}.builder-title{display:flex;align-items:center;gap:10px;min-width:0}.builder-title .icon-button{background:#f0ebf4;width:34px;height:34px;flex-shrink:0}.builder-title h2{font-size:12px;margin:0 0 4px;white-space:nowrap}.builder-title p{font-size:9px;color:var(--muted);margin:0}.builder-top-actions{display:flex;align-items:center;gap:8px}.builder-top-actions .primary-button{font-size:10px;min-height:36px;padding:9px 13px}.save-button{display:flex;align-items:center;gap:6px;font-size:9px;min-height:36px;padding:7px 10px;border-radius:8px;background:#f0ecf2}.save-button svg{width:14px;height:14px}.builder-instruction{position:absolute;top:105px;left:50%;transform:translateX(-50%);font-size:10px;background:#42344eeF;color:#fff;padding:10px 16px;border-radius:22px;white-space:nowrap;box-shadow:0 4px 20px #3024301a;max-width:calc(100% - 36px);text-align:center;line-height:1.6}.builder-instruction .step-dot{display:inline-grid;place-items:center;width:17px;height:17px;border:1px solid #fff6;font-size:9px;border-radius:50%;margin-right:7px}.structure-library{position:absolute;bottom:22px;left:22px;right:22px;border:1px solid #fff8;border-radius:16px;background:#faf8f3f5;box-shadow:0 10px 30px #32273422;overflow:hidden;backdrop-filter:blur(14px)}.library-heading{padding:16px 18px 10px;display:flex;align-items:center;gap:12px}.library-heading h3{font-size:11px;margin:0}.library-heading>span{font-size:8px;color:var(--muted);margin-left:auto}.library-categories{display:flex;gap:5px}.library-categories button{font-size:8px;background:none;min-height:26px;padding:5px 8px;border-radius:6px;color:var(--muted)}.library-categories button.active{background:#e9dff0;color:var(--purple)}.prefab-list{display:flex;gap:8px;overflow-x:auto;padding:0 16px 15px;scrollbar-width:thin;scrollbar-color:#d9cfe1 transparent}.prefab{width:83px;min-width:83px;height:92px;padding:6px 6px 8px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;border:1px solid #e3dce5;border-radius:10px;background:#fffdfa;touch-action:none;user-select:none;position:relative}.prefab:hover{background:#f5eef9;border-color:#b59ac9}.prefab.selected{border:2px solid #8f6fa8;background:#efe6f4;padding:5px 5px 7px}.prefab img{object-fit:contain;width:65px;height:54px;pointer-events:none;image-rendering:auto}.prefab span{font-size:9px;white-space:nowrap}.prefab small{font-size:6.5px;color:var(--muted)}.build-mode .map-topbar,.build-mode .map-caption,.build-mode .site-callout,.build-mode .map-controls,.build-mode .map-footer,.build-mode .map-pin{display:none}.build-mode .planning-plot path{stroke-width:2.5;fill:#c6aede2a}.build-mode .planning-plot.drop-ready path{stroke:#d9c1f4;fill:#d2aeea55;stroke-width:4}.build-mode .map-canvas{cursor:crosshair}.builder-sidebar{padding:27px 25px;display:flex;flex-direction:column;min-height:100%}.builder-sidebar h1{font-size:28px;margin:13px 0}.step-list{display:flex;flex-direction:column;gap:20px;margin:27px 0}.step-list>div{display:flex;gap:12px;align-items:start}.step-number{background:#f1ebf5;border:1px solid #e3d9eb;color:#a497ad;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:10px;flex-shrink:0}.step-list>div.current .step-number{background:var(--purple);border-color:var(--purple);color:white}.step-list>div.done .step-number{background:#dfe8dc;color:#527149;border-color:#dfe8dc}.step-list h3{font-size:11px;margin:2px 0 4px}.step-list p{font-size:9px;color:var(--muted);margin:0;line-height:1.6}.design-summary{margin-top:8px;border-top:1px solid var(--line);padding-top:20px}.design-summary h3{font-size:11px;margin:0 0 14px}.summary-empty{font-size:10px;line-height:1.8;color:var(--muted);padding:18px 12px;border:1px dashed #d6cbdc;border-radius:10px;background:#faf7fc}.summary-item{display:flex;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:10px}.summary-item img{width:35px;height:30px;object-fit:contain}.summary-item .icon-button{width:30px;height:30px;background:none;margin-left:auto}.summary-item svg{width:14px;height:14px}.builder-help{margin-top:auto;padding-top:30px;font-size:9px;color:var(--muted);line-height:1.8}.builder-help svg{width:15px;height:15px;display:block;color:var(--purple);margin-bottom:7px}.placed-items{position:absolute;inset:0;pointer-events:none}.placed-item{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-83%);width:var(--size,110px);padding:0;background:none;pointer-events:auto;touch-action:none;cursor:move;z-index:4}.placed-item img{display:block;width:100%;pointer-events:none;filter:drop-shadow(3px 8px 5px #38263338)}.placed-item.selected::after{content:'';position:absolute;inset:5%;border:1px dashed #e9d5fa;border-radius:15px;pointer-events:none}.placed-item .placed-remove{position:absolute;top:0;right:-8px;background:#fffdf8;box-shadow:0 2px 8px #0002;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:#815d6b;pointer-events:auto}.placed-remove svg{width:12px;height:12px}.drag-ghost{position:fixed;z-index:90;pointer-events:none;transform:translate(-50%,-83%);filter:drop-shadow(0 8px 8px #21152344);opacity:.9}
.modal{border:1px solid #fff8;padding:0;border-radius:23px;background:var(--white);color:var(--ink);width:min(490px,calc(100% - 32px));max-height:calc(100dvh - 32px);box-shadow:0 25px 90px #22182f38;overflow:auto;scrollbar-width:thin}.modal::backdrop{background:#30283966;backdrop-filter:blur(5px)}.modal-content{padding:33px}.modal-close{position:absolute;top:14px;right:14px;background:#f0ecf2;width:30px;height:30px;border-radius:50%;z-index:1}.modal-close svg{width:16px;height:16px}.modal h2{font:650 27px/1.2 Manrope,sans-serif;letter-spacing:-.9px;margin:13px 0}.modal p{font-size:12px;color:var(--muted);line-height:1.8}.modal .eyebrow{margin-top:5px}.form-field{display:flex;flex-direction:column;margin-top:20px;gap:7px;font-size:11px;font-weight:550}.form-field input,.form-field textarea{padding:12px 13px;border:1px solid #d8d0de;border-radius:9px;background:#fffefa;color:var(--ink);width:100%;font-weight:400;font-size:12px}.form-field textarea{min-height:95px;resize:vertical;line-height:1.6}.field-help{font-size:9px;color:var(--muted);font-weight:400}.review-structures{margin:16px 0;background:#f3f0f2;padding:12px;border-radius:10px;display:flex;align-items:center;gap:9px}.review-structures img{width:55px;height:48px;object-fit:contain}.review-structures span{font-size:10px;line-height:1.6}.review-structures b{display:block;font-size:11px}.modal-actions{display:flex;gap:9px;margin-top:24px}.modal-actions>*{flex:1}.success-content{text-align:center;padding:38px 33px 30px}.success-icon{width:60px;height:60px;border:7px solid #f0e8f6;background:#dfd0eb;color:var(--purple);border-radius:50%;margin:0 auto 20px;display:grid;place-items:center}.success-icon svg{width:27px;height:27px}.success-content h2{font-size:29px}.success-ref{font-size:9px;letter-spacing:1px;color:var(--muted);margin:17px 0 20px}.next-step{text-align:left;border-top:1px solid var(--line);padding:19px 0 5px}.next-step strong{font-size:11px}.next-step p{font-size:11px;margin:5px 0}.success-content .primary-button{margin-top:20px}.success-content .text-button{margin-top:12px}.feedback-hero{height:145px;background:#e6e8dc;display:grid;place-items:center;position:relative;overflow:hidden}.feedback-hero img{max-width:70%;height:90%;object-fit:contain;padding:8px}.feedback-hero .status-pill{position:absolute;left:20px;top:16px}.proposal-author{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin:15px 0}.mini-avatar{width:25px;height:25px;display:grid;place-items:center;background:#e5d9df;color:#7f6574;border-radius:50%;font-size:8px;font-weight:650}.feedback-votes{display:flex;align-items:center;gap:9px;margin:20px 0 12px}.vote-button{padding:9px 13px;min-height:41px}.vote-button svg{width:17px;height:17px}.support-bar{height:5px;background:#e9dce0;overflow:hidden;border-radius:8px;display:flex;margin:12px 0 7px}.support-bar i{background:#8d9e7b}.support-caption{font-size:9px;color:var(--muted);display:flex;justify-content:space-between}.discussion{border-top:1px solid var(--line);margin-top:23px;padding-top:18px}.discussion h3{font-size:12px;margin:0 0 18px}.comment{display:flex;gap:9px;margin-bottom:18px}.comment .mini-avatar{flex-shrink:0}.comment-content{flex:1}.comment h4{font-size:10px;margin:0 0 4px}.comment h4 span{font-size:8px;color:#aaa2ae;font-weight:400;margin-left:8px}.comment p{font-size:11px;margin:0;line-height:1.6;color:#79717e}.comment-form{display:flex;gap:8px;border:1px solid #d9d0e1;border-radius:10px;padding:5px 6px 5px 12px;margin-top:20px;background:#fffefa}.comment-form input{border:0;outline:0;min-width:0;background:none;flex:1;font-size:11px}.comment-form .icon-button{background:var(--purple);color:white;width:35px;height:35px;border-radius:7px}.comment-form svg{width:15px;height:15px}.help-steps{padding-left:20px;font-size:12px;line-height:1.9;color:var(--muted)}.help-steps li{margin-bottom:13px}.help-steps b{color:var(--ink);display:block}.prototype-note{font-size:9px!important;border-top:1px solid var(--line);padding-top:16px;color:#938897!important}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,15px);background:var(--deep);color:white;padding:13px 20px;border-radius:12px;box-shadow:0 7px 25px #33223a30;font-size:12px;opacity:0;pointer-events:none;z-index:100;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);text-align:center;line-height:1.5}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-sheet-handle{display:none}
@media(min-width:1600px){:root{--sidebar:365px;}.sidebar-intro{padding:35px 29px 28px}.sidebar h1{font-size:34px}.sidebar-intro>p{font-size:13px}.project-photo{height:150px}.project-copy{padding:18px}.project-copy h3{font-size:14px}.project-copy p{font-size:11px}.project-row{padding:20px 0}.map-topbar{top:30px;left:32px;right:32px}.search{height:47px;width:290px}.search input{font-size:11px}.view-switch button{font-size:10px;min-height:37px}.map-caption{top:100px;left:34px}.site-callout{padding:26px 28px;left:33px;bottom:55px;max-width:370px}.site-callout h2{font-size:24px}.site-callout p{font-size:11px}.map-pin>span{width:49px;height:49px}.map-pin b{font-size:10px}}
@media(max-width:1190px){:root{--rail:75px;--sidebar:295px;}.sidebar-intro{padding:25px 22px 22px}.sidebar h1{font-size:27px}.sidebar-intro>p{font-size:11px}.project-feature,.proposal-card{margin-left:20px;margin-right:20px;width:calc(100% - 40px)}.project-photo{height:100px}.project-row{margin-left:20px;margin-right:20px;width:calc(100% - 40px)}.section-header{padding-left:22px;padding-right:22px}.project-copy h3{font-size:12px}.community-note{margin-left:22px;margin-right:22px}.nav-item{width:59px;font-size:8px}.map-topbar{left:18px;right:18px;top:19px;gap:8px}.search{width:220px;padding:0 10px}.view-switch button{padding:7px 8px;font-size:8px;gap:5px}.site-callout{left:20px;bottom:42px;padding:18px;max-width:285px}.site-callout h2{font-size:19px}.map-caption{left:21px}.builder-toolbar{left:15px;right:15px;gap:7px;padding:10px}.builder-title{gap:7px}.builder-title h2{font-size:10px}.builder-title p{font-size:8px}.builder-top-actions{gap:5px}.builder-top-actions .primary-button{font-size:9px;padding:8px 10px}.save-button{font-size:8px;padding:7px}.builder-title .icon-button{width:30px;height:30px}.structure-library{left:15px;right:15px;bottom:16px}.library-heading{gap:7px;padding-left:13px;padding-right:13px}.library-heading>span{display:none}.library-categories{margin-left:auto}.builder-sidebar{padding:23px 22px}.builder-sidebar h1{font-size:26px}}
@media(max-width:900px) and (min-width:701px){:root{--sidebar:260px;--rail:66px;}.sidebar h1{font-size:25px}.sidebar-intro{padding:22px 19px 20px}.project-feature,.proposal-card{margin-left:16px;margin-right:16px;width:calc(100% - 32px)}.project-copy{padding:12px}.project-copy h3{font-size:11px}.project-copy p{font-size:9px}.section-header{padding:18px 19px 13px}.section-header h2{font-size:11px}.section-header>.text-button{font-size:9px}.project-row{margin:0 17px;width:calc(100% - 34px);gap:8px}.project-row h3{font-size:10px}.project-row p{font-size:8px}.project-row .project-row-icon{width:31px;height:31px}.community-note{margin:15px 19px 20px;padding:0}.neighbor-avatars b{font-size:8px}.sidebar-bottom{padding:12px 19px;font-size:7px}.nav-rail{padding-left:3px;padding-right:3px}.nav-item{width:56px}.rail-label{font-size:6px}.map-topbar{flex-direction:column;gap:8px}.search{width:100%}.view-switch{align-self:flex-end}.map-caption{display:none}.site-callout{max-width:250px}.site-callout h2{font-size:17px}.site-callout p{font-size:9px}.demo-label{display:none}.builder-toolbar{align-items:start}.builder-title h2{font-size:9px}.builder-top-actions .save-button{width:32px;justify-content:center}.builder-top-actions .save-button span{display:none}.builder-top-actions .primary-button span{display:none}.builder-top-actions .primary-button{width:34px;padding:8px}.builder-instruction{font-size:9px;top:99px}.library-heading{flex-wrap:wrap}.library-heading h3{font-size:10px}.library-categories button{font-size:7px;padding:4px 6px}.prefab{width:74px;min-width:74px;height:85px}.prefab img{width:57px;height:48px}}
@media(max-width:700px) and (orientation:portrait){:root{--rail:0px;--sidebar:0px}.app{display:block;min-height:0;padding-top:0px}.brand-tagline,.header-divider,.nav-rail{position:absolute;bottom:0;left:0;right:0;height:calc(65px + env(safe-area-inset-bottom));padding:5px 20px env(safe-area-inset-bottom);flex-direction:row;justify-content:space-around;gap:4px;border-top:1px solid var(--line);border-right:0;background:#fffdf9;z-index:20}.nav-item{min-height:51px;width:80px;gap:5px;font-size:9px;border-radius:11px}.nav-item svg{width:20px;height:20px}.nav-spacer,.nav-help,.rail-label{display:none}.map-area{position:absolute;left:0;right:0;top:0px;bottom:calc(65px + env(safe-area-inset-bottom))}.sidebar{position:absolute;left:0;right:0;bottom:calc(65px + env(safe-area-inset-bottom));height:auto;max-height:44dvh;border-radius:22px 22px 0 0;z-index:10;box-shadow:0 -8px 30px #38293c10;border-right:0;overflow:auto;display:block}.sidebar-intro{padding:8px 22px 14px}.sidebar h1{font-size:25px;line-height:1.2;margin:7px 0 8px}.sidebar-intro>p{font-size:11px;line-height:1.6;max-width:100%}.sidebar-intro>p br{display:none}.mobile-sheet-handle{display:flex;justify-content:center;padding:9px 0 3px;position:sticky;top:0;background:var(--white);z-index:2;border-radius:20px 20px 0 0;cursor:pointer;width:100%;border:0}.mobile-sheet-handle span{width:30px;height:3px;background:#d7d0dc;border-radius:4px}.sidebar-line{margin:0 22px}.section-header{padding:12px 22px 11px}.section-header h2{font-size:11px}.project-feature{margin:0 20px 15px;display:flex;width:calc(100% - 40px);border-radius:12px}.project-photo{width:85px;min-width:85px;height:97px}.project-copy{padding:13px 11px;flex:1;min-width:0}.project-copy h3{font-size:12px}.project-copy p{font-size:9px}.project-meta{margin-top:12px;font-size:8px}.project-meta>b{font-size:8px}.photo-badge{left:5px;top:7px;font-size:6px;padding:4px;gap:3px}.photo-badge .live-dot{width:3px;height:3px}.photo-coordinate{display:none}.project-row,.community-note,.sidebar-bottom{display:none}.map-topbar{top:16px;left:16px;right:16px;flex-direction:column;gap:9px}.search{height:43px;width:100%;font-size:12px;border-radius:11px}.search input{font-size:12px}.search svg{width:18px;height:18px}.search kbd{display:none}.view-switch{align-self:flex-start}.view-switch button{font-size:10px;padding:7px 11px;min-height:31px}.map-caption,.map-footer,.site-callout{display:none}.map-controls{bottom:calc(42dvh + 12px);right:16px;gap:9px}.map-controls>.icon-button{width:35px;height:35px}.zoom-controls,.compass{display:none}.map-pin b{font-size:8px;padding:7px 8px;margin-top:16px}.map-pin>span{width:37px;height:37px}.map-pin.small-pin>span{width:30px;height:30px}.map-canvas{bottom:30dvh}.detail-body{padding:4px 22px 23px}.detail-photo{height:115px;margin-top:8px;margin-bottom:17px}.detail-body .back-link{margin-bottom:8px}.sidebar.expanded{max-height:74dvh}.sidebar.collapsed{max-height:92px;overflow:hidden}.sidebar.collapsed .sidebar-intro{padding-bottom:18px}.sidebar.collapsed .sidebar-intro>p,.sidebar.collapsed .sidebar-intro .eyebrow{display:none}.sidebar.collapsed h1{font-size:21px;margin:4px 0 0}.community-header{padding-top:7px}.community-header h1{font-size:24px}.filter-chips{margin-top:13px}.proposal-card{margin:0 20px 13px;width:calc(100% - 40px)}.proposal-image{height:100px}.proposal-card-copy{padding:13px}.community-mode .sidebar,.activity-mode .sidebar{max-height:66dvh}.community-mode .map-controls,.activity-mode .map-controls{display:none}.community-mode .map-canvas,.activity-mode .map-canvas{bottom:43dvh}.street-mode .sidebar{display:none}.street-mode .street-label{left:16px;bottom:87px;max-width:calc(100% - 32px);padding:18px}.street-label h2{font-size:22px}.street-mode .street-navigation{left:16px;bottom:25px}.street-mode .street-scene>img{width:170%;left:-35%}.build-mode .sidebar{display:none}.build-mode .map-canvas{bottom:0}.build-mode .map-area{bottom:calc(65px + env(safe-area-inset-bottom))}.builder-toolbar{top:14px;left:12px;right:12px;padding:10px;border-radius:12px;gap:7px}.builder-title{gap:7px}.builder-title h2{font-size:10px}.builder-title p{font-size:8px}.builder-title .icon-button{width:30px;height:30px}.save-button{width:32px;justify-content:center;padding:5px}.save-button span{display:none}.builder-top-actions .primary-button{font-size:9px;padding:8px 10px;min-height:34px;gap:4px}.builder-top-actions .primary-button svg{width:13px;height:13px}.builder-instruction{top:94px;white-space:normal;width:max-content;max-width:calc(100% - 30px);padding:9px 13px;font-size:9px}.structure-library{bottom:12px;left:12px;right:12px;border-radius:14px}.library-heading{padding:13px 13px 9px;gap:7px}.library-heading h3{font-size:11px}.library-categories button{font-size:8px;padding:4px 6px}.library-heading>span{display:none}.prefab-list{padding:0 12px 12px;gap:7px}.prefab{width:78px;min-width:78px;height:86px}.prefab img{width:58px;height:49px}.prefab span{font-size:9px}.modal{border-radius:20px;max-height:calc(100dvh - 30px)}.modal-content{padding:29px 23px}.modal h2{font-size:26px}.modal-content .eyebrow{font-size:8px}.success-content{padding:35px 25px 25px}.toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:11px;width:max-content}.form-field input,.form-field textarea,.comment-form input{font-size:16px}.feedback-hero{height:130px}.support-caption{font-size:8px}}
@media(orientation:landscape) and (max-height:600px){:root{--rail:64px;--sidebar:248px}.app{min-height:280px}.nav-rail{padding:12px 4px;gap:4px}.nav-item{width:53px;min-height:56px;font-size:7px;gap:5px}.nav-item svg{width:19px;height:19px}.nav-help{min-height:44px;font-size:6px}.rail-label{display:none}.sidebar-intro{padding:19px 18px 17px}.sidebar h1{font-size:24px;margin:9px 0}.sidebar-intro>p{font-size:10px}.section-header{padding:15px 18px 12px}.section-header h2{font-size:10px}.section-header>.text-button{font-size:8px}.count{min-width:17px;height:17px;font-size:8px}.project-feature{margin:0 16px 13px;width:calc(100% - 32px)}.project-photo{height:80px}.project-copy{padding:11px}.project-copy h3{font-size:11px}.project-copy p{font-size:8px}.project-meta{margin-top:9px;font-size:8px}.project-meta>b{font-size:8px}.project-row{padding:13px 0;margin:0 16px;width:calc(100% - 32px)}.project-row h3{font-size:9px}.project-row p{font-size:8px}.community-note{padding-top:20px;margin:0 18px 18px}.sidebar-bottom{font-size:7px;padding:12px 18px}.map-topbar{left:15px;right:15px;top:14px;flex-direction:row}.search{width:190px;height:37px;border-radius:9px;gap:7px}.search input{font-size:9px}.search kbd{display:none}.view-switch{padding:3px;border-radius:9px}.view-switch button{font-size:8px;min-height:29px;padding:5px 8px}.view-switch button svg{width:12px;height:12px}.map-caption{display:none}.site-callout{left:15px;bottom:32px;padding:13px 15px;max-width:260px}.site-callout .eyebrow{font-size:6px}.site-callout h2{font-size:17px;margin:7px 0}.site-callout p{font-size:8px;margin-bottom:4px}.site-callout .text-button{font-size:9px;min-height:25px}.map-controls{right:15px;bottom:40px;gap:8px}.map-controls .icon-button{width:32px;height:32px}.map-controls svg{width:15px;height:15px}.compass{display:none}.map-footer{left:16px;right:16px;bottom:10px;font-size:5px}.demo-label{display:none}.map-pin>span{width:31px;height:31px;border-width:2px;border-radius:10px 10px 10px 2px}.map-pin>span>svg{width:16px;height:16px}.map-pin b{font-size:7px;padding:6px 7px;margin-top:12px}.small-pin>span{width:27px;height:27px}.builder-toolbar{top:10px;left:12px;right:12px;padding:8px 10px}.builder-title h2{font-size:9px}.builder-title p{font-size:7px}.builder-title .icon-button{width:29px;height:29px}.builder-top-actions .primary-button{min-height:31px;padding:7px 10px;font-size:8px}.builder-top-actions .primary-button span{display:inline}.builder-top-actions .primary-button svg{width:13px;height:13px}.builder-top-actions .save-button{width:30px;min-height:31px;padding:6px}.builder-top-actions .save-button span{display:none}.builder-instruction{top:77px;font-size:8px;padding:7px 12px}.structure-library{bottom:11px;left:12px;right:12px;border-radius:12px}.library-heading{padding:9px 12px 7px;flex-wrap:nowrap;gap:5px}.library-heading h3{font-size:9px}.library-categories button{font-size:7px;min-height:22px;padding:4px 6px}.library-heading>span{display:none}.prefab-list{padding:0 11px 10px;gap:6px}.prefab{height:70px;width:65px;min-width:65px;padding:4px 4px 5px;border-radius:7px}.prefab.selected{padding:3px 3px 4px}.prefab img{height:39px;width:52px}.prefab span{font-size:7px}.prefab small{font-size:5.5px}.builder-sidebar{padding:20px 19px}.builder-sidebar h1{font-size:23px}.step-list{margin:18px 0;gap:13px}.step-list h3{font-size:9px}.step-list p{font-size:8px}.step-number{width:22px;height:22px;font-size:9px}.design-summary{padding-top:15px}.design-summary h3{font-size:10px}.summary-empty{font-size:9px;padding:12px}.builder-help{font-size:8px;padding-top:18px}.street-label{bottom:83px;left:16px;padding:16px;max-width:280px}.street-label h2{font-size:19px}.street-label p{font-size:9px}.street-label .eyebrow{font-size:7px}.street-navigation{left:16px;bottom:26px}.street-navigation .icon-button{width:34px;height:34px}.street-navigation .primary-button{font-size:10px;min-height:34px}.modal{max-height:calc(100dvh - 20px)}.modal-content{padding:25px 29px}.modal h2{font-size:24px}.success-content{padding:25px 30px}.success-icon{width:48px;height:48px;margin-bottom:13px}.success-content h2{font-size:25px}.toast{bottom:16px;font-size:10px}}
@media(max-width:370px) and (orientation:portrait){.sidebar h1{font-size:23px}.library-heading h3{font-size:10px}.library-categories button{font-size:7px;padding:4px 5px}.builder-title h2{font-size:9px}.builder-title p{font-size:7px}.builder-top-actions{gap:4px}.builder-top-actions .primary-button{padding:8px;font-size:8px}.project-copy h3{font-size:11px}.project-meta>b{font-size:7px}}
@media(max-width:700px) and (orientation:portrait){.sidebar.expanded .project-row{display:flex;margin:0 22px;width:calc(100% - 44px);min-height:65px}.sidebar.expanded .project-row h3{font-size:12px}.sidebar.expanded .project-row p{font-size:10px}.sidebar.expanded .community-note{display:block;margin:18px 22px}.view-switch button{min-height:40px;font-size:11px}.map-controls>.icon-button{width:44px;height:44px}.library-categories button{min-height:38px}.builder-top-actions .primary-button,.builder-top-actions .save-button{min-height:44px}.builder-top-actions .save-button{width:38px}.builder-title .icon-button{height:40px;width:34px}.builder-toolbar{padding:8px}.builder-instruction{top:99px}.modal-close{width:44px;height:44px;top:9px;right:9px}.modal-close svg{width:19px;height:19px}.placed-remove{min-width:36px;min-height:36px}.filter-chip{min-height:40px;font-size:10px}.proposal-votes button{min-height:40px}.comment-form .icon-button{width:44px;height:44px}.project-meta{font-size:9px}.project-copy p{font-size:10px}.project-meta>b{font-size:9px}}
.has-proposal .main-pin{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.sidebar>*{flex-shrink:0}
@media(orientation:landscape) and (max-height:600px){.builder-top-actions .primary-button{width:auto;min-width:82px;white-space:nowrap}.builder-instruction{display:none}.builder-top-actions .primary-button span{display:inline}.search{width:min(190px,40%)}.view-switch button{white-space:nowrap}}

/* Map controls share a single stack in both perspectives. */
.map-controls .compass{display:flex;flex-direction:column;justify-content:center;gap:0;color:var(--ink);font-size:7px;text-shadow:none}
.map-controls .compass span{font-size:21px;line-height:19px}
.map-controls .view-toggle svg{width:19px;height:19px}
.street-mode .map-controls{display:flex;z-index:6}
.street-mode .map-controls>.icon-button:not(.compass):not(.view-toggle),.street-mode .zoom-controls{display:none}
.mobile-sheet-handle{touch-action:none;cursor:ns-resize;user-select:none}
.sidebar.sheet-dragging{transition:none;user-select:none}

/* Proposals have their own page rather than a map-backed panel. */
.community-mode .sidebar{grid-column:2/-1;grid-row:1;display:block;border:0;background:var(--paper);width:auto;max-height:none;border-radius:0;box-shadow:none}
.community-mode .sidebar .community-header{max-width:1100px;margin:0 auto;padding:42px 40px 25px}
.community-mode .sidebar h1{font-size:36px;letter-spacing:-1.2px;margin:12px 0}
.community-mode .sidebar h1 br{display:none}
.community-mode .community-header>p{font-size:13px;max-width:none}
.community-mode .community-header>p br{display:none}
.community-mode .filter-chips{margin-top:22px}
.community-mode .filter-chip{min-height:38px;font-size:11px;padding:9px 15px}
.proposal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:22px;max-width:1100px;margin:0 auto;padding:0 40px 35px;align-items:start}
.proposal-grid .proposal-card{width:auto;margin:0;background:var(--white)}
.proposal-grid .proposal-image{height:175px}
.proposal-grid .proposal-image img{height:110px;max-width:180px}
.proposal-grid .proposal-card-copy{padding:19px}
.proposal-grid .proposal-card-copy h3{font-size:16px;line-height:1.45;margin-bottom:9px}
.proposal-grid .proposal-card-copy>p{font-size:11px;margin-bottom:18px}
.proposal-grid .proposal-votes button{min-height:40px;font-size:11px;padding:9px 12px}
.proposal-grid .empty-state{grid-column:1/-1;padding:25px 0}
.community-mode .sidebar-bottom{max-width:1020px;margin:0 auto;padding:20px 0;font-size:10px}
@media(max-width:700px) and (orientation:portrait){
  .map-controls{bottom:calc(44dvh + 14px);gap:9px}
  .map-controls .compass,.map-controls .view-toggle{width:44px;height:44px}
  .sidebar.collapsed~.map-area .map-controls{bottom:106px}
  .sidebar.expanded~.map-area .map-controls,.sidebar.sheet-dragging~.map-area .map-controls{visibility:hidden}
  .street-mode .map-controls{bottom:22px;visibility:visible!important}
  .mobile-sheet-handle{min-height:27px;padding:10px 0}
  .community-mode .sidebar{top:0px;bottom:calc(65px + env(safe-area-inset-bottom));height:auto;max-height:none;overflow:auto;border-radius:0}
  .community-mode .sidebar .community-header{padding:29px 22px 24px}
  .community-mode .sidebar h1{font-size:29px;line-height:1.25;max-width:330px}
  .community-mode .community-header>p{font-size:12px;line-height:1.8}
  .proposal-grid{grid-template-columns:minmax(0,1fr);padding:0 20px 28px;gap:18px}
  .proposal-grid .proposal-image{height:150px}
  .community-mode .sidebar-bottom{display:flex;margin:0 22px;padding:19px 0;font-size:9px}
}
@media(orientation:landscape) and (max-height:600px){
  .map-controls{bottom:31px;gap:6px}
  .map-controls .compass{display:flex}
  .map-controls .compass span{font-size:17px;line-height:16px}
  .street-mode .map-controls{bottom:25px}
  .community-mode .sidebar .community-header{padding:23px 26px 20px}
  .community-mode .sidebar h1{font-size:29px}
  .proposal-grid{padding:0 26px 25px;gap:16px;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
  .proposal-grid .proposal-image{height:130px}
}

.main-pin>span{width:33px;height:33px;border-width:2px;border-radius:12px 12px 12px 3px}.main-pin>span>svg{width:17px;height:17px}.main-pin b{margin-top:7px;font-size:8px;padding:6px 8px}
.project-brief-facts{grid-template-columns:1fr;gap:17px;margin:22px 0 0;border-bottom:0}
.project-brief-facts dt{font-size:9px;font-weight:600;color:var(--purple)}
.project-brief-facts dd{font-size:11px;line-height:1.8;font-weight:400}
.brief-section h3{margin:22px 0 7px}.brief-section .body-copy{margin:0}
.project-feedback-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:22px 0 9px;padding-top:14px;border-top:1px solid var(--line)}
.project-feedback-actions .secondary-button{font-size:10px;padding:10px 8px;gap:6px}
.brief-note{font-size:9px;line-height:1.8;color:var(--muted);margin:15px 0 0}
.attachment-list{list-style:none;padding:0;margin:12px 0 18px}
.attachment-list li{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid var(--line);font-size:10px;line-height:1.6;overflow-wrap:anywhere}
.attachment-list svg{width:14px;height:14px;color:var(--purple)}
@media(max-width:700px) and (orientation:portrait){
  .sidebar.expanded{height:74dvh}.sidebar.collapsed{height:92px}
  .main-pin>span{width:25px;height:25px;border-radius:9px 9px 9px 2px}
  .main-pin>span>svg{width:14px;height:14px}.main-pin b{margin-top:5px}
  .project-brief-facts dt{font-size:11px}.project-brief-facts dd,.brief-section .body-copy{font-size:12px}
  .brief-section h3{font-size:13px}.project-feedback-actions .secondary-button{font-size:12px;min-height:44px}
}
@media(max-width:700px) and (orientation:portrait){
  .map-canvas{bottom:var(--panel-height,44dvh)}
  .map-controls{bottom:calc(var(--panel-height,44dvh) + 14px)}
  .sidebar.collapsed .detail-body>*:not(h1){display:none}
  .sidebar.collapsed .detail-body h1{margin:7px 0;font-size:24px}
}
.street-navigation{left:50%;bottom:42px;transform:translateX(-50%);gap:9px}
.street-navigation .icon-button{width:48px;height:48px;background:#fffdf6f2;border:1px solid #fff9;border-radius:12px;box-shadow:0 3px 14px #2c223322}
.street-navigation .icon-button:hover{background:var(--lavender);color:var(--purple)}
.street-navigation .icon-button svg{width:20px;height:20px;stroke-width:2}
.street-navigation .street-move svg{width:25px;height:25px;stroke-width:2.5}
@media(max-width:700px) and (orientation:portrait){.street-mode .street-navigation{left:50%;bottom:22px}}
@media(orientation:landscape) and (max-height:600px){.site-callout{display:none}.street-navigation{left:50%;bottom:23px}.street-navigation .icon-button{width:42px;height:42px;border-radius:10px}}

.notifications-nav{position:relative}.notifications-nav::after{content:'';position:absolute;top:14px;left:calc(50% + 6px);width:5px;height:5px;border-radius:50%;background:var(--orange);border:1px solid var(--paper)}
@media(max-width:700px) and (orientation:portrait){
  .nav-rail{padding-left:10px;padding-right:10px;gap:0}
  .nav-item{width:auto;flex:1;max-width:100px;font-size:9px}
  .notifications-nav::after{top:8px}
  .map-topbar{top:max(16px,env(safe-area-inset-top))}
  .builder-toolbar{top:max(14px,env(safe-area-inset-top))}
  .builder-instruction{top:calc(max(14px,env(safe-area-inset-top)) + 85px)}
  .community-mode .sidebar .community-header{padding-top:max(29px,calc(env(safe-area-inset-top) + 18px))}
}

@media(max-width:700px) and (orientation:portrait){
  .app:not(.community-mode):not(.build-mode) .sidebar{height:44dvh;max-height:74dvh;transition:height 240ms cubic-bezier(.22,.8,.25,1)}
  .app:not(.community-mode):not(.build-mode) .sidebar.expanded{height:74dvh}
  .app:not(.community-mode):not(.build-mode) .sidebar.collapsed{height:92px}
  .app:not(.community-mode):not(.build-mode) .sidebar.sheet-dragging{transition:none}
}
.notifications-nav::after{display:none}
.notification-count{position:absolute;top:9px;left:calc(50% + 5px);min-width:17px;height:17px;padding:2px 4px;border:2px solid var(--paper);border-radius:10px;background:var(--purple);color:white;font-size:8px;font-weight:650;line-height:11px}
.demo-badge{display:inline-flex;align-items:center;padding:4px 7px;font-size:9px;font-weight:550;color:var(--muted);border:1px solid var(--line);border-radius:6px;white-space:nowrap}
.notification-page{max-width:960px;margin:0 auto;padding:38px 35px 35px}
.notification-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.notifications-mode .sidebar h1{font-size:30px;margin:0;letter-spacing:-.8px}
.notification-heading>.text-button{margin-left:auto;min-height:44px;font-size:11px}
.notification-filters{margin:18px 0 25px}
.notification-groups{display:flex;flex-direction:column;gap:22px}
.notification-group{border:1px solid var(--line);border-radius:16px;background:var(--white);overflow:hidden}
.notification-proposal{display:flex;align-items:center;gap:13px;padding:20px 21px 13px}
.notification-proposal>img{width:63px;height:57px;object-fit:contain;background:#eff0e6;border-radius:10px;padding:6px;flex-shrink:0}
.notification-proposal h2{font:650 15px/1.45 Manrope,sans-serif;letter-spacing:-.25px;margin:0}
.notification-proposal p{font-size:10px;margin:6px 0 0;color:var(--muted)}
.notification-summary{display:flex;align-items:center;gap:14px;padding:0 21px 16px;font-size:10px;color:var(--muted)}
.notification-summary>span:not(.status-pill){display:flex;align-items:center;gap:4px}
.notification-summary svg{width:13px;height:13px}
.notification-events{border-top:1px solid var(--line)}
.notification-event{display:flex;align-items:flex-start;gap:12px;width:100%;background:var(--white);padding:19px 21px;text-align:left;border-bottom:1px solid var(--line)}
.notification-event:last-child{border-bottom:0}
.notification-event.unread{background:#faf6fc}
.notification-event:hover{background:#f1ebf5}
.event-icon{width:31px;height:31px;flex-shrink:0;display:grid;place-items:center;background:#ece3f3;color:var(--purple);border-radius:10px;margin-top:1px}
.event-icon svg{width:16px;height:16px}
.event-content{display:block;flex:1;min-width:0}
.event-content strong{display:block;font-size:12px;font-weight:650;line-height:1.6}
.event-time{display:block;font-size:9px;color:var(--muted);margin:3px 0 7px}
.event-body{display:block;font-size:11px;line-height:1.75;color:#6c6373}
.unread-dot{width:6px;height:6px;flex-shrink:0;margin-top:8px;border-radius:50%;background:#9f7bb7}
.proposal-review{border:1px solid var(--line);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:12px}
.proposal-review dt{font-size:10px;color:var(--muted);margin-bottom:4px}.proposal-review dd{font-size:11px;line-height:1.7;margin:0}
.site-callout{padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none}
.sidebar-intro{padding-top:24px;padding-bottom:18px}
.sidebar-intro h1{font-size:26px;margin:0}
.step-list>div{align-items:center}.step-list h3{margin:0}
@media(max-width:700px) and (orientation:portrait){
  .notification-page{padding:max(22px,env(safe-area-inset-top)) 18px 26px}
  .notifications-mode .sidebar h1{font-size:25px}
  .notification-heading{gap:8px}
  .notification-heading>.text-button{font-size:10px}
  .notification-filters{gap:5px;margin-top:15px;margin-bottom:21px}
  .notification-filters .filter-chip{padding:8px 11px;font-size:10px;min-height:40px}
  .notification-proposal{padding:16px 15px 12px;gap:10px}
  .notification-proposal h2{font-size:14px}
  .notification-summary{padding:0 15px 14px;gap:12px}
  .notification-event{padding:17px 15px;gap:10px}
  .event-content strong{font-size:12px}.event-body{font-size:12px}
  .notification-count{top:4px}
  .sidebar-intro{padding-top:9px;padding-bottom:18px}
  .sidebar-intro h1{font-size:24px}
}
@media(orientation:landscape) and (max-height:600px){.notification-page{padding:24px 26px}.notifications-mode .sidebar h1{font-size:27px}.notification-count{top:6px}}
.placed-item::before{content:'';position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}

/* The same submission record appears in confirmations, proposals, and Notifications. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.submission-progress{padding:18px 21px 20px;border-top:1px solid var(--line)}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}
.progress-heading h3{font-size:12px;margin:0;font-weight:650}
.progress-heading>span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.submission-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;list-style:none;padding:0;margin:0 0 18px}
.submission-stages li{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:10px;line-height:1.5;color:var(--muted)}
.submission-stages li:not(:last-child)::after{content:'';position:absolute;left:29px;right:0;top:11px;height:2px;background:var(--line)}
.stage-dot{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:50%;background:var(--white);font-size:10px}
.stage-dot svg{width:13px;height:13px}
.submission-stages .current{color:var(--purple);font-weight:700}
.current .stage-dot{background:var(--purple);color:white;border-color:var(--purple);box-shadow:0 0 0 3px #ede5f3}
.complete .stage-dot{background:#e7ebdf;color:#52613d;border-color:#d4ddc6}
.submission-stages .complete::after{background:#b9c6a4}
.submission-next{background:#f5f3f6;border-radius:9px;padding:12px 14px}
.submission-next strong{font-size:11px}
.submission-next p,.modal .submission-next p{font-size:11px;line-height:1.75;color:var(--muted);margin:5px 0 0}
.modal-content>.submission-progress{padding:18px 0;border-bottom:1px solid var(--line)}
.committee-message{text-align:left;border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:18px}
.committee-message h3{font-size:14px;margin:10px 0 6px}
.committee-message p{margin:0}
.submission-preview{height:150px;border-radius:12px}
.activity-item .text-button{margin-right:12px}
@media(max-width:700px) and (orientation:portrait){
  .submission-progress{padding:17px 15px}
  .progress-heading{align-items:flex-start}
  .progress-heading h3{font-size:12px}
  .progress-heading>span{font-size:9px;max-width:130px;text-align:right}
  .submission-stages{gap:5px}
  .submission-stages li{font-size:10px}
  .submission-next p,.modal .submission-next p{font-size:12px}
  .committee-message{padding:14px}
}

/* Fit the entire design inside its preview, including tall assets and edge placements. */
.feedback-hero{height:clamp(200px,30dvh,270px);padding:48px 24px 16px}
.proposal-design{display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:visible}
.submission-preview{height:180px;padding:16px}

/* Existing framing stays on the detail image; zooming out reveals the wider base. */
@media(max-width:700px) and (orientation:portrait){
  .map-controls .zoom-controls{display:flex;flex-direction:row;position:absolute;right:54px;bottom:0}
  .map-controls .zoom-controls .icon-button{width:44px;height:44px}
  .map-controls .zoom-controls .icon-button+button{border-top:0;border-left:1px solid #e3dce0}
  .street-mode .map-controls .zoom-controls{display:none}
}

.planning-site{position:absolute;inset:0;transform:translate(var(--site-offset-x,0%),var(--site-offset-y,0%));pointer-events:none}
.planning-site .main-pin{pointer-events:auto}
