/* The guest letter is shared by landing and viewer, outside the scene overlay. */
.wedding-guest-dialog{--guest-ink:#214d46;--guest-muted:#58695e;--guest-paper:#fcf8ef;--guest-line:#d9dfd1;color-scheme:light;border:1px solid #d3c5a7;border-radius:24px;padding:0;width:min(940px,calc(100vw - 48px));max-width:none;max-height:90dvh;overflow:auto;overscroll-behavior:contain;background:var(--guest-paper);color:var(--guest-ink);font:14px/1.65 Arial,sans-serif;box-shadow:0 24px 100px #15271e66}
.wedding-guest-dialog:not([open]){display:none}.wedding-guest-dialog *{box-sizing:border-box}.wedding-guest-dialog [hidden]{display:none!important}
.wedding-guest-dialog::backdrop{background:#142e2ac2;backdrop-filter:blur(8px)}
.wedding-guest-dialog button,.wedding-guest-dialog a{touch-action:manipulation}.wedding-guest-dialog button{font:inherit;cursor:pointer}.wedding-guest-dialog button:focus-visible,.wedding-guest-dialog a:focus-visible,.wedding-guest-dialog input:focus-visible,.wedding-guest-dialog select:focus-visible,.wedding-guest-dialog textarea:focus-visible,.wedding-guest-dialog [tabindex]:focus-visible{outline:3px solid #b06447;outline-offset:3px}
.guest-shell{display:grid;grid-template-columns:36% 64%;min-height:580px}.guest-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px 28px;background:radial-gradient(ellipse at 50% 22%,#f0e4c8,transparent 65%),linear-gradient(160deg,#e5ebdc,#f1e3cf 57%,#d3deca);border-right:1px solid #d1d8c9;position:relative;overflow:hidden}
.guest-cover::before,.guest-cover::after{content:"";position:absolute;width:220px;height:320px;border:1px solid #94a58255;border-radius:50%;transform:rotate(-38deg);left:-150px;bottom:-40px;pointer-events:none}.guest-cover::after{left:auto;right:-180px;bottom:auto;top:20px;transform:rotate(24deg)}
.guest-eyebrow{font:10px/1.5 Arial,sans-serif;letter-spacing:.15em;color:#78633c;margin:0 0 14px}.guest-cover>.guest-eyebrow{margin-bottom:24px}.guest-portrait-frame{width:100%;max-width:265px;aspect-ratio:4/5;border-radius:48% 48% 12px 12px;padding:7px;border:1px solid #b6aa87;background:#fff8e980;box-shadow:0 12px 32px #3c584016}
.guest-portrait-frame img{width:100%;height:100%;display:block;object-fit:cover;border-radius:48% 48% 8px 8px}.guest-cover-line{font:italic 28px/1.4 Georgia,serif;margin:27px 0 17px;color:#335a4d}.guest-cover-date{font-size:11px;letter-spacing:.23em;color:#7b6846}
.guest-main{min-width:0}.guest-toolbar{position:sticky;top:0;z-index:3;background:var(--guest-paper);padding-bottom:10px}.guest-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:28px 30px 17px}.guest-heading .guest-eyebrow{font-size:9px;margin-bottom:9px}.guest-heading h2{font:26px/1.25 Georgia,serif;letter-spacing:-.025em;margin:0;color:var(--guest-ink)}.guest-heading h2 i{color:#a65d50;font-weight:normal;padding:0 2px}
.wedding-guest-dialog .guest-close{min-width:48px;min-height:44px;padding:8px;border:1px solid #d4d9cc;border-radius:50%;background:#f4f1e6;color:#446050;font-size:11px;flex-shrink:0}
.guest-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:0 30px;padding:4px;border:1px solid var(--guest-line);border-radius:12px;background:#edf0e5}.guest-tabs button{border:0;border-radius:8px;padding:10px 6px;min-height:44px;color:#526359;background:transparent;font-size:13px}.guest-tabs button[aria-selected=true]{background:#234f4a;color:#fff9ed;box-shadow:0 2px 5px #234f4a20}
.guest-content{padding:25px 30px 28px}.guest-panel h3{font:30px/1.18 Georgia,serif;letter-spacing:-.02em;margin:0 0 13px;color:var(--guest-ink)}.guest-panel h3 em{font-weight:normal;color:#a55e4e}.guest-panel p{color:var(--guest-muted);margin-top:0}.guest-panel .guest-intro{font-size:13px;line-height:1.6;margin-bottom:21px}.guest-panel .guest-eyebrow{font-size:10px;color:#79613c}.guest-letter>p:not(.guest-eyebrow):not(.guest-fineprint){max-width:430px;font:15px/1.75 Georgia,serif}.guest-letter h3{font-size:40px;margin:0 0 17px}
.guest-date-card{display:flex;align-items:center;gap:16px;margin:22px 0 17px;padding:15px 18px;border-block:1px solid #d5dacb;background:linear-gradient(90deg,#edf0e4,transparent)}.guest-date-day{font:52px/1 Georgia;color:#a65d50}.guest-date-card>div{display:grid;gap:4px}.guest-date-card b{font-size:11px;letter-spacing:.13em}.guest-date-card>div>span{font-size:12px;color:#64705f}
.wedding-guest-dialog .guest-venue-link{width:100%;text-align:left;display:grid;gap:3px;border:0;border-left:2px solid #ba8764;border-radius:0;padding:4px 14px;background:transparent;color:var(--guest-ink);margin-bottom:23px}.guest-venue-link>span{font-size:9px;letter-spacing:.12em;color:#81613e}.guest-venue-link strong{font:21px/1.4 Georgia}.guest-venue-link small{font-size:12px;color:#61715d}
.wedding-guest-dialog .guest-primary,.wedding-guest-dialog .guest-secondary{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #234f4a;border-radius:9px;padding:12px 15px;font:13px/1.5 Arial,sans-serif;text-decoration:none;text-align:center;letter-spacing:.01em}.wedding-guest-dialog .guest-primary{width:100%;background:#234f4a;color:#fff9ec}.wedding-guest-dialog .guest-primary:hover{background:#153d36}.wedding-guest-dialog .guest-secondary{background:#f7f7ed;color:#234f4a;border-color:#ccd5c4}.wedding-guest-dialog .guest-secondary:hover{background:#eaf0e1}
.guest-panel .guest-fineprint{font:11px/1.7 Arial,sans-serif;color:#69735f;margin:12px 0 0}.guest-fineprint a{color:#31584c;text-decoration:underline;text-underline-offset:3px}.guest-field{margin-bottom:17px}.guest-field>label,.guest-panel legend{display:block;font-size:13px;color:#294e40;font-weight:bold;margin-bottom:7px}.guest-field label small{font-size:11px;font-weight:normal;color:#68735f}.guest-field label>span,.guest-panel legend>span{color:#a25942}
.guest-field input,.guest-field textarea,.guest-field select{width:100%;min-height:48px;border:1px solid #c6d0bf;border-radius:8px;background:#fffdf8;color:#274e41;font:16px/1.5 Arial,sans-serif;padding:10px 12px}.guest-field textarea{resize:vertical;min-height:83px;max-height:240px}.guest-field input::placeholder,.guest-field textarea::placeholder{color:#7a8171;opacity:1;font-size:14px}.guest-field [aria-invalid=true]{border-color:#aa4639;background:#fff5ee}
.guest-panel fieldset{border:0;min-width:0;margin:0 0 18px;padding:0}.guest-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.guest-choices label{display:flex;gap:8px;align-items:flex-start;border:1px solid #cbd4c2;border-radius:10px;padding:13px 10px;background:#fffdf6;cursor:pointer;min-height:76px}.guest-choices label:has(:checked){border-color:#356851;background:#e9f0e0;box-shadow:inset 0 0 0 1px #356851}.guest-choices input{width:17px;height:17px;accent-color:#234f4a;margin:1px 0;flex:0 0 auto}.guest-choices span{display:grid;gap:5px}.guest-choices b{font-size:12px;font-weight:bold;line-height:1.5}.guest-choices small{color:#65765f;font-size:11px;line-height:1.5}
.guest-panel .guest-error{font-size:12px;color:#a43f32;margin:7px 0 0;line-height:1.5}.guest-panel .guest-local-note{font:11px/1.7 Arial,sans-serif;color:#66765e;padding:12px 14px;background:#eef1e5;border-radius:8px;margin:18px 0}.guest-confirmation{text-align:center;padding:12px 0 0}.guest-confirmation h3{font-size:31px;overflow-wrap:anywhere}.guest-confirmation>p:not(.guest-eyebrow):not(.guest-local-note){font-size:14px}.guest-seal{display:grid;place-items:center;width:69px;height:69px;border:1px solid #bfad87;border-radius:50%;background:#efebd7;color:#a75948;font-size:26px;margin:0 auto 22px;box-shadow:0 0 0 6px #f2efdf}.guest-confirmation blockquote{font:italic 17px/1.65 Georgia,serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;color:#657052}.guest-edit-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:10px}.guest-edit-actions button{min-height:44px;border:0;background:transparent;color:#4c6451;padding:8px;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.guest-panel address{font:14px/1.65 Arial,sans-serif;color:#355346;margin:-8px 0 20px;user-select:text}.guest-map{position:relative;height:225px;border:1px solid #ccd7c7;border-radius:14px;overflow:hidden;background:#e6edde;margin-bottom:10px}.guest-map-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:4px;background:radial-gradient(ellipse at 75% 20%,#d0dccc,transparent 70%),linear-gradient(145deg,#edf1e0,#d5e2d7);color:#3b634d}.guest-map-placeholder svg{width:44px;height:44px;margin-bottom:12px}.guest-map-placeholder b{font:23px Georgia}.guest-map-placeholder span{font-size:12px;color:#637660}.guest-map iframe{display:block;border:0;width:100%;height:100%;position:absolute;inset:0;background:#e6edde}.guest-map.has-map .guest-map-placeholder{visibility:hidden}#guest-load-map{width:100%;min-height:44px;padding:8px}.guest-map-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.guest-map-actions .guest-primary,.guest-map-actions .guest-secondary{font-size:12px;padding:10px 7px}
body:has(.wedding-guest-dialog[open]){overflow:hidden!important}
@media(max-width:760px),(max-height:500px) and (pointer:coarse){
 .wedding-guest-dialog{position:fixed;inset:auto 0 0;width:100%;max-height:calc(100dvh - max(10px,env(safe-area-inset-top)));margin:0 auto;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.guest-shell{display:block;min-height:0}.guest-cover{display:none}.guest-heading{padding:20px 20px 16px;gap:10px}.guest-heading h2{font-size:25px;max-width:270px;line-height:1.3}.guest-heading .guest-eyebrow{font-size:8px;margin-bottom:7px}.guest-heading .guest-close{min-width:44px;font-size:11px}.guest-tabs{margin:0 20px;position:sticky;top:0;z-index:2;border-color:#d4dbcc;box-shadow:0 -6px 0 5px var(--guest-paper);background:#edf0e5}.guest-tabs button{font-size:12px;min-height:44px}.guest-content{padding:23px 20px 25px}.guest-letter h3{font-size:37px}.guest-letter>p:not(.guest-eyebrow):not(.guest-fineprint){font-size:16px}.guest-date-card{margin:20px 0 17px}.guest-date-card b{font-size:10px}.guest-date-card>div>span{font-size:11px}.guest-panel h3{font-size:28px}.guest-choices{gap:7px}.guest-choices label{padding:12px 9px}.guest-choices b{font-size:12px}.guest-choices small{font-size:10px}.guest-map{height:220px}.guest-panel .guest-intro{margin-bottom:19px}
 [data-product="wedding-invitation"] .mobile-heading .product-description{max-width:330px}[data-product="wedding-invitation"] .mobile-visual{min-height:0}
}
@media(max-width:360px){.guest-heading{padding-inline:16px}.guest-heading h2{font-size:23px}.guest-content{padding-inline:16px}.guest-tabs{margin-inline:16px}.guest-choices{grid-template-columns:1fr}.guest-choices label{min-height:62px}.guest-choices span{gap:2px}.guest-panel h3{font-size:27px}.guest-map-actions{grid-template-columns:1fr}.guest-letter h3{font-size:35px}}
@media(prefers-reduced-motion:no-preference){.wedding-guest-dialog[open]{animation:guest-arrive .28s ease-out}@keyframes guest-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.wedding-guest-dialog *{scroll-behavior:auto!important}}
