/* HoneyCedars RSVP — signed-in app. Same shadcn/ui-style system as the homepage, no build step. */

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --subtle: #fafafa;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --primary: #171717;
  --primary-foreground: #fafafa;
  --brand: #fc309c;
  --brand-strong: #db1a7f;
  --brand-strong-hover: #c2146f;
  --brand-text: #c0136e;
  --brand-soft: #fff0f7;
  --brand-border: #ffc7e3;
  --success: #15803d;
  --success-soft: #f0fdf4;
  --success-border: #bbf7d0;
  --warning: #a16207;
  --warning-soft: #fefce8;
  --warning-border: #fde68a;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --danger-border: #fecaca;
  --info: #1d4ed8;
  --info-soft: #eff6ff;
  --info-border: #bfdbfe;
  --radius: 0.625rem;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --wa-bg: #efeae2;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--subtle); color: var(--foreground); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--brand-text); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong-hover); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: 20px; line-height: 1.2; font-weight: 650; letter-spacing: -0.015em; }
h3 { font-size: 15px; font-weight: 600; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted-foreground); }
.faint { color: #a3a3a3; }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row-between { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- App header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; flex: none; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: 999px; padding: 2px 8px; }
.topnav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.topnav a { padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted-foreground); text-decoration: none; }
.topnav a:hover, .topnav a.active { color: var(--foreground); background: var(--muted); }
.topbar form { margin: 0; }
.topbar .who { font-size: 13.5px; color: var(--muted-foreground); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.topbar .link-button { font-size: 13.5px; font-weight: 500; color: var(--foreground); padding: 7px 12px; border-radius: 8px; }
.topbar .link-button:hover { background: var(--muted); }
@media (max-width: 640px) {
  .topbar-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .topnav { order: 3; width: 100%; }
  .topbar .who { display: none; }
}

.page { max-width: 1200px; margin: 0 auto; padding: 28px 24px 96px; }
.page-narrow { max-width: 780px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.page-head .stack-sm { min-width: 0; gap: 6px; }
@media (max-width: 640px) { .page { padding: 20px 16px 72px; } }

/* ---------- Tabs (event sub-navigation) ---------- */
.subnav { display: flex; gap: 4px; padding: 4px; margin-bottom: 26px; background: var(--muted); border-radius: var(--radius); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 7px 14px; border-radius: calc(var(--radius) - 4px); font-size: 13.5px; font-weight: 500; color: var(--muted-foreground); text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--foreground); }
.subnav a.active { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-xs); font-weight: 600; }

/* ---------- Surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); padding: 22px; box-shadow: var(--shadow-xs); }
.card-tight { padding: 16px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.panel { background: var(--muted); border-radius: var(--radius); padding: 18px; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: calc(var(--radius) - 2px); border: 1px solid transparent; font: 500 14px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-xs); }
.btn-primary:hover { background: #2b2b2b; color: var(--primary-foreground); }
.btn-brand { background: var(--brand-strong); color: #fff; box-shadow: 0 6px 20px -10px rgb(219 26 127 / .8); }
.btn-brand:hover { background: var(--brand-strong-hover); color: #fff; }
.btn-ghost { background: var(--background); border-color: var(--border-strong); color: var(--foreground); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { background: var(--muted); color: var(--foreground); }
.btn-danger { background: var(--background); border-color: var(--danger-border); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 42px; padding: 0 20px; font-size: 15px; border-radius: var(--radius); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ---------- Forms ---------- */
.form-section { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px 32px; padding: 24px 0; border-top: 1px solid var(--border); }
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section > .intro h3 { font-size: 15px; }
.form-section > .intro p { color: var(--muted-foreground); font-size: 13.5px; margin-top: 4px; }
@media (max-width: 760px) { .form-section { grid-template-columns: minmax(0, 1fr); } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 13.5px; font-weight: 500; color: var(--foreground); }
.field .hint { font-size: 12.5px; color: var(--muted-foreground); }
.field .error, .error-text { font-size: 12.5px; color: var(--danger); font-weight: 500; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input[type=tel],
.field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=search], .field select, .field textarea {
  width: 100%; font: 14px var(--font); color: var(--foreground); background: var(--background); border: 1px solid var(--border-strong); border-radius: calc(var(--radius) - 2px); padding: 8px 12px; min-height: 36px;
}
.field input[type=file] { padding: 6px 10px; font-size: 13px; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--foreground); box-shadow: 0 0 0 3px rgb(10 10 10 / .08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px rgb(185 28 28 / .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted-foreground); }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--brand-strong); flex: none; }
.check span { color: var(--foreground); }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.radio-card { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px 14px 12px 38px; cursor: pointer; background: var(--background); font-size: 14px; }
.radio-card input { position: absolute; left: 13px; top: 14px; accent-color: var(--brand-strong); }
.radio-card:has(input:checked) { border-color: var(--foreground); box-shadow: 0 0 0 1px var(--foreground); }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- Alerts ---------- */
.flash { border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; border: 1px solid transparent; }
.flash-ok { background: var(--success-soft); border-color: var(--success-border); color: #14532d; }
.flash-error { background: var(--danger-soft); border-color: var(--danger-border); color: #7f1d1d; }
.flash ul { margin: 6px 0 0; padding-left: 18px; }
.notice { border: 1px solid var(--warning-border); background: var(--warning-soft); border-radius: var(--radius); padding: 12px 16px; color: #713f12; font-size: 14px; }
.notice-sky { border-color: var(--info-border); background: var(--info-soft); color: #1e3a8a; }

/* ---------- Badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: var(--muted); color: var(--muted-foreground); border: 1px solid transparent; }
.pill-green { background: var(--success-soft); border-color: var(--success-border); color: var(--success); }
.pill-honey { background: var(--warning-soft); border-color: var(--warning-border); color: var(--warning); }
.pill-coral { background: var(--danger-soft); border-color: var(--danger-border); color: var(--danger); }
.pill-sky { background: var(--info-soft); border-color: var(--info-border); color: var(--info); }
.pill-brand { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand-text); }
.pill-dark { background: var(--primary); color: var(--primary-foreground); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--background); color: var(--muted-foreground); font-size: 13px; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--border-strong); color: var(--foreground); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.chip .count { font-variant-numeric: tabular-nums; opacity: .75; }

/* ---------- Stats ---------- */
.stat { border-radius: calc(var(--radius) + 2px); padding: 18px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-xs); display: flex; flex-direction: column; gap: 4px; }
.stat .label { font-size: 13px; font-weight: 500; color: var(--muted-foreground); order: -1; }
.stat .value { font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12.5px; color: var(--muted-foreground); }
.stat.hero { background: var(--primary); border-color: var(--primary); color: var(--primary-foreground); }
.stat.hero .label { color: #d4d4d4; }
.stat.hero .value { color: #fff; }
.stat.hero .sub { color: #a3a3a3; }
.bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--muted); }
.bar i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted-foreground); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border-radius: calc(var(--radius) + 2px); border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-xs); }
.step .n { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-weight: 600; font-size: 13px; background: var(--muted); color: var(--muted-foreground); }
.step.done .n { background: var(--success-soft); color: var(--success); border: 1px solid var(--success-border); }
.step.current { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.step.current .n { background: var(--brand-strong); color: #fff; }
.step p { color: var(--muted-foreground); font-size: 13.5px; margin: 3px 0 12px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); background: var(--card); box-shadow: var(--shadow-xs); }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted-foreground); background: var(--subtle); padding: 10px 14px; white-space: nowrap; border-bottom: 1px solid var(--border); }
.table td { padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: top; color: var(--muted-foreground); }
.table tbody tr:first-child td { border-top: 0; }
.table tbody tr:hover td { background: var(--subtle); }
.table tr.is-problem td { background: var(--danger-soft); }
.table .actions { text-align: right; white-space: nowrap; }
.table td.name { font-weight: 500; color: var(--foreground); }
.table td strong { color: var(--foreground); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted-foreground); font-size: 14px; }
.empty h3 { margin-bottom: 6px; color: var(--foreground); font-size: 16px; }

details.inline-edit > summary { list-style: none; cursor: pointer; color: var(--foreground); font-weight: 500; font-size: 13px; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 8px; display: inline-block; }
details.inline-edit > summary::-webkit-details-marker { display: none; }
details.inline-edit > summary:hover { background: var(--muted); }
details.inline-edit[open] > summary { margin-bottom: 12px; }
.edit-box { background: var(--subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; min-width: 290px; }

/* ---------- Event cards ---------- */
.event-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.event-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); padding: 20px; box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s, transform .15s; }
.event-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-1px); color: inherit; }
.event-card .date { font-size: 12.5px; color: var(--muted-foreground); font-weight: 500; }
.event-card h2 { font-size: 19px; }
.event-card .meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted-foreground); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.event-card .meta b { color: var(--foreground); font-variant-numeric: tabular-nums; }

/* ---------- WhatsApp bubbles ---------- */
.wa { background: var(--wa-bg); border-radius: var(--radius); padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; color: #111b21; font-size: 14px; line-height: 1.45; }
.wa-bubble { max-width: 88%; background: #fff; border-radius: 10px; padding: 7px 9px 5px; box-shadow: 0 1px .5px rgb(0 0 0 / .13); overflow-wrap: anywhere; }
.wa-text { white-space: pre-line; }
.wa-bubble.out { align-self: flex-end; background: #d9fdd3; }
.wa-bubble.in { align-self: flex-start; }
.wa-bubble .meta { font-size: 11px; color: #667781; text-align: right; margin-top: 3px; white-space: normal; }
.wa-bubble .meta .fail { color: var(--danger); font-weight: 600; }
.wa-bubble img { border-radius: 6px; margin: -2px -4px 6px; max-width: calc(100% + 8px); }
.wa-group { align-self: flex-start; max-width: 88%; display: flex; flex-direction: column; gap: 2px; }
.wa-group .wa-bubble { max-width: 100%; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }
.wa-btn { display: block; width: 100%; background: #fff; color: #027eb5; text-align: center; font: 500 14px var(--font); padding: 9px; border: 0; border-radius: 3px; box-shadow: 0 1px .5px rgb(0 0 0 / .13); cursor: default; text-decoration: none; }
.wa-btn:last-child { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
button.wa-btn { cursor: pointer; }
button.wa-btn:hover { background: #f5fbff; }
.wa-group form { margin: 0; }
.wa-day { align-self: center; font-size: 11.5px; background: #fff; color: #667781; padding: 3px 10px; border-radius: 7px; }
.wa-note { align-self: center; font-size: 12.5px; background: var(--warning-soft); border: 1px solid var(--warning-border); color: #713f12; padding: 5px 12px; border-radius: 7px; text-align: center; max-width: 90%; }
.wa-card { background: #0a0a0a; color: #fff; border-radius: 8px; padding: 16px 12px; text-align: center; border: 1px solid var(--brand); margin: -2px -4px 6px; }
.wa-card .k { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.wa-card .n { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 3px 0; }
.wa-card .names { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 3px 0; }

/* ---------- Simulator ---------- */
.sim { display: grid; grid-template-columns: 290px minmax(0, 1fr); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); overflow: hidden; background: var(--card); box-shadow: var(--shadow-xs); min-height: 560px; }
.sim-list { border-right: 1px solid var(--border); overflow-y: auto; max-height: 720px; }
.sim-list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--foreground); font-size: 14px; }
.sim-list a:hover { background: var(--subtle); }
.sim-list a.active { background: var(--muted); box-shadow: inset 2px 0 0 var(--brand-strong); }
.sim-list a span { font-size: 12.5px; color: var(--muted-foreground); }
.sim-chat { display: flex; flex-direction: column; min-width: 0; }
.sim-chat-head { background: #0a0a0a; color: #fff; padding: 12px 16px; }
.sim-chat-head b { display: block; font-size: 14px; }
.sim-chat-head span { font-size: 12.5px; color: #a3a3a3; }
.sim-chat .wa { border-radius: 0; flex: 1; overflow-y: auto; max-height: 560px; }
.sim-compose { display: flex; gap: 8px; padding: 10px; background: var(--muted); border-top: 1px solid var(--border); }
.sim-compose input { flex: 1; min-width: 0; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 16px; font: 14px var(--font); background: var(--background); }
.sim-compose input:focus { outline: none; border-color: var(--foreground); }
@media (max-width: 760px) { .sim { grid-template-columns: minmax(0, 1fr); } .sim-list { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--border); } }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.package { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px); padding: 22px; cursor: pointer; box-shadow: var(--shadow-xs); }
.package input { position: absolute; opacity: 0; pointer-events: none; }
.package:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.package.is-unavailable { opacity: .55; cursor: not-allowed; }
.package .price { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.package .name { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-foreground); }
.package .badge { position: absolute; top: 14px; right: 14px; }
.package p { font-size: 13px; color: var(--muted-foreground); }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background:
  radial-gradient(60% 50% at 50% 0%, rgb(252 48 156 / .10) 0%, rgb(252 48 156 / 0) 70%), var(--subtle); }
.auth-card { width: 100%; max-width: 420px; background: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 28px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 24px; }
.auth-card .brand { justify-content: center; margin-bottom: 4px; }
.auth-foot { text-align: center; font-size: 13.5px; color: var(--muted-foreground); }

/* ---------- Guest page (public) ---------- */
.gp { background: var(--subtle); min-height: 100vh; }
.gp-inner { max-width: 620px; margin: 0 auto; padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
.gp-card { background: var(--background); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 22px; box-shadow: var(--shadow-xs); }
.gp-invite { background: #0a0a0a; color: #fff; border-radius: calc(var(--radius) + 6px); padding: 36px 22px; text-align: center; border: 1px solid #262626; position: relative; overflow: hidden; }
.gp-invite::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 0%, rgb(252 48 156 / .28) 0%, rgb(252 48 156 / 0) 70%); pointer-events: none; }
.gp-invite .k { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); position: relative; z-index: 1; }
.gp-invite h1 { color: #fff; font-size: clamp(26px, 7vw, 36px); margin: 10px 0 8px; position: relative; z-index: 1; }
.gp-invite .hosts { font-size: 14.5px; color: #d4d4d4; position: relative; z-index: 1; }
.gp-image { border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--border); }
.gp-facts { display: grid; gap: 16px; }
.gp-fact { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.gp-fact svg { width: 20px; height: 20px; color: var(--brand-strong); margin-top: 2px; }
.gp-fact b { display: block; font-weight: 600; }
.gp-program { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gp-program li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.gp-program li:first-child { border-top: 0; }
.gp-answer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gp-answer label { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 14px; text-align: center; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.gp-answer input { position: absolute; opacity: 0; pointer-events: none; }
.gp-answer label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-text); box-shadow: 0 0 0 1px var(--brand); }
.gp-foot { text-align: center; font-size: 12.5px; color: var(--muted-foreground); }
.gp-foot img { height: 22px; width: auto; margin: 0 auto 8px; opacity: .8; }
