.scene, .scene.is-reference {
  display: flex; flex-direction: column; min-height: 0; margin: 0;
  background: #101215;
}
.model-stage {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  background: #16191d; overflow: hidden; touch-action: pan-y;
}
.model-stage canvas, .model-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.model-stage img { object-fit: contain; }
.model-stage canvas { cursor: grab; }
.model-stage canvas:active { cursor: grabbing; }
#studio-note:not(:empty) { position: absolute; bottom: 12px; left: 12px; padding: .4em .7em; color: white; background: #121418d9; font-size: .79rem; }
.studio-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px; }
.scene-tools { position: static; display: flex; flex-wrap: wrap; border: 0; gap: 4px; background: none; }
.scene-view, .orbit-buttons button { padding: 9px 12px; min-height: 42px; background: #17191d; color: #d5d4d0; border: 1px solid #383b42; border-radius: 5px; cursor: pointer; }
.scene-view:last-child { border-right: 1px solid #383b42; }
.scene-view[aria-pressed=true] { color: #f9edcf; border-color: var(--gold); background: #29251f; }
.orbit-buttons { display: flex; gap: 4px; }
.orbit-buttons[hidden], .model-stage canvas[hidden] { display: none; }
.orbit-buttons button { min-width: 42px; font-size: 20px; line-height: 1; }
.live-summary { justify-content: center; }
.install-label { margin-top: 1.25rem; font-weight: 700; }
.wall-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.face-options { border: 1px solid var(--line); border-radius: 8px; padding: 14px 12px; min-width: 0; }
.face-options legend { font-size: 1rem; padding: 0 6px; }
.face-options button { margin: 3px; padding: 8px 12px; min-height: 42px; border: 1px solid #404349; background: #181a1d; border-radius: 5px; cursor: pointer; }
.face-options button[aria-pressed=true] { border-color: var(--gold); background: #2a261f; color: #f3dfaf; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media(max-width:620px){
  .model-stage { aspect-ratio: 1.24; }
  .wall-options { grid-template-columns: 1fr; }
  .scene-view { font-size: .78rem; padding-inline: 9px; }
  .studio-toolbar { justify-content: center; }
  .topline { flex-wrap: wrap; }
}
