.fx-scales { display: grid; gap: 16px; }
.fx-scales .fx-how { margin: 0; }
.fx-scales .fx-steps { margin: 0; padding-left: 24px; display: grid; gap: 6px; }
.fx-scales .fx-goal { margin: 0; line-height: 1.5; }
.fx-scales .fx-controls { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-scales .fx-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-scales .fx-bags { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-scales .fx-btn { display: flex; align-items: center; justify-content: center; flex: 1 1 78px; box-sizing: border-box; min-height: 44px; padding: 10px 8px; border: 2px solid var(--fx-muted); border-radius: 14px 14px 6px 6px; background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.fx-scales .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); border-color: var(--fx-ink); }
.fx-scales .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-scales .fx-hint { margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.fx-scales .fx-explore { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: center; }
.fx-scales .fx-scale-stage { position: relative; box-sizing: border-box; width: 100%; height: 380px; min-width: 0; padding: 0; color: var(--fx-ink); }
.fx-scales .fx-messages { display: grid; min-width: 0; }
.fx-scales .fx-messages > p { display: block; grid-area: 1 / 1; margin: 0; min-width: 0; }
.fx-scales .fx-state { visibility: hidden; }
.fx-scales:has(#fx-scales-empty:checked) .fx-state-empty, .fx-scales:has(#fx-scales-equal:checked) .fx-state-equal, .fx-scales:has(#fx-scales-less-a:checked) .fx-state-less-a, .fx-scales:has(#fx-scales-less-b:checked) .fx-state-less-b, .fx-scales:has(#fx-scales-more:checked) .fx-state-more, .fx-scales:has(#fx-scales-empty:checked) .fx-left-down, .fx-scales:has(#fx-scales-less-a:checked) .fx-left-down, .fx-scales:has(#fx-scales-less-b:checked) .fx-left-down { visibility: visible; }
.fx-scales .fx-balance { position: absolute; top: 10px; left: 10px; right: 10px; text-align: center; font-size: 12px; line-height: 1.5; }
.fx-scales .fx-balance > p { padding: 5px 6px; border: 1px solid var(--fx-muted); border-radius: 8px; background: var(--fx-paper); }
.fx-scales .fx-balanced strong { padding: 2px 6px; border-radius: 4px; background: var(--fx-mint); }
.fx-scales .fx-model { --fx-angle: -10deg; position: absolute; top: 44px; left: 50%; width: 100%; max-width: 600px; height: 288px; transform: translateX(-50%); }
.fx-scales:has(#fx-scales-equal:checked) .fx-model { --fx-angle: 0deg; }
.fx-scales:has(#fx-scales-more:checked) .fx-model { --fx-angle: 10deg; }
.fx-scales .fx-stand { position: absolute; top: 76px; left: 50%; width: 10px; height: 166px; background: var(--fx-ink); transform: translateX(-50%); }
.fx-scales .fx-base { position: absolute; top: 239px; left: 50%; width: 88px; height: 10px; border-radius: 5px; background: var(--fx-ink); transform: translateX(-50%); }
.fx-scales .fx-part { position: absolute; left: 50%; padding: 2px 4px; background: var(--fx-paper); font-size: 12px; line-height: 16px; transform: translateX(-50%); }
.fx-scales .fx-beam-label { top: 46px; }
.fx-scales .fx-stand-label { top: 211px; }
.fx-scales .fx-beam { position: absolute; top: 72px; left: 23%; width: 54%; height: 6px; border-radius: 3px; background: var(--fx-ink); transform: rotate(var(--fx-angle)); transform-origin: 50% 50%; transition: transform 0.55s; }
.fx-scales .fx-rig { position: absolute; top: 3px; width: 82%; height: 136px; transform: rotate(calc(0deg - var(--fx-angle))); transform-origin: 50% 0; transition: transform 0.55s; }
.fx-scales .fx-left-rig { left: -41%; }
.fx-scales .fx-right-rig { left: 59%; }
.fx-scales .fx-sling { position: absolute; top: 0; left: 0; width: 100%; height: 136px; }
.fx-scales .fx-sling path { fill: none; stroke: var(--fx-muted); stroke-width: 2; stroke-linejoin: round; }
.fx-scales .fx-pan { position: absolute; bottom: 0; left: 0; width: 100%; height: 8px; border-radius: 2px 2px 8px 8px; background: var(--fx-ink); }
.fx-scales .fx-pan-label { position: absolute; top: 142px; left: -3px; right: -3px; margin: 0; text-align: center; font-size: 12px; font-weight: 800; line-height: 16px; }
.fx-scales .fx-pivot { position: absolute; top: 68px; left: 50%; box-sizing: border-box; width: 14px; height: 14px; border: 2px solid var(--fx-ink); border-radius: 50%; background: var(--fx-sun); transform: translateX(-50%); }
.fx-scales .fx-cargo { position: absolute; bottom: 10px; left: 0; width: 100%; display: grid; }
.fx-scales .fx-load { grid-area: 1 / 1; display: flex; justify-content: center; align-items: end; gap: 4px; height: 108px; }
.fx-scales .fx-cargo .fx-load.fx-state { opacity: 0; transform: translateY(-12px); transition: transform 0.45s, opacity 0.45s; }
.fx-scales:has(#fx-scales-equal:checked) .fx-cargo .fx-state-equal, .fx-scales:has(#fx-scales-less-a:checked) .fx-cargo .fx-state-less-a, .fx-scales:has(#fx-scales-less-b:checked) .fx-cargo .fx-state-less-b, .fx-scales:has(#fx-scales-more:checked) .fx-cargo .fx-state-more { opacity: 1; transform: translateY(0); }
.fx-scales .fx-term { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; line-height: 16px; }
.fx-scales .fx-pieces { display: flex; height: 90px; align-items: end; justify-content: center; gap: 4px; }
.fx-scales .fx-ten { display: flex; flex-direction: column; width: 10px; height: 90px; }
.fx-scales .fx-ten i, .fx-scales .fx-key-ten i { flex: 1; box-sizing: border-box; border: 1px solid var(--fx-ink); background: var(--fx-sun); }
.fx-scales .fx-ones { display: flex; flex-wrap: wrap; width: 22px; gap: 2px; }
.fx-scales .fx-ones i { box-sizing: border-box; width: 10px; height: 10px; border: 1px solid var(--fx-ink); background: var(--fx-mint); }
.fx-scales .fx-plus { font-size: 16px; line-height: 16px; }
.fx-scales .fx-key { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 12px; line-height: 18px; }
.fx-scales .fx-key-item { display: flex; align-items: center; gap: 6px; }
.fx-scales .fx-key-ten { display: flex; width: 40px; height: 10px; }
.fx-scales .fx-key-one { box-sizing: border-box; width: 10px; height: 10px; border: 1px solid var(--fx-ink); background: var(--fx-mint); }
.fx-scales .fx-reading { min-width: 0; }
.fx-scales .fx-watch { margin: 0 0 12px; line-height: 1.5; }
.fx-scales .fx-feedback { font-size: 16px; line-height: 1.5; }
@container (max-width: 480px) { .fx-scales .fx-explore { grid-template-columns: 1fr; } .fx-scales .fx-bags .fx-btn { flex-basis: calc(50% - 4px); } .fx-scales .fx-bags .fx-empty-choice { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .fx-scales .fx-beam, .fx-scales .fx-rig, .fx-scales .fx-load { transition: none; } }