:root{--ink:#303c34;--muted:#7f8479;--paper:#f7f5ef;--line:#dedfd5;--green:#354d3d}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:15px;line-height:1.6}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}header{height:100px;max-width:1240px;margin:auto;padding:20px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.logo{font-family:Georgia,serif;font-size:36px;letter-spacing:-2px;line-height:1}.logo span{display:block;font-family:sans-serif;font-size:10px;letter-spacing:1px;margin-top:9px}nav{display:flex;align-items:center;gap:18px;font-size:12px;color:var(--muted)}main{max-width:1160px;margin:60px auto 100px;padding:0 30px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--muted);margin:20px 0}h1{font-family:Georgia,'AppleMyungjo','Batang',serif;font-size:48px;line-height:1.4;font-weight:400;letter-spacing:-2px;margin:16px 0 24px}h1 em{font-style:normal;color:#78836d}h2{font-size:20px;font-weight:500;letter-spacing:-.7px}h3{font-size:20px;font-weight:500;margin:8px 0}p{color:var(--muted)}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:60px}.intro-note{border-left:1px solid #aeb5a6;padding:10px 0 10px 35px;font-family:Georgia,serif;letter-spacing:2px;font-size:18px;line-height:1.7}.intro-note span{display:block;font:11px sans-serif;letter-spacing:0;margin-top:20px;color:var(--muted)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:35px 0 20px}.section-title span{font-size:11px;color:var(--muted);letter-spacing:1px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}article{border:1px solid var(--line);background:#fffefa}.sample{height:330px;margin:16px;text-align:center;padding:33px 20px;display:flex;flex-direction:column;align-items:center;justify-content:space-between}.classic{background:#f1ebe0;color:#645644}.garden{background:#e6ebdf;color:#465e48}.modern{background:#ecebef;color:#3b394e}.sample small{font:9px Georgia,serif;letter-spacing:2px}.sample strong{font-family:'AppleMyungjo',Batang,serif;font-size:28px;font-weight:400;line-height:1.5}.flower{font-size:38px;line-height:1}.sample i{font:italic 16px Georgia,serif}.modern.sample{align-items:flex-start;text-align:left}.modern .flower{align-self:flex-end}.card-info{padding:12px 24px 25px}.card-info small{font-size:9px;letter-spacing:2px;color:var(--muted)}.card-info p{font-size:12px;margin-bottom:25px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid var(--green);padding:13px 20px;min-height:48px;background:var(--green);color:white;font-size:13px}.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.card-info button{width:100%;justify-content:space-between}.text{border:0;background:none;color:var(--ink);padding:12px 0;font-size:13px}.danger{color:#9d4d48;border:0;background:none;display:block;margin:20px 0;padding:12px 0}.badge{font-size:10px;color:#9d4d48}.empty{padding:30px;background:#eeeee6;font-size:13px;color:var(--muted)}.my-list{display:grid;gap:10px}.inv-row{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;padding:20px;border:1px solid var(--line);background:#fffefa;color:var(--ink)}.inv-row small{display:block;color:var(--muted);margin-top:6px}.inv-row>span{font-size:12px}.auth{max-width:530px;padding-top:20px}.auth h1{font-size:48px}.auth form{margin-top:40px}form{display:grid;gap:18px}label{display:grid;gap:8px;font-size:12px;color:#5c665c}input,textarea,select{border:1px solid var(--line);border-radius:0;background:#fffefa;color:var(--ink);padding:13px;width:100%;min-height:48px;outline-offset:3px;font-size:16px}textarea{resize:vertical}.hint{font-size:11px;line-height:1.8;margin:0}.narrow{max-width:600px}.narrow h1{font-size:38px}.check{display:flex;align-items:center;gap:10px}.check input{width:18px;height:18px;min-height:18px;accent-color:var(--green)}footer{text-align:center;padding:30px;font-size:10px;color:var(--muted);border-top:1px solid var(--line);letter-spacing:1px}.editor{display:grid;grid-template-columns:1fr 420px;gap:70px}.edit-panel h1{font-size:36px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.preview{border:8px solid #e4e3da;border-radius:28px;overflow:hidden;align-self:start;position:sticky;top:24px;max-height:85vh;overflow-y:auto;box-shadow:0 12px 40px #26332812}.tabs{display:none}.upload{border:1px dashed #aeb5a6;padding:18px;text-align:center;cursor:pointer}.upload input{font-size:12px;background:transparent;border:0;padding:8px;min-height:0}.photo-row{display:flex;align-items:center;gap:12px;margin:8px 0;border-bottom:1px solid var(--line);padding:8px 0;font-size:12px}.photo-row img{width:52px;height:60px;object-fit:cover}.photo-row span{flex:1}.photo-row button{border:0;background:none;color:var(--ink);padding:10px}details{font-size:12px}summary{cursor:pointer;padding:12px 0}#library{display:flex;flex-wrap:wrap;gap:8px}#library button{padding:0;border:0;background:none}#library img{width:65px;height:75px;object-fit:cover}.invitation{max-width:480px;margin:auto;text-align:center;min-height:100vh;font-family:'AppleMyungjo',Batang,Georgia,serif}.invitation small{font:9px Georgia,serif;letter-spacing:3px;opacity:.7}.invite-top{padding:65px 30px 40px}.invite-top h1{font-size:35px;letter-spacing:4px;margin:32px 0}.invite-top h1 span{display:block;font:italic 22px Georgia,serif;opacity:.5;margin:12px}.invite-top p{font-size:13px;color:inherit;opacity:.8;margin:8px 0}.cover{width:100%;height:auto;max-height:700px;object-fit:cover;display:block}.photo-placeholder{height:270px;margin:0 28px;border:1px solid currentColor;opacity:.5;display:flex;flex-direction:column;justify-content:center;gap:20px}.photo-placeholder span{font-size:70px}.photo-placeholder i{font:italic 20px Georgia,serif}.invitation section{padding:65px 28px}.invitation h2{font-family:inherit;font-size:23px;line-height:1.8;font-weight:400;margin:25px 0}.invitation section p{white-space:pre-line;color:inherit;font-size:14px;line-height:2.2;opacity:.8}.names{margin-top:35px;font-size:18px}.names span{font-size:11px;margin:0 15px;opacity:.6}.gallery{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gallery img{width:100%;height:200px;object-fit:cover;display:block}.location{border-top:1px solid #00000012}.location strong{font-size:17px;font-weight:400}.location .secondary{margin-top:20px}.invite-end{font-size:11px;padding:40px 20px 25px;opacity:.7}.invite-end b{display:block;font:22px Georgia,serif;margin-top:30px}.modern.invitation{font-family:-apple-system,sans-serif}.modern .invite-top{text-align:left}.modern .invite-top h1 span{display:inline;margin:10px}.garden .invite-top:before{content:'❧';display:block;font-size:48px;margin-bottom:20px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);background:#263b2e;color:white;padding:14px 24px;font-size:13px;max-width:90vw;width:max-content;opacity:0;pointer-events:none;transition:.2s;z-index:100;box-shadow:0 5px 30px #0002}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:800px){header{height:85px;padding:18px 22px}.logo{font-size:30px}nav{font-size:10px;gap:10px}nav>span{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main{margin:35px auto 60px;padding:0 22px}h1{font-size:38px}.intro-note{display:none}.intro{margin-bottom:35px}.intro p{font-size:13px;max-width:280px}.grid{grid-template-columns:repeat(2,1fr);gap:16px}.sample{height:280px;padding:25px 10px;margin:10px}.sample strong{font-size:23px}.card-info{padding:10px 15px 18px}.card-info h3{font-size:17px}.card-info p{min-height:38px}.editor{display:block}.preview{display:none;position:static;max-height:none;border-radius:0;max-width:420px;margin:auto}.tabs{display:flex;border-bottom:1px solid var(--line);margin:20px 0 28px}.tabs button{width:50%;padding:15px 4px;background:none;border:0;color:var(--muted)}.tabs button.selected{border-bottom:2px solid var(--green);color:var(--ink)}.editor.show-preview #edit-form{display:none}.show-preview .preview{display:block}.show-preview .edit-panel h1,.show-preview .edit-panel .eyebrow{display:none}.section-title span{font-size:9px;letter-spacing:0}.section-title h2{font-size:18px}}@media(max-width:480px){.grid{grid-template-columns:1fr;gap:24px}.sample{height:360px;padding:40px 20px;margin:14px}.sample strong{font-size:30px}.card-info{padding:12px 24px 24px}.card-info p{min-height:0}.auth h1{font-size:39px}.inv-row{padding:16px}.inv-row>span{font-size:11px}.preview{border:0}.editor{padding:0 18px}}
/* Invitation studio */
.editor{max-width:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(320px,40%) minmax(400px,60%);gap:0;background:#faf9f6;align-items:start;min-height:calc(100vh - 100px)}
.edit-panel{grid-column:1;grid-row:1;background:#fff;min-width:0;padding-bottom:85px}.editor-heading{padding:22px 40px 24px;border-bottom:1px solid #eeeae5}.editor-heading .text{font-size:11px;color:#879086;padding:0 0 15px}.editor-heading h1{font:italic 24px Georgia,serif;letter-spacing:0;margin:0;color:#435743}.editor-heading p{font-size:11px;margin:8px 0}.editor-heading #save-state{font-size:10px;color:#8c8270}.editor #edit-form{display:block;width:100%;margin:0}.edit-step{border-bottom:1px solid #e9e7e2;background:white}.edit-step>summary{list-style:none;display:flex;align-items:center;gap:17px;min-height:95px;padding:22px 30px;user-select:none}.edit-step>summary::-webkit-details-marker{display:none}.step-number{font:12px Georgia,serif;color:#a7ada0;border:1px solid #e4e8df;width:29px;height:29px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.edit-step strong{display:block;font-family:'AppleMyungjo',Batang,serif;font-size:17px;font-weight:400;color:#566650;letter-spacing:-.4px}.edit-step strong i{font:italic 13px Georgia,serif;letter-spacing:0;color:#8e9988;margin-right:4px}.edit-step small{display:block;font-size:10px;color:#92998e;margin-top:4px}.step-indicator{margin-left:auto;flex-shrink:0;font-size:9px;color:#889181;letter-spacing:1px}.chevron{color:#a5ab9d;font-size:17px;transition:transform .2s}.edit-step[open] .chevron{transform:rotate(180deg)}.edit-step[open]>summary{background:#f6f7f2}.step-body{display:grid;gap:20px;padding:27px 35px 35px}.step-body .section-toggle{padding-bottom:17px;border-bottom:1px solid var(--line)}.step-body label{font-size:12px}.step-body input,.step-body textarea,.step-body select{background:white;border-color:#e3e5dd;font-size:14px;border-radius:4px}.step-body input[type=color]{height:48px;padding:5px;cursor:pointer}.step-body .upload{border-radius:5px;border-color:#c5cdbb;background:#f8faf5}.step-body .hint{color:#939789}.step-body .photo-library{border-top:1px solid #e9e9e2;padding-top:4px}.preview-stage{grid-column:2;grid-row:1;position:sticky;top:0;height:auto;min-height:calc(100vh - 15px);display:flex;align-items:center;flex-direction:column;padding:30px;background:#eae8e3;border-left:1px solid #ddd9d1}.preview-label{font:italic 16px Georgia,serif;color:#818179;text-align:center;margin-bottom:20px}.preview-label span{font:10px -apple-system,sans-serif;display:block;color:#99998f;margin-top:7px}.preview-stage .preview{margin-inline:auto;align-self:center;position:static;border:8px solid #343633;border-radius:45px;width:365px;max-width:100%;height:auto;aspect-ratio:9 / 19.5;max-height:none;min-height:0;background:#f1ebe0;box-shadow:0 20px 40px #0002;scrollbar-width:none;flex-shrink:0}.preview::-webkit-scrollbar{display:none}.preview-stage>.hint{margin-top:18px;text-align:center;font-size:9px;color:#96988f}.preview .invitation{min-height:100%;width:100%;overflow:hidden}.save-bar{position:fixed;bottom:0;left:0;width:40%;background:#ffffffed;backdrop-filter:blur(10px);border-top:1px solid #eae8e2;min-height:76px;padding:14px 35px;display:flex;align-items:center;justify-content:space-between;gap:20px;z-index:10}.save-bar>span{font-size:11px;color:#9a9e91}.save-bar button{min-width:170px;border-radius:3px;background:#343d32}.publish-settings{padding:30px 35px;display:grid;gap:12px;background:#fcfcf9}.publish-settings .text{justify-self:start}.publish-settings .danger{margin:0;font-size:12px}.response-list{display:grid;gap:10px;max-height:300px;overflow:auto}.response-list>div{display:flex;justify-content:space-between;gap:12px;padding:12px;background:#f6f7f2;font-size:12px}.response-list span{color:#7b8575}#middle-library{display:flex;gap:8px;flex-wrap:wrap}#middle-library button{padding:0;border:2px solid transparent;background:none}#middle-library img{display:block;object-fit:cover;width:65px;height:75px}#middle-library button:disabled{border-color:#687c5a;opacity:.45}.middle-photos img{width:100%;display:block;margin-bottom:14px}.family{margin-top:30px}.family p{font-size:12px!important;margin:7px 0}.family span{font-size:10px;opacity:.7;margin:0 8px}.family b{font-weight:400}.map-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.map-links .secondary{font:11px -apple-system,sans-serif;padding:10px 15px;min-height:40px;border-color:currentColor;border-radius:30px;color:inherit}.transport{margin-top:35px}.transport h3{font:600 13px -apple-system,sans-serif}.transport p{font-size:12px!important}.invitation.font-sans{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif}.font-sans h1,.font-sans h2{font-family:inherit}.invitation #rsvp-form{text-align:left;font-family:-apple-system,sans-serif;gap:16px}.invitation #rsvp-form label{color:inherit}.invitation #rsvp-form input,.invitation #rsvp-form select{font-size:14px;background:#ffffff7a}.invitation #rsvp-form .check{font-size:10px;align-items:flex-start}.rsvp-preview{padding:25px;border:1px solid #0002;font:13px/2 -apple-system,sans-serif;border-radius:5px}.rsvp-preview small{letter-spacing:0;font-family:inherit}.invitation #invite-accounts button{color:inherit;border-color:currentColor;background:none;font:12px -apple-system,sans-serif}.invitation #invite-accounts p{text-align:left;padding:20px;background:#ffffff35;border-radius:5px}.editor .tabs{margin:0}
@media(min-width:801px){body:has(.editor)>#app>header{max-width:none;background:white;height:82px;padding:20px 35px}body:has(.editor)>#app>footer{display:none}}
@media(max-width:1100px) and (min-width:801px){.editor{grid-template-columns:40% 60%}.save-bar{width:40%}.preview-stage{padding:25px 18px}.step-body{padding:24px}.edit-step>summary{padding:20px;gap:12px}.step-indicator{font-size:8px}}
@media(max-width:800px){.editor{display:flex;flex-direction:column;min-height:calc(100vh - 85px);padding:0;margin:0}.edit-panel{width:100%;padding-bottom:75px}.editor-heading{padding:20px 24px}.editor-heading h1{font-size:23px}.editor-heading p{font-size:11px}.editor .tabs{padding:0 22px;background:white;position:sticky;top:0;z-index:5}.edit-step>summary{padding:20px 22px;min-height:90px;gap:12px}.edit-step strong{font-size:16px}.edit-step small{font-size:10px}.step-body{padding:24px}.step-body input,.step-body textarea,.step-body select{font-size:16px}.save-bar{width:100%;padding:12px 22px;min-height:72px}.save-bar button{min-width:140px}.preview-stage{display:none;position:static;width:100%;height:auto;min-height:calc(100vh - 220px);padding:25px 18px 45px}.preview-stage .preview{height:auto;min-height:0;max-height:none;border:7px solid #343633;border-radius:38px;max-width:365px;margin:0}.show-preview .edit-panel{padding-bottom:0}.show-preview .preview-stage{display:flex}.show-preview .editor-heading #save-state{display:none}.show-preview .edit-panel h1{display:block}.editor-heading #save-state{font-size:10px}body:has(.editor)>#app>footer{display:none}}

.inv-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.inv-actions button{min-height:44px;padding:10px 16px;font-size:12px;border-radius:3px}.delete-button{border:1px solid #dbc3bf;background:transparent;color:#9d4d48}.delete-button:hover{background:#faf0ee}.inv-row>div:first-child{min-width:0}.inv-row strong{overflow-wrap:anywhere}@media(max-width:480px){.inv-row{align-items:flex-start;gap:16px;flex-wrap:wrap}.inv-actions{margin-left:auto}.inv-actions button{padding:10px 14px}}
/* Admin visual template designer */
.template-designer #design-form{display:block;width:100%}.designer-group{border-bottom:1px solid #e6e7df}.designer-group>summary{list-style:none;display:flex;justify-content:space-between;padding:23px 30px;font-size:14px;color:#4b6047;background:#fafbf7}.designer-group>summary::-webkit-details-marker{display:none}.designer-fields{padding:25px 30px;display:grid;gap:20px}.designer-fields textarea,.designer-fields input,.designer-fields select{font-size:14px;border-radius:4px;background:white}.designer-fields input[type=color]{padding:5px;cursor:pointer}.range-input{display:flex;align-items:center;gap:15px}.range-input input{padding:0;border:0;min-height:32px;accent-color:#435c3c}.range-input output{min-width:45px;text-align:right;color:#687a5d;font-size:12px}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.preset-buttons button{background:#f3f5ed;border:1px solid #d9e0ce;border-radius:3px;padding:10px;color:#526149;font-size:11px}.design-image-status{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#7c8774}.design-block-row{border:1px solid #e2e6d9;border-radius:4px;margin-bottom:10px;background:#fff}.block-toolbar{display:flex;align-items:center;gap:8px;padding:12px 10px;font-size:12px;min-height:58px}.block-toolbar .check{font-size:12px}.block-toolbar strong{font-weight:500}.drag-handle{font-size:23px;cursor:grab;color:#9ca88f;padding:0 4px}.order-actions{display:flex;margin-left:auto;flex-shrink:0}.order-actions button{border:0;background:none;color:#657457;padding:8px;min-width:32px;min-height:36px}.custom-block-fields{padding:4px 18px 20px;display:grid;gap:15px;border-top:1px solid #edf0e7}.custom-block-fields label:first-child{margin-top:15px}.designed{background-color:var(--design-background);color:var(--design-accent);background-size:cover;background-position:center;background-attachment:local}.designed .invite-top,.designed section{text-align:var(--design-alignment,center)}.designed[data-align=left]{--design-alignment:left}.designed[data-align=right]{--design-alignment:right}.designed[data-align=center]{--design-alignment:center}.designed .invite-top{padding:var(--design-section_spacing,65px) var(--design-side_padding,28px)}.designed .invite-top h1{font-size:var(--design-name_size,35px);letter-spacing:var(--design-letter_spacing,0px);white-space:pre-line}.designed section{padding:var(--design-section_spacing,65px) var(--design-side_padding,28px);background-color:var(--design-section_background)}.designed h2{font-size:var(--design-heading_size,23px);letter-spacing:var(--design-letter_spacing,0px);white-space:pre-line}.designed section p{font-size:var(--design-body_size,14px);line-height:var(--design-line_height,22px)}.designed .cover,.designed .photo-placeholder{border-radius:var(--design-photo_radius,0px);height:var(--design-photo_height,420px);max-height:none;object-fit:cover}.designed[data-fit=contain] .cover{object-fit:contain}.hero-compose{display:flex;flex-direction:column;min-width:0}.hero-compose[data-layout=photo-first] .cover,.hero-compose[data-layout=photo-first] .photo-placeholder{order:-1}.hero-compose[data-layout=overlay]{display:grid;isolation:isolate}.hero-compose[data-layout=overlay] .invite-top,.hero-compose[data-layout=overlay] .cover,.hero-compose[data-layout=overlay] .photo-placeholder{grid-column:1;grid-row:1}.hero-compose[data-layout=overlay] .invite-top{z-index:1;align-self:center;text-shadow:0 1px 12px #fff7}.hero-compose[data-layout=overlay] .photo-placeholder{margin:0;opacity:.3;width:100%}.designed .font-sans,.designed.font-sans,.designed.font-sans .invite-top h1{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif}.designed .custom-block h2{margin-top:0}.designed .custom-block p{margin-bottom:0}.template-designer .preview-stage .preview{overflow-y:auto}.template-designer .preview .cover{display:block}.template-designer #design-state{font-size:10px;color:#8c8270}@media(max-width:800px){.designer-fields{padding:22px}.designer-group>summary{padding:21px 22px}.designer-fields input,.designer-fields textarea,.designer-fields select{font-size:16px}.template-designer.show-preview #design-form{display:none}.template-designer.show-preview .edit-panel{padding-bottom:0}}
.hero-layout{position:relative;width:100%;container-type:inline-size;overflow:hidden;background:var(--design-background,transparent);color:var(--design-accent,inherit)}.hero-element{position:absolute;white-space:pre-line;overflow:hidden;display:flex;flex-direction:column;justify-content:center;line-height:1.35;min-width:0}.hero-element[style*="text-align: left"]{align-items:flex-start}.hero-element[style*="text-align: right"]{align-items:flex-end}.hero-element img{width:100%;height:100%;display:block;object-fit:cover}.hero-photo-empty{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#b9c0ad55;border:1px dashed #89967c;color:inherit;font:14px/2 sans-serif}.hero-photo-empty small{font:10px sans-serif;letter-spacing:0}.hero-designer .hero-element{cursor:move;touch-action:none;user-select:none}.hero-designer .hero-element.hero-selected{outline:2px solid #6889d5;outline-offset:-2px;overflow:visible}.hero-designer .hero-element.hero-selected img{border-radius:inherit}.hero-resize{position:absolute;width:10px;height:10px;background:#fff;border:2px solid #6889d5;z-index:25;transform:translate(-50%,-50%);touch-action:none}.hero-resize::before{content:"";position:absolute;inset:-6px}.hero-resize[data-resize=nw]{left:0;top:0;cursor:nwse-resize}.hero-resize[data-resize=n]{left:50%;top:0;cursor:ns-resize}.hero-resize[data-resize=ne]{left:100%;top:0;cursor:nesw-resize}.hero-resize[data-resize=e]{left:100%;top:50%;cursor:ew-resize}.hero-resize[data-resize=se]{left:100%;top:100%;cursor:nwse-resize}.hero-resize[data-resize=s]{left:50%;top:100%;cursor:ns-resize}.hero-resize[data-resize=sw]{left:0;top:100%;cursor:nesw-resize}.hero-resize[data-resize=w]{left:0;top:50%;cursor:ew-resize}.hero-add-buttons{display:flex;flex-wrap:wrap;gap:8px}.hero-add-buttons button{border:1px solid #d7dfcf;background:#f6f8f0;color:#4e6344;border-radius:3px;padding:10px;font-size:12px}.hero-layer{display:flex;justify-content:space-between;gap:8px;width:100%;text-align:left;border:1px solid #e3e7dc;background:white;padding:12px;color:#56664b;margin-bottom:7px;font-size:12px}.hero-layer.selected{border-color:#7795d1;background:#f0f4fd}.hero-layer small{font-size:10px;color:#939c8d}.hero-designer #hero-form{display:block}.hero-designer .designer-fields input[type=color]{padding:4px}.hero-designer #hero-properties input,.hero-designer #hero-properties select{min-width:0}.hero-designer .hero-layout .hero-element:focus-visible{outline:2px solid #557acd}.customer-appearance .publish-settings,.customer-appearance [name=hero]{display:none}.customer-appearance label:has(>[name=hero]){display:none}.customer-appearance.show-preview #design-form,.hero-designer.show-preview #hero-form{display:none}@media(min-width:801px){.hero-designer.show-preview #hero-form{display:block}}@media(max-width:800px){.hero-designer .designer-fields input,.hero-designer .designer-fields select{font-size:16px}.hero-designer.show-preview .edit-panel{padding-bottom:0}}
/* Customer creation and admin usage management */
.account-dashboard .intro .primary,.account-dashboard .intro .secondary{white-space:nowrap}.account-list{display:grid;gap:14px;margin-top:24px}.account-row{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px;background:#fffefa;border:1px solid var(--line)}.account-summary{min-width:0}.account-summary h3{margin:10px 0 5px;overflow-wrap:anywhere}.account-summary p{font-size:13px;margin:0 0 12px;overflow-wrap:anywhere}.account-summary small{font-size:11px;color:var(--muted);line-height:1.9}.account-row .inv-actions{flex-wrap:wrap;justify-content:flex-end}.status-pill{font-size:10px;display:inline-block;padding:4px 10px;border-radius:20px;background:#efeee7;color:#827c66}.status-pill.active{background:#e7efdf;color:#50703a}.status-pill.private{background:#e6edf3;color:#596e82}.status-pill.expired{background:#f3e5e0;color:#9a6653}.list-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);margin-bottom:20px}.list-tabs button{padding:14px;border:0;background:none;font-size:13px;color:var(--muted)}.list-tabs button.selected{border-bottom:2px solid var(--green);color:var(--ink)}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}.admin-stats button{border:1px solid var(--line);background:#fffefa;padding:20px;text-align:left;color:var(--ink)}.admin-stats button.selected{border-color:#73856a;background:#eef1e8}.admin-stats span{display:block;font-size:12px;color:var(--muted)}.admin-stats strong{display:block;font:32px Georgia,serif;margin-top:10px;font-weight:400}.admin-search{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:18px}.admin-preview{padding:0;border:0;max-width:480px;width:94vw;max-height:90vh;background:var(--paper);overflow:auto}.admin-preview::backdrop{background:#13201980}.dialog-heading{position:sticky;top:0;z-index:5;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;background:#fff;font-size:11px;border-bottom:1px solid var(--line)}.dialog-heading button{border:0;background:none;font-size:24px;padding:0 10px}.hero-designer label:has(>[name=description]),.hero-designer .publish-settings{display:none}@media(max-width:800px){.account-dashboard .intro{display:block}.account-dashboard .intro button{margin-top:20px}.account-row{align-items:flex-start;flex-direction:column;padding:20px}.account-row .inv-actions{align-self:flex-end}.admin-stats{grid-template-columns:repeat(2,1fr);gap:10px}.admin-stats button{padding:16px}.admin-search{grid-template-columns:1fr;gap:14px}}
.parent-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px}.repeat-row{padding:18px;background:#f8f9f4;border:1px solid #e1e5d9;border-radius:5px;display:grid;gap:12px;margin-bottom:12px}.repeat-row .text{justify-self:end;color:#95695b;font-size:11px}.nav-checks{display:flex;gap:14px;flex-wrap:wrap}.section-upload-preview{max-width:100%;max-height:220px;object-fit:contain}.route-image{width:100%;height:auto;display:block;margin:25px auto}.kakao-map-link{display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;min-height:180px;background:#ffffff48;border:1px solid #0002;margin:25px 0;padding:20px;font:12px -apple-system,sans-serif}.kakao-map-link>span{font-size:30px}.kakao-map-link small{font:10px -apple-system,sans-serif;letter-spacing:0}.invitation #invite-parents p{font-size:13px}.invitation #invite-parents span{font-size:10px;opacity:.7}.invitation #invite-parents strong{font-weight:400}.invitation .account-side{margin:0;border:0;border-bottom:1px solid #00000014;border-radius:0}.invitation .account-side>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:18px 2px;list-style:none;text-align:left;font-size:14px;font-weight:400}.invitation .account-side>summary::-webkit-details-marker{display:none}.invitation .account-side>summary:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.account-side-chevron{width:7px;height:7px;margin-right:4px;opacity:.5;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);flex-shrink:0}.account-side[open]>summary .account-side-chevron{transform:rotate(225deg)}.account-side-entries{padding:0 2px 8px}.account-side-entries>.public-account{border-color:#0000000d}.account-side-entries>.public-account:first-child{border-top:0}.public-account{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #0002;padding:12px 0}.public-account p{font-size:13px!important;text-align:left!important;background:none!important;padding:0!important}.public-account button{min-height:36px!important;padding:8px 12px!important}.guestbook-note{padding:16px;background:#ffffff55;border:1px solid #0001;margin:12px 0;text-align:left;font:13px -apple-system,sans-serif}.guestbook-note small{float:right;font:9px -apple-system,sans-serif;letter-spacing:0;opacity:.6}.guestbook-note p{white-space:pre-line;overflow-wrap:anywhere;font-size:13px!important;line-height:1.8!important}.invitation #guestbook-form{text-align:left;font:13px -apple-system,sans-serif;margin-top:24px}.invitation #guestbook-form label{color:inherit}.invitation #guestbook-form input,.invitation #guestbook-form textarea{background:#ffffff66;font-size:14px}.address-dialog{width:min(500px,95vw);padding:0;border:1px solid var(--line);max-height:90vh}.address-dialog::backdrop{background:#24312070}.postcode-container{height:min(550px,75vh)}.invitation #invite-message h2{white-space:pre-line}

.hero-photo-thumbnail{display:block;width:100%;max-height:190px;object-fit:contain;border:1px solid var(--line);background:#f5f5ef;border-radius:4px}

.hero-photo-viewport{position:relative;width:100%;height:100%;border-radius:inherit;overflow:hidden;flex-shrink:0}.hero-photo-viewport img{width:100%;height:100%;object-fit:cover;max-width:none;user-select:none;pointer-events:none}.hero-designer .hero-element.hero-selected .hero-photo-viewport img{border-radius:0}.hero-designer .photo-crop-mode{cursor:grab}.hero-designer .photo-crop-mode:active{cursor:grabbing}.crop-controls{padding:16px;border:1px solid #dae0d2;background:#f6f8f2;border-radius:5px;display:grid;gap:16px}.crop-mode-buttons{display:flex;gap:8px}.crop-mode-buttons button{flex:1;padding:11px 8px;background:white;border:1px solid #d4dccb;border-radius:3px;color:#64735b;font-size:11px}.crop-mode-buttons button.selected{background:#435a3a;color:white;border-color:#435a3a}.crop-controls input[type=range]{padding:0;accent-color:#526c46}

.hero-designer .hero-element.photo-crop-mode{z-index:40;isolation:isolate;overflow:visible}.hero-designer .photo-crop-mode .hero-photo-viewport{z-index:1}.hero-designer .hero-element .photo-crop-ghost{position:absolute;display:block;max-width:none;border-radius:0;opacity:.35;object-fit:fill;pointer-events:auto;transform:none;z-index:0;cursor:grab;touch-action:none;user-select:none}.hero-designer .photo-crop-mode .hero-resize{display:none}.hero-designer .photo-crop-mode .hero-photo-viewport::after{content:"";position:absolute;inset:0;border:2px solid #fff;pointer-events:none;background-image:linear-gradient(90deg,transparent 33%,#ffffff70 33%,#ffffff70 33.3%,transparent 33.3%,transparent 66.6%,#ffffff70 66.6%,#ffffff70 66.9%,transparent 66.9%),linear-gradient(0deg,transparent 33%,#ffffff70 33%,#ffffff70 33.3%,transparent 33.3%,transparent 66.6%,#ffffff70 66.6%,#ffffff70 66.9%,transparent 66.9%)}

.photo-crop-bounds{position:absolute;border:1px dashed #ffffffb3;pointer-events:none;z-index:4}.photo-scale-handle{position:absolute;width:13px;height:13px;border:2px solid #fff;background:#557dcc;box-shadow:0 1px 5px #0005;transform:translate(-50%,-50%);pointer-events:auto;touch-action:none;user-select:none;border-radius:2px}.photo-scale-handle::before{content:"";position:absolute;inset:-8px}.photo-scale-handle[data-photo-scale=nw],.photo-scale-handle[data-photo-scale=se]{cursor:nwse-resize}.photo-scale-handle[data-photo-scale=ne],.photo-scale-handle[data-photo-scale=sw]{cursor:nesw-resize}

.hero-layer>span{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-layer>small{flex-shrink:0}
.hero-rotate-line{position:absolute;left:50%;top:100%;width:1px;height:21px;background:#6889d5;pointer-events:none}.hero-rotate-handle{position:absolute;left:50%;top:calc(100% + 24px);transform:translate(-50%,-50%);width:22px;height:22px;border:1px solid #6889d5;border-radius:50%;background:#fff;color:#5176bd;display:grid;place-items:center;font:17px/1 sans-serif;cursor:grab;touch-action:none;user-select:none;z-index:26;box-shadow:0 2px 5px #0002}.hero-rotate-handle::before{content:"";position:absolute;inset:-7px}.hero-rotate-handle:active{cursor:grabbing}.photo-crop-mode .hero-rotate-line,.photo-crop-mode .hero-rotate-handle{display:none}.rotation-status{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#69785e}.rotation-status output{font-variant-numeric:tabular-nums;margin-left:8px}

.hero-rotate-handle svg{width:15px;height:15px;display:block;pointer-events:none}.rotation-readout{position:fixed;z-index:1000;background:#263b2eed;color:#fff;border-radius:5px;padding:6px 10px;font:12px/1.3 -apple-system,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity .15s,transform .15s;box-shadow:0 3px 12px #0002}.rotation-readout.visible{opacity:1;transform:translateY(0)}.font-size-slider-label input[type=range]{padding:0;border:0;min-height:32px;accent-color:#526c46}

.hero-designer .preview-stage{overflow:auto}.hero-designer #design-preview{height:auto;min-height:0;max-height:none;overflow:hidden;flex-shrink:0}.hero-designer #design-preview .invitation{height:100%;min-height:0;overflow:hidden;border-radius:0}.hero-designer .hero-compose{position:relative}.hero-designer .hero-layout{overflow:hidden}.hero-designer .hero-layout::after{content:"";position:absolute;inset:0;outline:1px dashed #7c8d7380;pointer-events:none;z-index:0}

.hero-designer #design-preview .hero-compose{height:100%}.hero-designer #design-preview .hero-layout{height:100%;aspect-ratio:auto!important;overflow:hidden}@media(max-width:800px){.hero-designer #design-preview{height:auto;min-height:0;max-height:none}}
.hero-workspace-overlay{position:fixed;pointer-events:none;overflow:hidden;z-index:60}.hero-outside-outline{fill:transparent;stroke:#91a0b9;stroke-width:1;stroke-dasharray:5 4;pointer-events:all;cursor:move;vector-effect:non-scaling-stroke}.hero-outside-outline.selected{stroke:#6286cf;stroke-width:1.5}.hero-multi-outline{fill:none;stroke:#6286cf;stroke-width:1;pointer-events:none;vector-effect:non-scaling-stroke}.hero-group-outline{fill:none;stroke:#6286cf;stroke-width:1;stroke-dasharray:4 3;pointer-events:none}.hero-marquee{fill:#6889d51a;stroke:#6889d5;stroke-width:1;pointer-events:none}.hero-designer .preview-stage{touch-action:pan-y pinch-zoom;user-select:none}.hero-designer #design-preview{touch-action:none}

.hero-designer .hero-element.hero-text-editing{cursor:text}.hero-inline-text{display:block;position:relative;z-index:30;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;letter-spacing:inherit;resize:none;outline:1px solid #6889d5;overflow:auto;white-space:pre-wrap;user-select:text;touch-action:auto;box-shadow:none}.hero-inline-text::selection{background:#86a8ed70}

.hero-history-toolbar{display:flex;gap:10px;padding:18px 30px;border-bottom:1px solid var(--line);background:#fbfcf8}.hero-history-toolbar button{min-height:38px;padding:8px 14px;font-size:12px}

/* The guest cover fills the device viewport; editor phones supply their own viewport. */
.hero-compose > .hero-layout{height:100vh;height:100dvh;aspect-ratio:auto}
.preview .hero-compose > .hero-layout,.admin-preview .hero-compose > .hero-layout{height:auto;aspect-ratio:360 / 720}
.hero-designer #design-preview .hero-compose > .hero-layout{height:100%;aspect-ratio:auto}

.hero-font-field{display:grid;gap:8px;font-size:13px}.hero-font-picker{border:1px solid #dce1d5;border-radius:4px;background:white;min-width:0}.hero-font-picker summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px;cursor:pointer;list-style:none}.hero-font-picker summary::-webkit-details-marker{display:none}.hero-font-current{display:grid;gap:9px;min-width:0}.hero-font-current>[data-current-font],.hero-font-name{font:12px/1.5 -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;color:#697360;overflow-wrap:anywhere}.hero-font-options{max-height:360px;overflow:auto;border-top:1px solid #e4e7df;padding:6px}.hero-font-options button{display:flex;flex-direction:column;align-items:stretch;gap:9px;width:100%;text-align:left;border:0;border-bottom:1px solid #edf0e8;background:white;padding:14px 10px;color:#30392e;min-width:0}.hero-font-options button:hover,.hero-font-options button[aria-pressed=true]{background:#f0f3e9}.hero-font-sample{display:grid;gap:4px;font-size:clamp(13px,1.25vw,17px);line-height:1.6;color:#30392e;font-weight:400;letter-spacing:0}.hero-font-sample>span{display:block;overflow-wrap:anywhere}.hero-font-options button:focus-visible,.hero-font-picker summary:focus-visible{outline:2px solid #6889d5;outline-offset:-2px}@media(max-width:800px){.hero-font-sample{font-size:15px}}

.hero-font-search{padding:12px;border-top:1px solid #e4e7df;display:grid;gap:6px}.hero-font-search input{width:100%;min-width:0}.hero-font-search [role=status]{font-size:11px;color:#78816e}.hero-font-search [role=status]:empty{display:none}.hero-font-options button[hidden],.hero-font-empty[hidden]{display:none}.hero-font-empty{padding:20px 8px;color:#78816e;text-align:center;font-size:13px}

.invitation.body-language-fonts > :not(.hero-compose),.invitation.body-language-fonts > :not(.hero-compose) *{font-family:var(--body-language-font),serif!important}
#preview [data-text-style-key]{cursor:pointer}#preview [data-text-style-key]:hover{outline:1px dashed #8a9cc3;outline-offset:3px}#preview .body-text-selected{outline:2px solid #6889d5;outline-offset:3px}#body-text-popup{position:fixed;z-index:250;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:16px;background:#fff;border:1px solid #dce1d5;border-radius:8px;box-shadow:0 8px 35px #16220d33;display:grid;gap:12px;color:#35432f;font:13px/1.5 -apple-system,BlinkMacSystemFont,sans-serif}#body-text-popup label{display:grid;gap:6px;font-size:12px}#body-text-popup input{min-width:0;width:100%;font-size:15px;padding:9px;border:1px solid #dce1d5;border-radius:4px}#body-text-popup input[type=range]{padding:0;accent-color:#53694a}#body-text-popup .hero-font-options{max-height:180px}#body-text-popup .hero-font-sample{font-size:13px}.body-text-popup-heading{display:flex;align-items:center;justify-content:space-between}.body-text-popup-heading button{border:0;background:none;font-size:24px;padding:0 5px}.body-text-popup-caption{margin:0;color:#858c7b;font-size:11px;overflow-wrap:anywhere}#body-text-popup .hint{margin:0;font-size:10px}#body-text-popup .secondary{font-size:12px;padding:10px}

.body-text-popup-heading{cursor:grab;touch-action:none;user-select:none}#body-text-popup.is-dragging .body-text-popup-heading{cursor:grabbing}#body-text-popup.is-dragging{user-select:none}.body-text-popup-heading button{cursor:pointer}

.body-text-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.body-text-control{display:grid;gap:8px;min-width:0}#body-text-popup .body-text-control label{font-size:11px}
#body-text-popup .body-text-control{gap:5px}#body-text-popup .body-text-control label{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;white-space:nowrap}#body-text-popup .body-text-control input[type=number]{flex:0 0 54px;width:54px;min-width:0;padding:5px 4px;font-size:12px;height:30px}#body-text-popup .body-text-controls-grid{gap:10px 12px}
#body-text-popup .body-text-control input[type=number]{flex-basis:42px;width:42px;height:24px;min-height:0;padding:2px 3px;font-size:11px;line-height:18px;appearance:textfield;-moz-appearance:textfield}#body-text-popup .body-text-control input[type=number]::-webkit-inner-spin-button,#body-text-popup .body-text-control input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.hero-typography-controls .body-text-control label{display:flex;align-items:center;justify-content:space-between;gap:5px;white-space:nowrap;font-size:11px}.hero-typography-controls input[type=number]{width:48px;min-width:0;min-height:0;height:26px;padding:3px;font-size:12px}.hero-typography-controls input[type=range]{padding:0;min-height:16px;accent-color:#53694a}

#body-text-popup .popup-text-color{display:flex;align-items:center;justify-content:space-between}#body-text-popup .popup-text-color>span{display:flex;align-items:center;gap:8px}#body-text-popup input[type=color]{width:44px;height:28px;min-height:0;padding:2px;cursor:pointer}#body-text-popup .popup-text-color output{font-size:11px;color:#78816e}

.parent-custom-relations[hidden]{display:none}
.gallery-title-presets{display:flex;flex-wrap:wrap;gap:7px;margin-top:-10px}.gallery-title-presets button{padding:7px 11px;border:1px solid #dde1d8;border-radius:20px;background:#fff;color:#78816e;font-size:11px}.gallery-title-presets button[aria-pressed=true]{background:#30382d;color:white;border-color:#30382d}.gallery-photo-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gallery-photo-editor .gallery-photo-card{position:relative;display:block;padding:0;margin:0;border:0;min-width:0;aspect-ratio:1;background:#eef0e9;overflow:hidden;cursor:grab}.gallery-photo-editor .gallery-photo-card img{display:block;width:100%;height:100%;object-fit:cover}.gallery-photo-number{position:absolute;top:4px;left:4px;background:#ffffffdf;color:#697163;border-radius:4px;min-width:17px;text-align:center;font-size:11px;padding:0 3px}.gallery-photo-actions{position:absolute;right:3px;bottom:3px;display:flex;gap:3px}.gallery-photo-actions button{padding:4px 5px;background:#ffffffde;border:0;border-radius:3px;color:#34452d;font-size:9px;min-width:22px;min-height:24px}.gallery-lightbox{width:min(900px,96vw);max-width:96vw;height:min(900px,94dvh);max-height:94dvh;padding:0;background:#181a17;color:#fff;border:0;border-radius:8px}.gallery-lightbox::backdrop{background:#000c}.gallery-lightbox-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;min-height:56px}.gallery-lightbox-heading strong{font:18px Georgia,serif}.gallery-lightbox-heading span{font-size:12px;color:#c6cbbf}.gallery-lightbox button{border:0;background:transparent;color:#fff;font-size:28px;padding:4px 12px}.gallery-lightbox-image{height:calc(100% - 56px);display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center}.gallery-lightbox-image img{width:100%;height:100%;min-height:0;object-fit:contain}.gallery-lightbox-image button{padding:8px;min-height:60px}.gallery-message{white-space:pre-line}

.gallery a.gallery-more{position:relative;display:block}.gallery-more>span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#0008;color:#fff;font:18px Georgia,serif;letter-spacing:1px}.gallery-page-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;font:12px -apple-system,sans-serif}.gallery-page-heading a{color:inherit;text-decoration:none}.gallery-page #invite-gallery{padding-top:30px}.gallery-page .gallery img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}

.invitation:not(.gallery-page) #invite-gallery .gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;width:100%;max-width:360px;margin-inline:auto}.invitation:not(.gallery-page) #invite-gallery .gallery>a{display:block;min-width:0;aspect-ratio:3 / 4;overflow:hidden}.invitation:not(.gallery-page) #invite-gallery .gallery img{width:100%;height:100%;object-fit:cover}.gallery-more>span{flex-direction:column;gap:5px;background:#0008}.gallery-more>span>b{font:400 22px/1.1 -apple-system,sans-serif;letter-spacing:0}.gallery-more>span>small{font:600 9px/1.3 -apple-system,sans-serif;letter-spacing:2px;color:#fff}

.gallery-preview-lightbox{position:fixed;z-index:220;max-width:none;max-height:none;margin:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:none}.gallery-lightbox-image{position:relative;display:block;overflow:hidden;touch-action:none;cursor:grab}.gallery-lightbox-image.is-dragging{cursor:grabbing}.gallery-lightbox-image img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;transition:transform .18s ease}.gallery-lightbox-image.is-dragging img{transition:none}.gallery-lightbox-image button{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;min-height:54px;padding:0;background:#0006;border-radius:4px}.gallery-lightbox-image [data-gallery-prev]{left:8px}.gallery-lightbox-image [data-gallery-next]{right:8px}.gallery-preview-lightbox .gallery-lightbox-heading{flex-shrink:0;padding:10px 12px;min-height:54px}.gallery-preview-lightbox .gallery-lightbox-image{flex:1;min-height:0;height:auto}

.gallery-slide-track{position:absolute;inset:0 auto 0 0;width:300%;height:100%;display:flex;will-change:transform}.gallery-slide{flex:0 0 33.3333333333%;min-width:0;height:100%;overflow:hidden}.gallery-lightbox-image .gallery-slide img{width:100%;height:100%;object-fit:contain;transition:none;pointer-events:none}
.save-progress-overlay{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(242,241,235,.68);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:progress}.save-progress-card{width:360px;max-width:100%;padding:30px 26px;text-align:center;display:grid;gap:18px;border:1px solid #ffffffc0;border-radius:14px;background:#ffffffd9;box-shadow:0 15px 55px #29352322;color:#35452f}.save-progress-card strong{font:500 20px/1.4 -apple-system,sans-serif}.save-progress-card p{font:12px/1.5 -apple-system,sans-serif;margin:0;color:#76816f;min-height:18px}.save-progress-card progress{width:100%;height:10px;border:0;border-radius:8px;overflow:hidden;accent-color:#536c48;background:#e4e9df}.save-progress-card progress::-webkit-progress-bar{background:#e4e9df;border-radius:8px}.save-progress-card progress::-webkit-progress-value{background:#536c48;border-radius:8px}.save-progress-card output{font:500 28px/1 -apple-system,sans-serif;font-variant-numeric:tabular-nums}
.photo-picker{border:1px solid #334b40;border-radius:15px;overflow:hidden;background:linear-gradient(125deg,#263e34,#182b24);box-shadow:0 8px 22px #243c3012;transition:border-color .18s,box-shadow .18s}.photo-picker .photo-picker-trigger{display:flex;align-items:center;gap:16px;width:100%;padding:23px 20px;text-align:left;border:0;border-radius:0;background:transparent;color:#f4f5e9;cursor:pointer;min-width:0}.photo-picker-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:56px;border:1px solid #d1e3bc33;border-radius:13px;background:#d8eec610;color:#d4e3b9;transform:rotate(-6deg);transition:transform .18s}.photo-picker-icon svg{width:34px;height:34px}.photo-picker-copy{display:grid;gap:7px;min-width:0;flex:1}.photo-picker-eyebrow{font:9px/1.3 -apple-system,sans-serif;letter-spacing:1.6px;color:#adbea9}.photo-picker-copy strong{font:500 17px/1.45 -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;letter-spacing:-.5px;color:#f4f5e9}.photo-picker-description{font:11px/1.5 -apple-system,sans-serif;color:#bdc9b9;word-break:keep-all}.photo-picker-cta{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:10px 13px;border-radius:24px;background:#dce8b9;color:#26382c;font:500 11px/1.4 -apple-system,sans-serif;white-space:nowrap}.photo-picker-cta>span{font-size:17px;line-height:1}.photo-picker-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:0 20px;padding:12px 0;border-top:1px solid #d7e4d41c;color:#9bb09d;font:10px/1.4 -apple-system,sans-serif}.photo-picker-footer i{font-style:normal;margin-left:8px;color:#829985}.photo-picker-footer>[data-photo-picker-count]{color:#dce8b9;letter-spacing:1px;font-variant-numeric:tabular-nums}.photo-picker:hover .photo-picker-icon{transform:rotate(0)}.photo-picker:hover{border-color:#a9be8c;box-shadow:0 8px 24px #243c3024}.photo-picker:focus-within{outline:2px solid #9ab768;outline-offset:3px}.photo-picker.is-dragover{border-color:#c5e09b;box-shadow:0 0 0 3px #b1cd7c55}.photo-picker.is-dragover .photo-picker-icon{transform:translateY(-4px) rotate(0)}.photo-picker.is-dragover .photo-picker-cta{background:#f1ffd6}.photo-picker-note{margin:0!important;color:#89917d;font:10px/1.7 -apple-system,sans-serif;word-break:keep-all}@media(min-width:801px) and (max-width:1200px){.photo-picker .photo-picker-trigger{flex-wrap:wrap;gap:13px;padding:20px 16px}.photo-picker-cta{margin-left:auto}.photo-picker-copy strong{font-size:15px}}@media(max-width:480px){.photo-picker .photo-picker-trigger{flex-wrap:wrap;gap:12px;padding:20px 16px}.photo-picker-icon{flex-basis:44px;width:44px;height:48px}.photo-picker-copy strong{font-size:15px}.photo-picker-cta{margin-left:auto;padding:8px 12px}.photo-picker-eyebrow{font-size:8px;letter-spacing:1.2px}.photo-picker-footer{margin:0 16px}.photo-picker-footer i{margin-left:5px}}@media(prefers-reduced-motion:reduce){.photo-picker,.photo-picker-icon{transition:none}}
@media(max-width:480px),(min-width:801px) and (max-width:1200px){.photo-picker .photo-picker-trigger{display:grid;grid-template-columns:44px minmax(0,1fr);gap:13px 12px}.photo-picker-icon{align-self:start}.photo-picker-cta{grid-column:2;justify-self:start;margin-left:0}.photo-picker-copy strong{word-break:keep-all}.photo-picker-eyebrow{font-size:8px;letter-spacing:1px;white-space:nowrap}}
.photo-picker .photo-picker-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:250px;padding:30px 22px 25px;text-align:center}.photo-picker .photo-picker-icon{flex:0 0 auto;align-self:center;width:58px;height:62px}.photo-picker .photo-picker-copy{flex:0 0 auto;justify-items:center;gap:9px;width:100%}.photo-picker .photo-picker-copy strong{font-size:18px;word-break:keep-all}.photo-picker .photo-picker-eyebrow{font-size:9px;letter-spacing:1.5px;white-space:normal}.photo-picker .photo-picker-description{font-size:11px;line-height:1.7}.photo-picker .photo-picker-cta{grid-column:auto;justify-self:auto;align-self:center;margin:0;justify-content:center;gap:14px;padding:12px 26px;font-size:13px;min-width:155px}.photo-picker .photo-picker-footer{padding:13px 0}.photo-picker .photo-picker-footer i{white-space:nowrap}@media(max-width:480px){.photo-picker .photo-picker-trigger{min-height:255px;padding:28px 18px 24px;gap:17px}.photo-picker .photo-picker-copy strong{font-size:17px}.photo-picker .photo-picker-eyebrow{font-size:8px;letter-spacing:1.3px}}
.photo-picker.photo-picker-compact{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.photo-picker.photo-picker-compact .photo-picker-trigger{display:inline-flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:center;gap:0;min-height:0;width:auto;padding:12px 23px;border:1px solid #263e34;border-radius:7px;background:#263e34;color:#fff;font:500 13px/1.5 -apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;text-align:center;transition:background .15s}.photo-picker.photo-picker-compact .photo-picker-trigger:hover{background:#365244}.photo-picker-compact .photo-picker-limit{font:10px/1.5 -apple-system,sans-serif;color:#929888}.photo-picker-compact>[data-photo-picker-count]{margin-left:auto;font:11px/1.5 -apple-system,sans-serif;color:#69775f;font-variant-numeric:tabular-nums}.photo-picker.photo-picker-compact.is-dragover{outline:2px dashed #7f9a60;outline-offset:7px;border-radius:4px;box-shadow:none}.photo-picker.photo-picker-compact:focus-within{outline:none}.photo-picker.photo-picker-compact .photo-picker-trigger:focus-visible{outline:2px solid #9ab768;outline-offset:3px}@media(max-width:480px){.photo-picker.photo-picker-compact{gap:9px}.photo-picker.photo-picker-compact .photo-picker-trigger{padding:10px 18px;font-size:12px}.photo-picker-compact .photo-picker-limit{font-size:9px}}
.photo-picker.photo-picker-inline{flex-wrap:nowrap;gap:12px;min-height:42px}.photo-picker-inline-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#eff3ed;border:1px solid #e1e8dc;border-radius:9px;color:#51644b}.photo-picker-inline-icon svg{width:23px;height:23px}.photo-picker-inline-info{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;flex:1;min-width:0}.photo-picker-inline-info>[data-photo-picker-count]{font:10px/1.5 -apple-system,sans-serif;color:#77846e;font-variant-numeric:tabular-nums}.photo-picker.photo-picker-inline .photo-picker-trigger{margin-left:auto;padding:10px 20px;min-height:40px}.photo-picker-inline-info .photo-picker-limit{font-size:10px}@media(max-width:480px){.photo-picker.photo-picker-inline{gap:9px}.photo-picker-inline-info{display:grid;gap:1px}.photo-picker-inline-info .photo-picker-limit{font-size:9px}.photo-picker.photo-picker-inline .photo-picker-trigger{padding:10px 15px;font-size:12px}.photo-picker-inline-icon{flex-basis:34px;width:34px;height:34px}}
#gallery-message + .photo-picker-inline{margin-top:12px}
.gallery-message-field{display:grid;gap:8px;min-width:0}.gallery-message-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.gallery-message-heading label{margin:0}.gallery-message-heading .text{padding:0;min-height:0;font-size:11px;line-height:1.5}.gallery-message-field textarea{margin:0;width:100%}.gallery-message-field + .photo-picker-inline{margin-top:12px}.gallery-photo-editor:empty{display:none}
/* Both editor previews use the phone's actual inner viewport, not a fixed 1:2 cover. */
.editor .preview-stage .preview{container-type:size}
.editor .preview-stage .preview .hero-compose > .hero-layout{height:100cqh!important;aspect-ratio:auto!important;flex-shrink:0}
.hero-photo-upload-row{display:flex;align-items:center;gap:12px;min-width:0;min-height:40px}.hero-photo-upload-info{flex:1;min-width:0;color:#929888;font:10px/1.6 -apple-system,sans-serif;word-break:keep-all}.hero-photo-upload-row .hero-photo-upload-button{flex:0 0 auto;border:1px solid #263e34;border-radius:7px;background:#263e34;color:#fff;padding:10px 20px;font:500 13px/1.5 -apple-system,sans-serif;cursor:pointer}.hero-photo-upload-row .hero-photo-upload-button:hover{background:#365244}.hero-photo-upload-row .hero-photo-upload-button:focus-visible{outline:2px solid #9ab768;outline-offset:3px}@media(max-width:480px){.hero-photo-upload-row{gap:9px}.hero-photo-upload-row .hero-photo-upload-button{font-size:12px;padding:10px 15px}}

.hero-photo[data-frame-shape=circle]>.hero-photo-viewport,.hero-photo[data-frame-shape=circle]>.hero-photo-empty{clip-path:ellipse(50% 50% at 50% 50%)}.hero-photo[data-frame-shape=heart]>.hero-photo-viewport,.hero-photo[data-frame-shape=heart]>.hero-photo-empty{clip-path:var(--hero-frame-clip)}

.hero-frame-menu{border:1px solid #dce2d5;border-radius:7px;background:#fff;overflow:hidden}.hero-frame-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;padding:12px 14px;list-style:none;font-size:12px;color:#354a31}.hero-frame-menu>summary::-webkit-details-marker{display:none}.hero-frame-menu>summary small{font-size:11px;color:#89947e}.hero-frame-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px;border-top:1px solid #e8ece2}.hero-frame-options button{display:grid;justify-items:center;gap:9px;min-width:0;padding:12px 8px;background:#fafbf8;border:1px solid #e4e9dc;border-radius:7px;color:#69795b;font-size:12px;cursor:pointer}.hero-frame-options svg{display:block;width:100%;max-width:90px;aspect-ratio:1}.hero-frame-options button:hover{border-color:#a1b78a;background:#f2f6ea}.hero-frame-options button[aria-pressed=true]{border-color:#5c7549;background:#eef4e5;box-shadow:inset 0 0 0 1px #5c7549;color:#354b2b}.hero-frame-menu>summary:focus-visible,.hero-frame-options button:focus-visible{outline:2px solid #6889d5;outline-offset:-2px}
.hero-frame-menu{scroll-margin-top:16px;scroll-margin-bottom:100px}

/* Lace artwork is independent of the inset photo and its crop controls. */
.hero-photo[data-frame-shape^="lace-"]>.hero-photo-viewport,.hero-photo[data-frame-shape^="lace-"]>.hero-photo-empty{position:absolute;left:var(--frame-inset-x);top:var(--frame-inset-y);width:calc(100% - 2 * var(--frame-inset-x));height:calc(100% - 2 * var(--frame-inset-y));border-radius:0}
.hero-element.hero-photo>.hero-frame-decoration{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;pointer-events:none;user-select:none;z-index:2;border-radius:0}
.hero-frame-options button:has([href^="/assets/frames/"]){background:#d9ded3}

.hero-photo[data-frame-shape^="lace-"]{height:auto!important;aspect-ratio:var(--frame-aspect)}
.hero-photo[data-frame-shape=arch]>.hero-photo-viewport,.hero-photo[data-frame-shape=arch]>.hero-photo-empty{border-radius:50% 50% 0 0 / 50% 50% 0 0}

.hero-photo[data-grayscale=true]>.hero-photo-viewport>img,.hero-photo[data-grayscale=true]>.photo-crop-ghost{filter:grayscale(1)}
#hero-properties .hero-grayscale-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px}
#hero-properties .hero-grayscale-toggle input{width:16px;height:16px;margin:0;accent-color:#263e34}

.thumbnail-gallery{width:100%;min-width:0}.thumbnail-gallery-stage{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:3/4;touch-action:pan-x pan-y;overscroll-behavior-x:contain;cursor:grab}.thumbnail-gallery-stage::-webkit-scrollbar,.thumbnail-gallery-strip::-webkit-scrollbar{display:none}.thumbnail-gallery-stage>a{display:block;flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always}.thumbnail-gallery-stage>a>img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}.thumbnail-gallery-stage.is-dragging{scroll-snap-type:none;cursor:grabbing}.thumbnail-gallery-navigation{display:flex;align-items:center;justify-content:center;gap:25px;padding:12px 0}.thumbnail-gallery-navigation button{border:0;background:transparent;color:inherit;padding:4px 14px;cursor:pointer;font-size:25px;line-height:1}.thumbnail-gallery-navigation span{font-size:12px;font-variant-numeric:tabular-nums}.thumbnail-gallery-navigation button:disabled{opacity:.3;cursor:default}.thumbnail-gallery-strip{position:relative;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:3px 2px;overscroll-behavior-x:contain}.thumbnail-gallery-strip>button{flex:0 0 52px;width:52px;height:60px;border:1px solid transparent;padding:2px;background:transparent;cursor:pointer;opacity:.55}.thumbnail-gallery-strip>button[aria-pressed=true]{border-color:currentColor;opacity:1}.thumbnail-gallery-strip>button>img{display:block;width:100%;height:100%;object-fit:cover}.thumbnail-gallery button:focus-visible,.thumbnail-gallery-stage:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.thumbnail-gallery-strip,.thumbnail-gallery-strip>button{cursor:grab;user-select:none}.thumbnail-gallery-strip.is-dragging,.thumbnail-gallery-strip.is-dragging>button{cursor:grabbing}.thumbnail-gallery-strip img{-webkit-user-drag:none;user-select:none}

.thumbnail-gallery-stage[data-photo-fit=original]{aspect-ratio:3/4;background:transparent}.thumbnail-gallery-stage[data-photo-fit=original]>a>img{object-fit:contain}
/* A framed rolling paper with a couple photo and freely arranged messages. */
.guestbook-widget{max-width:460px;margin:0 auto}.guestbook-board-wrap{width:100%}.guestbook-board{position:relative;width:100%;aspect-ratio:3/4;background:#faf8ef;border:6px solid #33322d;box-shadow:inset 0 0 0 2px #ece8db,0 8px 20px #34291c16;container-type:inline-size;overflow:hidden;color:#403d34}.guestbook-board-photo{position:absolute;left:35%;top:35%;width:30%;height:30%;padding:4px;background:#fff;box-shadow:0 2px 7px #0002;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transform:rotate(-2deg)}.guestbook-board-photo>img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.guestbook-board-photo>span{font-size:9cqw;opacity:.4}.guestbook-board-photo>small{font-size:2.5cqw;letter-spacing:0;opacity:.55;white-space:nowrap}.board-handwritten-heart{position:absolute;left:48%;top:25%;font-size:7cqw;transform:rotate(12deg);opacity:.6;pointer-events:none}.invitation .guestbook-board-note{position:absolute;display:block;width:30%;height:auto;min-height:0;padding:2px;background:transparent;color:inherit;border:0;border-radius:0;box-shadow:none;font-family:inherit;font-size:var(--note-size,3.05cqw);line-height:1.45;text-align:center;cursor:pointer;white-space:pre-line;overflow-wrap:anywhere;transform-origin:center;letter-spacing:0}.guestbook-board-note>.board-note-message{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.guestbook-board-note>.board-note-author{display:block;margin-top:.55em;font-size:.9em}.guestbook-board-note[data-board-editable]{cursor:grab;touch-action:none;user-select:none}.guestbook-board-note[data-board-editable]:active{cursor:grabbing}.invitation .guestbook-board-note.is-selected{outline:1px dashed #7894c8;outline-offset:3px;background:#7894c80d;z-index:5}.guestbook-board-note:focus-visible{outline:2px solid #7894c8;outline-offset:3px}.board-caption{text-align:center;font:italic 12px/1.8 Georgia,serif;letter-spacing:.5px;margin-top:13px;opacity:.55}.board-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:12px 0}.invitation .board-pagination button{color:inherit;background:transparent;border:0;padding:5px 12px;font-size:24px;line-height:1;min-height:0}.board-pagination button:disabled{opacity:.3}.board-pagination span{font-size:11px}.invitation .board-example-hint{font-size:10px!important;line-height:1.7!important;opacity:.55;text-align:center!important;margin:12px 0!important}.board-compose{margin-top:25px;border:1px solid #0002;border-radius:3px}.board-compose>summary{list-style:none;text-align:center;font-size:12px;padding:14px;cursor:pointer}.board-compose>summary::-webkit-details-marker{display:none}.invitation #guestbook-form{display:grid;gap:14px;margin:0;padding:16px;border-top:1px solid #0001}.invitation #guestbook-form label{display:grid;gap:7px;font-size:11px;color:inherit}.invitation #guestbook-form input,.invitation #guestbook-form textarea{font-family:inherit;font-size:14px;line-height:1.7;padding:10px;width:100%;min-width:0;color:inherit;background:#ffffff55;border:1px solid #0002;border-radius:3px}.board-draft{text-align:center;white-space:pre-line;overflow-wrap:anywhere;background:#faf8ef;color:#403d34;padding:17px;transform:rotate(-2deg);margin:5px 0}.invitation .board-draft p{font-size:15px!important;line-height:1.7!important;text-align:center!important;margin:0 0 8px!important;background:none!important;padding:0!important}.board-draft>span{font-size:12px}.invitation #guestbook-form .hint{font-size:10px!important;line-height:1.8!important;padding:0!important;margin:0!important;text-align:left!important;opacity:.6}.invitation #guestbook-form [type=submit]{width:100%;font-size:12px;padding:13px}.invitation .board-status{font-size:11px!important;line-height:1.8!important;text-align:center!important;white-space:pre-line}.board-photo-upload{display:flex;align-items:center;justify-content:space-between;gap:12px}.board-photo-upload>span{font-size:24px;color:#5d7056}.board-photo-upload>label{cursor:pointer;font-size:12px;margin:0}.board-note-list{display:grid;gap:7px}.board-note-list>button{text-align:left;padding:9px 12px;border:1px solid #0001;background:#fafaf6;border-radius:3px;font-size:12px;overflow-wrap:anywhere;color:inherit;cursor:pointer}.board-selected-controls{display:grid;gap:12px;padding:16px;background:#f8f8f3;border:1px solid #0001}.board-selected-controls>strong{font-size:13px}.board-selected-controls label{font-size:11px;display:grid;gap:8px}.board-selected-controls input[type=range]{padding:0;width:100%;accent-color:#435a3a}.board-selected-controls output{font-size:11px}.board-selected-message{white-space:pre-line;overflow-wrap:anywhere;font-size:13px;line-height:1.7;margin:0}.board-message-dialog{width:min(340px,90vw);border:6px solid #33322d;background:#faf8ef;color:#403d34;padding:25px;max-height:80dvh;overflow:auto;text-align:center}.board-message-dialog::backdrop{background:#0006}.board-message-dialog>button{position:absolute;right:8px;top:5px;border:0;background:transparent;color:inherit;font-size:24px;cursor:pointer}.board-message-dialog p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9;font-size:15px;margin-top:20px}.board-message-dialog strong{display:block;font-size:13px;font-weight:400}.board-message-dialog small{display:block;margin-top:20px;opacity:.6}
/* Enlarged board and a second, focused input dialog above it. */
#invite-guestbook .guestbook-board{cursor:zoom-in}.board-open-hint{text-align:center!important;font-size:11px!important;line-height:1.7!important;opacity:.55;margin-top:18px!important}.board-photo-upload .photo-picker-inline-icon{font-size:initial}.board-photo-upload .photo-picker-inline-icon svg{width:23px;height:23px}.board-popup{width:min(620px,96vw);padding:0;border:1px solid #d9d5ca;border-radius:8px;max-height:94dvh;background:#f7f4ec;color:#504b40;overflow:auto;box-shadow:0 15px 70px #0004}.board-popup::backdrop{background:#1d211b99}.board-popup-heading{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#f7f4ec;border-bottom:1px solid #0001}.board-popup-heading>span{font-size:13px}.board-popup-heading>button{border:0;background:transparent;color:inherit;font-size:25px;line-height:1;cursor:pointer;padding:2px 5px}.board-popup-hint{font-size:11px;line-height:1.7;text-align:center;margin:13px 16px;color:#8d887a}.board-popup-stage{max-width:540px;margin:0 auto;padding:0 18px 10px}.board-popup .guestbook-board-note{position:absolute;display:block;width:30%;height:auto;min-height:0;padding:2px;background:transparent;color:inherit;border:0;border-radius:0;box-shadow:none;font-family:inherit;font-size:var(--note-size,3.05cqw);line-height:1.45;text-align:center;cursor:pointer;white-space:pre-line;overflow-wrap:anywhere;transform-origin:center;letter-spacing:0}.board-popup .guestbook-board-note.is-selected{outline:1px dashed #7894c8;outline-offset:3px;background:#7894c80d;z-index:5}.board-popup [data-board-draft-editable]{cursor:grab;touch-action:none;user-select:none}.board-popup [data-board-draft-editable]:active{cursor:grabbing}.board-popup-footer{position:sticky;bottom:0;z-index:10;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;background:#f7f4ec;padding:14px 18px;border-top:1px solid #0001}.board-popup-footer>.primary{min-width:180px}.board-popup-status{flex:0 0 100%;text-align:center;font-size:11px;line-height:1.7;margin:0;overflow-wrap:anywhere}.board-popup-status:empty{display:none}.board-draft-actions{display:flex;align-items:center;gap:20px}.board-popup-footer [hidden]{display:none!important}.board-popup-owner{padding:0 20px 20px}.board-popup-owner>summary{font-size:12px;padding:8px 0;cursor:pointer}.board-popup-owner .board-selected-controls{margin-top:10px}.board-input-dialog,.board-note-dialog{width:min(380px,92vw);padding:22px;border:1px solid #d9d5ca;border-radius:8px;max-height:90dvh;background:#fffdf8;color:#504b40;box-shadow:0 15px 60px #0004;overflow:auto}.board-input-dialog::backdrop,.board-note-dialog::backdrop{background:#201e1b77}.board-input-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.board-input-dialog>header>strong{font-size:15px;font-weight:500}.board-input-dialog>header>button,.board-note-dialog>[data-board-note-close]{border:0;background:transparent;color:inherit;font-size:25px;line-height:1;padding:0 3px}.board-input-dialog #guestbook-form,.board-note-dialog form{display:grid;gap:16px}.board-input-dialog label,.board-note-dialog label{display:grid;gap:7px;color:inherit;font-size:12px}.board-input-dialog input,.board-input-dialog textarea,.board-note-dialog input{width:100%;font-size:16px;color:inherit;border:1px solid #dedbd2;border-radius:4px;background:white;padding:10px;min-width:0}.board-input-dialog textarea{resize:vertical}.board-input-dialog .hint{font-size:10px;line-height:1.8;margin:0;color:#969080}.board-input-dialog [type=submit]{width:100%}.board-note-dialog{text-align:center;padding:30px 25px}.board-note-dialog>[data-board-note-close]{position:absolute;right:13px;top:10px}.board-full-message{white-space:pre-line;overflow-wrap:anywhere;line-height:1.9;font-size:15px;margin:12px 0}.board-note-dialog>strong{display:block;font-size:13px;font-weight:400;margin:15px 0 20px}.board-note-dialog small{opacity:.65}.board-note-delete{border-top:1px solid #0001;padding-top:14px}.board-note-delete>summary{font-size:11px;cursor:pointer;color:#a1877d;list-style:none}.board-note-delete form{padding-top:18px;text-align:left}.board-note-delete [role=status]{font-size:11px;color:#a15f51;margin:0}.board-popup input[type=range]{min-height:28px}.board-popup .pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:480px){.board-popup{width:96vw;max-height:96dvh}.board-popup-stage{padding:0 12px 8px}.board-popup-heading{padding:12px 15px}.board-popup-hint{font-size:10px}.board-popup-footer{padding:12px}.board-popup-footer>.primary{min-width:160px}}
/* Transparent guestbook layers stay inside the phone/invitation viewport. */
dialog.board-phone-overlay{position:fixed;inset:auto;margin:0;max-width:none;max-height:none;box-sizing:border-box;padding:0;border:0;outline:0;box-shadow:none;background:rgba(30,32,28,.48);color:#fdfbf4;overflow:hidden}
dialog.board-phone-overlay::backdrop{background:transparent}
dialog.board-phone-overlay[open]{display:flex;align-items:center;justify-content:center}
.board-popup-sheet{width:100%;min-height:0;max-height:100%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;padding:12px 0;scrollbar-width:none}
.board-popup-sheet::-webkit-scrollbar{display:none}
.board-phone-overlay .board-popup-heading{background:transparent;border:0;position:relative;padding:10px 18px;color:#fffdf5}
.board-phone-overlay .board-popup-heading>span{font-size:11px;opacity:.8}
.board-phone-overlay .board-popup-hint{color:#fffdf5;opacity:.85;font-size:10px;margin:5px 18px 16px}
.board-phone-overlay .board-popup-stage{max-width:none;width:100%;padding:0 26px 8px}
.board-phone-overlay .guestbook-board{color:#403d34}
.board-phone-overlay .board-caption{color:#fffdf5;opacity:.8}
.board-phone-overlay .board-popup-footer{background:transparent;border:0;position:relative;padding:10px 20px 16px;color:#fffdf5}
.board-phone-overlay .board-popup-footer>.primary,.board-phone-overlay [data-board-attach]{background:#fffdf8;border:1px solid #fffdf8;color:#514f45;border-radius:24px;min-height:42px;font-size:12px;padding:11px 24px}
.board-phone-overlay [data-board-draft-back]{color:#fffdf5;border:1px solid #fff8;background:transparent;padding:10px 16px;border-radius:3px;font-size:11px}
.board-phone-overlay .board-popup-status{color:#fffdf5}
.board-phone-overlay .board-pagination{color:#fffdf5}
.board-phone-overlay .board-popup-owner{color:#fffdf5}
.board-phone-overlay .board-popup-controls{color:#504b40}
.board-phone-overlay .board-popup-controls .board-note-list>button{background:#faf8ef}
.board-phone-overlay.board-input-dialog,.board-phone-overlay.board-note-dialog{padding:18px;background:rgba(25,28,24,.3)}
.board-input-card{position:relative;width:100%;max-width:360px;max-height:100%;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;padding:24px 22px;border:1px solid #e7e3d8;border-radius:16px;background:#faf8ef;color:#504b40;box-shadow:0 8px 28px #0002}
.board-input-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}
.board-input-card>header>strong{font-size:14px;font-weight:400}
.board-input-card>header>button,.board-input-card>[data-board-note-close]{background:transparent;color:inherit;border:0;font-size:24px;line-height:1;padding:2px;cursor:pointer}
.board-input-card>[data-board-note-close]{position:absolute;right:15px;top:12px}
.board-phone-overlay .board-input-card input{border:0;border-bottom:1px solid #c8c3b7;border-radius:0;background:transparent}
.board-phone-overlay .board-input-card textarea{background:transparent;border-radius:0}
.board-phone-overlay .board-input-card [type=submit]{background:#ebe8df;color:#504b40;border:1px solid #c8c3b7;border-radius:0;font-size:12px;padding:13px}
.board-note-dialog .board-input-card>strong{display:block;font-size:13px;font-weight:400;margin:15px 0 20px}
.board-note-dialog .board-input-card small{opacity:.65}

/* Leave the phone gutters available for page scrolling on touch screens. */
@media(max-width:800px){.editor .preview-stage{overflow:visible;touch-action:pan-y pinch-zoom;padding-bottom:100px}.hero-workspace-overlay .hero-outside-outline{pointer-events:none}}

.body-text-popup-heading [data-toggle-text-popup]{display:none}
@media(max-width:800px){
 #body-text-popup{width:calc(100vw - 24px);max-width:none;max-height:42dvh;padding:0 16px 16px;border-radius:16px;overscroll-behavior:contain;scroll-padding-top:56px}
 #body-text-popup .body-text-popup-heading{position:sticky;top:0;z-index:2;background:inherit;padding:14px 0;cursor:default;touch-action:pan-y;gap:12px}
 #body-text-popup .body-text-popup-heading strong{flex:1}
 #body-text-popup [data-toggle-text-popup]{display:block;font-size:13px;min-height:32px}
 #body-text-popup.is-collapsed{padding-bottom:0;gap:0}
 #body-text-popup.is-collapsed>:not(.body-text-popup-heading){display:none}
 #body-text-popup .body-text-control input[type=number]{font-size:16px;width:56px;flex-basis:56px;height:32px}
}

#body-text-popup .popup-text-preview{display:grid;gap:12px;padding:14px;background:#f4f6f0;border:1px solid #e0e5d8;border-radius:8px}
#body-text-popup .body-text-popup-caption{font-size:18px;line-height:1.6;color:inherit;white-space:pre-wrap;max-height:160px;overflow:auto;margin:0}
#body-text-popup .popup-text-editor{display:grid;gap:12px}
#body-text-popup .popup-text-preview [hidden]{display:none}
#body-text-popup .popup-text-editor textarea{font-size:16px;min-height:130px;background:white;border-radius:4px}
#body-text-popup .popup-text-edit-actions{display:flex;gap:8px}
#body-text-popup .popup-text-edit-actions button{flex:1;padding:10px;min-height:44px}

.preview-label .hero-mobile-selection-hint{display:none}@media(max-width:800px){.preview-label .hero-desktop-selection-hint{display:none}.preview-label .hero-mobile-selection-hint{display:block}}

.hero-center-guide{stroke:#e15a88;stroke-width:1;stroke-dasharray:5 4;pointer-events:none;vector-effect:non-scaling-stroke}
@media(max-width:800px){.hero-rotate-handle::after{content:attr(data-angle);position:absolute;left:calc(100% + 16px);top:50%;transform:translateY(-50%) rotate(calc(-1 * var(--rotation,0deg)));transform-origin:left center;pointer-events:none;white-space:nowrap;background:#263b2e;color:white;border-radius:5px;padding:5px 8px;font:13px/1.3 -apple-system,sans-serif;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px #0003}}

/* In the two-column editor, each side owns its vertical scroll. */
@media(min-width:801px){
 body:has(.editor){height:100dvh;overflow:hidden}
 body:has(.editor)>#app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 body:has(.editor)>#app>header{flex-shrink:0;width:100%;margin:0}
 body:has(.editor)>#app>.editor{flex:1;min-height:0;overflow:hidden;align-items:stretch}
 .editor>.edit-panel{height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
 .editor>.preview-stage{position:relative;top:auto;height:100%;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
 .editor>.preview-stage>.preview-label,.editor>.preview-stage>.hint{flex-shrink:0}
}

/* A transparent calendar, typeset directly on the invitation paper. */
.invitation .wedding-calendar{text-align:center;color:inherit}
.invitation .wedding-calendar>small{letter-spacing:.24em;font-size:9px;opacity:.55}
.invitation .wedding-calendar h2{font-size:23px;font-weight:400;margin:14px 0 12px;letter-spacing:.12em}
.invitation .wedding-calendar .wedding-calendar-date{font-size:12px;line-height:1.9;opacity:.75;margin:0 0 30px;white-space:normal}
.wedding-calendar-month{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:0 auto 14px}
.wedding-calendar-month>span{font:12px Georgia,serif;letter-spacing:.18em;opacity:.65;margin-right:6px}
.wedding-calendar-month>strong{font:normal 32px/1 Georgia,serif;letter-spacing:-.04em}
.wedding-calendar-month>i{font-size:12px;font-style:normal;line-height:1.5;opacity:.7}
.wedding-calendar-grid{width:100%;max-width:320px;margin:0 auto;border-collapse:collapse;table-layout:fixed;border:0;background:transparent;color:inherit}
.wedding-calendar-grid th{font-size:10px;font-weight:400;line-height:1.5;opacity:.55;padding:18px 0 10px}
.wedding-calendar-grid td{height:43px;padding:3px 0;font:14px/1.5 Georgia,serif;vertical-align:middle;background:transparent}
.wedding-calendar-grid tbody tr:last-child td{padding-bottom:16px;height:56px}
.wedding-calendar-grid td>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid transparent;border-radius:50%}
.wedding-calendar-grid .wedding-day>span{font-weight:bold}
.wedding-day-count{display:grid;gap:12px;justify-items:center;margin:30px auto 0;color:inherit;border-top:1px solid currentColor;padding-top:22px;max-width:240px}
.wedding-day-label{font:normal 30px/1.4 Georgia,serif;letter-spacing:.1em}
.wedding-day-caption{font-size:11px;line-height:1.9;opacity:.7;word-break:keep-all}


/* Independent calendar marks, ink and optional frame. The paper stays transparent. */
.calendar-color-field{display:flex;align-items:center;justify-content:space-between;gap:12px}
.calendar-color-field>span:last-child{display:flex;align-items:center;gap:10px}
.calendar-color-field input[type=color]{width:48px;height:36px;min-height:0;padding:3px;cursor:pointer}
.calendar-color-field .text{font-size:11px;padding:7px 0;white-space:nowrap}
.calendar-color-group{display:grid;gap:14px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.wedding-calendar-paper{background:transparent}
.wedding-calendar-paper[data-calendar-border=true]{border:0;background-color:var(--calendar-border-color,#eeeae2);border-radius:24px;padding:26px 14px}
.wedding-calendar .wedding-calendar-grid{color:var(--calendar-date-color,inherit)}
.wedding-calendar-grid th:first-child,.wedding-calendar-grid td:first-child{color:var(--calendar-sunday-color,var(--calendar-date-color,inherit))}
.wedding-calendar-grid th:last-child,.wedding-calendar-grid td:last-child{color:var(--calendar-date-color,inherit)}
.wedding-calendar[data-calendar-marker] .wedding-calendar-grid .wedding-day>span{position:relative;border:0;border-radius:0;outline:0}
.wedding-calendar[data-calendar-marker] .wedding-calendar-grid .wedding-day>span::after{content:none}
.wedding-calendar[data-calendar-marker] .wedding-calendar-grid .wedding-day>span::before{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;box-sizing:border-box}
.wedding-calendar[data-calendar-marker=circle] .wedding-calendar-grid .wedding-day>span::before{width:32px;height:32px;border:1px solid var(--calendar-marker-color,currentColor);border-radius:50%}
.wedding-calendar[data-calendar-marker=heart] .wedding-calendar-grid .wedding-day>span::before{width:37px;height:37px;background:var(--calendar-marker-color,currentColor);--heart-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21S2 15 2 8.5C2 2.5 9 1 12 6C15 1 22 2.5 22 8.5C22 15 12 21 12 21Z' fill='none' stroke='black' stroke-width='0.8'/%3E%3C/svg%3E");mask:var(--heart-mask) center/contain no-repeat;-webkit-mask:var(--heart-mask) center/contain no-repeat}
.wedding-countdown-grid{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,auto minmax(0,1fr));gap:4px;width:100%;max-width:280px}
.wedding-countdown-grid>div{display:grid;gap:7px;justify-items:center;min-width:0}
.wedding-countdown-value{font:24px/1.4 Georgia,serif;font-variant-numeric:tabular-nums}
.wedding-countdown-unit{font:9px/1.4 Georgia,serif;letter-spacing:.12em;opacity:.55}
.wedding-day-count[data-counter-mode=countdown]{width:100%}

.wedding-calendar-month>span{color:var(--calendar-month-color,inherit)}
.wedding-calendar-month>strong,.wedding-calendar-month>i{color:var(--calendar-month-color,inherit)}
.wedding-countdown-separator{align-self:start;font:24px/1.4 Georgia,serif;opacity:.65}

/* Preview dialogs stay local to the phone and leave its outside scrollable. */
dialog.board-preview-overlay{z-index:200}
dialog.board-preview-overlay.board-input-dialog,dialog.board-preview-overlay.board-note-dialog{z-index:210}

/* The phone and its guestbook layers share one native scroll coordinate space. */
.preview-stage.board-overlay-active{position:relative}
.board-preview-layer{position:absolute;z-index:6;overflow:hidden;pointer-events:none}
.board-preview-layer>dialog.board-preview-overlay{position:absolute;inset:0;margin:0;width:100%;height:100%;border-radius:inherit;clip-path:none;pointer-events:auto}

/* Keep the original save button size and add only a white background. */
.board-phone-overlay .board-popup-footer>[data-board-popup-save]{background:#fff;color:#514f45}
.board-note-message.board-note-full{display:block;-webkit-line-clamp:unset;overflow:visible}
.board-rotate-handle{position:absolute;width:24px;height:24px;display:grid;place-items:center;transform:translate(-50%,-50%);border:1px solid #6889d5;border-radius:50%;background:#fff;color:#5176bd;cursor:grab;touch-action:none;user-select:none;z-index:20;box-shadow:0 1px 5px #0002}
.board-rotate-handle::before{content:'';position:absolute;inset:-8px}
.board-rotate-handle svg{width:16px;height:16px;pointer-events:none}
.board-rotate-handle::after{content:attr(data-angle);position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);background:#263b2e;color:#fff;padding:4px 7px;border-radius:4px;font:12px/1.4 sans-serif;white-space:nowrap;pointer-events:none}
.board-rotate-handle:active{cursor:grabbing}
.board-rotate-handle:focus-visible{outline:2px solid #6889d5;outline-offset:3px}
[data-board-message-count]{font-size:11px;text-align:right;color:inherit;opacity:.7}

.board-rotate-handle.board-angle-left::after{left:auto;right:calc(100% + 10px)}

/* One compact button rhythm throughout the guestbook controls. */
.board-phone-overlay .board-popup-footer{gap:8px;align-items:stretch}
.board-phone-overlay .board-popup-footer .board-draft-actions{display:contents}
.board-phone-overlay .board-popup-footer button:is(.primary,.secondary,.text){display:inline-flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;width:auto;height:40px;min-height:40px;margin:0;padding:9px 10px;border:1px solid #ded8cb;border-radius:6px;background:#fff;color:#514f45;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4;letter-spacing:0;white-space:nowrap;box-shadow:none}
.board-phone-overlay .board-popup-footer .board-popup-status{flex:0 0 100%;width:100%;margin:2px 0 0;text-align:center;line-height:1.6}
.board-selected-controls{gap:10px;padding:14px;border-color:#ded8cb;border-radius:8px}
.board-selected-controls p{margin:0}
.board-selected-controls .board-selected-message{font-size:12px;line-height:1.7}
.board-note-actions{display:flex;gap:8px}
.board-selected-controls .board-note-actions button{display:inline-flex;align-items:center;justify-content:center;flex:1;min-width:0;height:40px;min-height:40px;margin:0;padding:9px 10px;border:1px solid #ded8cb;border-radius:6px;background:#fff;color:#514f45;font-family:inherit;font-size:12px;font-weight:400;line-height:1.4}
.board-selected-controls .board-note-actions [data-board-delete]{border-color:#e4cbc6;color:#ad5149}
.board-note-actions button:focus-visible,.board-popup-footer button:focus-visible{outline:2px solid #879580;outline-offset:2px}

.hero-mobile-photo-edit,.hero-photo-panel-close{display:none}
@media(max-width:800px){
 .preview-label .hero-mobile-photo-edit{display:inline-flex;margin-top:12px;min-height:36px;padding:7px 16px;border-radius:6px;background:#fffdf8;font:12px/1.4 -apple-system,sans-serif}
 .hero-designer.show-preview.hero-photo-panel-open #hero-form{display:block}
 .hero-designer.show-preview.hero-photo-panel-open #hero-form>:not(.hero-property-group){display:none}
 .hero-designer.show-preview.hero-photo-panel-open .hero-property-group{position:fixed;left:12px;right:12px;bottom:12px;max-height:46dvh;overflow:auto;overscroll-behavior:contain;z-index:250;border:1px solid #dce1d5;border-radius:14px;background:#fff;box-shadow:0 8px 35px #16220d33;scroll-padding-top:60px}
 .hero-photo-panel-open .hero-property-group>summary{position:sticky;top:0;z-index:2;padding:12px 18px;min-height:54px;background:#fff;gap:12px;font-size:13px}
 .hero-photo-panel-open .hero-property-group>summary>span{display:none}
 .hero-photo-panel-open .hero-property-group .hero-photo-panel-close{display:block;margin-left:auto;padding:8px 0;font-size:12px}
 .hero-photo-panel-open .hero-property-group .designer-fields{padding:18px}
}

@media(max-width:800px){.preview-label .hero-mobile-photo-edit[hidden]{display:inline-flex;visibility:hidden;pointer-events:none}}

#body-text-popup .popup-text-align{display:flex;align-items:center;justify-content:space-between;gap:16px}#body-text-popup .popup-text-align select{width:100px;max-width:70%;height:32px;min-height:0;padding:4px 8px;font-size:12px;margin:0}

#hero-properties textarea[data-hero-content]{height:40px;min-height:40px;padding:8px 12px;line-height:22px}



.account-row .invitation-thumbnail{display:block;flex:0 0 140px;width:140px;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f1ebe0;cursor:pointer}.invitation-thumbnail .hero-layout{aspect-ratio:9/19.5;pointer-events:none}.account-row .account-summary{flex:1}.account-row .account-summary .status-pill{margin-bottom:10px}.invitation-thumbnail:focus-visible{outline:2px solid var(--green);outline-offset:4px}@media(max-width:800px){.account-row .invitation-thumbnail{flex-basis:auto;width:140px;align-self:center}}

.creation-credit-control{display:flex;flex-direction:column;align-items:center;gap:8px}.creation-credit-control>span{font-size:13px;color:var(--ink)}.creation-credit-control small{font-size:11px;color:var(--muted)}.creation-credit-control button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:800px){.creation-credit-control{align-items:flex-start;margin-top:20px}.account-dashboard .intro .creation-credit-control button{margin-top:0}}

#publication-state{display:grid;gap:12px;padding-bottom:20px}#publication-state h2{font-size:18px;margin:0}.publication-dates{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:13px;line-height:1.6}.publication-dates dd{margin:0;overflow-wrap:anywhere}.publication-dates dt{color:var(--muted)}.usage-dialog{width:min(520px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid var(--line);border-radius:12px;padding:24px;background:#fffefa;color:var(--ink)}.usage-dialog::backdrop{background:#0006}.usage-dialog h2{font-size:20px;margin:0 0 16px;line-height:1.5}.usage-dialog p{font-size:13px;line-height:1.7}.usage-dialog form{display:grid;gap:12px}.usage-dialog article{border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.usage-dialog small{font-size:11px;color:var(--muted)}.usage-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.usage-error{color:#a04239;margin:0}.usage-admin-customers{margin:24px 0 32px}.usage-customer-list{display:grid;gap:8px;margin-top:14px}.usage-customer-list>div{display:flex;align-items:center;gap:14px;padding:12px;background:#fffefa;border:1px solid var(--line)}.usage-customer-list>div>span{flex:1;overflow-wrap:anywhere;font-size:13px}.usage-customer-list button{white-space:nowrap;font-size:12px}.usage-ledger{max-height:300px;overflow:auto}@media(max-width:600px){.usage-customer-list>div{flex-wrap:wrap}.usage-customer-list>div>span{flex-basis:70%}.usage-dialog{padding:20px}.usage-dialog-actions button{flex:1;font-size:13px}}

.invitation #invite-accounts .account-copy{display:inline-flex;align-items:center;justify-content:center;gap:0;flex-shrink:0;width:40px;min-width:40px;min-height:40px!important;padding:10px!important;margin:0;border:0;border-radius:6px;background:#00000007;box-shadow:none;color:inherit;font:11px/1.4 -apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:0;cursor:pointer}.invitation #invite-accounts .account-copy svg{width:14px;height:14px;opacity:.65;flex-shrink:0;pointer-events:none}.invitation #invite-accounts .account-copy:hover{background:#0000000d}.invitation #invite-accounts .account-copy:active{background:#00000014}.invitation #invite-accounts .account-copy:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* Operational workspace reuses the invitation editor and existing theme. */
.workspace{max-width:1400px;margin:0 auto;padding:36px 28px;display:block}.workspace-admin{display:grid;grid-template-columns:190px minmax(0,1fr);gap:36px}.workspace-nav{display:flex;flex-direction:column;gap:8px;align-self:start;position:sticky;top:20px}.workspace-nav h1{font-size:21px;margin:0 0 18px}.workspace-nav button{text-align:left;border:0;background:transparent;color:#687261;padding:13px 14px;border-radius:5px;font-size:13px}.workspace-nav button.selected{background:#e8eddf;color:#354d3d}.workspace-content{min-width:0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.workspace-heading h1{font-size:28px;font-weight:400;margin:6px 0 12px}.workspace-heading p,.workspace-panel p{font-size:13px;color:#66705e}.workspace-heading small{font-size:10px;letter-spacing:1px}.workspace-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.workspace-actions button,.workspace-actions a{font-size:12px;padding:10px 14px;min-height:38px}.workspace-panel{padding:24px;border:1px solid #e1e5d9;background:#fffefa;border-radius:6px;margin-bottom:18px;min-width:0;overflow-wrap:anywhere}.workspace-panel h2{font-size:18px;font-weight:400;margin:0 0 14px}.workspace-panel small{display:block;color:#7b8274;font-size:11px}.workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.workspace-metrics article{padding:20px;background:#fffefa;border:1px solid #e3e6dc;border-radius:5px}.workspace-metrics span{display:block;font-size:12px;color:#7b8274}.workspace-metrics strong{display:block;margin-top:10px;font-size:27px;font-weight:400}.workspace-columns,.workspace-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.workspace-template-grid .workspace-panel{margin:0}.workspace-empty{text-align:center;padding:55px 22px;background:#fffefa;border:1px dashed #dce1d4;color:#7b8274}.workspace-empty h2{font-size:21px;font-weight:400}.workspace-empty p{font-size:13px}.workspace-filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin-bottom:24px}.workspace-customer{display:flex;align-items:center;justify-content:space-between;gap:20px}.workspace-customer p{margin:7px 0}.workspace-customer>button{flex-shrink:0}.workspace-dialog{width:min(780px,94vw);max-height:90dvh;overflow:auto;padding:26px;border:1px solid #dce1d4;border-radius:8px;color:#354d3d;background:#faf9f5}.workspace-dialog::backdrop{background:#18231688}.workspace-dialog h3{font-size:16px;font-weight:500}.workspace-dialog form{display:grid;gap:16px;margin:22px 0}.workspace-dialog p{font-size:13px}.workspace-dialog .dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.workspace-dialog .dialog-heading h2{font-size:20px;font-weight:400}.workspace-preview{width:min(440px,94vw);padding:16px}.workspace-preview .invitation{width:100%}.permission-event{padding:14px 0;border-top:1px solid #e1e5d9}.permission-event p{margin:8px 0}.permission-event small{font-size:11px;color:#7b8274}.template-thumbnail{max-width:220px;margin:0 auto 20px;max-height:300px;overflow:hidden;pointer-events:none}.editor-invitation-title{padding:24px 30px;border-bottom:1px solid #e8ebe1}.workspace .account-row{align-items:flex-start}.workspace .account-summary{min-width:0;overflow-wrap:anywhere}
@media(max-width:800px){.workspace{padding:24px 16px}.workspace-admin{display:block}.workspace-nav{position:static;flex-direction:row;flex-wrap:wrap;margin-bottom:24px;gap:5px}.workspace-nav h1{width:100%;margin:0 0 10px}.workspace-nav button{font-size:12px;padding:9px 11px}.workspace-heading{display:block}.workspace-heading h1{font-size:25px}.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-metrics article{padding:16px}.workspace-metrics strong{font-size:23px}.workspace-columns,.workspace-template-grid{grid-template-columns:1fr}.workspace-filters{grid-template-columns:1fr 1fr}.workspace-filters>label:first-child{grid-column:1/-1}.workspace-customer{display:block}.workspace-customer>button{margin-top:14px}.workspace-panel{padding:20px}.workspace .account-row{display:block}.workspace .invitation-thumbnail{margin-bottom:18px}.workspace-dialog{padding:20px}.workspace .workspace-actions{gap:8px}.workspace .workspace-actions a,.workspace .workspace-actions button{padding:10px;font-size:11px}}

.template-thumbnail>img{display:block;width:100%;height:auto;max-height:300px;object-fit:cover}
