:root{--paper:#fcfaf6;--ink:#342f2a;--muted:#847c73;--accent:#aa684e;--line:#e9e2d8;--soft:#f2eee7;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--accent);background:var(--accent);color:white;padding:14px 22px;border-radius:6px;cursor:pointer;font-size:13px;font-weight:600;line-height:1.5;transition:background .2s,transform .2s}button:hover,.button:hover{background:#90543d;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.secondary{color:var(--ink);background:transparent;border-color:var(--line)}.secondary:hover{background:var(--soft)}.small{font-size:12px;padding:9px 14px}.text-link{font-size:13px;border-bottom:1px solid #bba99b;padding-bottom:4px}.wrap{max-width:1240px;padding-left:40px;padding-right:40px;margin:auto}.header{max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:25px 48px;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:10px;font:25px var(--serif);font-weight:bold;white-space:nowrap}.brand-mark{display:grid;place-items:center;border:1px solid #ba9b70;border-radius:50%;color:#b58b55;width:38px;height:38px;font-size:25px}.brand small{display:block;font:7px Arial;letter-spacing:2px;color:var(--muted);margin-top:6px}.nav{display:flex;gap:27px;align-items:center;font-size:12px}.nav form{margin:0}.mobile-menu{display:none}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.14;letter-spacing:-1.5px}h1{font-size:53px;margin:20px 0}h2{font-size:39px;margin:15px 0 20px}h3{font-size:23px;letter-spacing:-.5px;margin:14px 0}em{font-weight:normal;color:var(--accent)}p{color:var(--muted);line-height:1.8;margin:12px 0 20px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:var(--accent)}.dot{display:inline-block;background:#9a7255;border-radius:50%;width:6px;height:6px;margin-right:7px;vertical-align:middle}.hero{min-height:690px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding-top:65px;padding-bottom:70px}.hero h1{font-size:72px;letter-spacing:-3px;line-height:1.07;margin:27px 0}.hero-copy>p{font-size:14px;max-width:380px}.actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin:30px 0}.hero-trust{display:flex;gap:24px;font-size:11px;color:var(--muted);margin-top:35px}.hero-trust span:first-letter{color:var(--accent)}.hero-art{position:relative;height:530px}.halo{position:absolute;left:-15px;right:-10px;top:30px;bottom:0;border-radius:50%;background:radial-gradient(ellipse,#ede1cf 0,#f6f0e5 55%,transparent 72%)}.hero-card{position:absolute;width:300px;top:35px}.hero-card.back{transform:rotate(13deg);left:170px;top:15px;opacity:.94}.hero-card.front{left:20px;top:62px;transform:rotate(-9deg)}.hero-card .invite-card{height:427px;box-shadow:0 20px 40px #6b49291e}.hero-card .card-content{padding:38px 32px}.hero-card .card-content h2{font-size:34px}.hero-card .card-content p{font-size:10px}.hero-card .card-date{font-size:19px}.hero-card .card-monogram{font-size:29px}.floating-note{position:absolute;z-index:3;bottom:20px;right:0;background:white;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:14px;padding:17px 23px;box-shadow:0 12px 40px #5b423015;color:var(--accent);font-size:28px;transform:rotate(3deg)}.floating-note span{font-size:10px;line-height:1.7;color:var(--muted)}.floating-note strong{font-weight:normal;color:var(--ink);font-size:12px}.hero-spark{position:absolute;top:0;left:15px;font-size:50px;color:#c19c68}.occasion-strip{display:flex;justify-content:center;gap:38px;padding:23px 30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:10px;letter-spacing:2.5px;flex-wrap:wrap}.occasion-strip i{color:#b29a78}.section{padding-top:75px;padding-bottom:75px}.section-head{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:30px}.section-head p{margin-bottom:0}.section-head h1{font-size:46px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 26px}.template-tile{min-width:0}.tile-art{background:#f0ece5;display:block;padding:30px 50px;border-radius:9px;overflow:hidden}.tile-art .invite-card{transition:transform .3s;aspect-ratio: .7;min-height:0}.tile-art:hover .invite-card{transform:translateY(-5px) rotate(-2deg)}.tile-info{display:flex;justify-content:space-between;align-items:center;padding:18px 3px 8px;gap:15px}.tile-info h3{font-size:22px;margin:6px 0}.tile-info .eyebrow{font-size:8px}.price{text-align:right;font-size:15px;white-space:nowrap}.price small{display:block;font-size:10px;color:var(--muted)}.tile-link{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:13px 3px;font-size:11px;color:var(--muted)}.tile-link span{color:var(--accent)}.invite-card{--card-bg:#fff7e8;--card-ink:#755534;--card-line:#d3a55c;position:relative;background:var(--card-bg);color:var(--card-ink);min-height:590px;border-radius:3px;overflow:hidden;text-align:center;box-shadow:0 7px 18px #4e371510}.card-border{position:absolute;inset:17px;border:1px solid var(--card-line);border-radius:90px 90px 3px 3px;pointer-events:none;opacity:.7}.card-border:after{content:'';position:absolute;inset:5px;border:1px solid var(--card-line);border-radius:85px 85px 1px 1px;opacity:.4}.ornament{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;opacity:.55;pointer-events:none}.card-content{position:relative;z-index:1;padding:58px 47px 42px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-wrap:anywhere}.card-content p{color:inherit;font-size:12px;line-height:1.7;margin:8px 0}.card-content h2{font-size:46px;letter-spacing:-1px;margin:10px 0;color:inherit;line-height:1.13}.card-kicker{letter-spacing:2.3px;font-size:8px!important}.card-hosts{opacity:.8}.card-monogram{font-size:38px;color:var(--card-line);margin:0 0 12px}.card-divider{font-size:29px;color:var(--card-line);display:block}.card-date{font:25px var(--serif);margin:15px 0 3px}.card-venue{max-width:90%;font-size:10px!important}.card-guest{font-family:var(--serif);font-style:italic;border-top:1px solid var(--card-line);padding-top:14px;margin-top:16px!important;max-width:95%}.theme-rose{--card-bg:#fae9e7;--card-ink:#7f4b52;--card-line:#c8868a}.theme-emerald{--card-bg:#193f36;--card-ink:#f5dfb7;--card-line:#bd9b62}.theme-ivory{--card-bg:#f9f7ef;--card-ink:#57534b;--card-line:#bab19c}.theme-midnight{--card-bg:#22253e;--card-ink:#efddba;--card-line:#bb9d66}.theme-sunshine{--card-bg:#fbe2a3;--card-ink:#845328;--card-line:#b97937}.theme-garden{--card-bg:#edf1e4;--card-ink:#455d43;--card-line:#8d9d72}.theme-lilac{--card-bg:#ece5f3;--card-ink:#665078;--card-line:#a08cad}.theme-sky{--card-bg:#e3edf3;--card-ink:#4c6377;--card-line:#91a9bb}.theme-gold{--card-bg:#302d26;--card-ink:#f5e7c3;--card-line:#c6a365}.theme-terracotta{--card-bg:#f4ded0;--card-ink:#8b503d;--card-line:#b58062}.theme-slate{--card-bg:#e9e9e5;--card-ink:#3c454c;--card-line:#949c9d}.theme-emerald .ornament,.theme-midnight .ornament,.theme-gold .ornament{opacity:.2}.theme-rose .card-border,.theme-lilac .card-border{border-radius:120px}.theme-slate .card-border{border-radius:0}.theme-sky .card-border{border-radius:140px 140px 140px 140px}.theme-garden .ornament{filter:hue-rotate(65deg)}.theme-lilac .ornament{filter:hue-rotate(270deg)}.theme-rose .ornament{filter:hue-rotate(315deg)}.sample .card-content{padding:30px 22px 23px}.sample .card-content h2{font-size:27px}.sample .card-content p{font-size:7px;line-height:1.6;margin:4px 0}.sample .card-monogram{font-size:25px;margin:0 0 4px}.sample .card-kicker{font-size:6px!important;letter-spacing:1.5px}.sample .card-date{font-size:15px;margin-top:8px}.sample .card-venue{font-size:6px!important}.sample .card-guest{padding-top:8px;margin-top:7px!important}.sample .card-border{inset:12px;border-radius:65px 65px 2px 2px}.sample .card-divider{font-size:18px}.how{background:#f2eee6;border-block:1px solid var(--line);text-align:center}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;margin-top:50px}.steps article{text-align:left}.steps article>span{font:46px var(--serif);color:#c5b09b}.steps p{font-size:12px}.cta{text-align:center;padding-top:75px;padding-bottom:75px}.cta>span{font-size:40px;color:#ba9867}.cta h2{font-size:47px;margin:18px 0 30px}.cta p{font-size:11px}.footer{max-width:1440px;margin:auto;padding:45px 48px 25px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px}.footer .brand{font-size:23px}.footer p{font-size:11px;margin:12px 0}.footer>div:nth-child(2){display:flex;gap:25px;font-size:11px}.footer>small{width:100%;font-size:9px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:15px}.page-intro{text-align:center;margin-bottom:35px}.page-intro h1{font-size:56px}.search-bar{display:flex;gap:12px;max-width:780px;margin:30px auto}.search-bar input{flex:1}.search-bar select{max-width:230px}.chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:25px 0 40px}.chip{border:1px solid var(--line);padding:8px 16px;border-radius:30px;font-size:11px;color:var(--muted)}.chip.active,.chip:hover{background:var(--ink);color:white;border-color:var(--ink)}.box{background:white;border:1px solid var(--line);border-radius:10px;padding:30px;margin-bottom:25px}.box p{font-size:12px}.box h1{font-size:40px}.box h2{font-size:30px}.box h3{margin-top:0}form label{display:block;font-size:12px;margin:0 0 17px;color:var(--ink)}input,textarea,select{background:#fffcf8;border:1px solid #e5ddd2;border-radius:5px;width:100%;padding:12px 13px;color:var(--ink);margin-top:6px;font-size:13px}textarea{resize:vertical;min-height:82px}input:focus,textarea:focus,select:focus{outline:2px solid #d2ad92;outline-offset:2px}input[type=checkbox]{width:auto;margin:0;accent-color:var(--accent)}.check{display:flex;align-items:center;gap:9px;font-size:11px}.check a{text-decoration:underline}.form-row{display:flex;gap:18px}.form-row>label{flex:1;min-width:0}.auth{max-width:480px;margin:60px auto}.auth form>button{width:100%;margin:5px 0 10px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center;padding-top:40px;padding-bottom:60px}.auth-layout .auth{width:100%;margin:30px auto}.auth-story h1{font-size:57px}.auth-story p{max-width:370px}.big-flower{font-size:130px;color:#bea77d}.alert,.flash,.notice{padding:17px 20px;background:#faf0e4;border:1px solid #e4d4bd;border-radius:6px;color:#835735;font-size:12px;margin:20px 0}.flash.wrap{margin:20px auto}.hint{font-size:11px!important;color:var(--muted);line-height:1.7}.back-link{font-size:11px;color:var(--muted)}.pill,.badge{display:inline-block;padding:7px 12px;background:var(--soft);border:1px solid var(--line);border-radius:20px;font-size:10px;white-space:nowrap}.editor-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px}.editor-layout .box{padding:32px}.preview-panel{padding:0 20px}.preview-panel .invite-card{max-width:430px;margin:auto}.preview-label{display:flex;align-items:center;font-size:9px;letter-spacing:1px;margin-bottom:18px;justify-content:center}.preview-label>span:last-child{color:var(--muted);margin-left:50px;letter-spacing:0;font-size:10px}.preview-panel>.hint{text-align:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:30px 0 45px}.stats article{padding:23px;border:1px solid var(--line);background:white;border-radius:8px}.stats span{font-size:11px;color:var(--muted);display:block}.stats strong{display:block;font:35px var(--serif);margin-top:10px}.dashboard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.event-item .event-icon{display:grid;place-items:center;background:var(--card-bg);color:var(--card-ink);font-size:33px;width:64px;height:64px;border-radius:50%;margin-bottom:18px}.event-item .eyebrow{font-size:8px}.empty{text-align:center;padding:65px 20px;border:1px dashed var(--line);border-radius:8px;background:#fffdf9}.manage-layout{display:grid;grid-template-columns:390px 1fr;gap:45px;margin-bottom:45px}.mini-preview .invite-card{min-height:545px}.mini-preview .card-content{padding:47px 38px}.mini-preview .card-content h2{font-size:40px}.credit-box{background:#f5f0e6}.credit-box h2{font-size:37px}.progress{background:#e4d9c8;height:6px;border-radius:4px;margin:20px 0;overflow:hidden}.progress span{display:block;background:var(--accent);height:100%}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:8px;background:white;margin:25px 0}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#f5f1eb;color:var(--muted);font-weight:normal;font-size:10px;letter-spacing:.6px;padding:16px 18px}td{padding:18px;border-top:1px solid var(--line);vertical-align:top}td small{display:block;color:var(--muted);font-size:10px;line-height:1.7;margin:5px 0;max-width:310px;overflow-wrap:anywhere}td p{font-size:11px;max-width:400px}.guest-actions{min-width:265px}.guest-actions>a,.guest-actions>button,.guest-actions>form{margin:0 5px 6px 0;display:inline-block;font-size:11px}.guest-actions>a:first-child{display:block}.public-invite{text-align:center;padding-top:55px;padding-bottom:65px}.public-invite h1{font-size:44px}.public-invite .invite-card{max-width:450px;margin:35px auto}.public-invite button{margin-top:5px}.checkout-price{font:60px var(--serif);color:var(--accent);margin:30px 0}.checkout-price span{display:block;font:13px Arial;color:var(--muted);margin-top:10px}.checkout .text-link{display:inline-block;margin-top:20px}.admin-layout{display:grid;grid-template-columns:250px minmax(0,1fr);max-width:1440px;margin:auto}.admin-sidebar{padding:35px 25px;border-right:1px solid var(--line);background:#f5f1ea}.admin-sidebar h3{font-size:24px;margin:20px 0 30px}.admin-sidebar>a{display:flex;justify-content:space-between;font-size:12px;padding:14px 12px;margin-bottom:5px;border-radius:5px;color:var(--muted)}.admin-sidebar>a.active{background:white;color:var(--accent);box-shadow:0 2px 8px #5b423008}.admin-main{padding:45px 35px;min-width:0;min-height:70vh}.admin-main h1{font-size:40px}.admin-main .stats{gap:12px}.admin-main .stats article{padding:20px 15px}.admin-main .stats strong{font-size:31px}.integration-list{list-style:none;padding:0}.integration-list li{border-bottom:1px solid var(--line);padding:15px 0;display:flex;justify-content:space-between;gap:15px;font-size:12px}.integration-list li span{color:var(--accent)}.prose{max-width:900px}.prose h2{font-size:28px;margin-top:40px}.prose p{font-size:14px}
@media(min-width:1450px){.hero{min-height:730px}.hero-art{transform:scale(1.08)}}
@media(max-width:1100px){.header{padding:22px 30px}.nav{gap:18px}.hero h1{font-size:61px}.hero-card{width:260px}.hero-card .invite-card{height:400px;min-height:0}.hero-card.back{left:130px}.hero-card.front{left:0}.hero-art{height:500px}.floating-note{right:0;bottom:15px}.tile-art{padding:25px 30px}.template-grid{gap:25px 20px}.sample .card-content h2{font-size:25px}.manage-layout{grid-template-columns:340px 1fr;gap:25px}.editor-layout{gap:25px}.preview-panel{padding:0}.admin-layout{grid-template-columns:210px minmax(0,1fr)}.admin-main{padding:35px 25px}.admin-main .stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.wrap{padding-inline:22px}.header{padding:18px 22px}.brand{font-size:22px}.brand small{font-size:6px;letter-spacing:1.3px}.mobile-menu{display:inline-flex;padding:6px 10px;color:var(--ink);background:transparent;border-color:var(--line)}.nav{display:none;position:absolute;top:77px;left:0;right:0;padding:20px;z-index:20;background:var(--paper);box-shadow:0 8px 16px #342f2a15;border-bottom:1px solid var(--line);flex-wrap:wrap}.nav.open{display:flex}.hero{grid-template-columns:1fr;gap:10px;padding-top:45px;padding-bottom:45px}.hero-copy{text-align:center}.hero h1{font-size:61px;line-height:1.05}.hero-copy>p{margin:0 auto;max-width:390px}.hero .actions,.hero-trust{justify-content:center}.hero-art{width:470px;max-width:100%;margin:auto;height:470px}.hero-card{width:270px}.hero-card.back{left:165px;top:12px}.hero-card.front{left:40px;top:38px}.hero-card .invite-card{height:400px}.hero-card .card-content{padding:32px 29px}.floating-note{bottom:0;right:10px}.hero-spark{top:5px}.occasion-strip{gap:17px;font-size:8px;letter-spacing:1.5px}.occasion-strip span:last-child{display:none}.section{padding-block:48px}.section-head{align-items:flex-start}.section-head h1{font-size:36px}h2{font-size:32px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.tile-art{padding:24px 37px}.steps{gap:25px}.steps h3{font-size:22px}.cta h2{font-size:37px}.footer{padding:30px 22px}.footer>div:nth-child(2){gap:18px}.page-intro h1{font-size:43px}.auth-layout{grid-template-columns:1fr;gap:0;padding-top:30px}.auth-story{text-align:center}.auth-story h1{font-size:42px}.auth-story p{margin:auto}.big-flower{display:none}.editor-layout{grid-template-columns:1fr}.preview-panel{grid-row:1;margin-bottom:20px}.preview-panel .invite-card{min-height:570px;width:100%;max-width:395px}.editor-layout .box{max-width:540px;width:100%;margin:auto}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.dashboard-grid{grid-template-columns:repeat(2,1fr)}.manage-layout{grid-template-columns:1fr}.mini-preview{max-width:390px;width:100%;margin:auto}.manage-layout>div:last-child{max-width:600px;width:100%;margin:auto}.admin-layout{grid-template-columns:1fr}.admin-sidebar{padding:22px;display:flex;flex-wrap:wrap;gap:5px;border-right:none;border-bottom:1px solid var(--line)}.admin-sidebar>h3,.admin-sidebar>.eyebrow{display:none}.admin-sidebar>a{padding:8px 11px;font-size:11px;margin:0}.admin-sidebar>a span{display:none}.admin-main{padding:30px 22px}.auth{margin:40px 18px}.auth-layout .auth{margin:25px auto}.public-invite .invite-card{min-height:580px}}
@media(max-width:480px){.hero h1{font-size:53px}.hero-trust{gap:14px;font-size:10px}.hero .actions{gap:20px}.hero-art{height:414px;width:330px;margin-top:20px}.hero-card{width:226px}.hero-card.back{left:97px}.hero-card.front{left:5px}.hero-card .invite-card{height:355px}.hero-card .card-content h2{font-size:27px}.hero-card .card-content p{font-size:8px;margin:5px 0}.hero-card .card-content{padding:28px 25px}.hero-card .card-date{font-size:17px}.floating-note{padding:12px 17px;right:2px}.hero-spark{font-size:37px}.section-head{flex-wrap:wrap}.section-head h1{font-size:35px}.template-grid{gap:22px 12px}.tile-art{padding:18px 14px}.sample .card-content{padding:24px 17px 18px}.sample .card-content h2{font-size:19px}.sample .card-content p{font-size:6px;line-height:1.4;margin:3px 0}.sample .card-kicker{font-size:4px!important;letter-spacing:1px}.sample .card-date{font-size:12px;margin-top:5px}.sample .card-hosts{font-size:5px}.sample .card-venue{font-size:5px!important}.sample .card-guest{font-size:5px;padding-top:5px;margin-top:5px!important}.sample .card-monogram{font-size:17px;margin-bottom:3px}.sample .card-divider{font-size:14px}.sample .card-border{inset:8px}.sample .card-border:after{inset:3px}.tile-info{padding-top:13px;gap:8px}.tile-info h3{font-size:16px;letter-spacing:-.3px}.tile-info .eyebrow{font-size:6px;letter-spacing:1px}.price{font-size:12px}.price small{font-size:8px}.tile-link{font-size:9px;padding:10px 0}.steps{grid-template-columns:1fr;gap:20px;text-align:left;margin-top:30px}.steps article{display:grid;grid-template-columns:50px 1fr;column-gap:20px}.steps article>span{grid-row:span 2;font-size:33px}.steps h3{margin:0 0 8px}.steps p{margin:0}.cta h2{font-size:33px}.search-bar{flex-wrap:wrap}.search-bar input{flex-basis:100%}.search-bar select{flex:1}.search-bar button{font-size:11px}.chips{gap:7px}.chip{font-size:9px;padding:6px 11px}.form-row{flex-direction:column;gap:0}.box{padding:24px}.editor-layout .box{padding:24px}.preview-panel .invite-card{min-height:530px}.card-content{padding:46px 38px}.card-content h2{font-size:39px}.card-content p{font-size:11px}.card-date{font-size:23px}.card-content p.card-guest{font-size:12px}.preview-label>span:last-child{margin-left:25px}.dashboard-grid{grid-template-columns:1fr}.stats article{padding:19px}.stats strong{font-size:31px}.stats span{font-size:10px}.footer>div:nth-child(2){flex-wrap:wrap}.public-invite h1{font-size:36px}.public-invite .invite-card{min-height:535px}.pill{white-space:normal}.admin-main h1{font-size:32px}}
@media print{body{background:white}.header,.footer,.public-invite>.eyebrow,.public-invite>h1,.public-invite>button{display:none}.public-invite{padding:0}.public-invite .invite-card{margin:0 auto;box-shadow:none;width:450px;min-height:620px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.ornament{opacity:.55}}
summary{cursor:pointer;font-family:var(--serif);font-size:22px}details[open] summary{margin-bottom:20px}.theme-slate .ornament{opacity:.14}.theme-slate .card-content h2{font-family:Arial,sans-serif;letter-spacing:-2px}.theme-midnight .card-monogram,.theme-sky .card-monogram{font-size:44px}.theme-gold .card-border{border-radius:0}.theme-terracotta .card-border{border-radius:110px 110px 0 0}.theme-ivory .ornament{opacity:.22}.theme-garden .card-border{border-radius:2px}

/* Invito token wallet and uploaded design artwork */
.token-banner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px;margin-top:25px;margin-bottom:55px;border:1px solid var(--line);border-radius:20px;background:#eee7dc}.token-banner h2{font-size:clamp(28px,4vw,44px)}.token-quote{font-weight:700;color:var(--accent);margin:10px 0}.card-artwork{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.35;pointer-events:none}.admin-art-preview{max-width:240px;max-height:240px;border-radius:12px;object-fit:contain}.invite-card .card-content{position:relative}.invite-card .card-artwork~.ornament{opacity:.35}@media(max-width:700px){.token-banner{flex-direction:column;align-items:start;padding:24px}}

/* Isolated HTML/CSS invitations. Design code cannot change the site layout. */
.code-card{width:100%;max-width:450px;margin:0 auto;aspect-ratio:450/790;position:relative;overflow:hidden;box-shadow:0 16px 45px #342f2a18;background:#f7eedc}
.code-card-frame{display:block;width:100%;height:100%;border:0;background:transparent}
.tile-art .code-card{height:280px;aspect-ratio:auto;pointer-events:none}
.tile-art .code-card-frame{width:450px;height:790px;transform:scale(var(--design-scale,.354));transform-origin:top left}
.preview-panel .code-card{max-width:450px;min-height:700px}
.custom-design-fields{border:1px solid var(--line);padding:20px;margin:24px 0;border-radius:10px}
.custom-design-fields legend{padding:0 8px;color:var(--accent);font-weight:bold}
.public-invite .code-card{max-width:450px;margin:35px auto;min-height:790px}
@media(max-width:480px){.tile-art .code-card{height:230px}.preview-panel .code-card{min-height:790px}.public-invite .code-card{min-height:790px}.custom-design-fields{padding:14px}}
@media print{.public-invite .code-card{box-shadow:none;max-width:none;width:450px;height:790px;margin:0 auto;break-inside:avoid}iframe{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Stable live preview: keep the invitation visible while editing. */
.code-card-frame{display:block;min-height:790px;visibility:visible;opacity:1}
.preview-panel{align-self:start}
@media(min-width:801px){.editor-layout .preview-panel{position:sticky;top:22px}}
.custom-design-fields{margin-top:16px}
.code-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.6;tab-size:2;white-space:pre;overflow:auto;min-width:0}.code-editor-box .form-row>label{min-width:0}.share-panel .share-link{width:100%;font-size:14px}.share-contact-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #eee}.share-contact-row span{flex:1;min-width:160px}.share-status{min-height:24px;font-size:14px}.code-editor-box iframe{width:100%;border:0}.code-editor-box .actions{margin-top:20px}

.share-cover-preview{display:block;width:100%;max-width:600px;aspect-ratio:1200/630;object-fit:cover;border-radius:14px;border:1px solid #ddc9a7;margin:16px 0}

/* Compact catalogue crops; long designs open fully only inside preview. */
.hero-card{height:410px;overflow:hidden;border-radius:8px}.hero-card .code-card{height:410px!important;min-height:0;max-width:none;aspect-ratio:auto}.hero-card .code-card-frame{width:450px;height:790px;transform:scale(.65);transform-origin:top left}.hero-art{overflow:visible}.tile-art{height:350px;overflow:hidden;display:flex;align-items:flex-start}.tile-art .code-card{height:300px!important;min-height:0;overflow:hidden}.mini-preview{max-height:600px;overflow:auto}.guest-input-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 44px;align-items:center;gap:12px;margin:12px 0}.guest-input-row label{margin:0}.activation-envelope{max-width:540px;margin:15vh auto;text-align:center;padding:24px}.activation-envelope>span{font-size:70px}.activation-envelope h1{font-size:42px}.activation-envelope p{font-size:16px}.voice-controls{z-index:20}.voice-controls p{font-size:14px}
@media(max-width:800px){.tile-art{height:300px}.hero-card{height:350px}.hero-card .code-card{height:350px!important}.hero-card .code-card-frame{transform:scale(.58)}}
@media(max-width:480px){.tile-art{height:240px}.hero-card{height:310px}.hero-card .code-card{height:310px!important}.hero-card .code-card-frame{transform:scale(.50)}.guest-input-row{grid-template-columns:25px minmax(0,1fr) 35px}.guest-input-row label:nth-child(3){grid-column:2}.guest-input-row>button{grid-column:3;grid-row:1/3}}

/* ---- accounts, tokens, voice, footer (Oct 2026 update) ---- */
.or-line{display:flex;align-items:center;gap:14px;margin:18px 0;color:var(--muted);font-size:11px}.or-line:before,.or-line:after{content:'';flex:1;border-top:1px solid var(--line)}
.text-button{background:none;border:0;padding:0;color:var(--accent);font-size:12px;text-decoration:underline;cursor:pointer}.text-button:hover{background:none;transform:none}
.inline-forms{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0}.inline-forms form{margin:0;display:inline}
.otp-input{font-size:26px;letter-spacing:8px;text-align:center}
.google-fallback{width:100%}
.token-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 18px}.token-packs button{flex-direction:column;gap:2px;padding:12px 8px}.token-packs button small{font-size:11px;color:var(--muted);font-weight:400}.token-packs button.active{border-color:var(--accent);background:#faf0e4}
.tokens-page .checkout-price{font-size:22px}
.autosave-status{font-size:12px;color:var(--accent);min-height:1.4em;margin:4px 0 0}
.song-edit{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0;min-width:260px}.song-edit input{flex:1 1 140px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}
.admin audio{max-width:240px;height:36px}.admin .chips{margin-bottom:24px}
.site-footer{background:#2f2a25;color:#e9e0d3;margin-top:70px;padding:0 0 22px}.site-footer a{color:#e9e0d3}.site-footer a:hover{color:#fff}
.footer-cta{max-width:1240px;margin:auto;padding:46px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;border-bottom:1px solid #4a433b}.footer-cta h2{color:#fff;font-size:32px;margin:6px 0 0}.footer-cta .eyebrow{color:#d9b48a}.footer-cta em{color:#d9b48a}
.footer-grid{max-width:1240px;margin:auto;padding:42px 40px 30px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:36px}
.footer-grid h4{font:600 10px Arial;letter-spacing:2px;text-transform:uppercase;color:#d9b48a;margin:0 0 14px}.footer-grid nav{display:flex;flex-direction:column;gap:9px;font-size:13px}.footer-grid nav span{color:#b9ae9f;font-size:13px}
.footer-about .brand{color:#fff;font-size:26px}.footer-about p{color:#b9ae9f;font-size:13px;max-width:340px;margin:14px 0 0}
.footer-bottom{max-width:1240px;margin:auto;padding:18px 40px 0;border-top:1px solid #4a433b;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#b9ae9f;font-size:11px}
@media(max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;padding:32px 22px}.footer-about{grid-column:1/-1}.footer-cta{padding:34px 22px}.footer-cta h2{font-size:26px}.footer-bottom{padding:16px 22px 0}}
@media(max-width:480px){.footer-grid{grid-template-columns:1fr}}

/* Invioza: sidebar workspaces, clear policies and independently scrollable invitation editing. */
.workspace-marker{margin-left:auto;letter-spacing:.16em;font-size:10px;font-weight:700;color:var(--accent);white-space:nowrap}
.workspace-page .header{max-width:none;padding-inline:clamp(18px,3vw,48px)}
.workspace-page .site-footer .footer-cta{display:none}
.invioza-workspace{min-height:calc(100dvh - 145px)}
.admin-layout,.dashboard-shell{display:grid;grid-template-columns:minmax(212px,250px) minmax(0,1fr);max-width:1600px;margin:0 auto}
.admin-sidebar,.dashboard-sidebar{padding:32px 18px 38px 28px;border-right:1px solid var(--line);background:#f7f1e8;align-self:stretch;position:sticky;top:0;max-height:100dvh;overflow-y:auto}
.admin-sidebar h3,.dashboard-sidebar h3{font-size:24px;line-height:1.2;margin:13px 0 24px}
.admin-sidebar>a,.dashboard-sidebar>a{display:flex;align-items:center;justify-content:space-between;padding:13px 12px;border-radius:10px;color:var(--ink);font-size:13px;margin:5px 0;line-height:1.4;text-decoration:none;transition:background .18s ease}
.admin-sidebar>a b{font-size:18px;font-weight:400;color:var(--muted)}
.admin-sidebar>a:is(.active,:hover),.dashboard-sidebar>a:is(:hover,[aria-current]){background:white;color:var(--accent);box-shadow:0 4px 16px #3a27100e}
.admin-sidebar>a span{display:inline;font-size:inherit}.admin-sidebar>form,.dashboard-sidebar>form{margin:20px 8px}.admin-sidebar>form button,.dashboard-sidebar>form button{width:100%}
.admin-main,.dashboard-main{padding:30px clamp(18px,3.6vw,54px) 70px;min-width:0;min-height:70dvh}
.admin-main h1,.dashboard-main h1{font-size:clamp(29px,3vw,42px)}.admin-main .stats,.dashboard-main .stats{gap:12px}.admin-main .stats article{padding:20px 15px}.admin-main .stats strong{font-size:30px}
.admin-main .table-scroll,.dashboard-main .table-scroll{max-width:100%;overflow-x:auto}
.admin-main .table-scroll table{min-width:780px}.admin-main th,.admin-main td{vertical-align:top}
.admin-main .access-form{display:flex;flex-direction:column;align-items:start;gap:8px;margin-top:10px}.access-form input{min-width:150px;max-width:220px}.access-form button{white-space:nowrap}
.pricing-admin-box{max-width:820px}.legal-page{max-width:1000px}.legal-page h1{margin-bottom:16px}.legal-page h2{margin-top:30px;font-size:clamp(21px,2.6vw,28px)}.legal-page p{line-height:1.85;max-width:76ch}
/* Bound BOTH panels. Long imported invitation artwork scrolls INSIDE preview, not down the whole document. */
.editor-layout{align-items:start;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3vw,48px)}
.editor-layout>.editor-form-panel,.editor-layout>.editor-preview-scroll{height:calc(100dvh - 145px);min-height:530px;max-height:850px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c69c78 #f4eadd;position:relative;top:auto;align-self:start;-webkit-overflow-scrolling:touch}
.editor-layout>.editor-form-panel{padding:26px clamp(16px,2.5vw,30px)}
.editor-layout>.editor-preview-scroll{padding:20px 14px 28px;border:1px solid var(--line);border-radius:14px;background:#f9f3e7}
.editor-scroll-heading{display:flex;align-items:baseline;gap:14px;justify-content:space-between}.editor-scroll-heading h3{margin:0 0 8px}.editor-scroll-hint{color:var(--muted);font-size:10px;white-space:nowrap}
.editor-layout .preview-label{position:sticky;top:-20px;z-index:5;background:#f9f3e7;padding:14px 5px 8px;margin-bottom:14px}
.editor-layout .preview-panel>.hint{padding-top:12px}
.token-packs button small{display:block;font-size:11px;opacity:.8}.tokens-page [data-token-calculator] .form-row label{flex:1;min-width:0}
@media(max-width:850px){.admin-layout,.dashboard-shell{grid-template-columns:1fr}.admin-sidebar,.dashboard-sidebar{position:static;max-height:none;overflow-x:auto;overflow-y:hidden;border:0;border-bottom:1px solid var(--line);padding:16px;display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.admin-sidebar>.eyebrow,.admin-sidebar>h3,.dashboard-sidebar>.eyebrow,.dashboard-sidebar>h3{display:none}.admin-sidebar>a,.dashboard-sidebar>a{white-space:nowrap;flex-shrink:0;padding:11px 13px;font-size:12px;margin:0}.admin-sidebar>a span{display:inline}.admin-sidebar>a b{display:none}.admin-sidebar>form,.dashboard-sidebar>form{flex:0 0 auto;margin:0 0 0 6px}.admin-sidebar>form button,.dashboard-sidebar>form button{padding:10px 14px}.admin-main,.dashboard-main{padding:24px 18px 60px}.editor-layout{grid-template-columns:1fr;gap:15px}.editor-layout>.editor-preview-scroll{grid-row:1}.editor-layout>.editor-form-panel,.editor-layout>.editor-preview-scroll{height:min(66dvh,670px);min-height:330px;max-height:670px;width:100%}.editor-layout>.editor-form-panel{max-width:none}.editor-layout>.editor-preview-scroll{margin:0 auto 12px;padding:14px 8px}.editor-layout .preview-panel>.hint{margin:14px}}
@media(max-width:480px){.editor-layout>.editor-preview-scroll{height:58dvh;min-height:340px}.editor-layout>.editor-form-panel{height:72dvh;min-height:440px}.editor-layout .preview-label>span:last-child{margin-left:auto}.editor-scroll-heading{display:block}.workspace-marker{font-size:9px;letter-spacing:.06em}}

/* Invioza: sharing controls are wallet-gated and visibly unavailable at zero balance. */
.share-panel button:disabled,.guest-actions button:disabled,.share-panel input:disabled,
#bulk-guest-form button[type=submit]:disabled, #bulk-guest-form > button:disabled {
  opacity:.48!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important;
}
.share-panel button:disabled:hover,.guest-actions button:disabled:hover{transform:none!important;filter:none!important}
.share-token-notice{border:1px solid #e5bf91;border-radius:12px;background:#fff4e3;color:#724519;padding:12px 14px;margin:14px 0;font-size:14px;line-height:1.5}
.guest-actions [data-guest-share-status]{flex-basis:100%;min-height:1.1rem;color:#785437}
.share-panel .actions{display:flex;flex-wrap:wrap;gap:12px}

.hero-static{height:auto;display:flex;align-items:center;justify-content:center}.hero-static img{display:block;width:100%;height:auto;max-width:580px;object-fit:contain}.share-cover-preview{max-height:240px;object-fit:contain}@media(max-width:700px){.hero-static{width:100%;max-width:100%;height:auto}.hero-static img{max-width:380px}.hero{min-height:0}.hero-copy h1{overflow-wrap:normal}}

.share-charge-warning{font-size:clamp(15px,1.5vw,18px)!important;line-height:1.65;font-weight:700;color:#823917;background:#fff0d4;border:2px solid #c37b43;border-radius:12px;padding:16px 20px;margin:18px 0;}
.header-token-pill{display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:9px 13px;border:1px solid #af6b4a;border-radius:999px;background:#fff1dc;color:#753b23;font-weight:700;text-decoration:none;white-space:nowrap}.header-token-pill strong{font-size:1.1em}
@media(max-width:700px){.header-token-pill{padding:7px 9px;font-size:12px;margin-left:4px}.share-charge-warning{font-size:15px!important}}

/* October 2026 — optimized real-artwork hero, one cached WebP for both cards. */
.hero-wedding-gallery{position:relative;isolation:isolate;display:block;height:550px;min-height:0;overflow:visible}
.hero-art-glow{position:absolute;inset:12% 4% 2%;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at center,#ead8c9 0,#f4e8d6 42%,transparent 72%)}
.hero-wedding-card{position:absolute;overflow:hidden;width:min(49%,264px);aspect-ratio:435/480;margin:0;border:7px solid #fff9ed;border-radius:6px;background:#f5e3c8;box-shadow:0 19px 45px #48321f3b;transform-origin:50% 70%}
.hero-wedding-card img{display:block;width:100%;height:100%;object-fit:cover}
.hero-wedding-card.back{top:47px;right:9%;transform:rotate(11deg)}
.hero-wedding-card.front{top:110px;left:8%;transform:rotate(-9deg)}
@media(max-width:900px){.hero-wedding-gallery{height:460px}.hero-wedding-card{width:min(52%,225px)}.hero-wedding-card.front{top:105px;left:6%}.hero-wedding-card.back{top:35px;right:7%}}
@media(max-width:700px){.hero-wedding-gallery{height:430px;max-width:430px;margin:0 auto;width:100%}.hero-wedding-card{width:min(52%,210px);border-width:5px}.hero-wedding-card.front{top:85px;left:9%}.hero-wedding-card.back{top:28px;right:11%}.hero-art-glow{inset:11% 0 1%}}
@media(max-width:390px){.hero-wedding-gallery{height:365px}.hero-wedding-card{width:min(52%,178px)}}

/* Mobile editor: taller independent panels, natural finger momentum and scrolling through nested artwork. */
.editor-layout>.editor-form-panel,.editor-layout>.editor-preview-scroll{scroll-behavior:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:contain;scrollbar-gutter:stable}
.editor-layout>.editor-form-panel:focus-within,.editor-layout>.editor-preview-scroll:focus-within{scrollbar-color:#ad7450 #fff6e8}
@media(max-width:850px){.editor-layout>.editor-preview-scroll{height:clamp(520px,76dvh,850px)!important;min-height:520px!important;max-height:850px!important;grid-row:1}.editor-layout>.editor-form-panel{height:clamp(570px,81dvh,920px)!important;min-height:570px!important;max-height:920px!important}.editor-layout .preview-label{top:-14px}}
@media(max-width:480px){.editor-layout>.editor-preview-scroll{height:clamp(540px,76svh,820px)!important;min-height:540px!important}.editor-layout>.editor-form-panel{height:clamp(600px,83svh,930px)!important;min-height:600px!important}.editor-layout{gap:20px}.editor-layout>.editor-preview-scroll{padding:14px 10px 22px}}
/* Dedicated, clear token pricing and optional sound controls. */
.token-policy{padding:18px 20px;margin:14px 0 22px;border:2px solid #b46e45;border-radius:12px;background:#fff0da;color:#673d20;font-size:clamp(14px,1.5vw,17px);line-height:1.65}
.token-policy>strong{display:block;color:#773719;font-size:1.07em;margin-bottom:5px}.token-policy li strong{display:inline;color:inherit;font-size:1em;margin:0}.token-policy ol{margin:8px 0 0;padding-left:24px}.token-policy li{margin:6px 0}
.voice-optin{display:flex;align-items:flex-start;gap:12px;margin:15px 0;padding:14px;border:1px solid #ead8c0;border-radius:10px;background:#fffbf2;font-size:14px!important}.voice-optin input{width:auto!important;min-width:19px;height:19px;margin-top:2px;accent-color:#aa684e}.voice-optin span{display:block;color:#655348}.voice-optin strong{display:block;color:#4b3425}.voice-config[hidden]{display:none!important}.sound-hint{font-size:13px!important;line-height:1.55}
@media(max-width:480px){.token-policy{padding:14px 16px}.voice-optin{padding:12px}}

/* Offscreen template tiles do not require initial paint on mobile. */
@supports (content-visibility:auto){.template-grid .template-tile{content-visibility:auto;contain-intrinsic-size:auto 610px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Iframe captures touch gestures on mobile; let users scroll its container by default. */
.preview-interact-toggle{display:none!important}
@media(max-width:850px){.editor-preview-scroll:not(.is-interactive) .code-card-frame{pointer-events:none!important}.editor-layout .preview-label{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.editor-layout .preview-label>span:last-of-type{margin-left:auto}.preview-interact-toggle{display:inline-flex!important;padding:6px 9px;font-size:11px;border-radius:999px;white-space:nowrap;background:#fff8ea;color:#7b4d31;border-color:#d0b18c}.editor-preview-scroll.is-interactive .preview-interact-toggle{background:#8c5339;color:#fff}.editor-preview-scroll.is-interactive{overscroll-behavior:auto}}

/* WhatsApp share controls: official green, without changing layout. */
.share-panel [data-share-action="whatsapp"]:not(:disabled),
.share-panel [data-whatsapp-form] button[type="submit"]:not(:disabled),
.guest-actions [data-guest-share="whatsapp"]:not(:disabled){background:#25D366!important;border-color:#25D366!important;color:#fff!important}
.share-panel [data-share-action="whatsapp"]:not(:disabled):hover,
.share-panel [data-whatsapp-form] button[type="submit"]:not(:disabled):hover,
.guest-actions [data-guest-share="whatsapp"]:not(:disabled):hover{background:#1ebe5d!important;border-color:#1ebe5d!important;color:#fff!important}

/* 2026-10-20: clear Edit CTA, final-send review, and natural mobile form scrolling. */
.tile-edit-actions{border-top:1px solid var(--line);padding:16px 0 4px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tile-edit-button{min-height:46px;padding:11px 20px;font-size:14px;gap:9px}
.tile-edit-caption{font-size:12px;color:var(--muted)}
.tile-edit-button:focus-visible{outline:3px solid #c69c78;outline-offset:3px}
.guest-send-toolbar{padding:20px 22px;border:1px solid var(--line);border-radius:12px;background:var(--soft);margin:20px 0}
.guest-send-toolbar .actions{margin:12px 0;gap:12px}.guest-send-toolbar p{margin:8px 0}
.guest-send-select{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}
.send-review-dialog{width:min(560px,calc(100% - 28px));max-height:85dvh;border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);padding:24px}
.send-review-dialog::backdrop{background:rgba(35,29,23,.5)}
.send-review-dialog h3{margin:0 0 12px}.send-review-dialog .actions{margin:20px 0 0;gap:12px}
.send-review-list{max-height:34dvh;overflow:auto;padding:0;margin:15px 0;list-style:none}
.send-review-list li{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.send-review-list small{display:block;color:var(--muted)}
.send-result{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:20px;margin:20px 0}
.send-result[hidden]{display:none}.send-result-list{display:grid;gap:12px}
.send-result-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--line)}
.send-result-row small{display:block;color:var(--muted)}.send-result-row .actions{margin:0;gap:8px}
[data-guest-send-status]{font-size:14px}.guest-draft-hint{font-size:12px;color:var(--muted)}
@media(max-width:850px){
 .editor-layout>.editor-form-panel{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto;scrollbar-width:auto;scrollbar-gutter:auto;-webkit-overflow-scrolling:auto}
 .editor-form-panel .editor-scroll-hint{display:none}
 .editor-form-panel textarea{resize:vertical}
}
@media(max-width:480px){
 .tile-edit-button{width:100%;min-height:48px;font-size:15px}.tile-edit-caption{width:100%;text-align:center}
 .guest-send-toolbar{padding:16px}.guest-send-toolbar .actions>button{width:100%}
 .send-review-dialog{padding:20px}.send-review-dialog .actions>button{flex:1}
}
