.wheel-live{display:grid;grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);align-items:center;gap:8px;margin:10px 0}.wheel-live canvas{width:180px;height:160px;max-width:100%}.wheel-output{display:flex;flex-direction:column;gap:5px;text-align:center;font-size:11px}.wheel-output strong{font-size:27px;font-variant-numeric:tabular-nums;white-space:nowrap}.wheel-output small{font-size:12px;margin-left:3px}.wheel-output.left,.wheel-slider.left,.wheel-trail-legend .left{color:#286c80}.wheel-output.right,.wheel-slider.right,.wheel-trail-legend .right{color:#995425}.wheel-view-note{font-size:11px;line-height:1.8;color:#52644f;margin:8px 0 14px}.motor-output-body>details{margin-top:14px;font-size:12px}.motor-output-body>details>summary{cursor:pointer;padding:9px 0;color:#526447}
.wheel-experiment{width:min(920px,calc(100vw - 28px));max-width:920px;max-height:calc(100dvh - 28px);padding:0;border:1px solid #a6b69a;border-radius:12px;background:#f4f4e9;color:#283c2d}.wheel-experiment::backdrop{background:#25382d99;backdrop-filter:blur(3px)}.wheel-experiment .dialog-header{padding:18px 22px;background:#e9efdf;position:sticky;top:0;z-index:1}.wheel-experiment h2{font-size:20px;margin:3px 0 0}.wheel-experiment-body{padding:18px 22px 22px}.wheel-experiment-body>p{font-size:13px;line-height:1.8;margin:0 0 14px}.wheel-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.wheel-presets button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-height:49px}.wheel-presets small{font-size:10px;color:#63755c;font-weight:400}.wheel-practice-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(235px,1fr);gap:22px;align-items:start}.wheel-practice-scene{border:1px solid #cbd6c2;background:#fafbf6;border-radius:8px;overflow:hidden}.wheel-practice-scene canvas{display:block;width:100%;height:auto;aspect-ratio:500/380}.wheel-trail-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;font-size:10px;padding:10px;background:#eef2e7}.wheel-practice-controls{min-width:0}.wheel-slider{display:grid;grid-template-columns:1fr auto;gap:7px;margin:0 0 17px;font-size:12px;font-weight:700}.wheel-slider output{font-size:20px;font-variant-numeric:tabular-nums}.wheel-slider input,.wheel-slider small{grid-column:1/-1;width:100%}.wheel-slider small{font-size:9px;color:#718064;font-weight:400}.wheel-slider.left input{accent-color:#337f91}.wheel-slider.right input{accent-color:#b56b36}.wheel-duration{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:15px}.wheel-duration input{width:68px;padding:6px 8px;border:1px solid #acb9a3;border-radius:6px;background:#fff;font:inherit}.wheel-practice-actions{display:flex;gap:7px;flex-wrap:wrap}.wheel-practice-actions button{font-size:11px;padding:9px 12px}.wheel-result{padding:12px;background:#e5edd9;border-radius:7px;margin:14px 0;font-size:12px;line-height:1.8}.wheel-result p{margin:6px 0 0;font-size:11px}
@media(max-width:700px){.wheel-practice-grid{grid-template-columns:1fr;gap:16px}.wheel-experiment h2{font-size:16px}.wheel-experiment .dialog-header{padding:13px 15px}.wheel-experiment-body{padding:14px}.wheel-presets{gap:6px}.wheel-presets button{font-size:10px;padding:7px}.wheel-presets small{font-size:8px}.wheel-live{grid-template-columns:minmax(0,1fr) minmax(105px,150px) minmax(0,1fr);gap:4px}.wheel-live canvas{width:100%;height:auto}.wheel-output strong{font-size:22px}.wheel-output{font-size:10px}}

/* The same laboratory is available from every lesson. */
.top-actions #wheel-lab-open{background:#fff2dd;border-color:#d9b98f;color:#79522e;white-space:nowrap}.top-actions #wheel-lab-open:hover{background:#f8e7cc}
.wheel-polarity-note{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 8px}.wheel-polarity-note>span{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid #d3ddc8;border-radius:7px;background:#e9efdf;font-size:12px}.wheel-polarity-note>span:nth-child(2){background:#eef0e9}.wheel-polarity-note>span:nth-child(3){background:#f4e8d9;border-color:#ddc5a7}.wheel-polarity-note b{font-size:11px;color:#455e3d}.wheel-experiment-body>.wheel-polarity-example{font-size:11px;margin:0 0 16px;color:#63735a}
.wheel-slider{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 8px;margin-bottom:18px}.wheel-slider>label{font-size:12px}.wheel-power-entry{display:flex;align-items:center;gap:4px}.wheel-slider .wheel-power-entry input{width:76px;min-width:0;padding:7px 5px 7px 8px;border:1px solid #a6b7a0;border-radius:6px;background:#fff;font:600 20px var(--font);font-variant-numeric:tabular-nums;color:inherit;text-align:right}.wheel-power-entry>span{font-size:13px}.wheel-slider>input[type=range]{grid-column:1/-1;margin:2px 0}.wheel-direction{font-size:10px;justify-self:start;padding:3px 7px;border:1px solid currentColor;border-radius:4px;background:#eaf1e6;font-weight:600}.wheel-direction[data-direction=reverse]{background:#f6e6d4}.wheel-direction[data-direction=stopped],.wheel-direction[data-direction=pending]{background:#edf0e7;color:#66715f}.wheel-slider>small{font-size:10px;font-weight:400}
@media(max-width:760px){.topbar{height:auto;min-height:60px;gap:8px;padding:10px 0}.topbar .breadcrumb{flex:1 0 100%}.top-actions{margin-left:0;width:100%;flex-wrap:wrap;gap:5px}.top-actions .button{flex:1;white-space:nowrap;font-size:10px;padding:5px 7px}}
@media(max-width:430px){.wheel-polarity-note{gap:5px}.wheel-polarity-note>span{padding:8px 6px;font-size:10px}.wheel-polarity-note b{font-size:9px}.wheel-experiment-body>.wheel-polarity-example{font-size:10px}}

/* The dedicated lesson uses the same controls directly on the experiment desk. */
.wheel-inline{padding:22px 24px 24px;background:#fffef9;border-radius:0 0 8px 8px}
.wheel-inline>.wheel-polarity-example{margin-bottom:18px}
.wheel-inline .wheel-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:22px}
.wheel-inline .wheel-presets button{padding:10px 11px;font-size:12px}
.wheel-inline .wheel-presets small{font-size:9px;white-space:nowrap}
.wheel-inline .wheel-practice-grid{grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:28px}
.wheel-inline .wheel-practice-scene{background:#f8faf3;border-color:#bfceb5}
.wheel-inline .wheel-trail-legend{padding:12px;font-size:11px}
.wheel-inline .wheel-slider{margin-bottom:20px}
.wheel-inline .wheel-slider>label{font-size:13px}
.wheel-inline .wheel-power-entry input{width:86px;font-size:24px}
.wheel-inline .wheel-practice-actions .button:first-child{flex:1}
.wheel-inline .wheel-result{padding:15px;font-size:13px}
.wheel-inline .wheel-result p{font-size:12px}
@media(max-width:1150px){.wheel-inline .wheel-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.wheel-inline .wheel-practice-grid{grid-template-columns:minmax(0,1.3fr) minmax(235px,1fr);gap:20px}}
@media(max-width:700px){.wheel-inline{padding:16px}.wheel-inline .wheel-practice-grid{grid-template-columns:1fr;gap:20px}.wheel-inline .wheel-presets{margin-bottom:16px}.wheel-inline .wheel-presets button{font-size:11px;padding:8px}.wheel-inline .wheel-presets small{font-size:8px}.wheel-inline .wheel-practice-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.wheel-inline .wheel-duration,.wheel-inline .wheel-practice-actions,.wheel-inline .wheel-result,.wheel-inline .wheel-view-note{grid-column:1/-1}.wheel-inline .wheel-slider{display:flex;flex-direction:column;align-items:stretch;gap:7px}.wheel-inline .wheel-power-entry{justify-content:flex-start}.wheel-inline .wheel-power-entry input{width:100%;text-align:left}.wheel-inline .wheel-direction{align-self:flex-start}.wheel-inline .wheel-slider>small{font-size:9px}.wheel-inline .wheel-duration{margin-top:3px}}
