.fx-thermo { display: grid; gap: 16px; }
.fx-thermo .fx-thermo-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fx-thermo .fx-thermo-goal { margin: 0; color: var(--fx-ink); }
.fx-thermo .fx-thermo-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-thermo .fx-thermo-controls legend { padding: 0; font-weight: 800; }
.fx-thermo .fx-thermo-hint { margin: 8px 0; font-size: 14px; }
.fx-thermo .fx-thermo-marks { gap: 8px; }
.fx-thermo .fx-thermo-marks .fx-btn { box-sizing: border-box; min-height: 44px; min-width: 64px; padding: 10px 12px; color: var(--fx-ink); background: var(--fx-paper); border: 2px solid var(--fx-ink); cursor: pointer; }
.fx-thermo .fx-thermo-marks .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-sun-pale); border-color: var(--fx-ink); }
.fx-thermo .fx-thermo-marks .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-thermo .fx-thermo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fx-thermo .fx-thermo-scene { --fx-level: 314px; --fx-above: 0px; box-sizing: border-box; height: 510px; min-width: 0; padding: 12px; display: grid; grid-template-rows: 24px 390px 44px; gap: 6px; justify-items: center; color: var(--fx-ink); }
.fx-thermo:has(#fx-thermo-zero:checked) .fx-thermo-scene { --fx-level: 260px; }
.fx-thermo:has(#fx-thermo-two:checked) .fx-thermo-scene { --fx-level: 224px; --fx-above: 36px; }
.fx-thermo:has(#fx-thermo-five:checked) .fx-thermo-scene { --fx-level: 170px; --fx-above: 90px; }
.fx-thermo:has(#fx-thermo-eight:checked) .fx-thermo-scene { --fx-level: 116px; --fx-above: 144px; }
.fx-thermo:has(#fx-thermo-eleven:checked) .fx-thermo-scene { --fx-level: 62px; --fx-above: 198px; }
.fx-thermo .fx-thermo-caption { font-size: 16px; }
.fx-thermo .fx-thermo-picture { display: block; width: 100%; max-width: 280px; height: 390px; overflow: visible; }
.fx-thermo .fx-thermo-picture text { fill: var(--fx-ink); font-size: 16px; }
.fx-thermo .fx-thermo-above-band { fill: var(--fx-sun-pale); }
.fx-thermo .fx-thermo-below-band { fill: var(--fx-sky-pale); }
.fx-thermo .fx-thermo-ticks { fill: none; stroke: var(--fx-ink); stroke-width: 1.5; }
.fx-thermo .fx-thermo-scale { text-anchor: end; }
.fx-thermo .fx-thermo-tube, .fx-thermo .fx-thermo-bulb-outline { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-thermo .fx-thermo-liquid { fill: var(--fx-coral); y: var(--fx-level); height: calc(358px - var(--fx-level)); transition: y 0.5s, height 0.5s; }
.fx-thermo .fx-thermo-bulb { fill: var(--fx-coral); }
.fx-thermo .fx-thermo-zero-line { fill: none; stroke: var(--fx-ink); stroke-width: 3; }
.fx-thermo .fx-thermo-zero-label { font-weight: 800; }
.fx-thermo .fx-thermo-night-line { fill: none; stroke: var(--fx-ink); stroke-width: 2; stroke-dasharray: 4 4; }
.fx-thermo .fx-thermo-moon { fill: var(--fx-sky); stroke: var(--fx-ink); stroke-width: 1; }
.fx-thermo .fx-thermo-blue-count { fill: var(--fx-sky); stroke: var(--fx-ink); stroke-width: 1; }
.fx-thermo .fx-thermo-orange-count { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 1; y: calc(260px - var(--fx-above)); height: var(--fx-above); transition: y 0.5s, height 0.5s; }
.fx-thermo .fx-thermo-count { text-anchor: middle; font-weight: 800; }
.fx-thermo .fx-thermo-picture .fx-thermo-hand { font-size: 30px; }
.fx-thermo .fx-thermo-sun { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 1; }
.fx-thermo .fx-thermo-rays, .fx-thermo .fx-thermo-bracket { fill: none; stroke: var(--fx-ink); stroke-width: 2; }
.fx-thermo .fx-thermo-picture .fx-thermo-total { font-size: 24px; font-weight: 800; }
.fx-thermo .fx-thermo-key { display: grid; gap: 4px; font-size: 14px; line-height: 20px; }
.fx-thermo .fx-thermo-key span { display: flex; gap: 8px; align-items: center; }
.fx-thermo .fx-thermo-swatch { display: inline-block; width: 16px; height: 16px; border: 1px solid var(--fx-ink); }
.fx-thermo .fx-thermo-blue-swatch { background: var(--fx-sky); }
.fx-thermo .fx-thermo-orange-swatch { background: var(--fx-sun); }
.fx-thermo .fx-thermo-reading { display: grid; gap: 12px; min-width: 0; }
.fx-thermo .fx-thermo-read-label { margin: 0; }
.fx-thermo .fx-thermo-swap { display: grid; }
.fx-thermo .fx-thermo-swap p { grid-area: 1 / 1; margin: 0; align-self: stretch; color: var(--fx-ink); }
.fx-thermo .fx-thermo-state, .fx-thermo .fx-thermo-moved { visibility: hidden; }
.fx-thermo:has(#fx-thermo-start:checked) .fx-thermo-s0, .fx-thermo:has(#fx-thermo-zero:checked) .fx-thermo-sz, .fx-thermo:has(#fx-thermo-two:checked) .fx-thermo-s2, .fx-thermo:has(#fx-thermo-five:checked) .fx-thermo-s5, .fx-thermo:has(#fx-thermo-eight:checked) .fx-thermo-s8, .fx-thermo:has(#fx-thermo-eleven:checked) .fx-thermo-s11 { visibility: visible; }
.fx-thermo:has(#fx-thermo-start:not(:checked)) .fx-thermo-moved { visibility: visible; }
@container (max-width: 480px) { .fx-thermo .fx-thermo-body { grid-template-columns: minmax(0, 1fr); } }