[hidden]{display:none!important}.wizard-steps{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.wizard-steps button{background:#f7f2f4;color:#624b56;border:1px solid #e9dce2;padding:11px 16px;border-radius:12px;font-size:13px}.wizard-steps button[aria-current=step]{background:#743b52;color:white;box-shadow:0 6px 15px #743b5225}progress{width:100%;height:7px;accent-color:#743b52;margin:6px 0 24px}.wizard-panel{min-width:0}.wizard-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:24px;border-top:1px solid #eee;margin-top:22px}.wizard-controls span,#draft-status{font-size:12px;color:#6a525d}#draft-controls{padding:12px 16px;background:#faf5f7;border:1px solid #eddee5;border-radius:12px;margin-bottom:18px}#draft-controls .ghost{font-size:11px;padding:8px}#live-preview{width:min(100%,390px);margin:auto}.preview-wide{position:relative!important}.preview-wide #live-preview{width:100%}.device-switch{display:flex;gap:6px;margin-bottom:12px}.device-switch [aria-pressed=true]{background:#743b52;color:#fff}.guest-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.guest-toolbar label{flex:1;min-width:160px}.guest-toolbar .button{margin-bottom:18px}tr[hidden]{display:none!important}.purchase-photo{width:100%;max-width:500px;height:300px;object-fit:cover;border-radius:20px;box-shadow:0 15px 40px #4d27351c}.purchase-summary{padding:16px;background:#f8f2f5;border-radius:12px}.entry-result{padding:24px;border:2px solid #dfd3d8;border-radius:18px;margin:20px 0}.entry-result.success{border-color:#498864;background:#f2fbf5}.entry-result.error{border-color:#bf5555;background:#fff5f5}.entry-result strong{font-size:25px}#checkin-video{width:100%;max-height:340px;border-radius:16px;background:#241d22}.upload-instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0;list-style:none;margin:25px 0}.upload-instructions li{background:#faf5f7;padding:14px;border-radius:12px;font-size:12px}.upload-instructions b{display:block;font-size:20px;margin-bottom:8px}.action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin:24px 0}.action-grid .card{margin:0}.action-grid strong{display:block;font-size:32px}.occasion-wedding .birthday-cover{grid-template-columns:1fr!important;text-align:center;padding:75px 40px!important}.occasion-wedding .cover-copy{max-width:850px;margin:auto}.occasion-wedding .cover-portrait{margin:35px auto 0}.occasion-wedding .birthday-names{font-family:Georgia,serif!important;font-weight:400!important;letter-spacing:-2px}.occasion-wedding .story-message{grid-template-columns:1fr 1.2fr}.occasion-wedding .story-copy h2{font-weight:400;letter-spacing:-1px}.occasion-quince .birthday-cover{position:relative;background:radial-gradient(ellipse at top,#fff5df,transparent 65%),var(--cover)!important}.occasion-quince .birthday-ages strong{font-size:110px!important;font-family:Georgia,serif!important}.occasion-quince .cover-portrait{transform:rotate(2deg)}.occasion-quince .story-farewell .story-photo{transform:rotate(-3deg)}.occasion-youth_birthday .cover-copy h1{font-family:Arial,sans-serif!important;font-weight:900!important;letter-spacing:-3px;text-transform:uppercase}.occasion-youth_birthday .birthday-cover{border-radius:8px 60px 8px 60px!important}.occasion-youth_birthday .story-message .story-photo{transform:rotate(-4deg);border-radius:12px}.occasion-anniversary .birthday-cover{border:5px double var(--edge)!important}.occasion-anniversary .story-farewell{direction:rtl}.occasion-anniversary .story-farewell>*{direction:ltr}.occasion-religious .birthday-cover{grid-template-columns:1fr!important;text-align:center;max-width:900px!important}.occasion-religious .cover-copy{max-width:680px;margin:auto}.occasion-religious .theme-ribbon{background:var(--tint)!important;color:var(--ink)!important;border-top:1px solid var(--edge)}.occasion-religious .cover-portrait{margin:25px auto}.occasion-religious .story-copy h2{font-weight:400}.invitation-story .button,.invitation-story button{min-height:44px}.entry-qr img{max-width:100%;height:auto}.entry-qr{padding:24px;margin-top:24px;border-top:1px solid var(--edge)}
@media(prefers-reduced-motion:no-preference){.invitation-story .cover-copy{animation:welcome-in .7s ease-out both}.invitation-story .cover-portrait{animation:welcome-in 1s ease-out both}@keyframes welcome-in{from{opacity:0;translate:0 18px}to{opacity:1;translate:0 0}}}
@media(max-width:800px){.workspace{display:flex!important;flex-direction:column}.workspace>aside{width:100%}.wizard-steps{display:grid;grid-template-columns:1fr 1fr}.wizard-steps button{padding:12px 8px}.wizard-controls{flex-wrap:wrap}.guest-toolbar{display:block}.guest-toolbar .button{width:100%;text-align:center}.upload-instructions{gap:6px}.upload-instructions li{padding:10px}.occasion-wedding .birthday-cover,.occasion-religious .birthday-cover{padding:35px 18px!important}.occasion-quince .birthday-ages strong{font-size:80px!important}.occasion-youth_birthday .cover-copy h1{letter-spacing:-1px}.purchase-photo{height:240px}.device-switch button{min-height:44px}input,select,textarea{font-size:16px!important}}

@media(max-width:520px){.stats{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.stats>div{padding:16px 20px!important;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 15px}.stats>div strong{grid-column:2;grid-row:1/3;margin:0!important}.stats>div small{grid-column:1}.wizard-panel .two-col{grid-template-columns:1fr}}

/* Preview is opened explicitly, never by selecting a photo. */
#editor-preview-modal{width:min(1100px,94vw);height:92vh;height:92dvh;max-width:none;max-height:96dvh;padding:0;border:1px solid #e4d8dd;border-radius:20px;box-shadow:0 24px 90px #24182066;overflow:hidden;background:#fffafb;color:#49323c}
#editor-preview-modal::backdrop{background:#211820b3;backdrop-filter:blur(5px)}
#editor-preview-modal .live-preview-panel{box-sizing:border-box;position:static!important;display:flex;flex-direction:column;height:100%;margin:0;padding:20px!important;min-height:0}
.editor-preview-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.editor-preview-header h2{font-size:24px;margin:0}.editor-preview-header .eyebrow{font-size:10px;margin:0 0 6px}.editor-preview-header button{flex-shrink:0;min-height:44px}
#editor-preview-modal #live-preview{flex:1;min-height:0;height:auto;width:min(390px,100%);margin:0 auto;background:white}#editor-preview-modal .preview-wide #live-preview{width:100%}.preview-launcher{margin-bottom:24px}#draft-controls>[data-preview-open]{margin-bottom:8px;min-height:44px}
@media(max-width:600px){#editor-preview-modal{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0}.editor-preview-header{align-items:flex-start}.editor-preview-header button{font-size:12px;padding:12px}.editor-preview-header h2{font-size:21px}#editor-preview-modal .live-preview-panel{padding:14px!important}#editor-preview-modal .preview-toolbar{gap:8px}#editor-preview-modal .preview-toolbar select{max-width:170px}}
