:root{--ink:#141719;--deep:#111516;--line:#736e61;--gold:#d2b58b;--cream:#e9ddc6;--paper:#bcb5a5;--rose:#b48688;--moss:#3f554a}
*{box-sizing:border-box}html{height:100%}body{margin:0;min-height:100%;color:var(--cream);background:#101314;font:15px/1.5 Georgia,'Times New Roman',serif}
a{color:inherit}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #eac78e;outline-offset:3px}
.app-shell{max-width:1800px;margin:auto;padding:18px 26px 22px;min-height:100vh;background:radial-gradient(ellipse at 75% 0%,#342b31 0%,transparent 34%),linear-gradient(#15181a,#131617)}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:4px 4px 16px;border-bottom:1px solid #786c64}.topline,.title-under,.top-note,.eyebrow,.date-stamp,.level-switch>span,.map-foot,.pagefoot,.scale-note,.small-cap,.year-label{font:700 10px/1.4 Consolas,'Courier New',monospace;letter-spacing:.15em}.topline{color:#b4a396;display:block;margin-bottom:4px}.topbar h1{font-size:clamp(30px,3.6vw,57px);font-weight:400;line-height:1;letter-spacing:-.035em;margin:0}.title-under{display:block;color:var(--rose);margin:9px 0 0}.top-note{display:flex;align-items:center;gap:10px;color:#a99793;white-space:nowrap}.rule{height:1px;width:23px;background:#a37d75}
.layout{display:grid;grid-template-columns:minmax(205px,235px) minmax(0,1fr) minmax(210px,238px);gap:15px;margin-top:17px;align-items:start}.index-panel,.notes-panel{border:1px solid #64574d;background:linear-gradient(140deg,#1f2021,#151718 78%);box-shadow:inset 0 0 0 3px #161719,0 8px 18px #0005;min-height:650px;padding:20px 14px}.ornament{text-align:center;font-size:17px;color:#b28b7c;line-height:1;margin:0 0 15px}.index-panel h2{margin:0 0 3px;font-size:25px;font-weight:400;text-align:center}.subtle{margin:0 0 16px;font-size:12px;color:#aa9c90;text-align:center}.index-links{border-top:1px solid #6e5b53;padding-top:10px;display:flex;flex-direction:column;gap:7px}.index-links a{display:flex;align-items:center;gap:10px;min-height:46px;padding:7px 8px;color:#e9d7c5;background:#262527;border:1px solid #584a44;text-decoration:none;transition:background .13s,border-color .13s}.index-links a:hover,.index-links a:focus{background:#3e3135;border-color:#ba8e88}.index-links a .n{color:#b9968e;font:700 11px Consolas,monospace;align-self:start;padding-top:3px}.index-links a span:nth-child(2){flex:1;font-size:14px;line-height:1.2}.index-links a small{display:block;color:#9d9b91;font:11px Consolas,monospace;margin-top:3px}.arrow{color:#b79a84}.aside-bottom{margin-top:20px;color:#b2aaa0;font-size:12px;line-height:1.55}.small-rule{height:1px;background:#624d48;margin-bottom:12px}
.map-panel{background:#1c2121;border:2px solid #9b816c;box-shadow:inset 0 0 0 4px #121516,0 9px 24px #0007;min-width:0;overflow:hidden}.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 13px;border-bottom:1px solid #695b50;background:#1d1e20}.date-stamp{display:flex;align-items:center;gap:8px;color:#b8a79c}.dot{width:7px;height:7px;border-radius:50%;background:#b47d79;box-shadow:0 0 10px #bc6a7c90}.level-switch{display:flex;align-items:center;gap:5px}.level-switch>span{color:#a6a1a0;margin-right:7px;font-size:9px}.level{padding:7px 9px;border:1px solid #645951;color:#ccb6a9;background:#252528;cursor:pointer;font:700 10px Consolas,monospace}.level.active{background:#594141;border-color:#c69d8d;color:#fae9d3}.level:hover{border-color:#d9b48d}.map-scroll{overflow:auto;background:#171c1c}.plan{display:block;width:100%;height:auto;aspect-ratio:1100/700;min-height:440px}.map-foot{display:flex;justify-content:space-between;gap:7px;padding:12px;border-top:1px solid #615c53;color:#aba092;font-size:9px}
.map-link{cursor:pointer;outline:none}.map-link:hover .house-footprint,.map-link:focus .house-footprint{stroke:#f6d99a;stroke-width:7}.map-link:hover .park-region,.map-link:focus .park-region{stroke:#e7ca9d;stroke-width:5}.map-link:hover .garden-link,.map-link:focus .garden-link{fill-opacity:.5;stroke:#dbb990}.map-link:hover .driveway,.map-link:focus .driveway{stroke:#aaa08c}.map-link:hover .map-placard,.map-link:focus .map-placard{fill:#644345;stroke:#f1d3af}.map-link:hover .street-link,.street-link:hover rect{filter:brightness(1.17)}.street-link:hover rect:first-child{fill:#4b4b49}.map-placard{fill:#18201f;stroke:#b49a83;stroke-width:1.2}.placard-text{font:bold 14px Consolas,'Courier New',monospace;letter-spacing:.07em;fill:#e7d6b9;pointer-events:none}.building-label{fill:#f8e2bb;font:bold 24px Georgia,serif;letter-spacing:.045em;pointer-events:none}.road-label{fill:#e6d3ba;font:bold 14px Consolas,monospace;letter-spacing:.2em;pointer-events:none}.park-label{fill:#e9dcc4;font:27px Georgia,serif;letter-spacing:.08em;pointer-events:none}.small-cap{fill:#c0ba9e;font-size:11px;pointer-events:none}.north text{fill:#e9d9bd;font:700 17px Georgia,serif}.year-label{fill:#bbad99;font-size:12px}.scale-note{fill:#dbccaf;font-size:12px}
.notes-panel{padding:20px 17px}.notes-panel .eyebrow{color:#c2978d;margin:5px 0 12px}.notes-panel h2{font-size:26px;font-weight:400;margin:0 0 13px;line-height:1.08}.notes-panel p{color:#c6b6aa;font-size:13px;line-height:1.6}.notes-panel h3{font-weight:400;font-size:18px;margin:0 0 8px}.note-divider{height:1px;background:#705d57;margin:22px 0}.source-links{display:flex;flex-direction:column;gap:12px}.source-links a{color:#d7bea8;font-size:12px;line-height:1.35;text-decoration:none;border-bottom:1px dotted #80675e;padding-bottom:7px}.source-links a:hover{text-decoration:underline}.notes-panel p.source-footnote{color:#a69991;font-size:11px;margin-top:20px}.pagefoot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #635951;color:#9c9188;margin-top:17px;padding-top:10px}
@media(max-width:1380px){.layout{grid-template-columns:200px minmax(0,1fr) 206px;gap:10px}.app-shell{padding:12px}.index-panel,.notes-panel{padding:17px 10px;min-height:0}.notes-panel h2{font-size:23px}.level-switch>span{display:none}}
@media(max-width:1080px){.layout{grid-template-columns:205px minmax(0,1fr)}.notes-panel{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:180px 1fr 1fr;column-gap:20px}.notes-panel>.ornament,.notes-panel>.eyebrow{display:none}.notes-panel .note-divider{display:none}.notes-panel h2{grid-column:1;margin:0}.notes-panel p:first-of-type{grid-column:2;margin:0}.notes-panel h3{display:none}.notes-panel .source-links{grid-column:3;grid-row:1/4}.notes-panel .source-footnote{grid-column:1/-1}.plan{min-height:450px}}
@media(max-width:770px){.app-shell{padding:10px}.topbar{align-items:flex-start}.top-note{display:none}.layout{display:flex;flex-direction:column}.index-panel{order:2;width:100%;padding:12px}.map-panel{order:1;width:100%}.notes-panel{order:3;width:100%;display:block;padding:14px}.index-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.index-panel>.ornament,.index-panel h2,.subtle,.aside-bottom{display:none}.index-links a span:nth-child(2){font-size:13px}.map-scroll{max-width:100%}.plan{width:750px;height:auto;min-height:0}.map-toolbar{flex-wrap:wrap;gap:10px}.level-switch{margin-left:auto}.map-foot{font-size:8px}.pagefoot{font-size:9px}}
@media(max-width:430px){.topbar h1{font-size:33px}.title-under{margin-top:5px}.level{font-size:9px;padding:6px}.index-links{gap:5px}.index-links a{min-height:41px}.index-links a small{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* One-page navigation: no building/area link changes the parent URL. */
.street-button,.walk-button {cursor:pointer;border:1px solid #b5927e;background:#3a2c2d;color:#f2dfc4;padding:9px 11px;font:700 11px Consolas,monospace;letter-spacing:.035em}
.street-button:hover,.walk-button:hover{background:#604549;border-color:#e3c29c}
.walk-button{margin:12px 0 4px;width:100%;text-align:center}
.map-toolbar{gap:8px}.street-button{margin-right:auto}.map-toolbar .date-stamp{white-space:nowrap}
body.modal-open{overflow:hidden}
.room-dialog{padding:0;width:min(1210px,96vw);height:min(92vh,930px);max-width:96vw;max-height:92vh;overflow:hidden;color:#efddc6;border:2px solid #ad8e73;background:#171a1b;box-shadow:0 21px 70px #000c,inset 0 0 0 4px #252324}
.room-dialog::backdrop{background:rgba(3,5,8,.83);backdrop-filter:blur(3px)}
.room-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.room-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0;border-bottom:1px solid #775c53;background:#272427;padding:12px 17px;min-height:74px}
.room-kicker,.source-kicker{display:block;color:#c29b90;font:bold 10px Consolas,monospace;letter-spacing:.12em}
.room-head h2{margin:4px 0 0;font:normal clamp(22px,2.6vw,33px) Georgia,serif;line-height:1.1}
.room-actions{display:flex;gap:10px;align-items:center}
.room-actions button{background:#342a2c;border:1px solid #947565;padding:10px 13px;color:#f8e8d4;cursor:pointer}
.room-actions button:hover{background:#513b3e}.room-actions button[hidden]{display:none}
.room-content{flex:1;min-height:0;position:relative}.room-frame{height:100%;width:100%;border:0;background:#141719;display:block}
.room-frame[hidden],.source-preview[hidden],.street-content[hidden]{display:none!important}
.source-preview{min-height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;max-width:680px;margin:auto;padding:30px;color:#d5c2b2}
.source-preview h3{font:normal clamp(25px,4vw,40px) Georgia,serif;margin:0;color:#f4e3cb}
.source-preview p{font-size:17px;line-height:1.6;margin:0}.source-preview a,.street-info a{border:1px solid #b7937a;padding:12px 16px;background:#4d3337;text-decoration:none;color:#f7e3ce;font-weight:bold}
.source-preview a:hover,.street-info a:hover{background:#6a454b}
.street-content{height:100%;display:flex;flex-direction:column;min-height:0}
.street-info{background:#202325;border-bottom:1px solid #776357;padding:13px 18px;display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.street-info strong{font:normal 19px Georgia,serif}.street-info p{flex:1 1 300px;margin:0;color:#d6c9bf;font-size:13px;line-height:1.5}
.street-info a{padding:9px 12px;font-size:12px}.street-method{color:#af9d96;font:11px Consolas,monospace}
.street-content iframe{display:block;width:100%;flex:1;min-height:0;border:0;background:#24302d}
@media(max-width:880px){.map-toolbar{flex-wrap:wrap}.street-button{order:3;width:100%;margin:3px 0 0}.room-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-width:1px}.room-head{padding:9px 12px}.room-actions{gap:5px}.room-actions button{padding:9px}.source-preview{padding:25px 20px}.street-info{gap:9px}.street-info p{flex:1 1 100%;order:3}.street-method{display:none}}
@media(max-width:460px){.room-head h2{font-size:23px}.room-kicker{font-size:9px}.room-actions button{font-size:12px}.street-info strong{font-size:17px}}
