.fx-profit { display: grid; gap: 16px; }
.fx-profit .fx-guide ol { margin: 0; padding-left: 24px; font-size: 14px; line-height: 1.5; }
.fx-profit .fx-goal { margin: 0; font-size: 16px; font-weight: 700; color: var(--fx-ink); }
.fx-profit .fx-controls { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; }
.fx-profit .fx-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-profit .fx-group legend { padding: 0; margin-bottom: 10px; font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--fx-ink); }
.fx-profit .fx-btn { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 2px solid var(--fx-ink); background: var(--fx-paper); color: var(--fx-ink); font-size: 14px; line-height: 1.35; cursor: pointer; }
.fx-profit .fx-btn:has(input:checked) { background: var(--fx-sun-pale); color: var(--fx-ink); }
.fx-profit .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
@container (max-width: 480px) { .fx-profit .fx-controls { grid-template-columns: minmax(0, 1fr); } }
.fx-profit .fx-stage { height: 380px; padding: 0; box-sizing: border-box; }
.fx-profit .fx-scene { --fx-angle: 0deg; position: relative; width: 100%; max-width: 480px; height: 100%; margin: 0 auto; color: var(--fx-ink); }
.fx-profit .fx-post { position: absolute; top: 60px; left: calc(50% - 12px); width: 24px; height: 214px; background: var(--fx-ink); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.fx-profit .fx-base { position: absolute; top: 268px; left: calc(50% - 48px); width: 96px; height: 10px; border-radius: 5px; background: var(--fx-ink); }
.fx-profit .fx-gap { position: absolute; top: 98px; left: 46%; width: 8%; height: 132px; border-radius: 12px; background: var(--fx-mint); box-shadow: 0 0 0 4px var(--fx-mint-pale); visibility: hidden; }
.fx-profit .fx-beam { position: absolute; top: 60px; left: 22%; width: 56%; height: 4px; background: var(--fx-ink); transform-origin: 50% 0; transform: rotate(var(--fx-angle)); transition: transform 0.45s; }
.fx-profit .fx-pan { position: absolute; top: 0; width: 72%; transform-origin: 50% 0; transform: translateX(-50%) rotate(calc(0deg - var(--fx-angle))); transition: transform 0.45s; }
.fx-profit .fx-cost-pan { left: 0; }
.fx-profit .fx-sale-pan { left: 100%; }
.fx-profit .fx-sling { display: block; width: 100%; height: 24px; fill: none; stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-profit .fx-basket { display: grid; grid-template-rows: repeat(2, 50px); gap: 4px; box-sizing: border-box; height: 112px; padding: 2px 4px; border-left: 1px solid var(--fx-ink); border-right: 1px solid var(--fx-ink); border-bottom: 3px solid var(--fx-ink); border-radius: 0 0 12px 12px; background: var(--fx-paper); }
.fx-profit .fx-sale-basket { grid-template-rows: minmax(0, 1fr); }
.fx-profit .fx-item { display: grid; justify-items: center; align-content: center; box-sizing: border-box; width: 100%; height: 50px; border-radius: 4px; background: var(--fx-sun-pale); font-size: 12px; line-height: 15px; text-align: center; visibility: hidden; }
.fx-profit .fx-sale-item { height: 100%; background: var(--fx-mint-pale); }
.fx-profit .fx-symbol { display: block; width: 30px; height: 16px; fill: none; stroke: var(--fx-ink); stroke-width: 2; stroke-linejoin: round; }
.fx-profit .fx-pan-label { display: grid; place-items: center; height: 34px; font-size: 14px; line-height: 16px; text-align: center; }
.fx-profit .fx-total-holder { display: grid; height: 44px; }
.fx-profit .fx-total { grid-area: 1 / 1; margin: 0; font-size: 12px; line-height: 18px; text-align: center; visibility: hidden; }
.fx-profit .fx-pivot { position: absolute; top: 50px; left: calc(50% - 10px); width: 20px; height: 20px; box-sizing: border-box; border: 3px solid var(--fx-ink); border-radius: 50%; background: var(--fx-sun); }
.fx-profit .fx-stack { display: grid; min-width: 0; }
.fx-profit .fx-state { grid-area: 1 / 1; visibility: hidden; }
.fx-profit .fx-tags { position: absolute; bottom: 14px; left: 10%; width: 80%; margin: 0; font-size: 18px; line-height: 24px; }
.fx-profit .fx-tags .fx-state { display: grid; place-items: center; min-height: 42px; box-sizing: border-box; padding: 8px; border: 2px solid var(--fx-ink); border-radius: 8px; background: var(--fx-paper); color: var(--fx-ink); }
.fx-profit .fx-tags .fx-estimate { background: var(--fx-sun); }
.fx-profit .fx-tags .fx-confirmed { background: var(--fx-mint); }
.fx-profit .fx-says p { margin: 0; padding: 12px; font-size: 14px; line-height: 1.5; color: var(--fx-ink); }
.fx-profit:has(#fx-profit-car:checked) .fx-car-item, .fx-profit:has(#fx-profit-parts:checked) .fx-parts-item, .fx-profit:has(#fx-profit-sale:checked) .fx-sale-item { visibility: visible; }
.fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked) .fx-total { visibility: visible; }
.fx-profit:has(#fx-profit-car:checked) .fx-scene { --fx-angle: -10deg; }
.fx-profit:has(#fx-profit-parts:checked) .fx-scene { --fx-angle: -6deg; }
.fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked) .fx-scene { --fx-angle: -12deg; }
.fx-profit:has(#fx-profit-sale:checked) .fx-scene { --fx-angle: 14deg; }
.fx-profit:has(#fx-profit-car:checked):has(#fx-profit-sale:checked) .fx-scene { --fx-angle: 8deg; }
.fx-profit:has(#fx-profit-parts:checked):has(#fx-profit-sale:checked) .fx-scene { --fx-angle: 13deg; }
.fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked):has(#fx-profit-sale:checked) .fx-scene { --fx-angle: 6deg; }
.fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked):has(#fx-profit-sale:checked) .fx-gap { visibility: visible; }
.fx-profit:not(:has(#fx-profit-car:checked)):not(:has(#fx-profit-parts:checked)):not(:has(#fx-profit-sale:checked)) .fx-s0, .fx-profit:has(#fx-profit-car:checked):not(:has(#fx-profit-parts:checked)):not(:has(#fx-profit-sale:checked)) .fx-s1, .fx-profit:not(:has(#fx-profit-car:checked)):has(#fx-profit-parts:checked):not(:has(#fx-profit-sale:checked)) .fx-s2, .fx-profit:not(:has(#fx-profit-car:checked)):not(:has(#fx-profit-parts:checked)):has(#fx-profit-sale:checked) .fx-s3, .fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked):not(:has(#fx-profit-sale:checked)) .fx-s4, .fx-profit:has(#fx-profit-car:checked):not(:has(#fx-profit-parts:checked)):has(#fx-profit-sale:checked) .fx-s5, .fx-profit:not(:has(#fx-profit-car:checked)):has(#fx-profit-parts:checked):has(#fx-profit-sale:checked) .fx-s6, .fx-profit:has(#fx-profit-car:checked):has(#fx-profit-parts:checked):has(#fx-profit-sale:checked) .fx-s7 { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .fx-profit .fx-beam, .fx-profit .fx-pan { transition: none; } }