/* Invitly - "printed invitation": plum ink, champagne gold, porcelain paper.
   Logical properties only (works in RTL and LTR). The bold moment is the invitation card
   (home hero and the guest's RSVP page); everything else stays quiet. */
:root {
  --bg: #f6f4f8;           /* porcelain */
  --surface: #ffffff;
  --text: #2e1a33;         /* plum ink */
  --muted: #66596c;
  --border: #e4dee8;
  --input-border: #8e8295;
  --primary: #4a2452;
  --primary-hover: #351840;
  --on-primary: #ffffff;
  --gold: #b08d57;         /* foil: rules and frames only */
  --gold-ink: #7a5c2a;     /* gold for text */
  --selected-bg: #f1e9f3;
  --focus: #8a5a12;
  --danger: #a3283b;
  --success-bg: #e3f1e6; --success-text: #1f5a31;
  --error-bg: #f8e3e6; --error-text: #8c1d2e;
  --yes-bg: #e3f1e6; --yes-text: #1f5a31;
  --no-bg: #f8e3e6; --no-text: #8c1d2e;
  --maybe-bg: #fbf0d9; --maybe-text: #6e4a00;
  --pending-bg: #ece8ef; --pending-text: #463c4b;
  --paper-shadow: 0 1px 2px rgba(46, 26, 51, 0.06), 0 18px 40px -18px rgba(46, 26, 51, 0.28);
  --chart-yes: #3f8f5a; --chart-no: #b84a5f; --chart-maybe: #bd8a2a; --chart-track: #e4dee8;
  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17111b;
    --surface: #221a27;
    --text: #f3eef5;
    --muted: #bfb3c6;
    --border: #3a2f40;
    --input-border: #8c7f94;
    --primary: #d9b8e0;
    --primary-hover: #ead3ef;
    --on-primary: #2a1530;
    --gold: #c9a770;
    --gold-ink: #d8bc88;
    --selected-bg: #33243a;
    --focus: #e2b866;
    --danger: #ff9aa8;
    --success-bg: #1d3a26; --success-text: #bfe8c9;
    --error-bg: #44202a; --error-text: #ffc9d1;
    --yes-bg: #1d3a26; --yes-text: #bfe8c9;
    --no-bg: #44202a; --no-text: #ffc9d1;
    --maybe-bg: #3d2f0c; --maybe-text: #ffe0a3;
    --pending-bg: #30283a; --pending-text: #ddd5e2;
    --paper-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    --chart-track: #3a2f40;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.2; margin-block: 0 0.5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 { font-size: 1.35rem; }
a { color: var(--primary); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .choice, .lang-switch a { transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
}

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 16px; }
main.wrap { padding-block: 28px 72px; }

.skip-link {
  position: absolute; inset-inline-start: 8px; inset-block-start: -100px;
  background: var(--surface); color: var(--text); padding: 8px 16px; border-radius: 8px; z-index: 30;
}
.skip-link:focus { inset-block-start: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header: always on top; flags on the right, name in the middle, account on the left in every language */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface); border-block-end: 1px solid var(--border);
}
.header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 68px; }
.brand {
  grid-column: 2; font-family: var(--serif); font-weight: 700; font-size: 1.65rem; letter-spacing: 0.01em;
  text-decoration: none; color: var(--text);
}
.brand:hover { color: var(--primary); }
.lang-switch { grid-column: 1; justify-self: start; list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.lang-switch a {
  display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border-radius: 999px; border: 1.5px solid transparent; opacity: 0.55;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.lang-switch img { display: block; width: 26px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.account-nav { grid-column: 3; justify-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 16px; }
.account-nav form { margin: 0; }
.account-nav > a:not(.btn), .link-button { display: inline-block; padding-block: 10px; }
.link-button {
  background: none; border: 0; color: var(--primary); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}
@media (max-width: 420px) {
  .brand { font-size: 1.35rem; }
  .account-nav { font-size: 0.95rem; gap: 0 10px; }
  .account-nav > a:not(.btn), .account-nav .link-button { padding-block: 4px; }
}

/* The invitation: paper card with a double gold frame */
.invitation {
  position: relative; background: var(--surface); border-radius: 4px; text-align: center;
  padding: clamp(28px, 6vw, 56px) clamp(20px, 6vw, 64px);
  box-shadow: var(--paper-shadow);
}
.invitation::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 2px;
}
.invitation > * { position: relative; }
.ornament { display: block; position: relative; width: 150px; height: 14px; margin: 14px auto 18px; }
.ornament::before { content: ""; position: absolute; inset-inline: 0; top: 50%; border-top: 1px solid var(--gold); }
.ornament::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  background: var(--surface); border: 1px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg);
}

/* Home */
.hero { max-width: 760px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); margin: 0; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 0 auto 28px; }
.hero .button-row { justify-content: center; }
.hero-art { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto 8px; }
.hero-art .art-line { stroke: var(--gold); }
.hero-art .art-paper { fill: var(--surface); }
.hero-art .art-fill { fill: var(--gold); }
.hero-art .art-wine { fill: var(--gold); opacity: 0.28; }
.hero-art .art-seal { fill: var(--primary); }
.hero-art .art-seal-ring { stroke: var(--on-primary); opacity: 0.45; }
.hero-art .art-seal-mark { fill: var(--on-primary); }
.how { max-width: 900px; margin: 56px auto 0; text-align: center; }
.how h2 { margin-block-end: 24px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; position: relative; }
.steps li { counter-increment: step; position: relative; padding-inline: 8px; color: var(--text); }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--gold-ink);
  background: var(--bg); border: 1px solid var(--gold);
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  /* a thin gold thread linking the three steps */
  .steps::before { content: ""; position: absolute; top: 22px; inset-inline: 16.6%; border-top: 1px solid var(--gold); }
  .steps li::before { position: relative; }
}

/* Group filter: one row of choices above the summary */
.group-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.group-filter a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px;
  border: 1.5px solid var(--input-border); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600;
}
.group-filter a:hover { border-color: var(--primary); }
.group-filter a[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.group-filter .count { font-weight: 400; opacity: 0.8; }

/* Managing groups */
.manage-groups > summary { cursor: pointer; list-style-position: inside; }
.manage-groups > summary h2 { display: inline; margin: 0; }
.manage-groups[open] > summary { margin-block-end: 8px; }
.group-rows { list-style: none; padding: 0; margin: 12px 0 18px; }
.group-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 10px; border-block-end: 1px solid var(--border); }
.group-rows form { margin: 0; }
.group-rename { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; flex: 1 1 320px; }
.group-rename input { flex: 1 1 160px; width: auto; }
.group-count { white-space: nowrap; }
.group-default-note { margin: 0; }
.group-add-row { display: flex; gap: 8px; }
.group-add-row input { flex: 1; }
.group-move { display: flex; gap: 6px; align-items: center; margin: 0; }
.group-move select { min-height: 40px; padding: 4px 10px; width: auto; max-width: 160px; }

/* Organizer pages: quiet paper cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-block-end: 24px; }
.narrow { max-width: 520px; margin-inline: auto; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-block-end: 18px; }
.page-head h1, .page-head h2 { margin: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.button-row form { margin: 0; }
.muted { color: var(--muted); margin-block: 0.25em 0; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 18px; color: var(--muted); margin: 4px 0 0; }
.back { margin-block: 0 14px; }
.description { white-space: pre-line; }
.empty { text-align: center; color: var(--muted); padding-block: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 8px 22px; border-radius: 999px;
  border: 1.5px solid var(--primary); background: transparent; color: var(--primary);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--selected-bg); color: var(--primary-hover); border-color: var(--primary-hover); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-danger, .btn-danger:hover { border-color: var(--danger); color: var(--danger); }
.btn-danger-text { border-color: transparent; color: var(--danger); }
.btn-danger-text:hover { border-color: var(--danger); color: var(--danger); background: transparent; }
.btn-small { min-height: 44px; padding: 4px 16px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Forms */
.field { margin-block-end: 18px; }
label, legend { display: block; font-weight: 600; margin-block-end: 6px; }
.req { color: var(--danger); }
.hint { color: var(--muted); font-size: 0.95rem; margin: 0 0 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; min-height: 46px; padding: 8px 14px; font: inherit; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--input-border); border-radius: 8px;
}
[dir="rtl"] input[dir="ltr"] { text-align: right; }
input:focus-visible, textarea:focus-visible { border-color: var(--primary); }
.has-error input, .has-error textarea, [aria-invalid="true"] { border-color: var(--danger); }
.error, .error-text { color: var(--danger); font-weight: 600; margin: 6px 0 0; }
.date-time { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.rsvp .map-links { justify-content: center; }
.grid-form { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
.grid-form .field { margin-block-end: 14px; }
@media (min-width: 720px) {
  .grid-form { grid-template-columns: 1fr 1fr; }
  .grid-full { grid-column: 1 / -1; }
}
.bulk { margin-block-start: 18px; }
.bulk summary { cursor: pointer; font-weight: 600; color: var(--primary); padding-block: 10px; }
.add-guest > summary { cursor: pointer; list-style-position: inside; }
.add-guest > summary h2 { display: inline; margin: 0; }
.add-guest[open] > summary { margin-block-end: 18px; }
.danger-zone { margin-block-start: 28px; padding-block-start: 16px; border-block-start: 1px solid var(--border); }
.register-prompt { margin-block-start: 28px; padding-block-start: 18px; border-block-start: 1px solid var(--border); text-align: center; }
.register-prompt p { margin: 0 0 10px; }
.card.narrow h1 { text-align: center; }

/* RSVP choices: large, calm tap targets */
.choices { border: 0; padding: 0; margin: 0 0 20px; text-align: start; }
.choices legend { font-family: var(--serif); font-size: 1.35rem; margin-block-end: 12px; }
.invitation .choices legend { width: 100%; text-align: center; }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 18px; margin-block-end: 10px;
  border: 1.5px solid var(--input-border); border-radius: 999px; font-weight: 500; cursor: pointer; background: var(--surface);
}
.choice input { width: 22px; height: 22px; accent-color: var(--primary); margin: 0; }
.choice:hover { border-color: var(--primary); }
.choice:has(input:checked) { border: 2px solid var(--primary); background: var(--selected-bg); font-weight: 700; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.has-error .choice { border-color: var(--danger); }

/* Messages */
.flash { padding: 12px 18px; border-radius: 10px; margin-block-end: 18px; font-weight: 600; }
.flash-success { background: var(--success-bg); color: var(--success-text); }
.flash-error { background: var(--error-bg); color: var(--error-text); }
.toast {
  position: fixed; inset-block-end: 16px; inset-inline: 16px; max-width: 420px; margin-inline: auto; z-index: 40;
  background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; text-align: center;
}
.toast:empty { display: none; }

/* Summary: the donut shows the answers at a glance; the numbers beside it are its legend */
.summary { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block-end: 28px; }
.summary .stats { flex: 1 1 320px; margin: 0; }
.donut { position: relative; width: 168px; height: 168px; margin: 0; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 5.5; }
.donut-track { stroke: var(--chart-track); }
.donut-yes { stroke: var(--chart-yes); }
.donut-no { stroke: var(--chart-no); }
.donut-maybe { stroke: var(--chart-maybe); }
.donut-seg:hover { stroke-width: 7; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.donut-number { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1.1; direction: ltr; }
.donut-label { color: var(--muted); font-size: 0.9rem; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: 0.05em; }
.swatch-yes { background: var(--chart-yes); }
.swatch-no { background: var(--chart-no); }
.swatch-maybe { background: var(--chart-maybe); }
.swatch-pending { background: var(--chart-track); box-shadow: inset 0 0 0 1px var(--input-border); }
@media (max-width: 600px) { .summary { justify-content: center; } .donut { width: 150px; height: 150px; } }

/* Summary numbers: one leads, the rest support it */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.stat dt { color: var(--muted); font-size: 0.95rem; }
.stat dd { margin: 0; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1.2; }
.stat-main { background: var(--primary); border-color: var(--primary); }
.stat-main dt, .stat-main dd { color: var(--on-primary); }
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 8px 10px; }
  .stat dt { font-size: 0.85rem; line-height: 1.3; }
  .stat dd { font-size: 1.45rem; }
}

/* Status: text always says it, colour is extra */
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.badge-yes { background: var(--yes-bg); color: var(--yes-text); }
.badge-no { background: var(--no-bg); color: var(--no-text); }
.badge-maybe { background: var(--maybe-bg); color: var(--maybe-text); }
.badge-pending { background: var(--pending-bg); color: var(--pending-text); }
.badge-custom { background: var(--selected-bg); color: var(--primary); border: 1px solid var(--gold); text-decoration: none; font-size: 0.85rem; }
.name-badge { margin-inline-start: 8px; vertical-align: 0.1em; font-family: var(--sans); }
.message-status { margin: 0 0 16px; color: var(--muted); }
.fallback-preview { white-space: pre-line; background: var(--bg); border-inline-start: 3px solid var(--gold); padding: 10px 14px; border-radius: 4px; margin: 0 0 14px; }
.personal-message-link { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: -4px 0 18px; }

/* Events list: each event as a small invitation slip */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.event-list .card { margin: 0; border-block-start: 3px solid var(--gold); position: relative; cursor: pointer; }
.event-list .card:hover { border-color: var(--primary); border-block-start-color: var(--gold); }
.event-list .card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.event-list h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.event-list h2 a:focus-visible { outline: none; }
.event-list h2 a { text-decoration: none; color: var(--text); }
.event-list h2 a:hover { color: var(--primary); }

/* Guests table; becomes cards on small screens */
.guests { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.guests th, .guests td { padding: 12px 14px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--border); }
.guests thead th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.guests tbody tr:last-child > * { border-block-end: 0; }
.contact { display: block; unicode-bidi: isolate; white-space: nowrap; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions form { margin: 0; }
.send-group { display: flex; flex-wrap: wrap; gap: 6px; }
.invite-cell { font-size: 0.95rem; }
@media (max-width: 860px) {
  .guests, .guests tbody, .guests tr, .guests th, .guests td { display: block; width: 100%; }
  .guests thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .guests { background: none; border: 0; }
  .guests tr { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-block-end: 12px; padding: 10px 4px; }
  .guests th, .guests td { border: 0; padding: 4px 14px; }
  .guests th[scope="row"] { font-family: var(--serif); font-size: 1.2rem; }
  .guests td[data-label]:not(:empty)::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); }
  .guests td[data-label] .contact { display: inline; margin-inline-end: 8px; white-space: normal; overflow-wrap: anywhere; }
  .row-actions { padding-block: 10px !important; }
}

/* Event photo */
.event-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 0 24px; border-radius: 2px; }
.event-banner { display: block; width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; margin-block-end: 18px; }
.card-image { display: block; width: calc(100% + 44px); margin: -22px -22px 16px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 9px 9px 0 0; }
.label { display: block; font-weight: 600; margin-block-end: 6px; }
.image-picker { display: block; cursor: pointer; font-weight: 400; margin-block-end: 6px; }
.image-frame {
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  aspect-ratio: 3 / 2; border: 1.5px dashed var(--input-border); border-radius: 10px; background: var(--bg);
}
.image-picker:hover .image-frame { border-color: var(--primary); }
.image-picker:focus-within .image-frame { outline: 3px solid var(--focus); outline-offset: 2px; }
.image-preview { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { display: block; width: 80%; }
.image-placeholder .hero-art { max-width: none; margin: 0; }
.image-cta { display: block; text-align: center; color: var(--primary); font-weight: 600; padding-block: 8px 0; text-decoration: underline; text-underline-offset: 0.18em; }
.event-art .hero-art { max-width: 340px; margin: 0 auto 8px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin-block-end: 10px; }
.check input { width: 20px; height: 20px; accent-color: var(--primary); }
input[type="file"] { font: inherit; max-width: 100%; }
.placeholder-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 8px; }
.chip {
  font: inherit; font-size: 0.95rem; min-height: 36px; padding: 2px 12px; cursor: pointer;
  border: 1px solid var(--gold); border-radius: 999px; background: var(--surface); color: var(--gold-ink);
}
.chip:hover { background: var(--selected-bg); }

/* Reminders */
.email-all h2, .one-by-one { font-size: 1.2rem; }
.email-all p { margin-block: 0 12px; }
.one-by-one { margin-block: 8px 4px; }
.remind { max-width: 640px; margin-inline: auto; }
.lead-small { color: var(--muted); margin-block-end: 8px; }
.remind-progress { font-size: 1.1rem; margin: 0 0 18px; }
.remind-progress strong { font-family: var(--serif); font-size: 1.5rem; }
.remind-list { list-style: none; padding: 0; margin: 0; }
.remind-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-block-end: 12px; }
.remind-row h2 { margin: 0; font-size: 1.25rem; }
.remind-row .muted span { margin-inline-end: 10px; }
.remind-last { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }
.remind-done { margin: 0; font-weight: 700; color: var(--yes-text); width: 100%; }
.remind-row.is-done { opacity: 0.6; border-color: var(--yes-bg); }
.remind-row.is-done .btn-primary { background: transparent; color: var(--primary); }

/* RSVP page */
.rsvp { max-width: 560px; margin-inline: auto; }
.rsvp .greeting { font-size: 1.15rem; color: var(--muted); margin: 0 0 6px; }
.rsvp h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 0; }
.event-facts { margin: 0 0 18px; }
.event-facts div { display: flex; justify-content: center; gap: 8px; }
.event-facts dt { color: var(--gold-ink); font-weight: 600; }
.event-facts dd { margin: 0; }
.rsvp form { margin-block-start: 24px; text-align: start; }
.rsvp .flash { text-align: center; }

[hidden] { display: none !important; }
