*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{width:100%;height:100%;overflow:hidden}body{color:#e0e0e0;background:#0f0f0f;font-family:system-ui,-apple-system,sans-serif;font-size:14px}.app{width:100vw;height:100vh;display:flex}.sidebar{background:#171717;border-right:1px solid #2a2a2a;flex-direction:column;width:340px;min-width:340px;height:100%;display:flex;overflow:hidden auto}.viewport{flex:1;height:100%;position:relative}.panel{border-bottom:1px solid #2a2a2a;padding:16px}.panel-title{letter-spacing:.08em;text-transform:uppercase;color:#666;margin-bottom:12px;font-size:11px;font-weight:600}.slider-row{align-items:center;gap:10px;margin-bottom:8px;display:flex}.slider-label{color:#999;flex-shrink:0;width:90px;font-size:12px}.slider-row input[type=range]{accent-color:#4f8ef7;flex:1}.slider-value{text-align:right;color:#666;flex-shrink:0;width:48px;font-size:12px}button.primary{color:#fff;cursor:pointer;background:#4f8ef7;border:none;border-radius:6px;width:100%;padding:10px;font-size:13px;font-weight:600}button.primary:hover{background:#3a7de8}button.preset{color:#ccc;cursor:pointer;background:#252525;border:1px solid #333;border-radius:4px;padding:6px 10px;font-size:11px}button.preset.active{color:#4f8ef7;background:#1e3a6e;border-color:#4f8ef7}button.preset:hover:not(.active){background:#2e2e2e}.upload-zone{text-align:center;cursor:pointer;border:1.5px dashed #333;border-radius:6px;justify-content:center;align-items:center;min-height:80px;padding:16px;transition:border-color .15s;display:flex}.upload-zone:hover,.upload-zone.dragging{border-color:#4f8ef7}
