.guest-details-dialog { box-sizing:border-box; width:min(650px,calc(100% - 24px)); max-height:calc(100dvh - 24px); margin:auto; padding:20px; color:#2f3e48; border:1px solid #c4d6e3; border-radius:14px; background:#fffefd; box-shadow:0 14px 55px #21394e35; overflow-y:auto; overflow-wrap:anywhere; }
.guest-details-dialog::backdrop { background:#1b2d3a66; }
.guest-details-dialog * { box-sizing:border-box; min-width:0; }
.guest-details-head { display:flex; gap:12px; justify-content:space-between; align-items:flex-start; }
.guest-details-head h2 { margin:0; font:400 clamp(1.5rem,5vw,2rem)/1.25 var(--serif,Georgia,serif); }
.guest-details-head h2:focus { outline:none; }
.guest-details-dialog h3 { margin:0 0 12px; font:650 1.05rem/1.35 var(--sans,Arial,sans-serif); }
.guest-details-dialog p { line-height:1.5; }
.guest-details-summary { margin:8px 0 14px; color:#526674; font-size:.9rem; }
.guest-details-button { min-height:44px; max-width:100%; border:1px solid #b9cedf; border-radius:8px; background:#fff; color:#29485f; padding:10px 14px; font:600 .9rem/1.35 var(--sans,Arial,sans-serif); cursor:pointer; white-space:normal; overflow-wrap:anywhere; }
.guest-details-button.is-primary { background:#cee2f2; border-color:#afcce1; color:#243f54; }
.guest-details-button:disabled { opacity:.55; cursor:wait; }
.guest-details-button:focus-visible,.guest-details-dialog summary:focus-visible { outline:3px solid #37698d; outline-offset:3px; }
.guest-details-section { margin:20px 0 0; padding-top:18px; border-top:1px solid #dbe4ea; }
.guest-details-facts { margin:0; }
.guest-details-line { display:grid; grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr); gap:5px 16px; margin:9px 0; font-size:.9rem; line-height:1.5; }
.guest-details-line dt { color:#586c79; }
.guest-details-line dd { margin:0; white-space:pre-wrap; }
.guest-details-note { margin:8px 0; color:#526674; font-size:.85rem; }
.guest-details-family { list-style:none; padding:0; margin:10px 0; display:grid; gap:8px; }
.guest-details-family li { display:grid; gap:4px; padding:8px 0; }
.guest-details-family button { justify-self:start; }
.guest-details-family small { color:#586c79; }
.guest-details-invitation-tools { margin-top:12px; }
.guest-details-dialog summary { min-height:44px; padding:10px 0; cursor:pointer; line-height:1.5; font-size:.9rem; }
.guest-details-response + .guest-details-response { margin-top:18px; padding-top:16px; border-top:1px solid #e0e7ec; }
.guest-details-attendance { display:inline-block; padding:5px 10px; border-radius:6px; color:#29485f; background:#e9f2f9; font-size:.9rem; }
.guest-details-table { display:block; font-size:1.1rem; }
.guest-details-footer { margin-top:22px; }
.guest-details-feedback { padding:10px 12px; border-radius:6px; color:#355b73; background:#edf5fa; font-size:.9rem; }
.guest-details-feedback.is-error { color:#8d3528; background:#fff0ed; }
.guest-details-feedback[hidden] { display:none; }
@media(max-width:520px) { .guest-details-dialog { padding:16px; }.guest-details-head { flex-wrap:wrap; }.guest-details-head h2 { flex:1 1 160px; }.guest-details-line { grid-template-columns:minmax(0,1fr); }.guest-details-content > .is-primary { width:100%; } }
html.wedding-large-text .guest-details-line { grid-template-columns:minmax(0,1fr); }
@media(prefers-reduced-motion:reduce) { .guest-details-dialog { scroll-behavior:auto; } }
