/* ============================================================
   Let's Gravel — public trip invite page
   Implements the "Trip Invite" design handoff (mobile-first,
   desktop >= 1024px). Design tokens from the handoff README.
   ============================================================ */

:root {
  --gv-primary: #8833FF;
  --gv-primary-hover: #7A22F0;
  --gv-tint: #F3EBFF;
  --gv-navy: #501C9A;
  --gv-light-purple: #A56BFA;
  --gv-title: #212735;
  --gv-body: #565656;
  --gv-muted: #7A7E84;
  --gv-border: #E0E1E3;
  --gv-divider: #F0F0F2;
  --gv-chip-bg: #F2F2F7;
  --gv-input-bg: #F6F6F7;
  --gv-success: #17AE25;
  --gv-success-bg: #E8F7E9;
  --gv-check: #75C919;
  --gv-error: #EC0924;
  --gv-error-text: #B00B20;
  --gv-error-bg: #FDEDEF;
  --gv-error-border: #F5B8C0;
  --gv-warn-text: #6B4E0E;
  --gv-warn-bg: #FFF6E5;
  --gv-warn-border: #F2D9A0;
  --gv-font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --gv-font-text: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.gv-body {
  background: #fff;
  font-family: var(--gv-font-text);
  color: var(--gv-body);
  -webkit-font-smoothing: antialiased;
}

.gv-display { font-family: var(--gv-font-display); }

input::placeholder { color: #B0B3B8; }

@keyframes gvPopIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- responsive visibility ---------- */
.gv-desktop-only { display: none !important; }
@media (min-width: 1024px) {
  .gv-desktop-only { display: block !important; }
  .gv-desktop-only-flex { display: flex !important; }
  .gv-mobile-only { display: none !important; }
}

/* ---------- desktop header ---------- */
.gv-header {
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--gv-divider);
}
.gv-header img { height: 38px; display: block; }
.gv-header .gv-getapp {
  background: var(--gv-tint);
  color: var(--gv-primary);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

/* ---------- page shell ---------- */
.gv-page { max-width: 100%; }
@media (min-width: 1024px) {
  .gv-page { max-width: 1180px; margin: 0 auto; padding: 24px 32px 40px; }
}

/* ---------- hero ---------- */
.gv-hero { position: relative; height: 260px; }
.gv-hero.gv-hero-short { height: 190px; }
.gv-hero img.gv-hero-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gv-hero .gv-hero-logo {
  position: absolute; top: 16px; left: 16px; height: 34px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
}
.gv-hero .gv-hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(30,20,50,0.38);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 7px 16px; color: #fff; font-size: 13.5px; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
/* Scroll cue: centered circular chevron straddling the hero's bottom edge,
   gently pulsing; fades permanently on first scroll */
@keyframes gvScrollPulse {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}
.gv-scroll-cue {
  position: absolute; left: 50%; bottom: -17px; transform: translate(-50%, 0);
  width: 34px; height: 34px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 14px rgba(20,10,40,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--gv-primary); z-index: 6;
  animation: gvScrollPulse 1.8s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
.gv-scroll-cue.faded { opacity: 0; animation: none; }
@media (min-width: 1024px) { .gv-scroll-cue { display: none; } }
.gv-hero.gv-hero-closed img.gv-hero-img { filter: grayscale(0.55); }
.gv-hero .gv-hero-overlay {
  position: absolute; inset: 0; background: rgba(30,20,50,0.45);
  display: flex; align-items: center; justify-content: center;
}
.gv-hero .gv-closed-pill {
  background: #fff; color: var(--gv-title); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; border-radius: 999px; padding: 8px 18px;
}
@media (min-width: 1024px) {
  .gv-hero { height: 380px; border-radius: 14px; overflow: hidden; }
  .gv-hero.gv-hero-short { height: 380px; }
}

/* ---------- two-column layout (desktop) ---------- */
.gv-columns { display: block; }
@media (min-width: 1024px) {
  .gv-columns { display: flex; gap: 48px; margin-top: 28px; align-items: flex-start; }
  .gv-main { flex: 1; min-width: 0; }
  .gv-side { width: 360px; flex-shrink: 0; position: sticky; top: 24px; }
}

/* ---------- title block ---------- */
.gv-titleblock { padding: 18px 20px 0; }
.gv-trip-title {
  font-family: var(--gv-font-display); font-weight: 700; font-size: 22px;
  color: var(--gv-title); line-height: 1.3;
}
.gv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gv-chip {
  background: var(--gv-chip-bg); border-radius: 6px; padding: 4px 10px;
  font-size: 13px; color: #000;
}
.gv-organizer { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.gv-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gv-tint);
  color: var(--gv-primary); font-weight: 700; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.gv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gv-organizer-name { font-size: 14px; color: var(--gv-body); font-weight: 500; }
.gv-organizer-name b { color: var(--gv-title); }
@media (min-width: 1024px) {
  .gv-titleblock { padding: 0; }
  .gv-trip-title { font-size: 30px; line-height: 1.25; }
  .gv-chips { gap: 8px; margin-top: 10px; }
  .gv-chip { padding: 5px 12px; font-size: 13.5px; }
  .gv-organizer { margin-top: 14px; }
  .gv-avatar { width: 30px; height: 30px; }
  .gv-organizer-name { font-size: 14.5px; }
}

/* ---------- group teaser ---------- */
.gv-teaser {
  margin: 16px 20px 0; border: 1px solid var(--gv-border);
  border-radius: 10px; overflow: hidden;
}
.gv-teaser-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.gv-avatar-stack { display: flex; }
.gv-avatar-stack .gv-stack-avatar {
  width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 11px;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; overflow: hidden; flex-shrink: 0;
}
.gv-avatar-stack .gv-stack-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gv-avatar-stack .gv-stack-avatar + .gv-stack-avatar { margin-left: -8px; }
.gv-teaser-label { font-size: 13px; color: var(--gv-title); font-weight: 600; line-height: 1.35; }
.gv-teaser-chat { position: relative; padding: 2px 14px 12px; }
.gv-teaser-bubbles {
  filter: blur(4px); user-select: none; pointer-events: none;
  display: flex; flex-direction: column; gap: 6px;
}
.gv-bubble {
  background: #EFEFF1; border-radius: 12px; padding: 7px 12px;
  font-size: 13px; color: var(--gv-title); max-width: 230px;
}
.gv-bubble.gv-bubble-mine {
  background: var(--gv-primary); color: #fff; max-width: 200px; align-self: flex-end;
}
.gv-teaser-pill-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gv-teaser-pill {
  background: #fff; border: 1px solid var(--gv-border); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--gv-primary);
  box-shadow: 0 2px 8px rgba(20,10,40,0.08);
}
@media (min-width: 1024px) { .gv-teaser { display: none; } }

/* ---------- sections ---------- */
.gv-section { padding: 20px 20px 0; }
.gv-section-title {
  font-family: var(--gv-font-display); font-weight: 700; font-size: 16px;
  color: var(--gv-title);
}
.gv-about-body { font-size: 14px; color: var(--gv-body); line-height: 1.55; margin-top: 6px; white-space: pre-line; }
.gv-about-body a { color: var(--gv-primary); font-weight: 500; }
.gv-about-body.gv-clamped {
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gv-about-toggle {
  display: inline-block; margin-top: 8px; font-size: 13px;
  color: var(--gv-primary); font-weight: 600; cursor: pointer;
}
@media (min-width: 1024px) {
  .gv-section { padding: 30px 0 0; }
  .gv-section-title { font-size: 19px; }
  .gv-about-body { font-size: 15px; line-height: 1.6; margin-top: 18px; max-width: 620px; }
}

/* ---------- itinerary ---------- */
.gv-itin-row { border-bottom: 1px solid var(--gv-divider); }
.gv-itin-head { display: flex; align-items: center; gap: 12px; padding: 13px 0; cursor: pointer; }
.gv-itin-thumb {
  width: 52px; height: 52px; border-radius: 10px; object-fit: cover;
  flex-shrink: 0; display: block; background: var(--gv-chip-bg);
}
.gv-itin-meta { flex: 1; min-width: 0; }
.gv-itin-daydate { font-size: 12px; color: var(--gv-muted); font-weight: 500; }
.gv-itin-title { font-size: 15px; color: var(--gv-title); font-weight: 600; }
.gv-itin-chev { color: var(--gv-muted); font-size: 11px; }
.gv-itin-body {
  display: none; padding: 0 0 14px 64px; font-size: 13.5px;
  color: var(--gv-body); line-height: 1.5;
}
.gv-itin-row.open .gv-itin-body { display: block; }
.gv-itin-event + .gv-itin-event { margin-top: 8px; }
.gv-itin-event b { color: var(--gv-title); font-weight: 600; }
@media (min-width: 1024px) {
  .gv-itin-head { gap: 16px; padding: 16px 0; cursor: default; }
  .gv-itin-thumb { width: 110px; height: 76px; }
  .gv-itin-daydate { font-size: 12.5px; }
  .gv-itin-title { font-size: 15.5px; }
  .gv-itin-chev { display: none; }
  .gv-itin-body { display: block; padding: 0 0 16px 126px; margin-top: -12px; }
  .gv-itin-row .gv-itin-body { display: block; }
}

/* ---------- packages ---------- */
.gv-pkg-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.gv-pkg-card { border: 1px solid var(--gv-border); border-radius: 10px; padding: 14px; cursor: pointer; overflow: hidden; }
/* Organizer-typed text (name, description, items) can contain long unbroken
   strings — wrap them anywhere instead of punching through the card
   (Ouj bug report, 2026-07-20). min-width:0 lets flex children shrink. */
.gv-pkg-top > div { min-width: 0; }
.gv-pkg-name, .gv-pkg-desc, .gv-pkg-detail-line, .gv-pkg-item { overflow-wrap: anywhere; }
.gv-pkg-card.selected { border: 2px solid var(--gv-primary); padding: 13px; }
.gv-pkg-top { display: flex; align-items: center; gap: 10px; }
.gv-pkg-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #D1D1D1; background: #fff; flex-shrink: 0;
}
.gv-pkg-card.selected .gv-pkg-radio { border: 5px solid var(--gv-primary); }
.gv-pkg-name { font-size: 12px; color: var(--gv-muted); font-weight: 500; }
.gv-pkg-amount {
  font-size: 20px; color: #000; font-weight: 700;
  font-family: var(--gv-font-display);
}
.gv-pkg-processing {
  font-size: 11px; color: var(--gv-muted); font-weight: 500;
  font-family: var(--gv-font-text);
}
.gv-pkg-items { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; padding-left: 28px; }
.gv-pkg-toggle {
  display: inline-block; margin-top: 10px; padding-left: 28px;
  font-size: 12.5px; color: var(--gv-primary); font-weight: 600; cursor: pointer;
}
.gv-pkg-details { margin-top: 10px; padding-left: 28px; }
.gv-pkg-desc { font-size: 13px; color: var(--gv-body); line-height: 1.5; margin-bottom: 10px; }
.gv-pkg-detail-head {
  font-size: 11.5px; font-weight: 700; color: var(--gv-muted);
  text-transform: uppercase; letter-spacing: 0.4px; margin: 10px 0 4px;
}
.gv-pkg-detail-line { font-size: 13px; color: var(--gv-body); line-height: 1.6; }
.gv-pkg-detail-line .inc { color: var(--gv-check); font-weight: 700; margin-right: 6px; }
.gv-pkg-detail-line .exc { color: var(--gv-error); font-weight: 700; margin-right: 6px; }
.gv-pkg-detail-line.exclude { color: var(--gv-muted); }
.gv-pkg-item { font-size: 12.5px; color: var(--gv-body); display: inline-flex; align-items: center; gap: 5px; }
.gv-pkg-item.exclude { color: var(--gv-muted); }
.gv-pkg-item .inc { color: var(--gv-check); font-weight: 700; }
.gv-pkg-item .exc { color: var(--gv-error); font-weight: 700; }

/* ---------- payment breakdown ---------- */
.gv-breakdown { margin-top: 14px; background: var(--gv-tint); border-radius: 10px; padding: 4px 14px; }
.gv-breakdown-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(136,51,255,0.10);
}
.gv-breakdown-label { font-size: 13.5px; font-weight: 600; color: #343434; }
.gv-breakdown-sub { font-size: 12px; color: var(--gv-body); margin-top: 1px; }
.gv-breakdown-value { font-size: 14.5px; font-weight: 700; color: var(--gv-title); text-align: right; }
.gv-breakdown-value.due { color: var(--gv-primary); }
.gv-breakdown-value2 { font-size: 11px; color: var(--gv-muted); margin-top: 1px; text-align: right; }
.gv-breakdown-caption { font-size: 11px; color: var(--gv-muted); padding: 8px 0 6px; }

/* Pay-in-full choice (Partial Pay trips) — segmented control under the plan.
   Lets the traveler pick "follow the plan" vs "pay in full" BEFORE checkout. */
.gv-payfull { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 12px; }
.gv-payfull-opt {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  padding: 10px 12px; border: 1.5px solid var(--gv-line, #E5E7EB);
  border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .12s, background .12s;
}
.gv-payfull-opt .t { font-size: 13.5px; font-weight: 700; color: var(--gv-title); }
.gv-payfull-opt .s { font-size: 11.5px; color: var(--gv-body); }
.gv-payfull-opt:hover { border-color: var(--gv-primary); }
.gv-payfull-opt.selected { border-color: var(--gv-primary); background: var(--gv-tint); }
.gv-payfull-opt:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: 2px; }
/* F4 (fix batch 2026-07-27): the agree checkbox and the document links are
   keyboard-focusable now — give them the same visible focus ring the
   pay-full cards already had. */
.gv-agree:focus-visible, .gv-doclink:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 420px) { .gv-payfull { grid-template-columns: 1fr; } }
.gv-side .gv-breakdown { padding: 2px 14px; border-radius: 9px; }
.gv-side .gv-breakdown-row { padding: 9px 0; }
.gv-side .gv-breakdown-label { font-size: 13px; }
.gv-side .gv-breakdown-sub { font-size: 11.5px; }
.gv-side .gv-breakdown-value { font-size: 13.5px; }
.gv-side .gv-breakdown-value2 { font-size: 10.5px; }
.gv-side .gv-breakdown-caption { font-size: 10.5px; padding: 7px 0 6px; }

/* ---------- cancellation policy ---------- */
.gv-policy-pill-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.gv-policy-pill {
  background: var(--gv-tint); color: var(--gv-primary); font-weight: 700;
  font-size: 12.5px; border-radius: 999px; padding: 4px 12px;
}
.gv-policy-setby { font-size: 12.5px; color: var(--gv-muted); }
.gv-policy-tiers { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.gv-policy-tier { display: flex; gap: 10px; align-items: baseline; }
.gv-policy-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  position: relative; top: 1px; background: var(--gv-muted);
}
.gv-policy-dot.t0 { background: var(--gv-success); }
.gv-policy-dot.t1 { background: #E8A013; }
.gv-policy-dot.t2 { background: var(--gv-error); }
.gv-policy-tier-text { font-size: 13.5px; color: var(--gv-title); line-height: 1.45; }
.gv-policy-disclaimer { font-size: 12px; color: var(--gv-muted); line-height: 1.5; margin-top: 12px; }
.gv-policy-link {
  font-size: 13px; color: var(--gv-primary); font-weight: 600;
  text-decoration: underline; margin-top: 10px; cursor: pointer; display: inline-block;
}
.gv-policy-bottom-pad { padding-bottom: 110px; }
@media (min-width: 1024px) {
  .gv-policy-pill { font-size: 13px; }
  .gv-policy-setby { font-size: 13px; }
  .gv-policy-tiers { gap: 10px; margin-top: 14px; max-width: 620px; }
  .gv-policy-tier-text { font-size: 14px; line-height: 1.5; }
  .gv-policy-disclaimer { font-size: 12.5px; max-width: 620px; }
  .gv-policy-bottom-pad { padding-bottom: 0; }
}

/* ---------- sticky CTA (mobile) ---------- */
.gv-sticky-cta {
  position: sticky; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, #ffffff 70%, rgba(255,255,255,0));
  padding: 14px 20px 18px; margin-top: -104px; z-index: 5;
}
.gv-btn {
  background: var(--gv-primary); color: #fff; border: none; border-radius: 10px;
  height: 50px; width: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background 0.15s ease;
}
.gv-btn:hover { background: var(--gv-primary-hover); }
.gv-btn:disabled, .gv-btn.gv-disabled { opacity: 0.45; cursor: not-allowed; }
.gv-btn:disabled:hover, .gv-btn.gv-disabled:hover { background: var(--gv-primary); }
.gv-btn-outline {
  background: #fff; color: var(--gv-title); border: 1px solid var(--gv-border);
  height: 46px; font-size: 14.5px;
}
.gv-btn-outline:hover { background: var(--gv-chip-bg); }
.gv-cta-fineprint { text-align: center; font-size: 11.5px; color: var(--gv-muted); margin-top: 7px; }

/* ---------- desktop booking card ---------- */
.gv-book-card { border: 1px solid var(--gv-border); border-radius: 14px; padding: 22px; }
.gv-book-from { font-size: 13px; color: var(--gv-muted); font-weight: 500; }
.gv-book-price { font-family: var(--gv-font-display); font-weight: 700; font-size: 26px; color: #000; }
.gv-book-price span { font-size: 14px; color: var(--gv-muted); font-weight: 500; }
.gv-book-caption { font-size: 12.5px; color: var(--gv-muted); margin-top: 2px; }
.gv-book-divider { height: 1px; background: var(--gv-divider); margin: 18px 0; }
.gv-book-social { display: flex; align-items: center; gap: 10px; }
.gv-book-social .gv-teaser-label { font-size: 12.5px; }
.gv-side .gv-pkg-list { gap: 10px; }
.gv-side .gv-pkg-card { padding: 12px; }
.gv-side .gv-pkg-card.selected { padding: 11px; }
.gv-side .gv-pkg-amount { font-size: 17px; }
.gv-side .gv-pkg-processing {
  font-size: 11px; color: var(--gv-muted); font-weight: 500;
  font-family: var(--gv-font-text);
}
/* Scoped fix (persona test, 2026-07-20): this rule was missing its .gv-side
   prefix and hid the collapsed-card teaser items EVERYWHERE, so packages
   showed a bare name+price with "(2 more)" counting invisible items. */
.gv-side .gv-pkg-items { display: none; }

/* ---------- store badges ---------- */
.gv-badges { display: flex; gap: 10px; justify-content: center; align-items: center; }
.gv-badge-link { display: block; line-height: 0; }
.gv-badge-img { height: 40px; display: block; }
.gv-badges.gv-badges-fill .gv-badge-link { flex: 1; display: flex; justify-content: center; }
.gv-badge {
  background: #000; color: #fff; border-radius: 8px; padding: 7px 14px;
  text-align: left; cursor: pointer; text-decoration: none; display: block;
}
.gv-badge .top { font-size: 9px; opacity: 0.8; }
.gv-badge .bottom { font-size: 14px; font-weight: 600; font-family: var(--gv-font-display); }
.gv-badges.gv-badges-fill .gv-badge { flex: 1; }

/* ---------- sheets / modals ---------- */
.gv-sheet-backdrop {
  position: fixed; inset: 0; background: rgba(20,10,40,0.45); z-index: 40;
  display: none;
}
.gv-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff;
  border-radius: 20px 20px 0 0; padding: 22px 20px 26px; z-index: 50;
  display: none; max-height: 88vh; overflow-y: auto;
}
.gv-sheet.open, .gv-sheet-backdrop.open { display: block; }
.gv-sheet-handle {
  width: 36px; height: 4px; border-radius: 2px; background: var(--gv-border);
  margin: 0 auto 16px;
}
.gv-sheet-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 19px; color: var(--gv-title); }
.gv-sheet-sub { font-size: 13.5px; color: var(--gv-body); margin-top: 4px; }
@media (min-width: 1024px) {
  .gv-sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    transform: translate(-50%, -50%);
    width: 440px; border-radius: 16px;
    box-shadow: 0 12px 40px rgba(20,10,40,0.25);
    max-height: 86vh;
  }
  .gv-sheet-handle { display: none; }
}

/* contact-organizer: floating bubble (organizer avatar + chat badge) */
.gv-chat-fab {
  position: fixed; right: 16px; bottom: 96px; z-index: 30;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; box-shadow: 0 4px 16px rgba(20,10,40,0.22); padding: 3px;
}
.gv-chat-fab-avatar {
  width: 100%; height: 100%; border-radius: 50%; background: var(--gv-tint);
  color: var(--gv-primary); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gv-chat-fab-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gv-chat-fab-badge {
  position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gv-primary); border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) { .gv-chat-fab { bottom: 24px; } }

/* contact-organizer: Message pill + chat-styled sheet */
.gv-msg-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gv-tint); color: var(--gv-primary);
  border: none; border-radius: 999px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background 0.15s ease; flex-shrink: 0;
}
.gv-msg-pill:hover { background: #E9DBFF; }
.gv-contact-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gv-contact-header .gv-avatar { width: 40px; height: 40px; font-size: 14px; }
.gv-contact-name { font-family: var(--gv-font-display); font-weight: 700; font-size: 17px; color: var(--gv-title); }
.gv-contact-status { font-size: 12.5px; color: var(--gv-muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.gv-contact-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gv-success); display: inline-block; }
.gv-contact-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.gv-contact-chip { cursor: pointer; border: 1px solid var(--gv-border); background: #fff; color: var(--gv-primary); font-weight: 500; border-radius: 999px; transition: background 0.15s ease; }
.gv-contact-chip:hover { background: var(--gv-tint); }
.gv-contact-compose {
  margin-top: 12px; border: 1px solid #D1D1D1; border-radius: 16px;
  padding: 12px 14px; background: #fff;
}
.gv-contact-compose:focus-within { border-color: var(--gv-primary); }
.gv-contact-compose textarea {
  width: 100%; border: none; outline: none; resize: none; height: 84px;
  font-family: inherit; font-size: 15px; color: var(--gv-title); background: transparent;
}

/* package summary row (register sheet) */
.gv-pkg-summary {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--gv-input-bg); border-radius: 8px; padding: 10px 12px; margin-top: 12px;
}
.gv-pkg-summary .name { font-size: 12.5px; color: var(--gv-muted); font-weight: 500; }
.gv-pkg-summary .price { font-size: 13px; font-weight: 700; color: var(--gv-title); }

/* inputs */
.gv-inputs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.gv-input {
  border: 1px solid #D1D1D1; border-radius: 9px; height: 46px; padding: 0 14px;
  font-size: 15px; font-family: inherit; outline-color: var(--gv-primary); width: 100%;
}
.gv-input.gv-input-error { border-color: var(--gv-error); }
.gv-input-row { display: flex; gap: 10px; }
.gv-input-row .gv-input { flex: 1; min-width: 0; }
.gv-form-error { font-size: 12.5px; color: var(--gv-error-text); margin-top: 8px; display: none; }
.gv-form-error.show { display: block; }

/* payment sheet */
.gv-pay-header { display: flex; justify-content: space-between; align-items: baseline; }
.gv-pay-pkg { font-size: 13px; color: var(--gv-muted); }
.gv-pay-organizer { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.gv-pay-organizer .gv-avatar { width: 24px; height: 24px; font-size: 10px; }
.gv-pay-organizer-label { font-size: 12.5px; color: var(--gv-body); font-weight: 500; }
.gv-pay-organizer-label b { color: var(--gv-title); }
.gv-due-row {
  display: flex; justify-content: space-between;
  background: var(--gv-input-bg); border-radius: 9px; padding: 12px 14px; margin-top: 14px;
}
.gv-due-row .label { font-size: 14px; color: var(--gv-body); }
.gv-due-row .amount { font-size: 14px; font-weight: 700; color: var(--gv-title); }
.gv-pay-disc {
  display: flex; gap: 7px; align-items: flex-start;
  margin-top: 8px; padding: 8px 12px;
  background: rgba(136,51,255,0.07); border-radius: 8px;
  font-size: 12.5px; line-height: 1.35; color: var(--gv-primary); font-weight: 600;
}
.gv-pay-disc-tick { font-weight: 700; }
.gv-price-was { text-decoration: line-through; color: var(--gv-muted); font-weight: 400; opacity: 0.7; margin-right: 5px; }

/* agreement */
.gv-agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; cursor: pointer; }
.gv-agree-box {
  width: 20px; height: 20px; border-radius: 6px; border: 2px solid #D1D1D1;
  background: #fff; color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gv-agree.checked .gv-agree-box { border-color: var(--gv-primary); background: var(--gv-primary); }
.gv-agree-text { font-size: 12.5px; color: var(--gv-body); line-height: 1.5; }
.gv-agree-text .gv-doclink { color: var(--gv-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* stripe element mount */
.gv-stripe-element { margin-top: 14px; min-height: 40px; }
.gv-pay-loading { text-align: center; font-size: 13px; color: var(--gv-muted); padding: 18px 0; }

/* error / warning banners */
.gv-banner { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 13px 14px; }
.gv-banner .ico { font-size: 15px; }
.gv-banner-error { background: var(--gv-error-bg); border: 1px solid var(--gv-error-border); }
.gv-banner-error .txt { font-size: 13.5px; color: var(--gv-error-text); line-height: 1.5; }
.gv-banner-warn { background: var(--gv-warn-bg); border: 1px solid var(--gv-warn-border); }
.gv-banner-warn .txt { font-size: 13.5px; color: var(--gv-warn-text); line-height: 1.5; }

.gv-secured { text-align: center; font-size: 11.5px; color: var(--gv-muted); margin-top: 8px; }

/* ---------- document review sheet ---------- */
.gv-doc-backdrop {
  position: fixed; inset: 0; background: rgba(20,10,40,0.55); z-index: 60; display: none;
}
.gv-doc {
  position: fixed; left: 12px; right: 12px; top: 56px; bottom: 56px;
  background: #fff; border-radius: 16px; display: none; flex-direction: column;
  overflow: hidden; box-shadow: 0 12px 40px rgba(20,10,40,0.25); z-index: 70;
}
.gv-doc.open { display: flex; }
.gv-doc-backdrop.open { display: block; }
.gv-doc-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 18px 18px 12px; border-bottom: 1px solid var(--gv-divider);
}
.gv-doc-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 17px; color: var(--gv-title); line-height: 1.3; }
.gv-doc-sub { font-size: 12px; color: var(--gv-muted); margin-top: 3px; }
.gv-doc-close {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gv-chip-bg);
  color: var(--gv-body); font-size: 14px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex-shrink: 0; border: none;
}
.gv-doc-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.gv-doc-para-head { font-size: 13.5px; font-weight: 700; color: var(--gv-title); }
.gv-doc-para-body { font-size: 13px; color: var(--gv-body); line-height: 1.55; margin-top: 3px; white-space: pre-line; }
.gv-doc-html { font-size: 13px; color: var(--gv-body); line-height: 1.55; }
.gv-doc-html h1, .gv-doc-html h2, .gv-doc-html h3, .gv-doc-html h4 {
  font-family: var(--gv-font-display); color: var(--gv-title);
  font-size: 13.5px; font-weight: 700; margin: 14px 0 3px;
}
.gv-doc-html h1:first-child, .gv-doc-html h2:first-child, .gv-doc-html h3:first-child { margin-top: 0; }
.gv-doc-html p { margin: 0 0 10px; }
.gv-doc-html ul, .gv-doc-html ol { margin: 0 0 10px; padding-left: 20px; }
.gv-doc-html a { color: var(--gv-primary); }
.gv-doc-html img { max-width: 100%; }
.gv-doc-foot { padding: 12px 18px 16px; border-top: 1px solid var(--gv-divider); }
.gv-doc-foot .gv-btn { height: 44px; font-size: 15px; }
@media (min-width: 1024px) {
  .gv-doc { left: 50%; right: auto; width: 520px; transform: translateX(-50%); }
}

/* ---------- confirmation ---------- */
.gv-confirm {
  position: fixed; inset: 0; background: #fff; z-index: 80; display: none;
  flex-direction: column; align-items: center; padding: 64px 28px 30px;
  text-align: center; overflow-y: auto;
}
.gv-confirm.open { display: flex; }
.gv-confirm-check {
  width: 76px; height: 76px; border-radius: 50%; background: var(--gv-success-bg);
  color: var(--gv-success); font-size: 36px; display: flex; align-items: center;
  justify-content: center; animation: gvPopIn 0.4s ease;
}
.gv-confirm-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 24px; color: var(--gv-title); margin-top: 20px; }
.gv-confirm-body { font-size: 14.5px; color: var(--gv-body); line-height: 1.55; margin-top: 8px; max-width: 420px; }
.gv-confirm-pkg {
  display: inline-flex; align-items: center; gap: 8px; background: var(--gv-input-bg);
  border-radius: 999px; padding: 8px 16px; margin-top: 12px;
}
.gv-confirm-pkg .name { font-size: 12.5px; color: var(--gv-muted); font-weight: 500; }
.gv-confirm-pkg .price { font-size: 13px; font-weight: 700; color: var(--gv-title); }
.gv-app-card {
  background: var(--gv-tint); border-radius: 14px; padding: 20px; margin-top: 28px;
  width: 100%; max-width: 420px;
}
.gv-app-card img.logo { height: 52px; }
.gv-app-card .head { font-family: var(--gv-font-display); font-weight: 700; font-size: 17px; color: var(--gv-title); margin-top: 8px; }
.gv-app-card .body { font-size: 13.5px; color: var(--gv-body); line-height: 1.55; margin-top: 6px; }
.gv-app-card .gv-badges { margin-top: 16px; }

/* ---------- joined (2a) ---------- */
.gv-status-card {
  display: flex; align-items: center; gap: 10px; background: var(--gv-success-bg);
  border-radius: 10px; padding: 13px 14px; margin-top: 14px;
}
.gv-status-check {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gv-success);
  color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.gv-status-title { font-size: 14.5px; font-weight: 700; color: var(--gv-success); }
.gv-status-sub { font-size: 12.5px; color: var(--gv-body); margin-top: 1px; }
.gv-status-sub b { color: var(--gv-title); }
.gv-payment-card { border: 1px solid var(--gv-border); border-radius: 12px; padding: 16px; margin-top: 16px; }
.gv-paid-row { display: flex; justify-content: space-between; align-items: baseline; }
.gv-paid-label { font-size: 13px; color: var(--gv-muted); font-weight: 500; }
.gv-paid-amount { font-size: 15px; font-weight: 700; color: var(--gv-title); }
.gv-paid-amount span { font-size: 12px; color: var(--gv-muted); font-weight: 500; }
.gv-progress { height: 8px; border-radius: 4px; background: var(--gv-chip-bg); margin-top: 10px; overflow: hidden; }
.gv-progress-fill { height: 8px; border-radius: 4px; background: var(--gv-primary); }
.gv-next-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--gv-tint); border-radius: 9px; padding: 12px 14px; margin-top: 14px;
}
.gv-next-label { font-size: 13.5px; font-weight: 600; color: #343434; }
.gv-next-due { font-size: 12px; color: var(--gv-body); margin-top: 1px; }
.gv-next-amount { font-size: 15px; font-weight: 700; color: var(--gv-primary); }
.gv-schedule-link {
  text-align: center; font-size: 12.5px; color: var(--gv-primary); font-weight: 600;
  margin-top: 10px; cursor: pointer; text-decoration: underline;
}

/* ---------- closed (2b) / not found (2d) ---------- */
.gv-info-card { border: 1px solid var(--gv-border); border-radius: 12px; padding: 16px; margin-top: 16px; }
.gv-info-card .head { font-family: var(--gv-font-display); font-weight: 700; font-size: 15.5px; color: var(--gv-title); }
.gv-info-card .body { font-size: 13px; color: var(--gv-body); line-height: 1.5; margin-top: 4px; }
.gv-center-note { text-align: center; font-size: 13px; color: var(--gv-body); line-height: 1.5; margin-top: 18px; }
.gv-notfound {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 0 32px; text-align: center; max-width: 460px; margin: 0 auto;
}
.gv-notfound img.logo { height: 60px; }
.gv-notfound .title { font-family: var(--gv-font-display); font-weight: 700; font-size: 21px; color: var(--gv-title); margin-top: 22px; }
.gv-notfound .body { font-size: 14px; color: var(--gv-body); line-height: 1.55; margin-top: 8px; }
.gv-notfound .gv-badges { margin-top: 22px; }
.gv-notfound .gv-btn-outline { margin-top: 14px; }

.gv-content-pad { padding: 18px 20px 24px; }
@media (min-width: 1024px) {
  .gv-content-pad { padding: 24px 0; max-width: 640px; }
}

/* Discount code (invite checkout) */
.gv-disc { display: flex; gap: 8px; margin-top: 10px; align-items: center; }
.gv-disc-input {
  flex: 1; background: #fff; border: 1.5px solid var(--gv-line, #E5E7EB); border-radius: 9px;
  padding: 9px 12px; font-size: 13px; color: var(--gv-title); font-family: inherit; outline: none;
  text-transform: uppercase;
}
.gv-disc-input:focus { border-color: var(--gv-primary); }
.gv-disc-apply {
  background: var(--gv-tint); color: var(--gv-primary); border: 1.5px solid var(--gv-primary);
  border-radius: 9px; padding: 9px 16px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.gv-disc-apply:hover { background: var(--gv-primary); color: #fff; }
.gv-disc-applied { flex: 1; font-size: 13px; font-weight: 600; color: var(--gv-primary); }
.gv-disc-remove { background: none; border: none; color: var(--gv-muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.gv-disc-msg { font-size: 11.5px; color: var(--gv-muted); margin-top: 6px; min-height: 14px; }
.gv-disc-msg-err { color: var(--gv-accent, #EC0924); }

/* ============ Register sheet redesign 3a (2026-07-17) ============
   Scoped to .gv-sheet-reg so the other sheets keep their styles. */
.gv-sheet-reg { padding: 0; overflow: hidden; }
.gv-sheet-reg .gv-reg-body { padding: 24px 26px 0; max-height: calc(88vh - 72px); overflow-y: auto; }
@media (min-width: 1024px) {
  .gv-sheet-reg { width: 480px; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(28,25,23,.35); }
  .gv-sheet-reg .gv-reg-body { max-height: calc(86vh - 72px); }
}
/* header */
.gv-reg-head { background: linear-gradient(120deg,#6D28D9,#7C3AED); padding: 18px 28px; display: flex; align-items: center; gap: 14px; position: relative; }
.gv-reg-head-main { flex: 1; min-width: 0; }
.gv-reg-head-trip { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-reg-head-meta { font-size: 12.5px; font-weight: 500; color: #DDD6FE; margin-top: 2px; }
.gv-reg-timer { font-size: 11px; font-weight: 600; color: #FFFFFF; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38); padding: 5px 10px; border-radius: 99px; white-space: nowrap; margin-right: 30px; }
.gv-reg-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: none; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 13px; cursor: pointer; line-height: 1; }
.gv-reg-close:hover { background: rgba(255,255,255,.3); }
/* body headings */
.gv-reg-title { font-family: var(--gv-font-display); margin: 0; font-size: 24px; font-weight: 700; color: #27272A; letter-spacing: -.01em; }
.gv-reg-sub { margin: 5px 0 18px; font-size: 14.5px; line-height: 1.5; color: #71717A; }
/* price breakdown */
.gv-reg-price { border: 1px solid #E9D5FF; border-radius: 12px; margin-bottom: 20px; overflow: hidden; }
.gv-reg-price-row { width: 100%; display: flex; align-items: center; gap: 8px; background: #FAF5FF; border: none; padding: 13px 16px; cursor: pointer; text-align: left; font-family: inherit; }
.gv-reg-price-name { font-size: 14px; font-weight: 600; color: #3F3F46; }
.gv-reg-price-total { margin-left: auto; font-size: 15px; font-weight: 700; color: #27272A; }
.gv-reg-chev { font-size: 12px; color: #A1A1AA; transition: transform .2s; display: inline-block; }
.gv-reg-chev.open { transform: rotate(180deg); }
.gv-reg-price-panel { padding: 12px 16px 14px; border-top: 1px solid #E9D5FF; display: flex; flex-direction: column; gap: 8px; }
.gv-reg-bd { display: flex; flex-direction: column; gap: 8px; }
.gv-reg-bd-line { display: flex; justify-content: space-between; font-size: 13px; color: #71717A; }
.gv-reg-bd-line b { font-weight: 600; color: #7C3AED; }
.gv-reg-bd-foot { font-size: 12.5px; font-weight: 500; color: #16A34A; }
/* fields */
.gv-reg-fields { display: flex; flex-direction: column; gap: 15px; }
.gv-reg-label { display: block; font-size: 13px; font-weight: 600; color: #3F3F46; margin-bottom: 6px; }
.gv-reg-label-hint { font-weight: 400; color: #A1A1AA; }
.gv-reg-input { padding: 13px 14px; border: 1.5px solid #D4D4D8; border-radius: 10px; font-size: 15px; color: #27272A; width: 100%; box-sizing: border-box; }
.gv-reg-input:focus { outline: none; border-color: #7C3AED; box-shadow: 0 0 0 3px rgba(124,58,237,.15); }
.gv-reg-email-wrap { position: relative; }
.gv-reg-email-check { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #16A34A; font-weight: 700; font-size: 14px; }
/* dashed add-companion */
.gv-reg-addcompanion { width: 100%; margin-top: 14px; background: none; border: 1.5px dashed #D4D4D8; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 600; font-family: inherit; color: #7C3AED; cursor: pointer; }
.gv-reg-addcompanion:hover { border-color: #7C3AED; background: #FAF5FF; }
.gv-reg-addanother { margin-top: 8px; padding: 10px; }
/* CTA */
.gv-reg-cta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 12px; }
.gv-reg-cta > span:first-child { font-size: 16px; font-weight: 700; color: #fff; }
.gv-reg-cta-due { font-size: 14.5px; font-weight: 600; color: #DDD6FE; }
/* trust line */
.gv-reg-trust { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 13px; font-size: 12.5px; font-weight: 500; color: #71717A; }
.gv-reg-trust span { white-space: nowrap; }
.gv-reg-dot { color: #D4D4D8; }

/* ============ Payment sheet — sticky Pay footer (2026-07-17) ============
   Keep the Pay button visible no matter how tall the Stripe card form gets. */
.gv-sheet-pay { padding-bottom: 0; }
.gv-pay-footer {
  position: sticky; bottom: 0; background: #fff;
  padding: 12px 0 16px; margin-top: 14px;
  box-shadow: 0 -10px 18px -10px rgba(20,10,40,0.16);
}
.gv-pay-footer .gv-btn { margin-top: 0; }
.gv-pay-footer .gv-secured { margin-top: 8px; }

/* ============ Register sheet — sticky CTA footer (2026-07-17) ============
   As people are added the register sheet grows tall; keep "Continue to
   payment" and its live "$X due today" total pinned so nobody has to scroll
   to find it. Mirrors the payment sheet's sticky Pay footer. */
.gv-reg-footer {
  position: sticky; bottom: 0; background: #fff;
  padding: 12px 0 18px; margin-top: 16px;
  box-shadow: 0 -10px 18px -10px rgba(20,10,40,0.16);
}
.gv-reg-footer .gv-reg-cta { margin-top: 0; }
.gv-reg-footer .gv-reg-trust { margin-bottom: 0; }
/* Friendly note shown when the booking is full, in place of the add button. */
.gv-reg-cap-note {
  margin-top: 10px; padding: 11px 13px;
  background: #F5F3FF; border: 1px solid #E5E0FB; border-radius: 10px;
  font-size: 13px; font-weight: 500; color: #6D5BD0; text-align: center;
}

/* ============ Companion arrangement cards (2026-07-17) ============
   All three payment choices VISIBLE with real amounts — a dropdown hid two of
   three money decisions and a hidden preselection risked mistakes. Mirrors the
   page's "Follow the plan / Pay in full" card language. */
.gv-arr { display: flex; flex-direction: column; gap: 7px; }
.gv-arr-card {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; background: #fff; text-align: left; cursor: pointer;
  border: 1.5px solid #E5E2EE; border-radius: 10px;
  transition: border-color .15s, background .15s;
}
.gv-arr-card:hover { border-color: #C9BFF5; }
.gv-arr-dot {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid #D4D0E3; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.gv-arr-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.gv-arr-txt b { font-size: 13.5px; font-weight: 700; color: #26232E; line-height: 1.25; }
.gv-arr-txt small { font-size: 12px; color: #71717A; line-height: 1.3; }
.gv-arr-selected { border-color: #8833FF; background: #FAF7FF; }
.gv-arr-selected .gv-arr-dot { border-color: #8833FF; box-shadow: inset 0 0 0 3.5px #fff; background: #8833FF; }
.gv-arr-selected .gv-arr-txt b { color: #5B21B6; }
.gv-arr-disabled { opacity: .5; cursor: not-allowed; }
.gv-arr-disabled:hover { border-color: #E5E2EE; }

/* ============ REGISTER SHEET FIT PASS (Ouj, 2026-07-20) ============
   The reserve sheet must show everything without scrolling on common
   screens: tighter vertical rhythm + a taller allowance on desktop.
   The sticky footer already keeps the CTA pinned; this makes the
   fields above it fit too. */
.gv-sheet-reg .gv-reg-body { padding: 16px 22px 0; }
.gv-reg-head { padding: 13px 22px; }
.gv-reg-title { font-size: 20px; }
.gv-reg-sub { margin: 4px 0 12px; font-size: 13.5px; }
.gv-reg-price { margin-bottom: 13px; }
.gv-reg-price-row { padding: 10px 14px; }
.gv-reg-price-panel { padding: 9px 14px 11px; gap: 6px; }
.gv-reg-fields { gap: 10px; }
.gv-reg-label { margin-bottom: 4px; }
.gv-reg-input { padding: 10px 13px; }
.gv-reg-addcompanion { margin-top: 10px; padding: 10px; }
.gv-reg-footer { padding: 10px 0 12px; margin-top: 10px; }
.gv-reg-trust { margin-top: 8px; font-size: 12px; }
@media (min-width: 1024px) {
  .gv-sheet-reg { max-height: 92vh; }
  .gv-sheet-reg .gv-reg-body { max-height: calc(92vh - 60px); }
}
/* Short laptop/landscape screens: squeeze a little further */
@media (max-height: 820px) {
  .gv-reg-title { font-size: 18px; }
  .gv-reg-sub { margin: 3px 0 10px; font-size: 13px; }
  .gv-reg-input { padding: 9px 12px; }
  .gv-reg-fields { gap: 8px; }
  .gv-reg-price-panel { gap: 4px; }
  .gv-sheet-reg .gv-reg-body { padding: 12px 22px 0; }
}

/* ---------- first-payment celebration (design_handoff_payment_celebration) ----------
   Timings, colors and sizes match README §2/§2.1/§8 exactly. The purple
   band's height is content-driven (min-height animates 100dvh -> 0) so long
   destinations and organizer names can never overflow it and hide the chip.
   prefers-reduced-motion collapses every animation and the confetti canvas
   never starts (hard requirement). */
.gv-cel {
  position: fixed; inset: 0; z-index: 90; display: none; background: #fff;
}
.gv-cel.open { display: block; }
.gv-cel.play { animation: gvCelWash 0.62s cubic-bezier(.5, 0, .2, 1) both; }
@keyframes gvCelWash {
  from { clip-path: circle(0% at 50% 88%); }
  to { clip-path: circle(150% at 50% 88%); }
}
.gv-cel-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; }
.gv-cel-band {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 52px 26px 54px; box-sizing: border-box; text-align: center;
  background: linear-gradient(165deg, #501C9A 0%, #8833FF 62%, #A56BFA 100%);
  min-height: 100dvh; min-height: 100vh;
  transition: min-height 0.74s cubic-bezier(.72, 0, .18, 1);
}
@supports (min-height: 100dvh) { .gv-cel-band { min-height: 100dvh; } }
.gv-cel.settled .gv-cel-band { min-height: 0; }
.gv-cel-logo { position: absolute; top: 18px; left: 20px; height: 26px; opacity: 0.9; }
.gv-cel-seal {
  position: relative; width: 66px; height: 66px; margin: 23px 0 0;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.gv-cel-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: gvCelRing 1.5s ease-out 0.55s infinite;
}
.gv-cel-ring2 { border-color: rgba(255, 255, 255, 0.4); animation-delay: 1.05s; }
@keyframes gvCelRing {
  from { transform: scale(0.55); opacity: 0.5; }
  to { transform: scale(2.4); opacity: 0; }
}
.gv-cel-disc {
  width: 66px; height: 66px; border-radius: 50%; background: #fff; color: #17AE25;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(20, 10, 40, 0.22);
  animation: gvCelSeal 0.62s cubic-bezier(.34, 1.56, .64, 1) 0.12s both;
}
@keyframes gvCelSeal {
  0% { transform: scale(0.35); opacity: 0; }
  62% { transform: scale(1.14); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
/* the shared _check path DRAWS in (stroke-dashoffset), green, 0.44s at 0.42s */
.gv-cel-disc svg path {
  stroke-dasharray: 24; stroke-dashoffset: 24;
  animation: gvCelDraw 0.44s cubic-bezier(.65, 0, .35, 1) 0.42s forwards;
}
@keyframes gvCelDraw { to { stroke-dashoffset: 0; } }
.gv-cel-r1 { animation: gvCelRise 0.5s ease-out 0.72s both; }
.gv-cel-r2 { animation: gvCelRise 0.55s cubic-bezier(.2, .8, .2, 1) 0.86s both; }
.gv-cel-r3 { animation: gvCelRise 0.55s cubic-bezier(.2, .8, .2, 1) 0.98s both; }
.gv-cel-r4 { animation: gvCelRise 0.55s cubic-bezier(.2, .8, .2, 1) 1.08s both; }
.gv-cel-r5 { animation: gvCelRise 0.5s cubic-bezier(.2, .8, .2, 1) 1.92s both; }
.gv-cel-r6 { animation: gvCelRise 0.5s cubic-bezier(.2, .8, .2, 1) 2.06s both; }
@keyframes gvCelRise {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.gv-cel-kicker {
  margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.78);
}
.gv-cel-headline {
  font-family: var(--gv-font-display); font-weight: 700; font-size: 29px;
  color: #fff; line-height: 1.12; margin-top: 7px; max-width: 100%;
  overflow-wrap: break-word;
}
.gv-cel-sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.82); margin-top: 7px; }
.gv-cel-chip {
  display: flex; align-items: center; gap: 8px; margin-top: 14px; max-width: 100%;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 5px 6px 5px 5px;
}
.gv-cel-chip .gv-avatar {
  width: 22px; height: 22px; font-size: 9.5px; flex: none;
  background: var(--gv-tint); color: var(--gv-primary);
}
.gv-cel-chip .gv-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gv-cel-chip-name {
  font-size: 12.5px; font-weight: 500; color: #fff; padding-right: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gv-cel-content { padding: 0 20px 34px; background: #fff; max-width: 470px; margin: 0 auto; }
/* boarding pass — overlaps the band by 34px (README §2.1) */
.gv-cel-pass {
  margin-top: -34px; position: relative; background: #fff; border-radius: 16px;
  box-shadow: 0 10px 34px rgba(20, 10, 40, 0.14); overflow: hidden;
  animation: gvCelTicket 0.66s cubic-bezier(.2, .9, .2, 1) 1.62s both;
}
@keyframes gvCelTicket {
  from { transform: translateY(72px) scale(0.94); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.gv-cel-sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 34%; z-index: 3;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-140%) skewX(-18deg);
  animation: gvCelSheen 1.1s ease-in-out 2.3s 1 both;
}
@keyframes gvCelSheen {
  from { transform: translateX(-140%) skewX(-18deg); }
  to { transform: translateX(340%) skewX(-18deg); }
}
.gv-cel-pass-photo {
  position: relative; height: 118px; background-size: cover; background-position: center;
}
.gv-cel-pass-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 40, 0.58) 0%, rgba(20, 10, 40, 0.12) 62%, rgba(20, 10, 40, 0.3) 100%);
}
.gv-cel-pass-head {
  position: absolute; left: 16px; right: 16px; top: 12px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.gv-cel-pass-headl { min-width: 0; text-align: left; }
.gv-cel-pass-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.8); text-transform: uppercase;
}
.gv-cel-pass-trip {
  font-family: var(--gv-font-display); font-weight: 700; font-size: 19px; color: #fff;
  line-height: 1.15; margin-top: 2px; text-shadow: 0 1px 6px rgba(20, 10, 40, 0.5);
  /* long trip names: clamp to two lines inside the 118px photo band */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gv-cel-grid {
  padding: 14px 16px 12px; display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; text-align: left;
}
.gv-cel-wide { grid-column: 1 / -1; }
.gv-cel-k {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.1px; color: #7A7E84;
  text-transform: uppercase;
}
.gv-cel-v { font-size: 14px; font-weight: 600; color: #212735; margin-top: 2px; }
.gv-cel-perf { position: relative; height: 16px; display: flex; align-items: center; }
.gv-cel-notch { width: 12px; height: 20px; background: #fff; flex: none; position: relative; z-index: 2; }
.gv-cel-notch-l { border-radius: 0 20px 20px 0; box-shadow: inset 2px 0 0 rgba(20,10,40,0.05); background: #F6F6F7; }
.gv-cel-notch-r { border-radius: 20px 0 0 20px; background: #F6F6F7; }
.gv-cel-dashline { flex: 1; height: 0; border-top: 1.5px dashed #E0E1E3; }
.gv-cel-foot {
  padding: 10px 16px 15px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; text-align: left;
}
.gv-cel-paid { font-size: 15px; font-weight: 700; color: #17AE25; margin-top: 2px; }
.gv-cel-nextcol { text-align: right; }
.gv-cel-quiet {
  text-align: center; font-size: 12px; color: #7A7E84; line-height: 1.5; margin-top: 16px;
}
.gv-cel-pwslot { text-align: left; }
.gv-cel-app { text-align: center; margin-top: 18px; }
.gv-cel-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 96; display: none; }
.gv-cel.open .gv-cel-canvas { display: block; }
/* reduced motion: collapse EVERYTHING; the confetti canvas never starts (JS) */
.gv-cel-still, .gv-cel-still * { animation: none !important; transition: none !important; }
.gv-cel-still .gv-cel-band { min-height: 0; }
.gv-cel-still .gv-cel-disc svg path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .gv-cel, .gv-cel * { animation: none !important; transition: none !important; }
  .gv-cel .gv-cel-band { min-height: 0; }
  .gv-cel .gv-cel-disc svg path { stroke-dashoffset: 0; }
}

/* ---------- celebration share block + sheet (README §2.2 / §3) ---------- */
.gv-cel-share { margin-top: 20px; text-align: left; }
.gv-cel-share-head { font-family: var(--gv-font-display); font-weight: 700; font-size: 16px; color: #212735; }
.gv-cel-share-body { font-size: 13px; color: #565656; line-height: 1.5; margin-top: 3px; }
.gv-cel-share-row { display: flex; gap: 10px; margin-top: 14px; }
.gv-cel-share-btn {
  flex: 1; height: 46px; border-radius: 10px; background: #8833FF; color: #fff;
  font-size: 14.5px; font-weight: 600; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
}
.gv-cel-share-btn:hover { background: #7A22F0; }
.gv-cel-copy-btn {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid #E0E1E3;
  background: #fff; cursor: pointer; display: flex; align-items: center;
  justify-content: center; flex: none;
}
.gv-cel-copy-btn:hover { border-color: #8833FF; }
.gv-cel-sheetback {
  position: absolute; inset: 0; background: rgba(20, 10, 40, 0.45); z-index: 97;
  display: none;
}
.gv-cel-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: #fff;
  border-radius: 20px 20px 0 0; padding: 10px 20px 26px; z-index: 98;
  box-shadow: 0 -8px 40px rgba(20, 10, 40, 0.2); display: none;
}
.gv-cel-sheetback.open, .gv-cel-sheet.open { display: block; }
.gv-cel-sheet.open { animation: gvCelRise 0.28s cubic-bezier(.2, .9, .2, 1) both; }
@media (min-width: 1024px) {
  .gv-cel-sheet { left: 50%; right: auto; width: 520px; transform: translateX(-50%); box-sizing: border-box; }
}
.gv-cel-sheet-handle { width: 38px; height: 4px; border-radius: 99px; background: #E0E1E3; margin: 0 auto 14px; }
.gv-cel-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gv-cel-sheet-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 18px; color: #212735; }
.gv-cel-sheet-close {
  width: 28px; height: 28px; border-radius: 50%; background: #F2F2F7; color: #565656;
  border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.gv-cel-sheet-main { display: flex; gap: 14px; margin-top: 16px; align-items: flex-start; }
.gv-cel-preview { flex: none; }
.gv-cel-preview-card {
  width: 96px; height: 170px; border-radius: 10px; overflow: hidden; position: relative;
  background-size: cover; background-position: center;
  box-shadow: 0 4px 16px rgba(20, 10, 40, 0.14);
}
.gv-cel-preview-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 40, 0.25), rgba(20, 10, 40, 0.82));
}
.gv-cel-preview-chip {
  position: absolute; top: 7px; left: 7px; display: flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.18); border-radius: 99px; padding: 2px 7px 2px 2px;
  max-width: calc(100% - 14px);
}
.gv-cel-preview-chip .gv-avatar { width: 13px; height: 13px; font-size: 6px; flex: none; background: var(--gv-tint); color: var(--gv-primary); }
.gv-cel-preview-chip .gv-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gv-cel-preview-chip span { font-size: 6.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv-cel-preview-text { position: absolute; left: 8px; right: 8px; bottom: 8px; }
.gv-cel-preview-k { font-size: 6.5px; font-weight: 700; letter-spacing: 0.8px; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; }
.gv-cel-preview-d { font-family: var(--gv-font-display); font-weight: 700; font-size: 15px; color: #fff; line-height: 1; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gv-cel-preview-s { font-size: 6.5px; color: rgba(255, 255, 255, 0.85); margin-top: 2px; text-transform: uppercase; }
.gv-cel-sheet-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gv-cel-sheet-cap { font-size: 13px; color: #565656; line-height: 1.5; }
.gv-cel-linkrow {
  background: #F6F6F7; border-radius: 8px; padding: 9px 11px;
  display: flex; align-items: center; gap: 8px;
}
.gv-cel-linktext { flex: 1; min-width: 0; font-size: 12px; color: #212735; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gv-cel-linkcopy { font-size: 12px; font-weight: 700; color: #8833FF; background: none; border: 0; cursor: pointer; flex: none; padding: 0; }
.gv-cel-sheet-share {
  height: 44px; border-radius: 10px; background: #8833FF; color: #fff;
  font-size: 14.5px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit;
}
.gv-cel-sheet-share:hover { background: #7A22F0; }
.gv-cel-sheet-save {
  height: 44px; border-radius: 10px; border: 1px solid #E0E1E3; background: #fff;
  color: #565656; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.gv-cel-sheet-save:hover { border-color: #8833FF; }
.gv-cel-sheet-foot { font-size: 11.5px; color: #7A7E84; line-height: 1.45; margin-top: 16px; text-align: center; }
.gv-cel-toast {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 99;
  background: #212735; color: #fff; font-size: 13px; font-weight: 500;
  border-radius: 999px; padding: 9px 18px; white-space: nowrap; display: none;
}
.gv-cel-toast.show { display: block; animation: gvCelToast 2s ease forwards; }
@keyframes gvCelToast {
  0% { transform: translate(-50%, 14px); opacity: 0; }
  12% { transform: translate(-50%, 0); opacity: 1; }
  82% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, -6px); opacity: 0; }
}
/* once the real story PNG loads it IS the preview — hide the mock layers */
.gv-cel-preview-real .gv-cel-preview-chip,
.gv-cel-preview-real .gv-cel-preview-text,
.gv-cel-preview-real .gv-cel-preview-shade { display: none; }

/* ---------- waitlist / notify-me (design_handoff_waitlist_notify_me) ---------- */
.gv-wl-line { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--gv-body); line-height: 1.5; }
.gv-wl-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.gv-wl-dot-red { background: var(--gv-error); }
.gv-wl-dot-amber { background: #E8A13D; }
.gv-wl-leave {
  display: block; margin: 10px auto 0; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; color: var(--gv-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.gv-wl-proof {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  background: #FBF9FF; border: 1px solid #EADFFB; border-radius: 13px;
  padding: 13px 15px; font-size: 12.5px; color: var(--gv-body);
}
.gv-wl-proof-ico { display: inline-flex; color: var(--gv-primary); flex-shrink: 0; }
.gv-wl-label { font-size: 12px; font-weight: 600; color: var(--gv-body); margin-bottom: 6px; }
.gv-wl-hint { font-size: 11.5px; color: var(--gv-muted); margin-top: 2px; }
.gv-wl-partyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gv-wl-stepper { display: flex; align-items: center; gap: 12px; }
.gv-wl-step {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gv-border);
  background: #fff; color: var(--gv-muted); font-size: 18px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit;
}
.gv-wl-step-plus { border-color: #D9C6F8; background: var(--gv-tint); color: var(--gv-primary); }
.gv-wl-count { font-size: 16px; font-weight: 700; color: var(--gv-title); min-width: 18px; text-align: center; }
.gv-wl-consent { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; position: relative; }
.gv-wl-consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.gv-wl-box {
  width: 18px; height: 18px; border-radius: 5px; background: var(--gv-primary);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.gv-wl-consent input:not(:checked) + .gv-wl-box { background: #fff; border: 1.5px solid var(--gv-border); }
.gv-wl-consent input:not(:checked) + .gv-wl-box svg { display: none; }
.gv-wl-consent-bad input:not(:checked) + .gv-wl-box { border-color: var(--gv-error); }
.gv-wl-consent-txt { font-size: 12.5px; color: var(--gv-body); line-height: 1.45; }
.gv-wl-consent-nudge { font-size: 12px; color: var(--gv-error); line-height: 1.45; padding-left: 27px; }
.gv-wl-submit-soft { background: #D9C6F8 !important; }
.gv-wl-done-circle {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gv-success);
  display: inline-flex; align-items: center; justify-content: center;
}
/* B2 · claim-urgency banner atop the open invite page (arrival from a blast) */
.gv-wl-claim {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  background: var(--gv-navy); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 9px 14px; text-align: left; line-height: 1.45;
}
.gv-wl-claim svg { flex-shrink: 0; }

/* the hidden attribute must always win — .gv-banner's display:flex was
   overriding it, so the sheet's error banner showed before any submit */
.gv-banner[hidden] { display: none !important; }
