/* ============================================================
   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;
}
/* Place chip that links to its destination page (2026-11-10): identical at rest, purple + underline on hover or focus. */
a.gv-chip.gv-chip-link { text-decoration: none; }
a.gv-chip.gv-chip-link:hover, a.gv-chip.gv-chip-link:focus-visible { color: #8833FF; text-decoration: underline; text-underline-offset: 3px; }
.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; }

/* ---------------- autopay (2026-09-03) ---------------- */
.gv-autopay { margin-top: 10px; }
.gv-autopay-detail { font-size: 12px; color: var(--gv-muted); line-height: 1.5; margin: 6px 0 0 30px; }
.gv-autopay-card { margin-top: 12px; }
.gv-ap-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gv-ap-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 15px; color: var(--gv-title); }
.gv-ap-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--gv-chip-bg); color: var(--gv-muted); }
.gv-ap-chip-on { background: var(--gv-success-bg); color: var(--gv-success); }
.gv-ap-chip-warn { background: var(--gv-warn-bg); color: var(--gv-warn-text); }
.gv-ap-body { font-size: 13.5px; color: var(--gv-body); line-height: 1.5; margin-top: 6px; }
.gv-ap-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.gv-ap-link { background: none; border: none; padding: 0; cursor: pointer; color: var(--gv-primary); font-weight: 600; font-size: 13.5px; font-family: inherit; }
.gv-ap-link.danger { color: var(--gv-error-text); }
.gv-ap-link:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: 2px; border-radius: 4px; }
.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-jpay-sub { font-size: 13px; color: var(--gv-body); margin-top: 6px; line-height: 1.5; }

/* ---------------- autopay checkout choice (2026-09-04) ----------------
   Two options, nothing pre-selected; Pay waits for a choice. */
.gv-ap-q { font-size: 13px; font-weight: 700; color: var(--gv-title); margin: 14px 0 8px; }
.gv-ap-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 520px) { .gv-ap-choice { grid-template-columns: 1fr; } }
.gv-ap-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--gv-border); border-radius: 12px; cursor: pointer; background: #fff; }
.gv-ap-opt:hover { border-color: var(--gv-light-purple); }
.gv-ap-opt:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: 2px; }
.gv-ap-opt.selected { border-color: var(--gv-primary); background: var(--gv-tint); }
.gv-ap-opt-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D1D1D1; background: #fff; flex-shrink: 0; margin-top: 1px; position: relative; }
.gv-ap-opt.selected .gv-ap-opt-radio { border-color: var(--gv-primary); }
.gv-ap-opt.selected .gv-ap-opt-radio::after { content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px; border-radius: 50%; background: var(--gv-primary); }
.gv-ap-opt-title { font-size: 13px; font-weight: 700; color: var(--gv-title); line-height: 1.35; }
.gv-ap-rec { display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--gv-success-bg); color: var(--gv-success); vertical-align: 1px; }
.gv-ap-opt-sub { font-size: 12px; color: var(--gv-body); line-height: 1.45; margin-top: 3px; }
.gv-ap-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; }
.gv-ap-hint { color: var(--gv-muted); }
.gv-ap-foot .gv-doclink { color: var(--gv-primary); font-weight: 600; text-decoration: underline; cursor: pointer; margin-left: auto; }
.gv-autopay .gv-autopay-detail { margin-left: 0; }


/* ============ Autopay checkout choice v2 (2026-09-04, design handoff
   `design_handoff_autopay` §4.1). Overrides the first-pass side-by-side
   cards above: the two options are now ROWS inside one bordered control
   (a real radio group look), the terms sit in one muted line under it, the
   full wording lives in its own sheet, and the "choose one" hint moved
   under the Pay button. Later rules win at equal specificity. ============ */
.gv-ap-q { margin: 14px 0 8px; }
.gv-ap-choice { display: block; border: 1px solid var(--gv-border); border-radius: 12px; overflow: hidden; background: #fff; }
.gv-ap-opt { padding: 13px 15px; border: 0; border-radius: 0; gap: 11px; align-items: flex-start; background: #fff; }
.gv-ap-opt + .gv-ap-opt { border-top: 1px solid var(--gv-divider); }
.gv-ap-opt:hover { border-color: var(--gv-divider); background: #FCFBFE; }
.gv-ap-opt:focus-visible { outline: 2px solid var(--gv-primary); outline-offset: -2px; }
.gv-ap-opt.selected { border-color: var(--gv-divider); background: #FBF7FF; }
.gv-ap-opt-radio { width: 20px; height: 20px; border: 1.5px solid #C9C9CE; margin-top: 0; }
.gv-ap-opt.selected .gv-ap-opt-radio { border: 6px solid var(--gv-primary); background: #fff; }
.gv-ap-opt.selected .gv-ap-opt-radio::after { content: none; }
.gv-ap-opt-text { min-width: 0; flex: 1; }
.gv-ap-opt-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.gv-ap-opt-name { white-space: nowrap; }
.gv-ap-rec { margin-left: 0; font-size: 10px; letter-spacing: .02em; text-transform: uppercase; padding: 2px 7px; background: var(--gv-tint); color: var(--gv-primary); white-space: nowrap; vertical-align: 0; }
.gv-ap-opt-sub { font-size: 12.5px; color: var(--gv-muted); margin-top: 2px; }
.gv-ap-terms { font-size: 11.5px; color: var(--gv-muted); line-height: 1.5; margin-top: 8px; }
.gv-ap-more { margin-top: 4px; font-size: 12px; }
.gv-ap-more .gv-doclink { color: var(--gv-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }
.gv-ap-foot { display: none; }
/* Bank / Link picked in the Payment Element: the choice no longer applies
   (cards only), so the group dims and JS swaps the terms line for the reason. */
.gv-autopay.gv-ap-dim .gv-ap-choice { opacity: .5; pointer-events: none; }
/* The "choose one" hint under the (disabled) Pay button. */
.gv-pay-footer .gv-ap-hint { display: block; text-align: center; font-size: 11.5px; color: var(--gv-muted); margin-top: 8px; }
.gv-pay-footer .gv-ap-hint + .gv-secured { margin-top: 4px; }

/* Autopay details sheet — sits above the payment sheet (backdrop 40 / sheet 50). */
.gv-apd-backdrop { position: fixed; inset: 0; background: rgba(20,10,40,0.45); z-index: 60; display: none; }
.gv-apd-backdrop.open { display: block; }
.gv-sheet-apd { z-index: 61; }
.gv-apd-wording { font-size: 13px; color: var(--gv-body); line-height: 1.55; background: var(--gv-input-bg, #F7F7F9); border: 1px solid var(--gv-border); border-radius: 12px; padding: 12px 14px; margin: 14px 0 16px; white-space: pre-line; }
.gv-sheet-apd .gv-btn-outline { width: 100%; }

/* Autopay outcome card on the confirmation (handoff §4.2): on / not on / manual. */
.gv-ap-result { text-align: left; border: 1px solid var(--gv-border); border-radius: 14px; padding: 14px 16px; margin-top: 14px; background: #fff; }
.gv-ap-result.gv-apr-warn { border-color: var(--gv-warn-border); background: var(--gv-warn-bg); }
.gv-apr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gv-apr-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 15px; color: var(--gv-title); }
.gv-apr-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--gv-body); margin-top: 8px; }
.gv-apr-row b { color: var(--gv-title); font-weight: 700; text-align: right; }
.gv-apr-body { font-size: 12.5px; color: var(--gv-muted); line-height: 1.5; margin-top: 8px; }
.gv-cel-apslot { max-width: 420px; margin: 0 auto; }
.gv-cel-apslot .gv-ap-result { margin: 14px auto 0; }


/* ============ Trip-page autopay card v2 (2026-09-07, design handoff
   `design_handoff_autopay` §4.3): facts in rows, one-sentence body, a
   footnote for the on-states, a confirmation strip right after turning
   off, and the "all paid up" line that replaces the payment card. ============ */
.gv-ap-rows { margin-top: 10px; }
.gv-ap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; padding: 7px 0; border-bottom: 1px solid var(--gv-divider); }
.gv-ap-row:last-child { border-bottom: 0; }
.gv-ap-row .l { color: var(--gv-muted); flex: none; }
.gv-ap-row .v { font-weight: 600; color: var(--gv-title); text-align: right; }
.gv-ap-row .v.warn { color: var(--gv-warn-text); }
.gv-ap-row .v.bad { color: var(--gv-error-text); }
.gv-ap-note { font-size: 11.5px; color: var(--gv-muted); line-height: 1.5; margin-top: 8px; }
.gv-ap-strip { display: flex; gap: 9px; align-items: flex-start; background: var(--gv-success-bg); color: var(--gv-success); border-radius: 9px; padding: 11px 13px; margin-top: 11px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.gv-ap-actions { border-top: 1px solid var(--gv-divider); padding-top: 12px; margin-top: 12px; }
.gv-ap-link.strong { text-decoration: underline; }
.gv-next-due.overdue { color: var(--gv-error-text); font-weight: 600; }
.gv-stopped { display: flex; gap: 12px; align-items: center; }
.gv-stopped-ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; background: var(--gv-success-bg); color: var(--gv-success); flex: none; }
.gv-stopped-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 15px; color: var(--gv-title); }
.gv-stopped-body { font-size: 12.5px; color: var(--gv-muted); line-height: 1.45; margin-top: 2px; }
/* "Turn off" is a legitimate choice, not a destructive one: outlined, error text, no red fill. */
.gv-btn.gv-apoff-btn { background: #fff; color: var(--gv-error-text); border: 1px solid var(--gv-error-border); }
.gv-btn.gv-apoff-btn:hover { background: var(--gv-error-bg); }

/* Slice B.1 (2026-09-07), persona review fix 10: "Update card · Turn off autopay"
   were two small adjacent text links — a fat-finger pair on a phone. 44px tap
   height and 24px between them. The red on "Turn off" stays (Ouj's call); the
   confirmation sheet is the real safeguard. */
.gv-ap-actions { gap: 0 24px; padding-top: 2px; }
.gv-ap-actions .gv-ap-link { min-height: 44px; display: inline-flex; align-items: center; }

/* D2 (Ouj 2026-09-07, option a): the group-booking note under the autopay
   choice — same voice as the terms line, a touch of air above it. */
.gv-ap-group { margin-top: 6px; }

/* Slice D (2026-09-08, design canvas 3c): the desktop plan rail beside the
   payment modal. A SIBLING of the pay sheet (the sheet scrolls and is
   transformed, so nothing inside it can sit beside it); JS fills it from the
   same rows as the breakdown and toggles has-rail/has-plan; CSS does the
   rest. Phones never see it. The choice control and Pay gating are untouched. */
.gv-plan-rail { display: none; }
@media (min-width: 1024px) {
  .gv-sheet-pay.open.has-rail { left: calc(50% - 162px); }
  .gv-sheet-pay.open.has-rail + .gv-plan-rail.has-plan {
    display: block; position: fixed; z-index: 50; top: 50%; transform: translateY(-50%);
    left: calc(50% + 82px); width: 300px; max-height: 86vh; overflow-y: auto; overflow-x: hidden;
    background: #fff; border-radius: 16px; padding: 18px 18px 16px;
    box-shadow: 0 12px 40px rgba(20,10,40,0.25);
  }
  .gv-rail-title { font-family: var(--gv-font-display); font-weight: 700; font-size: 15px; color: var(--gv-title); margin: 0 0 8px; }
  /* .gv-side is the page's sticky 360px column; inside the rail it is just a styling hook. */
  .gv-plan-rail .gv-side { position: static; width: auto; max-width: none; flex: none; margin: 0; padding: 0; top: auto; }
  .gv-plan-rail .gv-breakdown { margin-top: 0; }
  .gv-rail-note { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--gv-body); background: var(--gv-tint); border-radius: 9px; padding: 10px 12px; }
  .gv-rail-note.on { background: #F3EBFF; color: #5B1BA8; }
}

/* ---------- X1 · "Your trips" pill (2026-10-12): signed-in travelers only ---------- */
.gv-header-r { display: flex; align-items: center; gap: 10px; }
.gv-mt-pill {
  height: 44px; padding: 0 14px; border-radius: 10px; background: var(--gv-tint); color: var(--gv-primary);
  font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; text-decoration: none;
}
.gv-mt-pill:hover { background: #E9DCFF; color: var(--gv-primary-hover); }
.gv-hero .gv-mt-pill-hero { position: absolute; top: 12px; right: 12px; z-index: 6; background: #FFFFFF; color: #8833FF;
  box-shadow: 0 2px 12px rgba(23,16,48,0.18); } /* solid white on any photo (design answers #10) */
.gv-hero .gv-mt-pill-hero:hover { background: #FFFFFF; color: #7A22F0; }

/* ============================================================
   Traveler self-service cancellation (2026-10-14)
   design_handoff_self_cancel — RefundSheet.dc.html / TripPageCancel.dc.html.
   Values are the design's (README §6 tokens). The destructive button uses the
   existing danger style (op-btn-danger red), per README §3.9.
   ============================================================ */
.gv-sc-entry {
  display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 14px auto 0;
  font: 600 13.5px var(--gv-font-text); color: #565656; cursor: pointer; background: none; border: none; padding: 0 8px;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #B0B3B8;
}
.gv-sc-entry:focus-visible, .gv-sc-close:focus-visible, .gv-sc-btn:focus-visible, .gv-sc-msg:focus-visible,
.gv-sc-chip:focus-visible, .gv-sc-ack:focus-visible { outline: 2px solid #8833FF; outline-offset: 2px; }
.gv-sc-started { font-size: 13px; color: #565656; text-align: center; padding: 6px 0; line-height: 1.45; margin-top: 14px; }
.gv-sc-started button { background: none; border: none; padding: 0; font: 700 13px var(--gv-font-text); color: #8833FF; cursor: pointer; min-height: 44px; }

.gv-sc-scrim { position: fixed; inset: 0; background: rgba(23,16,48,0.45); z-index: 45; display: none; }
.gv-sc-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  max-height: 92%; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 10px 18px 28px;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.gv-sc-sheet.open, .gv-sc-scrim.open { display: block; }
.gv-sc-handle { width: 40px; height: 5px; border-radius: 99px; background: #E0E1E3; margin: 0 auto 14px; }
@media (min-width: 1024px) {
  .gv-sc-sheet {
    left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%);
    width: 560px; max-height: 92vh; border-radius: 20px; padding: 24px 28px 28px;
    box-shadow: 0 24px 64px rgba(20,10,40,0.25);
  }
  .gv-sc-handle { display: none; }
}
body.gv-sc-lock { overflow: hidden; }
.gv-sc-close {
  width: 36px; height: 36px; border-radius: 50%; background: #F6F5F9; display: flex; align-items: center; justify-content: center;
  flex: none; cursor: pointer; color: #565656; border: none; padding: 0; position: relative;
}
.gv-sc-close::after { content: ''; position: absolute; inset: -4px; } /* 44 px hit target */
.gv-sc-btn {
  height: 48px; border-radius: 12px; font: 700 14.5px var(--gv-font-text); display: flex; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; width: 100%; border: none; padding: 0 12px;
}
.gv-sc-primary { height: 50px; background: #8833FF; color: #fff; font-size: 15px; }
.gv-sc-primary:hover { background: #7A22F0; }
.gv-sc-secondary { border: 1px solid #E0E1E3; background: #fff; color: #212735; }
.gv-sc-danger { height: 50px; font-size: 15px; background: #EC0924; color: #fff; }
.gv-sc-danger:hover { background: #C90720; }
.gv-sc-danger:disabled { background: #E0E1E3; color: #7A7E84; cursor: default; }
.gv-sc-danger.is-processing, .gv-sc-danger.is-processing:disabled { background: #EC0924; color: #fff; opacity: .85; cursor: progress; }
.gv-sc-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2.4px solid rgba(255,255,255,.4); border-top-color: #fff; animation: gvScSpin .8s linear infinite; flex: none; }
.gv-sc-danger.is-processing .gv-sc-spin { display: inline-block; }
.gv-sc-msg {
  align-self: center; font: 700 13.5px var(--gv-font-text); color: #8833FF; padding: 4px; background: none; border: none; cursor: pointer;
  min-height: 44px;
}
.gv-sc-busy .gv-sc-secondary, .gv-sc-busy .gv-sc-msg { opacity: .4; pointer-events: none; }
.gv-sc-busy .gv-sc-chip, .gv-sc-busy .gv-sc-note, .gv-sc-busy .gv-sc-ack, .gv-sc-busy .gv-sc-close { pointer-events: none; }
.gv-sc-chip {
  position: relative; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid #E0E1E3; background: #fff; color: #565656;
  font: 600 13px var(--gv-font-text); display: flex; align-items: center; cursor: pointer; white-space: nowrap;
}
.gv-sc-chip::after { content: ''; position: absolute; left: 0; right: 0; top: -5px; bottom: -5px; } /* 44 px hit target */
.gv-sc-chip[aria-pressed="true"] { background: #F3EBFF; border-color: #8833FF; color: #6D28D9; }
.gv-sc-note {
  min-height: 44px; border-radius: 12px; border: 1px solid #E0E1E3; padding: 12px 14px; font: 13.5px/1.4 var(--gv-font-text);
  color: #212735; width: 100%; resize: none; display: block; background: #fff;
}
.gv-sc-note::placeholder { color: #B0B3B8; }
.gv-sc-note:focus { outline: none; border-color: #8833FF; }
.gv-sc-ack { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; padding: 2px 0; }
.gv-sc-ack-box {
  width: 22px; height: 22px; border-radius: 6px; border: 1.6px solid #B0B3B8; background: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.gv-sc-ack-box svg { display: none; }
.gv-sc-ack[aria-checked="true"] .gv-sc-ack-box { border-color: #8833FF; background: #8833FF; }
.gv-sc-ack[aria-checked="true"] .gv-sc-ack-box svg { display: block; }
.gv-sc-ring { width: 18px; height: 18px; border-radius: 50%; border: 2.4px solid #DCC6FF; border-top-color: #8833FF; animation: gvScSpin .8s linear infinite; flex: none; }
.gv-sc-pulse { animation: gvScPulse 1.4s ease-in-out infinite; }
@keyframes gvScSpin { to { transform: rotate(360deg); } }
@keyframes gvScPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .gv-sc-ring, .gv-sc-spin, .gv-sc-pulse { animation: none; } }
/* R1 — released page restyle; R2 — web refund invoice (2026-10-14) */
.gv-r1 { background: #F6F5F9; min-height: 100vh; padding: 52px 18px 28px; }
.gv-r2 { background: #F6F5F9; min-height: 100vh; }
.gv-r2-bar { height: 56px; background: #fff; border-bottom: 1px solid #F0F0F2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; }
.gv-r2-back { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: #212735; min-height: 44px; text-decoration: none; }
.gv-r2-backd { display: none; }
.gv-r2-col { max-width: 640px; margin: 0 auto; }
@media (min-width: 1024px) {
  .gv-r1 { padding: 56px 0 64px; }
  .gv-r2 { padding: 32px 0 48px; }
  .gv-r2-bar { display: none; }
  .gv-r2-backd { display: flex; padding: 0 16px; min-height: 44px; align-items: center; }
  .gv-r2-backd a { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: #8833FF; text-decoration: none; }
}
/* C6 "Check your inbox" — the "Your trips" sign-in screen's styles (invite/_my_trips_style), scoped to the sheet
   so the joined page keeps its own background. */
.gv-sc-sheet .gv-mt-panel { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(23,16,48,.05); }
.gv-sc-sheet .gv-mt-h { font-family: var(--gv-font-display); font-size: 26px; font-weight: 700; color: #212735; line-height: 1.15; margin: 0; }
.gv-sc-sheet .gv-mt-h:focus { outline: none; }
.gv-sc-sheet .gv-mt-sent { padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.gv-sc-sheet .gv-mt-sent .gv-mt-h { font-size: 24px; }
.gv-sc-sheet .gv-mt-mail { width: 52px; height: 52px; border-radius: 50%; background: #E8F7E9; color: #17AE25; display: flex; align-items: center; justify-content: center; }
.gv-sc-sheet .gv-mt-sent p { font-size: 14px; color: #565656; line-height: 1.5; margin: 0; }
.gv-sc-sheet .gv-mt-sent p b { color: #212735; word-break: break-all; }
.gv-sc-sheet .gv-mt-hint { font-size: 13px; color: #565656; line-height: 1.5; background: #F6F5F9; border-radius: 10px; padding: 10px 12px; }
.gv-sc-sheet .gv-mt-again { display: flex; flex-direction: column; gap: 4px; }
.gv-sc-sheet .gv-mt-btn2 { height: 46px; border-radius: 12px; border: 1px solid #E0E1E3; background: #fff; color: #212735; font: 700 14px var(--gv-font-text); display: flex; align-items: center; justify-content: center; cursor: pointer; width: 100%; white-space: nowrap; }
.gv-sc-sheet .gv-mt-btn2[disabled] { color: #B0B3B8; cursor: default; }
.gv-sc-sheet .gv-mt-err { font-size: 12.5px; color: #B00B20; margin-top: -4px; display: none; }
.gv-sc-sheet .gv-mt-err.show { display: block; }
@media (min-width: 1024px) {
  .gv-sc-sheet .gv-mt-sent { padding: 26px 24px; gap: 13px; }
  .gv-sc-sheet .gv-mt-sent .gv-mt-h { font-size: 26px; }
  .gv-sc-sheet .gv-mt-sent p { font-size: 14.5px; }
}

/* ---------- Change package (2026-11-05, design_handoff_package_change T1–T5, D1–TD) ---------- */
.pc-done{display:flex;align-items:center;justify-content:center;gap:8px;background:#E8F7E9;border-radius:999px;height:38px;font-size:13.5px;font-weight:700;color:#067647;margin:0 0 12px}
.gv-ms-card .pc-done{margin:10px 0 4px}
.pc-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap} /* fix 3: the pill wraps below, never the price */
.pc-row-main{min-width:0}
.pc-row-label{font-size:12.5px;color:#7A7E84}
.pc-row-name{display:flex;align-items:baseline;gap:8px;margin-top:2px;font-size:16px;color:#212735;flex-wrap:nowrap;white-space:nowrap}
.pc-pill{height:36px;padding:0 13px;border-radius:999px;background:#F3EBFF;color:#8833FF;font-size:13.5px;font-weight:700;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;cursor:pointer;border:0;font-family:inherit}
.pc-pill:hover{background:#E9DBFF}
.pc-pill:focus-visible{outline:2px solid #8833FF;outline-offset:2px}
.pc-row-changed{font-size:12px;color:#7A7E84;margin:-6px 0 12px}
.pc-row-line{background:#fff;border:1px solid #E0E1E3;border-radius:12px;padding:11px 14px;font-size:12.5px;color:#565656;line-height:1.5;margin:-2px 0 12px}
.pc-row-sched{border-top:1px solid #F0F0F2;padding-top:4px;margin:12px 0 0}
.pc-row-sched div{display:flex;justify-content:space-between;font-size:13.5px;padding:7px 0}
.pc-row-sched span{color:#565656}
.pc-row-fee{font-size:12.5px;color:#7A7E84;margin-top:10px}
.pc-sheet .pc-pkg{display:block;width:100%;text-align:left;border:1px solid #E0E1E3;border-radius:12px;padding:13px 14px;background:#fff;cursor:pointer;font-family:inherit;color:#212735}
.pc-sheet .pc-pkg:hover{border-color:#A56BFA}
.pc-sheet .pc-pkg.is-on{border:2px solid #8833FF;padding:12px 13px;background:#FBF8FF}
.pc-sheet .pc-pkg.is-current{background:#F6F5F9;cursor:default}
.pc-sheet .pc-pkg.is-disabled{background:#FAFAFB;cursor:default}
.pc-sheet .pc-pkg.is-disabled[data-pc-locked]{cursor:pointer}
.pc-sheet .pc-pkg.is-disabled:hover{border-color:#E0E1E3}
.pc-pkg-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14.5px}
.pc-pkg-name{font-weight:700;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pc-pkg-amt{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.pc-pkg-diff{font-size:12.5px;font-weight:700;color:#565656}
.pc-pkg-diff.is-up{color:#8833FF}
.pc-pkg-desc{font-size:12.5px;color:#7A7E84;margin-top:4px}
.pc-pkg-why{font-size:12.5px;color:#565656;margin-top:6px;display:flex;gap:6px;align-items:flex-start}
.pc-chip{height:20px;padding:0 8px;border-radius:999px;background:#F3EBFF;color:#8833FF;font-size:11px;font-weight:700;display:inline-flex;align-items:center}
.pc-primary{height:50px;border-radius:12px;background:#8833FF;color:#fff;font-size:15px;font-weight:700;border:0;cursor:pointer;width:100%;font-family:inherit}
.pc-primary:hover{background:#7A22F0}
.pc-primary:disabled{background:#F2F2F7;color:#B0B3B8;cursor:default;box-shadow:none}
[data-pc-variant] .pc-primary{height:52px}
[data-pc-variant] .pc-primary:not(:disabled){box-shadow:0 4px 18px rgba(136,51,255,.35)}
.pc-keep{align-self:center;font-size:14px;font-weight:600;color:#565656;background:none;border:0;cursor:pointer;min-height:44px;font-family:inherit}
.pc-choice{display:flex;gap:11px;border:2px solid #E0E1E3;border-radius:12px;padding:12px 13px;background:#fff;cursor:pointer;width:100%;font-family:inherit}
.pc-choice-radio{width:20px;height:20px;border-radius:50%;border:2px solid #D1D1D1;flex:none;display:flex;align-items:center;justify-content:center;margin-top:1px;box-sizing:border-box}
.pc-choice-radio span{width:10px;height:10px;border-radius:50%;background:transparent}
.pc-choice.is-on{border-color:#8833FF}
.pc-choice.is-on .pc-choice-radio{border-color:#8833FF}
.pc-choice.is-on .pc-choice-radio span{background:#8833FF}
.pc-ack{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.pc-ack input{position:absolute;opacity:0;width:1px;height:1px}
.pc-ack-box{width:22px;height:22px;border-radius:6px;border:2px solid #B0B3B8;background:#fff;flex:none;display:flex;align-items:center;justify-content:center;color:transparent;font-size:13px;font-weight:700;margin-top:1px;box-sizing:border-box}
.pc-ack input:checked + .pc-ack-box{border-color:#8833FF;background:#8833FF;color:#fff}
.pc-ack input:focus-visible + .pc-ack-box{box-shadow:0 0 0 3px #DCC6FF}
.pc-desk-only{display:none}
@media (min-width:700px){ .pc-desk-only{display:inline-flex} }

/* Change package · Ask me first card above the payment card (Phase 4, design T4 / T4b / D3).
   Phone: stacked, as drawn. Desktop (≥700px, D3): one row, text left, action right. */
.pc-req{border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;margin:14px 0;font-family:inherit}
.pc-req.is-pending{background:#FFF6E5;border:1px solid #F2D9A0}
.pc-req.is-approved{background:#fff;border:2px solid #8833FF;box-shadow:0 4px 18px rgba(136,51,255,.12)}
.pc-req.is-declined{background:#fff;border:1px solid #E0E1E3}
.pc-req-main{display:flex;flex-direction:column;gap:8px;min-width:0}
.pc-req-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.pc-req-title{font-size:14.5px;font-weight:700;color:#212735}
.pc-req-chip{height:22px;padding:0 9px;border-radius:999px;background:#fff;color:#6B4E0E;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;white-space:nowrap}
.pc-req-move{font-size:13.5px;color:#212735}
.pc-req-note{font-size:12.5px;color:#6B4E0E;line-height:1.5}
.pc-req.is-declined .pc-req-note{color:#565656}
.pc-req-quote{font-size:13px;color:#565656;line-height:1.5;background:#F6F5F9;border-radius:10px;padding:9px 12px}
.pc-req-link{align-self:flex-start;background:none;border:0;padding:0;font-family:inherit;font-size:13.5px;font-weight:700;color:#6B4E0E;text-decoration:underline;text-underline-offset:3px;cursor:pointer;white-space:nowrap}
.pc-req.is-declined .pc-req-link{color:#565656}
.pc-req-link:disabled{opacity:.5;cursor:default}
.pc-req-ok{display:flex;align-items:center;gap:8px;font-size:14.5px;font-weight:700;color:#212735}
.pc-req-ok span{width:22px;height:22px;border-radius:50%;background:#17AE25;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.pc-req-box{background:#F6F5F9;border-radius:10px;padding:2px 12px;display:flex;flex-direction:column}
.pc-req-boxrow{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;padding:9px 0;border-bottom:1px solid #E8E6EE}
.pc-req-boxrow span{color:#565656}
.pc-req-boxrow.is-due{border-bottom:0;align-items:baseline;padding:10px 0}
.pc-req-boxrow.is-due span{font-size:14px;font-weight:700;color:#212735}
.pc-req-boxrow.is-due b{font-size:20px;color:#8833FF}
.pc-req-sum{font-size:13.5px;color:#565656}
.pc-req-sum b{color:#8833FF}
.pc-req-actions{display:flex;flex-direction:column;gap:10px}
.pc-req-stay{font-size:12.5px;color:#7A7E84;line-height:1.5;text-align:center}
.pc-req-stay button{background:none;border:0;padding:0;font:inherit;font-weight:700;color:#565656;cursor:pointer}
.pc-req-err{display:none;background:#FDEDEF;border-radius:10px;padding:9px 12px;font-size:12.5px;color:#B00B20;line-height:1.45}
.pc-phone-only{display:flex}
@media (min-width:700px){
  .pc-phone-only{display:none}
  .pc-req{flex-direction:row;align-items:center;gap:16px;padding:18px 20px;border-radius:16px}
  .pc-req-title,.pc-req-ok{font-size:15px}
  .pc-req-move{font-size:14px}
  .pc-req-main{flex:1}
  .pc-req.is-approved .pc-req-move{display:none}
  .pc-req-link{align-self:center;font-size:14px}
  .pc-req .pc-desk-only{display:block}
  /* fix 4: text column takes the room; button + "Keep my package" stacked on the right */
  .pc-req-main{flex:1 1 0;min-width:0}
  .pc-req-ok{white-space:nowrap}
  .pc-req-actions{flex:none;align-items:flex-end;width:280px;max-width:none}
  .pc-req-stay{text-align:right}
  .pc-req-actions .pc-primary{width:auto;padding:0 22px;height:46px;white-space:nowrap;align-self:flex-end}
  .pc-req-stay{font-size:12px}
}

/* PHASE4-REVIEW fix 2 (Nov 5): the preview's footer (Due now · tick · button) is pinned to the
   bottom of the sheet / modal; the rows above scroll under it. Same pattern as Add-ons T3. */
.pc-foot{position:sticky;bottom:-28px;z-index:2;margin:0 -18px;padding:12px 18px 16px;background:#fff;border-top:1px solid #E8E6EE;
  box-shadow:0 -8px 20px rgba(20,10,40,.06);display:flex;flex-direction:column;gap:10px}
.pc-foot .pc-ack{font-size:12.5px}
@media (min-width:1024px){ .pc-foot{margin:0 -28px;padding:14px 28px 18px} }

/* Change package on "People you booked" (Phase 7, design T7) */
.pc-ms-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 10px}
.pc-ms-pkg{font-size:13.5px;color:#565656;display:flex;flex-direction:column;flex:1;min-width:0}
.pc-ms-row .pc-pill,.pc-ms-row .pc-ms-req{flex:none;white-space:nowrap}
.pc-ms-changed{font-size:12px;color:#7A7E84;margin-top:2px}
.pc-ms-pill{text-decoration:none}
.pc-ms-req{font-size:13px;font-weight:700;color:#6B4E0E;background:#FFF6E5;border-radius:999px;padding:6px 12px;text-decoration:none}
.pc-ms-line{font-size:12.5px;color:#7A7E84;margin:-4px 0 10px}

/* Add a spot after booking (Phase 7b, 2026-11-06, design A1 phone sheet / D4 desktop modal / D1 entry).
   The sheet reuses the self-cancel frame (.gv-sc-sheet) and the change-package parts
   (.pc-foot pinned footer, .pc-ack tick, .pc-primary). docs/add-spot.md */
.as-row{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-top:14px;background:#fff;border:1px solid #E0E1E3;
  border-radius:14px;padding:12px 14px;font-family:inherit;text-align:left;cursor:pointer;color:#212735}
.as-row:hover{border-color:#C9B2F5}
.as-row.is-full{cursor:default}
.as-row.is-full:hover{border-color:#E0E1E3}
.as-row-txt{display:flex;flex-direction:column;min-width:0}
.as-row-t{font-size:13.5px;font-weight:700}
.as-row-s{font-size:12.5px;color:#7A7E84;margin-top:1px}
.as-row-cta{font-size:13.5px;font-weight:700;color:#8833FF;white-space:nowrap;background:none;border:0;padding:0;font-family:inherit;cursor:pointer;flex:none}
.as-full-card{margin-top:14px;background:#fff;border:1px solid #E0E1E3;border-radius:14px}
/* 16px like the cards around it (FINAL-PASS-REVIEW nit) */
.as-full-card .as-row{margin-top:0;border:0;background:none;padding:16px}
.as-wl{border-top:1px solid #F0F0F2;margin:0 16px;padding:12px 0 16px;display:flex;flex-direction:column;gap:8px}
.as-wl[hidden]{display:none}
.as-wl-row{display:flex;gap:8px}
.as-wl-row .as-input{flex:1}
.as-wl-btn{width:auto;height:46px;padding:0 18px}
.as-label{font-size:12.5px;font-weight:700;color:#212735}
.as-done{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;background:#E8F7E9;border-radius:14px;padding:11px 14px;font-size:13.5px;color:#0A5C2E}
.as-done-ico{width:22px;height:22px;border-radius:50%;background:#17AE25;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.as-done-txt{flex:1;min-width:0}
.as-done-txt b{color:#0A5C2E}
.as-done-link{font-weight:700;color:#067647;white-space:nowrap}

.as-sheet .as-form{display:flex;flex-direction:column;gap:16px;font-family:'SF Pro Text',-apple-system,sans-serif;color:#212735}
.as-sheet .as-form[hidden]{display:none}
.as-head{display:flex;align-items:flex-start;gap:12px}
.as-h{font-family:'SF Pro Display',-apple-system,sans-serif;font-size:21px;font-weight:700}
.as-org{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:12.5px;color:#565656}
.as-org b{color:#212735}
.as-av{width:22px;height:22px;border-radius:50%;background:#F3EBFF;color:#8833FF;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;overflow:hidden}
.as-av img{width:100%;height:100%;object-fit:cover}
.as-sec{display:flex;flex-direction:column;gap:8px}
.as-sec-t{font-size:13px;font-weight:700}
.as-who{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.as-who-email{grid-column:1 / -1}
.as-input{width:100%;height:46px;border:1px solid #E0E1E3;border-radius:10px;padding:0 12px;font-size:14px;font-family:inherit;color:#212735;background:#fff;box-sizing:border-box}
.as-input:focus{outline:none;border-color:#8833FF;box-shadow:0 0 0 3px #EADCFF}
.as-note{font-size:12px;color:#7A7E84;line-height:1.5}
.as-err{display:none;font-size:12px;color:#B00B20;margin-top:4px}
.as-err.show{display:block}
.as-err.is-ok{color:#067647}
.as-alert{background:#FDEDEF;border-radius:10px;padding:10px 12px;font-size:12.5px;color:#B00B20;line-height:1.45}
.as-alert[hidden]{display:none}
.as-pkgs,.as-pays{display:flex;flex-direction:column;gap:8px}
.as-pkg{border:1px solid #E0E1E3;border-radius:12px;padding:11px 13px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;
  font-family:inherit;color:#212735;text-align:left;cursor:pointer;width:100%}
.as-pkg:hover{border-color:#A56BFA}
.as-pkg.is-on{border:2px solid #8833FF;padding:10px 12px;background:#FBF8FF}
.as-pkg-txt{display:flex;flex-direction:column;min-width:0}
.as-pkg-n{font-size:14.5px;font-weight:700}
.as-pkg-d{font-size:12px;color:#7A7E84}
.as-pkg-p{font-size:14.5px;white-space:nowrap}
.as-pay{border:1px solid #E0E1E3;border-radius:12px;padding:11px 13px;display:flex;flex-direction:column;gap:4px;background:#fff;font-family:inherit;color:#212735;text-align:left;cursor:pointer;width:100%}
.as-pay[hidden]{display:none}
.as-pay.is-on{border:2px solid #8833FF;padding:10px 12px;background:#FBF8FF}
.as-pay-top{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.as-pay-sub{font-size:12px;color:#7A7E84}
.as-foot{gap:12px}
.as-due{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.as-due-l{font-size:13.5px;color:#565656}
.as-due-amt{font-family:'SF Pro Display',-apple-system,sans-serif;font-size:22px;color:#8833FF;white-space:nowrap}
.as-ack-txt{font-size:12.5px;color:#565656;line-height:1.5}
.as-ack-txt b{color:#212735}
.as-ack-txt a{color:#8833FF}
.as-foot-btns{display:flex;gap:10px;align-items:center}
.as-go{height:50px}
.as-go:not(:disabled){box-shadow:0 4px 18px rgba(136,51,255,.35)}
.as-paybox{background:#F6F5F9;border-radius:10px;padding:9px 12px;display:flex;justify-content:space-between;gap:10px;font-size:13px}
.as-paybox span{color:#565656}
.as-phone-only{display:inline}
@media (min-width:1024px){
  .as-sheet{width:640px;padding:22px 26px 0}
  .as-h{font-size:22px}
  .as-org{font-size:13px}
  .as-av{width:24px;height:24px;font-size:9.5px}
  /* D4: name · last name · email on one row; packages in columns; the two ways to pay side by side */
  .as-who{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.4fr)}
  .as-who-email{grid-column:auto}
  .as-pkgs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .as-pkg{flex-direction:column;align-items:flex-start;gap:6px}
  .as-pkg-p{font-size:15px}
  .as-pays{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
  .as-phone-only{display:none}
  .as-foot{margin:0 -26px;padding:16px 26px 20px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"ack ack" "due btns";align-items:center}
  .as-foot .pc-ack{grid-area:ack}
  .as-foot .as-due{grid-area:due;flex-direction:column;align-items:flex-start;gap:0}
  .as-foot .as-due-l{font-size:13px}
  .as-foot-btns{grid-area:btns}
  .as-go{width:auto;padding:0 22px;height:48px;font-size:14.5px;white-space:nowrap}
  .as-cancel{min-height:48px;padding:0 18px;align-items:center}
  .as-sheet [data-as-step="pay"],.as-sheet [data-as-step="verify"]{padding-bottom:24px}
  .as-sheet .pc-foot{bottom:0}
}

/* ============================================================
   Add-ons at checkout (2026-11-07, Phase 3) — design T1 / T11 / D3 in the live two-step
   checkout (PHASE3-DECISION, option A). Tokens from the add-ons handoff README: primary #8833FF,
   tint #F3EBFF, title #212735, body #565656, muted #7A7E84, border #E0E1E3, divider #F0F0F2,
   warning #6B4E0E on #FFF6E5; radius 9–10 inputs/buttons, 12 rows, 999 pills. No photos here.
   ============================================================ */
.gv-ax { margin: 0 0 20px; }
.gv-ax-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.gv-ax-head span:first-child { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7A7E84; }
.gv-ax-head span:last-child { font-size: 12.5px; color: #7A7E84; }
.gv-ax-list { border: 1px solid #E0E1E3; border-radius: 12px; padding: 0 14px; background: #fff; }
.gv-ax-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #F0F0F2; }
.gv-ax-row:first-child { border-top: none; }
.gv-ax-txt { flex: 1; min-width: 0; }
.gv-ax-name { font-size: 14.5px; font-weight: 600; color: #212735; line-height: 1.3; }
.gv-ax-sub { font-size: 12.5px; color: #7A7E84; line-height: 1.35; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gv-ax-desc { -webkit-line-clamp: 1; }
.gv-ax-row.off .gv-ax-name { color: #A1A1AA; font-weight: 500; }
.gv-ax-pill { flex: none; font-size: 12px; font-weight: 600; color: #565656; background: #F0F0F2; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.gv-ax-step { flex: none; display: flex; align-items: center; gap: 10px; }
.gv-ax-step button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #E0E1E3; background: #fff; color: #212735;
  font-size: 18px; line-height: 1; cursor: pointer; font-family: inherit; }
.gv-ax-step button[data-ax-d="1"] { background: #F3EBFF; border-color: #D9C2FF; color: #8833FF; }
.gv-ax-step button:disabled { opacity: .4; cursor: default; }
.gv-ax-step b { min-width: 14px; text-align: center; font-size: 15px; color: #212735; }
.gv-ax-tickbox { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid #D4D4D8; background: #fff; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.gv-ax-tickbox.on { background: #8833FF; border-color: #8833FF; }
.gv-ax-tickbox svg { width: 14px; height: 14px; }
.gv-ax-tickbox:focus-visible, .gv-ax-step button:focus-visible, .gv-ax-chip button:focus-visible { outline: 2px solid #8833FF; outline-offset: 2px; }
.gv-ax-note, .gv-ax-gone { font-size: 13px; font-weight: 600; line-height: 1.4; color: #6B4E0E; background: #FFF6E5; border-radius: 9px; padding: 9px 12px; margin-top: 8px; }
.gv-ax-gone { margin-top: 14px; }
/* T11 chips on each companion card */
.gv-ax-chips { margin-top: 10px; }
.gv-ax-chips-label { font-size: 12.5px; font-weight: 600; color: #52525B; margin-bottom: 6px; }
.gv-ax-chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.gv-ax-chip { display: inline-flex; align-items: center; border: 1.5px solid #D9C2FF; border-radius: 999px; background: #fff; overflow: hidden; }
.gv-ax-chip-lab { background: none; border: none; color: #8833FF; font: 600 12.5px/1.2 inherit; font-family: inherit; padding: 7px 12px; cursor: pointer; }
.gv-ax-chip.on { background: #8833FF; border-color: #8833FF; }
.gv-ax-chip.on .gv-ax-chip-lab { color: #fff; padding-right: 6px; }
.gv-ax-chip-step { background: rgba(255,255,255,.18); border: none; color: #fff; width: 26px; height: 26px; border-radius: 50%; margin-right: 3px;
  font-size: 15px; line-height: 1; cursor: pointer; font-family: inherit; }
.gv-ax-chip-step:disabled { opacity: .4; cursor: default; }
.gv-ax-groupline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: #565656; padding: 4px 2px 12px; }
.gv-ax-groupline b { color: #212735; }
/* payment sheet: the trip part and the extras as their own lines above the total */
.gv-due-lines { background: var(--gv-input-bg); border-radius: 9px 9px 0 0; padding: 10px 14px 6px; margin-top: 14px; }
.gv-due-lines:not([hidden]) + .gv-due-row { margin-top: 0; border-radius: 0 0 9px 9px; border-top: 1px solid #E0E1E3; }
.gv-due-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #565656; padding: 3px 0; }
.gv-due-line span:last-child { color: #212735; font-weight: 600; white-space: nowrap; }
.gv-due-line-sub { font-size: 12px; color: #7A7E84; }
.gv-ax-tick + .gv-agree { margin-top: 10px; }
/* D3: the desktop rail becomes the summary when the charge carries extras */
.gv-sum-title { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7A7E84; margin-bottom: 10px; }
.gv-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: #565656; padding: 5px 0; }
.gv-sum-row span:last-child { font-weight: 700; color: #212735; white-space: nowrap; }
.gv-sum-div { border-top: 1px solid #E0E1E3; margin: 6px 0; }
.gv-sum-total { margin-top: 8px; font-size: 15px; font-weight: 700; color: #212735; }
.gv-sum-total span:last-child { color: #8833FF; font-size: 22px; }
/* the add-ons pieces that are flex boxes still obey [hidden] (a class display beats the browser's own) */
.gv-ax-tick[hidden], .gv-ax-groupline[hidden], .gv-ax-gone[hidden], .gv-ax-note[hidden], .gv-due-lines[hidden] { display: none !important; }

/* ============================================================
   Add-ons after booking (2026-11-07, Phase 4) — design T2 / D1 Extras card, T4 / D4 schedule,
   T3 / D2 add sheet, T5 states, T6 errors, T7 picker. Tokens from the add-ons handoff README.
   Phone first; ≥700px = desktop (the D-frames' 640px column).
   ============================================================ */
.ao-desk { display: none; }
@media (min-width: 700px) { .ao-desk { display: block; } span.ao-desk { display: inline; } .ao-phone { display: none; } }
.ao-card { background: #fff; border: 1px solid #E0E1E3; border-radius: 16px; padding: 16px 16px 14px; margin-top: 16px; font-family: var(--gv-font-text); color: #212735; }
.ao-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ao-card-title { font: 700 17px var(--gv-font-display, inherit); }
.ao-yours-inline { font-size: 12.5px; color: #565656; text-align: right; }
.ao-yours-inline b { color: #212735; }
.ao-sec { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7A7E84; margin: 12px 0 6px; display: block; }
.ao-yours-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.ao-yours-check { width: 26px; height: 26px; border-radius: 50%; background: #E8F7E9; color: #17AE25; display: flex; align-items: center; justify-content: center; flex: none; }
.ao-yours-name { flex: 1; font-size: 15px; font-weight: 600; }
.ao-yours-amt { font-size: 15px; font-weight: 700; white-space: nowrap; }
.ao-note { margin-top: 10px; font-size: 13.5px; color: #565656; background: #F6F5F9; border-radius: 12px; padding: 12px 14px; line-height: 1.45; }
.ao-foot { margin-top: 10px; font-size: 12.5px; color: #7A7E84; }
.ao-tiles-head { display: flex; justify-content: space-between; align-items: baseline; }
.ao-swipe { font-size: 12.5px; color: #7A7E84; }
.ao-tiles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.ao-tiles::-webkit-scrollbar { display: none; }
.ao-tile { flex: 0 0 172px; scroll-snap-align: start; border: 1px solid #E0E1E3; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.ao-tile-photo { position: relative; height: 108px; background: #F0F0F2; display: flex; align-items: flex-end; }
.ao-tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ao-tile-ph { padding: 10px 12px; font-size: 13px; font-weight: 700; color: #7A7E84; }
.ao-tile.is-off .ao-tile-photo img { filter: grayscale(1); opacity: .55; }
.ao-pill { position: absolute; top: 8px; left: 8px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(23,16,48,.72); border-radius: 999px; padding: 4px 10px; }
.ao-pill.is-yours { background: #E8F7E9; color: #067647; }
.ao-tile-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ao-tile-name { font-size: 14.5px; font-weight: 700; }
.ao-tile-price { font-size: 14.5px; font-weight: 700; }
.ao-tile-meta { font-size: 12.5px; color: #7A7E84; line-height: 1.35; }
.ao-tile.is-off .ao-tile-name, .ao-tile.is-off .ao-tile-price { color: #A1A1AA; }
.ao-add { margin-top: auto; height: 38px; border-radius: 999px; border: 0; background: #8833FF; color: #fff; font: 700 14px var(--gv-font-text); cursor: pointer; margin-top: 10px; }
.ao-add:hover { background: #7A22F0; }
@media (min-width: 700px) {
  .ao-card { padding: 20px 20px 18px; }
  .ao-tiles { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 8px 0 0; padding: 0; }
  .ao-tile { flex: none; }
  .ao-add { background: #F3EBFF; color: #8833FF; height: 36px; }
  .ao-add:hover { background: #E9DAFF; }
}
/* T4 / D4: the schedule inside the payment card */
.ao-sched { margin-top: 14px; border-top: 1px solid #F0F0F2; padding-top: 6px; }
.ao-sched-p { padding: 10px 0; border-bottom: 1px solid #F0F0F2; }
.ao-sched-p:last-child { border-bottom: 0; }
.ao-sched-top { display: flex; justify-content: space-between; font-size: 15px; color: #565656; }
.ao-sched-top b { color: #212735; }
.ao-sched-line { display: flex; justify-content: space-between; font-size: 13px; color: #7A7E84; margin-top: 2px; }
.ao-sched-table { border: 1px solid #E0E1E3; border-radius: 12px; padding: 4px 14px; }
.ao-sched-h, .ao-sched-r { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 8px; padding: 9px 0; font-size: 13.5px; }
.ao-sched-h { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7A7E84; border-bottom: 1px solid #F0F0F2; }
.ao-sched-r { border-bottom: 1px solid #F0F0F2; color: #565656; }
.ao-sched-r:last-child { border-bottom: 0; }
.ao-sched-h span:not(:first-child), .ao-sched-r > *:not(:first-child) { text-align: right; }
.ao-sched-r b { color: #212735; }
/* T3 / D2: the add sheet */
.aos-sheet .aos-form { display: flex; flex-direction: column; gap: 14px; font-family: var(--gv-font-text); color: #212735; }
.aos-sheet .aos-form[hidden] { display: none; }
.aos-hero { position: relative; margin: -10px -18px 0; height: 120px; background: #F0F0F2; border-radius: 24px 24px 0 0; overflow: hidden; display: flex; align-items: flex-end; }
.aos-sheet.has-photo .aos-hero { height: 180px; }
.aos-hero-img { position: absolute; inset: 0; }
.aos-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.aos-sheet.has-photo .aos-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%); }
.aos-hero-txt { position: relative; z-index: 1; padding: 14px 18px; }
.aos-hero-name { font: 700 26px/1.15 var(--gv-font-display, inherit); color: #212735; }
.aos-hero-org { font-size: 13px; color: #565656; margin-top: 4px; }
.aos-sheet.has-photo .aos-hero-name, .aos-sheet.has-photo .aos-hero-org, .aos-sheet.has-photo .aos-hero-org b { color: #fff; }
.aos-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.9); }
.aos-dhead { display: flex; gap: 12px; align-items: flex-start; }
.aos-h { font: 700 21px var(--gv-font-display, inherit); }
.aos-org { font-size: 12.5px; color: #565656; margin-top: 4px; }
.aos-org b { color: #212735; }
.aos-desc { font-size: 14.5px; color: #565656; line-height: 1.45; }
.aos-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #E0E1E3; border-radius: 12px; padding: 12px 14px; }
.aos-qty b { display: block; font-size: 16px; }
.aos-qty span { font-size: 12.5px; color: #7A7E84; }
.aos-step { display: flex; align-items: center; gap: 12px; }
.aos-step[hidden] { display: none; }
.aos-step button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #E0E1E3; background: #fff; font-size: 20px; color: #212735; cursor: pointer; font-family: inherit; }
.aos-step button[data-aos-qty="1"] { background: #F3EBFF; border-color: #D9C2FF; color: #8833FF; }
.aos-step button:disabled { opacity: .4; cursor: default; }
.aos-step b { min-width: 16px; text-align: center; font-size: 17px; }
.aos-sec { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7A7E84; margin-bottom: 8px; }
.aos-choices { display: flex; flex-direction: column; gap: 10px; }
.aos-choice { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 1px solid #E0E1E3; border-radius: 12px; padding: 13px 14px; background: #fff; cursor: pointer; font-family: inherit; color: #212735; }
.aos-choice.is-on { border: 2px solid #8833FF; padding: 12px 13px; background: #FBF8FF; }
.aos-choice .pc-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B0B3B8; flex: none; display: flex; align-items: center; justify-content: center; margin-top: 1px; box-sizing: border-box; }
.aos-choice.is-on .pc-radio { border-color: #8833FF; }
.aos-choice.is-on .pc-radio span { width: 10px; height: 10px; border-radius: 50%; background: #8833FF; }
.aos-choice-txt b { display: block; font-size: 15px; }
.aos-choice-txt span { display: block; font-size: 13px; color: #7A7E84; margin-top: 2px; }
@media (min-width: 700px) { .aos-choices { flex-direction: row; } .aos-choice { flex: 1; } }
.aos-paidnote { font-size: 13.5px; color: #565656; background: #F6F5F9; border-radius: 12px; padding: 12px 14px; }
.aos-paidnote[hidden], .aos-sched[hidden], [data-aos-howwrap][hidden] { display: none; }
.aos-sched { border: 1px solid #E0E1E3; border-radius: 12px; padding: 4px 14px 10px; }
.aos-row { padding: 10px 0; border-bottom: 1px solid #F0F0F2; }
.aos-list .aos-row:last-child { border-bottom: 0; }   /* PHASE4-REVIEW nit: no divider under the last date */
.aos-row-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: #565656; }
.aos-row-amt s { color: #A1A1AA; margin-right: 8px; font-size: 14px; }
.aos-row-amt b { color: #8833FF; font-size: 16px; }
.aos-row-parts { font-size: 12.5px; color: #7A7E84; text-align: right; margin-top: 2px; white-space: pre-wrap; }
.aos-table { display: none; width: 100%; border-collapse: collapse; font-size: 13.5px; }
.aos-table th { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7A7E84; text-align: right; padding: 10px 0; border-bottom: 1px solid #F0F0F2; }
.aos-table td { text-align: right; padding: 9px 0; border-bottom: 1px solid #F0F0F2; color: #212735; }
.aos-table th:first-child, .aos-table td:first-child { text-align: left; color: #565656; }
.aos-table tr:last-child td { border-bottom: 0; }
.aos-table .aos-new { color: #8833FF; font-weight: 700; }
@media (min-width: 700px) { .aos-list { display: none; } .aos-table { display: table; } }
.aos-ap { display: flex; gap: 8px; font-size: 13px; color: #565656; padding-top: 10px; border-top: 1px solid #F0F0F2; margin-top: 4px; }
.aos-ap-ico { color: #17AE25; font-weight: 700; }
.aos-foot { display: flex; flex-direction: column; gap: 12px; }
.aos-due { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.aos-due b { color: #8833FF; font-size: 26px; }
.aos-btns { display: flex; flex-direction: column-reverse; gap: 4px; }
@media (min-width: 700px) {
  .aos-sheet { width: 560px; padding: 24px 26px 0; }
  .aos-hero { margin: -24px -26px 0; border-radius: 20px 20px 0 0; }
  .aos-btns { flex-direction: row; justify-content: flex-end; align-items: center; gap: 14px; }
  .aos-btns .pc-primary { width: auto; padding: 0 26px; }
  .aos-notnow { align-self: center; }
  .aos-due { background: #F6F5F9; border-radius: 12px; padding: 12px 14px; }
  /* the modal has no bottom padding, so the pinned footer sits on its bottom edge (not 28px below it) */
  .aos-sheet .pc-foot.aos-foot { bottom: 0; margin: 0 -26px; padding: 14px 26px 18px; }
}
.aos-note { font-size: 13.5px; color: #565656; line-height: 1.45; }
.aos-note[hidden] { display: none; }
.aos-alert { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 3px; }
.aos-alert[hidden] { display: none; }
.aos-alert.is-bad { background: #FDEDEF; color: #B00B20; }
.aos-alert.is-warn, .aos-alert.aos-warn { background: #FFF6E5; color: #6B4E0E; }
.aos-alert-t { font-size: 15px; }
.aos-retry { align-self: flex-start; background: none; border: 0; padding: 4px 0 0; color: #8833FF; font: 700 14px var(--gv-font-text); cursor: pointer; }
/* T7: the picker for a friend's spot */
.aos-picks { display: flex; flex-direction: column; gap: 8px; }
.aos-pick { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid #E0E1E3; border-radius: 12px; padding: 12px 14px; background: #fff; cursor: pointer; font-family: inherit; color: #212735; }
.aos-pick:disabled { cursor: default; background: #FAFAFB; color: #A1A1AA; }
.aos-pick-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.aos-pick-txt span { font-size: 12.5px; color: #7A7E84; }
.aos-pick-go { color: #8833FF; font-weight: 700; font-size: 14px; }
.ao-pill-inline { font-size: 12px; font-weight: 600; color: #565656; background: #F0F0F2; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ao-friend-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: #F3EBFF; color: #8833FF; border: 0; font: 700 14px var(--gv-font-text); cursor: pointer; }

/* "Refund an amount" (Phase 3, 2026-11-09): the refund lines under "Paid so far" on the joined trip page */
.gv-refund-lines { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.gv-refund-line { background: #F6F5F9; border-radius: 10px; padding: 10px 12px; }
.gv-refund-main { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #565656; line-height: 1.4; }
.gv-refund-main b { color: #212735; }
.gv-refund-ico { flex: none; width: 18px; height: 18px; border-radius: 9px; background: #E8F7E9; color: #17AE25; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.gv-refund-sub { font-size: 12.5px; color: #7A7E84; margin-top: 4px; padding-left: 26px; line-height: 1.45; }
