/* Actual invitation envelope: 320x220 card inside a 344x244 envelope. */
.mail-dialog{width:min(680px,96vw);max-height:96dvh;border:1px solid #dfd4c7;border-radius:24px;padding:24px;background:#faf6ef;color:#403b39;overflow:auto}.mail-dialog::backdrop{background:#272135ba;backdrop-filter:blur(5px)}.mail-dialog .eyebrow,.mail-status{text-align:center}.mail-stage{width:100%;position:relative;overflow:hidden}.mail-scene{position:relative;width:600px;height:520px;transform-origin:top left;perspective:1400px}.mail-scene .env{position:absolute;left:128px;top:188px;width:344px;height:244px;border-radius:4px;box-sizing:border-box}.env-front{background:var(--mail-paper);color:var(--mail-ink);z-index:5;backface-visibility:hidden;box-shadow:0 12px 30px #30231e25;cursor:pointer}.recipient{position:absolute;top:110px;width:100%;text-align:center;font-size:25px;padding:0 25px;box-sizing:border-box;overflow-wrap:anywhere}[data-lettering=script] .recipient,[data-lettering=script] .mail-sample>span:last-child{font-family:Georgia,serif;font-style:italic}.stamp{position:absolute;right:18px;top:18px;width:42px;height:48px;border:3px dotted var(--mail-gold);display:grid;place-items:center;font-size:26px}.postmark{position:absolute;right:73px;top:34px;max-width:105px;font-size:10px;text-transform:uppercase;letter-spacing:2px;transform:rotate(-8deg)}.env-back{z-index:1;transform:rotateY(-180deg);background:var(--mail-paper);box-shadow:0 10px 25px #30231e24}.liner{position:absolute;inset:8px;background:var(--mail-gold);opacity:.6}[data-liner=stripe] .liner{background:repeating-linear-gradient(45deg,var(--mail-gold) 0 2px,#fff7e8 2px 12px)}[data-liner=dots] .liner{background:radial-gradient(var(--mail-gold) 2px,transparent 3px) 0 0/14px 14px;background-color:#fff7e8}.env-cover{z-index:3;transform:rotateY(-180deg);backface-visibility:hidden}.pocket{position:absolute;inset:0;background:var(--mail-paper);clip-path:polygon(0 0,100% 0,78% 50%,100% 100%,0 100%);border:1px solid #0002}.flap{position:absolute;right:0;top:0;width:170px;height:244px;background:var(--mail-paper);filter:brightness(.95);clip-path:polygon(100% 0,0 50%,100% 100%);transform-origin:right center}.seal{position:absolute;left:200px;top:100px;width:45px;height:45px;background:var(--mail-gold);color:#49331e;border-radius:50%;display:grid;place-items:center;font-size:27px;box-shadow:0 2px 4px #0003}.back-sender{position:absolute;left:18px;top:18px;width:180px;color:var(--mail-ink);font-size:13px}.letter{position:absolute;left:190px;top:150px;width:220px;height:320px;z-index:2;transform:rotate(90deg);opacity:0;background:#fffaf0;box-shadow:0 2px 14px #0002;overflow:hidden}.letter img{display:block;width:100%;height:100%;object-fit:contain}.letter-copy{padding:24px;text-align:center;overflow-wrap:anywhere}.letter-copy h2{font-family:Georgia,serif;font-size:26px}.mail-controls{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.mail-run .env-front{animation:mail-front 4s forwards}.mail-run .env-back,.mail-run .env-cover{animation:mail-back 4s forwards}.mail-run .flap{animation:mail-flap 4s forwards}.mail-run .seal{animation:mail-seal 4s forwards}.mail-run .letter{animation:mail-card 4s forwards}.mail-instant *{animation-duration:1ms!important}.mail-complete .env{visibility:hidden}.mail-complete .letter{opacity:1;transform:translateY(-55px) rotate(0) scale(1.4)}
@keyframes mail-front{0%{transform:rotateY(0)}16%,100%{transform:rotateY(180deg);visibility:hidden}}@keyframes mail-back{0%{transform:rotateY(-180deg)}16%,36%{transform:rotateY(0);opacity:1}68%{transform:translateX(-260px);opacity:1}78%,100%{transform:translateX(-400px);opacity:0}}@keyframes mail-flap{0%,26%{transform:rotateY(0)}36%,100%{transform:rotateY(180deg)}}@keyframes mail-seal{0%,21%{opacity:1;transform:scale(1)}28%,100%{opacity:0;transform:translate(15px,25px) rotate(25deg) scale(.8)}}@keyframes mail-card{0%,26%{opacity:0;transform:rotate(90deg)}27%,36%{opacity:1;transform:rotate(90deg)}68%,74%{opacity:1;transform:translateX(90px) rotate(90deg)}100%{opacity:1;transform:translateY(-55px) rotate(0) scale(1.4)}}
.mail-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.mail-settings-grid label{display:block;margin:12px 0}.mail-settings-grid select,.mail-settings-grid input:not([type=checkbox]),.mail-settings-grid textarea{width:100%}.mail-sample{position:relative;aspect-ratio:1.41;background:var(--mail-paper);color:var(--mail-ink);display:grid;place-items:center;padding:70px 20px 30px;border:1px solid #0001;border-radius:5px}.mail-sample>span:last-child{font-size:22px;text-align:center;overflow-wrap:anywhere}.mail-replay{margin-bottom:18px}.potluck-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.potluck-tabs button[aria-pressed=true]{background:#563b50;color:white}.potluck-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:14px}.potluck-card{padding:20px;border:1px solid #e6dcd2;border-radius:16px;background:#fffdf9}.potluck-card h3{margin:6px 0}.potluck-card label{display:block;margin:10px 0}.potluck-card input:not([type=checkbox]){width:100%}.potluck-card .dietary-tags{display:flex;flex-wrap:wrap;gap:8px}.dietary-tags label{font-size:13px}.potluck-summary{color:#6f6056}.potluck-card details summary{cursor:pointer;padding:12px 0;min-height:44px}.potluck-card ul{padding-left:18px}.potluck-card small{display:block}.potluck-suggest{margin-top:18px;padding:20px;border:1px dashed #c5b698;border-radius:14px}.potluck-suggest label{display:block;margin:10px 0}.private-reply{border:2px solid #c9c3db;background:#f6f3fc;border-radius:16px;padding:20px;margin:20px 0}.private-reply textarea{width:100%;min-height:90px}.public-rsvp-note{border-top:1px solid #ddd;padding:16px 0;margin-top:18px}.journey-steps{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0}.journey-steps li{font-size:13px;padding:10px;border-radius:20px;background:#f3ecdf}.journey-steps li:first-child{background:#e9d9df}.journey-success{padding:14px;background:#f3eddf;border-radius:12px}.host-source-filter{max-width:220px}.host-source-filter select{width:100%}.photo-batch-tools{padding:16px;background:#f5eee5;border-radius:12px;margin:12px 0}.photo-batch-tools input{width:100%}.photo-slot-thumb{touch-action:none;cursor:grab}.photo-slot-thumb:active{cursor:grabbing}.draft-state{font-size:12px;color:#6c6058}.journey-next{margin:12px 0}.journey-questions[hidden]{display:none}.premium-package{border:1px solid #d6c299;border-radius:18px;padding:24px;margin:24px 0;background:#faf6ed}
@media(max-width:600px){.mail-dialog{padding:14px}.mail-settings-grid{grid-template-columns:1fr}.potluck-tabs button,.mail-controls button{min-height:44px}.host-source-filter{max-width:100%}}@media(prefers-reduced-motion:reduce){.mail-run *{animation-duration:1ms!important}}

[hidden]{display:none!important}

.photo-tray{display:flex;gap:8px;overflow-x:auto;padding:10px 0}.photo-tray button{flex:0 0 64px;padding:3px;border:1px solid #ccb99c;border-radius:8px;background:white}.photo-tray img{width:58px;height:58px;object-fit:cover;border-radius:5px}

.setup-extras{border:1px solid #e2d7c8;border-radius:14px;padding:18px;margin:22px 0}.setup-extras>summary{font-weight:600;cursor:pointer;min-height:28px}.journey-steps li:first-child{background:#f3ecdf}.journey-steps li:nth-child(2){background:#e9d9df}

.potluck-step{width:min(850px,96vw);max-height:94dvh;border:1px solid #dccdbb;border-radius:22px;padding:28px;background:#fffdf9;color:#43383d;overflow:auto}.potluck-step::backdrop{background:#30283ee6}.potluck-step>.potluck-step-intro{display:block;position:static;padding:0;margin:0 0 24px;border:0;box-shadow:none;background:transparent}.potluck-step h1{font:clamp(28px,5vw,42px)/1.15 Georgia,serif;margin:10px 0}.potluck-step>button{margin-top:24px}.potluck-step #potluck-board>h2{display:none}.potluck-step .potluck-grid{margin-top:20px}.potluck-step [data-potluck-step-body]{margin-top:25px}#choose-potluck{margin:16px 0}@media(max-width:600px){.potluck-step{padding:20px 16px;width:100vw;max-height:100dvh;height:100dvh;margin:0;border-radius:0}.potluck-step .btn{min-height:44px}}

.photo-edit-stage{position:relative;width:100%;isolation:isolate}.photo-frame-overlay{position:absolute;inset:0;pointer-events:none}.photo-frame-target{position:absolute;pointer-events:auto;touch-action:none;cursor:grab;border:1px dashed transparent;box-sizing:border-box;outline:none;background:transparent}.photo-frame-target:hover{border-color:#a88c61}.photo-frame-target.selected{border:2px solid #735263;box-shadow:0 0 0 1px #fff9}.photo-frame-target[data-shape=circle]{border-radius:50%}.photo-frame-target[data-shape=arch]{border-radius:50% 50% 3px 3px}.photo-frame-target:focus-visible{outline:3px solid #735263;outline-offset:5px}.photo-frame-target:active{cursor:grabbing}.photo-frame-number{position:absolute;top:-13px;left:-13px;background:#735263;color:white;border:2px solid #fff;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font:12px/1 system-ui;opacity:0}.photo-frame-target.selected .photo-frame-number,.photo-frame-target:hover .photo-frame-number{opacity:1}.photo-resize-handle{display:none;position:absolute;right:-14px;bottom:-14px;width:28px;height:28px;border:5px solid #fff;background:#735263;border-radius:50%;box-shadow:0 1px 6px #0003;cursor:nwse-resize;touch-action:none}.photo-frame-target.selected[data-mode=move] .photo-resize-handle{display:block}.photo-guide{position:absolute;pointer-events:none;z-index:3;background:#be8a47}.photo-guide.vertical{left:50%;width:1px;top:0;bottom:0}.photo-guide.horizontal{top:50%;height:1px;left:0;right:0}.photo-canvas-tools{background:#fffdf9;border:1px solid #d9cbb9;border-radius:14px;padding:18px;margin-bottom:20px;text-align:left}.photo-tools-heading span{display:block;color:#91754f;font-size:10px;letter-spacing:2px}.photo-tools-heading strong{display:block;font:25px/1.2 Georgia,serif;margin-top:7px}.photo-canvas-tools p{font-size:12px;line-height:1.55;margin:10px 0;color:#6e6067}.photo-canvas-tools label{font-size:12px;margin:12px 0 6px}.photo-canvas-tools select{padding:8px;font-size:13px}.photo-mode,.photo-shapes,.photo-position-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.photo-canvas-tools button{border:1px solid #dfd2c5;background:#fff;border-radius:7px;padding:9px 10px;font:12px/1.3 system-ui;color:#53464f;min-height:36px;cursor:pointer}.photo-canvas-tools button[aria-pressed=true]{background:#735263;border-color:#735263;color:#fff}.photo-shapes button{flex:1;min-width:60px;display:flex;align-items:center;justify-content:center;gap:6px}.shape-symbol{display:inline-block;width:13px;height:13px;border:1.5px solid currentColor;flex-shrink:0}.shape-symbol.circle{border-radius:50%}.shape-symbol.rect{width:17px;height:11px}.shape-symbol.arch{border-radius:50% 50% 0 0}.photo-edit-status{min-height:36px}.art-preview:has(.photo-edit-stage){position:static;padding:20px}.photo-canvas-tools .photo-position-actions button{flex:1}@media(max-width:600px){.photo-canvas-tools{padding:14px}.photo-canvas-tools button{min-height:44px}.photo-tools-heading strong{font-size:23px}.art-preview:has(.photo-edit-stage){max-width:none;padding:12px}.photo-canvas-tools p{font-size:13px}}

.photo-frame-target.selected{z-index:2}.photo-frame-options{margin-top:10px;border-top:1px solid #e6d9c9;padding-top:8px}.photo-frame-options>summary{cursor:pointer;font-size:13px;font-weight:600;min-height:32px;display:list-item;padding:8px 0}.photo-canvas-tools{position:sticky;top:8px;z-index:5;box-shadow:0 3px 14px #45343f0a}.photo-canvas-tools .photo-edit-status{min-height:0;margin-bottom:0}.photo-canvas-tools>label{display:flex;gap:10px;align-items:center}.photo-canvas-tools>label select{width:auto;flex:1}.photo-tools-heading strong{font-size:22px}@media(max-width:600px){.photo-canvas-tools{position:static}.photo-canvas-tools>p:not(.photo-edit-status){margin:6px 0}.photo-canvas-tools .photo-edit-status{font-size:12px}.photo-frame-options>summary{min-height:44px}}

.photo-shape-label{display:block;margin-top:14px;font-size:13px}.photo-canvas-tools{position:static}.photo-canvas-tools button[hidden]{display:none}
.art-preview:has(.photo-edit-stage){min-width:0;width:100%}.photo-canvas-tools{min-width:0}.photo-canvas-tools>label select{min-width:0}@media(max-width:600px){.photo-shapes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.art-editor{grid-template-columns:minmax(0,1fr)}.art-editor>section{min-width:0}}

.photo-drop-zone{border:2px dashed #b79e7e;border-radius:12px;background:#fffaf3;padding:22px;cursor:pointer;text-align:center}.photo-drop-zone small{display:block;font-weight:normal;line-height:1.6;margin:8px 0}.photo-drop-zone.drag-over,.photo-frame-target.drop-target{background:#eadde888;outline:3px solid #735263}.photo-direct-actions{display:flex;gap:8px;margin-top:10px}.photo-direct-actions[hidden]{display:none}.photo-advanced-slots{margin-top:16px}.photo-advanced-slots>summary{padding:14px 0;cursor:pointer}.editor-step{font:24px Georgia,serif}.photo-drop-zone input{max-width:100%}
@media(max-width:600px){.art-editor:has(.photo-edit-stage)>section:last-child{grid-row:1}.photo-direct-actions button{flex:1}}

.appearance-options{border:1px solid #dfd2c5;border-radius:12px;padding:16px;margin-top:24px;background:#fffaf5}.appearance-options>summary,.typography-options>summary{cursor:pointer;padding:12px 0;font-weight:600}.photo-canvas-tools input[data-free]{width:20px;height:20px}.photo-frame-target[data-mode=swap]{cursor:grab}.art-review{width:min(900px,94vw);max-height:92vh;overflow:auto;border:1px solid #cbb493;border-radius:18px;background:#fffcf8;padding:24px;color:#493f45}.art-review::backdrop{background:#30252c99}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.review-heading h2{font:28px Georgia,serif}.review-tabs{display:flex;gap:12px;margin-bottom:20px}.review-card img{display:block;max-width:100%;max-height:65vh;margin:auto;box-shadow:0 8px 28px #33252a22}.review-mail{position:relative;isolation:isolate;aspect-ratio:1.4;max-width:500px;margin:30px auto;background:var(--review-paper,#eddcc9);color:var(--review-ink,#57423d);border:1px solid var(--review-accent,#b79e7e);box-shadow:0 12px 26px #30252c22;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.review-mail p{font:28px Georgia,serif;z-index:1}.review-mail span{border:1px solid var(--review-accent,#b79e7e);border-radius:50%;padding:14px;font:italic 14px Georgia,serif}.review-flap{position:absolute;inset:0;clip-path:polygon(0 0,100% 0,50% 48%);background:var(--review-accent,#b79e7e);opacity:.22}.review-envelope{text-align:center}.art-review [hidden]{display:none!important}@media(max-width:600px){.art-review{padding:14px}.review-heading h2{font-size:23px}.review-tabs{flex-wrap:wrap}}

.font-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 18px}.font-samples button{min-width:0;text-align:left;background:#fffdf9;border:1px solid #dfd2c5;border-radius:8px;padding:12px;cursor:pointer;color:#493e46}.font-samples button[aria-pressed=true]{outline:2px solid #735263;background:#f6edf2}.font-samples small{display:block;font:11px system-ui;margin-bottom:9px;color:#6d5d65}.font-samples span{display:block;font-size:25px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-style{margin-top:6px}.review-mail{display:block;border-radius:3px;max-width:520px;width:100%;background:linear-gradient(115deg,#ffffff66,transparent 50%,#00000006),var(--review-paper,#eddcc9);box-shadow:0 20px 35px #30252c1a,0 3px 5px #30252c15;overflow:hidden}.mail-review-front,.mail-review-back{position:absolute;inset:0}.mail-review-front{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px}.mail-review-front p{font:italic 32px Georgia,serif;margin:24px 0 12px;color:var(--review-ink,#57423d)}.mail-review-front small{font:10px system-ui;letter-spacing:2px;text-transform:uppercase;color:var(--review-ink,#57423d)}.review-stamp{position:absolute;right:6%;top:9%;width:42px;height:52px;border:3px dotted var(--review-accent,#b79e7e);display:grid;place-items:center;color:var(--review-accent,#b79e7e);font-size:26px;background:#ffffff55}.review-postmark{position:absolute;right:15%;top:13%;width:66px;height:34px;border-top:1px solid var(--review-accent,#b79e7e);border-bottom:1px solid var(--review-accent,#b79e7e);border-radius:50%;opacity:.5;transform:rotate(-12deg)}.review-seams{position:absolute;inset:0;background:linear-gradient(35deg,transparent 49.8%,#00000013 50%,transparent 50.3%),linear-gradient(-35deg,transparent 49.8%,#00000013 50%,transparent 50.3%)}.mail-review-back .review-flap{inset:0;clip-path:polygon(0 0,100% 0,50% 58%);background:linear-gradient(180deg,#ffffff66,#00000015),var(--review-paper,#eddcc9);opacity:1;filter:drop-shadow(0 2px 1px #0002)}.review-wax{position:absolute;top:49%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:48% 52% 45% 55%;background:var(--review-accent,#b79e7e);box-shadow:inset 0 0 0 4px #ffffff22,inset 0 -3px 5px #0002,0 3px 5px #0003;display:grid;place-items:center;font:28px Georgia;color:var(--review-paper,#fff5e8)}.review-envelope>.btn{margin:6px}

.font-dropdown{position:relative;min-width:0}.font-dropdown-trigger{width:100%;min-height:48px;border:1px solid #d9cbb9;border-radius:7px;background:#fffdf9;color:#493e46;text-align:left;padding:8px 34px 8px 12px;font-size:23px;cursor:pointer}.font-dropdown-trigger:after{content:'▾';position:absolute;right:12px;font:14px system-ui;top:16px}.font-dropdown-menu{position:absolute;top:100%;left:0;right:0;z-index:20;background:#fffdf9;border:1px solid #cdbbaf;border-radius:8px;padding:5px;box-shadow:0 8px 24px #30252c25;max-height:320px;overflow:auto}.font-dropdown-menu button{display:block;width:100%;min-height:44px;border:0;border-radius:5px;padding:8px;text-align:left;background:transparent;font-size:24px;line-height:1.4;color:#493e46;cursor:pointer}.font-dropdown-menu button[aria-selected=true]{background:#f0e5ec}.font-dropdown-menu button:hover,.font-dropdown-menu button:focus-visible{background:#eee6d9;outline:2px solid #a88c61;outline-offset:-2px}.font-dropdown-menu[hidden]{display:none}.text-style select[hidden]{display:none}
.font-dropdown-menu{min-width:250px;max-width:calc(100vw - 64px)}.font-dropdown-menu button{font-weight:400;white-space:nowrap}.font-dropdown-trigger{font-weight:400;font-size:21px}
.font-dropdown-trigger{font-size:17px;line-height:1.3;min-height:40px;padding:8px 28px 8px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.font-dropdown-menu{min-width:230px;max-height:290px;padding:4px}.font-dropdown-menu button{font-size:18px;line-height:1.3;min-height:36px;padding:6px 10px;white-space:nowrap}.font-dropdown-trigger:after{top:12px}@media(pointer:coarse){.font-dropdown-menu button{min-height:44px}}
.type-grid>label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}.type-grid .font-dropdown{margin-top:8px}.type-grid .font-dropdown-trigger,.type-grid>label>input{height:44px;min-height:44px;box-sizing:border-box}.type-grid .font-dropdown-trigger:after{top:14px}

.art-editor .type-toggles{gap:12px;margin:12px 0;align-items:center}.art-editor .type-toggles label{display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 12px;min-height:44px;border:1px solid #dfd2c5;border-radius:7px;background:#fffdf9;cursor:pointer;font-weight:400}.art-editor .type-toggles input{margin:0;flex:0 0 18px;width:18px;height:18px;accent-color:#735263}.type-toggles strong{font-weight:700}.type-toggles em{font-style:italic}.type-toggles label:has(input:checked){background:#f0e5ec;border-color:#735263}
.art-editor .type-toggles strong{font-family:Arial,sans-serif;font-weight:900;font-size:15px;-webkit-text-stroke:.35px currentColor}
.art-editor .type-toggles em{display:inline-block;font-family:Georgia,serif;font-style:italic;font-weight:600;font-size:16px;transform:skewX(-7deg)}

.photo-advanced-slots[hidden]{display:none!important}
@media(min-width:601px){.art-editor{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:36px}.art-editor>.art-preview{grid-column:2;grid-row:1;position:sticky;top:12px;align-self:start;padding:14px}.art-editor>section:not(.art-preview){grid-column:1;grid-row:1;min-width:0}.art-preview .photo-canvas-tools{max-height:35dvh;overflow-y:auto;margin-bottom:12px;padding:12px}.art-preview .photo-edit-stage{margin-inline:auto}.art-preview>p{margin:8px 0 0}.art-preview:has(.photo-edit-stage){position:sticky;top:12px;padding:14px}}

@media(min-width:601px){.art-editor{grid-template-columns:minmax(290px,.85fr) minmax(0,1.4fr);gap:28px}.art-preview:has(.photo-edit-stage){max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.art-preview .photo-canvas-tools{max-height:none;overflow:visible;margin:16px 0 0}.art-preview .photo-edit-stage{width:100%}}

@media(min-width:601px){.art-editor{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:32px}.art-preview:has(.photo-edit-stage){max-height:none;overflow:visible;top:12px}.art-editor .photo-edit-stage{margin-inline:auto}.art-editor .photo-canvas-tools{margin-top:18px;max-height:none;overflow:visible}}

/* Compact editing controls, with optional photo tools closed by default. */
.art-editor #art-form>label{margin:10px 0 4px;font-size:14px}
.art-editor #art-form>input,.art-editor #art-form>textarea{padding:9px 11px;line-height:1.35}
.art-editor #art-form>input{height:42px}
.art-editor #art-form>textarea{min-height:64px;height:68px}
.art-editor .editor-step{margin:8px 0 12px;font-size:22px}
.art-editor .text-style{margin:4px 0 12px;padding:0 10px;background:transparent}
.art-editor .text-style>summary{padding:7px 0;min-height:34px;font-size:13px}
.art-editor .art-photo,.art-editor .photo-canvas-tools,.art-editor .appearance-options{padding:0 12px;margin:10px 0;border-radius:9px}
.art-editor .art-photo>summary,.art-editor .photo-canvas-tools>summary,.art-editor .appearance-options>summary{padding:12px 0;min-height:44px;font-size:14px;font-weight:600;cursor:pointer}
.art-editor .art-photo[open],.art-editor .photo-canvas-tools[open],.art-editor .appearance-options[open]{padding-bottom:12px}
.art-editor .photo-drop-zone{padding:12px}
.art-editor .photo-drop-zone small{margin:4px 0}
@media(min-width:601px){.art-editor{grid-template-columns:minmax(260px,.85fr) minmax(0,1.25fr);gap:24px}}
@media(max-width:600px){.art-editor .text-style>summary{min-height:44px;padding:12px 0}.art-editor #art-form>input{height:44px}.art-editor .art-preview{margin-bottom:16px}.art-editor .photo-edit-stage{width:100%}}

/* Distinct sections and compact, subordinate text-format controls. */
.art-editor .editor-details-panel{background:#f8edf0;border:1px solid #dfc5cf;border-left:4px solid #ba8296;border-radius:10px;padding:12px 14px}
.art-editor .editor-details-panel>.editor-step{display:flex;align-items:center;gap:8px;font-size:19px;margin:0 0 10px;color:#654553}
.art-editor .editor-step svg,.art-editor details>summary>svg{width:18px;height:18px;vertical-align:middle;margin-right:7px;flex-shrink:0}
.art-editor .editor-details-panel>label{margin:8px 0 3px;font-size:13px}
.art-editor .editor-details-panel>input,.art-editor .editor-details-panel>textarea{padding:7px 9px;line-height:1.3;font-size:15px}
.art-editor .editor-details-panel>input{height:36px}
.art-editor .editor-details-panel>textarea{min-height:52px;height:56px}
.art-editor .text-style{border:0;border-radius:4px;padding:0 2px;margin:1px 0 6px;background:transparent}
.art-editor .text-style>summary{box-sizing:border-box;min-height:28px;padding:5px 0;font-size:12px;line-height:18px;font-weight:500;color:#70545f}
.art-editor .text-style[open]{padding:0 8px 8px;background:#fffafc;border:1px solid #e5d0d8}
.art-editor .text-style .type-grid{gap:8px}
.art-editor .text-style label{margin:5px 0 3px;font-size:12px}
.art-editor .text-style .type-toggles{margin:6px 0;gap:8px}
.art-editor .text-style .type-toggles label{padding:4px 8px;min-height:34px}
.art-editor .text-style .color-pair{margin-bottom:2px}
.art-editor .art-photo{background:#edf3fa;border:1px solid #c6d6e8;border-left:4px solid #7e9fbe}
.art-editor .photo-canvas-tools{background:#f1edf8;border:1px solid #d2c7e5;border-left:4px solid #9b86bd}
.art-editor .appearance-options{background:#faf3e4;border:1px solid #e4d3b2;border-left:4px solid #bb9a5d}
.art-editor .art-photo>summary,.art-editor .photo-canvas-tools>summary,.art-editor .appearance-options>summary{box-sizing:border-box;min-height:42px;padding:10px 0;line-height:20px}
@media(max-width:600px){.art-editor .editor-details-panel{padding:10px 12px}.art-editor .editor-details-panel>input{height:44px;font-size:16px}.art-editor .editor-details-panel>textarea{font-size:16px}.art-editor .text-style>summary{min-height:40px;padding:11px 0}.art-editor .text-style .type-toggles label{min-height:44px}.art-editor .art-photo>summary,.art-editor .photo-canvas-tools>summary,.art-editor .appearance-options>summary{min-height:44px}}

/* Only the current editing task stays expanded. */
.art-editor details.editor-details-panel{padding:0 14px;margin-bottom:10px}
.art-editor details.editor-details-panel[open]{padding-bottom:10px}
.art-editor .editor-details-panel>summary.editor-step{display:list-item;box-sizing:border-box;min-height:44px;padding:12px 0;margin:0;font:600 14px/20px 'Trebuchet MS',sans-serif;cursor:pointer}
.art-editor .editor-details-panel>summary svg{margin-right:7px;vertical-align:middle}
.art-editor details[name="editor-section"]>summary:focus-visible{outline:2px solid #735263;outline-offset:3px;border-radius:3px}

/* The invitation fills its column; no gray mat or height-based scaling. */
.art-editor>.art-preview,.art-editor .art-preview:has(.photo-edit-stage){background:transparent;padding:0;border-radius:0;max-width:none;max-height:none;overflow:visible}
.art-editor .photo-edit-stage{width:100%;max-width:none;margin:0}
.art-editor .art-preview canvas{width:100%;height:auto}
.art-editor .art-preview>p{margin:8px 0 0}

.art-editor .editor-details-panel>.art-field-label{display:flex;align-items:center;gap:7px}
.field-color-dot{width:9px;height:9px;border-radius:50%;background:var(--field-color,#493e35);flex-shrink:0;border:1px solid #0002}
.art-editor .rsvp-card-note{font-size:12px;line-height:1.4;margin:4px 0 0;color:#705d65}

.art-editor .editor-details-panel>#art-details{height:112px;min-height:112px;line-height:1.5;font-weight:600}

.art-editor .editor-details-panel>#art-when,.art-editor .editor-details-panel>#art-address{height:70px;min-height:70px;line-height:1.4}

.text-edit-layer{position:absolute;inset:0;pointer-events:none;z-index:6}
.text-edit-target{position:absolute;background:transparent!important;border:1px solid transparent!important;border-radius:4px!important;padding:0!important;margin:0!important;min-height:0!important;box-shadow:none!important;pointer-events:auto;cursor:text}
.text-edit-target:hover,.text-edit-target:focus-visible{border-color:#87516f!important;background:#ffffff18!important;outline:2px solid #87516f44}
.text-inline-box{position:absolute;pointer-events:auto;z-index:8;min-height:0}
.text-inline-box textarea{display:block;width:100%;height:auto;min-height:0!important;overflow:hidden;margin:0;resize:none;box-sizing:border-box;text-align:center;background:#fffdf8f5;border:2px solid #87516f;border-radius:5px;padding:3px;line-height:1.28;box-shadow:0 4px 15px #38233322}

.wording-ideas{margin:2px 0 4px;font-size:12px}
.wording-ideas summary{cursor:pointer;color:#79536c;font-size:12px;padding:2px 0}
.wording-ideas select,.wording-ideas textarea{font:14px Lato,sans-serif;width:100%;margin:4px 0;padding:7px;min-height:32px}
.wording-ideas textarea{height:65px!important;min-height:65px!important}
.wording-case{display:flex;gap:5px}.wording-case[hidden]{display:none}
.wording-ideas button{font:600 12px Lato,sans-serif;padding:6px 8px;margin:3px 0;min-height:32px}

.inline-type-tools{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:5px;background:#fffaf6;border:1px solid #d8c3cc;border-radius:6px;box-shadow:0 3px 12px #38233322}
.inline-type-tools select{flex:1 1 110px;min-width:0;max-width:100%;height:32px;font-size:13px;padding:3px;margin:0}
.inline-type-tools input[type=number]{width:62px;min-width:0;height:32px;padding:3px;font-size:13px;margin:0}
.inline-type-tools input[type=color]{width:32px;height:32px;padding:2px;margin:0}
.inline-type-tools button{min-height:32px;padding:4px 7px;font-size:12px;margin:0}
.inline-type-tools button[aria-pressed=true]{background:#79536c;color:white}
.editor-history{display:flex;gap:6px;margin:0 0 8px;position:relative;z-index:9}
.editor-history button{font-size:13px;padding:5px 12px;min-height:34px;margin:0}

.wording-preset-note{font-size:12px!important;line-height:1.4;margin:4px 0!important;color:#725d69}
