.fx-heating { --fx-rise: 0; --fx-temp: calc(15 + var(--fx-rise)); --fx-turn: calc(-120deg + var(--fx-rise) * 30deg); --fx-wall: var(--fx-sky-pale); display: grid; gap: 16px; }
.fx-heating:has(#fx-heating-r1:checked) { --fx-rise: 1; }
.fx-heating:has(#fx-heating-r2:checked) { --fx-rise: 2; }
.fx-heating:has(#fx-heating-r3:checked) { --fx-rise: 3; --fx-wall: var(--fx-sun-pale); }
.fx-heating:has(#fx-heating-r4:checked) { --fx-rise: 4; --fx-wall: var(--fx-sun-pale); }
.fx-heating:has(#fx-heating-r5:checked) { --fx-rise: 5; --fx-wall: var(--fx-sun-pale); }
.fx-heating:has(#fx-heating-r6:checked) { --fx-rise: 6; --fx-wall: var(--fx-sun-pale); }
.fx-heating:has(#fx-heating-r7:checked) { --fx-rise: 7; --fx-wall: var(--fx-sun-pale); }
.fx-heating:has(#fx-heating-r8:checked) { --fx-rise: 8; --fx-wall: var(--fx-coral-pale); }
.fx-heating > * { color: var(--fx-ink); }
.fx-heating .fx-heating-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fx-heating .fx-heating-goal { margin: 0; font-size: 16px; line-height: 1.5; }
.fx-heating .fx-heating-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-heating .fx-heating-controls legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 800; }
.fx-heating .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-heating .fx-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--fx-ink); border-radius: 10px; background: var(--fx-paper); color: var(--fx-ink); font-size: 16px; }
.fx-heating .fx-btn:has(input:checked) { background: var(--fx-sun); color: var(--fx-ink); }
.fx-heating .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-heating .fx-heating-scene { position: relative; box-sizing: border-box; margin: 0; padding: 12px; height: 560px; display: grid; grid-template-rows: 56px minmax(0, 1fr) 56px; gap: 8px; border: 2px dashed var(--fx-sky); background: var(--fx-wall); color: var(--fx-ink); }
.fx-heating .fx-heating-office { display: flex; align-items: center; justify-content: center; gap: 8px; }
.fx-heating .fx-heating-office p { margin: 0; font-size: 16px; line-height: 22px; }
.fx-heating .fx-heating-tick { visibility: hidden; display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--fx-ink); border-radius: 50%; background: var(--fx-mint); font-size: 20px; font-weight: 800; }
.fx-heating:has(#fx-heating-r3:checked) .fx-heating-tick { visibility: visible; }
.fx-heating .fx-heating-panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-content: start; }
.fx-heating .fx-heating-panel { display: grid; grid-template-rows: 44px 360px; min-width: 0; }
.fx-heating .fx-heating-part { display: grid; place-items: center; text-align: center; font-size: 16px; line-height: 22px; }
.fx-heating .fx-heating-panel svg { display: block; width: 240px; max-width: 100%; height: 360px; margin: 0 auto; font-size: 16px; }
.fx-heating .fx-heating-panel svg text { fill: var(--fx-ink); }
.fx-heating .fx-heating-glass { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-heating .fx-heating-band { fill: var(--fx-mint); }
.fx-heating .fx-heating-scale { fill: none; stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-heating .fx-heating-column { fill: var(--fx-coral); transform-origin: 60px 290px; transform: scaleY(calc(var(--fx-temp) / 30)); transition: transform 0.5s; }
.fx-heating .fx-heating-red { fill: var(--fx-coral); }
.fx-heating .fx-heating-arrow { fill: var(--fx-ink); }
.fx-heating .fx-heating-read { transform: translateY(calc((15 - var(--fx-temp)) * 9px)); transition: transform 0.5s; }
.fx-heating .fx-heating-knob { transform-origin: 120px 150px; transform: rotate(var(--fx-turn)); transition: transform 0.5s; }
.fx-heating .fx-heating-face { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 3; }
.fx-heating .fx-heating-indicator { stroke: var(--fx-ink); stroke-width: 5; stroke-linecap: round; }
.fx-heating .fx-heating-scene figcaption { align-self: center; margin: 0; font-size: 14px; line-height: 20px; text-align: center; }
.fx-heating .fx-heating-says { display: grid; }
.fx-heating .fx-heating-says > p { grid-area: 1 / 1; visibility: hidden; margin: 0; min-width: 0; font-size: 16px; line-height: 1.5; }
.fx-heating:has(#fx-heating-r0:checked) .fx-heating-m0, .fx-heating:has(#fx-heating-r1:checked) .fx-heating-m1, .fx-heating:has(#fx-heating-r2:checked) .fx-heating-m2, .fx-heating:has(#fx-heating-r3:checked) .fx-heating-m3, .fx-heating:has(#fx-heating-r4:checked) .fx-heating-m4, .fx-heating:has(#fx-heating-r5:checked) .fx-heating-m5, .fx-heating:has(#fx-heating-r6:checked) .fx-heating-m6, .fx-heating:has(#fx-heating-r7:checked) .fx-heating-m7, .fx-heating:has(#fx-heating-r8:checked) .fx-heating-m8 { visibility: visible; }
@container (max-width: 480px) { .fx-heating .fx-heating-scene { height: 984px; } .fx-heating .fx-heating-panels { grid-template-columns: minmax(0, 1fr); grid-template-rows: 404px 404px; } }
@media (prefers-reduced-motion: reduce) { .fx-heating .fx-heating-column, .fx-heating .fx-heating-read, .fx-heating .fx-heating-knob { transition: none; } }