.fx-stack{display:block;counter-reset:fx-stack-n}
.fx-stack .fx-wrap{display:grid;gap:16px;min-width:0;color:var(--fx-ink)}
.fx-stack .fx-wrap,.fx-stack .fx-wrap *{box-sizing:border-box}
.fx-stack .fx-wrap p{margin:0}
.fx-stack .fx-note ol{margin:0;padding-left:24px}
.fx-stack .fx-note li{margin:4px 0}
.fx-stack .fx-prep{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.fx-stack .fx-task{padding:16px;border:2px solid var(--fx-ink);border-radius:10px;background:var(--fx-paper);display:grid;gap:12px}
.fx-stack .fx-task ul{margin:0;padding-left:22px}
.fx-stack .fx-task li{margin:6px 0}
.fx-stack .fx-plan{min-width:0;margin:0;padding:14px;border:2px solid var(--fx-ink);border-radius:10px;background:var(--fx-sun-pale);display:grid;gap:12px}
.fx-stack .fx-plan legend{max-width:100%;padding:0 5px;font-weight:800}
.fx-stack .fx-choices{display:grid;gap:10px}
.fx-stack .fx-choice{min-width:0;min-height:44px;padding:12px;text-align:left;color:var(--fx-ink);background:var(--fx-paper);border:2px solid var(--fx-muted);border-radius:8px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.fx-stack .fx-choice:has(input:checked){background:var(--fx-mint);color:var(--fx-ink);border-color:var(--fx-ink)}
.fx-stack .fx-choice:focus-within{outline:3px solid var(--fx-grape);outline-offset:3px}
.fx-stack .fx-choice input:checked{counter-increment:fx-stack-n}
.fx-stack .fx-nudge{font-size:14px;font-weight:700}
.fx-stack .fx-arrow{display:inline-block;animation:fx-stack-point .65s 3}
.fx-stack .fx-total{display:grid;font-size:18px;line-height:1.5}
.fx-stack .fx-total span{grid-area:1 / 1;visibility:hidden}
.fx-stack .fx-total .fx-c0{visibility:visible}
.fx-stack:has(.fx-choice:nth-child(1 of :has(:checked))) .fx-c0{visibility:hidden}
.fx-stack:has(.fx-choice:nth-child(1 of :has(:checked))) .fx-c1{visibility:visible}
.fx-stack:has(.fx-choice:nth-child(2 of :has(:checked))) .fx-c1{visibility:hidden}
.fx-stack:has(.fx-choice:nth-child(2 of :has(:checked))) .fx-c2{visibility:visible}
.fx-stack:has(.fx-choice:nth-child(3 of :has(:checked))) .fx-c2{visibility:hidden}
.fx-stack:has(.fx-choice:nth-child(3 of :has(:checked))) .fx-c3{visibility:visible}
.fx-stack:has(.fx-choice:nth-child(4 of :has(:checked))) .fx-c3{visibility:hidden}
.fx-stack:has(.fx-choice:nth-child(4 of :has(:checked))) .fx-c4{visibility:visible}
.fx-stack .fx-scene{height:1160px;margin:0;padding:12px;display:grid;grid-template-rows:32px minmax(0,1fr);gap:8px;overflow:hidden}
.fx-stack .fx-scene figcaption{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fx-stack .fx-tick{visibility:hidden;background:var(--fx-mint);padding:2px 10px;border-radius:8px;font-weight:800}
.fx-stack .fx-perspective{perspective:1200px;min-height:0;padding:8px}
.fx-stack .fx-page{height:100%;display:grid;grid-template-rows:repeat(3,minmax(0,1fr)) 100px;gap:14px;padding:12px;background:var(--fx-paper);border:2px solid var(--fx-ink);border-radius:8px;transform-style:preserve-3d;transform:rotateX(1deg) rotateY(-1deg);transition:transform .45s}
.fx-stack .fx-slot{position:relative;min-height:0;border:2px dashed var(--fx-muted);border-radius:8px;padding:10px;background:var(--fx-paper);transform-style:preserve-3d}
.fx-stack .fx-title{display:block;font-size:14px;line-height:1.3}
.fx-stack .fx-order{display:block;visibility:hidden;font-size:12px;line-height:18px;font-weight:800}
.fx-stack .fx-opening{display:block;font-size:12px;line-height:18px}
.fx-stack .fx-slab{position:absolute;top:68px;right:10px;bottom:10px;left:10px;padding:10px;border:1px solid var(--fx-ink);border-radius:5px;background:var(--fx-sky-pale);box-shadow:0 5px 0 var(--fx-muted);visibility:hidden;opacity:0;transform:translate3d(0,-28px,35px) rotateX(-12deg) scale(0);transition:transform .45s cubic-bezier(.2,.7,.3,1),opacity .3s,visibility .45s}
.fx-stack .fx-slab p{font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.fx-stack .fx-b1{top:86px;background:var(--fx-sun-pale)}
.fx-stack .fx-b3{background:var(--fx-mint-pale)}
.fx-stack .fx-b4{top:40px;background:var(--fx-sun-pale)}
.fx-stack:has(#fx-stack-liked:checked) .fx-b1,.fx-stack:has(#fx-stack-improve:checked) .fx-b2,.fx-stack:has(#fx-stack-next:checked) .fx-b3,.fx-stack:has(#fx-stack-name:checked) .fx-b4{visibility:visible;opacity:1;transform:translate3d(0,0,5px) rotateX(0deg) scale(1)}
.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-liked:checked)) .fx-slot1,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-improve:checked)) .fx-slot2,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-next:checked)) .fx-slot3,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-name:checked)) .fx-slot4{background:var(--fx-coral-pale);border-color:var(--fx-coral);box-shadow:0 0 0 2px var(--fx-coral-pale)}
.fx-stack .fx-feedback{display:grid;gap:12px}
.fx-stack .fx-summary,.fx-stack .fx-status{display:grid;min-width:0}
.fx-stack .fx-message{grid-area:1 / 1;visibility:hidden;align-self:stretch}
.fx-stack .fx-summary .fx-empty{visibility:visible}
.fx-stack .fx-statuses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fx-stack:has(.fx-plan input:checked) .fx-empty{visibility:hidden}
.fx-stack:has(.fx-plan input:checked) .fx-progress{visibility:visible}
.fx-stack:has(#fx-stack-liked:checked) .fx-on1,.fx-stack:has(#fx-stack-improve:checked) .fx-on2,.fx-stack:has(#fx-stack-next:checked) .fx-on3,.fx-stack:has(#fx-stack-name:checked) .fx-on4{visibility:visible}
.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-liked:checked)) .fx-off1,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-improve:checked)) .fx-off2,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-next:checked)) .fx-off3,.fx-stack:has(.fx-plan input:checked):not(:has(#fx-stack-name:checked)) .fx-off4{visibility:visible}
.fx-stack:has(#fx-stack-liked:checked):has(#fx-stack-improve:checked):has(#fx-stack-next:checked):has(#fx-stack-name:checked) .fx-progress{visibility:hidden}
.fx-stack:has(#fx-stack-liked:checked):has(#fx-stack-improve:checked):has(#fx-stack-next:checked):has(#fx-stack-name:checked) .fx-complete,.fx-stack:has(#fx-stack-liked:checked):has(#fx-stack-improve:checked):has(#fx-stack-next:checked):has(#fx-stack-name:checked) .fx-order,.fx-stack:has(#fx-stack-liked:checked):has(#fx-stack-improve:checked):has(#fx-stack-next:checked):has(#fx-stack-name:checked) .fx-tick{visibility:visible}
.fx-stack:has(#fx-stack-liked:checked):has(#fx-stack-improve:checked):has(#fx-stack-next:checked):has(#fx-stack-name:checked) .fx-page{animation:fx-stack-settle .55s 1}
@container (max-width:480px){.fx-stack .fx-prep,.fx-stack .fx-statuses{grid-template-columns:minmax(0,1fr)}.fx-stack .fx-scene{height:2040px;padding:8px}.fx-stack .fx-perspective{padding:4px}.fx-stack .fx-page{padding:8px;gap:12px}}
@keyframes fx-stack-point{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
@keyframes fx-stack-settle{0%{transform:translateY(-5px) rotateX(1deg) rotateY(-1deg)}60%{transform:translateY(3px) rotateX(1deg) rotateY(-1deg)}100%{transform:translateY(0) rotateX(1deg) rotateY(-1deg)}}
@media (prefers-reduced-motion:reduce){.fx-stack .fx-wrap *{animation:none;transition:none}}