.body-move-panel[hidden], .body-move-panel [hidden] { display: none !important; }
.body-move-panel { position: absolute; z-index: 16; top: 58px; right: 22px; width: min(326px, calc(100% - 32px)); box-sizing: border-box; padding: 14px; border: 1px solid #9bb9c9; border-radius: 6px; background: #f7fafc; box-shadow: 0 9px 25px #18374736; color: #263e4c; font: 12px Arial, sans-serif; }
.body-move-panel h2 { margin: 0; font: 700 13px Arial, sans-serif; letter-spacing: .06em; }
.body-move-panel p { margin: 8px 0 14px; color: #607986; line-height: 1.4; }
.body-move-row { display: grid; grid-template-columns: 88px 1fr; gap: 8px; align-items: center; margin: 9px 0; }
.body-move-row output, .body-move-row button, .body-move-vector input { box-sizing: border-box; min-height: 29px; border: 1px solid #adc5d1; border-radius: 3px; background: #fff; color: #254d62; font: inherit; }
.body-move-row output { display: flex; align-items: center; padding: 0 8px; }
.body-move-row button { padding: 5px 8px; text-align: left; cursor: pointer; }
.body-move-row button.is-active { border-color: #1984b8; background: #e2f3fb; color: #0a638e; }
.body-move-types { display: flex; gap: 4px; }
.body-move-types button { flex: 1; text-align: center; }
.body-move-vector { display: grid; grid-template-columns: 88px repeat(3, 1fr); gap: 6px; align-items: center; margin: 10px 0; }
.body-move-vector label { display: flex; flex-direction: column; gap: 3px; color: #607986; }
.body-move-vector input { width: 100%; min-width: 0; padding: 4px 5px; color: #263e4c; }
.body-move-copy { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.body-move-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; }
.body-move-actions button { min-width: 68px; padding: 6px 8px; border: 1px solid #8bafc0; border-radius: 4px; background: white; color: #274b5d; cursor: pointer; }
.body-move-actions #bodyMoveOk { background: #177fa9; border-color: #177fa9; color: white; }
.body-move-actions #bodyMoveOk:disabled { opacity: .5; cursor: default; }
.mesh-to-solid-panel #meshToSolidConvert { background: #177fa9; border-color: #177fa9; color: #fff; }
.mesh-to-solid-panel #meshToSolidConvert:disabled { opacity: .5; cursor: default; }
.mesh-to-solid-panel select, .surface-finish-panel select, .mesh-decimate-panel select { min-width: 0; min-height: 29px; border: 1px solid #adc5d1; border-radius: 3px; background: #fff; color: #254d62; font: inherit; }
.surface-finish-panel #surfaceFinishOk, .mesh-decimate-panel #meshDecimateOk { background: #177fa9; border-color: #177fa9; color: #fff; }
.surface-finish-panel #surfaceFinishOk:disabled, .mesh-decimate-panel #meshDecimateOk:disabled { opacity: .5; cursor: default; }
.model-pane canvas.is-mesh-to-solid { cursor: crosshair; }
.model-pane canvas.is-body-move { cursor: crosshair; }
.model-pane canvas.is-body-move-dragging { cursor: grabbing; }
