/* 沿用已批准的蓝色水彩与金粉，仅调整回执步骤。 */
#rsvp{padding:26px 24px;min-height:650px}
#rsvp .step-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:44px}
#rsvp-title{grid-column:2;font-size:19px;white-space:nowrap}
#rsvp-back{grid-column:1;grid-row:1;justify-self:start;background:transparent;border:0;font-size:14px;min-height:44px;padding:0}
#step-count{grid-column:3;grid-row:1;text-align:right;font-size:12px}
#rsvp form{margin-top:22px;display:flex;flex:1;flex-direction:column;text-align:center}
#rsvp .selected-summary{padding:8px 10px;margin:0 0 28px;background:#ffffff50;font-size:14px;border-radius:3px;overflow-wrap:anywhere}
#rsvp [data-step]{width:100%}
#rsvp [data-step=initial]{display:grid;gap:26px}
#rsvp .rsvpdate time{font-size:20px}#rsvp .rsvpdate p{font-size:14px;margin:8px 0 0}
#rsvp .attendance{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#rsvp .attendance legend{margin-bottom:12px}#rsvp label{font-size:14px}
#rsvp .attendance label,#rsvp .options label{min-height:44px;padding:8px 12px}
#rsvp :is(input:not([type=radio]),textarea){font-size:16px!important;padding:9px 7px!important;line-height:1.4;min-height:44px}
#rsvp .attendance-note{font-size:14px;line-height:1.8}
#rsvp .message-label{display:block}#rsvp textarea{margin-top:8px}
#rsvp [data-step=details]{display:grid;gap:32px}
#rsvp .guest-count,#rsvp .diet-row{flex-wrap:wrap}
#rsvp [data-step=lodging]>fieldset+fieldset{margin-top:34px}
#rsvp .options{gap:12px}#rsvp .stay-options{flex-direction:column;align-items:center}
#rsvp .stay-options label{width:100%;justify-content:center}
#rsvp [data-step=shipping]{display:grid;gap:28px}
#rsvp .review-summary{padding:18px 12px;background:#ffffff55;line-height:1.8;overflow-wrap:anywhere;white-space:pre-line;font-size:15px}
#rsvp .review-note,#rsvp .draft-note{font-size:12px;color:var(--muted)}
#rsvp .summary-btn{min-height:46px;margin-top:36px;padding:10px 16px;border-radius:2px;font-size:16px}
#rsvp .receipt{font-size:14px}#rsvp .receipt.error{color:#8a2828}
#rsvp [data-step=success]{padding-top:30px;line-height:1.9}#rsvp .success-mark{font-size:40px}
#rsvp .draft-note{margin-top:16px;margin-bottom:0}
#rsvp button:disabled{cursor:wait;opacity:.65}
@media(max-width:1279px){#rsvp{min-height:100svh;padding:24px clamp(18px,6vw,36px) 30px}}
@media(max-width:350px){#rsvp .rsvpdate time{font-size:18px}#rsvp .pair{gap:8px}#rsvp .attendance label{min-width:0}}

/* 选择后展开，只有一次最终确认；表单自然增高，避免短屏截断。 */
body main #rsvp{height:auto!important;max-height:none!important;overflow:visible!important}
#rsvp form>[data-step]:not([data-step=initial]):not([data-step=success]){margin-top:28px}
#rsvp [hidden]{display:none!important}
