/* A reply card inspired by the cream invitation and red monogram seal. */
#week #rsvp-prompt{position:relative;background:#fffaf2;color:#35232a;border:0;border-radius:4px;padding:30px 34px;margin-top:36px;gap:20px;box-shadow:0 16px 45px #120c1420}
#week #rsvp-prompt:before{content:'';position:absolute;inset:8px;border:1px solid #b18d5d30;pointer-events:none}
#week #rsvp-prompt h3{color:#452333;font-size:46px;margin:0 0 8px}
#week #rsvp-prompt p{color:#76635f;font-size:15px}
#week #rsvp-prompt .rsvp-open{display:flex;align-items:center;justify-content:center;gap:18px;background:transparent;border:0;box-shadow:none;color:#842936;padding:8px 0;min-height:70px;position:relative;font-weight:600}
#week #rsvp-prompt .rsvp-open:before{content:'N&S';display:grid;place-items:center;width:58px;height:58px;flex-shrink:0;border-radius:50%;background:#ad2634;color:#fffaf2;font:italic 23px/1 var(--serif);box-shadow:0 0 0 7px #ad26340c,0 8px 20px #ad263429;transition:transform .3s,box-shadow .3s}
#week #rsvp-prompt .rsvp-open:hover:before{transform:rotate(-7deg);box-shadow:0 0 0 10px #ad26340a,0 10px 26px #ad263440}
#week #rsvp-prompt .rsvp-open:focus-visible{outline:2px solid #ad2634;outline-offset:7px}
#rsvp-dialog{background:#fffaf2;color:#35232a;border:1px solid #b18d5d66;border-radius:14px;padding:38px;width:min(590px,calc(100vw - 28px));box-shadow:0 32px 100px #10091080}
#rsvp-dialog[open]{animation:reply-unfold .55s cubic-bezier(.2,.85,.25,1) both;transform-origin:50% 85%}
#rsvp-dialog::backdrop{background:#160d15bb;backdrop-filter:blur(8px)}
#rsvp-dialog .label{color:#a13540;font-size:12px;letter-spacing:.13em}
#rsvp-dialog h2{color:#452333;font-size:56px;padding-right:10px}
#rsvp-dialog h2 em{color:#ad2634}
#rsvp-dialog .rsvp-intro{color:#76635f;font-size:16px}
#rsvp-dialog .rsvp-close{color:#842936;background:transparent}
#rsvp-dialog .rsvp-days{gap:0;margin-top:24px;border-top:1px solid #b18d5d50}
#rsvp-dialog .rsvp-days legend{padding-bottom:12px;color:#75605a}
#rsvp-dialog .rsvp-day{border:0;border-bottom:1px solid #b18d5d44;border-radius:0;background:transparent;padding:16px 6px;grid-template-columns:22px 62px 1fr 20px;gap:12px}
#rsvp-dialog .rsvp-day:has(input:checked){background:#ad26340a;box-shadow:inset 3px 0 #ad2634}
#rsvp-dialog .rsvp-date strong{color:#a13540;font-size:34px;font-weight:400}
#rsvp-dialog .rsvp-date small{color:#77665f;font-size:12px}
#rsvp-dialog .rsvp-day-title{color:#35232a;font-size:16px;line-height:1.5}
#rsvp-dialog .rsvp-check{color:#ad2634}
#rsvp-dialog input[type=checkbox]{accent-color:#ad2634}
#rsvp-form input:not([type=checkbox]),#rsvp-form select,#rsvp-form textarea{background:#fffdf9;border:1px solid #b9a597;color:#35232a;border-radius:5px;font-size:16px}
#rsvp-form input::placeholder,#rsvp-form textarea::placeholder{color:#8b7870}
#rsvp-form select option{background:#fffaf2;color:#35232a}
#rsvp-dialog .rsvp-size-note,#rsvp-dialog .rsvp-private,#rsvp-dialog .rsvp-extras summary span{color:#77665f}
#rsvp-dialog .rsvp-send{background:#ad2634;border:1px solid #ad2634;color:#fffaf2;min-height:52px;box-shadow:0 8px 20px #ad263419}
#rsvp-dialog .rsvp-send:hover{background:#922332}
#rsvp-dialog .rsvp-status{color:#4d664a}#rsvp-dialog .rsvp-status.error{color:#a02532}
#rsvp-dialog :focus-visible{outline:2px solid #ad2634;outline-offset:3px}
#rsvp-dialog .rsvp-success:before{content:'N&S';display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:#ad2634;color:#fffaf2;font:italic 25px var(--serif);margin-bottom:28px;box-shadow:0 0 0 8px #ad26340b}
@keyframes reply-unfold{from{opacity:0;transform:translateY(22px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:600px){#week #rsvp-prompt{padding:27px 23px}#week #rsvp-prompt h3{font-size:39px}#week #rsvp-prompt .rsvp-open{width:100%;justify-content:flex-start;margin-top:18px;padding-left:7px}#rsvp-dialog{padding:32px 22px 24px;max-height:calc(100dvh - 24px)}#rsvp-dialog h2{font-size:48px}#rsvp-dialog .rsvp-day{grid-template-columns:20px 54px 1fr 16px;gap:9px}#rsvp-dialog .rsvp-day-title{font-size:15px}}
@media(prefers-reduced-motion:reduce){#rsvp-dialog[open]{animation:none}#week #rsvp-prompt .rsvp-open:before{transition:none}}

/* Event-specific party sizes, revealed under the selected day. */
#rsvp-dialog .rsvp-event-counts{padding:8px 6px 16px 36px;display:grid;gap:12px}
#rsvp-dialog .rsvp-event-counts label{display:grid;grid-template-columns:minmax(0,1fr) minmax(115px,145px);align-items:center;gap:14px;font-size:14px}
#rsvp-form .rsvp-event-counts select{margin:0;border:0;border-bottom:1px solid #b18d5d66;background:#ad263406;border-radius:0;padding:10px 6px}
#rsvp-dialog .rsvp-person{grid-template-columns:1fr}

@media(max-width:400px){#rsvp-dialog .rsvp-event-counts{padding-left:6px}#rsvp-dialog .rsvp-event-counts label{grid-template-columns:minmax(0,1fr) 122px;gap:9px}}
/* Keep the cream reply card, with softened glass edges. */
#week #rsvp-prompt{border-radius:28px;background:linear-gradient(135deg,#fffaf2f5,#f4e7d3e8);border:1px solid #fffaf240;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 15px 42px #170e1718}
#week #rsvp-prompt:before{display:none}
#rsvp-dialog{border-radius:26px;border-color:#fffaf270;background:linear-gradient(145deg,#fffaf2,#f6eddf);box-shadow:0 30px 100px #160d1555}
/* Keep the invitation to reply directly with the schedule controls. */
#week .schedule-glass #rsvp-prompt{display:block;margin-top:20px;padding:21px 20px;border-radius:20px}
#week .schedule-glass #rsvp-prompt h3{font-size:36px;line-height:1.2;margin-bottom:8px}
#week .schedule-glass #rsvp-prompt p{font-size:14px;line-height:1.6}
#week .schedule-glass #rsvp-prompt .rsvp-open{justify-content:flex-start;width:100%;gap:16px;margin-top:14px;padding:6px 0 6px 5px;font-size:14px}
#week .schedule-glass #rsvp-prompt .rsvp-open:before{width:48px;height:48px;font-size:21px}
#week .schedule-glass #rsvp-overview:not(:empty){margin-top:14px}
@media(max-width:380px){#week .schedule-glass #rsvp-prompt{padding:18px 16px}#week .schedule-glass #rsvp-prompt h3{font-size:32px}}
/* Remove the remaining cream/glass card within the schedule. */
#week .schedule-glass,#week .schedule-glass #rsvp-prompt{background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:0}
#week .schedule-glass #rsvp-prompt{padding:20px 0 0}
#week #rsvp-prompt:before,#week #rsvp-prompt:after{display:none}
#week .schedule-glass #rsvp-prompt h3{color:#f4eddf}
#week .schedule-glass #rsvp-prompt p{color:#dfcbd0}
#week .schedule-glass #rsvp-prompt .rsvp-open{color:#efd09e;background:none;box-shadow:none}
#week .schedule-dates button:not([aria-pressed=true]){background:transparent;border-color:transparent;box-shadow:none}
/* A single, compact invitation row: message left, seal and action right. */
#week .schedule-glass #rsvp-prompt{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 18px;background:linear-gradient(135deg,#fffaf2f5,#f4e7d3ee);border:1px solid #fffaf240;border-radius:22px;padding:21px 20px;margin-top:22px;box-shadow:0 10px 30px #170e1718}
#week .schedule-glass #rsvp-prompt h3{font-size:clamp(24px,2.2vw,32px);line-height:1.2;color:#452333;margin:0 0 7px}
#week .schedule-glass #rsvp-prompt p{color:#76635f;font-size:14px;line-height:1.5}
#week .schedule-glass #rsvp-prompt .rsvp-open{width:auto;min-height:48px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;margin:0;padding:5px 0;background:transparent;color:#842936;font-size:13px;white-space:nowrap;box-shadow:none}
#week .schedule-glass #rsvp-prompt .rsvp-open:before{width:43px;height:43px;font-size:20px}
#week .schedule-glass #rsvp-overview{grid-column:1/-1;margin-top:0}
@media(max-width:1150px){#week .schedule-glass #rsvp-prompt .rsvp-open{flex-direction:column;gap:9px;font-size:12px}#week .schedule-glass #rsvp-prompt{gap:12px;padding:19px 16px}}
@media(max-width:700px){#week .schedule-glass #rsvp-prompt h3{font-size:26px}#week .schedule-glass #rsvp-prompt{grid-template-columns:minmax(0,1fr) auto}#week .schedule-glass #rsvp-prompt .rsvp-open{margin:0;width:auto}}
