[data-rsvp-surface], .w-rsvp-confirmation {
  --rsvp-ink: var(--el-text, var(--ink, var(--w-ink, #30302c)));
}
[data-rsvp-surface] { scroll-margin-top: 100px; }
[data-rsvp-surface] [hidden] { display: none !important; }
[data-rsvp-surface] :is([data-rsvp-feedback], [data-rsvp-edit-notice], [data-rsvp-network-error]) { scroll-margin-top: 110px; }
[data-rsvp-surface] :is(a, button, input, select, textarea):focus-visible,
[data-rsvp-surface] [tabindex="-1"]:focus { outline: 2px solid currentColor; outline-offset: 4px; }
[data-rsvp-surface] button[type="submit"] { min-height: 48px; }
[data-rsvp-surface] button[type="submit"]:disabled { cursor: wait; }
[data-rsvp-surface] .w-alert[data-rsvp-feedback] { margin-bottom: 24px; font-size: 16px; }
[data-rsvp-surface] .w-field > :is(label:not(.w-checkbox), .w-field-label),
[data-rsvp-surface] .w-choice-list legend {
  color: var(--rsvp-ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: none;
}
[data-rsvp-surface] :is(.w-form-note, .w-choice > span, .w-choice-options label, .w-checkbox) { font-size: 16px; }
[data-rsvp-surface].w-rsvp :is(.w-kicker, .w-form-note, .w-checkbox, .w-choice-options label) { color: var(--rsvp-ink); }
[data-rsvp-surface].w-rsvp input::placeholder, [data-rsvp-surface].w-rsvp textarea::placeholder { color: color-mix(in srgb, var(--rsvp-ink) 78%, transparent); opacity: 1; }
[data-rsvp-surface] .w-choice-options label { min-height: 44px; display: inline-flex; align-items: center; }
[data-rsvp-surface] :is(.w-form-grid > *, .w-choice > *) { min-width: 0; }
[data-rsvp-surface] :is(.w-choice > span, .w-field label) { overflow-wrap: anywhere; }
[data-rsvp-surface] [role="group"][aria-labelledby^="rsvp-event-"] { flex-wrap: wrap; }
[data-rsvp-surface] [data-rsvp-network-error] { padding: 16px; border: 1px solid currentColor; line-height: 1.6; }
@media (max-width: 680px) {
  [data-rsvp-surface] :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }
}
.w-rsvp-confirmation .w-copy + .w-copy { margin-top: 20px; }
.w-rsvp-confirmation .w-copy { font-size: 16px; font-weight: 400; color: var(--rsvp-ink); }
.w-rsvp-confirmation .w-rsvp-confirmation-actions { margin-top: 32px; }
.w-rsvp-confirmation .w-btn { min-height: 48px; }
.rsvp-private-link { max-width: 40rem; margin: 24px auto; text-align: left; font-size: 16px; line-height: 1.6; }
.rsvp-private-link p + p { margin-top: 12px; }
.rsvp-private-link a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.rsvp-private-link label { display: block; margin-top: 16px; }
.rsvp-private-link input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 4px; }
.rsvp-private-link :is(input, a):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
/* Editorial keeps its dark identity even when the configured accent is black. */
[data-rsvp-surface].w-rsvp .w-btn, .w-rsvp-confirmation .w-btn {
  background: var(--el-text, var(--w-ink));
  border-color: var(--el-text, var(--w-ink));
  color: var(--el-bg, var(--w-paper));
  font-size: 14px;
  letter-spacing: .02em;
}

[data-rsvp-surface] .rsvp-custom-question[hidden] { display: none !important; }
/* Companions: spacing only, the site's own field styles apply inside. */
[data-rsvp-surface] .rsvp-companions { margin: 24px 0; }
[data-rsvp-surface] .rsvp-companion { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; display: grid; gap: 10px; }
[data-rsvp-surface] .rsvp-companion > legend { padding: 0; margin-bottom: 8px; color: var(--rsvp-ink); font-size: 14px; }
[data-rsvp-surface] .rsvp-companion-events { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
[data-rsvp-surface] .rsvp-companion-events .w-checkbox { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
[data-rsvp-surface] .rsvp-companion-add { margin-top: 12px; min-height: 44px; }
[data-rsvp-surface] .rsvp-companion-questions { display: grid; gap: 12px; padding-left: 12px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 25%, transparent); }
[data-rsvp-surface] .rsvp-companion-diet summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 14px; }
@media (max-width: 680px) {
  [data-rsvp-surface] .rsvp-companion .w-form-grid { grid-template-columns: 1fr; }
}
[data-rsvp-surface] :is(.rsvp-question-hint, .rsvp-question-help) { font-size: .875rem; line-height: 1.5; margin: .25rem 0 .75rem; }
