.neighborhood-plans{margin:24px 0 8px;padding:24px;border:1px solid #526b69;border-radius:18px;background:#142c2d;color:#faf3df;scroll-margin-top:220px;font-family:system-ui,sans-serif}.plans-heading h2{margin:0;font-size:clamp(24px,3vw,36px)}.neighborhood-plans p{line-height:1.55}.plans-heading p,.plans-summary{color:#cedbd3}.crew-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.crew-card{background:#203c3b;border-radius:12px;padding:16px}.crew-card h3{margin:0 0 12px}.crew-card label{display:block;font-size:14px;margin-top:10px}.crew-card select{display:block;width:100%;min-height:46px;border:1px solid #80988b;border-radius:6px;background:#102826;color:#fff8e6;font:inherit;padding:10px;margin-top:5px;text-overflow:ellipsis}.crew-card p{margin-bottom:0;font-size:14px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.neighborhood-project{min-width:0;background:#f6efd9;color:#233630;padding:18px;border-radius:12px;display:flex;flex-direction:column;align-items:stretch}.neighborhood-project>img{width:100%;height:110px;object-fit:contain}.neighborhood-project h3{font-size:22px;margin:0 0 8px}.neighborhood-project .eyebrow{color:#4c6658;margin:10px 0 4px;font-size:12px}.neighborhood-project p{font-size:15px}.neighborhood-project small{display:block;margin-top:12px;line-height:1.5;color:#4a6053}.neighborhood-plans button,.neighborhood-project a{min-height:44px;border-radius:7px;padding:11px 12px;font:600 14px/1.4 system-ui,sans-serif;white-space:normal;text-align:left;cursor:pointer}.neighborhood-project button{background:#235b46;color:#fff8e6;border:1px solid #235b46;margin-top:8px}.neighborhood-project button:disabled{background:#d1d4c5;color:#4c544b;cursor:default}.neighborhood-project a{display:block;color:#235b46;margin-top:8px}.neighborhood-project progress{width:100%;height:12px;accent-color:#235b46}.neighborhood-plans details{margin-top:14px;border-top:1px solid #587367;padding-top:12px}.neighborhood-plans summary{cursor:pointer;font-size:17px;min-height:44px;padding:10px 0}.neighborhood-plans li{line-height:1.6;margin-bottom:12px}.neighborhood-plans li button{margin-right:12px}.neighborhood-plans li span{font-size:15px}.resident-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.resident-grid article{padding:15px;background:#203c3b;border-radius:10px}.resident-grid h3{margin-top:0}.resident-grid small{display:block;line-height:1.5;margin-bottom:12px}.plans-footnote{font-size:13px;color:#cedbd3;margin:22px 0 0}.return-report{background:#e2edbc;color:#243a26;padding:16px;border-radius:10px;margin-top:16px}.return-report h3{margin:0}.neighborhood-jump{display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;border:1px solid #80988b;border-radius:8px;color:#f6efd9;font-size:14px;text-decoration:none}.neighborhood-plans :focus-visible{outline:3px solid #ecaa41;outline-offset:3px}.city-tools .neighborhood-jump{color:#f6efd9}.city-owner-status{padding:12px;background:#ede3ad;color:#17291b;font:16px/1.5 system-ui}.city-owner-status:empty{display:none}
@media(max-width:900px){.resident-grid{grid-template-columns:1fr 1fr}.project-grid{grid-template-columns:1fr}.neighborhood-project>img{height:90px;width:100px;align-self:flex-start}.neighborhood-project h3{font-size:22px}.neighborhood-plans{padding:16px}.project-grid{gap:18px}.neighborhood-project{padding:18px}}
@media(max-width:480px){.crew-grid{grid-template-columns:1fr}.resident-grid{grid-template-columns:1fr}.neighborhood-plans{padding:14px;border-radius:12px}.neighborhood-plans h2{font-size:26px}.crew-card select{font-size:16px}.neighborhood-plans{scroll-margin-top:24px}}
/* Keep the neighborhood on screen; show management only when requested. */
.city-page-intro,.bezel-label{display:none}.game-bezel{margin-top:12px}.goal-actions{width:auto;max-width:220px}.goal-actions #goal-action{min-width:140px}.goal-strip,.city-tools{position:relative;top:auto}.city-tools{justify-content:flex-end;background:transparent}.city-tools #mobile-goal-details{display:none}.city-menu{position:relative}.city-menu>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;padding:8px 14px;border:1px solid var(--city-line);border-radius:8px;background:#203d3b;color:#f8ebcf;font:600 14px system-ui}.city-menu>summary::after{content:'▾';margin-left:12px}.city-menu-items{position:absolute;right:0;top:calc(100% + 6px);z-index:25;display:grid;gap:6px;width:260px;max-width:calc(100vw - 36px);padding:12px;background:#152d30;border:1px solid #718b7b;border-radius:12px;box-shadow:0 10px 35px #0008}.city-menu-items button{text-align:left;width:100%}.city-menu-items #visit-count,.city-menu-items #chapter-progress{display:block;margin:0;padding:4px;font-size:12px}.city-extras{margin-top:20px;border-top:1px solid #718b7b55}.city-extras>summary{cursor:pointer;padding:16px 4px;min-height:48px;font:600 15px system-ui}.city-view.fit{display:grid;place-items:center;height:auto!important;min-height:0!important;max-height:none!important}.city-view.fit .world-stage{width:min(100%,max(390px,calc((100svh - 380px)*1.5)));min-width:0;margin:auto}.goal-strip .eyebrow{display:none}.map-toolbar{justify-content:flex-end}.map-toolbar #map-hint{margin-right:auto}.neighborhood-dialog{width:min(960px,calc(100vw - 24px));padding:20px}.neighborhood-dialog .dialog-close{position:sticky;top:0;z-index:2}.neighborhood-dialog .neighborhood-plans{padding:0;margin:0;background:none;border:none}.neighborhood-dialog .plans-heading{padding-right:56px;margin-bottom:20px}.neighborhood-dialog .one-project{grid-template-columns:minmax(0,1fr)}.one-project .neighborhood-project{display:block}.one-project .neighborhood-project>img{float:right;width:100px;height:100px;margin:0 0 12px 14px}.one-project .neighborhood-project button{display:block;width:100%}.helper-options{border-top:1px solid var(--city-line);margin-top:16px;padding-top:8px}.helper-options>summary{cursor:pointer;padding:12px 0;min-height:44px;font-weight:600}.neighborhood-dialog .plans-footnote{font-size:13px!important}.city-menu summary:focus-visible,.city-extras summary:focus-visible,.helper-options summary:focus-visible{outline:3px solid #ecaa41;outline-offset:3px}
@media(max-width:760px){.game-bezel{margin-top:6px}.goal-actions{width:110px;max-width:110px}.goal-actions #goal-action{min-width:0}.city-tools{padding:0;margin:4px 0 8px}.city-view.fit .world-stage{width:100%}.map-toolbar #map-hint{font-size:12px;max-width:140px}.neighborhood-dialog{padding:16px}.neighborhood-dialog .plans-heading h2{font-size:24px}.neighborhood-dialog .plans-heading p{font-size:15px}.neighborhood-dialog .project-grid{gap:12px}.city-menu-items{width:240px}.city-extras>summary{font-size:14px}.neighborhood-project>img{height:70px}.town-shell:has(.inspector.selected),.town-shell:has(.inspector.show-overview){padding-bottom:43dvh}}
.city-tools{display:flex}.map-toolbar button[aria-pressed=true]{display:none}.map-toolbar>div{flex:none}.city-view.fit{overflow:hidden}.city-view.fit .lot-target small{display:none}.city-view.fit .lot-target>span{min-width:0;padding:6px 8px;font-size:12px}html body #lot-targets button>span{background:#142d2ee8!important;border:1px solid #c5d4bc88!important;border-radius:5px!important;box-shadow:0 2px 6px #0005!important}html body #lot-targets button[aria-pressed=true]>span{border-color:#ffd23f!important;color:#ffd23f!important}.city-menu>summary{white-space:nowrap}.city-view.fit .world-stage{width:min(100%,max(660px,calc((100svh - 340px)*1.5)))}
@media(max-width:760px){.city-topbar{display:block}.city-topbar .city-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.city-topbar .city-heading>div{min-width:0}.city-topbar .city-heading h1{font-size:20px}.city-topbar .district-head{display:flex;justify-content:space-between;margin-top:4px}.city-topbar .district-head h2{max-width:none}.city-topbar .district-head nav button{min-height:36px!important;min-width:36px!important;padding:4px 8px!important}.city-tools{justify-content:flex-end}.city-tools>button,.city-menu>summary{min-width:100px}.map-toolbar{flex-wrap:nowrap;gap:6px}.map-toolbar>span{flex:1;max-width:none!important}.map-toolbar>div{flex:none}.city-view.fit .world-stage{width:100%}.city-view.fit .lot-target>span{font-size:11px;padding:5px 7px}.world-status{padding:8px 12px;min-height:36px}.city-topbar #save-status{white-space:nowrap}}
.neighborhood-dialog .neighborhood-project{display:block;padding:16px}.neighborhood-dialog .neighborhood-project>img{float:right;width:64px;height:64px;margin:0 0 6px 10px}.neighborhood-dialog .neighborhood-project h3{font-size:20px;line-height:1.2;margin:0 0 8px;letter-spacing:0}.neighborhood-dialog .neighborhood-project .eyebrow{display:none}.neighborhood-dialog .neighborhood-project p{margin:8px 0;line-height:1.4;font-size:14px!important}.neighborhood-dialog .neighborhood-project button{width:100%;clear:both}.neighborhood-dialog .plans-heading p{line-height:1.4}.neighborhood-dialog .plans-heading{margin-bottom:14px}.city-dialog.neighborhood-dialog .neighborhood-plans .neighborhood-project>h3{font-family:system-ui,sans-serif}.city-dialog.neighborhood-dialog .neighborhood-plans .plans-heading h2{font-family:system-ui,sans-serif;letter-spacing:0}
.city-menu-items{max-height:65dvh;overflow:auto;overscroll-behavior:contain}.city-view.fit .lot-target.empty>span{white-space:nowrap;padding:6px}.city-view.fit .lot-target>span b{overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}
/* Empty plots use a plus marker that remains legible at phone scale. */
.city-view.fit .lot-target.empty>span{width:32px;min-width:32px;box-sizing:border-box;padding:3px}.city-view.fit .lot-target.empty>span b{font-size:0}.city-view.fit .lot-target.empty>span b::after{content:'+';font-size:20px;line-height:24px}
