/* ==========================================================================
   vCard creator (vc.php) — app layer. Loaded last; scoped to body.vcx.
   ========================================================================== */
body.vcx {
  --vx-ink: #0b1220;
  --vx-ink-2: #334155;
  --vx-muted: #64748b;
  --vx-faint: #94a3b8;
  --vx-line: rgba(15, 23, 42, 0.08);
  --vx-line-2: rgba(15, 23, 42, 0.14);
  --vx-blue: #2563eb;
  --vx-sky: #0ea5e9;
  --vx-grad: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --vx-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px -16px rgba(15, 23, 42, 0.18);
  --vx-shadow-lg: 0 2px 6px rgba(15, 23, 42, 0.05), 0 40px 80px -36px rgba(15, 23, 42, 0.35);
  --vx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vx-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  margin: 0;
  min-height: 100dvh;
  background: #f4f7fc !important;
  color: var(--vx-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.vcx-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.vcx-bg i { position: absolute; border-radius: 50%; filter: blur(60px); }
.vcx-bg i:first-child { width: 620px; height: 620px; left: -180px; top: -220px; background: rgba(37, 99, 235, 0.14); }
.vcx-bg i:last-child { width: 520px; height: 520px; right: -160px; bottom: -200px; background: rgba(14, 165, 233, 0.14); }
body.vcx .ab-dot-onboard-main { position: relative; z-index: 1; display: block; min-height: 100dvh; padding: 0 0 48px; background: none !important; }
body.vcx .ab-dot-onboard-wrap { max-width: 1160px; padding: 0 28px; display: block; }

/* ---------- header ---------- */
body.vcx .ab-dot-onboard-head {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0 -28px 28px; padding: calc(14px + env(safe-area-inset-top)) 28px 14px;
  background: rgba(244, 247, 252, 0.8); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--vx-line);
}
body.vcx .ab-dot-onboard-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
body.vcx .ab-dot-onboard-brand img { width: 38px; height: 38px; border-radius: 11px; }
.vcx-brand { display: flex; flex-direction: column; line-height: 1.15; }
.vcx-brand strong { font-family: var(--vx-display); font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.vcx-brand small { font-size: 12px; color: var(--vx-muted); }

body.vcx .ab-dot-onboard-progress { display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--vx-line), var(--vx-shadow); }
body.vcx .ab-dot-onboard-progress__dot {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: auto; height: 32px; min-width: 32px; padding: 0 12px; margin: 0;
  border-radius: 999px; background: transparent; box-shadow: none; transform: none; opacity: 1; transition: background 0.3s var(--vx-ease), color 0.3s;
  font-size: 0; color: var(--vx-faint);
}
body.vcx .ab-dot-onboard-progress__dot::before { content: attr(data-label); font: 650 13px Inter, system-ui, sans-serif; }
body.vcx .ab-dot-onboard-progress__dot.is-done { color: var(--vx-blue); }
body.vcx .ab-dot-onboard-progress__dot.is-done::before { content: "✓ " attr(data-label); }
body.vcx .ab-dot-onboard-progress__dot.is-active:not(.is-done) { background: var(--vx-grad); color: #fff; box-shadow: 0 8px 18px -10px rgba(37, 99, 235, 0.8); }
body.vcx .ab-dot-onboard-progress__text { display: none; }

/* ---------- layout ---------- */
body.vcx .ab-vc-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
body.vcx .ab-vc-stage { position: sticky; top: 104px; display: grid; gap: 22px; min-width: 0; }

/* intro */
body.vcx .ab-vc-intro { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; transition: opacity 0.4s var(--vx-ease), max-height 0.5s var(--vx-ease); }
body.vcx .ab-vc-intro__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vx-blue); }
body.vcx .ab-vc-intro__kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--vx-grad); }
body.vcx .ab-vc-intro__title { margin: 0; font-family: var(--vx-display); font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; color: var(--vx-ink); }
body.vcx .ab-vc-intro__lede { margin: 14px 0 0; max-width: 460px; font-size: 16.5px; line-height: 1.55; color: var(--vx-muted); }
body.vcx .ab-vc-intro__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
body.vcx .ab-vc-intro__pills li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--vx-line); font-size: 13px; font-weight: 600; color: var(--vx-ink-2); }
body.vcx .ab-vc-intro__pills li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--vx-grad); }
body.vcx .ab-vc-intro.is-collapsed { opacity: 0; max-height: 0; overflow: hidden; margin: 0; pointer-events: none; }
body.vcx .ab-vc-preview-label { display: none; }

/* ---------- phone + contact card ---------- */
.vcx-phone { position: relative; width: min(100%, 340px); margin: 0 auto; padding: 0 24px; }
.vcx-phone__screen {
  position: relative; overflow: hidden; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #1f2937, #0b1220);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), var(--vx-shadow-lg), 0 30px 60px -36px rgba(37, 99, 235, 0.45);
}
.vcx-phone__screen::after { content: ""; position: absolute; top: 18px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 999px; background: #0b1220; z-index: 3; }
.vcx-phone__status { position: absolute; z-index: 2; top: 20px; left: 34px; right: 34px; display: flex; justify-content: space-between; align-items: center; font: 650 12px Inter, sans-serif; color: #fff; }
.vcx-phone__status i { width: 22px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9); position: relative; }
.vcx-phone__status i::after { content: ""; position: absolute; inset: 2px 6px 2px 2px; border-radius: 1.5px; background: #fff; }

body.vcx .vcx-contact {
  position: relative; display: flex; flex-direction: column; align-items: center; min-height: 560px; margin: 0; padding: 0 16px 18px; overflow: hidden;
  border: 0; border-radius: 36px; background: #fff; box-shadow: none; text-align: center; transition: none;
}
.vcx-contact__cover { width: calc(100% + 32px); height: 128px; margin: 0 -16px; flex: none; background: radial-gradient(70% 90% at 80% 10%, rgba(255, 255, 255, 0.35), transparent 60%), var(--vx-grad); }
body.vcx .vcx-contact .ab-dot-onboard-preview__avatar {
  position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: -48px auto 0; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #475569); box-shadow: 0 0 0 4px #fff, 0 14px 28px -14px rgba(15, 23, 42, 0.5); flex: none;
}
body.vcx .vcx-contact .ab-dot-onboard-preview__avatar img { width: 100%; height: 100%; object-fit: cover; }
body.vcx .vcx-contact .ab-dot-onboard-preview__initials { font-family: var(--vx-display); font-size: 32px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
body.vcx .vcx-contact.is-empty .ab-dot-onboard-preview__initials:empty::before { content: ""; display: block; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='4' fill='none' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0.85; }
body.vcx .vcx-contact .ab-dot-onboard-preview__copy { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 12px; min-width: 0; width: 100%; }
body.vcx #liveName { font-family: var(--vx-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--vx-ink); line-height: 1.2; overflow-wrap: anywhere; transition: color 0.3s; }
body.vcx .vcx-contact.is-empty #liveName { font-size: 15px; font-weight: 600; color: var(--vx-faint); }
body.vcx #liveRole { font-size: 13.5px; color: var(--vx-muted); overflow-wrap: anywhere; }
body.vcx #liveContact { display: none !important; }

.vcx-contact__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; margin: 18px 0 14px; }
.vcx-contact__actions span { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0 8px; border-radius: 14px; background: #f1f5f9; color: var(--vx-faint); font-size: 14px; transition: background 0.3s, color 0.3s; }
.vcx-contact__actions em { font-style: normal; font-size: 10.5px; font-weight: 600; }
.vcx-contact__actions span.is-filled { background: rgba(37, 99, 235, 0.1); color: var(--vx-blue); }
.vcx-contact__rows { display: grid; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; text-align: left; border-radius: 16px; background: #f8fafc; box-shadow: inset 0 0 0 1px var(--vx-line); overflow: hidden; }
.vcx-contact__rows li { display: flex; flex-direction: column; padding: 10px 14px; border-top: 1px solid var(--vx-line); min-width: 0; }
.vcx-contact__rows li:first-child { border-top: 0; }
.vcx-contact__rows small { font-size: 11px; color: var(--vx-muted); }
.vcx-contact__rows b { font-size: 13.5px; font-weight: 600; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.vcx-contact__rows li.is-filled b { color: var(--vx-blue); }
.vcx-contact__save { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 0; border-radius: 16px; background: var(--vx-ink); color: #fff; font-family: var(--vx-display); font-weight: 700; font-size: 14px; }

.vcx-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; max-width: 70%; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.94); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 18px 36px -16px rgba(15, 23, 42, 0.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12.5px; font-weight: 700; color: var(--vx-ink); white-space: nowrap; animation: vcx-bob 6s ease-in-out infinite; }
.vcx-chip i { color: var(--vx-blue); }
.vcx-chip span { overflow: hidden; text-overflow: ellipsis; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; color: var(--vx-blue); }
.vcx-chip--link { top: 30%; left: -6px; }
.vcx-chip--qr { bottom: 18%; right: -4px; animation-delay: -3s; }

/* ---------- form card ---------- */
body.vcx .ab-dot-onboard-card {
  position: relative; margin: 0; padding: clamp(24px, 3.4vw, 40px); border: 0; border-radius: 30px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--vx-line), var(--vx-shadow-lg); animation: vcx-rise 0.6s var(--vx-ease) backwards;
}
body.vcx .ab-dot-onboard-kicker { display: inline-flex; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: var(--vx-blue); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
body.vcx #vc-step-title { margin: 0; font-family: var(--vx-display); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; color: var(--vx-ink); }
body.vcx .ab-dot-onboard-hint { margin: 8px 0 24px; font-size: 15px; line-height: 1.5; color: var(--vx-muted); }
body.vcx .ab-dot-onboard-step.is-active { animation: vcx-step 0.45s var(--vx-ease); }
body.vcx .ab-dot-onboard-step { display: grid; gap: 14px; }
body.vcx .ab-dot-onboard-step[hidden] { display: none; }

body.vcx .ab-dot-onboard-field, body.vcx .ab-vc-url-field { display: grid; gap: 6px; margin: 0; }
body.vcx .ab-dot-onboard-field > span, body.vcx .ab-vc-url-field > label { font-size: 13px; font-weight: 650; color: var(--vx-ink-2); }
body.vcx .ab-dot-onboard-field .muted { font-weight: 500; color: var(--vx-faint); }
body.vcx .ab-dot-onboard-field input, body.vcx .ab-dot-onboard-field textarea, body.vcx .ab-vc-url-field .url-line, body.vcx .ab-dot-onboard-link-claim__box {
  width: 100%; min-height: 52px; margin: 0; padding: 0 16px; border: 0; border-radius: 14px; background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--vx-line-2); font: 500 16px Inter, system-ui, sans-serif; color: var(--vx-ink); transition: box-shadow 0.2s, background 0.2s;
}
body.vcx .ab-dot-onboard-field textarea { padding: 14px 16px; min-height: 96px; resize: vertical; }
body.vcx .ab-dot-onboard-field input:focus, body.vcx .ab-dot-onboard-field textarea:focus, body.vcx .ab-vc-url-field .url-line:focus-within, body.vcx .ab-dot-onboard-link-claim__box:focus-within {
  outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--vx-blue), 0 0 0 4px rgba(37, 99, 235, 0.12);
}
body.vcx .ab-dot-onboard-field input.is-error { box-shadow: inset 0 0 0 2px #ef4444, 0 0 0 4px rgba(239, 68, 68, 0.12); }
body.vcx .ab-vc-url-field .url-line { display: flex; align-items: center; gap: 2px; }
body.vcx .ab-vc-url-field .url-prefix { color: var(--vx-faint); font-size: 15px; }
body.vcx .ab-vc-url-field .url-input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; font: 500 16px Inter, sans-serif; color: var(--vx-ink); outline: none; padding: 0; }
body.vcx .ab-dot-onboard-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* photo block */
body.vcx .ab-vc-photo-block { margin: 0; }
body.vcx .ab-vc-photo-block__label { display: none; }
body.vcx .ab-vc-photo-block__tap {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.06), #fff 70%); box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, 0.22); border: 0;
  transition: box-shadow 0.2s, transform 0.2s var(--vx-ease);
}
body.vcx .ab-vc-photo-block__tap:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, 0.45), 0 10px 22px -14px rgba(37, 99, 235, 0.5); }
body.vcx .ab-vc-photo-block__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--vx-grad); color: #fff; font-size: 17px; box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.7); }
body.vcx .ab-vc-photo-block__copy strong { display: block; font-family: var(--vx-display); font-size: 15px; color: var(--vx-ink); }
body.vcx .ab-vc-photo-block__copy span { font-size: 12.5px; color: var(--vx-muted); }

/* link claim */
body.vcx .ab-dot-onboard-link-claim__label { margin: 0 0 6px; font-size: 13px; font-weight: 650; color: var(--vx-ink-2); }
body.vcx .ab-dot-onboard-link-claim__box { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
body.vcx .ab-dot-onboard-link-claim__host { flex: none; font-size: 14.5px; color: var(--vx-faint); }
body.vcx .ab-dot-onboard-link-claim__box input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; box-shadow: none; padding: 0; font: 600 16px Inter, sans-serif; color: var(--vx-blue); outline: none; }
body.vcx .ab-vc-slug-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.vcx .ab-vc-more-link { justify-self: start; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(37, 99, 235, 0.08); color: var(--vx-blue); font: 650 13.5px Inter, sans-serif; cursor: pointer; }

/* actions */
body.vcx .ab-dot-onboard-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--vx-line); }
body.vcx .ab-dot-onboard-continue {
  flex: 1 1 200px; order: 2; min-height: 54px; border: 0; border-radius: 16px; background: var(--vx-grad); color: #fff; cursor: pointer;
  font: 700 16px var(--vx-display); box-shadow: 0 14px 28px -14px rgba(37, 99, 235, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s var(--vx-ease), box-shadow 0.25s;
}
body.vcx .ab-dot-onboard-continue:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -14px rgba(37, 99, 235, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
body.vcx .ab-dot-onboard-continue:active { transform: scale(0.98); }
body.vcx .ab-dot-onboard-back { order: 1; min-height: 54px; padding: 0 20px; border: 0; border-radius: 16px; background: #f1f5f9; color: var(--vx-ink-2); font: 650 15px Inter, sans-serif; cursor: pointer; }
body.vcx .ab-dot-onboard-skip { order: 3; flex-basis: 100%; min-height: 40px; border: 0; background: none; color: var(--vx-muted); font: 600 14px Inter, sans-serif; cursor: pointer; }
body.vcx .ab-dot-onboard-back[hidden], body.vcx .ab-dot-onboard-skip[hidden] { display: none; }

/* handoff overlay: light */
body.vcx .ab-vc-handoff { background: rgba(244, 247, 252, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.vcx .ab-vc-handoff__card { border-radius: 28px; background: #fff; box-shadow: var(--vx-shadow-lg); }

/* ---------- mobile: compact preview on top ---------- */
@media (max-width: 920px) {
  body.vcx .ab-dot-onboard-wrap { padding: 0 16px; }
  body.vcx .ab-dot-onboard-head { margin: 0 -16px 18px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
  .vcx-brand small { display: none; }
  body.vcx .ab-dot-onboard-progress__dot { padding: 0 9px; min-width: 28px; height: 30px; }
  body.vcx .ab-dot-onboard-progress__dot::before { font-size: 12px; }
  body.vcx .ab-dot-onboard-progress__dot:not(.is-active)::before, body.vcx .ab-dot-onboard-progress__dot.is-done::before { content: attr(data-step-dot); }
  body.vcx .ab-dot-onboard-progress__dot.is-done::before { content: "✓"; }
  body.vcx .ab-vc-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body.vcx .ab-vc-stage { position: static; gap: 16px; }
  body.vcx .ab-vc-intro__title { font-size: 30px; }
  body.vcx .ab-vc-intro__lede { font-size: 15px; }
  .vcx-phone { width: 100%; padding: 0; }
  .vcx-phone__screen { padding: 0; border-radius: 22px; background: none; box-shadow: none; }
  .vcx-phone__screen::after, .vcx-phone__status, .vcx-chip, .vcx-contact__actions, .vcx-contact__rows, .vcx-contact__save { display: none !important; }
  body.vcx .vcx-contact {
    flex-direction: row; align-items: center; gap: 14px; min-height: 0; padding: 14px 16px; border-radius: 22px; text-align: left;
    box-shadow: inset 0 0 0 1px var(--vx-line), var(--vx-shadow);
  }
  .vcx-contact__cover { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; height: auto; margin: 0; background: var(--vx-grad); }
  body.vcx .vcx-contact .ab-dot-onboard-preview__avatar { width: 56px; height: 56px; margin: 0; box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.5); }
  body.vcx .vcx-contact .ab-dot-onboard-preview__initials { font-size: 19px; }
  body.vcx .vcx-contact.is-empty .ab-dot-onboard-preview__initials:empty::before { width: 24px; height: 24px; }
  body.vcx .vcx-contact .ab-dot-onboard-preview__copy { align-items: flex-start; margin: 0; }
  body.vcx #liveName { font-size: 18px; }
  body.vcx .ab-dot-onboard-card { padding: 22px 18px; border-radius: 24px; }
  body.vcx .ab-dot-onboard-actions { position: sticky; bottom: 0; z-index: 5; margin: 22px -18px -22px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 0 0 24px 24px; }
}
@media (max-width: 420px) {
  body.vcx .ab-dot-onboard-name-row { grid-template-columns: 1fr; }
  body.vcx .ab-dot-onboard-link-claim__host { font-size: 12.5px; }
}

@keyframes vcx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vcx-step { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes vcx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { body.vcx *, body.vcx *::before, body.vcx *::after { animation: none !important; transition-duration: 0.01ms !important; } }

/* --- fixes: legacy stage panel + stacked action bar --- */
body.vcx .ab-vc-stage { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
body.vcx .ab-vc-stage::before, body.vcx .ab-vc-stage::after { display: none !important; }
body.vcx .vcx-contact .ab-dot-onboard-preview__avatar { background: linear-gradient(135deg, #2563eb, #0ea5e9) !important; border: 0 !important; }
body.vcx .ab-dot-onboard-actions { flex-direction: row !important; align-items: center !important; }
body.vcx .ab-dot-onboard-continue {
  flex: 1 1 auto !important; height: 54px !important; min-height: 54px !important; max-height: 54px; width: auto !important; padding: 0 24px !important;
  border-radius: 16px !important; background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important; color: #fff !important;
}
body.vcx .ab-dot-onboard-back { flex: 0 0 auto !important; height: 54px !important; }
body.vcx .ab-dot-onboard-skip { flex: 1 1 100% !important; height: auto !important; }

/* desktop: intro spans the top, phone and form start level */
@media (min-width: 921px) {
  body.vcx .ab-vc-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: "intro intro" "phone card"; column-gap: 48px; row-gap: 32px; align-items: start; }
  body.vcx .ab-vc-stage { display: contents; }
  body.vcx .ab-vc-intro { grid-area: intro; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: 48px; align-items: end; }
  body.vcx .ab-vc-intro__kicker, body.vcx .ab-vc-intro__title { grid-column: 1; }
  body.vcx .ab-vc-intro__lede { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: end; }
  body.vcx .ab-vc-intro__pills { grid-column: 2; margin-top: 14px; }
  body.vcx .ab-vc-intro.is-collapsed { display: none; }
  body.vcx .vcx-phone { grid-area: phone; position: sticky; top: 100px; }
  body.vcx .ab-dot-onboard-card { grid-area: card; }
  body.vcx .ab-vc-preview-label { display: none; }
}

/* initials layer: transparent on the blue avatar (legacy beige removed) */
body.vcx .vcx-contact .ab-dot-onboard-preview__initials,
body.vcx .vcx-contact.is-empty .ab-dot-onboard-preview__initials { display: grid; place-items: center; width: 100%; height: 100%; background: transparent !important; border: 0 !important; box-shadow: none !important; color: #fff !important; }
body.vcx .vcx-contact.is-empty .ab-dot-onboard-preview__initials::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='4' fill='none' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M4.5 20a7.5 7.5 0 0 1 15 0' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat !important; width: 36px !important; height: 36px !important; border-radius: 0 !important; -webkit-mask: none !important; mask: none !important; opacity: 0.9; }

/* --- mobile overflow + legacy colours --- */
body.vcx .ab-dot-onboard-card, body.vcx .ab-dot-onboard-card * { box-sizing: border-box; }
body.vcx .ab-dot-onboard-step > *, body.vcx .ab-vc-slug-claim, body.vcx .ab-dot-onboard-link-claim { min-width: 0; max-width: 100%; width: 100%; }
body.vcx .ab-dot-onboard-link-claim__box { width: 100% !important; max-width: 100% !important; overflow: hidden; padding: 0 14px !important; }
body.vcx .ab-dot-onboard-link-claim__host { min-width: 0; flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.vcx .ab-dot-onboard-link-claim__box input { flex: 1 1 60px; min-width: 60px; width: auto; }
body.vcx .ab-vc-slug-preview a { overflow-wrap: anywhere; color: var(--vx-blue); }
body.vcx .ab-vc-pw-wrap { position: relative; width: 100%; }
body.vcx .ab-vc-pw-wrap input { padding-right: 48px; }

/* step bubbles: done = light, current = gradient (old styles painted them black) */
body.vcx .ab-dot-onboard-progress__dot.is-done { background: rgba(37, 99, 235, 0.1) !important; color: var(--vx-blue) !important; box-shadow: none !important; }
body.vcx .ab-dot-onboard-progress__dot:not(.is-active) { background: transparent !important; }
body.vcx .ab-dot-onboard-progress__dot.is-active:not(.is-done) { background: var(--vx-grad) !important; color: #fff !important; }

/* avatar: always the blue gradient behind initials */
body.vcx .ab-dot-onboard-preview .ab-dot-onboard-preview__avatar { background: linear-gradient(135deg, #2563eb, #0ea5e9) !important; border: 0 !important; }
body.vcx .ab-dot-onboard-preview .ab-dot-onboard-preview__initials { background: transparent !important; color: #fff !important; }

body.vcx .ab-dot-onboard-back { background: #f1f5f9 !important; color: var(--vx-ink-2) !important; }
