/* The full invitation suite, not just its cover. Customer font choices are
   loaded after this sheet and continue to take precedence. */
@font-face{font-family:'Kislap cormorant-garamond';src:url('/assets/font-cormorant-garamond.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Kislap cinzel';src:url('/assets/font-cinzel.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Kislap playfair-display';src:url('/assets/font-playfair-display.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Kislap Allura Suite';src:url('/assets/font-allura.woff2') format('woff2');font-display:swap}
/* Confine decorative paint to the viewport without introducing an inner scroller. */
html:has(body[data-premium-template="true"]){overflow-x:clip}
body[data-premium-template="true"]{--suite-line:color-mix(in srgb,var(--template-accent),transparent 40%);--suite-muted:color-mix(in srgb,var(--template-ink) 78%,var(--template-paper));background:var(--template-paper);color:var(--template-ink)}
body[data-premium-template="true"] #app{background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--red),var(--gold) 25%),transparent 65%),color-mix(in srgb,var(--red),#141118 35%);min-height:100dvh}
body[data-premium-template="true"] #app::before{display:none}
body[data-premium-template="true"] #app .flow-wrap{min-height:100dvh;padding:34px 16px}
body[data-premium-template="true"] #app .phone-shell{max-width:460px;padding:0;border:1px solid var(--suite-line);border-radius:12px;background:var(--template-paper);outline:0;box-shadow:0 28px 80px #100c184d}
body[data-premium-template="true"] #app .notch{display:none}
body[data-premium-template="true"] #app .phone-content{border:0;border-radius:11px;color:var(--template-ink)}
body[data-premium-template="true"] #app .phone-content.form-page{
 min-height:790px;height:auto;overflow:visible;padding:60px 38px 70px;text-align:center;
 background:linear-gradient(color-mix(in srgb,var(--template-paper),transparent 91%),color-mix(in srgb,var(--template-paper),transparent 91%)),var(--template-art) center/100% 100%;
}
body[data-premium-template="true"][data-stationery-crop="true"] #app .phone-content.form-page{background-size:auto,auto 230%;background-position:center,center top}
body[data-premium-template="true"] #app .form-page::before{content:'';position:absolute;inset:16% 7% 13%;background:radial-gradient(ellipse,color-mix(in srgb,var(--template-paper),transparent 8%) 50%,transparent 75%);pointer-events:none;z-index:0}
body[data-premium-template="true"] #app .form-page::after{content:'WITH LOVE · ALWAYS';position:absolute;left:0;right:0;bottom:28px;color:var(--suite-muted);font:9px/1.5 'Segoe UI',sans-serif;letter-spacing:.26em}
body[data-premium-template="true"] #app .form-page>.balloon-cluster,body[data-premium-template="true"] #app .toy-car{display:none}
body[data-premium-template="true"] #app .royal-paper-panel{padding:0;margin:0;background:none;border:0;box-shadow:none}
body[data-premium-template="true"] #app .progress-meta{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 auto 22px;font:10px/1 'Segoe UI',sans-serif;letter-spacing:.16em;color:var(--suite-muted)}
body[data-premium-template="true"] #app .progress-meta i{width:45px;height:1px;background:var(--suite-line)}
body[data-premium-template="true"] #app .progress{height:0;overflow:hidden;margin:0}
body[data-premium-template="true"] #app .form-page .crown{display:block;position:relative;isolation:isolate;font-size:0;margin:0 auto 18px;width:56px;height:56px;border:1px solid var(--suite-line);border-radius:50%;background:color-mix(in srgb,var(--template-paper),transparent 10%);box-shadow:0 0 0 5px color-mix(in srgb,var(--template-accent),transparent 92%)}
body[data-premium-template="true"] #app .form-page .crown::before{content:var(--template-ornament);display:grid;place-items:center;width:100%;height:100%;font:28px Georgia,serif;color:var(--template-accent)}
body[data-premium-template="true"] #app .form-page h2{font:400 clamp(34px,8vw,46px)/1.03 var(--template-display);letter-spacing:-.025em;text-transform:none;color:var(--template-ink);max-width:15ch;margin:0 auto 16px;text-wrap:balance;overflow-wrap:anywhere}
body[data-premium-template="true"] #app .form-page h4{font:400 25px/1.2 'Kislap cormorant-garamond',Georgia,serif;color:var(--template-ink);text-wrap:balance;margin:12px auto}
body[data-premium-template="true"] #app .form-page p{font:19px/1.4 'Kislap cormorant-garamond',Georgia,serif;color:var(--template-ink);max-width:32ch;margin:0 auto 24px;text-wrap:pretty}
body[data-premium-template="true"] #app .step-back{position:absolute;left:27px;top:23px;min-height:32px;padding:5px 10px;margin:0;border:0;border-bottom:1px solid var(--suite-line);border-radius:0;background:var(--template-paper);color:var(--template-ink);font:11px 'Segoe UI',sans-serif;z-index:5}
body[data-premium-template="true"] #app .entry-label{display:block;text-align:left;margin:36px 0 9px;font:10px/1.5 'Segoe UI',sans-serif;letter-spacing:.17em;color:var(--suite-muted)}
body[data-premium-template="true"] #app .input-card,body[data-premium-template="true"] #app .search-box{min-height:54px;padding:0 14px;margin:0 0 14px;border:1px solid var(--suite-line);border-radius:4px;background:color-mix(in srgb,var(--template-paper),white 8%);color:var(--template-ink);box-shadow:0 4px 14px color-mix(in srgb,var(--red),transparent 95%)}
body[data-premium-template="true"] #app .input-card>span{display:none}
body[data-premium-template="true"] #app :is(.input-card,.search-box) input{font:16px/1.4 'Segoe UI',sans-serif;color:var(--template-ink);padding:14px 0}
body[data-premium-template="true"] #app input::placeholder,body[data-premium-template="true"] #app textarea::placeholder{color:var(--suite-muted);opacity:.85}
body[data-premium-template="true"] #app .primary-btn{min-height:52px;padding:12px 20px;border:1px solid var(--template-accent);border-radius:4px;background:linear-gradient(120deg,color-mix(in srgb,var(--red),#181014 12%),var(--red));color:#fff9ef;font:400 22px/1.15 var(--template-display);box-shadow:inset 0 0 0 3px #ffffff0e,0 6px 18px #2417201a;transition:transform .2s,box-shadow .2s,filter .2s}
body[data-premium-template="true"][data-stationery-tone="dark"] #app .primary-btn{background:linear-gradient(110deg,#fff0d2,var(--template-accent));color:#211b20}
body[data-premium-template="true"] #app .primary-btn:hover{transform:none;box-shadow:0 10px 20px #24172030;filter:brightness(1.08)}
body[data-premium-template="true"] #app .primary-btn:active{transform:translateY(1px)}
body[data-premium-template="true"] #app .memory-link{display:block;width:max-content;max-width:100%;margin:17px auto 0;color:var(--template-ink);font:12px/1.5 'Segoe UI',sans-serif;text-decoration:underline;text-underline-offset:4px;background:none}
body[data-premium-template="true"] #app .writing-paper{height:245px;display:flex;flex-direction:column;padding:20px 19px 12px;margin:24px 0 18px;border:1px solid var(--suite-line);border-radius:4px;background:color-mix(in srgb,var(--template-paper),white 4%);box-shadow:inset 0 1px 0 #ffffff30,0 6px 24px #24172009;text-align:left}
body[data-premium-template="true"] #app .writing-greeting{font:30px/1.25 'Kislap Allura Suite',cursive;color:var(--template-ink);margin:0 0 10px}
body[data-premium-template="true"] #app #prayerText{min-height:100px;flex:1;height:100%;resize:vertical;padding:0;border:0;border-radius:0;background:transparent;color:var(--template-ink);font:16px/1.65 Georgia,serif;box-shadow:none}
body[data-premium-template="true"] #app .char-count{margin:8px 0 0;font:10px/1.3 'Segoe UI',sans-serif;color:var(--suite-muted)}
body[data-premium-template="true"] #app .godparent-commitment{padding:14px 0 0;margin:20px 0 8px;border:0;border-top:1px solid var(--suite-line);border-radius:0;background:none;color:var(--template-ink)}
body[data-premium-template="true"] #app .godparent-commitment::before{display:none}
body[data-premium-template="true"] #app .godparent-commitment p{font:italic 20px/1.3 var(--template-display);color:var(--template-ink);margin:0 auto 14px}
body[data-premium-template="true"] #app .godparent-commitment label{display:flex;align-items:center;gap:12px;text-align:left;color:var(--template-ink);font:17px/1.4 var(--template-display)}
body[data-premium-template="true"] #app .godparent-commitment small{display:block;font:11px/1.5 'Segoe UI',sans-serif;color:var(--suite-muted);margin:12px 0}
body[data-premium-template="true"] #app .search-box{margin:22px 0 18px;padding-right:5px}
body[data-premium-template="true"] #app .search-box button{flex:none;background:var(--red);color:#fff9ef;border-radius:3px}
body[data-premium-template="true"] #app .verse-results{max-height:none;overflow:visible;gap:12px}
body[data-premium-template="true"] #app .verse-item{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;padding:18px 16px;border:1px solid var(--suite-line);border-radius:4px;background:color-mix(in srgb,var(--template-paper),white 4%);color:var(--template-ink);box-shadow:none}
body[data-premium-template="true"] #app .verse-item.selected{border-color:var(--template-accent);box-shadow:inset 3px 0 var(--template-accent);background:color-mix(in srgb,var(--template-paper),var(--template-accent) 10%)}
body[data-premium-template="true"] #app .verse-item b{font:600 21px/1.2 var(--template-display);color:var(--template-ink)}
body[data-premium-template="true"] #app .verse-item :is(p,.passage-text){max-width:none;margin:8px 0 0;color:var(--template-ink);font:16px/1.5 var(--template-display)}
body[data-premium-template="true"] #app .verse-item .radio{border-color:var(--template-accent)}
body[data-premium-template="true"] #app .verse-preview{margin:18px 0;padding:20px;border:1px solid var(--suite-line);border-radius:4px;background:var(--template-paper);color:var(--template-ink)}
body[data-premium-template="true"] #app .verse-preview blockquote{font:20px/1.5 var(--template-display);margin:12px 0;color:var(--template-ink)}
body[data-premium-template="true"] #app .verse-feedback{font:11px/1.5 'Segoe UI',sans-serif;margin:12px auto;color:var(--suite-muted)}
body[data-premium-template="true"] #app .selfie-circle{width:180px;height:180px;outline:1px dashed var(--template-accent);outline-offset:7px;border:6px solid var(--template-paper);background:color-mix(in srgb,var(--template-paper),var(--template-accent) 12%);color:var(--template-ink);margin:32px auto 22px;box-shadow:0 8px 30px #23141b14}
body[data-premium-template="true"] #app .selfie-circle .camera{width:36px;line-height:0}
body[data-premium-template="true"] #app .selfie-circle small{font:12px/1.5 'Segoe UI',sans-serif}
body[data-premium-template="true"] #app .role-card{padding:0;margin:24px 0 0;border:0;background:none;box-shadow:none}
body[data-premium-template="true"] #app .role-option{min-height:52px;margin:9px 0;padding:12px 14px;border:1px solid var(--suite-line);border-radius:4px;background:var(--template-paper);color:var(--template-ink);font:20px/1.3 var(--template-display)}
body[data-premium-template="true"] #app .role-option.active{background:color-mix(in srgb,var(--template-paper),var(--template-accent) 15%);border-color:var(--template-accent);box-shadow:inset 3px 0 var(--template-accent)}
body[data-premium-template="true"] #app .role-option input{display:block;appearance:auto;width:19px;height:19px;flex:none;accent-color:var(--red)}
body[data-premium-template="true"] #app .accept-row{font:12px/1.5 'Segoe UI',sans-serif;color:var(--suite-muted);gap:11px;margin:22px 0 10px;min-height:44px;align-items:center}
body[data-premium-template="true"] #app .accept-row input{width:19px;height:19px;flex:none;accent-color:var(--red)}
body[data-premium-template="true"] #app .guest-count-row{padding:15px 0;border-color:var(--suite-line)}
body[data-premium-template="true"] #app .guest-count-row label{font:26px/1.1 var(--template-display);color:var(--red)}
body[data-premium-template="true"][data-stationery-tone="dark"] #app .guest-count-row label{color:var(--template-ink)}
body[data-premium-template="true"] #app .guest-count-row small{font:11px/1.5 'Segoe UI',sans-serif;color:var(--suite-muted)}
body[data-premium-template="true"] #app .guest-count-row :is(button,input){background:var(--template-paper);color:var(--template-ink);border-color:var(--suite-line);box-shadow:none;min-height:44px}
body[data-premium-template="true"] #app .guest-count-total{background:color-mix(in srgb,var(--template-paper),var(--template-accent) 10%);color:var(--template-ink);border-color:var(--suite-line);padding:15px;font:italic 22px var(--template-display)}
body[data-premium-template="true"] #app .done-page{justify-content:center}
body[data-premium-template="true"] #app .done-card{width:100%;margin:18px 0 26px;padding:24px 12px;border:0;border-block:1px solid var(--suite-line);border-radius:0;background:transparent;box-shadow:none}
body[data-premium-template="true"] #app .done-card h3{background:none;margin:12px 0;color:var(--template-ink);font:36px/1.15 var(--template-display);overflow-wrap:anywhere}
body[data-premium-template="true"] #app .done-card img{width:140px;height:170px;object-fit:cover;border-radius:90px 90px 3px 3px;border:3px solid var(--template-paper);outline:1px solid var(--suite-line)}
body[data-premium-template="true"] #app .done-card small{color:var(--suite-muted)}
/* Cover: a framed portrait when supplied, intentional typography when not. */
body[data-premium-template="true"] #app .cover-content{min-height:800px;height:auto;display:flex;flex-direction:column;justify-content:center;padding:100px 38px 65px;background:linear-gradient(color-mix(in srgb,var(--template-paper),transparent 85%),color-mix(in srgb,var(--template-paper),transparent 85%)),var(--template-art) center/100% 100%;color:var(--template-ink)}
body[data-premium-template="true"][data-stationery-crop="true"] #app .cover-content{background-size:auto,auto 205%;background-position:center,center top}
body[data-premium-template="true"] #app .cover-content::before{content:'';position:absolute;inset:13px;border:1px solid var(--suite-line);pointer-events:none}
body[data-premium-template="true"] #app .cover-photo-wrap.no-photo{display:none}
body[data-premium-template="true"] #app .cover-photo-wrap:not(.no-photo){display:block;width:180px;height:220px;min-height:0;margin:0 auto 24px;border:5px solid var(--template-paper);outline:1px solid var(--template-accent);border-radius:100px 100px 4px 4px;box-shadow:0 10px 28px #261b162e}
body[data-premium-template="true"] #app .cover-photo-fade{display:none}
body[data-premium-template="true"] #app .cover-copy-mobile{margin:0;padding:0;background:none;color:var(--template-ink);text-align:center}
body[data-premium-template="true"] #app .cover-copy-mobile::before{content:var(--template-ornament);display:block;margin:0 auto 28px;color:var(--template-accent);font:44px Georgia,serif}
body[data-premium-template="true"] #app .cover-copy-mobile .crown{display:none}
body[data-premium-template="true"] #app .cover-copy-mobile .smallcaps::before{display:none}
body[data-premium-template="true"][data-stationery="sacred"] #app .cover-copy-mobile::before{display:none}
body[data-premium-template="true"] #app .cover-copy-mobile :is(.smallcaps,.event-title,.full-name){color:var(--template-ink);text-align:center}
body[data-premium-template="true"] #app .cover-copy-mobile h2{font:400 clamp(43px,12vw,64px)/.98 var(--template-display);color:var(--template-ink);letter-spacing:-.025em;transform:none;text-shadow:none;margin:24px 0 16px;text-transform:none;overflow-wrap:anywhere}
body[data-premium-template="true"] #app .cover-copy-mobile .event-title{font:26px/1.2 var(--template-display);letter-spacing:0;text-transform:none}
body[data-premium-template="true"] #app .invitation-details-card{width:100%;max-width:none;margin:32px 0 0;padding:20px 16px 15px;border:1px solid var(--suite-line);border-radius:4px;background:color-mix(in srgb,var(--template-paper),transparent 5%);box-shadow:0 6px 24px #24172012;backdrop-filter:none}
body[data-premium-template="true"] #app :is(.invitation-details-card::before,.envelope-flap){display:none}
body[data-premium-template="true"] #app .event-row :is(b,small){font-size:12px;line-height:1.5;color:var(--template-ink)}
body[data-premium-template="true"] #app .event-info{margin:0 0 20px;gap:14px}
body[data-premium-template="true"] #app #openGalleryBtn{color:var(--template-ink);background:none;margin:19px auto 0}
body[data-premium-template="true"] #app .invitation-quiet-links{margin-top:28px}
body[data-premium-template="true"] #app .invitation-quiet-links a{color:var(--suite-muted)}
body[data-premium-template="true"] #app .right-card{background:var(--template-paper);color:var(--template-ink)}
body[data-premium-template="true"] #app .right-card :is(h2,h3,p,em){color:var(--template-ink)}
body[data-premium-template="true"] #app .gallery-page{max-width:1100px;margin:auto;min-height:100dvh;padding:60px 35px;background:linear-gradient(color-mix(in srgb,var(--template-paper),transparent 7%),color-mix(in srgb,var(--template-paper),transparent 7%)),var(--template-art) center/cover;color:var(--template-ink)}
body[data-premium-template="true"] #app .gallery-title h2{font:48px/1.1 var(--template-display);color:var(--template-ink);margin:12px 0}
body[data-premium-template="true"] #app .gallery-title :is(p,small),body[data-premium-template="true"] #app .gallery-count{color:var(--suite-muted)}
body[data-premium-template="true"] #app :is(.gallery-back,.gallery-filters button,.gallery-navigation){background:var(--template-paper);border:1px solid var(--suite-line);color:var(--template-ink)}
body[data-premium-template="true"] #app .gallery-filters button[aria-pressed="true"]{background:var(--template-ink);color:var(--template-paper)}
body[data-premium-template="true"] #app .gallery-navigation button{color:var(--template-ink)}
body[data-premium-template="true"] #app .guest-media{border:6px solid var(--template-paper);border-bottom:0;outline:1px solid var(--suite-line);box-shadow:0 6px 24px #22161614}
body[data-premium-template="true"] #app .guest-media figcaption{background:var(--template-paper);color:var(--template-ink);font:20px var(--template-display)}
body[data-premium-template="true"] #app :is(.empty-note,.gallery-loading,.gallery-error){color:var(--template-ink);background:var(--template-paper);border:1px solid var(--suite-line);padding:32px 22px;font:20px/1.5 var(--template-display)}
body[data-premium-template="true"] #app .theme-preview-card{background:linear-gradient(color-mix(in srgb,var(--template-paper),transparent 12%),color-mix(in srgb,var(--template-paper),transparent 12%)),var(--template-art) center/cover;color:var(--template-ink);border-color:var(--template-accent)}
body[data-premium-template="true"] #app .theme-preview-card .theme-balloon{display:none}
body[data-premium-template="true"] #app .theme-preview-card strong{color:var(--template-ink)}
/* Individual families retain their own stationery shapes, not only colours. */
body[data-premium-template="true"][data-stationery="heirloom"] #app .form-page::before{border-radius:130px 130px 4px 4px}
body[data-premium-template="true"][data-stationery="heirloom"] #app .form-page{padding-top:78px}
body[data-premium-template="true"][data-stationery="floral"] #app .form-page h2{font-style:italic}
body[data-premium-template="true"][data-stationery="deco"] #app .form-page::before{background:none}
body[data-premium-template="true"][data-stationery="deco"] #app .form-page .crown{border-radius:4px;transform:rotate(45deg);width:42px;height:42px;margin-bottom:26px}
body[data-premium-template="true"][data-stationery="deco"] #app .form-page .crown::before{transform:rotate(-45deg)}
body[data-premium-template="true"][data-stationery="celestial"] #app .form-page .crown{border:0;background:none;box-shadow:none}
body[data-premium-template="true"][data-stationery="celestial"] #app .form-page .crown::before{font-size:44px}
body[data-premium-template="true"] #app .screen.active .form-page{animation:suite-enter .4s ease-out both}
@keyframes suite-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:750px){
 body[data-premium-template="true"] #app .desktop-stage{padding:0;display:block;min-height:100dvh}
 body[data-premium-template="true"] #app .flow-wrap{padding:0;display:block;min-height:100dvh}
 body[data-premium-template="true"] #app .phone-shell{width:100%;max-width:480px;border:0;border-radius:0;box-shadow:none}
 body[data-premium-template="true"] #app .phone-content.form-page{min-height:100dvh;height:auto;padding:62px clamp(26px,8vw,38px) calc(65px + env(safe-area-inset-bottom));border-radius:0;overflow:visible}
 body[data-premium-template="true"] #app .cover-content{min-height:100dvh;border-radius:0;padding:65px 30px 32px}
 body[data-premium-template="true"] #app .invitation-footer{display:none}
 body[data-premium-template="true"] #app .gallery-page{padding:36px 20px 100px}
 body[data-premium-template="true"] #app .form-page .step-back{left:22px;top:18px}
 body[data-premium-template="true"] #app .form-page .progress-meta{margin-bottom:22px}
 body[data-premium-template="true"] #app .form-page h2{font-size:38px}
 body[data-premium-template="true"] #app .form-page .writing-paper{height:220px}
 body[data-premium-template="true"] #app .selfie-page{min-height:100dvh}
}
@media(max-width:360px){body[data-premium-template="true"] #app .phone-content.form-page{padding-inline:24px}body[data-premium-template="true"] #app .form-page h2{font-size:33px}}
@media(prefers-reduced-motion:reduce){body[data-premium-template="true"] #app .screen.active .form-page{animation:none}body[data-premium-template="true"] #app .primary-btn{transition:none}}
