/* ESTRESA account workspace. Plain CSS; no external fonts or UI runtime. */
body.customer-shell{
 --panel-bg:#f5f6fb;
 --panel-surface:var(--surface);
 --panel-ink:var(--brand-deep);
 --panel-muted:var(--ink-muted);
 --panel-line:var(--border);
 --panel-soft:var(--brand-soft);
 --panel-radius:20px;
 --panel-space:24px;
 --panel-shadow:0 4px 24px -16px rgba(22,22,92,.18);
 background:var(--panel-bg);font-family:Inter,var(--font);line-height:1.5;
}
.customer-shell main{max-width:1240px;padding:24px 32px 32px}
.customer-shell .brand-header{padding:0 max(8px,env(safe-area-inset-left)) 16px max(8px,env(safe-area-inset-right))}
.customer-shell .brand-logo img{max-height:44px;max-width:140px}
.customer-shell .brand-stripe{height:2px;margin:0;opacity:.8}
.customer-shell article{background:none;border:0;box-shadow:none;padding:0}
.customer-shell h1{font-size:clamp(25px,3vw,34px);font-weight:800;letter-spacing:-.04em;margin:0 0 8px}
.customer-shell main>footer{font-size:12px;border:0;margin:28px 0 0;padding:0}
.customer-shell .customer-panel{display:grid;grid-template-columns:192px minmax(0,1fr);gap:0 32px}
.customer-shell .panel-intro{grid-column:1/-1;font-size:14px;margin:0 0 28px;color:var(--panel-muted)}
.customer-shell .panel-navigation{display:flex;flex-direction:column;gap:8px;align-self:start}
.customer-shell .panel-navigation a{display:flex;align-items:center;gap:6px;min-height:48px;padding:12px 16px;border-radius:12px;color:var(--ink-soft);font-size:14px;font-weight:650;text-decoration:none;border:1px solid transparent;transition:background .18s,color .18s}
.customer-shell .panel-navigation a:hover{background:#eaeaf8}
.customer-shell .panel-navigation a[aria-current="page"]{background:var(--brand);color:white;box-shadow:0 6px 16px -10px var(--brand)}
.customer-shell .nav-symbol{display:inline-flex;width:20px;align-items:center;justify-content:center}
.customer-shell .nav-symbol svg{width:20px;height:20px}
.customer-shell .panel-workspace{min-width:0}
.customer-shell [hidden]{display:none!important}
.customer-shell .panel-view{scroll-margin-top:20px}
.customer-shell .summary-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,1fr);gap:20px;align-items:stretch}
.customer-shell .summary-grid .estresa-data-widget{max-width:none;height:auto}
.customer-shell .card{margin:0;border:1px solid var(--panel-line);border-radius:var(--panel-radius);padding:24px;background:var(--panel-surface);box-shadow:var(--panel-shadow)}
.customer-shell .panel-status{position:relative;background:linear-gradient(135deg,#fff 0%,#f1f1ff 100%);overflow:hidden}
.customer-shell .panel-status-head{margin:0 0 24px;gap:8px}
.customer-shell .eyebrow{color:#626483;font-size:10px;letter-spacing:.12em;font-weight:800;margin:0}
.customer-shell .status-chip{font-size:10px;font-weight:700;padding:5px 9px;white-space:normal;overflow-wrap:anywhere}
.customer-shell .panel-status h2{font-size:clamp(26px,3vw,38px);line-height:1.12;letter-spacing:-.045em;margin:16px 0;font-weight:800}
.customer-shell .panel-status h2 span{display:block;font-size:14px;letter-spacing:0;line-height:1.6;font-weight:600;color:var(--panel-muted)}
.customer-shell .panel-status p{font-size:13px;line-height:1.65;max-width:46ch}
.customer-shell .summary-mark{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #dfdff7;border-radius:14px;background:white;color:var(--brand-light)}
.customer-shell .summary-mark svg{width:27px;height:27px}
.customer-shell .panel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0 12px}
.customer-shell .panel-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;font-size:13px;padding:12px 14px;border-radius:12px;line-height:1.3;box-shadow:none;text-align:center}
.customer-shell .panel-actions .button-comprar{background:linear-gradient(115deg,#ffd260,#ffb423);color:#3f2a00}
.customer-shell .panel-actions .button-comprar::before,.customer-shell .panel-actions .button-comprar::after{display:none}
.customer-shell .panel-connection-note{font-size:11px;margin:0 0 12px}
.customer-shell .panel-connection-links{gap:4px 12px;padding-top:8px}
.customer-shell .panel-connection-links a{font-size:12px;min-height:44px}
.customer-shell .panel-connection-links .panel-disconnect{color:var(--danger)}
.customer-shell .connection-guide h2{font-size:20px;margin:12px 0 24px;letter-spacing:-.025em}
.customer-shell .connection-guide ol{list-style:none;padding:0;margin:0;display:grid;gap:24px}
.customer-shell .connection-guide li{display:flex;gap:12px;margin:0;line-height:1.5}
.customer-shell .connection-guide li>span{width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--panel-soft);border:1px solid #dedff2;border-radius:9px;color:var(--brand);font-size:12px;font-weight:750}
.customer-shell .connection-guide strong{font-size:12px;display:block;color:var(--panel-ink)}
.customer-shell .connection-guide li p{font-size:11px;color:var(--panel-muted);margin:4px 0 0}
.customer-shell .guide-footnote{font-size:11px;line-height:1.6;margin:24px 0 0;padding-top:18px;border-top:1px solid var(--panel-line);color:var(--panel-muted)}
.customer-shell .account-shortcut{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:20px 24px}
.customer-shell .account-shortcut h3{font-size:16px;margin:6px 0}
.customer-shell .account-shortcut p{font-size:12px;color:var(--panel-muted);margin:0}
.customer-shell .account-shortcut>a{flex-shrink:0;font-size:12px;display:inline-flex;gap:12px;align-items:center;min-height:44px;font-weight:700;text-decoration:none}
.customer-shell .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}
.customer-shell .section-heading h2{font-size:25px;margin:6px 0 0;letter-spacing:-.035em}
.customer-shell .section-detail{font-size:11px;color:var(--panel-muted);text-align:right}
.customer-shell .empty-purchases{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:340px;text-align:center;background:linear-gradient(145deg,#fff,#fbfbff)}
.customer-shell .empty-symbol{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:20px;background:var(--panel-soft);color:var(--brand-light);margin-bottom:16px}
.customer-shell .empty-symbol svg{width:28px;height:28px}
.customer-shell .empty-purchases h3{font-size:18px;margin:0 0 8px}
.customer-shell .empty-purchases p{font-size:13px;margin:0 0 16px}
.customer-shell .empty-purchases a{font-size:12px;font-weight:700;min-height:44px;display:inline-flex;align-items:center;gap:12px}
.customer-shell .purchase-row{margin:0 0 12px;padding:20px}
.customer-shell .purchase-side{max-width:60%}
.customer-shell .status-chip,.customer-shell .tier-chip{white-space:normal}
.customer-shell .account-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px}
.customer-shell .panel-access{margin:0}
.customer-shell .panel-access h3,.customer-shell .panel-recovery h3{font-size:17px;margin:0 0 12px;letter-spacing:-.02em}
.customer-shell .panel-note{font-size:12px;line-height:1.65;margin:0 0 20px}
.customer-shell .access-row{margin:0 0 16px}
.customer-shell .access-row label{font-size:12px;margin:0 0 6px;color:var(--ink-soft)}
.customer-shell .access-control{display:flex;flex-direction:row;gap:8px}
.customer-shell input:not([type=checkbox]):not([type=radio]){min-height:46px;border-radius:10px;padding:10px 12px;border-color:#c5c8dd;font-size:14px;box-shadow:none}
.customer-shell .access-control input{font-size:13px;font-family:var(--mono);background:#fafaff}
.customer-shell .access-control button{font-size:11px;min-width:64px;min-height:46px;border-radius:10px;padding:8px 10px;color:var(--brand);background:white}
.customer-shell .access-control .pin-toggle{min-width:46px;text-decoration:none}
.customer-shell .access-row .panel-note{font-size:11px;margin-top:8px}
.customer-shell .pin-toggle{font-size:12px;min-height:44px}
.customer-shell #copy-message{font-size:11px;color:var(--brand);min-height:18px;margin:0}
.customer-shell .recovery-mark{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--panel-soft);color:var(--brand-light);font-size:23px;font-weight:700;margin-bottom:20px}
.customer-shell .panel-recovery label{font-size:12px;margin:16px 0 6px}
.customer-shell .panel-recovery .email-note{font-size:11px;border:0;background:none;padding:0;margin:10px 0 16px;color:var(--panel-muted)}
.customer-shell .panel-recovery button{font-size:12px;min-height:44px;border-radius:10px;margin:0;padding:10px 16px;box-shadow:none}
.customer-shell .panel-recovery form+p{margin-top:12px}
.customer-shell .panel-recovery small{font-size:11px}
.customer-shell .panel-footer{font-size:11px;gap:0 16px;margin:24px 0 0;padding-top:12px;max-width:none;text-align:left}
.customer-shell .panel-footer small{font-size:11px}
.customer-shell .panel-footer p{color:var(--panel-muted);margin-top:8px}
.customer-shell .panel-footer .link-button{font-size:11px}
.customer-shell :is(a,button,input):focus-visible{outline:3px solid var(--brand-light);outline-offset:4px}
.customer-shell :is(button,.button){cursor:pointer;transition:background .18s,box-shadow .18s}
.customer-shell :is(button,.button):active{filter:brightness(.94)}
.customer-shell :is(button,.button):disabled{opacity:.6;cursor:not-allowed}
.customer-shell .quota-meter{display:block;width:100%;height:12px;margin:16px 0;border:0;border-radius:999px;background:#e6e8f4;box-shadow:inset 0 1px 2px rgba(21,20,92,.16);appearance:none;-webkit-appearance:none;overflow:hidden;accent-color:var(--brand-light);direction:ltr}
.customer-shell .quota-meter::-webkit-meter-bar{height:12px;border:0;border-radius:999px;background:#e6e8f4}
.customer-shell .quota-meter::-webkit-meter-optimum-value,.customer-shell .quota-meter::-webkit-meter-suboptimum-value,.customer-shell .quota-meter::-webkit-meter-even-less-good-value{background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(255,255,255,.05) 55%,rgba(0,0,0,.08)),var(--brand-light);border-radius:999px;box-shadow:inset -1px 0 0 rgba(255,255,255,.75)}
.customer-shell .quota-meter::-moz-meter-bar{background:linear-gradient(180deg,rgba(255,255,255,.46),rgba(255,255,255,.05) 55%,rgba(0,0,0,.08)),var(--brand-light);border-radius:999px}
.customer-shell .panel-view:focus{outline:none}
.customer-shell .customer-login-card{background:var(--surface);border:1px solid var(--panel-line);border-radius:var(--panel-radius);padding:28px;box-shadow:var(--panel-shadow);margin-top:24px}
.customer-shell:has(.customer-login-card) main{max-width:560px}
.customer-shell:has(.customer-login-card) .app-nav{display:none}
.customer-shell .customer-login-card p{font-size:14px;color:var(--panel-muted)}
.customer-shell .customer-login-card label{font-size:13px}
.customer-shell .customer-login-card label:has([type=checkbox]){font-size:12px;font-weight:500;line-height:1.6}
.customer-shell .customer-login-card button{width:100%;min-height:48px;font-size:14px;border-radius:12px;box-shadow:none}
.customer-shell .customer-login-card .email-check{font-size:12px;line-height:1.5;margin:6px 0 14px;padding:0;border:0;background:none;color:var(--panel-muted)}
.customer-shell .customer-login-card .email-check[data-state="ok"]{color:#146c2e}
.customer-shell .customer-login-card .email-check[data-state="error"],
.customer-shell .customer-login-card .email-check[data-state="missing"]{color:#8a5a00}
.customer-shell .customer-login-card .email-check-result{margin:0 0 16px;padding:11px 13px;border:1px solid var(--panel-line);border-radius:10px;background:var(--panel-soft);font-size:13px;line-height:1.55;color:var(--panel-muted)}
.customer-shell .customer-login-card .email-check-result[data-state="ok"]{background:#eefbf1;border-color:#bfe8c9;color:#146c2e}
.customer-shell .customer-login-card .email-check-result[data-state="missing"]{background:#fffaf0;border-color:#f2d59a;color:#6b4a00}
.customer-shell .customer-login-card details{margin-top:20px;padding:16px;border:1px solid var(--panel-line);border-radius:12px}
.customer-shell .customer-login-card summary{font-size:13px;font-weight:650;cursor:pointer}
.customer-shell .account-navigation{display:none}
@media(min-width:1000px){.customer-shell .panel-navigation{position:sticky;top:24px}}
@media(max-width:1050px){
 .customer-shell .customer-panel{grid-template-columns:160px minmax(0,1fr);gap:0 24px}
 .customer-shell .summary-grid{grid-template-columns:minmax(0,1fr)}
 .customer-shell .connection-guide ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .customer-shell .connection-guide h2{margin-bottom:20px}
 .customer-shell .account-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 .customer-shell main{padding:16px 16px 24px}
 .customer-shell .brand-header{padding-bottom:14px}
 .customer-shell .brand-logo img{max-height:34px;max-width:112px}
 .customer-shell .brand-stripe{margin:0}
 .customer-shell .customer-panel{display:block}
 .customer-shell h1{font-size:26px}
 .customer-shell .panel-intro{font-size:12px;margin-bottom:20px;max-width:34ch}
 .customer-shell .panel-navigation{position:fixed;left:0;right:0;bottom:0;z-index:50;flex-direction:row;gap:4px;margin:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e3e2ee;border-radius:16px 16px 0 0;box-shadow:0 -8px 24px -18px rgba(22,21,130,.35)}
 .customer-shell .panel-navigation a{flex:1 1 0;min-width:0;min-height:56px;flex-direction:column;justify-content:center;align-items:center;padding:6px 4px;font-size:11px;line-height:1.1;gap:4px;border-radius:10px;text-align:center;white-space:nowrap}
 .customer-shell .panel-navigation a[aria-current="page"]{background:#ece8ff;color:var(--brand);box-shadow:none}
 .customer-shell .nav-symbol,.customer-shell .nav-symbol svg{width:20px;height:20px}
 body.customer-shell{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .customer-shell .card{padding:20px;border-radius:18px}
 .customer-shell .panel-status h2{font-size:32px;margin:16px 0}
 .customer-shell .panel-status p{font-size:12px}
 .customer-shell .panel-status-head{margin-bottom:20px}
 .customer-shell .panel-status-head .status-chip{font-size:9px;max-width:68%}
 .customer-shell .panel-actions{margin-top:20px;grid-template-columns:1fr 1fr}
 .customer-shell .panel-actions .button{font-size:12px;min-height:48px;padding:12px 8px}
 .customer-shell .panel-connection-links{flex-direction:row;align-items:center;gap:4px 12px}
 .customer-shell .panel-connection-note{font-size:10px}
 .customer-shell .connection-guide{display:none}
 .customer-shell .account-shortcut{gap:10px;margin-top:12px;padding:16px}
 .customer-shell .account-shortcut h3{font-size:13px}
 .customer-shell .account-shortcut p{display:none}
 .customer-shell .account-shortcut .eyebrow{font-size:8px}
 .customer-shell .account-shortcut>a{font-size:11px}
 .customer-shell .section-heading h2{font-size:23px}
 .customer-shell .section-detail{display:none}
 .customer-shell .panel-footer{gap:0 12px;margin-top:20px}
 .customer-shell .panel-footer>a,.customer-shell .panel-footer .link-button{font-size:10px;min-height:44px}
 .customer-shell .panel-footer p{font-size:11px}
 .customer-shell .empty-purchases{min-height:300px}
 .customer-shell .purchase-side{max-width:100%}
 .customer-shell .account-grid{gap:12px}
}
@media(max-width:700px){
 .customer-shell .panel-intro{display:none}
 .customer-shell .brand-stripe{margin:0}
 .customer-shell h1{margin-bottom:20px}
 .customer-shell .panel-navigation{margin-bottom:0}
 .customer-shell .panel-status-head{margin-bottom:14px}
 .customer-shell .panel-status h2{font-size:28px}
 .customer-shell .panel-status .summary-mark{width:38px;height:38px;border-radius:12px}
 .customer-shell .panel-status p{margin-bottom:12px}
 .customer-shell .panel-connection-note{display:none}
 .customer-shell .account-shortcut{display:none}
 .customer-shell .panel-footer{margin-top:16px;padding-top:8px}
 .customer-shell .customer-login-card{padding:22px;margin-top:0}
 .customer-shell .panel-enhanced .account-navigation{display:flex;gap:16px;margin:-8px 0 16px;border-bottom:1px solid var(--panel-line)}
 .customer-shell .account-navigation a{font-size:12px;font-weight:650;min-height:44px;display:flex;align-items:center;text-decoration:none;border-bottom:2px solid transparent}
 .customer-shell .account-navigation a[aria-current="page"]{color:var(--brand-light);border-bottom-color:var(--brand-light)}
 .customer-shell .panel-enhanced[data-account-section="acceso"] .panel-recovery{display:none}
 .customer-shell .panel-enhanced[data-account-section="correo"] .panel-access{display:none}
 .customer-shell .panel-access h3{margin-bottom:8px}
 .customer-shell .panel-access>.panel-note{font-size:11px;margin-bottom:14px}
 .customer-shell .access-row{margin-bottom:10px}
 .customer-shell .panel-footer>a,.customer-shell .panel-footer .link-button{font-size:11px}
 .customer-shell:has(#acceso:not([hidden])) h1{font-size:22px;margin-bottom:16px}
 .customer-shell #acceso .section-heading{margin-bottom:14px}
 .customer-shell #acceso .section-heading .eyebrow{display:none}
 .customer-shell .panel-access h3{display:none}
}
@media(max-width:350px){
 .customer-shell main{padding:12px}
 .customer-shell .panel-navigation a{font-size:11px}
 .customer-shell .nav-symbol{display:inline-flex}
 .customer-shell .panel-actions{grid-template-columns:1fr}
 .customer-shell .account-shortcut{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 .customer-shell *,.customer-shell *::before,.customer-shell *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

.bonus-summary{display:flex;gap:1rem}.bonus-summary>div{flex:1}.bonus-summary strong{display:block;font-size:1.4rem;line-height:1.2}.bonus-code{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}#referralCode{border:0;background:transparent;padding:0;min-height:0;width:12ch;max-width:100%;font:inherit;font-weight:900;color:inherit;box-shadow:none}.bonus-code-message{min-height:1.2em;margin:.25rem 0 0;color:var(--est-muted);font-size:12px}.bonus-detail-link{display:inline-flex;align-items:center;min-height:24px;color:var(--brand);font-weight:750;text-decoration:underline;text-underline-offset:2px}.bonus-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.75rem}.bonus-row{display:flex;gap:.75rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.bonus-main{display:grid;gap:.25rem}.bonus-main b{font-size:1.1rem}

@media (max-width:430px){
  .panel-navigation{gap:2px}
  .panel-navigation a{font-size:.78rem;line-height:1.15;padding:9px 6px;white-space:nowrap}
  .panel-navigation .nav-symbol{width:16px;height:16px;flex:0 0 16px}
}

/* Recomienda y gana: diseño aportado, encapsulado para no alterar el resto del panel. */
.esr-referral,.esr-referral *{box-sizing:border-box}
.esr-referral{--esr-navy:#11175c;--esr-purple:#5032e8;--esr-purple-deep:#3522b0;--esr-yellow:#ffc936;--esr-soft:#f3f1ff;--esr-edge:#e6e5f5;--esr-muted:#555b80;width:100%;max-width:100%;margin:16px auto 0;color:var(--esr-navy);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.42}
.esr-card{position:relative;overflow:hidden;padding:24px 22px 28px;background:#fff;border:1px solid #e4e3f6;border-radius:26px;box-shadow:0 13px 45px rgba(39,34,116,.075);isolation:isolate}
.esr-card::after{content:"";position:absolute;height:4px;left:0;right:0;bottom:0;background:linear-gradient(90deg,var(--esr-purple),#8b68ff 55%,var(--esr-yellow))}
.esr-label{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:7px 12px;border-radius:999px;color:#291c82;background:#fff1b9;font-size:10px;font-weight:850;letter-spacing:.085em;white-space:nowrap}
.esr-label svg{width:16px;height:16px;flex:none}
.esr-head{display:grid;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:2px}
.esr-heading{margin:0;font-size:clamp(22px,6vw,28px);font-weight:850;line-height:1.07;letter-spacing:-.042em}
.esr-heading .esr-number{display:block;margin:8px 0 1px;font-size:clamp(43px,12vw,56px);line-height:1;color:#4d2ee6;letter-spacing:-.07em}
.esr-heading .esr-number small{font-size:.57em;letter-spacing:-.04em}
.esr-heading .esr-each{display:block;font-size:22px;letter-spacing:-.038em}
.esr-gift{width:100%;height:auto;filter:drop-shadow(0 10px 10px rgba(87,56,200,.12))}
.esr-intro{margin:17px 0 18px;color:#4d5376;font-size:13.5px;line-height:1.55}
.esr-intro strong{color:var(--esr-navy)}
.esr-qr-panel{background:linear-gradient(165deg,#f7f6ff,#f1efff);border:1px solid #e5e1ff;border-radius:19px;padding:15px 13px 14px;text-align:center}
.esr-qr-header{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 10px;font-size:13px;font-weight:800;color:#262078}
.esr-qr-header svg{width:17px;height:17px;color:var(--esr-purple)}
.esr-qr-frame{display:inline-flex;align-items:center;justify-content:center;padding:9px;background:#fff;border:1px solid #dedbf6;border-radius:13px;box-shadow:0 4px 14px rgba(47,36,116,.075)}
.esr-qr-frame #esrQr{display:block;width:154px;height:154px}
.esr-qr-frame svg{display:block;width:154px;height:154px}
.esr-qr-hint{margin:9px 0 0;font-size:11.5px;color:#656a8a}
.esr-code-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 12px}
.esr-code-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.esr-code-caption{font-size:11px;color:#626789}
.esr-code{font-size:18px;letter-spacing:.01em;font-weight:850;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.esr-copy{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;flex:none;min-height:43px;padding:0 14px;border-radius:12px;border:1.5px solid #c8c5f3;background:#fff;color:#2f237c;font:inherit;font-weight:800;cursor:pointer}
.esr-copy svg{width:15px;height:15px}
.esr-primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:52px;padding:12px 16px;border:0;border-radius:14px;cursor:pointer;background:linear-gradient(120deg,#ffc83e,#ffa607);box-shadow:0 7px 17px rgba(255,167,8,.16);color:#171346;font:inherit;font-size:15px;font-weight:850}
.esr-primary svg{width:17px;height:17px}
.esr-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin-top:9px;padding:10px 14px;border:1.5px solid #b7e3c8;border-radius:14px;background:#effbf3;color:#0f6b3c;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
.esr-whatsapp svg{width:17px;height:17px}
.esr-whatsapp:hover{background:#e4f8ea}
.esr-whatsapp:focus-visible{outline:3px solid #25d366;outline-offset:3px}
.esr-copy:hover{background:#f4f2ff}
.esr-primary:hover{filter:brightness(1.025)}
.esr-copy:focus-visible,.esr-primary:focus-visible{outline:3px solid #553df5;outline-offset:3px}
.esr-status{min-height:16px;margin:8px 0 0;text-align:center;color:#3c337b;font-size:11px}
.esr-status:empty{visibility:hidden}
@media(max-width:359px){
.esr-card{padding:20px 15px 24px;border-radius:22px}
.esr-label{margin-bottom:14px}
.esr-head{grid-template-columns:minmax(0,1fr) 77px}
.esr-heading{font-size:22px}
.esr-heading .esr-number{font-size:46px}
.esr-code{font-size:16px}
.esr-copy{padding:0 10px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.esr-referral *,.esr-referral *::before,.esr-referral *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(min-width:1000px){
.esr-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.72fr);grid-template-areas:"label label" "head qr" "intro qr" "code qr" "share qr" "wa qr" "status qr";column-gap:28px;padding:28px 30px 32px}
.esr-label{grid-area:label}
.esr-head{grid-area:head}
.esr-intro{grid-area:intro;margin:0 0 18px}
.esr-qr-panel{grid-area:qr;align-self:center;margin:0}
.esr-code-row{grid-area:code;margin:0 0 14px}
.esr-primary{grid-area:share}
.esr-whatsapp{grid-area:wa}
.esr-status{grid-area:status;margin-top:8px}
}
/* ================================================================
   RESUMEN «TUS DATOS»
   Un solo componente; el estado sale de datos reales del sistema.
   ================================================================ */
.summary-widget-slot{min-width:0}

.estresa-banner{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:14px 14px 14px 16px;border:1px solid #e7e4fb;border-radius:18px;background:linear-gradient(135deg,#fff7dc 0%,#fff 36%,#f5f2ff 100%);box-shadow:0 10px 24px rgba(39,29,144,.07);overflow:hidden}
.estresa-banner::after{content:"";position:absolute;right:-22px;top:-22px;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at center,rgba(255,200,50,.28) 0%,rgba(255,200,50,0) 70%);pointer-events:none}
.estresa-banner__content{min-width:0;position:relative;z-index:1}
.estresa-banner__eyebrow{display:inline-flex;align-items:center;gap:6px;margin:0 0 6px;color:#63559b;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.estresa-banner__title{margin:0;color:#17155c;font-size:15px;line-height:1.18;font-weight:850;letter-spacing:-.02em}
.estresa-banner__text{margin:5px 0 0;color:#5a6283;font-size:12px;line-height:1.42}
.estresa-banner__action{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:10px 14px;border-radius:12px;border:1px solid #ded8ff;background:linear-gradient(180deg,#5240d7 0%,#3322ba 100%);color:#fff;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 8px 18px rgba(54,40,183,.18)}
.estresa-banner__action:focus-visible{outline:3px solid #1c1970;outline-offset:3px}
.estresa-banner__icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#4a35cf;background:#fff;border:1px solid #ece7ff;box-shadow:0 6px 14px rgba(74,53,207,.08);flex:none;margin-right:10px}
.estresa-banner__icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.estresa-banner__group{display:flex;align-items:center;min-width:0}
@media(max-width:360px){.estresa-banner{padding:12px 12px 12px 13px;gap:10px}.estresa-banner__title{font-size:14px}.estresa-banner__text{font-size:11px}.estresa-banner__action{min-height:36px;padding:9px 12px;font-size:12px}.estresa-banner__icon{width:34px;height:34px;margin-right:9px}.estresa-banner__icon svg{width:19px;height:19px}}

.estresa-data-widget{--ed-navy:#15145c;--ed-muted:#636b89;--ed-line:#e5e6f4;--ed-accent:#5038d4;--ed-cta:#ffb321;--ed-cta-hover:#ffa300;--ed-bg:#fff;--ed-soft:#f6f5ff;--ed-ok:#067d58;--ed-ok-soft:#e6f8ef;--ed-warning:#b32d24;--ed-warning-soft:#ffede9;--ed-meter-color:#4133c0;color:var(--ed-navy);background:var(--ed-bg);border:1px solid #e3e2f6;border-radius:23px;box-shadow:0 14px 36px rgba(31,26,104,.065);overflow:hidden;position:relative;box-sizing:border-box;width:100%;max-width:480px}
.customer-shell article.estresa-data-widget{background:var(--ed-bg);border:1px solid #e3e2f6;box-shadow:0 14px 36px rgba(31,26,104,.065)}
.estresa-data-widget *,.estresa-data-widget *::before,.estresa-data-widget *::after{box-sizing:border-box}
.estresa-data-widget::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--ed-state-color)}
.estresa-data-widget[data-state="connected"]{--ed-state-color:#169c75;--ed-state-bg:#e9f9f1}
.estresa-data-widget[data-state="disconnected"]{--ed-state-color:#6149d7;--ed-state-bg:#efecff}
.estresa-data-widget[data-state="empty"]{--ed-state-color:#d33e34;--ed-state-bg:#fff0ed;--ed-meter-color:#d33e34}
.estresa-data-inner{padding:23px 23px 20px}
.estresa-data-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.estresa-data-eyebrow{margin:0;font-size:12px;font-weight:850;letter-spacing:.16em;color:#555f88}
.estresa-data-status{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;min-height:30px;white-space:nowrap;border-radius:99px;background:var(--ed-state-bg);color:var(--ed-state-color);font-size:12px;font-weight:800}
.estresa-data-status-dot{width:8px;height:8px;flex:none;background:currentColor;border-radius:50%}
.estresa-data-account{font-size:12px;line-height:1.35;color:#6b6c89;margin:9px 0 0}
.estresa-data-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px}
.estresa-data-balance{margin:0;line-height:1;font-size:clamp(42px,8vw,54px);font-weight:850;letter-spacing:-.055em;white-space:nowrap;font-variant-numeric:tabular-nums}
.estresa-data-balance-unit{margin:8px 0 0;color:#535a81;font-size:15px;line-height:1.25;font-weight:600}
.estresa-data-icon{width:67px;height:67px;border-radius:21px;flex:none;display:grid;place-items:center;background:var(--ed-state-bg);color:var(--ed-state-color)}
.estresa-data-icon svg{width:34px;height:34px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.estresa-data-message{margin:17px 0 0;font-size:14px;line-height:1.4;color:#4e5578}
.estresa-data-message strong{color:var(--ed-navy)}
.estresa-data-widget[data-state="empty"] .estresa-data-balance,.estresa-data-widget[data-state="empty"] .estresa-data-message strong{color:#b82c25}
.estresa-data-meter{margin-top:20px;border:1px solid #e6e6f1;background:#fff;border-radius:15px;padding:15px}
.estresa-data-meter-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:12px;color:#586183;font-weight:650}
.estresa-data-meter-head strong{color:var(--ed-meter-color,var(--ed-state-color));font-size:13px;font-weight:850;white-space:nowrap}
.estresa-data-progress{width:100%;height:12px;display:block;appearance:none;-webkit-appearance:none;border:none;border-radius:999px;overflow:hidden;background:#e6e8f4;box-shadow:inset 0 1px 2px rgba(21,20,92,.16);color:var(--ed-state-color);direction:ltr}
.estresa-data-progress::-webkit-progress-bar{background:#e6e8f4;border-radius:999px}
.estresa-data-progress::-webkit-progress-value{background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,.06) 55%,rgba(0,0,0,.08)),var(--ed-meter-color,var(--ed-state-color));border-radius:999px;box-shadow:inset -1px 0 0 rgba(255,255,255,.78)}
.estresa-data-progress::-moz-progress-bar{background:linear-gradient(180deg,rgba(255,255,255,.48),rgba(255,255,255,.06) 55%,rgba(0,0,0,.08)),var(--ed-meter-color,var(--ed-state-color));border-radius:999px;box-shadow:inset -1px 0 0 rgba(255,255,255,.78)}
.estresa-data-meter-foot{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:12px;color:#616985;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}
.estresa-data-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:19px}
.estresa-data-primary{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:53px;padding:12px 14px;color:#17133e;background:var(--ed-cta);border:1px solid #f6a415;border-radius:14px;font-family:inherit;font-size:15px;font-weight:850;cursor:pointer;text-decoration:none;box-shadow:0 7px 17px rgba(255,179,33,.18)}
.estresa-data-primary:hover{background:var(--ed-cta-hover)}
.estresa-data-primary svg{width:19px;height:19px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.estresa-data-secondary{display:block;min-height:40px;border:0;background:transparent;color:#4d38bf;font-family:inherit;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:9px;text-align:center}
.estresa-data-primary:focus-visible,.estresa-data-secondary:focus-visible,.estresa-data-outline:focus-visible,.estresa-banner__action:focus-visible{outline:3px solid #1c1970;outline-offset:3px}
.estresa-data-footer{border-top:1px solid #e9e9f5;margin-top:16px;padding-top:12px;color:#737994;font-size:11px;line-height:1.35}
.estresa-data-footer time{font-variant-numeric:tabular-nums}
@media(max-width:360px){.estresa-data-inner{padding:20px 17px 16px}.estresa-data-hero{margin-top:14px}.estresa-data-balance{font-size:42px}.estresa-data-icon{width:56px;height:56px;border-radius:17px}.estresa-data-icon svg{width:29px;height:29px}.estresa-data-message{margin-top:13px}.estresa-data-meter{padding:12px;margin-top:15px}.estresa-data-actions{margin-top:15px}}

.estresa-data-widget[data-state="low-balance"]{--ed-state-color:#8d5c05;--ed-state-bg:#fff2d6;--ed-meter-color:#e0a31a}
.estresa-data-widget[data-state="stale"]{--ed-state-color:#8f5b0a;--ed-state-bg:#fff2d9}
.estresa-data-widget[data-state="bonus-connected"]{--ed-state-color:#087f60;--ed-state-bg:#e9f9f1}
.estresa-data-widget[data-state="bonus-empty"]{--ed-state-color:#087f60;--ed-state-bg:#e9f9f1}
.estresa-data-widget[data-state="bonus-available"]{--ed-state-color:#6243d7;--ed-state-bg:#efecff}
.estresa-data-widget[data-state="review-disconnected"]{--ed-state-color:#7358a8;--ed-state-bg:#f1edff}
.estresa-data-widget[data-state="review-connected"]{--ed-state-color:#087f60;--ed-state-bg:#e9f9f1}
.estresa-data-widget[data-state="review-waiting"]{--ed-state-color:#946419;--ed-state-bg:#fff5dd}
.estresa-data-widget[data-state="no-reading"]{--ed-state-color:#64708d;--ed-state-bg:#eff1f8}
.estresa-data-widget[data-state="admin"]{--ed-state-color:#64708d;--ed-state-bg:#eff1f8}
.estresa-data-progress{color:var(--ed-meter-color,var(--ed-state-color))}
.estresa-data-widget[data-state="bonus-empty"] .estresa-data-balance{color:var(--ed-navy)}
.estresa-data-widget[data-state="bonus-empty"] .estresa-data-meter-head strong{color:#aa3930}
.estresa-data-widget[data-state="empty"] .estresa-data-meter-head strong{color:#b82c25}
.estresa-data-widget[data-state="bonus-empty"] .estresa-data-progress{--ed-meter-color:#d8dae9;color:#d8dae9}
.estresa-data-widget[data-state="low-balance"] .estresa-data-meter-head strong{color:#83550b}
.estresa-data-widget[data-state="stale"] .estresa-data-meter-head strong{color:#83550b}
.estresa-data-top{align-items:flex-start}
.estresa-data-status{white-space:normal;text-align:center;line-height:1.15;max-width:58%;justify-content:center}
.estresa-data-status-dot{width:7px;height:7px}
.estresa-data-action-row{display:flex;gap:8px;align-items:stretch}
.estresa-data-action-row > *{flex:1;min-width:0}
.estresa-data-primary--navy{background:#282083;color:#fff;border-color:#282083;box-shadow:0 7px 17px rgba(40,32,131,.12)}
.estresa-data-primary--navy:hover{background:#1d176b}
.estresa-data-outline{display:flex;align-items:center;justify-content:center;gap:7px;min-height:49px;padding:10px 12px;border:1.5px solid #cfcaf3;border-radius:13px;background:#fff;color:#3624ab;font:inherit;font-size:13px;font-weight:800;cursor:pointer;text-decoration:none}
.estresa-data-outline:hover{background:#f7f5ff;color:#3624ab}
.estresa-data-link-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 11px;margin-top:2px}
.estresa-data-link-row .estresa-data-secondary{padding:9px 3px;min-height:33px}
.estresa-data-secondary--danger{color:#9e2823}
.estresa-data-summary-title{font-size:clamp(24px,5.6vw,30px);font-weight:850;letter-spacing:-.035em;line-height:1.15;margin:0;max-width:285px}
.estresa-data-note{background:#f7f6ff;border:1px solid #eae7ff;border-radius:12px;padding:11px 12px;margin:15px 0 0;font-size:12px;line-height:1.55;color:#4b5078}
.estresa-data-note strong{color:#201769}
.estresa-data-note--amber{background:#fff8e9;border-color:#f3dfb4;color:#6b4a18}
.estresa-data-note--green{background:#edf9f4;border-color:#cdecdc;color:#205e4c}
.estresa-data-bonus{margin-top:15px;border:1px solid #e5e0fd;background:#f7f5ff;border-radius:15px;padding:13px 14px}
.estresa-data-bonus-top{display:flex;align-items:center;justify-content:space-between;gap:9px}
.estresa-data-bonus-label{margin:0;color:#5c4ab2;font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.estresa-data-bonus-remaining{margin:0;font-size:14px;font-weight:850;color:#241770;font-variant-numeric:tabular-nums;text-align:right}
.estresa-data-bonus .estresa-data-progress{margin-top:10px;height:8px;--ed-meter-color:#6950d5}
.estresa-data-bonus-foot{margin:9px 0 0;color:#5a607e;font-size:12px;line-height:1.4}
.estresa-data-widget[data-state="bonus-empty"] .estresa-data-bonus{background:#effaf6;border-color:#cae9d8}
.estresa-data-widget[data-state="bonus-empty"] .estresa-data-bonus .estresa-data-progress{--ed-meter-color:#129a71;color:#129a71}
.estresa-data-stale-tag{display:inline-flex;margin:0 0 5px;padding:4px 8px;border-radius:7px;background:#fff2d5;color:#895912;font-size:11px;font-weight:800}
.estresa-data-footer p{margin:4px 0 0}
.estresa-data-footer p:first-child{margin-top:0}
.estresa-data-primary--gentle-shake{animation:estresa-once-shake .6s ease-out .4s 1}
@keyframes estresa-once-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-2px)}80%{transform:translateX(2px)}}
@media (prefers-reduced-motion:reduce){.estresa-data-primary--gentle-shake{animation:none}}
@media(max-width:360px){.estresa-data-action-row{flex-wrap:wrap}.estresa-data-outline{min-height:44px}.estresa-data-bonus{padding:11px}.estresa-data-link-row{gap:2px 8px}}
.estresa-data-form{display:flex;margin:0;flex:1}
.estresa-data-form > button{flex:1}
.estresa-data-form > .estresa-data-primary{width:100%}

/* Vista administrativa o sin guía: la tarjeta ocupa todo el ancho disponible. */
.customer-shell .summary-grid--solo{grid-template-columns:minmax(0,1fr)}
.customer-shell .summary-grid--solo .estresa-data-widget{max-width:none;height:auto}
