.fx-doors .fx-wrap { display: grid; gap: 12px; min-width: 0; color: var(--fx-ink); }
.fx-doors .fx-steps, .fx-doors .fx-goal, .fx-doors .fx-month { margin: 0; }
.fx-doors .fx-steps ol { margin: 0; padding-left: 24px; }
.fx-doors .fx-month { font-size: 22px; text-align: center; }
.fx-doors .fx-tools { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-doors .fx-tools legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.fx-doors .fx-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-left: 8px; margin-right: 92px; }
.fx-doors .fx-tabs .fx-btn { box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 36px; margin: 0; padding: 6px 1px; border: 1px solid var(--fx-ink); border-radius: 4px; font-size: 12px; color: var(--fx-ink); background: var(--fx-paper); cursor: pointer; }
.fx-doors .fx-tabs .fx-btn:has(input:checked) { color: var(--fx-ink); background: var(--fx-mint); }
.fx-doors .fx-btn:has(input:focus-visible) { outline: 3px solid var(--fx-grape); outline-offset: 2px; }
.fx-doors .fx-scene { box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; height: 600px; padding: 8px; overflow: hidden; }
.fx-doors .fx-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; min-width: 0; min-height: 0; }
.fx-doors .fx-col { --fx-open: 0; --fx-reveal: hidden; position: relative; min-width: 0; perspective: 800px; }
.fx-doors .fx-dates { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, minmax(0, 1fr)); visibility: var(--fx-reveal); transition: visibility 0s 0.3s; background: var(--fx-paper); }
.fx-doors .fx-date { box-sizing: border-box; position: relative; display: grid; grid-template-rows: 16px 20px auto; justify-items: center; align-content: start; gap: 2px; min-width: 0; padding: 4px 1px; border-bottom: 1px solid var(--fx-muted); text-align: center; font-size: 12px; line-height: 1.05; }
.fx-doors .fx-task { grid-row: 3; max-width: 100%; overflow-wrap: anywhere; }
.fx-doors .fx-leaf { box-sizing: border-box; position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid var(--fx-ink); border-radius: 3px; background: var(--fx-sun-pale); color: var(--fx-ink); font-size: 12px; transform-origin: left center; transform-style: preserve-3d; transform: rotateY(calc(var(--fx-open) * -110deg)); backface-visibility: hidden; transition: transform 0.65s; }
.fx-doors .fx-leaf span { transform: translateZ(1px); }
.fx-doors .fx-home, .fx-doors .fx-bag { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); }
.fx-doors .fx-home { display: block; box-sizing: border-box; width: 12px; height: 11px; margin-top: 6px; background: var(--fx-mint); border: 1px solid var(--fx-ink); }
.fx-doors .fx-home::before { content: ""; position: absolute; left: -4px; bottom: 9px; width: 18px; height: 8px; background: var(--fx-ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fx-doors .fx-bag { display: block; box-sizing: border-box; width: 14px; height: 11px; margin-top: 7px; border: 1px solid var(--fx-ink); border-radius: 2px; background: var(--fx-sky); }
.fx-doors .fx-bag::before { content: ""; position: absolute; left: 3px; top: -5px; width: 6px; height: 4px; box-sizing: border-box; border: 1px solid var(--fx-ink); border-bottom: 0; }
.fx-doors .fx-person { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; }
.fx-doors .fx-person svg { width: 40px; height: 58px; }
.fx-doors .fx-person circle { fill: var(--fx-sun); stroke: var(--fx-ink); stroke-width: 2; }
.fx-doors .fx-person path { fill: none; stroke: var(--fx-ink); stroke-width: 3; stroke-linecap: round; }
.fx-doors .fx-person b { font-size: 14px; white-space: nowrap; }
.fx-doors .fx-tick { display: inline-block; width: 16px; visibility: hidden; }
.fx-doors .fx-says { display: grid; min-width: 0; }
.fx-doors .fx-says p { grid-area: 1 / 1; margin: 0; visibility: hidden; }
.fx-doors:has(#fx-doors-sun:checked) .fx-col-sun, .fx-doors:has(#fx-doors-mon:checked) .fx-col-mon, .fx-doors:has(#fx-doors-tue:checked) .fx-col-tue, .fx-doors:has(#fx-doors-wed:checked) .fx-col-wed, .fx-doors:has(#fx-doors-thu:checked) .fx-col-thu, .fx-doors:has(#fx-doors-fri:checked) .fx-col-fri, .fx-doors:has(#fx-doors-sat:checked) .fx-col-sat { --fx-open: 1; --fx-reveal: visible; }
.fx-doors:not(:has(input:checked)) .fx-say-start, .fx-doors:has(.fx-mon:checked) .fx-say-mon, .fx-doors:has(.fx-tue:checked) .fx-say-tue, .fx-doors:has(.fx-wed:checked) .fx-say-wed, .fx-doors:has(.fx-thu:checked) .fx-say-thu, .fx-doors:has(.fx-fri:checked) .fx-say-fri { visibility: visible; }
.fx-doors:has(.fx-week:has(:checked) ~ .fx-week:has(:checked)) .fx-single, .fx-doors:has(#fx-doors-sun:checked, #fx-doors-sat:checked) .fx-single { visibility: hidden; }
.fx-doors:has(#fx-doors-sat:checked):not(:has(#fx-doors-sun:checked)) .fx-say-sat, .fx-doors:has(#fx-doors-sun:checked):not(:has(#fx-doors-sat:checked)) .fx-say-sun, .fx-doors:has(#fx-doors-sat:checked):not(:has(#fx-doors-sun:checked)) .fx-hint, .fx-doors:has(#fx-doors-sun:checked):not(:has(#fx-doors-sat:checked)) .fx-hint { visibility: visible; }
.fx-doors:has(.fx-week:has(:checked) ~ .fx-week:has(:checked)):not(:has(#fx-doors-sun:checked, #fx-doors-sat:checked)) .fx-say-many { visibility: visible; }
.fx-doors:has(#fx-doors-sun:checked):has(#fx-doors-sat:checked) .fx-say-both, .fx-doors:has(#fx-doors-sun:checked):has(#fx-doors-sat:checked) .fx-tick { visibility: visible; }
.fx-doors:has(#fx-doors-sun:checked):has(#fx-doors-sat:checked) .fx-visit { background: var(--fx-sun-pale); }
.fx-doors:has(#fx-doors-sun:checked):has(#fx-doors-sat:checked) .fx-date .fx-home { background: var(--fx-sun); box-shadow: 0 0 7px 2px var(--fx-sun); }
@container (max-width: 480px) { .fx-doors .fx-tabs { margin-right: 8px; } .fx-doors .fx-scene { height: 710px; grid-template-columns: 1fr; grid-template-rows: 600px 78px; } .fx-doors .fx-person { flex-direction: row; } }
@media (prefers-reduced-motion: reduce) { .fx-doors .fx-leaf, .fx-doors .fx-dates { transition: none; } }