/* «Tu estrategia» · portada, formulario y resultado (27-sep-2026). Ver estrategia.js */

/* ── Portada: dos tarjetas (27-sep, v2) ─────────────────────────────── */
.portada { flex: 1; min-width: 0; min-height: 100vh; min-height: 100dvh; color: #fff; box-sizing: border-box; display: flex; flex-direction: column;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(47,125,209,.35) 0%, rgba(47,125,209,0) 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(212,175,110,.12) 0%, rgba(212,175,110,0) 70%),
    linear-gradient(180deg, #0B1D35 0%, #07111F 100%);
  padding: calc(env(safe-area-inset-top, 0px) + 28px) 20px calc(env(safe-area-inset-bottom, 0px) + 18px); }
.pt-centro { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; }
.pt-logo { width: 72px; height: 72px; margin: 0 auto; border-radius: 20px; padding: 4px; box-sizing: border-box;
  background: linear-gradient(145deg, rgba(255,255,255,.35), rgba(255,255,255,.05));
  box-shadow: 0 12px 40px rgba(47,125,209,.35), 0 0 0 1px rgba(255,255,255,.08); }
.pt-logo img { width: 100%; height: 100%; border-radius: 16px; display: block; }
.pt-firma { text-align: center; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.pt-titulo { text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -.8px; margin: 6px 0 4px; }
.pt-sub { text-align: center; font-size: 15px; color: rgba(255,255,255,.55); margin: 0 0 28px; }
.pt-cards { display: flex; flex-direction: column; gap: 14px; }
.pt-card { all: unset; cursor: pointer; box-sizing: border-box; position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 18px;
  border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .15s ease, box-shadow .2s ease; -webkit-tap-highlight-color: transparent; }
.pt-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--borde); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pt-card:hover { transform: translateY(-2px); box-shadow: 0 24px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1); }
.pt-card:active { transform: scale(.985); }
.pt-card:focus-visible { outline: 2px solid #7CC0FF; outline-offset: 3px; }
.pt-card-dtr { --borde: linear-gradient(135deg, #E9C77F, rgba(233,199,127,.15) 45%, rgba(233,199,127,.55));
  background: linear-gradient(160deg, rgba(233,199,127,.14), rgba(255,255,255,.02) 55%); }
.pt-card-est { --borde: linear-gradient(135deg, #5BA7F0, rgba(91,167,240,.12) 45%, rgba(91,167,240,.45)); }
.pt-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.pt-ic svg { width: 26px; height: 26px; }
.pt-card-dtr .pt-ic { background: linear-gradient(145deg, #F3D99B, #B8893A); box-shadow: 0 8px 20px rgba(184,137,58,.4); }
.pt-card-dtr .pt-ic svg { fill: #1A1204; }
.pt-card-est .pt-ic { background: linear-gradient(145deg, #5BA7F0, #1F5FA8); box-shadow: 0 8px 20px rgba(31,95,168,.45); }
.pt-card-est .pt-ic svg { fill: none; stroke: #fff; stroke-width: 1.8; }
.pt-card-est .pt-ic svg circle:last-child { fill: #fff; stroke: none; }
.pt-card-txt { flex: 1; min-width: 0; }
.pt-card-txt small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.pt-card-dtr small { color: #E9C77F; }
.pt-card-est small { color: #7CC0FF; }
.pt-card-txt b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin: 3px 0 4px; color: #fff; }
.pt-card-txt > span { display: block; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.62); }
.pt-go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }
.pt-link { all: unset; cursor: pointer; display: block; margin: 22px auto 0; font-size: 13.5px; color: rgba(255,255,255,.55); text-align: center; }
.pt-link b { color: #fff; font-weight: 700; }
.pt-pie { display: flex; justify-content: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.35); margin-top: 24px; }
.pt-pie a { color: rgba(255,255,255,.45); text-decoration: none; }
/* Marca pequeña (cabecera de «Tu estrategia») */
.pt-marca { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: 1.5px; font-size: 15px; color: #fff; }
.pt-marca img { border-radius: 9px; display: block; }

/* ── Formulario (pantalla completa) ──────────────────────────────────── */
.est-form { position: fixed; inset: 0; z-index: 9995; background: #0A1A2F; display: none; }
.est-form.abierto { display: block; }
body.est-sin-scroll { overflow: hidden; }
.est-caja { height: 100%; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; color: #fff; }
.est-cab { display: flex; align-items: center; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 10px; }
.est-atras, .est-x { all: unset; cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.08); font-size: 20px; flex: none; }
.est-x { font-size: 14px; }
.est-prog { flex: 1; height: 6px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden; }
.est-prog i { display: block; height: 100%; background: #2F7DD1; border-radius: 999px; transition: width .25s ease; }
.est-cuerpo { flex: 1; overflow-y: auto; padding: 18px 20px 20px; -webkit-overflow-scrolling: touch; }
.est-paso { font-size: 12px; font-weight: 800; color: #7CC0FF; letter-spacing: .6px; text-transform: uppercase; }
.est-cuerpo h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; margin: 6px 0 6px; line-height: 1.15; }
.est-sub { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.45; margin: 0 0 20px; }
.est-lbl { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); margin: 18px 0 8px; }
.est-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.est-chips-col { flex-direction: column; }
.est-chip { all: unset; cursor: pointer; box-sizing: border-box; padding: 11px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12);
  font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.est-chip.on { background: rgba(47,125,209,.25); border-color: #2F7DD1; }
.est-chip-check { padding-left: 42px; position: relative; }
.est-chip-check::before { content: ''; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 6px; border: 2px solid rgba(255,255,255,.4); }
.est-chip-check.on::before { background: #2F7DD1; border-color: #2F7DD1; }
.est-chip-check.on::after { content: '✓'; position: absolute; left: 18px; top: 50%; margin-top: -10px; font-size: 13px; font-weight: 900; }
.est-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.est-3 label span, .est-campo span, .est-fecha span { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 7px; }
.est-3 input, .est-campo input, .est-fecha input { width: 100%; box-sizing: border-box; font: inherit; font-size: 17px; color: #fff; background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px; outline: none; color-scheme: dark; }
.est-3 input:focus, .est-campo input:focus, .est-fecha input:focus { border-color: #2F7DD1; }
.est-campo { display: block; margin-bottom: 14px; }
.est-fecha { display: block; margin-top: 20px; }
.est-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.est-tile { all: unset; cursor: pointer; box-sizing: border-box; border-radius: 16px; padding: 18px 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); text-align: center; }
.est-tile.on { background: rgba(47,125,209,.25); border-color: #2F7DD1; }
.est-tile i { font-style: normal; font-size: 30px; display: block; }
.est-tile b { display: block; margin-top: 6px; font-size: 15px; }
.est-objs { display: flex; flex-direction: column; gap: 10px; }
.est-obj { all: unset; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); }
.est-obj.on { background: rgba(47,125,209,.25); border-color: #2F7DD1; }
.est-obj i { font-style: normal; font-size: 26px; }
.est-obj b { display: block; font-size: 16px; }
.est-obj small { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
.est-semana { display: flex; flex-direction: column; gap: 8px; }
.est-dia span { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 5px; }
.est-seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; background: rgba(255,255,255,.06); border-radius: 11px; padding: 3px; }
.est-seg button { all: unset; cursor: pointer; text-align: center; font-size: 12.5px; font-weight: 700; padding: 8px 0; border-radius: 8px; color: rgba(255,255,255,.7); }
.est-seg button.on { background: var(--c); color: #fff; }
.est-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.45; margin: 10px 0; }
.est-check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: #2F7DD1; }
.est-check a { color: #7CC0FF; }
.est-error { display: none; background: rgba(255,69,58,.15); border: 1px solid rgba(255,69,58,.45); color: #FFB4AE; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin-top: 8px; }
.est-pie { padding: 12px 20px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.est-sig { all: unset; cursor: pointer; box-sizing: border-box; display: block; width: 100%; text-align: center; background: #2F7DD1; color: #fff; font-weight: 800; font-size: 16.5px;
  padding: 16px; border-radius: 14px; }
.est-sig:disabled { opacity: .6; cursor: default; }

/* ── Mi estrategia ───────────────────────────────────────────────────── */
#screen-estrategia { background: #0A1A2F; color: #fff; }
.est-top { display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 8px; max-width: 760px; margin: 0 auto; }
.est-salir { all: unset; cursor: pointer; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.7); padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.07); }
.est-main { max-width: 760px; margin: 0 auto; padding: 8px 16px calc(env(safe-area-inset-bottom, 0px) + 40px); box-sizing: border-box; }
.est-hola { font-size: 14px; color: #7CC0FF; font-weight: 700; margin-top: 10px; }
.est-main h1 { font-size: 32px; font-weight: 800; letter-spacing: -.7px; margin: 2px 0 4px; }
.est-lead { color: rgba(255,255,255,.65); font-size: 15px; margin: 0 0 18px; }
.est-resumen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.est-resumen > div { background: linear-gradient(145deg, #1E5FA8, #0F3B70); border-radius: 16px; padding: 13px 12px; min-width: 0; }
.est-resumen span { display: block; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.7); }
.est-resumen b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.4px; margin: 4px 0 1px; }
.est-resumen small { font-size: 11.5px; color: rgba(255,255,255,.65); }
.est-h2 { font-size: 18px; font-weight: 800; margin: 26px 0 10px; }
.est-semana-tira { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.est-sd { background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 2px; text-align: center; min-width: 0; }
.est-sd small { display: block; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.6); }
.est-sd i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin: 6px auto; }
.est-sd span { display: block; font-size: 10.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.est-sd b { display: block; font-size: 11px; color: rgba(255,255,255,.75); margin-top: 2px; }
.est-tipos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .est-tipos { grid-template-columns: 1fr; } }
.est-tipo { background: #fff; color: #1C1C1E; border-radius: 18px; padding: 14px; border-top: 4px solid var(--c); }
.est-tipo-cab { display: flex; align-items: center; gap: 8px; }
.est-tipo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.est-tipo-cab b { font-size: 16px; }
.est-tipo-kcal { margin-left: auto; font-weight: 800; font-size: 15px; }
.est-macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.est-macros span { display: block; font-size: 11.5px; color: #8E8E93; font-weight: 700; }
.est-macros b { display: block; font-size: 19px; font-weight: 800; }
.est-macros small { font-size: 11px; color: #8E8E93; }
.est-barra { display: flex; height: 7px; border-radius: 999px; overflow: hidden; gap: 2px; }
.est-barra i { display: block; height: 100%; }
.est-timing { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.est-timing > div { background: #F2F4F7; border-radius: 11px; padding: 9px 11px; }
.est-timing small { display: block; font-size: 11.5px; font-weight: 800; color: #5B6B7F; text-transform: uppercase; letter-spacing: .3px; }
.est-timing b { display: block; font-size: 13.5px; margin-top: 2px; }
.est-comp { display: grid; gap: 10px; }
.est-comp > div { background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.35); border-radius: 14px; padding: 12px 14px; }
.est-comp small { display: block; font-size: 12px; font-weight: 800; color: #FFD27A; }
.est-comp b { display: block; font-size: 16px; margin-top: 3px; }
.est-comp span { font-size: 12.5px; color: rgba(255,255,255,.65); }
/* Competición con candado (14-oct): lo bloqueado se ve borroso, no se lee ni se copia. */
.est-comp > div { position: relative; }
.est-comp > div.cerrado b { padding-right: 28px; }
.est-candado { position: absolute; top: 11px; right: 12px; font-size: 16px; }
.est-borroso { margin-top: 8px; display: grid; gap: 6px; filter: blur(4px); user-select: none; -webkit-user-select: none; pointer-events: none; }
.est-borroso div { display: flex; gap: 10px; font-size: 13px; }
.est-borroso span { width: 72px; flex: none; color: rgba(255,255,255,.8); font-weight: 700; }
.est-borroso em { flex: 1; font-style: normal; color: rgba(255,255,255,.7); }
.est-borroso i { font-style: normal; color: #FFD27A; }
.est-lock-comp { margin-top: 12px; }
.est-plazas-slot { display: block; text-align: center; }
.est-plazas { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto 10px; padding: 6px 12px; border-radius: 999px; background: rgba(224,27,34,.14); border: 1px solid rgba(255,77,82,.45); color: #FFB3B5; font-size: 12.5px; font-weight: 700; }
.est-plazas b { color: #fff; font-size: 14px; font-weight: 900; }
.est-plazas i { width: 8px; height: 8px; border-radius: 50%; background: #FF4D52; animation: estLatido 1.6s infinite; }
@keyframes estLatido { 0% { box-shadow: 0 0 0 0 rgba(255,77,82,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,77,82,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,82,0); } }
@media (prefers-reduced-motion: reduce) { .est-plazas i { animation: none; } }
.est-wa-pie { display: block; text-align: center; margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.55); }
.est-claves { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.85); }
.est-btn-sec { all: unset; cursor: pointer; display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; color: #7CC0FF; padding: 10px 14px; border-radius: 12px; background: rgba(124,192,255,.1); }
.est-aviso { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.5; margin: 18px 0 0; }
.est-planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
@media (max-width: 640px) { .est-planes { grid-template-columns: 1fr; } }
.est-plan { border-radius: 18px; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; }
.est-plan small { font-size: 11.5px; font-weight: 800; color: #7CC0FF; letter-spacing: .6px; text-transform: uppercase; }
.est-plan b { font-size: 19px; margin: 6px 0 6px; }
.est-plan p { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 0 0 14px; flex: 1; }
.est-plan-top { background: linear-gradient(145deg, #1E5FA8, #0F3B70); border-color: rgba(124,192,255,.4); }
.est-plan-top small { color: #FFD27A; }
.est-btn { all: unset; cursor: pointer; box-sizing: border-box; text-align: center; background: #2F7DD1; color: #fff; font-weight: 800; font-size: 15px; padding: 13px; border-radius: 12px; }
.est-btn-claro { background: #fff; color: #0A1A2F; }
.est-btn:disabled { opacity: .6; cursor: default; }
.est-nota { font-size: 13.5px; color: #9FE3B4; margin-top: 12px; }
.est-derivar { background: rgba(255,210,122,.1); border: 1px solid rgba(255,210,122,.35); border-radius: 16px; padding: 16px; margin-top: 12px; }
.est-derivar b { font-size: 17px; }
.est-derivar p { color: rgba(255,255,255,.8); font-size: 14.5px; line-height: 1.5; margin: 8px 0 0; }
.est-cargando { color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 80px 16px; }
.est-cuenta-pie { margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.est-borrar { all: unset; cursor: pointer; font-size: 13px; color: rgba(255,255,255,.5); text-decoration: underline; }
.est-borrar:hover { color: #FFB4AE; }

/* Formulario v2 (27-sep): semana en su idioma, opciones alineadas, sin scroll lateral */
.est-form, .est-cuerpo { overflow-x: hidden; }
.est-cuerpo input { min-width: 0; max-width: 100%; }
.est-ayuda { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.45; margin: -2px 0 10px; }
.est-nums { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.est-nums button { all: unset; cursor: pointer; text-align: center; font-size: 17px; font-weight: 800; padding: 12px 0; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); }
.est-nums button.on { background: #2F7DD1; border-color: #2F7DD1; }
.est-fecha em { font-style: normal; color: rgba(255,255,255,.45); font-weight: 600; }
.est-opciones { display: flex; flex-direction: column; gap: 10px; }
.est-opcion { all: unset; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px;
  border-radius: 14px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.12); }
.est-opcion.on { background: rgba(47,125,209,.22); border-color: #2F7DD1; }
.est-cb { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255,255,255,.4); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.est-opcion.on .est-cb { background: #2F7DD1; border-color: #2F7DD1; }
.est-opcion.on .est-cb::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.est-opcion-t { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.est-pw { display: block; font-size: 12px; color: rgba(255,255,255,.5); margin-top: 7px; line-height: 1.4; }

/* Estrategia v2 (27-sep): semana editable, tipos desplegables y ejemplos reales */
.est-sd { all: unset; cursor: pointer; box-sizing: border-box; background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 2px; text-align: center; min-width: 0; border: 1.5px solid transparent; }
.est-sd.abierto { border-color: var(--c); background: rgba(255,255,255,.12); }
.est-ayuda-sem { font-size: 12.5px; color: rgba(255,255,255,.5); margin: 8px 2px 0; }
.est-editor-dia { margin-top: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 12px; }
.est-editor-tit { font-size: 14px; font-weight: 800; margin: 2px 2px 10px; }
.est-editor-ops { display: flex; flex-direction: column; gap: 6px; }
.est-editor-ops button { all: unset; cursor: pointer; box-sizing: border-box; display: block; padding: 10px 12px 10px 16px; border-radius: 12px; background: rgba(255,255,255,.05);
  border-left: 4px solid var(--c); }
.est-editor-ops button.on { background: rgba(255,255,255,.16); }
.est-editor-ops button.guardando { opacity: .5; }
.est-editor-ops b { display: block; font-size: 14.5px; }
.est-editor-ops small { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; line-height: 1.35; }
details.est-tipo { padding: 0; overflow: hidden; }
details.est-tipo > summary { list-style: none; cursor: pointer; padding: 14px; }
details.est-tipo > summary::-webkit-details-marker { display: none; }
details.est-tipo > :not(summary) { margin-left: 14px; margin-right: 14px; }
details.est-tipo > :last-child { margin-bottom: 14px; }
.est-tipo-chev { color: #C7C7CC; font-size: 20px; line-height: 1; transition: transform .2s; margin-left: 6px; }
details.est-tipo[open] .est-tipo-chev { transform: rotate(90deg); }
.est-tipo-que { font-size: 13px; color: #6B6B70; line-height: 1.45; margin-top: 0; margin-bottom: 4px; }
.est-ej { margin: 7px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.45; color: #3A3A3C; }
.est-ej li { margin-bottom: 3px; }
.est-ej em { font-style: normal; color: #8E8E93; font-size: 12px; white-space: nowrap; }
.est-ej-p { font-size: 13px; color: #3A3A3C; margin: 6px 0 0; line-height: 1.45; }

/* Intraentreno propio (27-sep) */
.est-intras { display: grid; gap: 12px; }
.est-intra-card { background: #fff; color: #1C1C1E; border-radius: 18px; padding: 14px; border-top: 4px solid #32ADE6; }
.est-intra-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.est-intra-cab b { font-size: 16px; }
.est-intra-cab button { all: unset; cursor: pointer; font-size: 13px; font-weight: 700; color: #0A84FF; margin-left: 12px; }
.est-intra-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 8px; }
.est-intra-cifras div { background: #F2F4F7; border-radius: 12px; padding: 8px; text-align: center; }
.est-intra-cifras b { display: block; font-size: 19px; font-weight: 800; }
.est-intra-cifras span { font-size: 11.5px; color: #6B6B70; }
.est-intra-iso { font-size: 13px; color: #3A3A3C; margin: 6px 0; line-height: 1.45; }
.est-intra-nota { font-size: 13.5px; color: #3A3A3C; margin: 10px 0 0; }
.est-intra-tomas { list-style: none; margin: 6px 0 0; padding: 0; }
.est-intra-tomas li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #E5E5EA; font-size: 14px; }
.est-intra-tomas li:last-child { border-bottom: 0; }
.est-intra-tomas span { font-weight: 800; color: #0A84FF; min-width: 38px; font-variant-numeric: tabular-nums; }
.est-intra-tomas b { flex: 1; font-weight: 600; }
.est-intra-tomas em { font-style: normal; color: #8E8E93; font-size: 12.5px; }
.est-intra-nuevo { all: unset; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 18px;
  border: 1.5px dashed rgba(124,192,255,.5); color: #7CC0FF; font-weight: 800; font-size: 15px; }
.est-intra-nuevo span { font-size: 20px; }
.est-intra-tit { flex: 1; text-align: center; font-weight: 800; font-size: 16px; }
.est-intra-prev { background: #fff; color: #1C1C1E; border-radius: 16px; padding: 12px 14px; }
.est-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.est-grid-3 .est-tile { padding: 12px 6px; }
.est-grid-3 .est-tile i { font-size: 24px; }
.est-grid-3 .est-tile b { font-size: 12.5px; }
.est-rec { font-size: 10.5px; font-weight: 800; color: #9FE3B4; margin-left: 4px; }

/* Carbs (27-sep): botón flotante y chat a pantalla completa con cabecera fija */
.est-carbs-fab { all: unset; cursor: pointer; position: fixed; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 50;
  display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: linear-gradient(145deg, #2F7DD1, #1B5AA6); box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12); }
.est-carbs-fab img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: cover; }
.est-carbs-fab b { display: block; font-size: 14px; color: #fff; }
.est-carbs-fab small { display: block; font-size: 11px; color: rgba(255,255,255,.75); }
.est-main { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 110px); }
.est-carbs { position: fixed; left: 0; right: 0; top: 0; height: 100%; z-index: 9996; background: #0A1A2F; display: none; }
.est-carbs.abierto { display: block; }
.est-ch-caja { height: 100%; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; color: #fff; }
.est-ch-cab { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px;
  background: linear-gradient(135deg, #0F2A4D, #133A6B); border-bottom: 1px solid rgba(255,255,255,.08); }
.est-ch-cab img { border-radius: 50%; background: #fff; }
.est-ch-cab b { display: block; font-size: 16px; }
.est-ch-cab small { display: block; font-size: 12px; color: rgba(255,255,255,.65); }
.est-ch-msgs { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.est-ch-m { max-width: 84%; padding: 10px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; word-wrap: break-word; }
.est-ch-m.yo { align-self: flex-end; background: #2F7DD1; border-bottom-right-radius: 6px; }
.est-ch-m.carbs { align-self: flex-start; background: #fff; color: #1C1C1E; border-bottom-left-radius: 6px; }
.est-ch-foto { display: block; font-size: 12px; opacity: .85; margin-bottom: 3px; }
.est-ch-typing { display: flex; gap: 5px; padding: 14px; }
.est-ch-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8E8E93; animation: estTyping 1.2s infinite; }
.est-ch-typing i:nth-child(2) { animation-delay: .2s; } .est-ch-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes estTyping { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.est-ch-vacio { text-align: center; padding: 20px 8px; }
.est-ch-vacio img { border-radius: 50%; background: #fff; }
.est-ch-vacio b { display: block; font-size: 18px; margin: 10px 0 6px; }
.est-ch-vacio p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; margin: 0 0 14px; }
.est-ch-sug { display: flex; flex-direction: column; gap: 8px; }
.est-ch-sug button { all: unset; cursor: pointer; font-size: 13.5px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); text-align: left; }
.est-ch-input { flex: none; padding: 8px 12px calc(env(safe-area-inset-bottom, 0px) + 10px); border-top: 1px solid rgba(255,255,255,.08); background: #0A1A2F; }
.est-ch-cupo { font-size: 12px; color: rgba(255,255,255,.6); text-align: center; margin-bottom: 6px; }
.est-ch-cupo b { color: #fff; }
.est-ch-fila { display: flex; align-items: flex-end; gap: 8px; }
.est-ch-fila textarea { flex: 1; min-width: 0; resize: none; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px; padding: 10px 14px; outline: none; max-height: 120px; }
.est-ch-cam { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); cursor: pointer; font-size: 18px; }
.est-ch-cam.off { opacity: .35; cursor: default; }
.est-ch-cam input { display: none; }
.est-ch-send { all: unset; cursor: pointer; flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #2F7DD1; font-size: 17px; }
.est-ch-send:disabled { opacity: .5; }
.est-ch-prev { position: relative; display: inline-block; margin-bottom: 8px; }
.est-ch-prev img { height: 70px; border-radius: 12px; display: block; }
.est-ch-prev button { all: unset; cursor: pointer; position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: #FF453A; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.est-ch-aviso { font-size: 11px; color: rgba(255,255,255,.4); text-align: center; margin-top: 6px; }
.est-ch-limite { flex: none; margin: 0 12px calc(env(safe-area-inset-bottom, 0px) + 12px); padding: 16px; border-radius: 18px; background: linear-gradient(145deg, #1E5FA8, #0F3B70); }
.est-ch-limite b { font-size: 16px; }
.est-ch-limite p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; margin: 6px 0 12px; }
.est-ch-limite .est-btn { display: block; }
.est-intra-cab > div { display: flex; flex: none; }

/* App de estrategia v3 (27-sep): pestañas, calendario, academia, progreso y ganchos */
.est-top { position: sticky; top: 0; z-index: 20; background: rgba(10,26,47,.98); max-width: none; }
.est-pill { all: unset; cursor: pointer; font-size: 12.5px; font-weight: 800; color: #1A1204; padding: 8px 13px; border-radius: 999px;
  background: linear-gradient(145deg, #F3D99B, #C99A48); box-shadow: 0 6px 16px rgba(201,154,72,.35); }
.est-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px); background: rgba(8,20,37,.99);
  border-top: 1px solid rgba(255,255,255,.08); }
.est-tabbar button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; color: rgba(255,255,255,.5); font-size: 10.5px; font-weight: 700; }
.est-tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.est-tabbar button.on { color: #7CC0FF; }
.est-tab-carbs img { width: 34px; height: 34px; border-radius: 50%; background: #fff; margin-top: -14px; box-shadow: 0 0 0 3px #0A1A2F, 0 6px 16px rgba(47,125,209,.5); }
.est-tab-carbs span { color: rgba(255,255,255,.75); }
.est-link { color: #7CC0FF; text-decoration: none; font-weight: 700; }
.est-tipos-1 { grid-template-columns: 1fr; }
.est-lock { margin-top: 14px; border-radius: 18px; padding: 16px; background: linear-gradient(160deg, rgba(233,199,127,.16), rgba(255,255,255,.03) 60%);
  border: 1px solid rgba(233,199,127,.4); }
.est-lock-cab { display: flex; justify-content: space-between; align-items: center; }
.est-lock-cab b { font-size: 16px; }
.est-lock-filas { margin: 12px 0; display: grid; gap: 8px; }
.est-lock-filas div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.est-lock-filas span { width: 74px; color: rgba(255,255,255,.75); font-weight: 700; }
.est-lock-filas i { flex: 1; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); filter: blur(1.5px); }
.est-lock-filas em { font-style: normal; color: rgba(255,255,255,.6); font-size: 12.5px; }
.est-lock p { font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.5; margin: 6px 0 12px; }
.est-lock .est-btn { display: block; }
.est-lock-mini { margin-top: 22px; }
.est-lock-mini b { font-size: 15px; }
.est-cal-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.est-cal-nav > div { flex: 1; text-align: center; }
.est-cal-nav b { display: block; font-size: 16px; }
.est-cal-nav small { font-size: 12px; color: rgba(255,255,255,.55); }
.est-cal-nav button { all: unset; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.est-cal-nav button:disabled { opacity: .3; cursor: default; }
.est-cal { display: flex; flex-direction: column; gap: 8px; }
.est-cal-dia { border-radius: 16px; background: rgba(255,255,255,.05); border-left: 4px solid var(--c); overflow: hidden; }
.est-cal-dia.hoy { background: rgba(124,192,255,.1); box-shadow: inset 0 0 0 1px rgba(124,192,255,.35); }
.est-cal-fila { all: unset; cursor: pointer; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; }
.est-cal-fecha { width: 38px; text-align: center; }
.est-cal-fecha b { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.est-cal-fecha small { font-size: 18px; font-weight: 800; }
.est-cal-tipo { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; }
.est-cal-tipo i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.est-cal-tipo em { font-style: normal; font-size: 11.5px; color: #FFD27A; font-weight: 700; }
.est-cal-mac { text-align: right; font-size: 12px; color: rgba(255,255,255,.6); }
.est-cal-mac b { font-size: 15px; color: #fff; }
.est-cal-mac small { display: block; font-size: 11px; }
.est-cal-ops { padding: 0 10px 10px; }
.est-cal-reset { all: unset; cursor: pointer; text-align: center; font-size: 13px; font-weight: 700; color: #FFD27A; padding: 8px; }
.est-aca-mod { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 14px; margin-top: 8px; }
.est-aca-cab { display: flex; justify-content: space-between; gap: 10px; }
.est-aca-cab b { font-size: 16px; }
.est-aca-cab span { font-size: 13px; font-weight: 800; color: #7CC0FF; }
.est-aca-barra { height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin: 8px 0 12px; }
.est-aca-barra i { display: block; height: 100%; background: linear-gradient(90deg, #2F7DD1, #7CC0FF); }
.est-aca-lecs { display: flex; flex-direction: column; gap: 6px; }
.est-aca-lec { all: unset; cursor: pointer; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); }
.est-aca-lec.cerrada { cursor: default; opacity: .55; }
.est-aca-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; background: rgba(124,192,255,.15); color: #7CC0FF; }
.est-aca-lec.hecha .est-aca-ic { background: #30D158; color: #fff; }
.est-aca-t { flex: 1; min-width: 0; }
.est-aca-t b { display: block; font-size: 14px; }
.est-aca-t small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.est-leccion h2 { font-size: 24px; }
.est-leccion-txt { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.88); margin-top: 12px; }
.est-video { display: inline-block; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #7CC0FF; font-weight: 700; text-decoration: none; }
.est-peso { margin-top: 12px; background: rgba(255,255,255,.05); border-radius: 16px; padding: 12px; }
.est-peso-graf { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.est-peso-fila { display: flex; gap: 8px; }
.est-peso-fila input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px 12px; outline: none; }
.est-peso-fila .est-btn { padding: 10px 16px; }
.est-datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.est-datos div { background: rgba(255,255,255,.05); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.est-datos span { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); font-weight: 700; }
.est-datos b { display: block; font-size: 14px; margin-top: 2px; }
.est-h1-hoy { font-size: 26px !important; }
.est-plato { align-self: flex-start; width: 86%; background: #fff; color: #1C1C1E; border-radius: 18px; padding: 12px 14px; border-top: 4px solid #30D158; }
.est-pl-cab { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.est-pl-cab b { font-size: 14.5px; }
.est-pl-cab span { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.est-pl-f { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 5px 0; }
.est-pl-f > span { width: 62px; color: #6B6B70; font-weight: 700; }
.est-pl-b { flex: 1; height: 8px; border-radius: 999px; background: #EEF1F5; overflow: hidden; }
.est-pl-b i { display: block; height: 100%; border-radius: 999px; }
.est-pl-f b { width: 48px; text-align: right; }
.est-pl-f small { width: 36px; text-align: right; color: #8E8E93; }
.est-plato p { font-size: 11.5px; color: #8E8E93; margin: 6px 0 0; }
.est-ch-analizar { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin-bottom: 12px; padding: 12px 18px; border-radius: 14px; font-weight: 800; font-size: 14.5px;
  background: linear-gradient(145deg, #2F7DD1, #1B5AA6); }
.est-ch-analizar input { display: none; }

/* iOS: el <input type=date> tiene ancho propio y se salía de la pantalla (27-sep, TestFlight). */
.est-fecha input[type="date"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px;
  box-sizing: border-box; text-align: left; line-height: 1.2; }
.est-fecha input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.est-fecha { overflow: hidden; }

/* Ficha de tipo de día v2 (27-sep): oscura y premium, en el color de su tipo */
.dx { position: relative; border-radius: 22px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, #10223C) 0%, #0D1B31 55%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.07); }
.dx::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c), transparent 85%); }
.dx > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; }
.dx > summary::-webkit-details-marker { display: none; }
.dx-cab-t { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dx-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--c); }
.dx-kcal { font-size: 30px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1; }
.dx-kcal small { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.5); margin-left: 4px; letter-spacing: 0; }
.dx-chev { width: 26px; height: 26px; border-radius: 50%; flex: none; background: rgba(255,255,255,.07); position: relative; transition: transform .2s; }
.dx-chev::after { content: ''; position: absolute; left: 9px; top: 8px; width: 6px; height: 6px; border: solid rgba(255,255,255,.7); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dx[open] .dx-chev { transform: rotate(180deg); }
.dx > :not(summary) { margin-left: 18px; margin-right: 18px; }
.dx > :last-child { margin-bottom: 18px; }
.dx-que { font-size: 13.5px; color: rgba(255,255,255,.62); line-height: 1.5; margin-top: -4px; margin-bottom: 14px; }
.dx-barra { display: flex; gap: 3px; height: 8px; border-radius: 999px; overflow: hidden; }
.dx-barra u { display: block; height: 100%; }
.dx-barra .h, .dx-mac.h u { background: #4DA3FF; }
.dx-barra .p, .dx-mac.p u { background: #FF5C7A; }
.dx-barra .g, .dx-mac.g u { background: #FFB547; }
.dx-macs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.dx-mac { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 10px 11px; min-width: 0; }
.dx-mac span { display: block; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.55); }
.dx-mac b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; margin: 3px 0 7px; }
.dx-mac b small { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 700; }
.dx-mac i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.dx-mac i u { display: block; height: 100%; border-radius: 3px; }
.dx-mac em { display: block; font-style: normal; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dx-linea { list-style: none; padding: 0; margin-top: 18px; position: relative; }
.dx-linea::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--c), rgba(255,255,255,.08)); border-radius: 2px; }
.dx-paso { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.dx-paso:last-child { padding-bottom: 0; }
.dx-nodo { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 2px; background: #0D1B31; border: 2px solid var(--c); box-shadow: 0 0 0 4px rgba(13,27,49,1); position: relative; z-index: 1; }
.dx-paso.durante .dx-nodo { background: var(--c); }
.dx-paso-c { flex: 1; min-width: 0; }
.dx-paso-c small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dx-paso-c b { display: block; font-size: 15.5px; font-weight: 800; margin-top: 3px; line-height: 1.3; }
.dx-ej { list-style: none; padding: 0; margin: 9px 0 0; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.04); }
.dx-ej li { display: flex; align-items: baseline; gap: 10px; padding: 9px 11px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.85); }
.dx-ej li + li { border-top: 1px solid rgba(255,255,255,.06); }
.dx-ej span { flex: 1; min-width: 0; }
.dx-ej em { font-style: normal; flex: none; font-size: 12px; font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; }
.dx-nota { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 6px 0 0; }
.dx-desc { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.55; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); }
.dx-desc b { color: #fff; }
@media (prefers-reduced-motion: reduce) { .dx-chev { transition: none; } }
.dx-mac em { white-space: normal; overflow: visible; }
/* Intraentreno en oscuro, como la ficha del día */
.est-intra-card { background: linear-gradient(180deg, #13294A, #0D1B31); color: #fff; border: 1px solid rgba(255,255,255,.07); border-top: 3px solid #32ADE6; border-radius: 22px; }
.est-intra-card .est-intra-cifras div { background: rgba(255,255,255,.05); }
.est-intra-card .est-intra-cifras span, .est-intra-card .est-intra-tomas em { color: rgba(255,255,255,.55); }
.est-intra-card .est-intra-iso, .est-intra-card .est-intra-nota { color: rgba(255,255,255,.78); }
.est-intra-card .est-intra-tomas li { border-bottom-color: rgba(255,255,255,.07); }
.est-intra-card .est-intra-tomas span { color: #7CC0FF; }
.est-intra-card .est-intra-cab button { color: #7CC0FF; }
/* Calendario: explicación */
.est-cal-ayuda { border-radius: 18px; padding: 16px; margin-bottom: 14px; background: linear-gradient(160deg, rgba(47,125,209,.22), rgba(255,255,255,.03) 70%); border: 1px solid rgba(124,192,255,.35); }
.est-cal-ayuda-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.est-cal-ayuda-cab b { font-size: 16px; }
.est-cal-ayuda-cab button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.est-cal-ayuda ol { margin: 10px 0 14px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.est-cal-ayuda ol b { color: #fff; }
.est-cal-ayuda .est-btn { display: block; }
.est-cal-ayuda-btn { display: inline-block; margin: -6px 0 12px; font-size: 14px; }

/* Acceso a Construye tu rendimiento (27-sep): el enlace de pago va por correo */
.est-top-cta { all: unset; cursor: pointer; box-sizing: border-box; max-width: calc(100% - 48px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 12.5px; font-weight: 800; letter-spacing: .1px; color: #1A1204; padding: 9px 14px; border-radius: 999px;
  background: linear-gradient(145deg, #F3D99B, #C99A48); box-shadow: 0 6px 18px rgba(201,154,72,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.est-top-cta:active { transform: scale(.97); }
@media (max-width: 440px) { .est-top .pt-marca span { display: none; } .est-top-cta { font-size: 12px; padding: 9px 12px; } }
.est-ag-lead { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.78); margin: 0 0 18px; }
.est-ag-error { color: #FF8A8A; font-size: 13.5px; font-weight: 600; margin: 0 0 12px; }
.est-ag-pie { font-size: 12.5px; color: rgba(255,255,255,.55); text-align: center; margin-top: 12px; line-height: 1.5; }
.est-activar .est-btn { display: block; width: 100%; margin-top: 6px; }
.est-ac-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: #E9C77F; }
.est-ac-h { font-size: 28px !important; letter-spacing: -.6px; margin: 6px 0 10px !important; }
.est-ac-lista { list-style: none; margin: 0 0 18px; padding: 0; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.est-ac-lista li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.est-ac-lista li:last-child { border-bottom: 0; }
.est-ac-lista span { font-size: 20px; line-height: 1.2; flex: none; }
.est-ac-lista b { display: block; font-size: 15px; }
.est-ac-lista small { display: block; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.6); margin-top: 2px; }
.est-ac-precio { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 4px 0 14px; }
.est-ac-precio b { font-size: 32px; font-weight: 800; letter-spacing: -.8px; color: #E9C77F; font-variant-numeric: tabular-nums; }
.est-ac-precio span { font-size: 14px; color: rgba(255,255,255,.6); font-weight: 600; }
.est-ac-ok { text-align: center; padding: 14px 2px; }
.est-ac-ok > b { display: block; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.est-ac-ok > p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.75); }
.est-ac-sobre { width: 72px; height: 72px; margin: 8px auto 16px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 34px;
  background: linear-gradient(145deg, rgba(47,125,209,.35), rgba(47,125,209,.12)); border: 1px solid rgba(124,192,255,.3); }
.est-ac-pasos { text-align: left; margin: 18px 0 20px; padding: 14px 14px 14px 34px; border-radius: 16px; background: rgba(255,255,255,.04); font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.8); }
.est-ac-pasos li { margin: 4px 0; }
.est-ac-ok .est-btn-sec { margin-top: 12px; }
.est-perfil-acc { display: flex; flex-wrap: wrap; gap: 8px; }
.est-perfil-acc .est-btn-sec { margin-top: 12px; }
/* Objetivos: hasta 2 (27-sep) */
.est-obj span { flex: 1; }
.est-obj-n { font-style: normal; flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 800; border: 1.5px solid rgba(255,255,255,.25); box-sizing: border-box; }
.est-obj.on .est-obj-n { background: #2F7DD1; border-color: #2F7DD1; color: #fff; }
.est-obj-nota { font-size: 13.5px; color: #9FE3B4; margin: 12px 2px 0; line-height: 1.45; }

/* Fuentes de las recomendaciones (Apple 1.4.1) */
.dtr-fuentes { display: inline; font-size: 11.5px; opacity: .85; }
.dtr-fuentes a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.dtr-fuentes-linea { margin-top: 10px; font-size: 11.5px; color: rgba(255,255,255,.55); }

/* ── 15-oct: prueba social, hueco del menú, urgencia y vídeo en la lección ── */
.est-testi { margin: 12px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(124,192,255,.22); }
.est-testi-cab { display: flex; align-items: center; gap: 10px; }
.est-testi-cab b { display: block; font-size: 13.5px; }
.est-testi-cab small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #7CC0FF; }
.est-testi-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #0A1A2F; background: linear-gradient(135deg, #FFD27A, #E9C77F); }
.est-testi-cifra { font-size: 20px; font-weight: 800; line-height: 1.25; margin-top: 10px; letter-spacing: -.2px; }
.est-testi-det { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.45; margin: 2px 0 0; }
.est-testi blockquote { margin: 10px 0 0; font-size: 14px; font-style: italic; color: rgba(255,255,255,.88); line-height: 1.45; }
.est-plan .est-testi { margin: 0 0 14px; background: rgba(10,26,47,.35); }
.est-testi-mini { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.est-testi-mini .est-testi-av { width: 28px; height: 28px; font-size: 13px; }
.est-testi-mini p { margin: 0 !important; font-size: 13px !important; line-height: 1.4 !important; color: rgba(255,255,255,.8) !important; }
.est-testi-mini p b { font-size: 13.5px; color: #fff; }
.est-testi-mini small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
.est-hueco { margin: 10px 0 4px !important; }
.est-hueco b { color: #FFD27A; }
.est-borroso-menu { margin: 8px 0 12px; }
.est-urgencia { margin: 8px 0 6px !important; padding: 10px 12px; border-radius: 12px; background: rgba(255,159,10,.14); border: 1px solid rgba(255,159,10,.35); color: #fff !important; }
.est-urgencia b { color: #FFD27A; }
.est-curso-fin { margin-top: 18px; background: linear-gradient(160deg, rgba(124,192,255,.2), rgba(255,255,255,.03) 65%); border-color: rgba(124,192,255,.45); }
.est-curso-fin .est-testi { margin: 4px 0 12px; }
.est-lock .est-testi { margin: 4px 0 12px; }
.est-video-wrap { position: relative; width: 100%; padding-top: 56.25%; border-radius: 16px; overflow: hidden; background: #0A1A2F; margin: 10px 0 4px; }
.est-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.est-leccion-cta { margin-top: 14px; }
.est-leccion-cta .est-btn { display: block; }
