.fx-weigh{--fx-angle:-14deg;--fx-i:0;--fx-s:0;display:grid;gap:16px}
.fx-weigh:has(.fx-i:checked),.fx-weigh:has(.fx-s:checked),.fx-weigh:has(.fx-h:checked){--fx-angle:-8deg}
.fx-weigh:has(.fx-i:checked){--fx-i:1}
.fx-weigh:has(.fx-s:checked){--fx-s:1}
.fx-weigh:has(.fx-i:checked):has(.fx-s:checked),.fx-weigh:has(.fx-i:checked):has(.fx-h:checked),.fx-weigh:has(.fx-s:checked):has(.fx-h:checked){--fx-angle:-2deg}
.fx-weigh:has(.fx-i:checked):has(.fx-s:checked):has(.fx-h:checked){--fx-angle:14deg}
.fx-weigh .fx-instructions ol{margin:0;padding-left:24px}
.fx-weigh .fx-instructions li{padding-left:2px;line-height:1.5}
.fx-weigh .fx-goal,.fx-weigh .fx-tap,.fx-weigh .fx-caution{margin:0}
.fx-weigh .fx-controls{min-width:0;border:0;padding:0;margin:0;display:grid;gap:8px}
.fx-weigh .fx-controls legend{max-width:100%;padding:0;margin-bottom:8px;font-weight:700}
.fx-weigh .fx-tap{font-size:14px;line-height:1.5}
.fx-weigh .fx-choices{border-bottom:4px solid var(--fx-ink);padding-bottom:8px}
.fx-weigh .fx-btn{box-sizing:border-box;min-width:64px;min-height:44px;padding:10px 14px;color:var(--fx-ink)}
.fx-weigh .fx-btn:has(input:checked){background:var(--fx-sun);color:var(--fx-ink)}
.fx-weigh .fx-btn:has(input:focus-visible){outline:3px solid var(--fx-ink);outline-offset:3px}
.fx-weigh .fx-scene{box-sizing:border-box;position:relative;display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;height:380px;padding:12px;color:var(--fx-ink);font-size:14px}
.fx-weigh .fx-scale{min-width:0;display:grid;grid-template-rows:252px minmax(0,1fr)}
.fx-weigh .fx-depth{position:relative;height:252px;perspective:650px}
.fx-weigh .fx-stand{position:absolute;top:130px;left:50%;width:58px;height:80px;background:var(--fx-sky);clip-path:polygon(50% 0,100% 100%,0 100%);transform:translateX(-50%)}
.fx-weigh .fx-beam{position:absolute;left:8%;right:8%;top:126px;height:8px;transform-style:preserve-3d;transform:rotateX(15deg) rotateZ(var(--fx-angle));transition:transform .6s}
.fx-weigh .fx-board{position:absolute;inset:0;background:var(--fx-mint);border:2px solid var(--fx-ink);box-sizing:border-box;transform:translateZ(4px)}
.fx-weigh .fx-edge{position:absolute;left:0;right:0;top:8px;height:8px;background:var(--fx-sky);border:1px solid var(--fx-ink);transform-origin:center top;transform:rotateX(-90deg) translateZ(4px)}
.fx-weigh .fx-pan{box-sizing:border-box;position:absolute;bottom:0;width:40%;height:6px;border:2px solid var(--fx-ink);background:var(--fx-sun);transform:translateZ(8px);transform-style:preserve-3d}
.fx-weigh .fx-left-pan{left:0}
.fx-weigh .fx-right-pan{right:0}
.fx-weigh .fx-pan-label{position:absolute;top:12px;left:-8%;width:116%;font-size:12px;line-height:1.25;text-align:center}
.fx-weigh .fx-tag{box-sizing:border-box;position:absolute;bottom:12px;left:0;width:100%;min-height:56px;display:grid;place-items:center;padding:6px 4px 6px 10px;background:var(--fx-coral-pale);border:2px solid var(--fx-ink);clip-path:polygon(10% 0,100% 0,100% 100%,10% 100%,0 50%);font-size:12px;line-height:1.25;font-weight:700;text-align:center;transform:rotateY(-8deg) translateZ(6px)}
.fx-weigh .fx-weight{--fx-slot:0;box-sizing:border-box;position:absolute;left:0;right:0;bottom:calc(9px + var(--fx-slot) * 25px);height:23px;border:1px solid var(--fx-ink);border-radius:4px;background:var(--fx-sun);font-size:12px;line-height:21px;text-align:center;font-weight:700;visibility:hidden;transform:translateY(-24px) translateZ(10px);transition:transform .5s,bottom .5s}
.fx-weigh .fx-ws{--fx-slot:var(--fx-i)}
.fx-weigh .fx-wh{--fx-slot:calc(var(--fx-i) + var(--fx-s))}
.fx-weigh:has(.fx-i:checked) .fx-wi,.fx-weigh:has(.fx-s:checked) .fx-ws,.fx-weigh:has(.fx-h:checked) .fx-wh{visibility:visible;transform:translateY(0) translateZ(10px)}
.fx-weigh .fx-store{position:absolute;left:4%;right:4%;top:219px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-bottom:4px solid var(--fx-ink);padding-bottom:4px}
.fx-weigh .fx-stock{box-sizing:border-box;min-width:0;border:1px solid var(--fx-ink);border-radius:4px;background:var(--fx-sun);font-size:12px;font-weight:700;text-align:center;line-height:23px}
.fx-weigh:has(.fx-i:checked) .fx-stock-i,.fx-weigh:has(.fx-s:checked) .fx-stock-s,.fx-weigh:has(.fx-h:checked) .fx-stock-h{visibility:hidden}
.fx-weigh .fx-stack{display:grid;min-width:0}
.fx-weigh .fx-state{grid-area:1 / 1;visibility:hidden;margin:0;line-height:1.5}
.fx-weigh .fx-balance-text{align-content:start;padding-top:8px;font-size:14px}
.fx-weigh .fx-shopper{min-width:0;display:grid;align-content:center;justify-items:center;gap:10px}
.fx-weigh .fx-shopper-label{font-size:14px}
.fx-weigh .fx-bubble{box-sizing:border-box;width:100%;padding:10px;border:2px solid var(--fx-ink);border-radius:18px;background:var(--fx-paper);text-align:center;align-items:center}
.fx-weigh .fx-person{width:72px;height:126px}
.fx-weigh .fx-head{fill:var(--fx-sun);stroke:var(--fx-ink);stroke-width:3}
.fx-weigh .fx-body{fill:none;stroke:var(--fx-ink);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.fx-weigh .fx-sentence{display:grid;gap:8px}
.fx-weigh .fx-emphasis{background:var(--fx-sun);border-bottom:2px solid var(--fx-ink);border-radius:3px}
.fx-weigh .fx-feedback{align-items:stretch}
.fx-weigh:not(:has(.fx-i:checked,.fx-s:checked,.fx-h:checked)) .fx-s0,.fx-weigh:has(.fx-i:checked):not(:has(.fx-s:checked,.fx-h:checked)) .fx-s1,.fx-weigh:has(.fx-s:checked):not(:has(.fx-i:checked,.fx-h:checked)) .fx-s2,.fx-weigh:has(.fx-h:checked):not(:has(.fx-i:checked,.fx-s:checked)) .fx-s3,.fx-weigh:has(.fx-i:checked):has(.fx-s:checked):not(:has(.fx-h:checked)) .fx-s4,.fx-weigh:has(.fx-i:checked):has(.fx-h:checked):not(:has(.fx-s:checked)) .fx-s5,.fx-weigh:has(.fx-s:checked):has(.fx-h:checked):not(:has(.fx-i:checked)) .fx-s6,.fx-weigh:has(.fx-i:checked):has(.fx-s:checked):has(.fx-h:checked) .fx-s7{visibility:visible}
@container (max-width: 480px){.fx-weigh .fx-scene{height:600px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 180px}.fx-weigh .fx-shopper{grid-template-columns:minmax(0,1fr) 72px;grid-template-rows:auto 126px;align-content:center;align-items:center}.fx-weigh .fx-shopper-label{grid-column:1 / 3}.fx-weigh .fx-bubble{grid-column:1;grid-row:2}.fx-weigh .fx-person{grid-column:2;grid-row:2}}
@media (prefers-reduced-motion: reduce){.fx-weigh .fx-beam,.fx-weigh .fx-weight{transition:none}}