.scene-layout { display: grid; grid-template-columns: 220px minmax(400px, 1fr) 270px; gap: 16px; margin-top: 38px; align-items: start; }
.scene-controls h2:not(:first-child), .scene-library-panel h2 { margin-top: 22px; }
.scene-tool { padding: 9px 5px; color: var(--text); background: var(--ink); border: 1px solid var(--line); font: inherit; font-size: .7rem; cursor: pointer; }
.scene-tool.active, .scene-tool:hover { color: #fff; background: var(--cyan); border-color: var(--cyan); }
.toggle { display: flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--muted); font-size: .72rem; }
.toggle input { width: auto; margin: 0; }
#scene-canvas { display: block; width: 100%; height: auto; background: #e8f4f5; border: 1px solid var(--line); cursor: crosshair; touch-action: none; }
.button.danger { color: #9f3520; background: #fff4ef; border-color: #d98972; }
@media (max-width: 1050px) { .scene-layout { grid-template-columns: 220px minmax(0, 1fr); } .scene-library-panel { grid-column: 1 / -1; } }
@media (max-width: 700px) { .scene-layout { grid-template-columns: 1fr; } .scene-library-panel { grid-column: auto; } }
