dialog.editor-dialog{width:min(1180px,calc(100vw - 36px));padding:0;max-height:92vh;overflow:hidden;border-radius:14px}dialog.editor-dialog>.close{z-index:4;top:18px;right:19px}.editor-dialog h2{font-size:22px}.editor-dialog p{font-size:14px;line-height:1.7}.ed-head{padding:24px 65px 22px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.ed-head h2{margin:0 0 7px;letter-spacing:-.6px}.ed-head p{margin:0;font-size:12px;color:#8b97a8}.ed-heading-label{font-size:11px;letter-spacing:1.8px;color:#9c8664;font-weight:650;margin-bottom:9px}.ed-save-state{font-size:12px;color:#6e877c;white-space:nowrap}.ed-save-state.dirty{color:#a0814e}.ed-layout{display:grid;grid-template-columns:205px minmax(0,1fr) 280px;height:calc(86vh - 117px);min-height:450px}.ed-nav{background:#fafbfd;border-right:1px solid var(--line);padding:22px 15px;overflow:auto}.ed-nav-label{font-size:11px;letter-spacing:1.5px;color:#929eaf;padding:0 12px;margin-bottom:15px}.ed-step{display:flex;align-items:center;gap:11px;width:100%;border:0;background:none;padding:13px 12px;border-radius:7px;text-align:left;font-size:14px;margin-bottom:5px;color:#7a889b}.ed-step:hover{background:#f0f3f8}.ed-step.active{background:#e9eff7;color:#314c71;font-weight:650}.ed-step svg{width:18px;height:18px}.ed-nav-note{padding:18px 12px;font-size:12px;color:#97a1af;line-height:1.8;border-top:1px solid var(--line);margin-top:24px}.ed-main{padding:28px;overflow:auto;min-width:0;scrollbar-width:thin}.ed-section-top{margin-bottom:23px}.ed-section-top h3{font-size:20px;letter-spacing:-.5px;margin:0 0 9px}.ed-section-top p{color:#8c97a6;margin:0}.ed-main label{display:block;font-size:14px;font-weight:500;color:#566880;margin-bottom:8px}.ed-main input,.ed-main select,.ed-main textarea{font-size:14px;margin-bottom:19px;padding:12px;background:white}.ed-main textarea{font-family:inherit;width:100%;min-height:112px;border:1px solid #dfe5ed;border-radius:7px;resize:vertical}.ed-main input[type=color]{height:46px;padding:4px}.ed-main input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#314c71}.ed-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center;background:white}.ed-footer>span{font-size:12px;color:#8a97a9;line-height:1.6}.ed-footer-actions{display:flex;gap:8px;flex-shrink:0}.ed-preview{background:#f0f3f8;padding:25px 19px;overflow:auto;border-left:1px solid var(--line);scrollbar-width:thin}.ed-preview-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:11px;color:#8190a6;letter-spacing:1px}.ed-preview-label button{border:0;background:none;color:#526f98;cursor:pointer}.ed-device{background:white;border:5px solid white;border-radius:19px;overflow:hidden;box-shadow:0 8px 24px #31436012}.ed-device .cover{height:250px;width:100%;padding:22px 15px}.ed-device .cover .couple{font-size:30px;line-height:1.1}.ed-device .cover .amp{font-size:20px}.ed-device .cover small,.ed-device .cover .date{font-size:8px}.ed-mini-photo{width:100%;height:170px;object-fit:cover;display:block}.ed-mini-copy{text-align:center;padding:18px 15px}.ed-mini-copy h4{font-family:Georgia;font-size:20px;font-weight:400;margin:0 0 9px}.ed-mini-copy p{font-size:11px;margin:6px 0;color:#8b95a5}.ed-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:6px}.ed-mini-grid img{width:100%;height:100px;object-fit:cover}.ed-mini-pill{background:#f0f3f8;padding:9px;margin:12px;font-size:11px;text-align:center;color:#76869e;border-radius:5px}.ed-preview-note{font-size:11px;line-height:1.8;text-align:center;color:#99a4b4;margin:17px 6px}.ed-drop{border:1.5px dashed #c8d3e1;background:#f8fafd;border-radius:10px;padding:25px 18px;text-align:center;position:relative}.ed-drop.dragging{background:#eaf0fa;border-color:#536f97}.ed-drop>svg{margin:0 auto 13px;width:26px;height:26px;color:#8398b6}.ed-drop strong{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.ed-drop p{font-size:12px;color:#95a0af;margin:5px 0 16px}.ed-drop .button{font-size:13px}.ed-file-input{position:absolute;width:1px!important;height:1px!important;opacity:0;overflow:hidden;padding:0!important;margin:0!important}.ed-file-input:focus-visible+label{outline:3px solid #91aed6;outline-offset:3px}.ed-drop label.button{display:inline-flex;margin:0;color:#fff}.ed-hint{font-size:12px!important;color:#98a3b2!important;margin:14px 0 20px!important}.ed-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.ed-photo{border:1px solid #e4e9f0;border-radius:9px;overflow:hidden;background:white;position:relative}.ed-photo img{width:100%;height:155px;display:block;object-fit:cover}.ed-photo .photo-meta{padding:12px}.ed-photo input{font-size:12px;margin-bottom:10px;padding:9px}.ed-photo-actions{display:flex;gap:5px;align-items:center}.ed-photo-actions .button{font-size:11px;padding:6px;min-height:29px}.ed-photo-actions .button[disabled]{opacity:.35;cursor:default}.ed-featured{position:absolute;top:9px;left:9px;background:#fffef7ee;color:#8f7957;padding:5px 8px;border-radius:5px;font-size:10px}.ed-empty{border:1px solid var(--line);border-radius:9px;text-align:center;padding:30px 20px;margin-top:20px}.ed-empty svg{margin:0 auto 12px;color:#9aaabd}.ed-empty h4{font-size:14px;margin:0 0 7px}.ed-empty p{font-size:13px;color:#98a2b1;margin:0}.ed-item{border:1px solid #e1e7ef;border-radius:9px;padding:21px;margin-bottom:17px;background:#fff}.ed-item-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.ed-item-top strong{font-size:14px}.ed-item-top .button{font-size:12px;padding:6px 9px;min-height:30px}.ed-item-top>div{display:flex;gap:5px}.ed-item input:last-child,.ed-item textarea:last-child{margin-bottom:0}.ed-add{width:100%;border-style:dashed;background:#fafbfd;margin-top:3px}.ed-music-track{display:flex;gap:14px;align-items:center;background:#f4f7fb;border:1px solid #e2e9f2;padding:19px;border-radius:9px;margin:22px 0 15px}.ed-music-track>svg{width:30px;height:30px;flex-shrink:0;color:#8d9fb8}.ed-music-track strong{display:block;font-size:14px;overflow-wrap:anywhere}.ed-music-track small{display:block;margin-top:5px;color:#92a0b1;font-size:12px}.ed-audio{width:100%;margin-bottom:19px}.ed-check{display:flex!important;gap:10px;align-items:center;font-size:14px!important;font-weight:400!important}.ed-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.ed-summary>div{border:1px solid var(--line);border-radius:8px;padding:14px}.ed-summary strong{display:block;font-size:25px;margin-bottom:6px}.ed-summary span{font-size:12px;color:#94a0b1}.ed-rsvp-filter{display:flex;justify-content:space-between;gap:10px;margin:18px 0;align-items:center}.ed-rsvp-filter select{margin:0;font-size:12px;max-width:180px}.ed-rsvp-filter .button{font-size:12px}.ed-response{border-bottom:1px solid var(--line);padding:15px 0;display:flex;align-items:flex-start;gap:12px}.ed-response .avatar{width:32px;height:32px;font-size:11px}.ed-response strong{display:block;font-size:14px;margin-bottom:4px}.ed-response p{font-size:12px;margin:3px 0;color:#8a98ab}.ed-response>.tag{margin-left:auto;white-space:nowrap}.ed-toggle-box{padding:15px;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:space-between;margin:17px 0}.ed-toggle-box p{margin:6px 0 0;font-size:12px;color:#92a0b1}.ed-confirm{background:#fff8ea;border:1px solid #ebd6b1;border-radius:8px;padding:18px;margin-bottom:20px}.ed-confirm p{color:#8d7650;font-size:13px;margin:0 0 14px}.ed-confirm .button{font-size:12px}.ed-sr-status{font-size:13px;line-height:1.6;color:#8b6a3d;margin:12px 0}.ed-full-preview{max-width:550px;margin:auto;padding:0 22px 30px}.ed-full-preview .cover{width:100%;height:400px;margin:0}.ed-full-preview .cover .couple{font-size:48px}.ed-full-preview .cover .amp{font-size:25px}.ed-preview-top{padding:18px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;justify-content:space-between}.ed-preview-top h2{font-size:17px;margin:0}.ed-preview-banner{background:#f6eddc;color:#9e8050;font-size:12px;text-align:center;padding:12px;margin:15px 0}.ed-preview-section{padding:28px 0;border-bottom:1px solid var(--line)}.ed-preview-section h3{font-family:Georgia;font-weight:400;font-size:28px;margin:0 0 17px;text-align:center}.ed-preview-section p{text-align:center;color:#8b96a6;line-height:1.9}.ed-full-preview .preview-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-gallery img{width:100%;height:190px;object-fit:cover;border-radius:5px}.preview-gallery figure{margin:0}.preview-gallery figcaption{font-size:12px;color:#8c97a8;margin:7px 0;text-align:center}.preview-story{padding:18px 0 18px 23px;border-left:1px solid #d8c9b3;position:relative}.preview-story:before{content:'';width:7px;height:7px;background:#b19a75;border-radius:50%;position:absolute;left:-4px;top:23px}.preview-story h4{font-size:17px;margin:9px 0}.preview-story time{font-size:12px;color:#ac9471}.preview-story p{text-align:left;font-size:14px;margin:0}.preview-feature-photo{width:100%;max-height:380px;object-fit:cover;display:block;margin-bottom:20px;border-radius:5px}.ed-full-preview label{display:block;font-size:14px;margin-bottom:7px}.ed-full-preview input,.ed-full-preview select,.ed-full-preview textarea{font-size:14px;width:100%;border:1px solid #dfe5ee;border-radius:7px;padding:11px;margin-bottom:16px}.ed-full-preview textarea{font:inherit;min-height:90px}.ed-locked{background:#f4f6fa;border:1px solid var(--line);padding:22px;border-radius:8px}.ed-locked h4{font-size:16px;margin:0 0 9px}.ed-locked p{font-size:14px;margin:0}.ed-processing{opacity:.6;pointer-events:none}.ed-main .form-grid{grid-template-columns:1fr 1fr}.ed-main .button svg{flex-shrink:0}dialog.preview-dialog{width:min(650px,calc(100vw - 30px));padding:0;overflow:auto;max-height:90vh}dialog.preview-dialog>.close{top:13px;right:10px;z-index:4}.preview-dialog .ed-preview-top{padding-right:55px}.ed-optional{font-size:11px;font-weight:400;color:#99a5b4;margin-left:5px}.ed-progress{margin:20px 12px 0}.ed-progress span{font-size:12px;color:#8190a5}.ed-progress progress{display:block;width:100%;height:5px;margin-top:9px;accent-color:#839ebc}.ed-tip{font-size:12px;line-height:1.8;color:#8696ab;margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.ed-preview-page{overflow:auto;height:calc(88vh - 70px)}.ed-section-tabs{display:flex;flex-wrap:wrap;gap:10px}.ed-section-tabs label{margin:0!important}@media(max-width:1080px){.ed-layout{grid-template-columns:170px minmax(0,1fr)}.ed-preview{display:none}.ed-step{font-size:13px;padding:12px 9px}.ed-nav{padding:20px 10px}.ed-head{padding-left:23px}.ed-head h2{font-size:20px}}@media(max-width:680px){dialog.editor-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0;border:0}.ed-head{padding:20px 55px 17px 19px;align-items:start}.ed-head h2{font-size:19px}.ed-save-state{display:none}.ed-layout{display:flex;flex-direction:column;height:calc(100dvh - 197px);min-height:0}.ed-nav{border-right:0;border-bottom:1px solid var(--line);padding:10px 12px;display:flex;gap:5px;flex-shrink:0;overflow:auto}.ed-nav-label,.ed-nav-note,.ed-progress{display:none}.ed-step{width:auto;margin:0;white-space:nowrap;font-size:12px;padding:9px 12px}.ed-step svg{width:15px;height:15px}.ed-main{padding:23px 18px;flex:1}.ed-footer{padding:13px 18px;gap:9px}.ed-footer>span{display:none}.ed-footer-actions{width:100%;justify-content:space-between}.ed-footer .button{font-size:13px}.ed-main .form-grid{grid-template-columns:1fr}.ed-gallery{gap:10px}.ed-photo img{height:135px}.ed-photo .photo-meta{padding:9px}.ed-photo-actions{flex-wrap:wrap}.ed-item{padding:17px}.ed-section-top h3{font-size:19px}.ed-summary{gap:7px}.ed-summary>div{padding:11px}.ed-summary strong{font-size:23px}.ed-response{flex-wrap:wrap}.ed-response>.tag{font-size:11px}.ed-head p{font-size:11px}.ed-heading-label{font-size:10px}.ed-full-preview{padding:0 17px 25px}.ed-full-preview .cover{height:345px}.ed-preview-top h2{font-size:14px}.ed-preview-top .button{font-size:11px;padding:7px}.ed-full-preview .preview-gallery img{height:145px}}
/* Keep editor actions visible at short desktop heights. */
@media(min-width:681px){.ed-layout{height:calc(90vh - 195px);min-height:280px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ed-form-error{background:#fff3f1;border:1px solid #e3b6ae;border-radius:7px;padding:12px;color:#963f37;font-size:14px!important}
.ed-item-top{flex-wrap:wrap;gap:10px}.ed-main .form-grid>div{min-width:0}
.ed-preview-label button{font-size:18px;padding:3px 6px}.ed-step[disabled]{opacity:.5}.ed-main .ed-confirm{position:sticky;top:-5px;z-index:5}
