.fx-fill { display: grid; gap: 16px; }
.fx-fill .fx-note, .fx-fill .fx-right, .fx-fill .fx-wrong { margin: 0; color: var(--fx-ink); }
.fx-fill .fx-fill-steps { margin: 0; padding-left: 24px; }
.fx-fill .fx-fill-steps li + li { margin-top: 6px; }
.fx-fill .fx-fill-goal { margin: 0; color: var(--fx-ink); }
.fx-fill .fx-fill-controls { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx-fill .fx-fill-controls legend { padding: 0; margin-bottom: 12px; font-weight: 800; }
.fx-fill .fx-fill-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fx-fill .fx-fill-choice { display: flex; align-items: flex-start; gap: 8px; min-width: 0; min-height: 44px; padding: 12px; box-sizing: border-box; border: 2px solid var(--fx-muted); border-radius: 10px; background: var(--fx-paper); color: var(--fx-ink); text-align: left; white-space: normal; font-size: 14px; line-height: 1.4; cursor: pointer; }
.fx-fill .fx-fill-choice:has(input:checked) { background: var(--fx-mint-pale); color: var(--fx-ink); border-color: var(--fx-ink); }
.fx-fill .fx-fill-choice:has(input:focus-visible) { outline: 3px solid var(--fx-ink); outline-offset: 3px; }
.fx-fill .fx-fill-mark { display: grid; place-items: center; flex: 0 0 24px; height: 24px; box-sizing: border-box; border: 2px solid var(--fx-ink); border-radius: 4px; background: var(--fx-paper); }
.fx-fill .fx-fill-mark span { visibility: hidden; font-weight: 800; }
.fx-fill .fx-fill-choice:has(input:checked) .fx-fill-mark span { visibility: visible; }
.fx-fill .fx-fill-copy { min-width: 0; overflow-wrap: anywhere; }
.fx-fill .fx-fill-copy b { display: block; margin-top: 8px; }
.fx-fill .fx-fill-stage { position: relative; height: 488px; padding: 0; box-sizing: border-box; overflow: hidden; border: 2px dashed var(--fx-sky); border-radius: 16px; background: var(--fx-sky-pale); color: var(--fx-ink); }
.fx-fill .fx-fill-canvas { --fx-screen-left: 40%; --fx-screen-top: 12px; --fx-screen-width: calc(60% - 12px); --fx-source-width: calc(40% - 24px); position: relative; width: 100%; height: 100%; font-size: 14px; line-height: 18px; }
.fx-fill .fx-fill-tray-label { position: absolute; top: 26px; left: 12px; width: var(--fx-source-width); }
.fx-fill .fx-fill-email { position: absolute; left: var(--fx-screen-left); top: var(--fx-screen-top); width: var(--fx-screen-width); height: 464px; box-sizing: border-box; border: 2px solid var(--fx-ink); border-radius: 16px; background: var(--fx-paper); }
.fx-fill .fx-fill-email-title { position: absolute; left: 12px; top: 14px; right: 12px; }
.fx-fill .fx-fill-box { position: absolute; left: 10px; right: 10px; box-sizing: border-box; border: 2px dashed var(--fx-muted); border-radius: 8px; background: var(--fx-paper); }
.fx-fill .fx-fill-box b { position: absolute; top: 6px; left: 8px; font-size: 12px; line-height: 16px; }
.fx-fill .fx-fill-to-box { top: 52px; height: 84px; }
.fx-fill .fx-fill-subject-box { top: 148px; height: 72px; }
.fx-fill .fx-fill-message-box { top: 232px; height: 140px; }
.fx-fill .fx-fill-card { position: absolute; z-index: 1; left: 12px; width: var(--fx-source-width); min-height: 36px; padding: 6px 8px; box-sizing: border-box; border: 1px solid var(--fx-ink); border-radius: 6px; background: var(--fx-sun-pale); overflow-wrap: anywhere; transition: left 0.45s, top 0.45s, width 0.45s; }
.fx-fill .fx-fill-address-card { top: 96px; }
.fx-fill .fx-fill-heading-card { top: 190px; }
.fx-fill .fx-fill-message-card { top: 276px; }
.fx-fill:has(#fx-fill-to:checked) .fx-fill-address-card, .fx-fill:has(#fx-fill-subject:checked) .fx-fill-heading-card, .fx-fill:has(#fx-fill-message:checked) .fx-fill-message-card { left: calc(var(--fx-screen-left) + 24px); width: calc(var(--fx-screen-width) - 48px); }
.fx-fill:has(#fx-fill-to:checked) .fx-fill-address-card { top: calc(var(--fx-screen-top) + 84px); }
.fx-fill:has(#fx-fill-subject:checked) .fx-fill-heading-card { top: calc(var(--fx-screen-top) + 178px); }
.fx-fill:has(#fx-fill-message:checked) .fx-fill-message-card { top: calc(var(--fx-screen-top) + 264px); }
.fx-fill:has(#fx-fill-to:checked) .fx-fill-to-box, .fx-fill:has(#fx-fill-subject:checked) .fx-fill-subject-box, .fx-fill:has(#fx-fill-message:checked) .fx-fill-message-box { border-style: solid; border-color: var(--fx-ink); }
.fx-fill .fx-fill-send-label { position: absolute; left: 12px; top: 386px; font-size: 12px; }
.fx-fill .fx-fill-send { position: absolute; left: 12px; top: 412px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 120px; max-width: calc(100% - 24px); height: 36px; box-sizing: border-box; border: 2px solid var(--fx-muted); border-radius: 8px; background: var(--fx-paper); font-weight: 800; }
.fx-fill .fx-fill-send::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: var(--fx-muted); opacity: 0.18; }
.fx-fill .fx-fill-send span, .fx-fill .fx-fill-lock { position: relative; }
.fx-fill .fx-fill-lock { width: 18px; height: 18px; stroke-width: 2; }
.fx-fill:has(#fx-fill-to:checked):has(#fx-fill-subject:checked):has(#fx-fill-message:checked) .fx-fill-send { background: var(--fx-mint); border-color: var(--fx-ink); }
.fx-fill:has(#fx-fill-to:checked):has(#fx-fill-subject:checked):has(#fx-fill-message:checked) .fx-fill-send::before { opacity: 0; }
.fx-fill:has(#fx-fill-to:checked):has(#fx-fill-subject:checked):has(#fx-fill-message:checked) .fx-fill-lock { visibility: hidden; }
.fx-fill:has(#fx-fill-message:checked):not(:has(#fx-fill-to:checked)) .fx-fill-to-box, .fx-fill:has(#fx-fill-message:checked):not(:has(#fx-fill-subject:checked)) .fx-fill-subject-box { border-color: var(--fx-coral); background: var(--fx-coral-pale); animation: fx-fill-alert 0.8s 2; }
@keyframes fx-fill-alert { 0%, 100% { background: var(--fx-coral-pale); } 50% { background: var(--fx-paper); } }
.fx-fill .fx-fill-feedback { display: grid; }
.fx-fill .fx-fill-feedback p { grid-area: 1 / 1; visibility: hidden; }
.fx-fill:not(:has(input:checked)) .fx-fill-s000, .fx-fill:has(#fx-fill-to:checked):not(:has(#fx-fill-subject:checked, #fx-fill-message:checked)) .fx-fill-s100, .fx-fill:has(#fx-fill-subject:checked):not(:has(#fx-fill-to:checked, #fx-fill-message:checked)) .fx-fill-s010, .fx-fill:has(#fx-fill-message:checked):not(:has(#fx-fill-to:checked, #fx-fill-subject:checked)) .fx-fill-s001, .fx-fill:has(#fx-fill-to:checked):has(#fx-fill-subject:checked):not(:has(#fx-fill-message:checked)) .fx-fill-s110, .fx-fill:has(#fx-fill-to:checked):has(#fx-fill-message:checked):not(:has(#fx-fill-subject:checked)) .fx-fill-s101, .fx-fill:has(#fx-fill-subject:checked):has(#fx-fill-message:checked):not(:has(#fx-fill-to:checked)) .fx-fill-s011, .fx-fill:has(#fx-fill-to:checked):has(#fx-fill-subject:checked):has(#fx-fill-message:checked) .fx-fill-s111 { visibility: visible; }
@container (max-width: 480px) { .fx-fill .fx-fill-choices { grid-template-columns: minmax(0, 1fr); } .fx-fill .fx-fill-stage { height: 732px; } .fx-fill .fx-fill-canvas { --fx-screen-left: 12px; --fx-screen-top: 244px; --fx-screen-width: calc(100% - 24px); --fx-source-width: calc(100% - 24px); } .fx-fill .fx-fill-tray-label { top: 14px; } .fx-fill .fx-fill-address-card { top: 44px; } .fx-fill .fx-fill-heading-card { top: 94px; } .fx-fill .fx-fill-message-card { top: 144px; } }
@media (prefers-reduced-motion: reduce) { .fx-fill .fx-fill-card { transition: none; } .fx-fill .fx-fill-box { animation: none; } }