:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#25372d;background:#f7f6f1;font-synthesis:none;--ink:#25372d;--muted:#6c766c;--line:#dedfd4;--green:#285b3c;--surface:#fdfcf8;--amber:#916219}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{touch-action:manipulation}button{border:1px solid #ced4c7;background:var(--surface);padding:9px 12px;border-radius:7px;color:var(--ink);cursor:pointer;font-size:12px}button:hover{background:#e9eee3}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a1be75;outline-offset:3px}button[aria-pressed=true],.primary-button{background:var(--green);color:#fff;border-color:var(--green)}a{color:inherit}select{max-width:100%;border:1px solid #ced4c7;border-radius:7px;background:var(--surface);padding:9px;color:var(--ink);font-size:12px}input:not([type=range]){width:100%;border:1px solid #ced4c7;border-radius:6px;padding:9px;background:var(--surface);color:var(--ink)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-family:Georgia,serif;font-size:29px;font-weight:400;letter-spacing:-1px}h2{font-size:18px;font-weight:500}h3{font-size:12px;font-weight:600}.app-header{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid var(--line);gap:18px}.identity{display:flex;align-items:center;gap:13px}.identity p{color:var(--muted);font-size:11px;letter-spacing:.4px}.emblem{display:grid;place-items:center;width:41px;height:47px;background:#dfe6d6;border-radius:16px 16px 5px 5px;font:26px Georgia,serif}.property-title{display:grid;gap:6px;text-align:center;font-size:11px;letter-spacing:1.5px}.property-title small{font-size:11px;color:var(--muted);letter-spacing:0}.quiet-button{text-decoration:none;font-size:12px;border-bottom:1px solid #a1aa96;padding:7px 0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:calc(100vh - 92px)}.explorer{min-width:0;display:flex;flex-direction:column}.map-toolbar{padding:15px 23px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#eeefe6}.map-toolbar label,.filter-label{font-size:11px;color:var(--muted);display:flex;gap:10px;align-items:center}.view-buttons{display:flex;gap:5px}#viewport{height:calc(100vh - 328px);min-height:420px;position:relative;background:#cbd4c2;overflow:hidden}#viewport canvas{display:block;width:100%;height:100%;touch-action:none}#loading{position:absolute;inset:0;display:grid;place-items:center;background:#dce2d4;z-index:10;font-size:17px}.map-notes{position:absolute;top:15px;left:18px;display:flex;gap:7px;flex-direction:column;pointer-events:none;z-index:2}.map-notes span{align-self:flex-start;font-size:11px;padding:6px 8px;background:#fdfcf8ed;border-radius:4px;box-shadow:0 2px 10px #0000000d}.navigation-hint{position:absolute;bottom:14px;left:18px;background:#fdfcf8dc;color:#334736;font-size:10px;padding:6px 9px;border-radius:4px;pointer-events:none}.north{position:absolute;bottom:16px;right:20px;display:grid;text-align:center;background:#fdfcf8ed;width:34px;border-radius:20px;padding:6px;font-size:10px;pointer-events:none}#north-arrow{display:block;font-size:22px;line-height:26px}#edit-hint{position:absolute;top:84px;left:18px;right:18px;text-align:center;padding:12px;background:#285b3cf2;color:#fff;font-size:12px;border-radius:6px;z-index:3;pointer-events:none}.map-attribution{padding:6px 16px;color:var(--muted);font-size:10px;background:#e9ecdf}.timeline{padding:21px 25px 19px}.timeline-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.5px;color:var(--muted);font-weight:600}.timeline h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin-top:5px}.slider-row{display:flex;align-items:center;gap:15px;margin:15px 0 9px}.slider-row button{padding:5px 10px}.slider-row input{width:100%;min-width:0;accent-color:var(--green);height:26px}.timeline-labels{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted)}.inspector{padding:22px 23px;border-left:1px solid var(--line);background:var(--surface);min-width:0;max-height:calc(100vh - 92px);overflow:auto}.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.text-button{background:none;border:0;padding:5px 0;border-radius:0;font-size:11px;color:var(--green)}.text-button:hover{background:none;text-decoration:underline}#selected-media{background:#eceee5;border-radius:8px;overflow:hidden;min-height:180px;display:flex;align-items:center;justify-content:center}#preview,#video{display:block;width:100%;max-height:300px;object-fit:contain}.photo-heading{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:14px}.photo-heading h2{font-size:14px;overflow-wrap:anywhere}.tag{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.muted{font-size:11px;line-height:1.6;color:var(--muted)}#photo-date{margin-top:4px}.placement-status{margin:13px 0 10px;font-size:11px;color:var(--amber);background:#f4eddc;padding:8px 10px;border-radius:6px}.placement-status.adjusted{color:#285b3c;background:#e8efdf}.photo-facts{margin:0 0 15px;font-size:11px;display:grid;gap:8px}.photo-facts div{display:flex;justify-content:space-between;gap:8px}.photo-facts dt{color:var(--muted)}.photo-facts dd{margin:0;text-align:right}.photo-actions{display:flex;gap:6px;flex-wrap:wrap}.photo-actions button{font-size:11px;flex:1}.inspector label{font-size:11px;display:grid;gap:6px;color:var(--muted)}#edit-panel{display:grid;gap:12px;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}#edit-coordinates{font-size:10px;color:var(--muted)}#message{font-size:11px;color:var(--green);padding-top:8px;min-height:23px}#message.error{color:#9b332c}.visit-photos{margin-top:20px;border-top:1px solid var(--line);padding-top:17px}.collection-heading,.comparison-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}.collection-heading span{font-size:11px;color:var(--muted)}#photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:240px;overflow:auto;padding:3px}#photo-grid button{padding:0;border:2px solid transparent;background:#e3e8db;overflow:hidden;position:relative;border-radius:5px;aspect-ratio:1.1}#photo-grid button[aria-pressed=true]{border-color:#437b45}#photo-grid img{width:100%;height:100%;object-fit:cover;display:block}#photo-grid span{position:absolute;bottom:2px;right:3px;color:#fff;text-shadow:0 1px 3px #000;font-size:10px}.model-notes{margin-top:23px;font-size:11px;color:var(--muted);line-height:1.6;border-top:1px solid var(--line);padding-top:15px}.model-notes summary{cursor:pointer;color:var(--ink)}.model-notes p{margin-top:10px}.model-notes button{margin-top:12px}#comparison{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}#compare-image{width:100%;max-height:230px;object-fit:contain;background:#eceee5;border-radius:6px}dialog{max-width:min(900px,94vw);max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--surface);color:var(--ink)}dialog::backdrop{background:#17291ecc}.reference-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}dialog label{display:flex;gap:8px;align-items:center;font-size:12px}dialog .muted{margin:9px 0}#reference-image{max-width:100%;max-height:65vh;object-fit:contain}.model-notes a{color:var(--green)}
@media(min-width:1600px){.workspace{grid-template-columns:minmax(0,1fr) 390px}.inspector{padding:25px 28px}#preview,#video{max-height:370px}}
@media(max-width:960px){.property-title{display:none}.app-header{padding:0 20px}.workspace{grid-template-columns:minmax(0,1fr) 300px}.inspector{padding:18px 16px}.map-toolbar{padding:12px}.map-toolbar label{gap:6px}.view-buttons button{padding:8px}.navigation-hint{font-size:9px;right:60px}.timeline{padding:20px 15px}.timeline-top{gap:8px}.filter-label{gap:5px}.timeline h2{font-size:21px}}
@media(max-width:720px){.app-header{height:79px}.workspace{grid-template-columns:1fr}.inspector{max-height:none;border-left:0;border-top:1px solid var(--line)}#viewport{height:55vh;min-height:370px}.map-toolbar{gap:9px}.map-toolbar label{font-size:10px}.map-toolbar select{max-width:170px}.map-notes{left:10px;top:10px}.map-notes span{font-size:10px}.navigation-hint{left:10px}.timeline{padding:17px}#selected-media{max-width:650px}#preview,#video{max-height:450px}.inspector-heading .eyebrow{font-size:10px}.photo-actions button{min-height:40px}#photo-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:300px}.model-notes{margin-bottom:20px}}
@media(max-width:380px){.view-buttons button{padding:7px}.map-toolbar{padding:10px;gap:8px}.map-toolbar label{width:100%;justify-content:space-between}.map-toolbar select{max-width:220px;width:75%}.view-buttons{margin-left:auto}#photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-label{display:grid;font-size:10px}.timeline h2{font-size:20px}}
.placement-status.estimated{color:#285b65;background:#e5eff0}.landmark-evidence{font-size:11px;line-height:1.55;margin:0 0 14px;color:#526559}.landmark-evidence p+p{margin-top:5px}.landmark-evidence details{margin-top:6px}.landmark-evidence summary{cursor:pointer;color:var(--green)}.landmark-evidence details p{margin:7px 0}.landmark-evidence a{color:var(--green)}

.map-notes{max-width:calc(100% - 36px)}.map-notes span{line-height:1.4;max-width:100%}

.building-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#f5f5ed;padding:10px 23px;border-bottom:1px solid var(--line)}#building-buttons{display:flex;gap:5px;align-items:center;flex-wrap:wrap}#building-buttons>span{font-size:11px;color:var(--muted);margin-right:7px}.building-toolbar button{font-size:11px;padding:6px 9px}.building-switches{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.building-switches label{font-size:11px;color:#52604f;display:flex;align-items:center;gap:4px}.building-switches input[type=checkbox]{width:auto;accent-color:var(--green)}#building-labels{position:absolute;inset:0;pointer-events:none;z-index:3}.building-label{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;white-space:nowrap;font-size:10px;font-weight:600;padding:4px 8px;background:#faf8eeed;border:1px solid #c5ceba;border-radius:5px;box-shadow:0 2px 6px #17291e26}.building-copy{font-size:12px;line-height:1.65;margin:12px 0}.building-dimensions{font-size:12px;line-height:1.6;margin:14px 0 6px}.building-downloads{display:flex;flex-wrap:wrap;gap:10px 16px;margin:15px 0 24px}.building-downloads a{font-size:11px}.building-reference-title{margin-bottom:12px}#building-source-image{width:100%;max-height:300px;object-fit:contain;background:#e6eadf;border-radius:7px}#building-source-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:9px}#building-source-photos button{padding:0;overflow:hidden;aspect-ratio:1}#building-source-photos img{width:100%;height:100%;object-fit:cover}.building-time-note{margin-top:22px}#building-title{font:28px Georgia,serif}#viewport{height:calc(100vh - 380px)}
@media(max-width:960px){.building-toolbar{padding:9px 12px}.building-switches{gap:8px}.building-toolbar button{padding:6px 8px}}
@media(max-width:720px){.building-toolbar{padding:10px}#viewport{height:55vh}.building-switches{gap:12px}#building-buttons{gap:6px}#building-source-image{max-height:400px}}
.house-controls{display:grid;gap:12px;margin:18px 0;padding:15px;border:1px solid var(--line);border-radius:8px;background:#f1f3e9}.house-controls label{display:flex;align-items:center;gap:8px}.house-controls input[type=checkbox]{width:auto;accent-color:var(--green)}.house-controls select{min-width:0}.walk-active{overflow:hidden}.walk-active #viewport{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;min-height:0}.walk-active .map-notes,.walk-active .navigation-hint,.walk-active .north,.walk-active #building-labels{display:none}#walk-hud{position:absolute;inset:0;pointer-events:none;z-index:20}.walk-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:18px}.walk-top>div:first-child{display:grid;gap:5px;background:#fdfcf8ed;border-radius:8px;padding:12px 15px;font-size:13px}.walk-top span{font-size:11px;color:var(--muted)}.walk-actions{display:flex;gap:7px;flex-wrap:wrap;pointer-events:auto}.walk-actions button{background:#fdfcf8ed}.walk-crosshair{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:white;text-shadow:0 1px 3px #000;font-size:22px}.walk-help{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:grid;gap:6px;padding:12px 18px;background:#fdfcf8ed;border-radius:8px;text-align:center;font-size:12px;max-width:calc(100% - 24px);white-space:nowrap}.walk-help span+span{font-size:11px;color:var(--muted)}.walk-touch{display:none;pointer-events:auto;position:absolute;bottom:90px;left:18px;text-align:center}.walk-touch button{width:48px;height:44px;margin:2px;background:#fdfcf8df;font-size:20px;touch-action:none}
@media(pointer:coarse){.walk-touch{display:block}}@media(max-width:720px){.walk-top{padding:10px;flex-direction:column}.walk-actions button{font-size:10px;padding:8px}.walk-help{white-space:normal;width:calc(100% - 24px);bottom:12px;font-size:11px}.house-controls{max-width:100%}}

.walk-photo-tools{position:absolute;top:92px;left:18px;max-width:calc(100% - 36px);display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;background:#fdfcf8ed;padding:10px 12px;border-radius:8px;pointer-events:auto;font-size:11px}.walk-photo-tools label{display:flex;align-items:center;gap:6px}.walk-photo-tools input[type=checkbox]{width:auto;accent-color:var(--green)}.walk-photo-tools select{max-width:180px;padding:7px}.walk-photo-tools button{padding:7px 10px}.walk-photo-tools>span{color:var(--muted)}#walk-photo-hint{flex-basis:100%}#walk-photo-dialog{width:min(1000px,94vw)}#walk-photo-image,#walk-photo-video{width:100%;max-height:68vh;object-fit:contain;background:#e9ecdf;border-radius:7px}#walk-photo-position{margin:10px 0 0}.walk-crosshair.photo-target{color:#d6ed90;font-size:29px}@media(max-width:720px){.walk-photo-tools{top:126px;left:10px;max-width:calc(100% - 20px);gap:7px;padding:8px 10px}.walk-photo-tools select{max-width:155px}#walk-photo-hint{font-size:10px}#walk-photo-dialog{padding:15px}#walk-photo-dialog .reference-heading{gap:8px}#walk-photo-dialog h2{font-size:14px}}

#tree-labels{position:absolute;inset:0;pointer-events:none;z-index:3}.tree-label{background:#edf2e5e8;border-color:#9faf8b;font-size:9px}.walk-active #tree-labels{display:none}#tree-choice{max-width:220px;font-size:11px;padding:6px 8px}

#building-reference-caption{line-height:1.6;margin:10px 0}#walk-ruin{margin-bottom:20px}
.light-controls{display:flex;flex-wrap:wrap;gap:6px;padding-top:10px}.light-controls button{font-size:11px;padding:7px 9px}.house-controls summary{font-size:12px;cursor:pointer}
