/* ─────────────────────────────────────────────────────────────
   Formulario de onboarding del cliente.

   Se carga DESPUÉS de public.css y redefine el aspecto de .cgm-obPub*.
   La tipografía es la de la plataforma —Inter en los títulos,
   Inter en el texto—: del diseño de referencia se toman el ritmo,
   la retícula y el tratamiento de los campos, no las fuentes.
   ───────────────────────────────────────────────────────────── */

.cgm-obPub {
  --ob-page: #f4f5fb;
  --ob-card: #fff;
  --ob-ink: #1b1e3c;
  --ob-mute: #5b5f7e;
  --ob-faint: #9a9db5;
  --ob-line: #e6e7f1;
  --ob-line-2: #d9dbe8;
  --ob-soft: color-mix(in srgb, var(--ob-accent) 12%, #fff);
  --ob-ring: color-mix(in srgb, var(--ob-accent) 40%, #fff);
  --ob-green: #16a34a;
  --ob-green-soft: #e8f7ee;
  --ob-r: 20px;
  --ob-r-s: 12px;
  --ob-sh: 0 1px 2px rgba(27,30,60,.04), 0 8px 24px -12px rgba(27,30,60,.12);
  background: var(--ob-page);
  color: var(--ob-ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.cgm-obPub h1, .cgm-obPub h2, .cgm-obPub h3 { font-family: 'Inter', sans-serif; }

/* ── Cabecera centrada ── */
.cgm-obPub__hero {
  background:
    radial-gradient(900px 260px at 4% -20%, color-mix(in srgb, var(--ob-accent) 30%, transparent), transparent 65%),
    radial-gradient(700px 240px at 96% -40%, color-mix(in srgb, var(--ob-accent) 18%, transparent), transparent 60%),
    linear-gradient(#fbfbfe, #f8f8fd 80%, var(--ob-page));
  border-bottom: 1px solid rgba(230,231,241,.8);
  text-align: center;
  padding: 38px 20px 42px;
  display: block;
}
.cgm-obPub__logo, .cgm-obPub__logo--dark, .cgm-obPub__logo--light {
  display: inline-block;
  max-height: 74px;
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  background: none;
  border: 0;
  padding: 0;
}
.cgm-obPub__logo--dark { background: #101827; border-radius: 14px; padding: 10px 14px; }
.cgm-obPub__invite { margin: 16px 0 4px; color: var(--ob-mute); font-size: 15px; }
.cgm-obPub__invite strong { font-weight: 600; color: var(--ob-ink); }
.cgm-obPub__hero h1 { margin: 0; font-size: 42px; font-weight: 650; letter-spacing: -.03em; line-height: 1.05; }

.cgm-obPub__wrap { max-width: 900px; margin: 0 auto; padding: 26px 20px 70px; display: block; }

/* ── Tres tarjetas de contexto ── */
.cgm-obPub__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; }
.cgm-obPub__fact {
  background: var(--ob-card); border-radius: var(--ob-r); box-shadow: var(--ob-sh);
  padding: 18px 20px; border: 0; display: block;
}
.cgm-obPub__fact span {
  display: block; font-size: 11.5px; font-weight: 650; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ob-faint);
}
.cgm-obPub__fact b { display: block; margin-top: 6px; font-weight: 480; font-size: 15px; color: var(--ob-ink); }

/* Al volver a un paso el avioncito no se repinta: se oculta antes de que el
   navegador llegue a dibujarlo. */
.cgm-ob-noLoader .cgm-obPub__loader { display: none !important; }

/* ── Pasos ── */
.cgm-obPub__steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 0; list-style: none; align-items: stretch; }
/* Las pastillas son hijas de un <li>: sin esto cada una se queda a su altura
   natural dentro de un <li> estirado y la fila sale desalineada. */
.cgm-obPub__steps > li { display: flex; }
.cgm-obPub__step { box-sizing: border-box; flex: 1; }
.cgm-obPub__step {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px;
  border: 1px solid var(--ob-line); background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ob-mute);
}
.cgm-obPub__stepN {
  width: 24px; height: 24px; border-radius: 50%; background: var(--ob-line); color: var(--ob-mute);
  display: grid; place-items: center; font-size: 12px; font-weight: 650;
}
.cgm-obPub__step.is-done { border-color: #bfe8cd; background: var(--ob-green-soft); color: #166534; }
.cgm-obPub__step.is-done .cgm-obPub__stepN { background: var(--ob-green); color: #fff; font-size: 0; }
.cgm-obPub__step.is-done .cgm-obPub__stepN::after { content: '\2713'; font-size: 12px; }
.cgm-obPub__step.is-now { border-color: var(--ob-ring); background: var(--ob-soft); color: color-mix(in srgb, var(--ob-accent) 78%, #000); }
.cgm-obPub__step.is-now .cgm-obPub__stepN { background: var(--ob-accent); color: #fff; }

/* Con obligatorias sin contestar el paso no está hecho: ámbar y el número de
   lo que falta, en vez de un visto bueno que no es verdad. */
.cgm-obPub__step.is-pending { border-color: #f3ddb0; background: #fff9ee; color: #8a5a08; }
.cgm-obPub__step.is-pending .cgm-obPub__stepN { background: #f0b429; color: #fff; }
.cgm-obPub__stepLeft {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #e8890c; color: #fff; font-size: 11px; font-weight: 650;
  display: inline-grid; place-items: center;
}

/* Las pastillas llevan de vuelta a su paso. */
.cgm-obPub__step--go { cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.cgm-obPub__step--go:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(20, 28, 56, .45); }
.cgm-obPub__step--go:focus-visible { outline: 2px solid var(--ob-accent); outline-offset: 2px; }

.cgm-obPub__stepsHint { margin: -4px 0 12px; font-size: 12px; color: var(--ob-mute); }

/* ── Barra de avance ── */
.cgm-obPub__resume {
  margin: 0 0 18px; border: 1px solid color-mix(in srgb, var(--ob-accent) 22%, #fff);
  background: linear-gradient(color-mix(in srgb, var(--ob-accent) 4%, #fff), color-mix(in srgb, var(--ob-accent) 8%, #fff));
  border-radius: 16px; padding: 14px 18px; display: block;
}
.cgm-obPub__resumeBar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ob-accent) 18%, #fff); overflow: hidden; }
.cgm-obPub__resumeBar i { display: block; height: 100%; background: var(--ob-accent); border-radius: 999px; }
.cgm-obPub__resume p {
  margin: 8px 0 0; font-size: 13.5px; color: var(--ob-mute);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.cgm-obPub__resume p em { font-style: normal; color: var(--ob-faint); }

/* ── El formulario ── */
.cgm-obPub__form { display: flex; flex-direction: column; gap: 16px; }
.cgm-obPub__card {
  background: var(--ob-card); border-radius: var(--ob-r); box-shadow: var(--ob-sh);
  border: 0; padding: 28px 32px; display: flex; flex-direction: column; gap: 0;
}
.cgm-obPub__card h2 { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.cgm-obPub__card > .cgm-obPub__sub { margin: 6px 0 0; color: var(--ob-mute); max-width: 62ch; font-size: 14.5px; }

/* Cada pregunta es un bloque con aire propio. */
.cgm-obPub__q { display: block; padding: 24px 0 0; margin: 0; }
.cgm-obPub__q + .cgm-obPub__q { border-top: 1px solid var(--ob-line); margin-top: 24px; }
.cgm-obPub__qLbl { display: block; font-weight: 600; font-size: 15.5px; margin: 0 0 2px; }
.cgm-obPub__qLbl em { color: var(--ob-accent); font-style: normal; margin-left: 3px; }
.cgm-obPub__qHelp { margin: 2px 0 12px; font-size: 13.5px; color: var(--ob-mute); max-width: 66ch; }

.cgm-obPub__card input[type="text"], .cgm-obPub__card input[type="email"], .cgm-obPub__card input[type="url"],
.cgm-obPub__card input[type="tel"], .cgm-obPub__card input[type="password"],
.cgm-obPub__card textarea, .cgm-obPub__card select {
  width: 100%; border: 1px solid var(--ob-line-2); border-radius: var(--ob-r-s); background: #fff;
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ob-ink); outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.cgm-obPub__card textarea { min-height: 110px; resize: vertical; }
.cgm-obPub__card input::placeholder, .cgm-obPub__card textarea::placeholder { color: var(--ob-faint); }
.cgm-obPub__card input:focus, .cgm-obPub__card textarea:focus, .cgm-obPub__card select:focus {
  border-color: var(--ob-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ob-accent) 18%, transparent); background: #fff;
}
.cgm-obPub__card input[readonly] { background: #f6f7fc; color: var(--ob-mute); }
.cgm-obPub__f { display: block; margin-top: 18px; }
.cgm-obPub__f:first-child { margin-top: 0; }
.cgm-obPub__f > span { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.cgm-obPub__f > small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ob-faint); }
.cgm-obPub__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.cgm-obPub__row .cgm-obPub__f { margin-top: 0; }

/* Opciones como tarjetas. */
.cgm-obPub__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.cgm-obPub__opt { position: relative; display: block; }
.cgm-obPub__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.cgm-obPub__opt span {
  display: block; border: 1px solid var(--ob-line-2); border-radius: var(--ob-r-s);
  padding: 12px 14px; font-weight: 540; font-size: 14px; text-align: center; background: #fff;
  transition: border-color .12s, background .12s;
}
.cgm-obPub__opt input:checked + span { border-color: var(--ob-accent); background: var(--ob-soft); color: color-mix(in srgb, var(--ob-accent) 80%, #000); }
.cgm-obPub__opt input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ob-accent) 25%, transparent); }

/* ── Subida de archivos ── */
.cgm-obPub__up { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.cgm-obPub__upPrev {
  width: 96px; height: 96px; border-radius: 14px; border: 1px solid var(--ob-line);
  background: #f7f7fc; display: grid; place-items: center; overflow: hidden;
  color: var(--ob-faint); font-size: 11.5px; text-align: center; padding: 8px;
}
.cgm-obPub__upPrev--dark { background: #141530; border-color: #141530; }
.cgm-obPub__upPrev--cover { width: 78px; height: 104px; }
.cgm-obPub__upPrev img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.cgm-obPub__upPrev--cover img { width: 100%; height: 100%; object-fit: cover; }
.cgm-obPub__drop {
  border: 1.5px dashed var(--ob-line-2); border-radius: var(--ob-r-s); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; background: #fafafe; cursor: pointer;
  transition: border-color .12s, background .12s;
}
.cgm-obPub__drop:hover, .cgm-obPub__drop.is-over { border-color: var(--ob-accent); background: var(--ob-soft); }
.cgm-obPub__drop .ic {
  width: 36px; height: 36px; flex: none; border-radius: 10px; background: #fff;
  border: 1px solid var(--ob-line); display: grid; place-items: center; color: var(--ob-accent);
}
.cgm-obPub__drop .tx { display: block; font-weight: 600; font-size: 14px; }
.cgm-obPub__drop .tx u { color: var(--ob-accent); text-decoration: none; }
.cgm-obPub__drop .sz { display: block; font-size: 12.5px; color: var(--ob-faint); font-weight: 480; }
.cgm-obPub__drop input[type="file"] { display: none; }
.cgm-obPub__or { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; font-size: 12px; color: var(--ob-faint); }
.cgm-obPub__or::before, .cgm-obPub__or::after { content: ""; flex: 1; height: 1px; background: var(--ob-line); }
.cgm-obPub__chipFile {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ob-soft);
  color: color-mix(in srgb, var(--ob-accent) 80%, #000); border-radius: 8px; padding: 4px 10px;
  font-size: 13px; font-weight: 600; margin-top: 8px; text-decoration: none;
}

/* ── Colores ── */
.cgm-obPub__brandBox { display: flex; flex-direction: column; gap: 24px; }
.cgm-obPub__brandSlot { display: block; }
.cgm-obPub__brandLbl {
  display: block; font-weight: 600; font-size: 14.5px; letter-spacing: 0;
  text-transform: none; color: var(--ob-ink); margin-bottom: 8px;
}
.cgm-obPub__brandColor { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cgm-obPub__brandColor input[type="color"] {
  width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid rgba(0,0,0,.08);
  padding: 3px; background: #fff; cursor: pointer;
}
.cgm-obPub__brandColor input[type="text"] { width: 130px; flex: none; text-transform: uppercase; }
.cgm-obPub__brandSwatches { display: flex; gap: 8px; flex-wrap: wrap; margin-left: 4px; }
.cgm-obPub__brandSwatches button {
  width: 24px; height: 24px; border-radius: 7px; border: 1px solid rgba(0,0,0,.08);
  padding: 0; cursor: pointer; transition: transform .1s;
}
.cgm-obPub__brandSwatches button:hover { transform: scale(1.15); }
.cgm-obPub__colors { display: flex; flex-direction: column; gap: 10px; }
.cgm-obPub__colorRow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cgm-obPub__colorRow input[type="color"] { width: 44px; height: 40px; border-radius: 11px; border: 1px solid rgba(0,0,0,.08); padding: 3px; background: #fff; cursor: pointer; }
.cgm-obPub__swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.cgm-obPub__swatch { width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(0,0,0,.08); cursor: pointer; padding: 0; }

/* ── Avisos ── */
.cgm-obPub__err, .cgm-obPub__ok {
  padding: 12px 16px; border-radius: var(--ob-r-s); font-size: 14px; font-weight: 540; margin: 0;
}
.cgm-obPub__err { background: #fdeaea; border: 1px solid #f4cbd1; color: #b91c1c; }
.cgm-obPub__ok { background: var(--ob-green-soft); border: 1px solid #bfe8cd; color: #15803d; }

/* ── Pie del formulario ── */
.cgm-obPub__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; padding: 4px 0 0;
}
.cgm-obPub__navSp { flex: 0; }
.cgm-obPub__navRight { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.cgm-obPub__btn {
  border: 1px solid var(--ob-line); background: #fff; color: var(--ob-ink); border-radius: 14px;
  padding: 12px 20px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.cgm-obPub__btn:hover { background: #f7f8fd; }
.cgm-obPub__btn--primary, .cgm-obPub__form .cgm-obPub__btn:not(.cgm-obPub__btn--soft):not(.cgm-obPub__btn--ghost) {
  background: var(--ob-accent); border-color: var(--ob-accent); color: #fff;
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ob-accent) 70%, transparent);
}
.cgm-obPub__form .cgm-obPub__btn:not(.cgm-obPub__btn--soft):not(.cgm-obPub__btn--ghost):hover { filter: brightness(1.06); background: var(--ob-accent); }
.cgm-obPub__btn--soft { background: #fff; color: var(--ob-ink); border: 1px solid var(--ob-line); box-shadow: none; }
.cgm-obPub__btn--soft:hover { background: #f7f8fd; }
.cgm-obPub__btn--ghost { border: 0; background: none; color: var(--ob-mute); padding-left: 0; box-shadow: none; }
.cgm-obPub__btn--ghost:hover { background: none; color: var(--ob-ink); }
.cgm-obPub__btn:focus-visible { outline: 3px solid var(--ob-ring); outline-offset: 2px; }
.cgm-obPub__saved { font-size: 13px; color: var(--ob-faint); }
.cgm-obPub__saved::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ob-green); margin-right: 6px; vertical-align: 1px;
}

/* ── Pie ── */
.cgm-obPub__foot {
  text-align: center; color: var(--ob-faint); font-size: 13px; margin-top: 40px;
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  border: 0; padding: 0;
}
.cgm-obPub__foot b, .cgm-obPub__foot span { letter-spacing: .14em; font-size: 12px; color: var(--ob-mute); font-weight: 600; }
.cgm-obPub__foot > span:first-child { letter-spacing: 0; font-size: 13px; color: var(--ob-faint); font-weight: 400; }

/* Contrato y despedida heredan la caja del formulario. */
.cgm-obPub__doc {
  white-space: pre-wrap; word-break: break-word; margin: 12px 0 0; padding: 16px 18px; max-height: 420px;
  overflow: auto; border: 1px solid var(--ob-line); border-radius: var(--ob-r-s); background: #fbfcfe;
  font-family: inherit; font-size: 14px; line-height: 1.62; color: var(--ob-ink);
}
.cgm-obPub__bye { border: 1px solid #bfe8cd; background: linear-gradient(180deg, #f6fdf9, #fff); }
.cgm-obPub__doneGo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cgm-obPub__doneLink { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cgm-obPub__doneLink > span { font-size: 13.5px; font-weight: 600; }
.cgm-obPub__linkRow { display: flex; gap: 8px; flex-wrap: wrap; }
.cgm-obPub__linkRow input {
  flex: 1; min-width: 220px; padding: 11px 13px; border: 1px solid var(--ob-line-2);
  border-radius: var(--ob-r-s); background: #f8fafd; font-family: ui-monospace, Menlo, monospace;
  font-size: 12.5px; color: var(--ob-mute);
}
.cgm-obPub__accountOk {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: var(--ob-r-s);
  background: var(--ob-green-soft); border: 1px solid #bfe8cd; color: #15803d; font-size: 14px; font-weight: 650;
  margin-top: 14px;
}
.cgm-obPub__accountOk svg { width: 18px; height: 18px; }
/* Prefijo y numero en la MISMA fila.
   Dos cosas lo impedian: «.cgm-obPub__f > span» pone display:block y gana por
   especificidad a «.cgm-obPub__phone», asi que el flex nunca se aplicaba; y el
   ancho apuntaba a «select», pero el selector de banderas lo sustituye por un
   div .cgm-fsel, asi que tampoco encajaba. */
.cgm-obPub__f > .cgm-obPub__phone { display: flex; gap: 10px; align-items: stretch; }
.cgm-obPub__f > .cgm-obPub__phone > .cgm-fsel,
.cgm-obPub__f > .cgm-obPub__phone > select { flex: 0 0 132px; width: 132px; }
.cgm-obPub__f > .cgm-obPub__phone > input { flex: 1 1 auto; min-width: 0; width: auto; }

@media (max-width: 760px) {
  .cgm-obPub__hero h1 { font-size: 30px; }
  .cgm-obPub__facts { grid-template-columns: 1fr; }
  .cgm-obPub__card { padding: 22px 18px; }
  .cgm-obPub__row, .cgm-obPub__up { grid-template-columns: 1fr; }
  .cgm-obPub__stepT { display: inline; }
  .cgm-obPub__nav { flex-direction: column-reverse; align-items: stretch; }
  .cgm-obPub__navRight { margin-left: 0; justify-content: space-between; }
  .cgm-obPub__f > .cgm-obPub__phone > .cgm-fsel,
  .cgm-obPub__f > .cgm-obPub__phone > select { flex: 0 0 112px; width: 112px; }
}

/* Acceso permanente: una vez existe la cuenta, esto vive arriba del formulario. */
.cgm-obPub__access {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--ob-line); border-radius: 16px;
  box-shadow: var(--ob-sh); padding: 14px 18px; margin: 0 0 16px;
}
.cgm-obPub__access.is-saved { border-color: #bfe8cd; background: linear-gradient(180deg, #f6fdf9, #fff); }
.cgm-obPub__accessTxt { display: flex; flex-direction: column; gap: 2px; min-width: 220px; flex: 1 1 260px; }
.cgm-obPub__accessTxt b { font-size: 14.5px; font-weight: 650; }
.cgm-obPub__accessTxt span { font-size: 12.5px; color: var(--ob-mute); }
.cgm-obPub__access .cgm-obPub__linkRow { flex: 1 1 260px; margin: 0; }
.cgm-obPub__access .cgm-obPub__linkRow input { min-width: 0; }
.cgm-obPub__access .cgm-obPub__btn--primary { flex: none; }
@media (max-width: 700px) { .cgm-obPub__access { align-items: stretch; } }

/* ── Progreso de subida ── */
.cgm-obPub__prog { margin-top: 10px; }
.cgm-obPub__prog[hidden] { display: none; }
.cgm-obPub__progBar {
  height: 6px; border-radius: 999px; background: var(--ob-line); overflow: hidden;
}
.cgm-obPub__progBar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--ob-accent); transition: width .18s ease;
}
.cgm-obPub__progTxt {
  display: block; margin-top: 6px; font-size: 12.5px; font-weight: 540; color: var(--ob-mute);
}
.cgm-obPub__prog[data-state="ok"] .cgm-obPub__progBar i { background: var(--ob-green, #16a34a); }
.cgm-obPub__prog[data-state="ok"] .cgm-obPub__progTxt { color: #15803d; }
.cgm-obPub__prog[data-state="error"] .cgm-obPub__progBar i { background: #dc2626; }
.cgm-obPub__prog[data-state="error"] .cgm-obPub__progTxt { color: #b91c1c; }

/* Vista previa del equipo: flota encima de la pagina, no empuja nada. Como
   barra ocupaba su propia franja blanca y desplazaba el contenido, que es
   justo lo contrario de «ver como queda». El bloqueo de verdad esta en el
   servidor; apagar los botones aqui solo evita el clic inutil. */
.cgm-obPub__previewBar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: calc(100vw - 32px);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(23, 20, 38, .92);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, .45);
  color: rgba(255, 255, 255, .78);
  font-size: 12.5px;
  line-height: 1.3;
  pointer-events: none;
}
.cgm-obPub__previewBar b { color: #fff; font-size: 12.5px; font-weight: 600; }
.cgm-obPub--preview .cgm-obPub__btn--primary,
.cgm-obPub--preview button[type="submit"] {
  opacity: .5;
  pointer-events: none;
}

/* Muro de acceso del onboarding: una tarjeta estrecha y centrada en la
   pantalla. Sin esto heredaba el ancho de 900px del cuestionario y los campos
   quedaban estirados de lado a lado, con el botón perdido abajo. */
.cgm-obPub--gate .cgm-obPub__wrap {
  min-height: 100svh;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.cgm-obPub--gate .cgm-obPub__hero {
  /* Sin el degradado ni el filo del cuestionario: aqui el logo va suelto
     sobre el fondo, no sobre una franja de color recortada. */
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  background: none;
  border-bottom: 0;
}
.cgm-obPub--gate .cgm-obPub__logo {
  margin: 0 auto;
  max-height: 44px;
  width: auto;
}
.cgm-obPub__card--gate { padding: 30px; }
.cgm-obPub__card--gate .cgm-obPub__foot {
  margin-top: 22px;
  padding: 0;
  border: 0;
  display: block;
}
.cgm-obPub__card--gate .cgm-obPub__foot .cgm-obPub__btn {
  width: 100%;
  justify-content: center;
}
.cgm-obPub__gateFoot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ob-faint);
}
