.canvas-top{height:auto;min-height:62px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
.canvas-top>.tool-group{margin-left:auto;flex-wrap:wrap}
.rotation-toolbar{display:flex;align-items:center;gap:13px;padding:9px 22px;border-bottom:1px solid #dfe8df;background:#f5f8f2;flex-wrap:wrap}
.rotation-toolbar>label{margin:0;font-size:10px;color:#61776c;white-space:nowrap}
.rotation-slider{display:flex;align-items:center;gap:3px;flex:1;min-width:180px;max-width:370px}
.rotation-slider input{width:100%;min-width:60px;max-width:180px;padding:0;accent-color:#087e9a;cursor:ew-resize;box-shadow:none}
.rotation-slider button{padding:3px 6px;font-size:15px}
.rotation-slider #view-reset{font-family:var(--mono);font-size:10px;margin-left:4px}
#view-angle-output{min-width:49px;font-size:10px;text-align:right;font-family:var(--mono);color:#47665c;white-space:nowrap}
.flag-bottom{margin-left:auto;border:1px solid #d8dfca;background:#fffefa;color:#8d6b2c;font-size:11px;padding:7px 12px;white-space:nowrap}
.flag-bottom:hover,.flag-bottom.active{background:#fff2d9;border-color:#d9bb80;color:#95651a}
.rotation-line-hit{cursor:grab}
.rotation-line-hit:hover{stroke:#087e9a22;stroke-width:15}
.rotation-handle{fill:#f8fffd;stroke:#087e9a;stroke-width:2;cursor:grab;filter:drop-shadow(0 1px 2px #2f6e6640)}
.rotation-handle:hover,.rotation-handle:focus{fill:#cdeeea;stroke-width:3;outline:none}
.rotation-pivot{fill:#fff2db;stroke:#ba812c;stroke-width:2;cursor:move}
.rotation-pivot:hover,.rotation-pivot:focus{fill:#ffe1a9;stroke-width:3;outline:none}
.pivot-candidate{cursor:pointer;stroke:#bc872d;stroke-width:1.5;fill:#fff9e9}
.pivot-candidate:hover,.pivot-candidate:focus{r:7;stroke-width:2.5;outline:none}
.pivot-label{font-size:11px;fill:#976b28;paint-order:stroke;stroke:#fff9ef;stroke-width:3px}
#stage.is-rotating,#stage.is-rotating .rotation-handle{cursor:grabbing!important}
#stage.is-rotating .chamber-cell{fill-opacity:.12}
#stage:focus-visible{outline:2px solid #087e9a;outline-offset:-3px}
.rotation-equation{font-family:var(--mono);font-size:10px;overflow-wrap:anywhere;margin-top:9px;color:#3d6b64}
.rotation-nudge{display:flex;gap:7px;margin:12px 0}
.rotation-nudge button{flex:1}
@media(max-width:760px){.rotation-toolbar{padding:8px 14px;gap:5px 9px}.rotation-slider{max-width:none}.flag-bottom{padding:6px 10px}.canvas-top{padding-left:14px;padding-right:14px}.canvas-top>.tool-group{margin-left:0}.canvas-top .tool{padding:5px 7px}}
@media(max-width:440px){.rotation-toolbar>.flag-bottom{margin-left:auto}.rotation-slider{min-width:230px}.rotation-toolbar>label{width:auto}.rotation-toolbar .flag-bottom{width:100%;margin-top:3px}.canvas-top .tool-group{gap:0}.canvas-top .tool{padding:5px}.canvas-top .tool span{font-size:9px}}
