.fx-toolwheel { display: grid; gap: 14px; --fx-k: 5; --fx-show: visible; --fx-wy: 0px; --fx-bx: 0px; --fx-by: 0px; --fx-br: 0deg; --fx-ay: 0px; --fx-good: hidden; --fx-nudge: hidden; --fx-bad: visible; --fx-na: -25deg; }
.fx-toolwheel .fx-goal, .fx-toolwheel .fx-read, .fx-toolwheel .fx-cap { margin: 0; color: var(--fx-ink); }
.fx-toolwheel .fx-note ol { margin: 0; padding-left: 24px; }
.fx-toolwheel .fx-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-toolwheel .fx-controls legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.fx-toolwheel .fx-row { gap: 8px; }
.fx-toolwheel .fx-btn { min-height: 44px; max-width: 100%; box-sizing: border-box; color: var(--fx-ink); }
.fx-toolwheel .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); border-color: var(--fx-ink); }
.fx-toolwheel .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-toolwheel .fx-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; min-width: 0; }
.fx-toolwheel .fx-stage { position: relative; padding: 12px; box-sizing: border-box; overflow: hidden; min-width: 0; }
.fx-toolwheel .fx-jobstage, .fx-toolwheel .fx-wheelstage { height: 245px; }
.fx-toolwheel .fx-cap { font-size: 16px; font-weight: 800; }
.fx-toolwheel .fx-slot { display: grid; height: 190px; }
.fx-toolwheel .fx-card { grid-area: 1 / 1; min-width: 0; }
.fx-toolwheel .fx-card svg { display: block; width: 100%; height: 140px; }
.fx-toolwheel .fx-card p { margin: 8px 0 0; font-size: 14px; color: var(--fx-ink); }
.fx-toolwheel .fx-art { fill: none; stroke: var(--fx-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fx-toolwheel svg text { fill: var(--fx-ink); stroke: none; font-size: 14px; }
.fx-toolwheel .fx-yellow { fill: var(--fx-sun); }
.fx-toolwheel .fx-flour { fill: var(--fx-sun-pale); }
.fx-toolwheel .fx-blue { fill: var(--fx-sky-pale); }
.fx-toolwheel .fx-paper { fill: var(--fx-paper); }
.fx-toolwheel .fx-red { stroke: var(--fx-coral); stroke-width: 4; }
.fx-toolwheel .fx-camera { position: relative; height: 195px; perspective: 600px; }
.fx-toolwheel .fx-pointer { position: absolute; top: 0; left: 0; right: 0; margin: 0; text-align: center; color: var(--fx-ink); font-size: 14px; font-weight: 800; }
.fx-toolwheel .fx-pointer::after { content: ""; position: absolute; top: 23px; left: calc(50% - 10px); border-left: 10px solid var(--fx-sky-pale); border-right: 10px solid var(--fx-sky-pale); border-top: 19px solid var(--fx-coral); }
.fx-toolwheel .fx-drum { position: absolute; top: 100px; left: 50%; width: 170px; height: 80px; margin: -40px 0 0 -85px; transform-style: preserve-3d; transform: rotateY(-12deg) rotateX(calc(var(--fx-k) * -60deg)); transition: transform 0.8s steps(4, end); }
.fx-toolwheel .fx-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-sizing: border-box; border: 2px solid var(--fx-ink); background: var(--fx-sun-pale); color: var(--fx-ink); backface-visibility: hidden; transform: rotateX(calc(var(--fx-i) * 60deg)) translateZ(69.282px); }
.fx-toolwheel .fx-face svg { width: 80px; height: 42px; }
.fx-toolwheel .fx-face span { font-size: 14px; font-weight: 800; }
.fx-toolwheel .fx-end { position: absolute; left: 5px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 2px solid var(--fx-ink); box-sizing: border-box; background: var(--fx-sky-pale); }
.fx-toolwheel .fx-left { transform: rotateY(90deg) translateZ(-85px); }
.fx-toolwheel .fx-rightend { transform: rotateY(90deg) translateZ(85px); }
.fx-toolwheel .fx-trial { height: 205px; }
.fx-toolwheel .fx-trial > svg { display: block; width: 100%; height: 155px; margin-top: 8px; }
.fx-toolwheel .fx-bench { stroke: var(--fx-muted); }
.fx-toolwheel .fx-marks { position: absolute; right: 10px; top: 8px; display: grid; width: 36px; height: 36px; }
.fx-toolwheel .fx-marks span { grid-area: 1 / 1; display: grid; place-items: center; padding: 0; margin: 0; font-size: 26px; font-weight: 800; color: var(--fx-ink); }
.fx-toolwheel .fx-good { visibility: var(--fx-good); }
.fx-toolwheel .fx-nudge { visibility: var(--fx-nudge); background: var(--fx-sun-pale); }
.fx-toolwheel .fx-bad { visibility: var(--fx-bad); }
.fx-toolwheel .fx-says, .fx-toolwheel .fx-layer { display: grid; min-width: 0; }
.fx-toolwheel .fx-layer, .fx-toolwheel .fx-says p { grid-area: 1 / 1; }
.fx-toolwheel .fx-says p { margin: 0; color: var(--fx-ink); }
.fx-toolwheel .fx-says .fx-note { background: var(--fx-sun-pale); }
.fx-toolwheel .fx-job { visibility: hidden; --fx-show: hidden; }
.fx-toolwheel .fx-tool, .fx-toolwheel .fx-extra { visibility: hidden; }
.fx-toolwheel:has(#fx-toolwheel-wire:checked) .fx-w, .fx-toolwheel:has(#fx-toolwheel-flour:checked) .fx-f, .fx-toolwheel:has(#fx-toolwheel-water:checked) .fx-a { visibility: visible; --fx-show: visible; }
.fx-toolwheel:has(#fx-toolwheel-tape:checked) .fx-t, .fx-toolwheel:has(#fx-toolwheel-ruler:checked) .fx-r, .fx-toolwheel:has(#fx-toolwheel-kitchen:checked) .fx-k, .fx-toolwheel:has(#fx-toolwheel-luggage:checked) .fx-l, .fx-toolwheel:has(#fx-toolwheel-jug:checked) .fx-j, .fx-toolwheel:has(#fx-toolwheel-thermometer:checked) .fx-h { visibility: var(--fx-show); }
.fx-toolwheel:has(#fx-toolwheel-tape:checked) { --fx-k: 0; }
.fx-toolwheel:has(#fx-toolwheel-ruler:checked) { --fx-k: 1; }
.fx-toolwheel:has(#fx-toolwheel-kitchen:checked) { --fx-k: 2; --fx-wy: -55px; --fx-bx: -55px; --fx-by: -64px; --fx-br: 25deg; --fx-ay: -58px; }
.fx-toolwheel:has(#fx-toolwheel-luggage:checked) { --fx-k: 3; --fx-wy: 16px; --fx-by: 29px; }
.fx-toolwheel:has(#fx-toolwheel-jug:checked) { --fx-k: 4; }
.fx-toolwheel:has(#fx-toolwheel-thermometer:checked) { --fx-bx: 65px; }
.fx-toolwheel .fx-coil { transform: translateY(var(--fx-wy)); }
.fx-toolwheel .fx-bag { transform-origin: 150px 100px; transform: translate(var(--fx-bx), var(--fx-by)) rotate(var(--fx-br)); }
.fx-toolwheel .fx-puddle { transform: translateY(var(--fx-ay)); }
.fx-toolwheel:has(#fx-toolwheel-tape:checked) .fx-wirelong, .fx-toolwheel:has(#fx-toolwheel-ruler:checked) .fx-wirelong, .fx-toolwheel:has(#fx-toolwheel-kitchen:checked) .fx-pour, .fx-toolwheel:has(#fx-toolwheel-jug:checked) .fx-filling, .fx-toolwheel:has(#fx-toolwheel-luggage:checked) .fx-bottle { visibility: var(--fx-show); }
.fx-toolwheel:has(#fx-toolwheel-tape:checked) .fx-coil, .fx-toolwheel:has(#fx-toolwheel-ruler:checked) .fx-coil, .fx-toolwheel:has(#fx-toolwheel-jug:checked) .fx-bag, .fx-toolwheel:has(#fx-toolwheel-jug:checked) .fx-puddle, .fx-toolwheel:has(#fx-toolwheel-luggage:checked) .fx-puddle { visibility: hidden; }
.fx-toolwheel:has(#fx-toolwheel-flour:checked) { --fx-na: 30deg; }
.fx-toolwheel:has(#fx-toolwheel-water:checked) { --fx-na: 45deg; }
.fx-toolwheel .fx-needle { transform-origin: 150px 112px; transform: rotate(var(--fx-na)); transition: transform 0.5s; }
.fx-toolwheel .fx-hookneedle { transform-origin: 150px 39px; transform: rotate(var(--fx-na)); transition: transform 0.5s; }
.fx-toolwheel:has(#fx-toolwheel-wire:checked):has(#fx-toolwheel-tape:checked), .fx-toolwheel:has(#fx-toolwheel-flour:checked):has(#fx-toolwheel-kitchen:checked), .fx-toolwheel:has(#fx-toolwheel-water:checked):has(#fx-toolwheel-jug:checked) { --fx-good: visible; --fx-bad: hidden; }
.fx-toolwheel:has(#fx-toolwheel-wire:checked):has(#fx-toolwheel-ruler:checked), .fx-toolwheel:has(#fx-toolwheel-flour:checked):has(#fx-toolwheel-luggage:checked) { --fx-nudge: visible; --fx-bad: hidden; }
@container (max-width: 480px) { .fx-toolwheel .fx-work { grid-template-columns: minmax(0, 1fr); } }