/* Scoped to the existing RSVP shell; invitation and card styles stay untouched. */
#rsvp-form{--flow-space:20px;--flow-control:54px;--flow-radius:12px;--flow-border:#d7c093;--flow-background:#fffdfa;--flow-selected:#f3e8d0;font:16px/1.6 var(--sans);color:var(--ink)}
#rsvp-progress{list-style:none;display:flex;justify-content:space-between;gap:10px;padding:0 0 24px;margin:0 0 30px;border-bottom:1px solid var(--flow-border);scroll-margin-top:100px}
#rsvp-progress li{display:flex;gap:8px;align-items:center;font-size:16px;color:var(--muted)}
#rsvp-progress li[aria-current]{color:var(--wine);font-weight:600}
#rsvp-progress li span{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--flow-border);border-radius:50%;font-size:15px}
#rsvp-progress li[aria-current] span{background:var(--wine);border-color:var(--wine);color:var(--pearl)}
#rsvp-form .rsvp-part-title h3{margin-bottom:12px}
#rsvp-form .flow-help{font-size:16px;line-height:1.6;margin:0 0 24px;color:var(--muted)}
#rsvp-form label{font-size:16px;font-weight:500}
#rsvp-form input:not([type=hidden]):not([type=checkbox]),#rsvp-form select,#rsvp-form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:var(--flow-control);margin-top:8px;padding:13px 15px;border:1px solid var(--flow-border);border-radius:var(--flow-radius);background:var(--flow-background);color:var(--ink);font:16px/1.5 var(--sans)}
#rsvp-form textarea{resize:vertical;min-height:120px}
#rsvp-form .flow-person{display:flex;gap:12px;align-items:end;margin-bottom:var(--flow-space)}
#rsvp-form .flow-person label{flex:1;min-width:0}
#rsvp-form .flow-text-button{border:0;background:transparent;color:var(--wine);font:16px var(--sans);text-decoration:underline;text-underline-offset:3px;min-height:48px;padding:10px 6px;cursor:pointer}
#rsvp-form .add-guest{margin:0 0 28px;font:16px var(--sans);min-height:48px}
#rsvp-form .flow-email{display:block;margin-bottom:12px}
#rsvp-form .flow-modes{display:grid;gap:12px}
#rsvp-form .flow-choice{display:block;width:100%;text-align:left;border:1px solid var(--flow-border);border-radius:var(--flow-radius);background:var(--flow-background);color:var(--ink);padding:18px 20px;font:16px/1.5 var(--sans)}
#rsvp-form .flow-choice strong{display:block;font-weight:600;font-size:18px}
#rsvp-form .flow-choice span{display:block;margin-top:4px;font-size:16px;color:var(--muted)}
#rsvp-form button[aria-pressed=true]{border-color:var(--wine);background:var(--flow-selected);box-shadow:inset 0 0 0 1px var(--wine)}
#rsvp-form .flow-fieldset{min-width:0;border:0;border-top:1px solid var(--flow-border);padding:20px 0 0;margin:28px 0 0}
#rsvp-form .flow-fieldset legend{float:none;width:auto;max-width:100%;padding:0 10px 0 0;font:500 24px/1.3 var(--serif);color:var(--wine);overflow-wrap:anywhere}
#rsvp-form .flow-events{display:grid;gap:10px}
#rsvp-form .flow-event,#rsvp-form .flow-toggle{display:flex;gap:12px;align-items:center;min-height:52px;padding:10px 0;font-size:17px}
#rsvp-form input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;accent-color:var(--wine);margin:0}
#rsvp-form .flow-event small{display:block;font-size:16px;font-weight:400;color:var(--muted);line-height:1.5;margin-top:2px}
#rsvp-form .flow-exceptions{margin-top:24px}
#rsvp-form .flow-review-person{padding:18px 0;border-bottom:1px solid var(--flow-border);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;overflow-wrap:anywhere}
#rsvp-form .flow-review-person strong{font-size:18px;font-weight:600}
#rsvp-form .flow-review-person p{grid-column:1/-1;margin:4px 0 0;font-size:16px;color:var(--muted)}
#rsvp-form .flow-contact{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:center;overflow-wrap:anywhere;margin:20px 0}
#rsvp-form .flow-optional{border-top:1px solid var(--flow-border);padding:8px 0}
#rsvp-form .flow-optional summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;min-height:56px;font:500 27px/1.3 var(--serif);color:var(--wine)}
#rsvp-form .flow-optional summary::after{content:'+';font:24px var(--serif)}
#rsvp-form .flow-optional[open] summary::after{content:'−'}
#rsvp-form .flow-optional summary span{margin-left:auto;font:16px var(--sans);color:var(--muted)}
#rsvp-form .flow-travel{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 20px}
#rsvp-form .flow-travel button,#rsvp-form .flow-back{min-height:48px;border:1px solid var(--flow-border);background:var(--flow-background);color:var(--wine);border-radius:var(--flow-radius);padding:12px 16px;font:16px var(--sans)}
#rsvp-form .flow-date-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin-bottom:20px}
#rsvp-form .flow-date-grid > label{min-width:0}
#rsvp-form .flow-date-grid input[type=date]{max-width:100%;height:var(--flow-control);-webkit-appearance:none;appearance:none}
#rsvp-form .flow-date-grid input[type=date]::-webkit-date-and-time-value{text-align:left}
#rsvp-form .flow-note{display:block;padding-bottom:16px}
#rsvp-form .flow-ready{margin:20px 0;color:var(--muted)}
#rsvp-form .flow-actions{display:flex;gap:12px;margin-top:28px}
#rsvp-form .flow-actions .submit{flex:1;width:auto;font-family:var(--sans)}
#rsvp-form [aria-invalid=true]{outline:2px solid var(--wine);outline-offset:3px}
#rsvp-form button:disabled{cursor:default;opacity:.65}
#rsvp-form summary:focus-visible,#rsvp-form select:focus-visible,#rsvp-form textarea:focus-visible{outline:3px solid #a5762d;outline-offset:3px}
@media(max-width:600px){#rsvp-progress{gap:6px}#rsvp-progress li{font-size:15px;gap:5px}#rsvp-progress li span{width:24px;height:24px}#rsvp-form .flow-date-grid{grid-template-columns:minmax(0,1fr)}#rsvp-form .flow-choice{padding:16px}#rsvp-form .flow-person{gap:6px}}
