.customizer-tabs{display:flex;justify-content:center;gap:5px;width:max-content;max-width:100%;padding:5px;border:1px solid #d2caba;background:#e9e4d8;border-radius:999px;margin:0 auto 32px}.customizer-tabs button{min-height:45px;min-width:146px;border:0;border-radius:999px;background:transparent;font-size:12px;padding:12px 25px;color:var(--muted)}.customizer-tabs button[aria-selected=true]{background:#343d31;color:#fffaf0;box-shadow:0 2px 6px #302e2712}.customizer-tabs button:focus-visible{outline-offset:2px}.card-preview-stage{aspect-ratio:1;position:relative;border-radius:24px;background:radial-gradient(ellipse at 25% 15%,#f4eee2,#e4ddcd);overflow:hidden}.card-preview-fit{position:absolute;inset:65px 38px 46px;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.card-preview-stage canvas{display:block;max-height:100%;height:100%;max-width:100%;width:auto;aspect-ratio:1500/2063;background:#fbf7ee;box-shadow:6px 13px 30px #51433226,0 0 0 1px #b8ab9226;transform:rotate(-1.5deg)}.card-preview-stage .live-label{left:23px;top:23px}.note-template{padding:10px 10px 12px}.note-template canvas{width:auto;height:127px;aspect-ratio:1500/2063;margin:0 auto 10px;max-height:127px;max-width:100%;box-shadow:0 3px 7px #302e2710}.note-template>span{font-size:10px}.card-options-intro{font-size:10px;color:var(--muted);margin:10px 0 0}.card-blank-option{justify-content:flex-start;gap:9px;margin:25px 0 10px;font-weight:400}.card-blank-option input{accent-color:#455343;width:16px;height:16px}.card-error{font-size:11px;line-height:1.5;color:#8a2831;margin-top:9px}.card-error:empty{display:none}#card-editor .ink-options{margin-top:22px}#card-editor .note-prompts button{min-height:38px}#card-editor .note-prompts{margin-top:10px}#card-editor input[type=text]{min-height:48px}#card-editor textarea{min-height:150px}#gift-note[aria-invalid=true]{border:2px solid #8a2831}.card-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:pre-line;border:0}.card-template-grid{margin-top:15px}.card-preview-status{font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px}.customizer-tabs~.personalize-layout>.preview-column{min-width:0}@media(max-width:700px){.customizer-tabs{margin-bottom:22px;width:100%}.customizer-tabs button{flex:1;min-width:0;font-size:13px}.card-preview-fit{inset:50px 35px 27px}.note-template canvas{height:112px;max-height:112px}.note-template{padding:9px 5px 10px}.card-preview-stage .live-label{font-size:8px;left:18px;top:18px}}@media(prefers-reduced-motion:reduce){.card-preview-stage canvas{transform:none}}

.card-sender-field{margin-top:24px}.card-sender-field label{gap:12px}.card-sender-field label span{font-weight:400;color:var(--muted)}#card-sender-hint{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0}

/* Keep the live canvas between template selection and writing on phones. */
.inline-preview-slot{display:none}
.inline-preview-slot:empty{display:none}
@media(max-width:760px){
 .personalize-layout[data-inline-previews=true]{grid-template-columns:minmax(0,1fr);gap:0}
 .personalize-layout[data-inline-previews=true]>.preview-column{display:none}
 .inline-preview-slot{display:block;margin:22px 0 28px}
 .inline-preview-slot .live-preview{aspect-ratio:1}
 .inline-preview-slot .preview-note+.preview-note{margin-top:3px;font-size:9px}
}
