/* RSVP uses the invitation's existing paper, type and burgundy tokens. */
#rsvp .wrap{align-items:start}
.rsvp-panel{min-width:0;padding:36px}
.rsvp-fields,.rsvp-choice,.rsvp-guest{border:0;margin:0;padding:0;min-width:0}
.rsvp-fields{display:grid;gap:28px}
.rsvp-fields:disabled{opacity:.65}
.rsvp-status{font-size:16px;overflow-wrap:anywhere}
.rsvp-status:empty{display:none}
.rsvp-status:not(:empty){margin-bottom:24px}
.rsvp-status[data-tone="error"],.rsvp-error{color:var(--burgundy-dark);font-weight:500}
.rsvp-choice legend{font-size:19px;font-weight:600;margin-bottom:12px;padding:0}
.rsvp-radio-row{display:grid;gap:10px}
.rsvp-radio-row label{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:8px 0;cursor:pointer}
.rsvp-radio-row input{width:20px;height:20px;flex:0 0 20px;margin:3px 0 0}
.rsvp-contact,.rsvp-extras{display:grid;gap:24px}
.rsvp-field{min-width:0}
.rsvp-field>label{display:block;font-size:16px;font-weight:500;margin-bottom:8px}
.rsvp-field input,.rsvp-field select,.rsvp-field textarea{width:100%;min-width:0;min-height:50px;padding:12px 14px;background:var(--paper);border:1px solid var(--muted);border-radius:0;font-size:16px;line-height:1.5}
.rsvp-field textarea{resize:vertical;min-height:112px}
.rsvp-field input::placeholder,.rsvp-field textarea::placeholder{color:var(--muted);opacity:1}
.rsvp-field [aria-invalid="true"]{border-color:var(--burgundy-dark);outline:1px solid var(--burgundy-dark)}
.rsvp-field input:focus-visible,.rsvp-field textarea:focus-visible,.rsvp-field select:focus-visible{outline-offset:2px}
.rsvp-hint,.rsvp-privacy{font-size:15px;color:var(--muted);line-height:1.6}
.rsvp-hint{margin-top:8px}
.rsvp-error{font-size:15px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}
.rsvp-guest-intro h3{font-size:32px;margin-bottom:12px}
.rsvp-guest-intro p{font-size:16px;max-width:50ch}
#rsvp-guests{display:grid;gap:30px;margin-top:24px}
.rsvp-guest{background:var(--sand-light);padding:24px}
.rsvp-guest legend{float:left;width:100%;padding:0;margin-bottom:20px;font-family:var(--serif);font-size:28px;line-height:1.15}
.rsvp-guest-body{clear:both;display:grid;gap:20px}
.rsvp-guest-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rsvp-guest .rsvp-field input,.rsvp-guest .rsvp-field select,.rsvp-guest .rsvp-field textarea{background:var(--paper-light)}
.rsvp-guest .rsvp-field textarea{min-height:82px}
.rsvp-remove{justify-self:start;background:transparent;border:0;color:var(--burgundy-dark);padding:8px 0;text-align:start;text-decoration:underline;text-underline-offset:.24em;min-height:44px;font-size:15px}
.rsvp-remove:hover{color:var(--ink)}
.rsvp-add{margin-top:24px}
.rsvp-extras{margin-top:32px}
.rsvp-submit{justify-self:start;max-width:100%}
.rsvp-panel button:disabled{cursor:wait;opacity:.65;transform:none}
.rsvp-panel .rsvp-add:disabled{cursor:default}
.rsvp-retry{border:0;padding:0;background:transparent;color:var(--burgundy-dark);margin-bottom:24px}
.rsvp-confirmation h3{font-size:36px;margin-bottom:20px}
.rsvp-confirmation>p{font-size:17px;max-width:50ch}
.rsvp-reference{margin-top:20px;overflow-wrap:anywhere}
.rsvp-reference strong{display:inline-block;font-size:18px}
.rsvp-confirmation>.btn{margin-top:28px}
.rsvp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1200px){.rsvp-contact{grid-template-columns:1fr 1fr}}
@media(max-width:1000px) and (min-width:761px){#rsvp .wrap{grid-template-columns:.65fr 1.35fr;gap:32px}.rsvp-panel{padding:28px}.rsvp-guest{padding:20px}.rsvp-guest-grid{grid-template-columns:1fr}}
@media(max-width:520px){.rsvp-panel{padding:28px 20px}.rsvp-fields{gap:24px}.rsvp-guest{padding:20px 16px}.rsvp-guest-grid{grid-template-columns:1fr}.rsvp-submit,.rsvp-add,.rsvp-confirmation>.btn{width:100%}.rsvp-submit{justify-self:stretch}.rsvp-confirmation h3{font-size:32px}}
