/* =====================================================================
   Inscripción v2 · kit de UI público
   Tokens y componentes tomados de las maquetas B (una pregunta a la vez)
   y C (todo en una página): documentacion/rediseno-registro/maquetas/
   Mobile-first a 390px; columna de máx. 440px.
   ===================================================================== */
:root {
  /* Marca de Punto de meta (assets/landing/landing.css): naranja energía, azul noche y lima */
  --navy: #0B1220; --navy2: #1E2A42; --orange: #FF5A1F; --lime: #C6F432;
  /* Botón primario: naranja con texto azul noche (blanco sobre #FF5A1F no pasa AA).
     --orange-btn es el naranja para texto chico o fondos con texto blanco: #c2410c = 5.2:1 */
  --orange-btn: #c2410c; --orange-dk: #9a3412; --orange-bg: #FFF1EB; --orange-tx: #E8460D;
  --bg: #F8FAFC; --green: #16a34a; --green-dk: #15803d; --green-bg: #ecfdf3; --amber-bg: #fffbeb;
  --blue: #1d4ed8; --red: #b91c1c;
  --ink: #0B1220; --text: #2b3445; --muted: #566074; --line: #e3e7ef; --field: #c9d1de; --radius: 18px;
  --shadow: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.08);
  --ease: cubic-bezier(.22,.8,.24,1);
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5;
  color: var(--text); background: #e7ebf2; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 480px) {
  body { background: radial-gradient(900px 500px at 10% 0%, #dfe6f3 0%, transparent 60%), radial-gradient(700px 500px at 100% 100%, #fde7d6 0%, transparent 60%), #e9edf4; }
}
h1, h2, h3 { font-family: Outfit, system-ui, sans-serif; color: var(--navy); letter-spacing: -.02em; }
p { margin: 0 0 8px; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
h1:focus, [tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.mt { margin-top: 14px; }

/* ===== Columna de la app ===== */
/* En escritorio la barra de scroll aparece cuando el JS pinta el panel; reservar su
   espacio evita que la columna centrada brinque de lado (CLS) */
html { scrollbar-gutter: stable; }
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg); display: flex; flex-direction: column; position: relative; overflow-x: clip; }
@media (min-width: 480px) { .app { box-shadow: 0 0 0 1px rgba(11,18,32,.06), 0 24px 70px rgba(11,18,32,.14); } }
.app-body { flex: 1; display: flex; flex-direction: column; }
.app-main { flex: 1; display: flex; flex-direction: column; }
body.has-bar .app-main { padding-bottom: 150px; }
.page { padding: 12px 16px 32px; }
.page-title { font: 800 26px/1.2 Outfit, sans-serif; color: var(--navy); margin: 10px 0 6px; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 16px; }
.hl { color: var(--orange-tx); }
.app-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 18px 16px 24px; }

/* Barra superior */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 14px;
  background: rgba(248,250,252,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.back-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px 0 8px; border-radius: 99px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font: 600 15px Inter, sans-serif; cursor: pointer; flex: none; text-decoration: none; }
.back-btn:hover { border-color: #c7cfdc; }
.progress { flex: 1; height: 6px; background: #e0e5ee; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #fb923c); border-radius: inherit; transition: width .55s var(--ease); }
.bar-title { flex: 1; font: 700 16px Outfit, sans-serif; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.help-btn { flex: none; min-height: 44px; padding: 0 10px; border-radius: 99px; border: 0; background: transparent; color: var(--navy2);
  font: 600 15px Inter, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Botones ===== */
.btn { appearance: none; border: 0; cursor: pointer; width: 100%; min-height: 56px; border-radius: 999px; padding: 14px 20px; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; font: 700 19px/1.2 Outfit, sans-serif; letter-spacing: -.01em; text-decoration: none; text-align: center; transition: transform .12s, background-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 6px 20px rgba(255,90,31,.35); }
.btn-primary:hover { background: #FF6D37; box-shadow: 0 10px 28px rgba(255,90,31,.45); }
.btn-primary.done { background: var(--green-dk); color: #fff; box-shadow: 0 8px 18px rgba(21,128,61,.25); }
.btn-navy { background: var(--navy); color: #fff; font-size: 17px; min-height: 52px; }
.btn-navy:hover { background: var(--navy2); }
.btn-outline { background: #fff; color: var(--navy); border: 2px solid #c3ccdb; font-size: 17px; min-height: 52px; }
.btn-outline:hover { border-color: var(--navy2); }
.btn-ghost { background: transparent; color: var(--navy2); font-size: 16px; min-height: 48px; margin-top: 6px; text-decoration: underline; text-underline-offset: 4px; }
.btn-wa { background: var(--green-dk); color: #fff; font-size: 17px; min-height: 52px; }
.btn-wa:hover { background: #166534; }
.btn + .btn { margin-top: 10px; }
.btn-sm { min-height: 48px; font-size: 16px; padding: 10px 16px; border-radius: 999px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--navy2);
  font: 600 16px Inter, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link.small { font-size: 14px; color: var(--muted); }
.link-inline { border: 0; background: none; padding: 0; color: var(--orange-btn); font: 600 15px Inter, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* ===== Campos ===== */
.field { margin-bottom: 16px; }
.field > label, .legend, .lbl { display: block; font: 600 15px Inter, sans-serif; color: var(--navy); margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.input { width: 100%; height: 56px; border: 2px solid #d0d7e3; border-radius: 14px; background: #fff; color: var(--ink); font: 500 18px Inter, sans-serif;
  padding: 0 16px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.input.lg { height: 60px; font-size: 20px; }
.input::placeholder { color: #8a93a3; font-weight: 400; }
.input:focus { outline: none; border-color: var(--navy2); box-shadow: 0 0 0 4px rgba(255,90,31,.25); }
.input[aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.12); background-color: #fffafa; }
select.input { padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; font-size: 17px; }
.tel-wrap { display: flex; align-items: stretch; }
.tel-pre { display: flex; align-items: center; padding: 0 12px; border: 2px solid #d0d7e3; border-right: 0; border-radius: 14px 0 0 14px; background: #eef2f8; font: 600 16px Inter, sans-serif; color: var(--navy); white-space: nowrap; }
.tel-wrap .input { border-radius: 0 14px 14px 0; letter-spacing: .04em; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.err { display: none; align-items: flex-start; gap: 6px; margin: 8px 0 0; color: var(--red); font-size: 15px; font-weight: 500; }
.err.show { display: flex; }
.err svg { flex: none; margin-top: 2px; }
.shake { animation: shake .35s; }
@keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
.row2 { display: flex; gap: 10px; align-items: flex-end; }
.row2 > * { flex: 1; min-width: 0; }
.date-row { display: grid; grid-template-columns: 1fr 1.5fr 1.2fr; gap: 8px; }
.date-row label { font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; display: block; }
.age-calc { margin: 10px 0 0; font-weight: 600; color: var(--green-dk); min-height: 24px; }
.minor { display: block; color: #9a3412; margin-top: 2px; font-weight: 500; }

/* Edad con stepper (B) */
.stepper { display: flex; align-items: center; gap: 10px; }
.step-btn { flex: none; width: 56px; height: 60px; border-radius: 14px; border: 2px solid #d0d7e3; background: #fff; font: 700 26px Outfit, sans-serif; color: var(--navy); cursor: pointer; }
.step-btn:active { background: #eef2f8; }
.age-input { position: relative; flex: 1; }
.age-input .input { height: 76px; text-align: center; font: 800 36px Outfit, sans-serif; padding: 0 60px 0 16px; }
.age-input span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }

/* ===== Opciones grandes (chips de B) ===== */
.choices { display: grid; gap: 12px; }
.choices.cols2 { grid-template-columns: 1fr 1fr; }
.choices.sizes { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px; background: #fff;
  border: 2px solid var(--line); border-radius: 16px; text-align: left; cursor: pointer; color: var(--navy); font: 600 18px/1.25 Outfit, sans-serif;
  box-shadow: 0 1px 2px rgba(11,18,32,.05); transition: border-color .2s, background-color .2s, box-shadow .2s, transform .15s; }
.choice:hover { border-color: #c3ccda; }
.choice:active { transform: scale(.985); }
.choice .key { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #cbd3df; display: grid; place-items: center; font: 700 13px Inter, sans-serif; color: var(--muted); background: #fff; transition: .2s; }
.choice .emo { font-size: 26px; line-height: 1; flex: none; }
.choice .lbl { flex: 1; min-width: 0; }
.choice small { display: block; font: 400 14px/1.35 Inter, sans-serif; color: var(--muted); margin-top: 3px; }
.choice .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange-btn); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: .25s var(--ease); }
.choice.sel, .choice[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-bg); box-shadow: 0 0 0 4px rgba(255,90,31,.16); }
.choice.sel .key, .choice[aria-pressed="true"] .key { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
.choice.sel .tick, .choice[aria-pressed="true"] .tick { opacity: 1; transform: none; }
.choice[disabled] { cursor: not-allowed; background: #f0f2f6; color: #6b7383; box-shadow: none; }
.choice[disabled] .emo { filter: grayscale(1); opacity: .6; }
.choice.shortcut { border-style: dashed; border-color: #f4b37f; background: #fffaf5; }
.choice.size { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2px; padding: 14px 4px; min-height: 84px; }
.choice.size .key { position: absolute; top: 7px; left: 7px; width: 20px; height: 20px; font-size: 11px; border-radius: 6px; }
.choice.size .tick { position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; }
.choice.size small { font-size: 12.5px; margin-top: 0; }
.size-l { display: block; font: 800 22px/1.1 Outfit, sans-serif; }
.choice.compact { min-height: 54px; padding: 10px 14px; font-size: 16px; }
.choice.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.025); } }
.cat-card { display: flex; gap: 14px; align-items: center; background: linear-gradient(150deg, var(--navy), var(--navy2)); color: #fff; border-radius: 20px; padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.cat-card .cat-emo { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 30px; flex: none; }
.cat-card small { display: block; color: #c7d2e4; font-size: 13px; }
.cat-card b { display: block; font: 800 26px/1.15 Outfit, sans-serif; }
.cat-card span { font-size: 14px; color: #dbe3ef; }
/* Kits y tandas (lugares gratis, 50 %...): database/tandas-kits-cupos */
.kit-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: #fff; border: 2px solid var(--orange); border-radius: var(--radius); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.kit-card .emo { font-size: 28px; line-height: 1; flex: none; }
.kit-card .lbl { flex: 1; min-width: 0; }
.kit-card small, .choice.kit small { display: block; font: 400 14px/1.4 Inter, sans-serif; color: var(--muted); margin-top: 4px; }
.kit-nom { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 700; color: var(--navy); }
.kit-precio { font: 800 18px Outfit, sans-serif; color: var(--green-dk); white-space: nowrap; }
.kit-precio s { font: 500 14px Inter, sans-serif; color: var(--muted); margin-left: 4px; }
.kit-cargando { height: 96px; border-radius: var(--radius); background: linear-gradient(90deg, #eef1f6 25%, #f7f8fb 50%, #eef1f6 75%); background-size: 200% 100%; animation: brillo 1.2s linear infinite; }
@keyframes brillo { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .kit-cargando { animation: none; } }
.tandas { display: grid; gap: 10px; margin: 0 0 4px; }
.tanda { border-radius: 16px; padding: 14px 16px; background: #fff; border: 1.5px solid var(--line); }
.tanda.actual { border-color: var(--orange); background: var(--orange-bg); }
.tanda.llena { opacity: .7; }
.tanda-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tanda-h b { font: 800 16px Outfit, sans-serif; color: var(--navy); }
.tanda-h span { font-size: 13.5px; font-weight: 700; white-space: nowrap; color: var(--muted); }
.tanda.actual .tanda-h span { color: var(--orange-dk); }
.tanda p { font-size: 14.5px; margin: 4px 0 0; }
.cupos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.cupo { background: #fff; border-radius: 12px; padding: 8px 10px; border: 1px solid var(--line); font-size: 13.5px; }
.cupo b { display: block; font: 800 18px Outfit, sans-serif; color: var(--green-dk); }
.cupo.sin b { color: var(--muted); }
.cupo i { display: block; height: 5px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.cupo i::before { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--orange); }
.incl.kits-incl { display: grid; gap: 6px; margin-top: 14px; }
.incl.kits-incl li { background: #f3f5f9; color: var(--text); border-radius: 12px; font-size: 13.5px; line-height: 1.4; padding: 8px 12px; }
.or { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 10px; }
.note { background: #eef2f8; border-radius: 14px; padding: 12px 14px; color: var(--text); font-size: 15px; margin: 14px 0 0; }
.note.warn { background: var(--amber-bg); color: #7c2d12; }
.note.info { background: #eef4ff; color: #1e3a8a; }

/* Chips compactos (C) con radio oculto */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sr { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--field); border-radius: 12px; background: #fff; font-weight: 500; cursor: pointer; user-select: none; transition: all .12s; }
.chip:hover { border-color: var(--navy2); }
.chip small { font-size: 13px; color: var(--muted); font-weight: 400; }
.sr:checked + .chip { border-color: var(--navy); background: var(--navy); color: #fff; }
.sr:checked + .chip small { color: #d6deea; }
.sr:focus-visible + .chip, .sr:focus-visible + .disc, .sr:focus-visible + .yn-o, .sr:focus-visible + .upload { outline: 3px solid #2563eb; outline-offset: 2px; }
.sr:disabled + .chip { opacity: .45; cursor: not-allowed; border-style: dashed; }
.chip .sug { font: 700 10.5px Outfit, sans-serif; text-transform: uppercase; letter-spacing: .03em; background: #fff1e6; color: #9a3412; padding: 2px 6px; border-radius: 5px; }
.sr:checked + .chip .sug { background: var(--orange); color: #fff; }
.disc-list { display: grid; gap: 8px; }
.disc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--field); border-radius: 14px; background: #fff; cursor: pointer; min-height: 60px; transition: all .12s; }
.disc:hover { border-color: var(--navy2); }
.disc-ic { font-size: 22px; width: 40px; height: 40px; display: grid; place-items: center; background: #f1f4f9; border-radius: 10px; flex: none; }
.disc b { display: block; font-weight: 700; }
.disc small { display: block; color: var(--muted); font-size: 14px; }
.sr:checked + .disc { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f7fc; }
.sr:checked + .disc::after { content: "✓"; margin-left: auto; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.sr:disabled + .disc { opacity: .5; cursor: not-allowed; }
.cat-box { border-radius: 12px; padding: 11px 13px; font-size: 15px; margin-bottom: 10px; }
.cat-wait { background: #f3f5fa; color: var(--muted); }
.cat-sug { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.cat-bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn-o { display: block; padding: 12px; border: 1.5px solid var(--field); border-radius: 14px; cursor: pointer; background: #fff; min-height: 84px; }
.yn-o b { display: block; font-weight: 700; margin-top: 2px; color: var(--navy); }
.yn-o small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.sr:checked + .yn-o { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f7fc; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #c7d2fe; background: #eef2ff; color: #3730a3; font: 500 14.5px Inter, sans-serif; cursor: pointer; }
.pill:hover { background: #e0e7ff; }

/* Casilla grande */
.check-card { position: relative; display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: .2s; }
.check-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-card .box { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 2px solid #aeb8c9; display: grid; place-items: center; color: transparent; transition: .2s; background: #fff; }
.check-card input:checked + .box { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.check-card input:focus-visible + .box { outline: 3px solid #2563eb; outline-offset: 2px; }
.check-card:has(input:checked) { border-color: #86efac; background: #f0fdf4; }
.check-card b { display: block; font: 700 16px/1.3 Outfit, sans-serif; color: var(--navy); }
.check-card small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.carta { background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #334155; max-height: 260px; overflow: auto; margin: 8px 0; }

/* ===== Tarjetas ===== */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; margin: 0 0 14px; }
.card h2 { font: 700 18px/1.3 Outfit, sans-serif; color: var(--navy); margin: 0 0 10px; }
.card.warn-card { border: 2px solid #fdba74; background: #fffaf5; }
.card.ok-card { border: 2px solid #86efac; background: #f0fdf4; }
.card.rev-card { border: 2px solid #fcd34d; background: var(--amber-bg); }
.card.bad-card { border: 2px solid #fecaca; background: #fef2f2; }
.card.action { border-left: 5px solid var(--orange-btn); }
.card.action.rev { border-left-color: var(--blue); }
.card.action.ok { border-left-color: var(--green); }
.info-row { display: flex; gap: 12px; align-items: flex-start; }
.info-row .ic { font-size: 22px; flex: none; width: 28px; text-align: center; }
.info-row b { display: block; color: var(--navy); }
.info-row p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font: 700 11px Outfit, sans-serif; letter-spacing: .03em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: #eef2fa; color: var(--navy2); vertical-align: middle; }
.tag-l { background: #fff1e6; color: #9a3412; }

/* Franja compacta de la carrera (raceStrip de C) */
.strip { display: flex; align-items: center; gap: 12px; margin: 12px 14px 0; padding: 10px 12px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.strip-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; font-size: 18px; flex: none; }
.strip b { display: block; font: 700 14px Outfit, sans-serif; color: var(--navy); line-height: 1.25; }
.strip small { display: block; font-size: 13px; color: var(--muted); }
.strip-p { margin-left: auto; font: 800 17px Outfit, sans-serif; color: var(--navy); text-align: right; line-height: 1.1; flex: none; }
.strip-p small { font: 400 12px Inter, sans-serif; }

/* ===== Página de la carrera (B) ===== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 16px 20px 72px; background: radial-gradient(120% 90% at 100% 0%, rgba(255,90,31,.32) 0%, transparent 55%), linear-gradient(160deg, #0B1220, #1E2A42); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.hero > *:not(.hero-bg):not(.hero-art) { position: relative; }
.hero-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 800 14px Outfit, sans-serif; color: #fff; text-decoration: none; }
.brand-iso { width: 30px; height: 30px; flex: none; --iso-b: #fff; }
.brand { font: 700 19px/1 Outfit, sans-serif; letter-spacing: -.035em; }
.iso-p { stroke: var(--iso-p, var(--orange)); }
.iso-b { fill: var(--iso-b, var(--navy)); }
.iso-d { fill: var(--iso-d, var(--lime)); }
.open-tag { display: inline-flex; align-items: center; gap: 7px; font: 600 12.5px Inter, sans-serif; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.open-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(198,244,50,.18); }
.open-tag.closed .dot { background: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,.18); }
.hero h1 { font: 800 27px/1.15 Outfit, sans-serif; margin: 18px 0 8px; color: #fff; }
.hero-sub { margin: 0; color: #d3dbe8; font-size: 15px; }
.hero-art { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; }
.facts { margin: -54px 16px 0; position: relative; padding: 8px 16px 16px; }
.fact { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fact:last-of-type { border-bottom: 0; }
.fact .ic { width: 42px; height: 42px; border-radius: 12px; background: #eef2f8; display: grid; place-items: center; font-size: 20px; flex: none; }
.fact b { display: block; font: 700 16px/1.3 Outfit, sans-serif; color: var(--navy); }
.fact span { font-size: 14.5px; color: var(--muted); }
.fact.price b { font-size: 22px; }
.count { font: 700 12.5px Outfit, sans-serif; background: #fff1e6; color: #9a3412; padding: 6px 9px; border-radius: 9px; text-align: center; line-height: 1.25; margin-left: auto; flex: none; }
.incl { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; padding: 0; list-style: none; }
.incl li { background: var(--green-bg); color: #166534; font: 500 13px Inter, sans-serif; padding: 5px 10px; border-radius: 99px; }
.cta-zone { padding: 16px 16px 6px; text-align: center; }
.sec { margin: 14px 16px; }
.disc-info { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.disc-info li { display: flex; gap: 12px; align-items: flex-start; }
.disc-info .emo { width: 38px; height: 38px; border-radius: 12px; background: #eef2f8; display: grid; place-items: center; font-size: 20px; flex: none; }
.disc-info b { display: block; font: 700 15.5px Outfit, sans-serif; color: var(--navy); }
.disc-info span { font-size: 14px; color: var(--muted); }
.kit-html { font-size: 15px; }
.kit-html p { margin: 0 0 6px; }

/* Página de la carrera "Esencial" (asset 470, opción A) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hero-chips span { background: rgba(255,255,255,.14); color: #fff; border-radius: 99px; padding: 5px 11px; font: 500 13px Inter, sans-serif; }
.ahora { margin: -54px 16px 0; position: relative; padding: 18px 18px 8px; text-align: center; }
.ahora h2 { margin-bottom: 6px; }
.ahora-k { font: 800 11.5px Outfit, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-btn); margin: 0 0 4px; }
.ahora-grande { font: 800 32px/1.1 Outfit, sans-serif; color: var(--navy); margin: 0 0 4px; }
.ahora-grande.gratis { color: var(--green-dk); }
.ahora-grande small { font: 500 15px Inter, sans-serif; color: var(--muted); }
.ahora-det { font-size: 14.5px; color: var(--muted); margin: 0 0 6px; }
.ahora-det b { color: var(--navy); }
.ahora-barra { height: 8px; border-radius: 5px; background: #eef1f6; overflow: hidden; margin: 10px 0 8px; }
.ahora-barra i { display: block; height: 100%; background: var(--orange); border-radius: 5px; }
.ahora .btn { margin-top: 10px; }
.ahora .incl { justify-content: center; }
.mas { border-top: 1px solid var(--line); margin-top: 6px; text-align: left; }
.mas summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 46px; font: 500 14.5px Inter, sans-serif; color: var(--navy2); }
.mas summary::-webkit-details-marker, .pleg summary::-webkit-details-marker { display: none; }
.mas summary::after, .pleg summary::after { content: "›"; font-size: 22px; line-height: 1; color: var(--muted); transform: rotate(90deg); transition: transform .2s var(--ease); }
.mas[open] summary::after, .pleg[open] summary::after { transform: rotate(-90deg); }
.mas .cupos { margin: 0 0 12px; }
.mas .cupo { display: flex; align-items: baseline; gap: 6px; }
.mas .cupo b { display: inline; font-size: 17px; }
.minifacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 16px 0; }
.minifact { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; font-size: 13.5px; color: var(--muted); }
.minifact b { display: block; color: var(--navy); font: 700 14.5px Outfit, sans-serif; }
.lugar-txt { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.bienv .muted { margin: 0 0 12px; font-size: 15px; }
.bienv-img { display: block; border-radius: 14px; overflow: hidden; background: #e2e8f0; aspect-ratio: 1; margin: 0 0 12px; box-shadow: 0 8px 24px rgba(11,18,32,.18); }
/* Descargar y Cambiar foto lado a lado (una sola columna si no hay foto que cambiar) */
.bienv-par { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.bienv-par .btn { padding-left: 10px; padding-right: 10px; white-space: nowrap; gap: 6px; }
.bienv-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bienv-btns { display: grid; gap: 8px; }
.bienv-btns .btn { margin: 0; }
.mapa { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #e2e8f0; margin: 0 0 12px; }
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; }
.dist-grp { font: 700 15px Inter, sans-serif; color: var(--navy); margin: 14px 0 4px; }
.dist-grp:first-of-type { margin-top: 4px; }
.dist-grp small { font: 400 14px Inter, sans-serif; color: var(--muted); }
.dist-f { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.dist-f b { font: 800 15px Outfit, sans-serif; color: var(--navy); }
.dist-f span { color: var(--text); }
.dist-f.largo { grid-template-columns: 1fr; gap: 2px; }
.dist + .muted { margin-top: 10px; }
.kits-tabla-w { overflow-x: auto; margin: 0 -4px; }
.kits-tabla { width: 100%; border-collapse: collapse; font-size: 14px; }
.kits-tabla th, .kits-tabla td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.kits-tabla thead th { font: 700 14px Outfit, sans-serif; color: var(--navy); vertical-align: bottom; }
.kits-tabla thead small { display: block; font: 400 12px Inter, sans-serif; color: var(--muted); }
.kits-tabla tbody th { text-align: left; font-weight: 400; color: var(--muted); }
.kits-tabla .precio td, .kits-tabla .precio th { font: 800 15px Outfit, sans-serif; color: var(--navy); }
.kits-tabla .si { color: var(--green-dk); font-weight: 700; }
.kits-tabla .no { color: #6b7383; }
.kits-tabla .rama { font-size: 12.5px; color: var(--navy2); font-weight: 500; }
.plegables { padding-top: 4px; padding-bottom: 4px; }
.pleg { border-bottom: 1px solid var(--line); }
.pleg:last-child { border-bottom: 0; }
.pleg summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font: 600 15.5px Inter, sans-serif; color: var(--navy); }
.pleg-in { padding: 0 0 14px; }
.pleg-in .btn { margin-top: 8px; }
.bar-total.gratis b { color: var(--green-dk); }

/* Barra inferior fija (C) y CTA que aparece al hacer scroll (B) */
.bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 440px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11,18,32,.1); padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); z-index: 40; border-radius: 18px 18px 0 0; }
.bar.slide { transform: translate(-50%, 120%); transition: transform .3s var(--ease); }
/* Panel del líder: lo pinta el JS. Mientras, la barra espera fuera de pantalla y
   "Entrega de kits" no se ve, para que nada brinque al cargar (CLS). */
#bar { transition: transform .3s var(--ease); }
#bar:empty { transform: translate(-50%, 120%); }
#panel:empty ~ .more { visibility: hidden; }
.bar.slide.show { transform: translate(-50%, 0); }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-total { flex: none; min-width: 92px; line-height: 1.1; }
.bar-total small { display: block; font-size: 13px; color: var(--muted); }
.bar-total b { display: block; font: 800 24px Outfit, sans-serif; color: var(--navy); }
.bar .btn { flex: 1; width: auto; min-height: 54px; }
.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.14); color: var(--orange-btn); } }

/* ===== Modalidad ===== */
.mode { font: inherit; display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px 16px; margin: 0 0 12px; cursor: pointer; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mode:hover { border-color: var(--navy2); box-shadow: 0 6px 20px rgba(11,18,32,.12); }
.mode .ic { font-size: 30px; width: 58px; height: 58px; border-radius: 16px; background: #f1f4f9; display: grid; place-items: center; flex: none; }
.mode b { display: block; font: 700 19px Outfit, sans-serif; color: var(--navy); }
.mode small { display: block; font-size: 15px; color: var(--muted); margin-top: 3px; }
.mode .go { margin-left: auto; color: var(--orange-btn); font-size: 26px; font-weight: 700; }

/* ===== Pregunta (B) ===== */
.stage { flex: 1; display: flex; flex-direction: column; }
.screen { flex: 1; display: flex; flex-direction: column; }
.q { flex: 1; display: flex; flex-direction: column; padding: 4px 20px 0; }
.q-head { margin: 14px 0 20px; }
.bot { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 13px Outfit, sans-serif; color: var(--muted); letter-spacing: .01em; }
.bot .av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px rgba(11,18,32,.07); --iso-b: #fff; }
.bot .av svg.iso { width: 20px; height: 20px; }
.q-title { font: 800 27px/1.18 Outfit, sans-serif; color: var(--navy); margin: 0; letter-spacing: -.015em; }
.q-sub { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.q-body { flex: 1; }
.q-foot { position: sticky; bottom: var(--kb, 0px); margin-top: 18px; padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 72%, rgba(248,250,252,0)); }
/* Con el teclado abierto: el botón más pegado al teclado y sin la ayuda de abajo (ui.js marca .kb-abierto) */
.kb-abierto .q-foot { padding-bottom: 10px; }
.kb-abierto .q-hint { display: none; }
/* Al enfocar un campo, el navegador lo deja arriba del botón pegajoso (no debajo) */
.q input, .q textarea, .q select { scroll-margin-bottom: 120px; }
.q-hint { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.in-fwd { animation: inF .4s var(--ease) both; }
.in-back { animation: inB .4s var(--ease) both; }
@keyframes inF { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes inB { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

/* Revisar: filas editables */
.rows { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.rowe { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 12px 16px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.rowe:last-child { border-bottom: 0; }
.rowe:hover { background: #fafbfd; }
.rowe small { display: block; color: var(--muted); font-size: 13px; }
.rowe b { display: block; font: 500 16px Inter, sans-serif; color: var(--ink); overflow-wrap: anywhere; }
.rowe-edit { flex: none; color: var(--orange-btn); font: 700 14px Outfit, sans-serif; }
.total-line { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 14px 16px; background: var(--navy); color: #fff; border-radius: 16px; }
.total-line b { font: 800 22px Outfit, sans-serif; }

/* ===== Panel del grupo (C) ===== */
.form-intro { padding: 16px 16px 2px; }
.form-intro h1 { font: 800 23px/1.2 Outfit, sans-serif; margin: 0 0 4px; }
.form-intro p { color: var(--muted); font-size: 15px; }
.gsec { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 12px 14px; padding: 16px 14px; }
.gsec > h2 { font: 700 17px Outfit, sans-serif; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.gsec-num { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px Outfit, sans-serif; background: var(--navy); color: #fff; }
.gsec-num.ok { background: var(--green); }
.gsec-lead { font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.sub-h { font: 700 14px Outfit, sans-serif; color: var(--navy2); text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
@keyframes popm { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.av { width: 40px; height: 40px; border-radius: 50%; background: #e8edf6; color: var(--navy2); font: 700 14px Outfit, sans-serif; display: grid; place-items: center; flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-l { background: #fff1e6; color: #9a3412; }
.act { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: #f8fafc; color: var(--navy2); font: 500 14px Inter, sans-serif; cursor: pointer; }
.act:hover { background: #eef2f8; border-color: #cdd5e2; }
.act-del { color: var(--red); }
.money-rows { margin: 10px 0 0; }
.money-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.money-rows > div:first-child { border-top: 0; }
.money-rows b { font-family: Outfit, sans-serif; }
.empty { text-align: center; color: var(--muted); padding: 18px 10px; font-size: 15px; }
details.more { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 12px 14px; }
details.more > summary { cursor: pointer; list-style: none; padding: 16px; font: 700 16px Outfit, sans-serif; color: var(--navy); min-height: 52px; display: flex; align-items: center; justify-content: space-between; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "▾"; color: var(--muted); }
details.more[open] > summary::after { content: "▴"; }
details.more > div { padding: 0 16px 16px; }

/* ===== Pago ===== */
.saved { display: flex; align-items: center; gap: 10px; background: var(--green-bg); color: #166534; border: 1px solid #bbf7d0; border-radius: 14px; padding: 10px 14px; font-size: 14.5px; margin-bottom: 12px; }
.saved svg { flex: none; }
.amount { text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; border-radius: 20px; padding: 20px; margin: 4px 0 14px; box-shadow: var(--shadow); }
.amount small { display: block; color: #c7d2e4; font-size: 14px; }
.amount strong { display: block; font: 800 48px/1.1 Outfit, sans-serif; letter-spacing: -.02em; margin: 4px 0; }
.amount span { font-size: 15px; color: #dbe3ef; }
.steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.step { display: flex; gap: 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px; }
.step-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 15px Outfit, sans-serif; }
.step-c { flex: 1; min-width: 0; }
.step h2 { font: 700 18px Outfit, sans-serif; color: var(--navy); margin: 4px 0 8px; }
.bank { margin: 0 0 6px; background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 2px 12px; }
.bank > div { padding: 10px 0; border-bottom: 1px dashed #d9dee8; }
.bank > div:last-child { border-bottom: 0; }
.bank dt { font-size: 13px; color: var(--muted); }
.bank dd { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 700 16px Inter, sans-serif; color: var(--ink); overflow-wrap: anywhere; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.bank .mono { font-size: 15px; letter-spacing: 0; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #fdba74; background: var(--orange-bg); color: var(--orange-dk); font: 700 14px Outfit, sans-serif; cursor: pointer; }
.copy.done { background: var(--green-bg); border-color: #86efac; color: var(--green-dk); }
.tiny { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; min-height: 124px; padding: 18px; border: 2px dashed #b9c3d3; border-radius: 16px; background: #fbfcfe; cursor: pointer; transition: .2s; }
.upload:hover, .upload.drag { border-color: var(--orange); background: var(--orange-bg); }
.upload b { font: 700 16px Outfit, sans-serif; color: var(--navy); }
.upload small { color: var(--muted); font-size: 14px; }
.up-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-bg); color: var(--orange-dk); display: grid; place-items: center; margin-bottom: 4px; }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--green-bg); border: 1.5px solid #86efac; border-radius: 14px; color: #166534; }
.file-chip div { flex: 1; min-width: 0; }
.file-chip b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip small { display: block; font-size: 13px; }
.file-chip button { border: 0; background: none; color: var(--navy2); font: 600 14px Inter, sans-serif; text-decoration: underline; cursor: pointer; min-height: 44px; }
.later { margin-top: 22px; padding: 18px; border-radius: 18px; background: #fff; border: 2px solid var(--line); }
.later h2 { font: 700 18px Outfit, sans-serif; color: var(--navy); margin: 0 0 6px; }
.warn-line { background: var(--amber-bg); color: #7c2d12; padding: 10px 12px; border-radius: 12px; font-size: 15px; margin: 10px 0 12px; }
.upbar { height: 6px; border-radius: 9px; background: #e9edf4; overflow: hidden; margin-top: 10px; }
.upbar i { display: block; height: 100%; width: 0; background: var(--green); transition: width .2s; }
/* Datos del pago leídos del comprobante (pago.js) */
.datos-pago { margin-top: 14px; }
.datos-pago [data-estado] { display: none; }
.datos-pago[data-modo="leyendo"] [data-estado="leyendo"], .datos-pago[data-modo="leido"] [data-estado="leido"], .datos-pago[data-modo="manual"] [data-estado="manual"] { display: flex; }
.dp-leyendo { align-items: center; gap: 10px; background: #eef4ff; color: #1e3a8a; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.dp-leyendo .spin { border-color: rgba(30,58,138,.25); border-top-color: #1e3a8a; flex: none; }
.dp-titulo { gap: 8px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; color: var(--text); }
.dp-titulo .ico { width: 1.3em; height: 1.3em; flex: none; }
.datos-pago[data-modo="leyendo"] .dp-campos { opacity: .45; pointer-events: none; }
.datos-pago[data-modo="manual"] .dp-extra { display: none; }
.dp-avisos .note { margin: 0 0 12px; }
.dp-campos .row2 > :first-child { flex: 1.3; }
.input.textarea { height: auto; min-height: 96px; padding: 12px 16px; font-size: 16px; line-height: 1.4; resize: vertical; }
.datos-pago .input.ia { background: #f6fbf7; border-color: #a7dcb7; }
.datos-pago .input.ia:focus { border-color: var(--navy2); }

/* ===== Confirmación ===== */
.conf-hero { position: relative; text-align: center; padding: 6px 0 2px; overflow: hidden; }
.big-check { display: block; width: 86px; height: 86px; margin: 8px auto 6px; color: var(--green); }
.big-check .c { stroke-dasharray: 227; stroke-dashoffset: 227; animation: draw .65s .1s var(--ease) forwards; }
.big-check .k { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.is-falta .big-check { color: #d97706; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font: 700 14.5px Inter, sans-serif; margin-top: 4px; }
.st-rev { background: var(--amber-bg); color: #7c2d12; border: 1px solid #fcd34d; }
.st-falta { background: #fff1e6; color: #9a3412; border: 1px solid #fdba74; }
.st-ok { background: var(--green-bg); color: #166534; border: 1px solid #86efac; }
.st-bad { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.folio-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px; text-align: center; margin: 16px 0 14px; border-top: 4px solid var(--orange); }
.folio-card small { color: var(--muted); font-size: 14px; }
.folio { display: block; font: 800 36px/1.1 Outfit, sans-serif; letter-spacing: .1em; color: var(--navy); margin-top: 2px; overflow-wrap: anywhere; }
.save-link { border: 2px solid #fdba74; background: linear-gradient(#fff, #fff7ed); }
.save-head { display: flex; gap: 12px; align-items: flex-start; }
.pin { font-size: 26px; line-height: 1; }
.url-box { font-family: var(--mono); font-size: 14px; background: #fff; border: 1.5px dashed #fdba74; border-radius: 12px; padding: 12px; margin: 12px 0; color: var(--navy); word-break: break-all; text-align: center; }
.sum-list { list-style: none; margin: 0; padding: 0; }
.sum-list li { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sum-list li:last-child { border-bottom: 0; }
.sum-list li > div { flex: 1; min-width: 0; }
.sum-list b { display: block; font: 700 15.5px Outfit, sans-serif; color: var(--navy); }
.sum-list small { display: block; color: var(--muted); font-size: 13.5px; }
.sum-list code { font: 500 12.5px var(--mono); color: var(--navy2); background: #f1f4f9; padding: 3px 6px; border-radius: 6px; flex: none; }
.sum-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-weight: 600; }
.sum-total b { font: 800 20px Outfit, sans-serif; color: var(--navy); }
.ev { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.ev-date { flex: none; width: 56px; border-radius: 12px; overflow: hidden; text-align: center; border: 1.5px solid var(--line); background: #fff; }
.ev-date small { display: block; background: #dc2626; color: #fff; font: 700 11px Inter, sans-serif; padding: 2px 0; text-transform: uppercase; }
.ev-date b { display: block; font: 800 22px/1.5 Outfit, sans-serif; color: var(--navy); }
.ev span { display: block; color: var(--muted); font-size: 14px; }
.dl { margin: 0; }
.dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dl > div:first-child { border-top: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0; animation: conf 1.7s var(--dl) ease-out forwards; }
@keyframes conf { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(200px) rotate(var(--r)); } }

/* ===== Estado / línea de tiempo ===== */
.st-head { display: flex; align-items: center; gap: 12px; }
.st-head .av { width: 52px; height: 52px; font-size: 18px; }
.st-name { margin: 0; display: block; font: 700 18px Outfit, sans-serif; color: var(--navy); }
.st-head small { color: var(--muted); font-size: 14px; }
.timeline { list-style: none; margin: 6px 0 0; padding: 0; }
.tl { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.tl:last-child { padding-bottom: 0; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.tl.done:not(:last-child)::before { background: var(--green); }
.tl-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #eef1f6; color: var(--muted); font: 800 14px Outfit, sans-serif; border: 2px solid var(--line); position: relative; z-index: 1; }
.tl.done .tl-dot { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.tl.current .tl-dot { background: var(--amber-bg); border-color: #f59e0b; color: #92400e; animation: pulse 1.8s infinite; }
.tl.warn .tl-dot { background: #fff1e6; border-color: var(--orange); color: var(--orange-dk); }
.tl.bad .tl-dot { background: #fef2f2; border-color: #f87171; color: #991b1b; }
.tl b { display: block; font: 700 16px Outfit, sans-serif; color: var(--navy); }
.tl span { color: var(--muted); font-size: 14.5px; }
.tl.warn span, .tl.bad span { color: #9a3412; font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.45); } 70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.action-btn { display: flex; gap: 12px; align-items: center; width: 100%; min-height: 64px; padding: 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; text-align: left; cursor: pointer; margin-bottom: 10px; text-decoration: none; color: var(--text); }
.action-btn:hover { border-color: #c3ccda; }
.action-btn .ai { font-size: 24px; flex: none; }
.action-btn b { display: block; font: 700 15.5px Outfit, sans-serif; color: var(--navy); }
.action-btn small { display: block; color: var(--muted); font-size: 13.5px; }
.photo { display: flex; align-items: center; gap: 14px; }
.photo .av { width: 64px; height: 64px; font-size: 26px; background: #f1f4f9; }

/* ===== Toast y hoja inferior ===== */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; width: calc(100% - 28px); max-width: 412px; z-index: 90; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
body.has-bar .toasts { bottom: 140px; }
.toast { display: flex; align-items: center; gap: 10px; background: #0f1b33; color: #fff; border-radius: 14px; padding: 12px 16px; font: 500 15px Inter, sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.25); pointer-events: auto; animation: tin .25s ease; }
.toast span { flex: 1; }
.toast button { flex: none; border: 0; background: rgba(255,255,255,.14); color: #fed7aa; font: 700 14px Inter, sans-serif; border-radius: 9px; min-height: 40px; padding: 0 12px; cursor: pointer; }
.toast.err-t { background: #7f1d1d; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sheet-wrap { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(10,20,40,.5); opacity: 0; transition: opacity .22s; }
.sheet { position: relative; width: 100%; max-width: 440px; max-height: 85vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .3s var(--ease); }
.sheet-wrap.open .sheet { transform: none; }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-grip { width: 44px; height: 5px; border-radius: 9px; background: #d5dbe6; margin: 0 auto 14px; }
.sheet h2 { font: 800 20px Outfit, sans-serif; color: var(--navy); margin: 0 0 10px; }
.sheet-body { font-size: 15.5px; margin-bottom: 16px; }
.sheet-body ol, .sheet-body ul { padding-left: 20px; margin: 8px 0; }
.sheet-body li { margin-bottom: 6px; }
.sheet-acts { display: grid; gap: 10px; }
.sheet-acts .btn + .btn { margin-top: 0; }
.btn-danger { background: #b91c1c; color: #fff; }
.btn-danger:hover { background: #991b1b; }
.kit-demo h2.k { font: 800 14px Outfit, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 26px 0 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .big-check .c, .big-check .k { stroke-dashoffset: 0; }
}

/* Página de la carrera: espacio para la barra fija */
.carrera { padding-bottom: 110px; }

/* =====================================================================
   Mejoras del benchmark Mobbin (CARRE-015..024)
   ===================================================================== */

/* Talla: la letra ya no tapa la talla; tallas largas ("Infantil") más chicas */
.choice.size { padding-top: 30px; }
.size-l.long { font-size: 15px; overflow-wrap: anywhere; }
/* Letras de atajo A/B/C: útiles con teclado; en pantallas táctiles solo estorban */
@media (hover: none) and (pointer: coarse) {
  .choice .key { display: none; }
  .choice.size { padding-top: 14px; }
}

/* Etapa junto a la barra de progreso ("Paso 2 de 3 · Tu carrera") */
.progress-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.progress-wrap .progress { flex: none; }
.progress-lbl { font: 600 12.5px Inter, sans-serif; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 15px; }

/* Revisar en bloques */
.rev-block { margin: 0 0 14px; }
.rev-h { font: 700 13px Outfit, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px 4px; }
.rowe-edit { color: var(--navy2); font-weight: 600; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.q-body > .note.info:first-child { margin: 0 0 14px; }
/* Total junto al botón en el pie de la pregunta */
.q-foot .bar-row { display: flex; align-items: center; gap: 12px; }
.q-foot .bar-row .btn { flex: 1; width: auto; }

/* Carta responsiva: lo esencial a la vista */
.resp-list { list-style: none; margin: 0 0 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; font-size: 15px; }
.resp-list li { display: flex; gap: 10px; align-items: flex-start; }

a.act { text-decoration: none; }
.url-box.small-url { font-size: 13px; padding: 8px 10px; }

/* En vivo: quién está llenando sus datos con el enlace (WhatsApp "escribiendo…") */
.vivo-txt { flex: 1; min-width: 0; }
.vivo-txt b { display: block; font: 700 15px/1.3 Outfit, sans-serif; color: #14532d; overflow-wrap: anywhere; }
.vivo-txt small { display: block; font-size: 13.5px; color: #166534; }
.pulso { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: latir 1.6s infinite; }
@keyframes latir { 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.escribe { flex: none; display: inline-flex; gap: 4px; }
.escribe i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); opacity: .3; animation: escribir 1.2s infinite; }
.escribe i:nth-child(2) { animation-delay: .2s; }
.escribe i:nth-child(3) { animation-delay: .4s; }
@keyframes escribir { 30% { opacity: 1; transform: translateY(-2px); } 60%, 100% { opacity: .3; transform: none; } }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.row-btns .btn { flex: 1 1 140px; width: auto; margin: 0; }
.row-btns .btn + .btn { margin-top: 0; }

/* Pago: copiar monto, notas y lista del comprobante */
.amount { position: relative; }
.copy-amount { margin-top: 12px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.copy-amount.done { background: var(--green-bg); color: var(--green-dk); }
.step .row-btns { margin: 10px 0 4px; }
.pay-notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.pay-notes li { display: flex; gap: 8px; align-items: flex-start; }
.check-list { display: flex; flex-wrap: wrap; gap: 6px 12px; background: #f1f7f3; border: 1px solid #cdebd6; color: #14532d; border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; }
.check-list b { width: 100%; font-weight: 700; }
.file-chip [data-ic] { flex: none; display: grid; place-items: center; }
.file-chip .thumb { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; border: 1px solid #bbf7d0; background: #fff; display: block; }

/* Estado: acción dentro del paso y cuenta regresiva */
.tl-act { display: inline-flex; width: auto; margin-top: 8px; min-height: 44px; font-size: 15px; padding: 8px 16px; }
.countdown { font-size: 17px; margin: 0 0 10px; color: var(--navy); }

/* Pase digital (Nike "Your Ticket") */
.pase { text-align: center; border: 2px solid var(--navy); scroll-margin-top: 70px; }
.pase-top { display: flex; align-items: center; gap: 12px; text-align: left; margin-bottom: 8px; }
.pase-brand { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; font-size: 22px; flex: none; }
.pase-top small { display: block; color: var(--muted); font-size: 13px; }
.pase-top h2 { margin: 0; font-size: 19px; }
.pase-qr { width: 220px; max-width: 70vw; margin: 6px auto; aspect-ratio: 1; background: #fff; border-radius: 12px; }
.pase-qr svg { width: 100%; height: 100%; display: block; }
.pase-datos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; text-align: left; }
.pase-datos > div { background: #f6f8fc; border-radius: 10px; padding: 8px 10px; }
.pase-datos dt { font-size: 12px; color: var(--muted); }
.pase-datos dd { margin: 0; font: 700 16px Outfit, sans-serif; color: var(--navy); overflow-wrap: anywhere; }
.pase-nota { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.pase-nota.ok { color: var(--green-dk); font-weight: 600; }

/* Página de la carrera: prueba social y foto de portada */
.social-proof { margin: 0 0 10px; font-size: 15px; color: var(--navy); }
.hero.con-foto .hero-bg { opacity: .42; }
.hero.con-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,32,.35) 0%, rgba(11,18,32,.85) 100%); pointer-events: none; }
.hero.con-foto > *:not(.hero-bg):not(.hero-art) { z-index: 1; }
/* Con cartel (celular): el cartel completo arriba, sin recortar, y el texto abajo */
.hero.con-cartel { display: flex; flex-direction: column; }
.hero.con-cartel .hero-top { order: -2; }
.hero.con-cartel .hero-bg { order: -1; position: relative; inset: auto; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 1; margin: 14px -20px 0; opacity: 1; object-fit: cover; }
.hero.con-cartel::after { background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(11,18,32,.6) 100%); }
.hero.con-cartel h1 { margin-top: 18px; }

/* =====================================================================
   Panel del grupo v3: lista compacta, panel de edición, checklist con el
   siguiente paso y "Agregar varios" (documentacion/rediseno-panel-grupo/)
   ===================================================================== */
.g-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 4px; }
.g-av { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--navy), var(--navy2)); display: grid; place-items: center; font-size: 22px; flex: none; overflow: hidden; }
.g-av img { width: 100%; height: 100%; object-fit: cover; }
.g-tit { flex: 1; min-width: 0; }
.g-tit h1 { font: 800 21px/1.2 Outfit, sans-serif; margin: 0; overflow-wrap: break-word; }
.solo-pc { display: none; }
@media (min-width: 480px) { .solo-pc { display: inline; } }
.g-varios-movil { display: flex; width: 100%; justify-content: center; border-top: 1px solid var(--line) !important; font-size: 15px; }
@media (max-width: 479px) {
  .g-st.ok .g-st-t { display: none; }
  .g-list-h .g-varios { display: none; }
}
@media (min-width: 480px) { .g-varios-movil { display: none; } }
.g-tit p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.g-acts { display: flex; gap: 6px; flex: none; }
.g-acts .btn { width: auto; min-height: 44px; padding: 8px 12px; font-size: 15px; border-radius: 12px; }
.g-acts .btn + .btn { margin-top: 0; }
.g-mas { min-width: 46px; font-size: 20px !important; letter-spacing: .05em; }

.chk-prog { flex: 1; display: block; height: 6px; border-radius: 9px; background: #e9edf4; overflow: hidden; }
.chk-prog i { display: block; height: 100%; background: var(--green); border-radius: 9px; transition: width .35s ease; }
.g-prog-movil { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); font-size: 13.5px; color: var(--muted); }
.g-prog-movil b { color: var(--navy); white-space: nowrap; }
.g-prog-movil > span:last-child { white-space: nowrap; }

.g-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 12px 14px; overflow: hidden; }
.g-list-h { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.g-list-h h2 { font: 700 17px Outfit, sans-serif; margin: 0; }
.g-cnt { font: 700 13px Outfit, sans-serif; background: #eef2fa; color: var(--navy2); border-radius: 99px; padding: 2px 9px; }
.g-list-h .sp { flex: 1; }
.g-list-h .btn { width: auto; margin: 0; min-height: 44px; padding: 8px 14px; font-size: 15px; border-radius: 12px; box-shadow: none; }
.g-list-h .btn + .btn { margin-top: 0; }
.g-varios { text-decoration: none; }
.g-note { margin: 0; padding: 10px 16px; font-size: 14.5px; background: #f5f8fd; border-bottom: 1px solid var(--line); }
.g-row { display: flex; align-items: center; border-top: 1px solid var(--line); }
#lista > .g-row:first-child { border-top: 0; }
#lista:empty + #en-vivo > .g-row:first-child { border-top: 0; }
.g-row.nuevo { animation: popm .35s ease; }
.g-row-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 6px 10px 16px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.g-row-main:hover { background: #fafbfd; }
.g-who { flex: 1; min-width: 0; }
.g-who b { display: block; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.g-who small { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-st { flex: none; max-width: 48%; padding: 5px 9px; border-radius: 99px; font: 600 12.5px Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-st.ok { background: #dcfce7; color: #166534; }
.g-st.warn { background: #fff1e6; color: #9a3412; }
.g-st.lock { background: #e0ebff; color: #1e40af; }
.g-dots { flex: none; width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: 20px; letter-spacing: .05em; cursor: pointer; }
.g-dots:hover, .g-dots[aria-expanded="true"] { background: #eef2f8; color: var(--navy); }
.g-row.live { gap: 12px; padding: 12px 16px; background: #f0fdf4; animation: popm .35s ease; }
.g-aviso { margin: 12px 16px 16px; }
#lista .empty { margin: 0; }

.g-invite, .g-comunes { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 12px 14px; padding: 14px 16px; border-radius: 16px; }
.g-invite { background: #f5f8fd; border: 1.5px dashed #b8c7de; }
.g-comunes { background: #fff; box-shadow: var(--shadow); }
.g-ic { flex: none; font-size: 22px; }
.g-invite .tx, .g-comunes .tx { flex: 1 1 200px; min-width: 0; }
.g-invite .tx b, .g-comunes .tx b { display: block; font: 700 15px Outfit, sans-serif; color: var(--navy); }
.g-invite .tx small, .g-comunes .tx small { display: block; color: var(--muted); font-size: 13.5px; }
.g-invite-b { display: flex; gap: 8px; }
.g-invite .btn, .g-comunes .btn { width: auto; min-height: 44px; padding: 8px 14px; font-size: 15px; border-radius: 12px; }
.g-invite .btn + .btn { margin-top: 0; }

.g-carta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 14px 16px; }
.g-carta .check-card { flex: 1 1 240px; border: 0; padding: 0; background: none; }
.g-carta .check-card:has(input:checked) { background: none; }
.g-carta .err { flex-basis: 100%; }
.g-pagos { padding: 16px; }
.g-pagos h2 { font: 700 17px Outfit, sans-serif; margin: 0 0 6px; }

/* Checklist (#bar): en celular solo el siguiente paso y el total; en PC, la tarjeta completa */
.chk-h, .chk-solo-pc, .chk-steps, .chk-tot { display: none; }
.chk-nx { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: var(--orange-dk); }
.chk-nx:empty { display: none; }
/* Promoción 6x5 del grupo: visible en celular y en PC */
.chk-promo { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; padding: 8px 10px; border-radius: 12px; background: #fff1e6; color: #7c2d12; font-size: 13.5px; line-height: 1.35; }
.chk-promo .tag { margin-right: 2px; }
.chk-promo small { display: block; color: var(--orange-dk); font-weight: 600; font-size: 13px; }

/* Menú ⋯ */
.g-pop { position: fixed; z-index: 75; min-width: 230px; max-width: calc(100vw - 16px); padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 36px rgba(11,18,32,.22); }
.g-pop [role="menuitem"] { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: none;
  font: 500 15px Inter, sans-serif; color: var(--navy); text-align: left; text-decoration: none; cursor: pointer; }
.g-pop [role="menuitem"]:hover, .g-pop [role="menuitem"]:focus-visible { background: #f1f4f9; outline: none; }
.g-pop .del { color: var(--red); }

/* Panel de edición: pantalla completa en celular, lateral en PC */
.ed-wrap { position: fixed; inset: 0; z-index: 70; }
.ed-scrim { position: absolute; inset: 0; background: rgba(10,20,40,.45); opacity: 0; transition: opacity .25s; }
.ed { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; transform: translateY(100%); transition: transform .3s var(--ease); }
.ed-wrap.open .ed-scrim { opacity: 1; }
.ed-wrap.open .ed { transform: none; }
body.ed-abierto { overflow: hidden; }
.ed-h { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ed-nav { display: flex; align-items: center; gap: 4px; flex: none; }
.ed-nav button { width: 40px; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: 700 18px Outfit, sans-serif; cursor: pointer; }
.ed-nav button[disabled] { opacity: .4; cursor: default; }
.ed-nav span { margin-left: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ed-nav-sp { width: 44px; flex: none; }
.ed-h h2 { flex: 1; min-width: 0; margin: 0; text-align: center; font: 700 17px Outfit, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: #f1f4f9; font-size: 16px; color: var(--navy); cursor: pointer; }
.ed-b { flex: 1; overflow: auto; padding: 4px 18px 28px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ed-sec { margin: 22px 0 10px; font: 700 12px Outfit, sans-serif; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.ed-falta { margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.ed-falta.warn { background: #fff7ed; color: #9a3412; }
.ed-falta.ok { background: var(--green-bg); color: #166534; }
.ed-f { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.ed-f .btn { flex: 1 1 auto; width: auto; min-height: 52px; font-size: 16px; white-space: nowrap; }
.ed-f .btn + .btn { margin-top: 0; }
.ed-f .btn-outline { flex: 0 0 auto; padding: 12px 20px; }
.ed-quitar { margin-top: 18px; color: var(--red) !important; }
.heredados { padding: 10px 14px; border: 1px solid #dbe4f1; border-radius: 12px; background: #f5f8fd; font-size: 14.5px; }
.heredados div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.heredados span { color: var(--muted); }
.heredados b { color: var(--navy); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.heredados .link { min-height: 40px; font-size: 14.5px; }
.ed .check-card.mt { margin-top: 18px; }

/* Agregar varios */
.lote-wrap { position: fixed; inset: 0; z-index: 70; overflow: auto; background: var(--bg); }
.lote { max-width: 1120px; margin: 0 auto; padding: 12px 14px 40px; }
.lote-h { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 6px 0 12px; }
.lote-h h2 { margin: 0; font: 800 22px Outfit, sans-serif; }
.lote-comunes { margin: 0 0 14px; padding: 14px 16px; font-size: 14px; }
.lote-comunes > b { font: 700 15px Outfit, sans-serif; color: var(--navy); }
.lote-comunes > small { color: var(--muted); }
.lote-comunes-g { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.lote-comunes label { display: block; font: 600 13px Inter, sans-serif; color: var(--navy); }
.lote-comunes .input, .lote-grid .input { height: 44px; margin-top: 4px; padding: 0 10px; border-width: 1.5px; border-radius: 10px; font-size: 15px; }
.lote-grid .input { margin-top: 0; }
.lote-comunes select.input, .lote-grid select.input { padding-right: 26px; background-position: right 8px center; font-size: 14.5px; }
.lote-tabla { margin: 0; }
.lote-scroll { overflow-x: auto; }
.lote-grid { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.lote-grid th { padding: 10px 6px; border-bottom: 1px solid var(--line); background: #fafbfd; text-align: left; font: 700 11.5px Outfit, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.lote-grid td { padding: 5px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lote-grid [data-c="genero"] { min-width: 112px; }
.lote-grid [data-c="talla"] { min-width: 96px; }
.lote-grid [data-c="edad"] { width: 74px; }
.lote-grid [data-c="disciplina_id"] { min-width: 170px; }
.lote-grid .n { width: 34px; padding-top: 16px; text-align: center; color: #a3acbb; }
.lote-grid tr.mal td { background: #fff5f5; }
.lote-msg { min-width: 170px; padding-top: 14px !important; font-size: 13px; color: var(--red); }
.lote-mas { margin: 6px 14px; }
.lote-f { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.lote-f .tx { flex: 1 1 260px; font-size: 13.5px; color: var(--muted); }
.lote-f .btn { width: auto; }
.kbd { padding: 1px 6px; border: 1px solid #cdd5e2; border-bottom-width: 2px; border-radius: 5px; background: #fff; font: 600 12px var(--mono); color: var(--navy); }
@media (min-width: 700px) { .lote-comunes-g { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   Escritorio (≥1024px): página completa en lugar de la columna de celular.
   - Carrera: info a la izquierda y tarjeta de inscripción fija a la derecha
     (Eventbrite, Care.com).
   - Flujos: contenido a la izquierda y resumen a la derecha, como el resumen
     del pedido de un checkout (Sweatpals, Tripadvisor, Quicken). Las barras
     fijas de abajo pasan a ser la tarjeta del total en esa columna.
   Debajo de 1024px todo sigue igual que en celular.
   ===================================================================== */
.resumen, .resumen-insc { display: none; }

@media (min-width: 1024px) {
  body { background: var(--bg); }
  .app { max-width: none; box-shadow: none; }
  .topbar { min-height: 68px; padding: 10px max(32px, calc((100% - 1120px) / 2)); border-bottom: 1px solid var(--line); }
  .app-body { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 32px; }
  .app-body:has(> .app-aside) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .app-main { width: 100%; max-width: 720px; margin: 0 auto; padding: 32px 0 64px; min-width: 0; }
  .app-body:has(> .app-aside) .app-main { max-width: none; }
  .app-main > .strip { display: none; }
  /* Páginas de una sola columna (pase, error): la barra se alinea con el contenido */
  .app:not(:has(.app-aside)) .topbar { padding-inline: max(32px, calc((100% - 720px) / 2)); }

  /* Tipografía y espacios de página completa */
  .page { padding: 0; }
  .page-title { font-size: 34px; margin-top: 0; }
  .lead { font-size: 17px; }
  .form-intro { padding: 0 0 6px; }
  .form-intro h1 { font-size: 32px; }
  .gsec, details.more { margin: 16px 0; }
  .gsec { padding: 24px 26px; }
  .q { padding: 0; }
  .q-head { margin: 0 0 24px; }
  .q-title { font-size: 34px; }
  .q-sub { font-size: 17px; }
  .q-foot { position: static; background: none; padding-bottom: 0; }
  .copy-amount { display: flex; margin: 14px auto 0; }
  body.has-bar .app-main { padding-bottom: 64px; }
  body.has-bar .toasts { bottom: 24px; }

  /* Columna derecha */
  /* stretch: el aside mide lo que la página para que .aside-in tenga dónde quedarse fijo */
  .app-aside { align-self: stretch; padding: 32px 0 64px; }
  .aside-in { position: sticky; top: 92px; display: grid; gap: 16px; }

  .resumen { display: block; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
  .resumen-cover { position: relative; height: 112px; background: radial-gradient(120% 90% at 100% 0%, rgba(255,90,31,.32) 0%, transparent 55%), linear-gradient(160deg, var(--navy), var(--navy2)); }
  .resumen-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .resumen-cover .hero-art { height: 72px; }
  .resumen-flag { position: absolute; left: 20px; bottom: -20px; width: 44px; height: 44px; border-radius: 12px; border: 3px solid #fff;
    background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(11,18,32,.3); --iso-b: #fff; }
  .resumen-body { padding: 30px 20px 20px; }
  .resumen h2 { font: 800 19px/1.25 Outfit, sans-serif; color: var(--navy); margin: 0 0 12px; }
  .resumen-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--text); }
  .resumen-facts li { display: flex; gap: 10px; align-items: flex-start; }
  .resumen-facts small { display: block; color: var(--muted); font-size: 13.5px; }
  .resumen-precio { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 16px; padding-top: 14px;
    border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
  .resumen-precio b { font: 800 20px Outfit, sans-serif; color: var(--navy); }
  .resumen-precio small { font: 400 13px Inter, sans-serif; color: var(--muted); }

  /* Avance y datos elegidos en la inscripción individual */
  .resumen-insc { display: block; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px 20px 20px; }
  .resumen-insc h2 { font: 700 16px Outfit, sans-serif; color: var(--navy); margin: 0 0 10px; }
  .pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .pasos li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 34px; color: var(--muted); font-size: 15px; font-weight: 500; }
  .pasos li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 31px; width: 2px; height: 9px; background: var(--line); }
  .pasos li.done:not(:last-child)::after { background: var(--green); }
  .paso-n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center;
    font: 700 13px Outfit, sans-serif; color: var(--muted); }
  .paso-n svg { width: 14px; height: 14px; }
  .pasos li.current { color: var(--navy); font-weight: 700; }
  .pasos li.current .paso-n { border-color: var(--orange-btn); background: var(--orange-btn); color: #fff; }
  .pasos li.done { color: var(--text); }
  .pasos li.done .paso-n { border-color: var(--green-dk); background: var(--green-dk); color: #fff; }
  .resumen-datos { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line); }
  .resumen-datos > div { font-size: 14.5px; }
  .resumen-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; }
  .resumen-total b { font: 800 20px Outfit, sans-serif; }

  /* Barras de abajo (panel del grupo y pago) como tarjeta del total */
  .app-aside .bar { position: static; transform: none; width: auto; max-width: none; border: 0; border-radius: 20px; box-shadow: var(--shadow); padding: 18px 20px 20px; }
  #bar { transition: none; }
  #bar:empty { display: none; }
  .app-aside .bar-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .app-aside .bar-total { display: flex; justify-content: space-between; align-items: baseline; }
  .app-aside .bar .btn { width: 100%; }

  /* Hoja inferior: en escritorio es un diálogo centrado */
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 520px; border-radius: 22px; padding: 26px 28px 28px; opacity: 0; transform: translateY(16px) scale(.98); transition: transform .25s var(--ease), opacity .2s; }
  .sheet-wrap.open .sheet { opacity: 1; transform: none; }
  .sheet-grip { display: none; }

  /* ===== Página de la carrera ===== */
  .pg-carrera .app-body { display: block; max-width: none; padding: 0; }
  .pg-carrera .app-main { max-width: none; padding: 0; }
  .carrera { padding-bottom: 0; }
  .hero { min-height: 360px; padding: 24px calc(max(32px, (100% - 1120px) / 2) + 428px) 132px max(32px, calc((100% - 1120px) / 2)); }
  .hero-top { margin-right: -428px; }
  .hero h1 { font-size: 48px; line-height: 1.1; margin: 56px 0 14px; }
  .hero-sub { font-size: 18px; }
  .hero-art { height: 130px; }
  /* Con foto: más viva; el degradado oscurece solo el lado del título */
  .hero.con-foto { min-height: 440px; }
  .hero.con-foto .hero-bg { opacity: 1; }
  .hero.con-foto::after { background: linear-gradient(90deg, rgba(11,18,32,.9) 0%, rgba(11,18,32,.62) 40%, rgba(11,18,32,.12) 75%, rgba(11,18,32,.05) 100%),
    linear-gradient(180deg, rgba(11,18,32,.35) 0%, transparent 25%, transparent 70%, rgba(11,18,32,.45) 100%); }
  .hero.con-foto h1, .hero.con-foto .hero-sub { text-shadow: 0 2px 16px rgba(10,20,40,.45); }
  /* Con cartel: nítido a la derecha (logo y corredores); la máscara lo funde hacia el texto */
  .hero.con-cartel { display: block; min-height: 560px; }
  .hero.con-cartel .hero-bg { position: absolute; inset: 64px 0 0 auto; width: min(58%, 700px); height: calc(100% - 64px); aspect-ratio: auto; margin: 0; object-fit: cover; object-position: 50% 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, transparent 0, #000 48px); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, transparent 0, #000 48px); mask-composite: intersect; }
  .hero.con-cartel .open-tag { background: rgba(11,18,32,.78); backdrop-filter: blur(6px); }
  .hero.con-cartel .hero-top { position: relative; z-index: 2; }
  .hero.con-cartel::after { background: linear-gradient(180deg, transparent 0%, transparent 72%, rgba(11,18,32,.55) 100%); }
  .hero.con-cartel h1 { margin-top: 96px; }
  .carrera-cuerpo { max-width: 1184px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
  .carrera-info { grid-column: 1; grid-row: 1; padding: 36px 0 48px; }
  .carrera-side { grid-column: 2; grid-row: 1; margin-top: -236px; position: relative; z-index: 2; padding-bottom: 48px; }
  .carrera-side-in { position: sticky; top: 24px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(11,18,32,.06), 0 24px 60px rgba(11,18,32,.18); }
  .carrera-side .facts { margin: 0; border-radius: 0; box-shadow: none; padding: 12px 22px 4px; }
  .carrera-side .cta-zone { padding: 6px 22px 18px; }
  .carrera-info .sec { margin: 0 0 18px; padding: 24px 28px; }
  .carrera-info .card h2 { font-size: 20px; }
  .carrera-info .disc-info { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
  .carrera-info .sec .btn { display: inline-flex; width: auto; margin: 10px 10px 0 0; }
  .carrera-side .ahora { margin: 0; border-radius: 0; box-shadow: none; padding: 24px 24px 10px; }
  .carrera-side .minifacts { margin: 0; padding: 0 24px 22px; }
  .carrera-side .minifact { box-shadow: none; background: var(--bg); }
  .hero-chips span { font-size: 14px; }
  #bar-cta { display: none; }

  /* ===== Panel del grupo v3 ===== */
  .g-head { padding: 0 0 8px; }
  .g-av { width: 56px; height: 56px; font-size: 26px; }
  .g-tit h1 { font-size: 30px; }
  .g-prog-movil { display: none; }
  .g-card, .g-invite, .g-comunes { margin: 16px 0; }
  .g-row-main { padding-left: 20px; }
  .g-list-h { padding-left: 20px; }
  /* Checklist en la columna derecha */
  .bar.chk { padding: 20px 20px 22px; }
  .chk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
  .chk-h b { font: 700 16px Outfit, sans-serif; color: var(--navy); }
  .chk-h small { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
  .chk-solo-pc { display: block; margin-bottom: 6px; }
  .chk-steps { display: grid; list-style: none; margin: 0; padding: 0; }
  .chk-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
  .chk-steps .sn { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font: 800 12px Outfit, sans-serif; color: var(--muted); }
  .chk-steps b { display: block; font-size: 15px; color: var(--navy); }
  .chk-steps small { display: block; font-size: 13.5px; color: var(--muted); }
  .chk-steps .done .sn { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
  .chk-steps .now .sn { background: var(--orange-btn); border-color: var(--orange-btn); color: #fff; }
  .chk-steps .warn .sn { background: #fff1e6; border-color: var(--orange); color: var(--orange-dk); }
  .chk-steps .warn small { color: var(--orange-dk); font-weight: 600; }
  .chk-tot { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; font-size: 13.5px; color: var(--muted); }
  .chk-nx { display: none; }
  .chk ~ .resumen .resumen-precio { display: none; }   /* el total ya está en el checklist */
  .bar.chk .bar-row { gap: 12px; margin-top: 4px; }
  /* Panel de edición lateral */
  .ed { left: auto; width: 480px; transform: translateX(100%); box-shadow: -20px 0 60px rgba(11,18,32,.2); }
  .ed-b { padding: 4px 24px 28px; }
  .ed-f { padding: 14px 24px; }
  .lote-comunes-g { grid-template-columns: repeat(5, 1fr); }
  .lote { padding: 28px 32px 48px; }
}

/* ===== Portal del corredor y equipo (documentacion/equipos-logo) ===== */
.st-av { position: relative; flex: none; }
.eq-badge { position: absolute; right: -6px; bottom: -4px; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(11,18,32,.25); overflow: hidden; }
.eq-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pase-top { justify-content: space-between; }
.pase .pase-brand { width: 40px; height: 40px; background: none; border-radius: 0; }
.pase .btn-sm { box-shadow: none; }
.pase-eq { grid-column: 1 / -1; }
.pase-eq dd { display: flex; align-items: center; gap: 8px; }
.pase-logo { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); flex: none; }
.pase-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Prepárate: lista con avance */
.prep-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prep-h h2 { margin: 0; }
.prep-n { font: 700 13px Outfit, sans-serif; background: var(--orange-bg); color: var(--orange-btn); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.prep-bar { height: 7px; border-radius: 5px; background: #eef1f6; overflow: hidden; margin: 10px 0 4px; }
.prep-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s; }
.prep-list { list-style: none; margin: 0; padding: 0; }
.pi { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pi:first-child { border-top: 0; }
.pi-c { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c9d1de; flex: none; display: grid; place-items: center; }
.pi.done .pi-c { background: var(--green-dk); border-color: var(--green-dk); }
.pi.done .pi-c::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); }
.pi.opc .pi-c { border-style: dashed; }
.pi-t { flex: 1; min-width: 0; font: 600 15px Inter, sans-serif; color: var(--navy); line-height: 1.3; }
.pi-t small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.pi.done > .pi-t { color: var(--muted); }
.pi-b { flex: none; border: 0; border-radius: 99px; background: var(--orange); color: var(--navy); font: 700 14px Outfit, sans-serif; min-height: 40px; padding: 8px 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.pi-b.o { background: #fff; border: 1.5px solid #c3ccdb; }
.pi-b.llamar { animation: llamar 1.3s 5; }
@keyframes llamar { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.6); } 70% { box-shadow: 0 0 0 14px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
.pi-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; border: 1px solid var(--line); background: #fff; flex: none; }
/* Filas de acciones (Posh) */
.card.filas { padding: 4px 16px; }
.fila { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--navy); text-decoration: none; font: 600 15px Inter, sans-serif; cursor: pointer; list-style: none; }
.filas > .fila:first-child, .filas > .fila-d:first-child > .fila { border-top: 0; }
.fila::-webkit-details-marker { display: none; }
.fila > span:nth-child(2) { flex: 1; min-width: 0; }
.fila small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.fila > i { font-style: normal; font-size: 22px; color: var(--muted); transition: transform .2s; }
.fila-d[open] > .fila > i { transform: rotate(90deg); }
.fila-d > .kit-html { padding: 0 0 12px 32px; }

/* Plegables (estado y resumen) */
.plegable > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 8px; }
.plegable > summary::-webkit-details-marker { display: none; }
.pl-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pl-h b { font: 700 18px Outfit, sans-serif; color: var(--navy); }
.pl-h small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.pl-h small::after { content: " ▾"; }
.plegable[open] .pl-h small::after { content: " ▴"; }
.pl-pasos { display: flex; gap: 6px; }
.pl-pasos i { flex: 1; height: 6px; border-radius: 4px; background: #e4e8f0; }
.pl-pasos i.ok { background: var(--green); }
.plegable[open] > summary { margin-bottom: 12px; }
.plegable .dl dd .link-inline { margin-left: 6px; font-size: 14px; }
/* Hojas: logo, foto y sugerencias de equipo */
.logo-prev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 10px; }
.lp { border: 0; background: none; padding: 0; font: 500 12.5px Inter, sans-serif; color: var(--muted); cursor: pointer; text-align: center; }
.lp-img { display: block; aspect-ratio: 1; border-radius: 16px; border: 2px solid var(--line); overflow: hidden; margin-bottom: 5px; }
.lp-img img { width: 100%; height: 100%; display: block; }
.lp[aria-pressed="true"] .lp-img { border: 3px solid var(--orange); }
.lp[aria-pressed="true"] { color: var(--navy); font-weight: 700; }
.lp-transparente .lp-img { background-color: #fff; background-image: linear-gradient(45deg, #e9edf3 25%, transparent 25%, transparent 75%, #e9edf3 75%), linear-gradient(45deg, #e9edf3 25%, transparent 25%, transparent 75%, #e9edf3 75%); background-size: 14px 14px; background-position: 0 0, 7px 7px; }
.seg { display: flex; background: #eef1f6; border-radius: 99px; padding: 3px; margin: 0 0 4px; }
.seg button { flex: 1; border: 0; background: none; border-radius: 99px; padding: 9px; font: 600 14px Inter, sans-serif; color: var(--muted); cursor: pointer; min-height: 40px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(11,18,32,.15); }
/* Encuadre de la foto (UI.ajustarFoto): el cuadro es la imagen de bienvenida y el círculo, el pase */
.recorte { position: relative; width: min(280px, 100%); aspect-ratio: 1; margin: 4px auto 10px; border-radius: 18px; overflow: hidden; background: #0B1220; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.recorte:active { cursor: grabbing; }
.recorte img { position: absolute; max-width: none; height: auto; display: block; pointer-events: none; -webkit-user-drag: none; }
.recorte-guia { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(11,18,32,.38); border: 2px solid rgba(255,255,255,.9); pointer-events: none; }
.recorte-zoom { display: flex; align-items: center; gap: 10px; width: min(280px, 100%); margin: 0 auto 10px; }
.recorte-zoom input { flex: 1; accent-color: var(--orange); min-height: 40px; }
.recorte-zoom button { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 22px/1 Inter, sans-serif; cursor: pointer; }
.recorte-zoom button:hover { border-color: var(--orange); }
.eq-sugs { display: grid; gap: 8px; margin: -6px 0 6px; }
.eq-sug { display: flex; gap: 10px; align-items: center; width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 9px 12px; text-align: left; cursor: pointer; font: 400 14px Inter, sans-serif; color: var(--text); }
.eq-sug:hover, .eq-sug:focus-visible { border-color: var(--orange); background: var(--orange-bg); }
.eq-sug img, .eq-sug .eq-ini { width: 36px; height: 36px; border-radius: 10px; flex: none; object-fit: contain; border: 1px solid var(--line); background: #fff; }
.eq-sug .eq-ini { display: grid; place-items: center; font: 700 15px Outfit, sans-serif; color: var(--navy2); background: #eef1f6; }
.eq-sug b { display: block; color: var(--navy); font-size: 15px; }
.eq-sug small { display: block; color: var(--muted); font-size: 12.5px; }
/* Confirmación: logo del equipo */
.eq-card { display: flex; gap: 14px; align-items: center; }
.eq-card .lg { width: 64px; height: 64px; border-radius: 16px; border: 1.5px dashed #c3ccdb; background: #fbfcfe; flex: none; display: grid; place-items: center; font-size: 26px; overflow: hidden; }
.eq-card .lg img { width: 100%; height: 100%; object-fit: contain; }
.eq-card .lg.con { border-style: solid; border-color: var(--line); background: #fff; }
.eq-card p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* Iconos ilustrados (assets/iconos/*.webp, estilo calcomanía): miden 1.3em y toman el tamaño del texto */
img.ico, .av img.ico, .g-av img.ico, .eq-card .lg img.ico { display: inline-block; width: 1.3em; height: 1.3em; max-width: none; vertical-align: -.32em; object-fit: contain; flex: none; border-radius: 0; }
