html,body{-webkit-font-smoothing:antialiased;background:#efefef;width:100%;height:100%;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow:hidden}canvas{touch-action:none;cursor:grab;width:100%;height:100%;display:block}canvas:active{cursor:grabbing}.scene-panel{top:max(20px, env(safe-area-inset-top));right:max(20px, env(safe-area-inset-right));z-index:1;color:#30302e;background:#fffffff0;border-radius:14px;width:min(300px,100vw - 40px);font-size:12px;position:fixed;box-shadow:0 0 0 1px #0000000f,0 4px 20px #0000000d}.scene-panel>summary{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:inherit;justify-content:space-between;align-items:center;min-height:48px;padding:0 18px;font-size:13px;font-weight:600;list-style:none;display:flex}.scene-panel>summary::-webkit-details-marker{display:none}.panel-chevron{border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;margin-top:-3px;rotate:45deg}.scene-panel[open] .panel-chevron{margin-top:3px;rotate:225deg}.grade-picker{grid-template-columns:62px minmax(0,1fr);align-items:center;gap:8px;margin:0 18px 16px;display:grid}.grade-picker select{width:100%;min-height:40px;color:inherit;font:inherit;cursor:pointer;background:#f3f3f0;border:1px solid #e2e2dd;border-radius:8px;padding:0 10px}.grade-picker select:disabled{opacity:.5;cursor:progress}#scene-controls{overscroll-behavior:contain;scrollbar-width:thin;max-height:calc(100dvh - 166px);padding:0 18px 16px;overflow-y:auto}#scene-controls fieldset{border:0;border-top:1px solid #e9e9e7;min-width:0;margin:0 0 16px;padding:12px 0 0}#scene-controls legend{color:#70706c;padding:0 8px 0 0;font-size:11px;font-weight:600}.control-row,.light-row{grid-template-columns:62px minmax(0,1fr) 56px;align-items:center;gap:8px;min-height:40px;display:grid}.light-row{grid-template-columns:32px minmax(0,1fr) 30px 40px}#scene-controls output{color:#70706c;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:11px}#scene-controls input[type=range]{appearance:none;box-sizing:border-box;cursor:pointer;accent-color:#454541;background:0 0;width:100%;min-width:0;height:40px;margin:0}#scene-controls input[type=range]::-webkit-slider-runnable-track{background:#deded9;border-radius:2px;height:3px}#scene-controls input[type=range]::-webkit-slider-thumb{appearance:none;background:#454541;border-radius:50%;width:12px;height:12px;margin-top:-4.5px;transition:background-color .12s ease-out}#scene-controls input[type=range]:hover::-webkit-slider-thumb{background:#161615}#scene-controls input[type=color]{box-sizing:border-box;cursor:pointer;background:0 0;border:0;width:40px;height:40px;padding:9px}#scene-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}#scene-controls input[type=color]::-webkit-color-swatch{border:1px solid #00000026;border-radius:5px}#scene-controls button{color:#5c5c57;width:100%;min-height:40px;font:inherit;cursor:pointer;background:#f3f3f0;border:0;border-radius:8px;padding:0 12px;transition:background-color .12s ease-out,scale .12s ease-out}#scene-controls button:hover{background:#e9e9e4}#scene-controls button:active{scale:.96}.scene-panel :focus-visible{outline-offset:2px;outline:2px solid #454541}@media (width<=700px){.scene-panel{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));width:min(300px,100vw - 24px)}}#model-error{color:#9c3434;margin:0 18px 16px;line-height:1.6}
