.design-picker { margin:20px 0; padding:0; border:0; min-width:0; }
.design-picker legend { color:var(--ink); font-size:13px; font-weight:650; }
.design-note { margin:8px 0 14px; color:var(--muted); font-size:11px; line-height:1.6; }
.theme-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.theme-option, .decoration-option { min-width:0; border:1px solid #ffffff19; border-radius:11px; padding:9px; color:var(--ink); background:#ffffff05; text-align:left; font-size:10px; line-height:1.4; }
.theme-option[aria-pressed=true], .decoration-option[aria-pressed=true] { border-color:var(--rose); background:#ed9e9a12; box-shadow:inset 0 0 0 1px #ed9e9a30; }
.theme-swatch { display:block; height:35px; border-radius:6px; margin-bottom:7px; box-shadow:inset 0 0 0 1px #ffffff18; }
.decoration-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
.decoration-option { text-align:center; }
.decoration-mark { display:block; height:30px; width:30px; margin:0 auto 6px; background:var(--rose); mask:url('/assets/sparkle.svg') center / contain no-repeat; }
[data-decoration="Minimal"] .decoration-mark { height:2px; margin:14px auto 20px; mask:none; border-radius:2px; }
[data-decoration="Embossed sprig"] .decoration-mark { mask:none; background:url('/assets/embossed-sprig.webp') center / contain no-repeat; }
#letter-preview { --cover-start:#997096; --cover-end:#5e618a; --cover-ink:#fff0e0; --cover-foil:#f2d6a8; --paper-start:#fff2e3; --paper-end:#e8d6e8; --letter-accent:#966173; }
#letter-preview .letter-front { background:linear-gradient(145deg,var(--cover-start),var(--cover-end)); }
#letter-preview .cover-copy strong { color:var(--cover-ink); }
#letter-preview .cover-copy small, #letter-preview .front-footnote { color:var(--cover-ink); opacity:.8; }
#letter-preview .letter-front::before { border-color:var(--cover-foil); opacity:.45; }
#letter-preview .letter-front::after { color:var(--cover-foil); }
#letter-preview .inside { background:linear-gradient(140deg,var(--paper-start),var(--paper-end)); }
#letter-preview .inside .mini, #letter-preview .signature, #letter-preview .inside::after { color:var(--letter-accent); }
#letter-preview[data-decoration="Minimal"] .letter-front::before,
#letter-preview[data-decoration="Minimal"] .letter-front::after,
#letter-preview[data-decoration="Minimal"] .inside::after { display:none; }
#letter-preview[data-decoration="Embossed sprig"] .letter-front::before { display:none; }
#letter-preview[data-decoration="Embossed sprig"] .letter-front::after,
#letter-preview[data-decoration="Embossed sprig"] .inside::after { content:""; width:27%; height:34%; aspect-ratio:auto; mask:none; background:url('/assets/embossed-sprig.webp') center / contain no-repeat; }
#letter-preview[data-decoration="Embossed sprig"] .inside::after { width:33%; height:40%; opacity:.12; }
.summary-art::after { content:""; display:block; width:24px; height:24px; background:currentColor; mask:url('/assets/sparkle.svg') center / contain no-repeat; }
.summary-art[data-decoration="Minimal"]::after { width:20px; height:1px; mask:none; }
.summary-art[data-decoration="Embossed sprig"]::after { width:30px; height:38px; mask:none; background:url('/assets/embossed-sprig.webp') center / contain no-repeat; }
@media(max-width:375px) { .theme-option, .decoration-option { padding:7px; font-size:9px; } }
@media(min-width:801px) { body:not(.receiving) #letter-preview { position:sticky; top:24px; } }
