.enclosure-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:28px;align-items:start}.enclosure-stage{position:sticky;top:110px;min-width:0}.enclosure-viewport{height:min(70svh,760px);min-height:400px;position:relative;background:#222422;border:1px solid var(--line)}.scene-loading{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px;text-align:center;color:var(--muted);font-size:.875rem}.scene-loading p{font-size:1.35rem;color:var(--ink);font-weight:700}.scene-instructions{position:absolute;bottom:14px;left:12px;right:12px;text-align:center;pointer-events:none;font-size:.6875rem;color:#fff;background:#111b;padding:8px}.scene-caption-note{font-size:.75rem;color:var(--muted);margin-top:12px}.enclosure-panel{padding:24px;background:var(--coal);border:1px solid var(--line)}.enclosure-panel>.eyebrow{color:var(--fire);margin-bottom:20px}.enclosure-panel fieldset{border:0;padding:0;margin:26px 0 0;min-width:0}.enclosure-panel legend{font-weight:700;font-size:.9375rem;margin-bottom:14px}.enclosure-error,.enclosure-notice{padding:14px;font-size:.75rem;line-height:1.6;border-left:2px solid var(--fire);background:#26231f}.enclosure-error strong,.enclosure-notice strong{display:block;margin-bottom:6px}.enclosure-error{margin-top:16px;background:#422626;border-color:#e08d84;color:#ffd9d5}.enclosure-error ul{padding-left:18px;margin:8px 0 0}.control-help{font-size:.75rem;color:var(--muted);margin:0 0 16px}.dimension-control{margin-top:16px}.dimension-control>label{display:flex;justify-content:space-between;font-size:.8125rem;margin-bottom:8px}.dimension-control>label>span{color:var(--muted)}.dimension-control>div{display:flex;align-items:center;gap:16px}.dimension-control input[type=range]{width:100%;min-width:0;min-height:44px;accent-color:var(--fire)}.dimension-control input[type=number]{width:92px;flex-shrink:0;min-height:44px;background:var(--paper);color:var(--ink);border:1px solid #666;padding:8px;font-size:16px}.editor-choices{display:flex;flex-wrap:wrap;gap:8px}.editor-choices button{border:1px solid #666;background:var(--paper);min-height:44px;padding:10px 14px;font-size:.8125rem}.editor-choices button[aria-pressed=true]{border-color:var(--fire);box-shadow:inset 0 0 0 1px var(--fire)}.editor-choices button:disabled{opacity:.35;cursor:not-allowed}.profile-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-choices button{display:grid;justify-items:center;gap:8px;padding:16px 10px;border:1px solid #666;background:var(--paper);color:var(--ink)}.profile-choices button[aria-pressed=true]{border-color:var(--fire);box-shadow:inset 0 0 0 1px var(--fire);background:#ff57220a}.profile-choices svg{height:72px;width:65px;fill:none;stroke:currentColor;stroke-width:1.5}.profile-choices button[aria-pressed=true] svg{color:var(--fire)}.profile-choices span{font-size:.7rem;color:var(--muted)}.module-options{padding:4px 0 0 14px;border-left:1px solid var(--line);margin-top:16px}.control-label{font-size:.8rem;font-weight:600;margin:18px 0 10px}.module-help{margin:12px 0 0}.editor-live-note{font-size:.75rem;line-height:1.5;color:var(--muted);padding-top:12px;min-height:40px}.enclosure-notice summary{cursor:pointer;min-height:24px;font-size:.75rem;font-weight:600}.enclosure-notice[open] summary{margin-bottom:12px}.enclosure-stage{max-height:calc(100svh - 110px);overflow:auto;scrollbar-width:thin}.enclosure-viewport{height:clamp(300px,58svh,680px);min-height:300px}.editor-swatch{display:flex;align-items:center;gap:8px;text-transform:capitalize}.editor-swatch>span{width:20px;height:20px;border:1px solid #999;display:block}.enclosure-summary{position:static;margin-top:24px}.enclosure-summary dd{overflow-wrap:anywhere}.scene-toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding-top:12px}.scene-toolbar button{color:var(--ink)}.construction-label{background:#151515e8;color:#fff;border-left:2px solid var(--fire);padding:6px 9px;white-space:nowrap;font:11px Courier New,monospace;pointer-events:none;user-select:none}.enclosure-sidebar .design-stage-actions{flex-wrap:wrap}.enclosure-sidebar .design-stage-actions>.button{width:100%}@media(max-width:760px){.enclosure-layout{grid-template-columns:minmax(0,1fr);gap:20px}.enclosure-stage{position:static}.enclosure-viewport{height:55svh;min-height:280px;max-height:580px}.enclosure-panel{padding:18px}.enclosure-page .design-heading h1{font-size:2.4rem}}.room-guidance{margin-top:24px}.enclosure-panel .field input{width:100%;min-height:48px;background:var(--paper);color:var(--ink);border:1px solid #666;padding:12px;font-size:16px}.draft-share{margin-top:18px}.draft-share p{font-size:.8rem;color:var(--muted)}.insert-reference{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line);font-size:.8rem}.insert-reference>.media{height:110px;background:#e8e8e4}.insert-reference>.media img{object-fit:contain}.insert-reference .eyebrow{font-size:.6rem;margin-bottom:8px}.insert-reference strong{display:block;font-size:1rem;margin-bottom:8px}.insert-reference p{margin-bottom:6px}@media(max-width:500px){.insert-reference{grid-template-columns:72px minmax(0,1fr);gap:12px}.insert-reference>.media{height:90px}}@media(max-width:760px){.enclosure-stage{max-height:none;overflow:visible}}@media(max-width:760px) and (min-height:650px){.enclosure-stage{position:sticky;top:80px;z-index:5;max-height:none;overflow:visible;background:var(--paper);padding-bottom:8px;border-bottom:1px solid var(--line)}.enclosure-stage .enclosure-viewport{height:31svh;min-height:200px;max-height:300px}.enclosure-stage .insert-reference,.enclosure-stage .scene-caption-note{display:none}.enclosure-stage .scene-toolbar{padding-top:6px;gap:6px}.enclosure-stage .scene-toolbar .editor-choices{gap:4px}.enclosure-stage .scene-toolbar button{padding:6px 8px;font-size:.65rem;min-height:36px}}