/* Panel del promotor v2 — CEBA Mi Perú (mobile-first). Se carga DESPUÉS de socios-panel.css */
:root {
  --sp2-navy: #002966;
  --sp2-blue: #0047AB;
  --sp2-blue-soft: #e8f0fb;
  --sp2-red: #C8102E;
  --sp2-red-dark: #a30d25;
  --sp2-gold: #C9A227;
  --sp2-ink: #0f172a;
  --sp2-muted: #64748b;
  --sp2-line: #d6e2f3;
  --sp2-ok: #15803d;
  --sp2-warn: #b45309;
  --sp2-radius: 16px;
  --sp2-shadow: 0 6px 22px rgba(0, 41, 102, .09);
}

/* ---------- botones / chips ---------- */
.sp2-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 0; border-radius: 12px; padding: .65rem 1.05rem; font: inherit; font-weight: 700; font-size: .92rem; line-height: 1.2; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, background .12s; }
.sp2-btn:hover { transform: translateY(-1px); }
.sp2-btn--red { background: var(--sp2-red); color: #fff; box-shadow: 0 6px 16px rgba(200, 16, 46, .28); }
.sp2-btn--red:hover { background: var(--sp2-red-dark); color: #fff; }
.sp2-btn--navy { background: var(--sp2-blue); color: #fff; }
.sp2-btn--navy:hover { background: var(--sp2-navy); color: #fff; }
.sp2-btn--ghost { background: #fff; color: var(--sp2-blue); border: 1.5px solid var(--sp2-line); }
.sp2-btn--ghost:hover { border-color: var(--sp2-blue); }
.sp2-btn--glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.sp2-btn--glass:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.sp2-btn--sm { padding: .45rem .8rem; font-size: .82rem; border-radius: 10px; }
.sp2-btn--lg { padding: .85rem 1.3rem; font-size: 1rem; }
.sp2-btn--block { width: 100%; }
.sp2-link { background: none; border: 0; padding: 0; color: var(--sp2-blue); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: none; }
.sp2-link:hover { text-decoration: underline; }
.sp2-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sp2-red); }
.sp2-pill { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .7rem; border-radius: 999px; background: var(--sp2-blue-soft); color: var(--sp2-blue); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.sp2-pill--ok { background: #dcfce7; color: #166534; }
.sp2-pill--warn { background: #fef3c7; color: #92400e; }
.sp2-pill--bad { background: #fee2e2; color: #991b1b; }
.sp2-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.sp2-badge--ok { background: #dcfce7; color: #166534; }
.sp2-badge--ok i { font-size: .45rem; }
.sp2-badge--warn { background: #fef3c7; color: #92400e; }
.sp2-badge--glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.sp2-sr { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sp2-card { background: #fff; border: 1px solid var(--sp2-line); border-radius: var(--sp2-radius); box-shadow: var(--sp2-shadow); padding: 1.1rem; margin-bottom: 1rem; }
.sp2-card h2 { margin: 0; font-size: 1.1rem; color: var(--sp2-navy); line-height: 1.3; }
.sp2-sechead { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.sp2-sechead h2 i { color: var(--sp2-red); margin-right: .35rem; }

/* ---------- login ---------- */
.sp2-login { padding: 1rem 0 2rem; }
.sp2-login__grid { display: grid; gap: 1rem; max-width: 980px; }
.sp2-login__brand { background: linear-gradient(150deg, var(--sp2-navy) 0%, var(--sp2-blue) 70%); color: #fff; border-radius: 22px; padding: 1.4rem 1.25rem; position: relative; overflow: hidden; }
.sp2-login__brand::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(200, 16, 46, .55); filter: blur(2px); }
.sp2-login__brand h1 { margin: .7rem 0 .4rem; font-size: 1.55rem; line-height: 1.2; color: #fff; }
.sp2-login__brand p { margin: 0 0 .9rem; color: #dbe7fb; font-size: .95rem; }
.sp2-login__perks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; position: relative; z-index: 1; }
.sp2-login__perks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: #eaf1fd; }
.sp2-login__perks i { flex: 0 0 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; }
.sp2-login__note { position: relative; z-index: 1; font-size: .88rem; }
.sp2-login__note a { color: #fff; font-weight: 800; text-decoration: underline; }
.sp2-login__card { background: #fff; border: 1px solid var(--sp2-line); border-radius: 22px; box-shadow: var(--sp2-shadow); padding: 1.4rem 1.25rem; }
.sp2-login__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sp2-blue-soft); color: var(--sp2-blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .6rem; }
.sp2-login__card h2 { margin: 0; font-size: 1.4rem; color: var(--sp2-navy); }
.sp2-login__sub { margin: .2rem 0 1rem; color: var(--sp2-muted); font-size: .92rem; }
.sp2-form label { display: block; font-weight: 700; font-size: .85rem; color: var(--sp2-ink); margin: .75rem 0 .3rem; }
.sp2-input { position: relative; display: flex; align-items: center; }
.sp2-input > i:first-child { position: absolute; left: 14px; color: #94a3b8; }
.sp2-input input { width: 100%; padding: .8rem .9rem .8rem 2.6rem; border: 1.5px solid var(--sp2-line); border-radius: 12px; font: inherit; font-size: 1rem; background: #f8fbff; }
.sp2-input input:focus { outline: 0; border-color: var(--sp2-blue); box-shadow: 0 0 0 3px rgba(0, 71, 171, .15); background: #fff; }
.sp2-input .soc-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #64748b; padding: .4rem; cursor: pointer; }
.sp2-form .soc-login-form__hint { font-size: .8rem; color: var(--sp2-muted); margin: .6rem 0 1rem; }
.sp2-login__links { display: grid; gap: .45rem; margin-top: 1rem; font-size: .88rem; }
.sp2-login__links a { color: var(--sp2-blue); font-weight: 600; text-decoration: none; }
.sp2-login__links a i { width: 1.2rem; color: var(--sp2-red); }

/* ---------- hero ---------- */
.sp2-dash { padding: 0; }
.sp2-hero { background: linear-gradient(150deg, var(--sp2-navy) 0%, var(--sp2-blue) 72%); color: #fff; padding: 1.1rem 0 4.6rem; position: relative; overflow: visible; margin-top: -1.5rem; }
.sp2-hero::before { content: ""; position: absolute; right: -50px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(200, 16, 46, .5); }
.sp2-hero .container { position: relative; z-index: 5; }
.sp2-hero__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.sp2-id { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.sp2-avatar { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--sp2-blue); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; border: 3px solid rgba(255, 255, 255, .85); overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.sp2-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sp2-id__txt { min-width: 0; }
.sp2-id__txt h1 { margin: .3rem 0 .1rem; font-size: 1.3rem; color: #fff; line-height: 1.15; overflow-wrap: anywhere; }
.sp2-id__txt p { margin: 0; font-size: .8rem; color: #cfe0fb; }
.sp2-tools { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.sp2-iconbtn { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: 1rem; cursor: pointer; text-decoration: none; }
.sp2-iconbtn:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.sp2-bell__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--sp2-red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--sp2-navy); }
.sp2-bell__count[hidden] { display: none; }
.sp2-bellwrap { position: static; }
.sp2-notifs { position: absolute; left: 12px; right: 12px; top: 74px; z-index: 60; background: #fff; color: var(--sp2-ink); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 20, 60, .35); overflow: hidden; border: 1px solid var(--sp2-line); }
.sp2-notifs[hidden] { display: none; }
.sp2-notifs__head { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; border-bottom: 1px solid #eef2f8; background: #f8fbff; }
.sp2-notifs__head strong { color: var(--sp2-navy); }
.sp2-notifs__list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 420px); overflow: auto; }
.sp2-notif { display: flex; gap: .7rem; padding: .75rem 1rem; border-bottom: 1px solid #f1f5f9; cursor: pointer; position: relative; }
.sp2-notif.is-unread { background: #f0f6ff; }
.sp2-notif.is-unread::before { content: ""; position: absolute; left: 5px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--sp2-red); transform: translateY(-50%); }
.sp2-notif__ico { flex: 0 0 36px; height: 36px; border-radius: 11px; background: var(--sp2-blue-soft); color: var(--sp2-blue); display: grid; place-items: center; }
.sp2-notif__ico--bono, .sp2-notif__ico--cobro_pagado { background: #dcfce7; color: #166534; }
.sp2-notif__ico--cobro_rechazado { background: #fee2e2; color: #991b1b; }
.sp2-notif__ico--cobro_solicitado, .sp2-notif__ico--observacion, .sp2-notif__ico--perfil { background: #fef3c7; color: #92400e; }
.sp2-notif__txt { display: grid; gap: .1rem; min-width: 0; font-size: .85rem; }
.sp2-notif__txt strong { color: var(--sp2-ink); font-size: .88rem; }
.sp2-notif__txt span { color: #475569; overflow-wrap: anywhere; }
.sp2-notifs__list:not(.sp2-notifs__list--page) .sp2-notif__txt span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp2-notif__txt time { color: #94a3b8; font-size: .72rem; }
.sp2-notifs__empty { padding: 1.4rem 1rem; text-align: center; color: var(--sp2-muted); font-size: .88rem; }
.sp2-notifs__all { display: block; text-align: center; padding: .7rem; font-weight: 700; font-size: .85rem; color: var(--sp2-blue); background: #f8fbff; text-decoration: none; }
.sp2-notifs__list--page .sp2-notif { padding-left: 1.1rem; }

.sp2-prog { margin-top: 1rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); border-radius: 16px; padding: .9rem 1rem; backdrop-filter: blur(4px); }
.sp2-prog__head { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; margin-bottom: .5rem; }
.sp2-prog__head span { font-size: 1.15rem; font-weight: 800; }
.sp2-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.sp2-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #ff5a73, #fff); transition: width .6s; }
.sp2-prog.is-complete .sp2-bar span { background: linear-gradient(90deg, #4ade80, #bbf7d0); }
.sp2-check { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.sp2-check li { font-size: .76rem; border-radius: 999px; padding: .28rem .65rem; background: rgba(255, 255, 255, .14); }
.sp2-check li.is-ok { color: #bbf7d0; }
.sp2-check li.is-miss { background: rgba(255, 255, 255, .92); }
.sp2-check li.is-miss a { color: var(--sp2-red); font-weight: 700; text-decoration: none; }
.sp2-prog__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }

.sp2-body { margin-top: -3.1rem; position: relative; z-index: 3; }
.sp2-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-bottom: 1rem; }
.sp2-kpi { background: #fff; border: 1px solid var(--sp2-line); border-radius: 16px; padding: .85rem .9rem; box-shadow: var(--sp2-shadow); display: grid; gap: .1rem; position: relative; overflow: hidden; }
.sp2-kpi > i { position: absolute; right: .7rem; top: .7rem; font-size: 1.15rem; color: var(--sp2-blue); opacity: .85; }
.sp2-kpi span { font-size: .72rem; font-weight: 700; color: var(--sp2-muted); text-transform: uppercase; letter-spacing: .03em; padding-right: 1.6rem; }
.sp2-kpi strong { font-size: 1.4rem; color: var(--sp2-navy); line-height: 1.15; }
.sp2-kpi small { font-size: .74rem; color: var(--sp2-muted); }
.sp2-kpi small a { color: var(--sp2-red); font-weight: 700; text-decoration: none; }
.sp2-kpi--red { border-color: #f6c1c9; background: linear-gradient(160deg, #fff, #fff4f6); }
.sp2-kpi--red > i, .sp2-kpi--red strong { color: var(--sp2-red); }
.sp2-kpi--amber > i { color: #d97706; }
.sp2-kpi--green > i, .sp2-kpi--green strong { color: var(--sp2-ok); }

/* ---------- tabs ---------- */
.sp2-tabs { display: flex; gap: .4rem; overflow-x: auto; padding: .2rem .1rem .6rem; margin-bottom: .6rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sp2-tabs::-webkit-scrollbar { display: none; }
.sp2-tabs .soc-tabs__link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .95rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--sp2-line); color: var(--sp2-navy); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.sp2-tabs .soc-tabs__link.active { background: var(--sp2-blue); color: #fff; border-color: var(--sp2-blue); box-shadow: 0 6px 14px rgba(0, 71, 171, .25); }
.sp2-tabs .soc-tabs__link--locked { opacity: .6; }
.sp2-tabs .soc-tabs__link--attention:not(.active) { border-color: var(--sp2-red); color: var(--sp2-red); }
.sp2-tabbadge { background: var(--sp2-red); color: #fff; border-radius: 999px; padding: 0 .45rem; font-size: .7rem; line-height: 1.5; }

/* ---------- enlace / QR ---------- */
.sp2-link__head { display: grid; gap: .75rem; margin-bottom: .9rem; }
.sp2-link__head h2 { margin-top: .25rem; }
.sp2-code span { font-size: .72rem; font-weight: 800; color: var(--sp2-muted); text-transform: uppercase; }
.sp2-seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: .25rem; background: var(--sp2-blue-soft); padding: .25rem; border-radius: 14px; margin-bottom: .9rem; width: 100%; }
.sp2-seg__btn { border: 0; background: transparent; padding: .6rem .5rem; border-radius: 11px; font: inherit; font-weight: 700; font-size: .85rem; color: var(--sp2-blue); cursor: pointer; }
.sp2-seg__btn.is-active { background: var(--sp2-blue); color: #fff; box-shadow: 0 4px 10px rgba(0, 71, 171, .3); }
.sp2-pane { display: none; gap: 1rem; }
.sp2-pane.is-active { display: grid; }
.sp2-pane__lab { font-size: .78rem; font-weight: 700; color: var(--sp2-muted); margin: .7rem 0 .35rem; display: block; }
.sp2-linkrow { display: flex; gap: .4rem; flex-wrap: wrap; }
.sp2-linkinput { flex: 1 1 200px; min-width: 0; padding: .75rem .85rem; border: 1.5px dashed var(--sp2-blue); border-radius: 12px; background: #f4f8ff; font-weight: 700; color: var(--sp2-navy); font-size: .88rem; }
.sp2-share { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.sp2-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem .5rem; border-radius: 12px; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: none; }
.sp2-share__btn:hover { filter: brightness(.93); color: #fff; }
.sp2-share__btn--wa { background: #25D366; }
.sp2-share__btn--fb { background: #1877F2; }
.sp2-share__btn--tg { background: #229ED9; }
.sp2-share__btn--copy { background: var(--sp2-navy); }
.sp2-share__btn--native { background: #475569; grid-column: 1 / -1; }
.sp2-share__btn[hidden] { display: none; }
.sp2-link-open { display: inline-block; margin-top: .7rem; font-size: .82rem; color: var(--sp2-blue); font-weight: 700; text-decoration: none; }
.sp2-qrbox { display: grid; justify-items: center; align-content: start; gap: .25rem; text-align: center; background: #f8fbff; border: 1px solid var(--sp2-line); border-radius: 14px; padding: 1rem; }
.sp2-qr { width: 176px; height: 176px; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--sp2-line); display: grid; place-items: center; }
.sp2-qr img, .sp2-qr canvas { max-width: 100%; height: auto !important; }
.sp2-qr__ph { font-size: 3rem; color: #cbd5e1; }
.sp2-qrbox small { color: var(--sp2-muted); font-size: .76rem; }
.sp2-qrbox .sp2-btn { margin-top: .4rem; }

/* ---------- cobro ---------- */
.sp2-cobro { border-left: 5px solid var(--sp2-line); }
.sp2-cobro.is-ready { border-left-color: var(--sp2-red); background: linear-gradient(160deg, #fff, #fff6f7); }
.sp2-cobro__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.sp2-cobro__monto { display: block; font-size: 2rem; color: var(--sp2-navy); line-height: 1.1; }
.sp2-cobro.is-ready .sp2-cobro__monto { color: var(--sp2-red); }
.sp2-note { margin: .8rem 0 0; font-size: .85rem; color: #475569; }
.sp2-note--warn { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; padding: .6rem .8rem; border-radius: 10px; }
.sp2-rules { margin-top: 1rem; background: #f8fbff; border: 1px solid var(--sp2-line); border-radius: 14px; padding: .9rem 1rem; }
.sp2-rules h3 { margin: 0 0 .5rem; font-size: .95rem; color: var(--sp2-navy); }
.sp2-rules h3 i { color: var(--sp2-red); }
.sp2-rules ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; font-size: .87rem; color: #334155; }

/* ---------- guía ---------- */
.sp2-guide header h2 { margin: .2rem 0 .8rem; }
.sp2-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.sp2-steps li { display: flex; gap: .8rem; align-items: flex-start; }
.sp2-steps__n { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--sp2-red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.sp2-steps strong { color: var(--sp2-navy); }
.sp2-steps p { margin: .15rem 0 0; font-size: .87rem; color: #475569; }
.sp2-guide__cols { display: grid; gap: 1rem; }
.sp2-bubblebox { display: grid; gap: .6rem; align-content: start; }
.sp2-bubble { background: #dcf8c6; border-radius: 4px 14px 14px 14px; padding: .8rem .95rem; font-size: .85rem; color: #1f2937; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); max-height: 260px; overflow: auto; overflow-wrap: anywhere; line-height: 1.45; }
.sp2-materials { display: grid; gap: .5rem; align-content: start; }
.sp2-tile { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1.5px solid var(--sp2-line); border-radius: 14px; padding: .7rem .85rem; text-decoration: none; color: var(--sp2-ink); text-align: left; font: inherit; cursor: pointer; width: 100%; }
.sp2-tile:hover { border-color: var(--sp2-blue); }
.sp2-tile > i:first-child { flex: 0 0 38px; height: 38px; border-radius: 11px; background: var(--sp2-blue-soft); color: var(--sp2-blue); display: grid; place-items: center; font-size: 1.05rem; }
.sp2-tile span { flex: 1; display: grid; gap: .05rem; }
.sp2-tile small { color: var(--sp2-muted); font-size: .76rem; }
.sp2-tile > i:last-child { color: #94a3b8; font-size: .8rem; }
.sp2-tile--wa > i:first-child { background: #dcfce7; color: #16a34a; }
.sp2-warn { margin: 1rem 0 0; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; border-radius: 12px; padding: .65rem .85rem; font-size: .84rem; }

/* ---------- referidos / timeline ---------- */
.sp2-reflist { display: grid; gap: .75rem; }
.sp2-ref { border: 1px solid var(--sp2-line); border-radius: 14px; padding: .85rem .9rem; margin-bottom: .75rem; background: #fcfdff; }
.sp2-reflist .sp2-ref { margin-bottom: 0; }
.sp2-ref.is-rejected { border-color: #fecaca; background: #fff8f8; }
.sp2-ref__head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.sp2-ref__head strong { display: block; color: var(--sp2-navy); font-size: .95rem; overflow-wrap: anywhere; }
.sp2-ref__head small { color: var(--sp2-muted); font-size: .76rem; }
.sp2-ref__monto { font-weight: 800; color: var(--sp2-navy); white-space: nowrap; font-size: .95rem; }
.sp2-ref__monto.is-ready { color: var(--sp2-red); }
.sp2-ref__monto.is-paid { color: var(--sp2-ok); }
.sp2-ref__rej { margin: .5rem 0 0; font-size: .8rem; color: #b91c1c; }
.sp2-tl { list-style: none; margin: .85rem 0 .3rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.sp2-tl li { display: grid; justify-items: center; gap: .15rem; text-align: center; position: relative; font-size: .72rem; }
.sp2-tl li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #e2e8f0; z-index: 0; }
.sp2-tl li:first-child::before { display: none; }
.sp2-tl li.is-done::before, .sp2-tl li.is-partial::before, .sp2-tl li.is-ready::before { background: var(--sp2-blue); }
.sp2-tl__dot { width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; color: #94a3b8; display: grid; place-items: center; font-size: .8rem; position: relative; z-index: 1; border: 3px solid #fff; box-shadow: 0 0 0 1px #e2e8f0; }
.sp2-tl li.is-done .sp2-tl__dot { background: var(--sp2-blue); color: #fff; box-shadow: 0 0 0 1px var(--sp2-blue); }
.sp2-tl li.is-partial .sp2-tl__dot { background: #fef3c7; color: #b45309; box-shadow: 0 0 0 1px #f59e0b; }
.sp2-tl li.is-ready .sp2-tl__dot { background: var(--sp2-red); color: #fff; box-shadow: 0 0 0 1px var(--sp2-red), 0 0 0 5px rgba(200, 16, 46, .15); }
.sp2-tl li.is-current:not(.is-ready):not(.is-partial) .sp2-tl__dot { box-shadow: 0 0 0 1px var(--sp2-blue), 0 0 0 5px rgba(0, 71, 171, .12); color: var(--sp2-blue); background: #fff; }
.sp2-tl__lab { font-weight: 700; color: var(--sp2-ink); }
.sp2-tl small { color: var(--sp2-muted); font-size: .68rem; line-height: 1.2; }
.sp2-ref .sp2-btn { margin-top: .6rem; }
.sp2-ref__more { margin-top: .55rem; font-size: .82rem; }
.sp2-ref__more summary { cursor: pointer; color: var(--sp2-blue); font-weight: 700; }
.sp2-ref__more dl { margin: .5rem 0 0; display: grid; gap: .3rem; }
.sp2-ref__more dl div { display: flex; justify-content: space-between; gap: .75rem; border-bottom: 1px dashed #e5ecf6; padding-bottom: .25rem; }
.sp2-ref__more dt { color: var(--sp2-muted); }
.sp2-ref__more dd { margin: 0; font-weight: 600; text-align: right; }
.sp2-celebrate { margin: .5rem 0 1rem; }

/* ---------- historial de cobros ---------- */
.sp2-cobrolist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sp2-cobroitem { display: flex; gap: .75rem; border: 1px solid var(--sp2-line); border-radius: 14px; padding: .75rem .85rem; }
.sp2-cobroitem__ico { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fef3c7; color: #b45309; }
.sp2-cobroitem--ok .sp2-cobroitem__ico { background: #dcfce7; color: #166534; }
.sp2-cobroitem--bad .sp2-cobroitem__ico { background: #fee2e2; color: #991b1b; }
.sp2-cobroitem__body { display: grid; gap: .2rem; min-width: 0; font-size: .82rem; }
.sp2-cobroitem__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.sp2-cobroitem__row strong { font-size: 1.05rem; color: var(--sp2-navy); }
.sp2-cobroitem small { color: var(--sp2-muted); overflow-wrap: anywhere; }
.sp2-cobroitem__ok { color: #166534 !important; }
.sp2-help { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.sp2-help a { background: #fff; border: 1.5px solid var(--sp2-line); border-radius: 999px; padding: .5rem .9rem; font-size: .82rem; font-weight: 700; color: var(--sp2-blue); text-decoration: none; }
.sp2-help a i { color: var(--sp2-red); margin-right: .25rem; }

/* ---------- formularios (perfil / foto) ---------- */
.sp2-card.soc-card { padding: 1.1rem; }
.sp2-formgrid { display: grid; gap: .6rem; }
.sp2-formgrid__full { grid-column: 1 / -1; }
.sp2-fotoform { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sp2-fotoform__pick { display: flex; align-items: center; gap: .8rem; cursor: pointer; }
.sp2-fotoform__img { width: 72px; height: 72px; border-radius: 50%; background: var(--sp2-blue-soft); color: var(--sp2-blue); display: grid; place-items: center; overflow: hidden; font-size: 1.6rem; border: 2px dashed var(--sp2-blue); }
.sp2-fotoform__img img { width: 100%; height: 100%; object-fit: cover; }
.sp2-fotoform__lab { font-weight: 700; color: var(--sp2-blue); }

/* ---------- recuperar contraseña (tabs correo / WhatsApp) ---------- */
.soc-rec__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; background: var(--sp2-blue-soft); padding: .25rem; border-radius: 14px; margin: .5rem 0 1rem; }
.soc-rec__tab { border: 0; background: transparent; padding: .65rem .4rem; border-radius: 11px; font: inherit; font-weight: 700; font-size: .88rem; color: var(--sp2-blue); cursor: pointer; }
.soc-rec__tab.is-active { background: var(--sp2-blue); color: #fff; }
.soc-rec__tab--wa.is-active { background: #1faa52; }
.soc-rec__pane { display: block; }
.soc-rec.is-js .soc-rec__pane { display: none; }
.soc-rec.is-js .soc-rec__pane.is-active { display: block; }
.soc-rec:not(.is-js) .soc-rec__pane + .soc-rec__pane { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--sp2-line); }
.soc-rec__wa-btn { margin-top: 1rem; padding: .95rem; font-size: 1.02rem; border-radius: 14px; display: flex; justify-content: center; gap: .5rem; text-decoration: none; }
.soc-rec__note { font-size: .82rem; text-align: center; }
.soc-rec__back { margin-top: 1.1rem; }
.soc-rec .soc-btn--wa { background: #1faa52; color: #fff; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 640px) {
  .sp2-kpis { grid-template-columns: repeat(4, 1fr); }
  .sp2-share { grid-template-columns: repeat(4, auto); justify-content: start; }
  .sp2-share__btn--native { grid-column: auto; }
  .sp2-formgrid { grid-template-columns: repeat(3, 1fr); }
  .sp2-link__head { grid-template-columns: 1fr auto; align-items: end; }
  .sp2-seg { width: auto; }
  .sp2-seg__btn { padding: .6rem 1.3rem; }
}
@media (min-width: 900px) {
  .sp2-login__grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .sp2-login__brand, .sp2-login__card { padding: 2rem; }
  .sp2-login__brand h1 { font-size: 2rem; }
  .sp2-hero { padding: 1.6rem 0 5.4rem; }
  .sp2-avatar { flex-basis: 80px; width: 80px; height: 80px; font-size: 1.7rem; }
  .sp2-id__txt h1 { font-size: 1.75rem; }
  .sp2-id__txt p { font-size: .9rem; }
  .sp2-prog { display: grid; grid-template-columns: 1fr 1.4fr; gap: .4rem 1.5rem; align-items: center; }
  .sp2-prog__head, .sp2-bar { grid-column: 1; }
  .sp2-check { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .sp2-prog__cta { grid-column: 1; margin-top: .3rem; }
  .sp2-bellwrap { position: relative; }
  .sp2-notifs { left: auto; right: 0; top: 50px; width: 380px; }
  .sp2-pane.is-active { grid-template-columns: 1fr 240px; align-items: start; }
  .sp2-guide__cols { grid-template-columns: 1.1fr 1fr; }
  .sp2-card { padding: 1.4rem; }
  .sp2-reflist { grid-template-columns: 1fr 1fr; }
  .sp2-tl small { font-size: .72rem; }
}
@media (max-width: 380px) {
  .sp2-tl li { font-size: .66rem; }
  .sp2-tl small { font-size: .62rem; }
  .sp2-id__txt h1 { font-size: 1.15rem; }
}

/* cobro por referido */
.sp2-ref__cobro { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem .75rem; margin-top:.65rem; }
.sp2-ref__cobro form { margin:0; }
.sp2-ref__cobro .sp2-btn { margin-top:0; }
.sp2-link { color: var(--sp2-blue); font-weight:700; font-size:.82rem; text-decoration:underline; }
.soc-table td form { margin:0; }
