.fx-shutters { display: grid; gap: 16px; }
.fx-shutters .fx-note ol { margin: 0; padding-left: 0; list-style: none; }
.fx-shutters .fx-note li + li { margin-top: 6px; }
.fx-shutters .fx-goal { margin: 0; color: var(--fx-ink); }
.fx-shutters .fx-controls { min-width: 0; padding: 0; margin: 0; border: 0; }
.fx-shutters .fx-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-shutters .fx-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-shutters .fx-btn { min-height: 44px; box-sizing: border-box; color: var(--fx-ink); }
.fx-shutters .fx-btn:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); }
.fx-shutters .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 3px; }
.fx-shutters .fx-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 396px; gap: 12px; height: 424px; box-sizing: border-box; padding: 12px; border: 2px solid var(--fx-ink); background: var(--fx-sun-pale); color: var(--fx-ink); }
.fx-shutters .fx-window { display: grid; grid-template-rows: 24px 40px 40px 240px 52px; min-width: 0; text-align: center; font-size: 14px; line-height: 20px; }
.fx-shutters .fx-day { font-size: 16px; }
.fx-shutters .fx-part, .fx-shutters .fx-hint { display: grid; place-items: center; padding: 0 3px; }
.fx-shutters .fx-part { grid-row: 3; }
.fx-shutters .fx-part:last-child { grid-row: 5; }
.fx-shutters .fx-hint { font-size: 12px; font-weight: 700; }
.fx-shutters .fx-perspective { grid-row: 4; position: relative; perspective: 650px; overflow: hidden; border: 2px solid var(--fx-ink); box-sizing: border-box; background: var(--fx-paper); }
.fx-shutters .fx-inside { position: absolute; inset: 0; display: grid; place-items: center; visibility: hidden; }
.fx-shutters .fx-inside svg { width: 100%; height: 220px; max-width: 160px; }
.fx-shutters .fx-ticks, .fx-shutters .fx-pointer { fill: none; stroke: var(--fx-ink); stroke-width: 2; }
.fx-shutters .fx-numbers { fill: var(--fx-ink); font-size: 14px; text-anchor: end; }
.fx-shutters .fx-tube { fill: var(--fx-paper); stroke: var(--fx-ink); stroke-width: 2; }
.fx-shutters .fx-column, .fx-shutters .fx-bulb { fill: var(--fx-coral); }
.fx-shutters .fx-bulb { stroke: var(--fx-ink); stroke-width: 2; }
.fx-shutters .fx-door { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; box-sizing: border-box; background: var(--fx-sun); color: var(--fx-ink); border: 5px double var(--fx-ink); cursor: pointer; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(0deg) translateZ(1px); transition: transform 0.6s; backface-visibility: hidden; font-weight: 700; }
.fx-shutters .fx-door span { max-width: 120px; }
.fx-shutters:has(#fx-shutters-mon:checked) .fx-mon .fx-door, .fx-shutters:has(#fx-shutters-tue:checked) .fx-tue .fx-door, .fx-shutters:has(#fx-shutters-wed:checked) .fx-wed .fx-door, .fx-shutters:has(#fx-shutters-thu:checked) .fx-thu .fx-door { transform: rotateY(105deg) translateZ(1px); }
.fx-shutters:has(#fx-shutters-mon:checked) .fx-mon .fx-inside, .fx-shutters:has(#fx-shutters-tue:checked) .fx-tue .fx-inside, .fx-shutters:has(#fx-shutters-wed:checked) .fx-wed .fx-inside, .fx-shutters:has(#fx-shutters-thu:checked) .fx-thu .fx-inside { visibility: visible; transition: visibility 0s 0.2s; }
.fx-shutters .fx-readings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-shutters .fx-message { display: grid; min-width: 0; }
.fx-shutters .fx-message p { grid-area: 1 / 1; margin: 0; color: var(--fx-ink); }
.fx-shutters .fx-reading, .fx-shutters .fx-partial, .fx-shutters .fx-finish { visibility: hidden; }
.fx-shutters:has(#fx-shutters-mon:checked) .fx-mon-reading, .fx-shutters:has(#fx-shutters-tue:checked) .fx-tue-reading, .fx-shutters:has(#fx-shutters-wed:checked) .fx-wed-reading, .fx-shutters:has(#fx-shutters-thu:checked) .fx-thu-reading { visibility: visible; }
.fx-shutters:has(input:checked) .fx-start, .fx-shutters:has(input:checked) .fx-first { visibility: hidden; }
.fx-shutters:has(input:checked) .fx-partial { visibility: visible; }
.fx-shutters:has(#fx-shutters-mon:checked):has(#fx-shutters-tue:checked):has(#fx-shutters-wed:checked):has(#fx-shutters-thu:checked) .fx-partial { visibility: hidden; }
.fx-shutters:has(#fx-shutters-mon:checked):has(#fx-shutters-tue:checked):has(#fx-shutters-wed:checked):has(#fx-shutters-thu:checked) .fx-finish { visibility: visible; }
.fx-shutters:has(#fx-shutters-mon:checked):has(#fx-shutters-tue:checked):has(#fx-shutters-wed:checked):has(#fx-shutters-thu:checked) .fx-thu .fx-column { stroke: var(--fx-sun); stroke-width: 6; }
.fx-shutters:has(#fx-shutters-mon:checked):has(#fx-shutters-tue:checked):has(#fx-shutters-wed:checked):has(#fx-shutters-thu:checked) .fx-wed .fx-column { stroke: var(--fx-grape); stroke-width: 3; }
@container (max-width: 800px) { .fx-shutters .fx-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 396px); height: 832px; } }
@container (max-width: 480px) { .fx-shutters .fx-wall { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(4, 396px); height: 1648px; } .fx-shutters .fx-readings { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fx-shutters .fx-door, .fx-shutters .fx-inside { transition: none; } }