:root{color-scheme:light;--paper:#f7f6ef;--ink:#243f3b;--muted:#65756e;--line:#dcded4;--green:#276b5d;--orange:#a85e36}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 system-ui,sans-serif}header{max-width:1280px;margin:auto;padding:22px 28px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px}.logo{background:var(--green);color:white;border-radius:13px;width:42px;height:42px;display:grid;place-content:center;font-size:29px}h1,h2,p{margin:0}h1{font-size:clamp(18px,3vw,25px);letter-spacing:-.6px}.brand p{font-size:12px;color:var(--muted)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:10px;padding:10px 15px;background:var(--green);color:white;font-weight:650;min-height:42px}button:hover{filter:brightness(.96)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b67d41;outline-offset:2px}.languages{display:flex;border:1px solid var(--line);border-radius:10px;padding:3px;background:white}.languages button{background:transparent;color:var(--muted);padding:6px 10px;min-height:34px;font-size:13px}.languages button[aria-pressed=true]{background:var(--green);color:white}main{max-width:1280px;padding:22px 28px;margin:auto}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:6px 0 20px}.eyebrow{font-size:11px;color:var(--green);font-weight:800;letter-spacing:1.4px;text-transform:uppercase}.hero h2{font:600 clamp(26px,4vw,43px)/1.12 Georgia,serif;letter-spacing:-.8px;margin:6px 0 8px}.hero p:not(.eyebrow),.bottom p{color:var(--muted);font-size:14px}.secondary{background:white;color:var(--green);border-color:var(--line)}#searchform{display:flex;gap:8px}input,select,textarea{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:12px;min-width:0}#query{flex:1;font-size:16px;min-height:48px}.quick{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 19px}.quick button{font-size:12px;background:transparent;color:var(--green);border-color:var(--line);padding:4px 10px;min-height:31px}.content{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,330px);gap:16px;align-items:start}.mapcard,aside{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.maptop{padding:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.modes{display:flex;gap:4px;background:#f1f3ed;border-radius:10px;padding:3px}.modes button{background:transparent;color:var(--muted);font-size:13px;padding:7px 11px;min-height:36px}.modes button[aria-pressed=true]{background:var(--green);color:#fff}select{font-size:12px;padding:8px;max-width:100%}.mapframe{position:relative;background:#eeeee4;overflow:hidden;height:clamp(410px,50vw,630px)}#map{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#map.drag{cursor:grabbing}.controls{position:absolute;right:12px;bottom:12px;display:grid;gap:5px}.controls button{background:white;color:var(--ink);border:1px solid #cdd3cb;padding:6px 12px;min-width:43px;min-height:38px;box-shadow:0 2px 6px #25433314}#plus,#minus{font-size:22px}.legend{display:flex;flex-wrap:wrap;gap:12px;padding:12px;font-size:11px;color:var(--muted)}.legend span::before{content:'●';color:var(--dot);margin-right:5px}aside{padding:18px;min-height:260px}aside h2{font-size:23px;line-height:1.25;margin:7px 0 10px}aside p{color:var(--muted);font-size:14px;margin:8px 0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-heading button{min-height:32px;padding:4px 8px;font-size:12px}.result{width:100%;display:block;text-align:left;background:white;color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;padding:11px 0;font-size:14px}.result small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.pill{display:inline-block;border-radius:20px;background:#f0f2eb;color:#556b60;font-size:11px;padding:4px 8px;margin-bottom:7px}.detail{margin:12px 0;padding-top:10px;border-top:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}.detail strong{font-size:12px;color:var(--muted);display:block}.detail a{color:var(--green)}.actions{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}.bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid var(--line);border-radius:14px;background:#efefe6;margin-top:18px;padding:20px}.bottom h2{font:600 24px Georgia,serif;margin:4px 0}footer{color:var(--muted);font-size:11px;padding:18px 0}.sr{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}dialog{max-width:min(530px,92vw);width:100%;max-height:85vh;border:1px solid var(--line);border-radius:16px;padding:22px;color:var(--ink)}dialog::backdrop{background:#18382e77}.close{float:right;background:#e8ebe3;color:var(--ink);min-height:32px;padding:0 11px}.form{display:grid;gap:10px}.form label{font-size:13px}.form textarea{width:100%;min-height:110px}.form input{width:100%}.story img{max-width:100%;border-radius:10px}.story{padding:10px 0;border-top:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere}.maplabel{paint-order:stroke;stroke:#f5f3e9;stroke-width:2;stroke-linejoin:round;pointer-events:none;font-weight:700}.hit{cursor:pointer}.hit:focus{outline:none;stroke:#ad5b20!important;stroke-width:3!important}.selected{stroke:#b15b2b!important;stroke-width:3!important;fill:#edbd83!important}.point.selected{fill:#b15b2b!important}.number{pointer-events:none;font-weight:700;paint-order:stroke;stroke:#f3f1e7;stroke-width:.7}.maplabel.old{fill:#a85e36}.maplabel.local{fill:#276b5d}@media(max-width:760px){header{padding:13px 12px}.brand p{font-size:10px;max-width:230px}.logo{width:35px;height:35px;font-size:23px}main{padding:14px 12px}.hero{margin:4px 0 14px;align-items:flex-start}.hero h2{font-size:30px}.hero .secondary{display:none}.content{display:flex;flex-direction:column;gap:12px}.mapcard,aside{width:100%}.mapframe{height:470px;max-height:65vh}.maptop{padding:8px;gap:6px}.modes{width:100%;justify-content:space-between}.modes button{flex:1;padding:7px 4px;font-size:12px}#area{width:100%}.bottom{align-items:start;flex-direction:column}.bottom button{width:100%}.quick{margin-bottom:12px}.legend{gap:7px;padding:8px}aside{min-height:0;padding:14px}.hero p{font-size:13px!important}}

.bottomactions{display:flex;gap:7px;flex-wrap:wrap}#archiveMobile{display:none}details summary{cursor:pointer;color:var(--green);font-weight:650}.controls button{justify-self:end}#plus,#minus{width:44px;padding:5px 10px}@media(max-width:760px){#archiveMobile{display:block}.bottomactions{width:100%}.bottomactions button{flex:1;width:auto}.mapframe{height:430px}.hero h2{font-size:28px}.quick{gap:5px}}

/* RC10: compact mobile view and readable historical cards. */
.maplabel{font-weight:750}.detail{white-space:normal}.story p{white-space:pre-wrap}.form input[type=checkbox]{width:auto;accent-color:var(--green);margin-right:5px}.result small{line-height:1.4}#map .hit{outline-offset:2px}@media(max-width:760px){.hero h2{font-size:24px}.hero{margin-bottom:10px}.quick{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}.quick button{white-space:nowrap;flex:none;min-height:36px}.mapframe{height:clamp(360px,62vh,520px);max-height:none}.modes button{min-height:44px}.languages button{min-height:40px}.brand p{max-width:200px}.maptop{padding:6px}.legend{font-size:11px}}

.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compare-grid figure{margin:0;min-width:0}.compare-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#eeeee4;border-radius:9px}.compare-grid figcaption{font-weight:650;font-size:13px;margin:5px 0}.compare-grid small,.story small{display:block;overflow-wrap:anywhere}.compare-section{border-top:1px solid var(--line);padding:12px 0}.form label{display:grid;gap:5px}.form label:has(input[type=checkbox]){display:block}.form select{width:100%;max-width:100%;min-height:40px}.submission-error{color:#9e332b}.admin-list{display:grid;gap:12px}.admin-entry{padding:16px;border:1px solid var(--line);border-radius:12px;background:white;overflow-wrap:anywhere}.admin-entry img{display:block;max-width:100%;max-height:280px;object-fit:contain}.admin-entry p{white-space:pre-wrap}.admin-entry .actions{display:flex;gap:8px;flex-wrap:wrap}

[hidden]{display:none!important}

/* RC11 map-first, small-screen sheet, lightweight local vector plan. */
body{overflow-x:hidden}header,main{max-width:1600px}header{padding:12px 22px}main{padding:14px 22px}.hero{margin:0 0 10px;align-items:center}.hero h2{font:700 clamp(18px,2vw,26px)/1.2 system-ui,sans-serif;margin:2px 0}.hero .eyebrow,.hero p:not(.eyebrow){display:none}.quick{margin:7px 0}.categories{display:flex;gap:6px;overflow-x:auto;padding:4px 0 9px;scrollbar-width:thin}.categories button{flex:none;min-height:36px;font-size:13px;padding:5px 10px}.categories button[aria-pressed=true],#allNumbers[aria-pressed=true]{background:var(--green);color:white}.content>*{min-width:0}.maptop{gap:6px;padding:8px}.mapoptions{display:flex;gap:4px}.mapoptions button{font-size:12px;padding:5px 8px;min-height:36px}.mapframe{height:clamp(410px,calc(100dvh - 245px),900px)}.suggestions{border:1px solid var(--line);background:white;border-radius:12px;padding:4px 12px;margin-bottom:6px;max-height:250px;overflow:auto}.sheet-close{float:right;min-height:36px;min-width:36px;padding:4px;background:#eef1eb;color:var(--ink)}#cityHistoryMobile{display:none}.form input[type=file]{max-width:100%}.form select{font-size:14px}.form label{overflow-wrap:anywhere}.actions button{max-width:100%;white-space:normal}.map-expanded .content{position:fixed;inset:0;background:var(--paper);z-index:10;padding:8px;align-items:stretch}.map-expanded .mapcard{display:flex;flex-direction:column;height:100%;min-height:0}.map-expanded .mapframe{flex:1;height:auto;max-height:none;min-height:0}.map-expanded aside{overflow:auto;max-height:100%}.map-expanded{overflow:hidden}.map-expanded dialog{z-index:20}
@media(max-width:760px){header{padding:8px 10px}.brand p{display:none}main{padding:8px 10px}.hero{margin:0 0 7px}.hero h2{font-size:19px}.hero .bottomactions{display:none}.quick{margin:5px 0}.quick button{min-height:34px}.categories button{min-height:38px}.maptop{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px}.modes{grid-column:1/-1}.mapoptions{grid-column:1/-1;justify-content:space-between}#area{grid-column:1/-1}.mapframe{height:clamp(300px,calc(100dvh - 320px),680px)}.legend{padding:6px 8px}.content{display:block}.content aside{margin-top:8px}.content aside.sheet-open{position:fixed;bottom:0;left:0;right:0;width:100%;margin:0;max-height:48dvh;overflow:auto;z-index:12;border-radius:18px 18px 0 0;box-shadow:0 -6px 25px #18382e33;padding:12px 16px calc(16px + env(safe-area-inset-bottom));overscroll-behavior:contain}.content aside.sheet-open:before{content:'';display:block;width:32px;height:4px;border-radius:8px;background:#c4ccc4;margin:0 auto 9px}.content aside.sheet-open h2{font-size:21px}.content aside.sheet-open .actions button{flex:1 1 42%;font-size:13px}.map-expanded .content{padding:0}.map-expanded .mapcard{height:100dvh}.map-expanded aside:not(.sheet-open){display:none}.map-expanded aside.sheet-open{max-height:40dvh}.bottom{padding:14px}#cityHistoryMobile{display:block}dialog{max-width:95vw;max-height:90dvh;padding:16px}.form{gap:8px}.form textarea{min-height:80px}}

#researchEntries .form{margin:12px 0}#researchEntries .form select{width:100%}#researchEntries .form input[type=checkbox]{display:inline;margin-left:8px}#researchEntries>article>button{margin:4px}#researchTools .actions{align-items:center}

/* Street labels are a separate readable, interactive layer. */
#map .streetlabel{pointer-events:visiblePainted;cursor:pointer;font-weight:800;paint-order:stroke;stroke:#fffdf7;stroke-linejoin:round}
.research-admin header{gap:12px;flex-wrap:wrap}.research-admin header nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.research-admin a{color:var(--green);font-weight:650;text-decoration:none}.research-admin main>p{margin:0 0 14px}.research-admin #researchLogin{max-width:420px;margin:28px auto}.research-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.research-stats>div{border:1px solid var(--line);background:white;border-radius:12px;padding:12px;display:grid;gap:2px}.research-stats strong{font-size:26px}.research-stats small,.research-card small{color:var(--muted)}.research-filters,.research-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.research-filters input{flex:1 1 180px}.research-bulk{padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff}.research-page{margin-left:auto;display:flex;align-items:center;gap:8px}.research-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:12px}.research-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px;min-width:0;display:flex;flex-direction:column;gap:7px}.research-card h3{font-size:14px;margin:0;overflow-wrap:anywhere}.research-card small{font-size:12px;overflow-wrap:anywhere}.research-card .actions{display:flex;align-items:center;justify-content:space-between;margin-top:auto;gap:6px}.research-card .actions button{font-size:13px;padding:6px 10px}.research-photo{padding:0;background:#eaece5;overflow:hidden;width:100%;aspect-ratio:4/3;border-radius:8px;display:grid;place-items:center}.research-photo img{width:100%;height:100%;object-fit:contain;min-height:0}.research-admin #researchEdit{max-width:min(720px,96vw);width:100%;max-height:92dvh}.research-edit-head{display:flex;justify-content:space-between;align-items:center}.research-edit-photo{display:block;max-width:100%;max-height:36dvh;margin:8px auto;object-fit:contain}.research-admin #researchEdit details{margin:10px 0;overflow-wrap:anywhere}.research-admin #researchEdit .form{display:grid;gap:9px}.research-admin #researchEdit .form select{width:100%;font-size:14px}.research-inline-message{color:#a32f28;font-weight:650;min-height:1.3em}.research-admin #researchEdit .actions{position:sticky;bottom:0;background:white;padding:8px 0;display:flex;flex-wrap:wrap;gap:8px}.research-admin button:disabled{opacity:.5;cursor:not-allowed}#researchBulkMessage{color:var(--green)}@media(max-width:600px){.research-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.research-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.research-card{padding:8px}.research-card .actions{flex-wrap:wrap}.research-card .actions button{width:100%}.research-page{margin-left:0}.research-filters select{max-width:100%;flex:1}.research-admin header nav{gap:7px}.research-admin #researchEdit{padding:12px}}

#map .streetlabel{font-weight:550;stroke:#fffdf7;letter-spacing:.05px}.poi-pin{cursor:pointer}.categories button{font-weight:550}.mapframe{height:clamp(440px,calc(100dvh - 215px),900px)}@media(max-width:760px){.mapframe{height:clamp(320px,calc(100dvh - 305px),680px)}}

.sheet-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:5px 0}.modern-address{font-weight:600}.pick-notice{position:fixed;top:6px;left:8px;right:8px;z-index:25;background:#22594e;color:#fff;border-radius:12px;padding:10px;display:flex;gap:8px;align-items:center;justify-content:space-between}.picking-place .poi-pin,.picking-place .point,.picking-place .streetlabel,.picking-place .streetpath{pointer-events:none}.picking-place #map path.hit:not(.streetpath){cursor:crosshair}@media(max-width:760px){header .brand h1{font-size:19px}.hero h2{font-size:17px}.quick{display:none}.categories{padding:3px 0 6px}.categories button{font-size:12px;min-height:32px}.maptop{padding:5px}.mapoptions button{min-height:32px}.modes button{min-height:38px}.mapframe{height:clamp(360px,calc(100dvh - 235px),780px)}.content aside.sheet-open{max-height:53dvh}.sheet-head{top:-12px}.research-admin .quick{display:flex}}

/* City identity and app shell. Data, map geometry and APIs remain unchanged. */
:root{--paper:#f6f4eb;--ink:#173e35;--green:#125447;--line:#d8ded3;--muted:#566961}
.city-app{background:#f6f4eb}.city-app>header{max-width:none;background:#103e35;color:#fff;padding:12px 20px;border:0}.city-app .brand p{color:#d4e1d7}.brand-mark{width:56px;height:56px;flex:none;border-radius:14px}.city-app .languages{background:#fff;border-color:#e6e8df}.city-nav{display:flex;gap:7px;max-width:1600px;margin:0 auto;padding:10px 22px}.city-nav button{background:#fff;color:var(--green);border-color:var(--line);font-size:13px}.city-nav button:first-child{background:var(--green);color:#fff}.city-app .hero h2{font-size:21px}.city-app .mapcard,.city-app aside{box-shadow:0 3px 16px #173e350b}.category-icon{font-size:18px}.category-tile{display:flex;align-items:center;gap:5px}.category-more,#mapTools,.map-mode-chip,.sheet-tools{display:none}.poi-selected circle{stroke:#e3bc6a!important;stroke-width:3}.city-app .result small{font-size:12px}.city-app .detail{border-color:#e1e5da}.city-app .maplabel.poi-label{font-weight:650}
.research-admin>header{background:#103e35;color:#fff;max-width:none}.research-admin>header a{color:#e6ebde}.research-admin>header button{border-color:#d8ded3}.research-admin .research-photo{background:#e6e8df}.research-admin .research-card{box-shadow:0 2px 8px #163c3310}.research-admin .publish-requirements{padding:12px;border:1px solid #d5d9cc;border-radius:10px;background:#f6f4eb;color:#344f43;font-size:13px}.research-admin .rights-fields{border:1px solid #d8ded3;border-radius:10px;padding:10px}.research-admin .research-inline-message{background:#fff4ed;padding:7px;border-radius:6px}.research-admin .research-inline-message:empty{display:none}
@media(max-width:760px){
.city-app{height:100dvh;overflow:hidden;display:flex;flex-direction:column}.city-app>header{flex:none;padding:6px 10px;gap:8px;min-height:52px}.city-app .brand{gap:7px}.city-app .brand h1{font-size:16px;max-width:220px;letter-spacing:-.3px}.brand-mark{width:40px;height:40px}.city-app .languages button{min-height:34px;padding:4px 8px}.city-app>main{flex:1 1 0;min-height:0;width:100%;display:flex;flex-direction:column;padding:6px 7px 0;gap:5px;overflow:hidden}.city-app .hero,.city-app .quick,.city-app .bottom,.city-app footer{display:none}.city-app #searchform{flex:none;gap:5px}.city-app #query{min-height:42px;padding:8px 10px;font-size:16px}.city-app #searchform button{min-height:42px;padding:6px 12px;font-size:13px}.city-app .suggestions{position:absolute;top:103px;left:8px;right:8px;z-index:20;max-height:40dvh}.city-app .categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;overflow:hidden;flex:none;padding:0}.city-app .categories .category-all,.city-app .categories .category-extra{display:none}.city-app .categories-expanded .category-all,.city-app .categories-expanded .category-extra{display:flex}.city-app .categories-expanded{max-height:27dvh;overflow:auto}.city-app .categories button{min-width:0;min-height:47px;padding:3px 2px;flex-direction:column;justify-content:center;gap:1px;line-height:1.05;font-size:10px;white-space:normal}.city-app .category-tile small{font-size:9px}.city-app .category-icon{font-size:17px}.city-app .category-more{display:block;background:#fff;border-color:var(--line);color:var(--green)}.city-app .category-extra:not(.category-tile){background:#fff;color:var(--green)}.city-app .content{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:4px;position:relative}.city-app .mapcard{flex:1 1 0;min-height:0;display:flex;flex-direction:column;border-radius:13px;position:relative;overflow:hidden}.city-app .maptop{position:absolute;z-index:4;top:5px;right:5px;left:5px;padding:0;display:flex;justify-content:flex-end;pointer-events:none;background:none}.city-app #mapTools{display:block;font-size:11px;min-height:32px;pointer-events:auto;padding:4px 8px;box-shadow:0 2px 8px #173e351a}.city-app .maptop .modes,.city-app .maptop .mapoptions,.city-app #area{display:none}.city-app.tools-open .maptop{display:grid;grid-template-columns:1fr;gap:5px;background:#fff;padding:7px;border:1px solid var(--line);border-radius:10px;pointer-events:auto}.city-app.tools-open .maptop .modes,.city-app.tools-open .maptop .mapoptions{display:flex}.city-app.tools-open #area{display:block}.city-app .mapframe{flex:1 1 0;min-height:0;height:auto;max-height:none}.city-app .map-mode-chip{display:block;position:absolute;left:8px;top:7px;z-index:2;background:white;border:1px solid var(--line);padding:5px 8px;border-radius:8px;font-size:11px;cursor:pointer}.city-app .legend{padding:3px 7px;font-size:9px;gap:7px;flex:none}.city-app .controls{bottom:8px;right:7px;gap:3px}.city-app .controls button{min-height:35px;font-size:12px}.city-app #plus,.city-app #minus{width:38px;min-width:38px;font-size:21px}.city-app .content aside:not(.sheet-open){display:none}.city-app .content aside.sheet-open{position:relative;inset:auto;margin:0;width:100%;max-height:none;min-height:0;flex:0 0 38%;border-radius:15px 15px 8px 8px;box-shadow:0 -3px 10px #173e3515;padding:0 12px 10px;overflow:auto}.city-app[data-sheet-level="0"] .content aside.sheet-open{flex-basis:116px}.city-app[data-sheet-level="2"] .content aside.sheet-open{flex-basis:75%}.city-app .content aside.sheet-open:before{display:none}.city-app .sheet-tools{display:flex;position:sticky;top:0;z-index:5;background:#fff;align-items:center;justify-content:space-between;gap:7px;padding:4px 0;border-bottom:1px solid #eef0e9}.city-app .sheet-tools button{font-size:11px;min-height:32px;padding:4px 8px}.city-app .sheet-handle{background:#e9eee6;color:var(--green);touch-action:none;flex:1}.city-app .sheet-head,.city-app .panel-heading>button{display:none}.city-app aside h2{font-size:18px;margin:6px 0}.city-app aside .modern-address{font-size:13px;margin:4px 0}.city-app .result{padding:8px 0}.city-app .city-nav{order:3;flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:4px 5px calc(4px + env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line);width:100%;margin:0}.city-app .city-nav button{font-size:10px;min-height:42px;padding:3px 0;border:0;background:white;color:#294c41;display:grid;place-items:center;line-height:1.1}.city-app .city-nav button:before{font-size:18px;line-height:1}.city-app #navMap:before{content:'⌖'}.city-app #navPlaces:before{content:'▦'}.city-app #navHistory:before{content:'▤'}.city-app #navArchive:before{content:'▧'}.city-app #navMore:before{content:'•••'}.city-app #navMap{background:#e4eee4}.city-app.map-expanded .content{position:fixed;inset:0;padding:5px;gap:4px;z-index:10}.city-app.map-expanded .mapcard{height:auto}.city-app.map-expanded .mapframe{height:auto}.city-app.map-expanded aside.sheet-open{max-height:none}.city-app.picking-place .content aside{display:none}.city-app dialog{max-height:90dvh;max-width:96vw}.city-app .pick-notice{top:54px}
}

/* RC11: shared civic identity and persistent desktop navigation. */
.map-cluster{cursor:pointer}.picking-place .map-cluster{pointer-events:none}
.city-app .city-nav button:focus-visible{outline:3px solid #bb8c3f}
.civic-admin>header,.research-admin>header{background:#103e35;color:#fff;max-width:none;padding:12px 22px;flex-wrap:wrap}
.civic-admin>header a,.research-admin>header a{color:#f6f4eb}
.civic-admin .brand-mark,.research-admin .brand-mark{width:46px;height:46px}
@media(min-width:1000px){
.city-app{display:grid;grid-template-columns:188px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100dvh;align-items:start}
.city-app>header{grid-column:1/-1;width:100%;margin:0}
.city-app>.city-nav{display:flex;flex-direction:column;align-self:start;position:sticky;top:12px;margin:12px 0 12px 12px;padding:9px;background:#fff;border:1px solid var(--line);border-radius:15px}
.city-app>.city-nav button{text-align:left;min-height:46px}
.city-app>main{min-width:0;width:100%;margin:0;padding:12px}
.city-app .hero{margin:0 0 10px}
.city-app .mapframe{height:clamp(410px,calc(100dvh - 295px),900px)}
.city-app .content{grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:10px}
.city-app .content aside{max-height:78dvh;overflow:auto}
}
@media(max-width:760px){.city-app .content aside.sheet-open{overscroll-behavior:contain}.city-app .sheet-tools button{min-height:36px}}

/* RC11 final visual QA: icons independent of installed fonts. */
.city-app>header{width:100%}
.city-app .category-icon{display:inline-flex;align-items:center;justify-content:center}
.city-app .category-icon svg{width:20px;height:20px;flex:none}
.city-app .city-nav button{display:flex;align-items:center;gap:9px}
.city-app .city-nav button svg{width:21px;height:21px;flex:none}
.city-app .city-nav button:before{content:none!important}
.city-app .category-tile[aria-pressed=true] .category-icon{color:inherit!important}
@media(max-width:760px){.city-app .categories{grid-template-columns:repeat(4,minmax(0,1fr))}.city-app .categories:not(.categories-expanded) .category-more{grid-column:auto}.city-app .city-nav button{display:flex;flex-direction:column;gap:2px;justify-content:center}.city-app .city-nav button svg{width:22px;height:22px}.city-app .category-tile{min-height:43px}.city-app .category-more{min-height:43px}}

/* RC12 address plan and utility controls */
#mapNotice{font-size:12px;padding:0 10px;color:#276b5d}#mapNotice:empty{display:none}#locateMe{font-size:21px;color:#276b5d}#numberMode{max-width:190px;min-height:36px}.city-app #map .number{font-weight:650;pointer-events:none;paint-order:stroke;stroke:#f7f6ef;stroke-linejoin:round}.city-app #map .streetlabel{font-weight:650;letter-spacing:0}.city-app #modalbody>.result{margin-top:5px}.city-app #modalbody>button{margin:4px 5px 4px 0}.city-app #map .building-shape{touch-action:none}.city-app #modalbody .form select{width:100%}

.brand-icon{display:block;flex:none;width:44px;height:44px;overflow:hidden;border-radius:12px;background:#fbf8ed}.brand .brand-icon .brand-mark{display:block;max-width:none;width:65px;height:65px;position:relative;left:-11px;top:-1px;border-radius:0}

.brand .brand-icon .brand-mark{width:100%;height:100%;position:static;object-fit:contain;border-radius:0}.brand-icon{flex:none}.compare-slider{position:relative;overflow:hidden;border-radius:12px;background:#e7e9df;aspect-ratio:4/3}.compare-slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.compare-slider .compare-after{clip-path:inset(0 0 0 var(--split,50%))}.compare-slider-control{width:100%;margin:12px 0}.archive-full{max-height:70vh;width:100%;object-fit:contain}.story img{cursor:zoom-in}.offline-banner{padding:6px 12px;background:#fff3cd;color:#5c4311;font-size:13px;text-align:center}

.quality-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.quality-metric{padding:16px;background:#fff;border:1px solid #d4ded5;border-radius:10px}.quality-metric strong,.quality-metric span{display:block}.quality-metric strong{font-size:24px}.quality-evidence{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;background:#fff;padding:12px}#issues button,#reports button{margin:4px}

.history-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.history-filters input{grid-column:1/-1}.history-filters input,.history-filters select{width:100%;min-width:0;min-height:44px;font:inherit;padding:8px}.history-theme{margin:18px 0}.history-theme h3{margin:0 0 8px}.history-theme details{margin:6px 0}.history-theme summary{cursor:pointer;min-height:36px}.history-theme h4{margin:12px 0 4px}.history-theme .actions{flex-wrap:wrap}.history-theme [data-article]{scroll-margin-top:12px}

/* RC15.1 — compact content without changing city identity or historical data */
.address-highlight{display:inline-block;margin:0 0 8px;padding:5px 10px;border-radius:8px;background:#e7eee4;color:#174f3d;font-weight:650;font-size:15px}
.city-app #modalbody>h2{padding-right:44px;overflow-wrap:anywhere}
.city-app #modal .close{position:sticky;top:0;z-index:6}
.compact-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}
.compact-nav button{min-width:0;min-height:44px;font-size:14px;padding:7px;line-height:1.2}
.catalog-grid{display:grid;gap:8px}
.catalog-grid .photo-catalog-entry{margin:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f9faf7;overflow-wrap:anywhere}
.photo-catalog-entry h3{margin:0 0 5px;font-size:16px;line-height:1.25}
.photo-catalog-entry p{margin:5px 0;font-size:13px;line-height:1.4}
.photo-catalog-entry small{display:block;line-height:1.35}
.photo-catalog-entry .actions{margin:8px 0 0;align-items:center;gap:8px}
.photo-catalog-entry .actions a{font-size:13px;color:var(--green)}
.photo-catalog-entry .actions button{font-size:13px;min-height:40px;padding:6px 8px}
.catalog-modal .history-filters button,.history-modal .history-filters button{min-height:40px;padding:6px 10px}
@media(max-width:760px){
 .city-app[data-sheet-level="1"] .content aside.sheet-open{flex-basis:42%}
 .city-app .content aside.sheet-open h2{margin:8px 0 5px;line-height:1.2}
 .city-app #modalbody>h2{font-size:22px;line-height:1.2;margin:4px 0 8px}
 .history-modal>p,.catalog-modal>p{margin:7px 0;font-size:14px;line-height:1.4}
 .history-filters{gap:6px;margin:8px 0}
 .history-filters select{font-size:14px}
 .city-app #query{font-size:16px}
}

/* RC17 isolated review overlay; not part of address records. */
#reviewGeometryCredit{font-size:12px;line-height:1.5;color:#52665b;padding:4px 8px;overflow-wrap:anywhere}#reviewGeometryCredit[hidden],#reviewGeometry[hidden]{display:none!important}.geometry-review-shape{cursor:pointer}.geometry-review-shape:focus{stroke:#426a55;stroke-width:2;outline:none}.mapoptions{flex-wrap:wrap}

/* RC18: separate unverified geometry from address status. */
#reviewGeometryCredit{font-size:11px;line-height:1.35;padding:3px 8px}.review-legend-item{font-weight:600}.review-legend-item:before{border-radius:2px!important;border:1px dashed #897b65;background:#ded7c8!important}#reviewGeometry[aria-pressed=true]{border-color:#897b65;background:#efe9dd;color:#574e3e}

/* Compact map attribution, detailed credits on about page. */
#reviewGeometryCredit{margin:0;padding:2px 8px;font-size:10px;line-height:1.3;text-align:right;color:#52665b;background:#f8f9f5}#reviewGeometryCredit a{color:inherit;text-decoration:underline;text-underline-offset:2px}#map-sources{margin-top:2rem;border-top:1px solid #cdd6ca;padding-top:1rem;overflow-wrap:anywhere}

/* Independent mobile screens: no crushed map behind lists/cards. */
.city-app .city-nav button:first-child,.city-app #navMap{background:#fff;color:var(--green)}
.city-app .city-nav button[aria-current="page"]{background:#e4eee4;color:#164f43}
.mobile-card-back{display:none}
@media(max-width:760px){
 .city-app.has-sheet:not(.picking-place) .content .mapcard{display:none}
 .city-app.has-sheet:not(.picking-place) .content aside.sheet-open{flex:1 1 0;max-height:none;min-height:0;border-radius:13px;overflow:auto}
 .city-app.has-sheet .sheet-handle{display:none}
 .city-app .mobile-card-back{display:inline-flex;align-items:center;justify-content:center;flex:1}
 .city-app .sheet-tools{justify-content:flex-end;min-height:44px}
 .city-app .sheet-tools button{min-height:40px}
 .city-app.has-sheet .content aside .result{min-height:48px}
 .city-app.has-sheet .content aside h2{overflow-wrap:anywhere}
}
