.heritage-scene{min-width:0;width:100%;order:3;align-self:center;padding:12px 0 28px}.scene-viewer{background:#f4efe2;border:1px solid #c3bfa8;border-radius:5px;overflow:hidden;color:#263b2d;--scene-scale:1;--scene-ratio:1.777;position:relative}.scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;background:#fffdf5;border-bottom:1px solid #d7d3bf}.scene-toolbar>div:first-child{min-width:0}.scene-toolbar span{font-size:10px;color:#8e8b73;display:block;margin-bottom:3px}.scene-toolbar strong{font-size:13px;line-height:1.5;font-weight:650;display:block}.scene-tools{display:flex;align-items:center;gap:5px;flex:none}.scene-tools button{border:1px solid #cfceb8;border-radius:4px;background:#f9f7ec;color:#2b4531;min-width:40px;min-height:44px;font:inherit;font-size:11px;padding:8px 10px;cursor:pointer}.scene-tools button:hover{background:#e7e9da}.scene-tools button:disabled{opacity:.4;cursor:default}.scene-tools output{font-size:10px;min-width:32px;text-align:center;font-variant-numeric:tabular-nums;color:#626d53}.scene-viewport{position:relative;aspect-ratio:var(--scene-ratio);overflow:hidden;isolation:isolate;width:100%;touch-action:pan-y;background:#f6f0e3;margin:auto}.scene-viewport.is-zoomed{touch-action:none;cursor:grab}.scene-viewport.is-dragging{cursor:grabbing}.scene-plane{width:100%;height:100%;position:relative;transform-origin:center;user-select:none}.scene-plane>img{display:block;width:100%;height:100%;pointer-events:none;user-select:none}.scene-pin{position:absolute;display:grid;place-items:center;min-width:44px;width:44px;height:44px;transform:translate(-50%,-50%) scale(calc(1 / var(--scene-scale)));text-decoration:none!important;z-index:1}.scene-pin>span{display:grid;place-items:center;width:27px;height:27px;border:2px solid #fff9e7;border-radius:50%;background:#9f3027;color:#fff!important;font-size:12px;font-weight:750;line-height:1;box-shadow:0 1px 5px #192a2340}.scene-pin:hover>span,.scene-pin.is-selected>span{background:#224d39;outline:2px solid #ebc173;outline-offset:2px}.scene-pin:focus-visible{outline:2px solid #1c6242;outline-offset:0;border-radius:50%;z-index:2}.scene-caption{padding:10px 16px;border-top:1px solid #d7d3bf;font-size:10px;line-height:1.7;display:flex;gap:18px;justify-content:space-between;background:#fffdf5}.scene-caption span{color:#4a6048}.scene-caption small{color:#92876c;font-size:9px;flex:none}.scene-point-selector{padding-top:16px;min-width:0}.scene-list-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px;color:#d4cbb4;margin-bottom:12px}.scene-list-heading>span:last-child{font-size:10px;color:#9dab92}.scene-point-list{display:flex;align-items:stretch;overflow-x:auto;gap:8px;max-width:100%;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#6c795f transparent;overscroll-behavior-inline:contain}.scene-point-list>a{display:flex;align-items:center;gap:9px;max-width:220px;min-width:145px;flex:none;min-height:48px;border:1px solid #45563e;padding:9px 12px;border-radius:4px;font-size:11px;color:#d0d7c1;text-decoration:none;line-height:1.5}.scene-point-list>a>span{color:#dfbd7e;font-size:12px;font-variant-numeric:tabular-nums;flex:none}.scene-point-list>a:hover,.scene-point-list>a.is-selected{border-color:#d3b47a;background:#243c2b;color:#fff}.scene-detail{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px);border:1px solid #d6d0bb;border-radius:8px;padding:0;background:#fbf8ef;color:#273b2e;overflow:auto;overscroll-behavior:contain}.scene-detail::backdrop,.scene-expanded::backdrop{background:#101f19b8}.scene-detail>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;position:sticky;top:0;padding:22px 26px 18px;background:#fbf8ef;border-bottom:1px solid #ddd9c8;z-index:2}.scene-detail>header span{display:block;font-size:12px;color:#94704a;margin-bottom:8px}.scene-detail>header h2{font-size:25px!important;line-height:1.4!important;font-weight:650;max-width:440px;margin:0;letter-spacing:normal}.scene-detail>header>button{width:44px;height:44px;flex:none;font-size:26px;border:1px solid #d8d6c2;background:#f2f0e4;color:#35452f;border-radius:5px;cursor:pointer}.scene-detail-content{padding:20px 26px 28px}.scene-detail-content p{font-size:16px;line-height:1.9;margin:0 0 20px;white-space:pre-wrap;color:#56634c}.scene-detail-content .scene-body-text{color:#2c3c2d;font-size:17px;line-height:1.95}.scene-detail-content .scene-content-note{font-size:13px;background:#eeeedd;padding:12px 14px;border-radius:4px;color:#677056}.scene-detail-content audio,.reading-article audio{display:block;width:100%;height:44px;margin:10px 0 22px}.scene-detail-content .scene-narration h3{font-size:19px;margin:24px 0 10px}.scene-detail-gallery{display:grid;gap:12px;margin:22px 0}.scene-detail-gallery img{width:100%;height:auto;max-height:440px;object-fit:contain;border-radius:5px;background:#ecebdc}.scene-detail-content .primary{font-size:14px;display:flex;width:fit-content;margin:20px 0;background:#294c36;color:#fff}.scene-detail-content .scene-source{display:block;font-size:12px;line-height:1.8;color:#87613e;text-decoration:underline;overflow-wrap:anywhere;margin-top:22px}.scene-detail-content .scene-detail-page{display:inline-flex;min-height:44px;align-items:center;font-size:13px;color:#31553b;text-decoration:underline}.scene-preview{margin:20px 0}.scene-preview img{width:100%;height:auto;display:block;border-radius:4px}.scene-preview figcaption{font-size:10px;color:#8b856d;line-height:1.7}.scene-expanded{width:calc(100vw - 32px);max-width:1500px;max-height:calc(100dvh - 32px);background:#162b20;border:1px solid #667053;border-radius:6px;padding:12px;overflow:auto}.scene-expanded .scene-viewport{width:min(100%,calc(72dvh * var(--scene-ratio)));height:auto}.scene-expanded .scene-viewer{max-width:100%}body:has(.scene-detail[open]),body:has(.scene-expanded[open]){overflow:hidden}.memory-hero.with-scene{grid-template-columns:minmax(240px,.52fr) minmax(0,1.48fr);gap:36px;padding-top:12px}.with-scene .memory-copy{padding-top:30px;padding-bottom:30px}.heritage-home .with-scene .memory-copy h1{font-size:68px}.with-scene .memory-place{font-size:10px;margin-bottom:26px}.with-scene .memory-prelude{font-size:17px}.with-scene .memory-lead{font-size:14px}.with-scene .memory-entry .primary{font-size:12px;padding:12px 14px}.with-scene .memory-entry{gap:12px}.with-scene .memory-entry .memory-listen{font-size:12px}
/* CMS authoring keeps image positions tied to the exact source image. */
.scene-admin-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr);gap:24px;align-items:start}.scene-admin-columns>section,.scene-admin-columns>aside{min-width:0}.scene-config>summary{font-weight:650;cursor:pointer;color:#355338}.scene-editor-map{position:relative;width:100%;background:#f5efdf;cursor:crosshair;isolation:isolate}.scene-editor-map>img{display:block;width:100%;height:auto}.scene-editor-pin,.scene-editor-selected{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;font-size:10px;font-weight:750;border:2px solid #fffde8;border-radius:50%;width:26px;height:26px;line-height:1;text-decoration:none;box-shadow:0 1px 4px #142d2440}.scene-editor-pin{background:#932e26;color:white!important;z-index:1}.scene-editor-pin.is-current{background:#205a3b;z-index:2}.scene-editor-selected{border:2px dashed #0f6147;border-radius:50%;width:38px;height:38px;background:#e5f1c166;color:#123b28;font-size:26px;pointer-events:none;z-index:3}.scene-editor-list{display:grid;gap:0}.scene-editor-list>a{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0;border-bottom:1px solid #dedfd5;color:#2a4230!important;text-decoration:none}.scene-editor-list>a>span{font-variant-numeric:tabular-nums;color:#967044;font-size:12px;flex:none}.scene-editor-list strong{font-size:13px;font-weight:600;line-height:1.6}.scene-editor-list small{margin-left:auto;font-size:11px;white-space:nowrap;color:#6f7e61}.scene-editor-list a[aria-current]{background:#edf0df;padding-inline:12px;border-radius:5px}.scene-admin-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.scene-admin-gallery img{width:100%;height:100px;object-fit:cover;border-radius:4px}.scene-point-form .form-check{padding-left:1.7em}.scene-point-form .form-check input{margin-top:.3em}.scene-point-form small{font-size:12px}.scene-restore{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #ddd;padding:12px 0;font-size:13px}.scene-admin-columns .workspace-section{padding:22px}.scene-admin-columns .form-grid{gap:16px}.scene-point-form .stack-form label{margin-block:16px}.scene-detail-content #sceneDetailStatus:empty{display:none}
@media(max-width:1200px){.memory-hero.with-scene{grid-template-columns:minmax(230px,.6fr) minmax(0,1.4fr);gap:26px}.heritage-home .with-scene .memory-copy h1{font-size:60px}.scene-toolbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}.scene-toolbar>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.scene-toolbar span{font-size:9px}.scene-toolbar strong{font-size:11px}.scene-tools{justify-content:flex-end}.scene-tools button{font-size:10px;min-height:44px}.scene-caption{flex-direction:column;gap:4px}.scene-admin-columns{grid-template-columns:1fr}.scene-admin-columns>section{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.scene-admin-columns .workspace-section{margin:0}.scene-point-form{margin-top:4px}.scene-point-form .workspace-section{margin-bottom:22px}}
@media(max-width:850px){.scene-admin-columns>section{grid-template-columns:1fr}.scene-admin-columns{gap:20px}.scene-detail>header{padding:18px 20px}.scene-detail>header h2{font-size:23px!important}.scene-detail-content{padding:18px 20px 24px}}
@media(max-width:700px){.memory-hero.with-scene{display:flex;gap:0;padding-top:0}.with-scene .memory-copy{display:contents}.with-scene .memory-place{font-size:10px;margin:20px 0 14px}.with-scene .memory-prelude{font-size:15px}.heritage-home .with-scene .memory-copy h1{font-size:48px;line-height:1.06;margin-bottom:18px}.with-scene .memory-lead{font-size:13px;margin:0 0 18px;max-width:40ch}.with-scene .memory-entry{margin-bottom:24px;gap:16px}.heritage-scene{padding:4px 0 20px}.scene-toolbar{gap:9px;padding:10px}.scene-toolbar>div:first-child{display:block}.scene-toolbar>div:first-child span{font-size:9px;margin-bottom:3px}.scene-toolbar>div:first-child strong{font-size:12px}.scene-tools{justify-content:flex-start;gap:5px}.scene-tools button{font-size:10px;min-width:40px;min-height:44px;padding:7px 9px}.scene-tools output{font-size:10px;min-width:32px}.scene-viewport{min-height:0}.scene-caption{padding:9px 11px;font-size:10px;line-height:1.8;gap:4px}.scene-caption small{font-size:9px}.scene-list-heading{font-size:10px;gap:12px;margin-bottom:10px}.scene-list-heading>span:last-child{font-size:9px}.scene-point-list>a{font-size:11px;min-width:150px;max-width:200px;min-height:54px;padding:9px 10px}.scene-pin>span{width:23px;height:23px;font-size:10px;border-width:1.5px}.scene-detail{width:100%;max-width:none;max-height:88dvh;margin:auto 0 0;border-radius:12px 12px 0 0;border-width:1px 0 0}.scene-detail>header{padding:18px 20px 16px}.scene-detail>header h2{font-size:23px!important}.scene-detail-content p{font-size:15px}.scene-detail-content .scene-body-text{font-size:16px}.scene-expanded{width:100%;max-width:none;max-height:100dvh;height:100dvh;inset:0;margin:0;border:0;border-radius:0;padding:12px;align-content:center}.scene-expanded .scene-viewport{width:100%;max-width:none}.scene-detail-content .scene-content-note{font-size:12px}.scene-admin-columns .workspace-section{padding:20px 16px}.scene-config{font-size:14px}.scene-editor-pin{width:22px;height:22px;font-size:9px}.scene-editor-selected{width:32px;height:32px}.scene-editor-list strong{font-size:13px}.scene-editor-list small{font-size:10px}.scene-detail-gallery img{max-height:350px}}
.scene-detail-navigation{display:flex;gap:12px;justify-content:space-between;border-top:1px solid #dad6c4;margin-top:20px;padding-top:20px}.scene-detail-navigation button{min-height:44px;border:1px solid #c8cbb6;border-radius:4px;padding:10px 14px;font-size:12px;background:#eef0df;color:#345037;cursor:pointer}.scene-detail-navigation button:disabled{opacity:.4;cursor:default}.scene-modal-open{overflow:hidden!important}
/* At overview scale, transparent hit boxes must not cover adjacent numbered areas.
   The full-size list offers the same actions with larger touch targets. */
.scene-pin{pointer-events:none}.scene-pin>span{pointer-events:auto}.scene-viewport.is-zoomed .scene-pin{pointer-events:auto}
/* The supplied diorama floats over the site's forest-green background. */
.heritage-scene .scene-viewer{background:transparent;border:0;border-radius:0;color:#e7dfc5;overflow:visible}
.heritage-scene .scene-toolbar{background:transparent;border-bottom:1px solid #52614b66;padding:12px 0 16px}
.heritage-scene .scene-toolbar span{color:#adb89e}.heritage-scene .scene-toolbar strong{color:#eee5cd}
.heritage-scene .scene-tools button{background:#203d2e;color:#eae0c1;border-color:#5d6c50;border-radius:4px}
.heritage-scene .scene-tools button:hover{background:#35503a}.heritage-scene .scene-tools output{color:#dad5b9}
.heritage-scene .scene-viewport{background:transparent;overflow:hidden}
.heritage-scene .scene-plane>img{filter:drop-shadow(0 18px 14px #031a12a6)}
.heritage-scene .scene-caption{background:transparent;border-top:1px solid #52614b66;padding:13px 0 0;flex-wrap:wrap;gap:6px 18px}
.heritage-scene .scene-caption span{color:#c9d0b5}.heritage-scene .scene-caption small{color:#a7b296}
.scene-expanded{background:#122d23!important;border-color:#506448}
.scene-expanded .scene-viewer{background:transparent;border:0;border-radius:0;color:#e7dfc5}
.scene-expanded .scene-toolbar,.scene-expanded .scene-caption{background:transparent;border-color:#52614b66}
.scene-expanded .scene-toolbar strong,.scene-expanded .scene-caption span{color:#eee5cd}
.scene-expanded .scene-toolbar span,.scene-expanded .scene-caption small{color:#adb89e}
.scene-expanded .scene-tools button{background:#203d2e;color:#eae0c1;border-color:#5d6c50}
.scene-expanded .scene-tools output{color:#dad5b9}.scene-expanded .scene-viewport{background:transparent}
.scene-expanded .scene-plane>img{filter:drop-shadow(0 18px 14px #031a12a6)}
.scene-preview{background:#163327;border-radius:5px;overflow:hidden}.scene-preview figcaption{padding:10px;color:#d4d6bf!important}
@media(max-width:700px){.heritage-scene .scene-toolbar{padding:8px 0 12px}.heritage-scene .scene-caption{padding-top:10px}.heritage-scene .scene-caption small{white-space:normal}.scene-expanded .scene-caption{flex-wrap:wrap}}
/* Real mesh viewer. The reference image remains available in the adjacent mode. */
.scene-model-switch{display:flex;align-items:center;gap:6px;padding:12px 0}
.scene-model-switch button,.scene-orbit-tools button,.scene-caption button{min-height:44px;padding:9px 13px;border:1px solid #536b50;border-radius:4px;background:#183628;color:#e5ddbf;font:inherit;font-size:11px;cursor:pointer}
.scene-model-switch button[aria-pressed=true]{background:#d6b77c;color:#142e22;border-color:#d6b77c}
.scene-model-switch>span{font-size:10px;color:#a6b293;margin-left:auto}
.scene-world-poster,#sceneWorldCanvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#091c15;display:none}
.scene-world-mode{aspect-ratio:1.43!important;touch-action:none!important;cursor:grab}
.scene-world-mode .scene-world-poster{display:block}.scene-world-mode .scene-plane{visibility:hidden}
.scene-3d-ready #sceneWorldCanvas{display:block}.scene-3d-ready .scene-plane{visibility:visible;pointer-events:none;transform:none!important;inset:0;width:100%;height:100%}
.scene-3d-ready .scene-plane>img{display:none}.scene-3d-ready .scene-pin{pointer-events:none;transform:translate(-50%,-100%);width:44px;height:44px;display:flex;align-items:flex-start;justify-content:center}
.scene-3d-ready .scene-pin[hidden]{display:none}.scene-3d-ready .scene-pin:after{content:'';width:1px;height:14px;background:#e6c787;position:absolute;top:29px;left:50%;pointer-events:none}
.scene-3d-ready .scene-pin>span{pointer-events:auto;width:29px;height:29px;background:#284d3a;color:#fff4d3;border:1px solid #e6cc8d;box-shadow:0 3px 8px #0009;font-size:11px}
.scene-3d-ready .scene-pin:hover>span,.scene-3d-ready .scene-pin.is-selected>span{background:#a34d2d}
.scene-orbit-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;background:transparent}.scene-orbit-tools[hidden]{display:none}
.scene-orbit-tools>span{font-size:11px;color:#bbc2a7}.scene-orbit-tools>div{display:flex;gap:6px}.scene-caption button[hidden]{display:none}
.scene-expanded .scene-world-mode{width:100%;max-width:none;aspect-ratio:auto!important;height:calc(100dvh - 330px);min-height:260px}
@media(max-width:700px){.scene-world-mode{aspect-ratio:.98!important}.scene-3d-ready .scene-pin>span{width:25px;height:25px;font-size:10px}.scene-3d-ready .scene-pin:after{top:25px}.scene-model-switch{flex-wrap:wrap}.scene-model-switch>span{width:100%;margin:4px 0 0}.scene-orbit-tools>span{font-size:10px;max-width:14ch}.scene-orbit-tools button{font-size:10px;padding:8px 10px}.scene-expanded .scene-world-mode{height:calc(100dvh - 350px)}}

.scene-orbit-tools{flex-wrap:wrap}.scene-orbit-tools>.scene-focus-tools{width:100%;align-items:center;flex-wrap:wrap}.scene-focus-tools>span{margin-right:auto;font-size:11px;color:#bbc2a7}
