.rotation-workspace h4{margin:0}
.rotation-workspace .rotation-instruction,.rotation-workspace #rotation-key-help{margin:.4rem 0;font-size:.95rem;line-height:1.45}
.rotation-workspace .rotation-surface{max-width:480px;touch-action:none}
.rotation-workspace [data-rotation-board]{display:block;width:100%;height:auto;max-width:480px;background:#f8fbfc;border:1px solid #b5c9ca;border-radius:14px;touch-action:none;user-select:none}
.rotation-workspace .rotation-orbit{fill:none;stroke:#819da2;stroke-width:1;stroke-dasharray:2 5;pointer-events:none}
.rotation-workspace :is(.rotation-guide,.rotation-origin){fill:none;stroke:#3d6071;stroke-width:2;stroke-dasharray:5 4;vector-effect:non-scaling-stroke;pointer-events:none}
.rotation-workspace .rotation-origin{stroke:#9a5110;stroke-dasharray:3 3}
.rotation-workspace [data-rotate-piece]{cursor:grab;touch-action:none;outline:none}
.rotation-workspace [data-rotate-piece]:active{cursor:grabbing}
.rotation-workspace .rotation-part{stroke:#15635b;stroke-width:2.5;fill:#a6ddd6;vector-effect:non-scaling-stroke}
.rotation-workspace .rotation-part-1{fill:#ffe1a7;stroke:#88521d}
.rotation-workspace .rotation-part-2{fill:#e0cefa;stroke:#674591}
.rotation-workspace [data-rotate-piece][aria-pressed=true] .rotation-part{stroke-width:3.5}
.rotation-workspace [data-rotate-piece]:focus-visible .rotation-part{stroke:#174bb2;stroke-width:4}
.rotation-workspace .rotation-handle-hit{fill:transparent}
.rotation-workspace .rotation-handle-knob{fill:#fff;stroke:#18494d;stroke-width:2.5}
.rotation-workspace .rotation-handle :is(path,line){stroke:#18494d;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.rotation-workspace .rotation-pivot{fill:#14394a;stroke:#fff;stroke-width:1.5}
.rotation-workspace .rotation-caption{font:700 20px system-ui,sans-serif;fill:#19414a;pointer-events:none}
.rotation-workspace .rotation-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .7rem;max-width:480px;margin:.45rem 0 0}
.rotation-workspace :is(.rotation-stages,.rotation-picker,.rotation-actions){display:flex;flex-wrap:wrap;gap:.3rem}
.rotation-workspace .rotation-controls button{padding:.2rem .5rem;border:1px solid #acbfca;background:#fff;color:#173c49;border-radius:9px;font-weight:700}
.rotation-workspace :is(.rotation-stages,.rotation-picker) [aria-pressed=true]{background:#143e52;color:#fff;border-color:#143e52}
.rotation-workspace .rotation-actions button{font-size:1.35rem}
.rotation-workspace .rotation-actions button[data-rotation-step]{background:#e5f3f2;border-color:#77a9a2}
.rotation-workspace .rotation-actions button:disabled{opacity:.45}
.rotation-workspace .rotation-compare{display:flex;align-items:center;gap:.45rem;min-height:48px;font-size:.95rem}
.rotation-workspace .rotation-compare input{inline-size:1.15rem;accent-color:#1a665d}
.rotation-workspace [data-geometry-live]:empty{display:none}
