/* Load after viewer.css. Reuses existing status slots; no new floating bar. */
.scene-caption.concept-entry{display:grid;grid-template-columns:5px minmax(0,1fr);gap:3px 8px;align-items:center;text-align:left;min-height:48px}
.scene-caption.concept-entry .live-dot{grid-row:1;grid-column:1;background:#9b7a48}
.scene-caption.concept-entry #scene-caption{grid-row:1;grid-column:2}
.scene-caption.concept-entry small.concept-status-text{display:block;grid-column:2;border:0;padding:0;font-size:9px;line-height:1.3;letter-spacing:0;color:#6c6b56;white-space:nowrap}
.scene-caption.concept-entry[data-concept-enabled=false] .live-dot{background:#7a8781}
.apartment-disclaimer.concept-entry{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:4px 10px;right:18px;left:auto;bottom:10px;width:max-content;max-width:calc(100% - 36px);border:1px solid #dfd4bd;background:#fffdf5ed;color:#53615a;font-size:10px;line-height:1.3;border-radius:20px;text-shadow:none;text-decoration:none;white-space:nowrap}
.apartment-disclaimer.concept-entry::before{content:'';display:block;flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:#a2814e}
.apartment-disclaimer.concept-entry[data-concept-enabled=false]::before{background:#7a8781}
.apartment-disclaimer.concept-entry:focus-visible{outline:3px solid #ab783a;outline-offset:3px}
#concept-menu{grid-column:1/-1}
#concept-content{max-width:940px;margin:0 auto}
.concept-kicker{font-size:9px;letter-spacing:1.4px;color:#947b54;margin:0 0 14px}
.concept-intro{font-size:15px;line-height:1.85;max-width:760px;margin:0 0 22px;color:#31554d}
.concept-coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 24px}
.concept-coverage>div{min-width:0;padding-left:12px;border-left:2px solid #d5c5a6}
.concept-coverage strong{font-size:12px;font-weight:500;line-height:1.5;color:#31554d}
.concept-coverage p{font-size:11px;line-height:1.7;color:#687c71;margin:7px 0 0;overflow-wrap:anywhere}
.concept-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#edf2eb;border:1px solid #d7e1d4;border-radius:12px;padding:20px 22px}
.concept-toggle-row strong{font-size:14px;font-weight:500;line-height:1.5}
.concept-toggle-row p{font-size:11px;line-height:1.65;margin:7px 0 0;color:#687c71}
.concept-switch-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 88px}
.concept-switch{position:relative;width:56px;min-height:44px;border:0;background:transparent;padding:0}
.concept-switch:before{content:'';position:absolute;top:9px;left:0;width:56px;height:28px;background:#bdc7be;border-radius:18px;transition:background .15s}
.concept-switch>span{position:absolute;top:12px;left:3px;width:22px;height:22px;background:#fffdf6;border-radius:50%;box-shadow:0 1px 4px #274a372b;transition:transform .15s}
.concept-switch[aria-checked=true]:before{background:#005a5a}
.concept-switch[aria-checked=true]>span{transform:translateX(28px)}
.concept-switch:disabled{opacity:.55;cursor:wait}
#concept-toggle-state{font-size:10px;color:#567166;white-space:nowrap}
.concept-note{font-size:11px;line-height:1.75;max-width:760px;color:#7a776b;margin:14px 0 24px}
.concept-legend{display:flex;flex-wrap:wrap;gap:10px 20px;margin:0 0 20px;font-size:10px;color:#68766d}
.concept-legend>span{display:inline-flex;align-items:center;gap:6px}
.concept-mark{width:7px;height:7px;border-radius:50%}
.concept-mark.concept-source{background:#789085}.concept-mark.concept-provisional{background:#b69a63}.concept-mark.concept-unresolved{background:#9b9590}
.concept-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}
.concept-group{background:#fffdf8;border:1px solid #e0e4d8;border-radius:12px;padding:18px}
.concept-group h3{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;line-height:1.5;font-weight:500;margin:0 0 8px}
.concept-group h3>span{font-size:10px;font-weight:400;color:#879087}
.concept-item{border-top:1px solid #e6e8df}
.concept-item>summary{list-style:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px;padding:15px 0;cursor:pointer;min-height:58px;font-size:12px;line-height:1.5}
.concept-item>summary::-webkit-details-marker,.concept-team>summary::-webkit-details-marker{display:none}
.concept-item>summary>span:first-child{grid-row:1;grid-column:1}
.concept-badge{display:inline-block;width:max-content;max-width:100%;font-size:9px;line-height:1.45;padding:3px 7px;border-radius:4px;grid-row:2;grid-column:1}
.concept-badge.concept-provisional{color:#7a6035;background:#f1e9d8}.concept-badge.concept-source{color:#5a7467;background:#edf2ec}.concept-badge.concept-unresolved{color:#706c63;background:#f0eeea}
.concept-chevron{grid-column:2;grid-row:1/3;color:#7e8b81;font-size:18px}
.concept-item[open] .concept-chevron{transform:rotate(180deg)}
.concept-item-body{padding:0 0 17px;font-size:12px;line-height:1.75;color:#60756b}
.concept-item-body p{margin:0 0 9px;overflow-wrap:anywhere}
.concept-scope{font-size:10px;color:#8a7d66}
.concept-evidence{padding-left:12px;border-left:2px solid #d5c5a6}
.concept-evidence h4{font-size:10px;font-weight:500;line-height:1.6;color:#48675b;margin:14px 0 5px}
.concept-muted{color:#8b8c80}
.concept-footer{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0 16px}
.concept-footer .outline,.concept-team .outline{min-height:44px;font-size:12px;justify-content:center}
.concept-footer .text-button{min-height:44px;display:inline-flex;align-items:center;font-size:11px}
.concept-team{margin-top:22px;border-top:1px solid #dfe3da;color:#718075;padding-top:4px}
.concept-team>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:11px;list-style:none}
.concept-team>summary:after{content:'⌄';margin-left:8px}
.concept-team[open]>summary:after{transform:rotate(180deg)}
.concept-reference>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:13px;line-height:1.5;cursor:pointer;list-style:none}
.concept-reference>summary::-webkit-details-marker{display:none}.concept-reference>summary:after{content:'⌄';color:#7e8b81;font-size:18px}.concept-reference[open]>summary:after{transform:rotate(180deg)}
.concept-team p{max-width:660px;font-size:11px;line-height:1.75;margin:2px 0 14px}
.concept-team .concept-revision{font-size:10px;margin:12px 0 0;color:#90968b}
.concept-empty{font-size:13px;line-height:1.8;color:#6b8174;padding:12px 0;grid-column:1/-1}
#concept-content summary:focus-visible{outline:3px solid #ab783a;outline-offset:3px;border-radius:3px}
@media(max-width:760px){
 .scene-caption.concept-entry{padding:8px 10px;min-height:48px;gap:2px 6px}
 .scene-caption.concept-entry small.concept-status-text{font-size:8px}
 .apartment-disclaimer.concept-entry{left:12px;right:auto;bottom:calc(5px + env(safe-area-inset-bottom));font-size:9px;min-height:24px;padding:3px 9px;max-width:calc(100% - 24px)}
 .concept-intro{font-size:13px;line-height:1.8;margin-bottom:18px}
 .concept-coverage{grid-template-columns:1fr;gap:13px;margin-bottom:20px}.concept-coverage p{margin-top:3px}
 .concept-kicker{font-size:8px;letter-spacing:1px}
 .concept-toggle-row{gap:12px;padding:16px 14px;border-radius:9px}
 .concept-toggle-row strong{font-size:12px}.concept-toggle-row p{font-size:10px}
 .concept-switch-wrap{flex-basis:70px}.concept-note{font-size:10px;line-height:1.8}
 .concept-legend{gap:9px 14px;font-size:9px}
 .concept-groups{grid-template-columns:1fr;gap:12px}
 .concept-group{padding:15px;border-radius:9px}
 .concept-footer{align-items:stretch;gap:6px}.concept-footer>*{width:100%;justify-content:center}
 .concept-footer .outline,.concept-team .outline{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.concept-switch:before,.concept-switch>span{transition:none}}

/* Shared-canvas recovery UI. Existing modal styles stay untouched. */
dialog.render-recovery{width:calc(100% - 32px);max-width:430px;max-height:calc(100dvh - 32px);padding:28px;background:#fbfaf4;border:1px solid #dce2d5;border-radius:16px;color:#214d43;box-shadow:0 24px 100px #123c3566}
dialog.render-recovery::backdrop{background:#163f3cd1;backdrop-filter:blur(5px)}
.render-recovery-brand{width:36px;height:36px;object-fit:contain;display:block;margin-bottom:24px}
.render-recovery-heading{display:flex;align-items:center;gap:10px}
.render-recovery-heading h2{font-family:inherit;font-size:20px;font-weight:500;line-height:1.5;margin:0}
.render-recovery-indicator{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#b49a6d}
.render-recovery p{font-size:12px;line-height:1.9;color:#68796e;margin:14px 0}
.render-recovery p.render-recovery-status{padding:12px 14px;background:#edf1e8;border-radius:7px;font-size:11px;min-height:44px}
.render-recovery-actions{display:grid;gap:8px;margin-top:22px}
.render-recovery-actions .primary,.render-recovery-actions .outline{width:100%;min-height:44px;justify-content:center;padding:12px;font-size:12px}
.render-recovery-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:11px;text-underline-offset:3px}
.render-recovery-actions button:disabled{cursor:wait;opacity:.6}
.render-recovery [data-recovery-check]:focus-visible,.render-recovery a:focus-visible{outline:3px solid #a67a40;outline-offset:3px}
@media(max-width:480px){dialog.render-recovery{padding:22px}.render-recovery-heading h2{font-size:18px}}
.no-webgl #loading{padding:28px;text-align:center;font-size:14px;line-height:1.8;gap:18px}.no-webgl .fallback-action{color:#fff;min-height:44px;border-color:#96b8af}.no-webgl .walk-main{display:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:0.01ms!important;transition-duration:0.01ms!important}}

.regional-sources{border-top:1px solid #dce3d9;margin-top:25px;padding-top:20px}.regional-sources h3{font-size:16px}.regional-sources p,.regional-sources figcaption{font-size:11px;line-height:1.8;color:#61756a}.regional-sources figure{margin:18px 0}.regional-sources img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#e3e7df;border-radius:8px}.regional-sources a{text-decoration:underline;text-underline-offset:3px}.scene-note span{font-size:8px;line-height:1.5;letter-spacing:0}@media(max-width:760px){.scene-note span{font-size:7px;max-width:76%;text-align:right}.scene-note{align-items:flex-end;gap:8px}}
