.fx-lift { --fx-gap: 0px; display: grid; }
.fx-lift:has(#fx-lift-raise:checked) { --fx-gap: 40px; }
.fx-lift .fx-shell { display: grid; gap: 16px; min-width: 0; color: var(--fx-ink); font-size: 16px; }
.fx-lift .fx-steps { margin: 0; padding-left: 24px; }
.fx-lift .fx-steps li + li { margin-top: 6px; }
.fx-lift .fx-goal { margin: 0; }
.fx-lift .fx-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-lift .fx-controls legend { padding: 0; margin-bottom: 10px; font-weight: 800; }
.fx-lift .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-lift .fx-btn { box-sizing: border-box; min-height: 44px; max-width: 100%; padding: 10px 12px; border: 2px solid var(--fx-muted); background: var(--fx-paper); color: var(--fx-ink); white-space: normal; line-height: 1.4; }
.fx-lift .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); border-color: var(--fx-ink); }
.fx-lift .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-lift .fx-picture { position: relative; box-sizing: border-box; height: 300px; overflow: hidden; color: var(--fx-ink); }
.fx-lift .fx-floor-label { position: absolute; left: 12px; top: 12px; font-size: 14px; }
.fx-lift .fx-big-label { position: absolute; right: 12px; top: 12px; font-size: 14px; visibility: hidden; }
.fx-lift .fx-missing-label { position: absolute; top: 46px; left: 12px; right: 12px; text-align: center; font-size: 12px; line-height: 1.4; }
.fx-lift .fx-height-label { position: absolute; left: 10px; top: 142px; padding: 2px; background: var(--fx-paper); font-size: 14px; font-weight: 800; }
.fx-lift .fx-width-label { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 14px; font-weight: 800; }
.fx-lift .fx-perspective { position: absolute; inset: 0; perspective: 800px; }
.fx-lift .fx-model { position: absolute; left: 50%; top: 65%; width: 200px; height: 112px; margin-left: -100px; margin-top: -56px; transform: rotateX(55deg) rotateZ(-30deg); transform-style: preserve-3d; }
.fx-lift .fx-grid { position: absolute; left: -10%; top: -17.857%; width: 120%; height: 135.714%; transform: translateZ(-3px); fill: none; stroke: var(--fx-muted); stroke-width: 0.6; opacity: 0.4; }
.fx-lift .fx-void { position: absolute; left: 20%; top: 0; width: 80%; height: 71.429%; box-sizing: border-box; border: 2px dashed var(--fx-muted); transform: translateZ(-1px); }
.fx-lift .fx-part { position: absolute; transform-style: preserve-3d; transition: transform 0.7s; }
.fx-lift .fx-left { left: 0; top: 0; width: 20%; height: 100%; transform: translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift .fx-bottom { left: 20%; top: 71.429%; width: 80%; height: 28.571%; transform: translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift .fx-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fx-lift .fx-surface { fill: var(--fx-sun-pale); stroke: none; }
.fx-lift .fx-edge { fill: none; stroke: var(--fx-ink); stroke-width: 1.5; stroke-linejoin: round; }
.fx-lift .fx-seam { fill: none; stroke: var(--fx-coral); stroke-width: 2; stroke-dasharray: 4 3; animation: fx-lift-pulse 1.2s ease-in-out 4 alternate; }
.fx-lift .fx-left-name { position: absolute; left: 50%; top: 50%; width: 80px; text-align: center; transform: translate(-50%, -50%) rotateZ(-90deg); font-size: 12px; line-height: 1; }
.fx-lift .fx-bottom-name { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.fx-lift .fx-cutout { left: 20%; top: 0; width: 80%; height: 71.429%; box-sizing: border-box; border: 2px dashed var(--fx-coral); background: var(--fx-coral-pale); visibility: hidden; transform: translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift .fx-cutout-name { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; }
.fx-lift:has(#fx-lift-strips:checked):has(#fx-lift-raise:checked) .fx-left { transform: translateX(-10px) translateY(-4px) translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift:has(#fx-lift-strips:checked):has(#fx-lift-raise:checked) .fx-bottom { transform: translateX(8px) translateY(8px) translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift:has(#fx-lift-fill:checked) .fx-left, .fx-lift:has(#fx-lift-fill:checked) .fx-bottom { transform: translateZ(0px); }
.fx-lift:has(#fx-lift-fill:checked) .fx-seam, .fx-lift:has(#fx-lift-fill:checked) .fx-left-name, .fx-lift:has(#fx-lift-fill:checked) .fx-bottom-name { visibility: hidden; }
.fx-lift:has(#fx-lift-fill:checked) .fx-cutout, .fx-lift:has(#fx-lift-fill:checked) .fx-big-label { visibility: visible; }
.fx-lift:has(#fx-lift-fill:checked):has(#fx-lift-raise:checked) .fx-cutout { transform: translateX(8px) translateY(-10px) translateZ(calc(var(--fx-i) * var(--fx-gap))); }
.fx-lift:has(#fx-lift-raise:checked) .fx-seam { animation: none; }
.fx-lift .fx-stack { display: grid; min-width: 0; }
.fx-lift .fx-state { grid-area: 1 / 1; visibility: hidden; margin: 0; min-width: 0; }
.fx-lift .fx-equations { padding: 12px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-sun-pale); }
.fx-lift .fx-calcs { display: grid; align-content: start; gap: 8px; font-size: 14px; line-height: 1.5; }
.fx-lift .fx-calcs p { margin: 0; }
.fx-lift .fx-calcs .fx-score { font-size: 22px; font-weight: 800; }
.fx-lift .fx-says, .fx-lift .fx-feedback { line-height: 1.5; }
.fx-lift:has(#fx-lift-strips:checked):has(#fx-lift-raise:not(:checked)) .fx-a0, .fx-lift:has(#fx-lift-strips:checked):has(#fx-lift-raise:checked) .fx-a1, .fx-lift:has(#fx-lift-fill:checked):has(#fx-lift-raise:not(:checked)) .fx-b0, .fx-lift:has(#fx-lift-fill:checked):has(#fx-lift-raise:checked) .fx-b1 { visibility: visible; }
@container (max-width: 480px) { .fx-lift .fx-row { flex-direction: column; align-items: stretch; } .fx-lift .fx-model { width: 160px; height: 89.6px; margin-left: -80px; margin-top: -44.8px; } }
@keyframes fx-lift-pulse { from { opacity: 0.35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-lift .fx-part { transition: none; } .fx-lift .fx-seam { animation: none; } }