/* Widget "Hoy" del inicio (assets/plan-hoy.js). Es lo primero que se ve al
   entrar: lo que toca hoy, con casilla para marcar lo hecho. */
.hoyW{position:relative;text-align:left;margin:22px 0 4px;background:#fff;color:#1f3162;border-radius:24px;padding:20px 22px 16px;
  box-shadow:0 26px 60px -24px rgba(0,0,0,.65);border-top:5px solid #7f55ff;overflow:hidden}
.hoyW::after{content:"";position:absolute;right:-70px;top:-70px;width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(167,139,250,.4),rgba(167,139,250,0) 70%);pointer-events:none}
.hoyW *{box-sizing:border-box}
.hoyW .hw-top{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;position:relative;z-index:1}
.hoyW .hw-fecha span{display:block;font-size:.7rem;font-weight:800;letter-spacing:.14em;color:#6b8191}
.hoyW .hw-fecha b{font-size:1.6rem;font-weight:900;line-height:1.15;letter-spacing:-.01em;color:#1f3162;display:block;margin-top:2px}.hoyW .hw-fecha b::first-letter{text-transform:uppercase}
.hoyW .hw-cuenta{display:flex;gap:8px;flex-wrap:wrap}
.hoyW .hw-cuenta span{font-size:.76rem;font-weight:800;border-radius:99px;padding:5px 11px;background:#f0eef9;color:#1f3162;white-space:nowrap}
.hoyW .hw-cuenta span.dos{background:#f1e7f6;color:#4e2468}
.hoyW .hw-cuenta b{font-size:.95rem}
.hoyW .hw-main{display:flex;gap:18px;align-items:center;margin:14px 0 10px;position:relative;z-index:1}
.hoyW .hw-anillo{position:relative;width:92px;height:92px;flex:none}
.hoyW .hw-anillo svg{display:block}
.hoyW .hw-anillo .hw-c{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05}
.hoyW .hw-anillo .hw-c b{font-size:1.4rem;color:#1f3162;font-weight:900}
.hoyW .hw-anillo .hw-c small{font-size:.66rem;font-weight:700;color:#6b8191}
.hoyW .hw-msg h2{margin:0 0 3px;font-size:1.35rem;line-height:1.15;color:#1f3162}
.hoyW .hw-msg p{margin:0;font-size:.9rem;color:#6130e8;line-height:1.45}
.hoyW .hw-cabl{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:14px 2px 8px;position:relative;z-index:1}
.hoyW .hw-cabl b{font-size:.74rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#6b8191}
.hoyW .hw-cabl span{font-size:.78rem;font-weight:700;color:#6b8191}
.hoyW .hw-lista{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;position:relative;z-index:1}
/* 19-10-2026: cada bloque plegado en una línea; abierto muestra exámenes y botones */
.hoyW .hw-row{display:block;border:1.5px solid #e3e1f0;border-radius:14px;background:#fff;transition:border-color .2s,background .2s}
.hoyW .hw-row.open{border-color:#cfc6fb;background:#fbfaff}
.hoyW .hw-row.hecho{background:#f2f9f5;border-color:#cfe8d9}
.hoyW .hw-cab{display:flex;align-items:center;gap:11px;padding:10px 12px 10px 11px;cursor:pointer;min-width:0}
.hoyW .hw-row.hecho .hw-cab{cursor:default}
.hoyW .hw-ico{flex:none;width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.02rem;background:var(--ab,#f0eef9)}
.hoyW .hw-tt{display:block;font-size:.98rem;line-height:1.25;color:#1f3162;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hoyW .hw-row.hecho .hw-tt{color:#5e7a6b;text-decoration:line-through;text-decoration-color:#9ab7a6}
.hoyW .hw-area{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;font-weight:700;color:var(--ac,#6d3cf5);margin-top:1px}
/* 20-10-2026: qué día vuelve un tema ya hecho */
.hoyW .hw-vuelve{display:block;font-size:.76rem;font-weight:600;color:#5b5675;margin-top:2px}
.hoyW .hw-area::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--ac,#6d3cf5)}
.hoyW .hw-encurso{flex:none;font-size:.68rem;font-weight:800;color:#6d3cf5;background:#ece6ff;border-radius:99px;padding:3px 8px}
.hoyW .hw-min{flex:none;font-size:.76rem;font-weight:800;color:#6b8191;background:#f0eef9;border-radius:99px;padding:4px 9px}
.hoyW .hw-fl{flex:none;width:18px;height:18px;color:#9a93c4;transition:transform .2s}
.hoyW .hw-row.open .hw-fl{transform:rotate(180deg)}
.hoyW .hw-cuerpo{display:none;flex-wrap:wrap;align-items:center;gap:8px;padding:0 12px 12px 56px}
.hoyW .hw-row.open .hw-cuerpo{display:flex}
.hoyW .hw-cuerpo .hw-ej{margin:0;flex:1 1 auto}
.hoyW .hw-cuerpo .hw-acc{margin-left:auto;display:flex;flex-direction:row;align-items:center;gap:12px}
.hoyW .hw-parte{flex-basis:100%;font-size:.76rem;font-weight:700;color:#6b8191}
.hoyW .hw-chk{width:28px;height:28px;border-radius:50%;border:2.5px solid var(--tc,#6d3cf5);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;color:#fff;padding:0;flex:none;transition:.15s;font-family:inherit}
.hoyW .hw-chk:hover{background:#f0eef9;transform:scale(1.07)}
.hoyW .hw-chk:focus-visible{outline:3px solid rgba(167,139,250,.55);outline-offset:2px}
.hoyW .hw-row.hecho .hw-chk{background:#2e9b57;border-color:#2e9b57;cursor:default;transform:none}
.hoyW .hw-row.hecho .hw-chk::before{content:"✓";font-weight:900}
.hoyW .hw-cu{flex:1;min-width:0}
.hoyW .hw-ir{font-size:.84rem;font-weight:800;color:#ffffff;text-decoration:none;background:linear-gradient(135deg,#8b5cff,#6d3cf5);border-radius:10px;padding:8px 13px;white-space:nowrap;box-shadow:0 6px 14px -8px rgba(109,60,245,.9)}
.hoyW .hw-ir:hover{filter:brightness(1.05)}
.hoyW .hw-acc .hw-ir{text-align:center}
.hoyW .hw-row.hecho .hw-ir{display:none}
.hoyW .hw-ej{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.hoyW .hw-ej a{font-size:.76rem;font-weight:700;color:#2b1174;background:#e5dcff;border:1px solid #b8a3f1;border-radius:99px;padding:3px 10px;text-decoration:none}
.hoyW .hw-ej a.ok{color:#1b7f55;background:rgba(34,160,107,.12);border-color:#9fd8bd}
.hoyW .hw-car{display:none;gap:8px;align-items:center;flex-wrap:wrap;font-size:.84rem;color:#6130e8;padding:0 12px 12px 56px}
.hoyW .hw-row.cara .hw-car{display:flex}
.hoyW .hw-car button{border:1.5px solid #dedbee;background:#fff;border-radius:12px;padding:6px 12px;font-family:inherit;font-size:1.15rem;cursor:pointer}
.hoyW .hw-car button span{font-size:.72rem;font-weight:800;color:#6b8191;margin-left:5px}
.hoyW .hw-car button:hover{border-color:#6d3cf5;background:#f0eaff}
.hoyW .hw-vacio{margin:6px 0 0;font-size:.95rem;color:#6130e8;background:#f5f4fb;border-radius:12px;padding:13px 15px;position:relative;z-index:1}
.hoyW .hw-vacio .hw-ir{border:0;cursor:pointer;font-family:inherit;display:inline-block}
.hoyW .hw-pie{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:12px;border-top:1px dashed #d7d4e9;position:relative;z-index:1}
/* 19-10-2026: tiempo de hoy plegado, con reloj y barras */
.hoyW .hw-tiempo{background:linear-gradient(135deg,#f6f3ff,#efeaff);border:1.5px solid #e2daff;border-radius:12px}
.hoyW .hw-tiempo.open{border-color:#cfc6fb}
.hoyW .hw-tsum{display:flex;align-items:center;gap:9px;width:100%;background:none;border:0;padding:6px 10px 6px 7px;font-family:inherit;cursor:pointer;text-align:left;color:#1f3162}
.hoyW .hw-reloj{position:relative;flex:none;width:30px;height:30px}
.hoyW .hw-reloj svg{display:block;width:30px;height:30px}
.hoyW .hw-reloj svg circle+circle{transition:stroke-dashoffset .5s cubic-bezier(.3,1.4,.5,1)}
.hoyW .hw-reloj span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.72rem}
.hoyW .hw-tq{flex:1;min-width:0;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;line-height:1.15}
.hoyW .hw-tq b{font-size:.98rem;font-weight:900;color:#1f3162}
.hoyW .hw-tq small{font-size:.74rem;font-weight:700;color:#6b8191}
.hoyW .hw-tsum em{flex:none;display:flex;align-items:center;gap:3px;font-style:normal;font-size:.74rem;font-weight:800;color:#6d3cf5;background:#fff;border:1.5px solid #e2daff;border-radius:99px;padding:3px 6px 3px 10px}
.hoyW .hw-tsum em svg{width:13px;height:13px;transition:transform .2s}
.hoyW .hw-tiempo.open .hw-tsum em svg{transform:rotate(180deg)}
.hoyW .hw-barras,.hoyW .hw-otro{display:none}
.hoyW .hw-tiempo.open .hw-barras{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;padding:4px 10px 2px;align-items:end;max-width:340px;margin:0 auto}
.hoyW .hw-tiempo.open .hw-otro{display:block;text-align:center;padding:5px 0 8px}
.hoyW .hw-barras button{font-family:inherit;font-size:.68rem;font-weight:800;color:#6b8191;background:none;border:0;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;white-space:nowrap}
.hoyW .hw-barras i{display:block;width:100%;max-width:30px;height:calc(8px + 30px * var(--h));border-radius:6px 6px 4px 4px;background:#ddd4fd;transition:background .2s,transform .2s}
.hoyW .hw-barras button:hover i{background:#c9bcfb;transform:translateY(-2px)}
.hoyW .hw-barras button.on{color:#6d3cf5}
.hoyW .hw-barras button.on i{background:linear-gradient(180deg,#a78bfa,#6d3cf5);box-shadow:0 8px 16px -8px rgba(109,60,245,.8)}
.hoyW .hw-otro button{background:none;border:0;padding:0;font-family:inherit;font-size:.72rem;font-weight:700;color:#6d3cf5;cursor:pointer;text-decoration:underline}
.hoyW .hw-otro button.on{font-weight:900}
.hoyW .hw-otro input{width:130px;border:1px solid #6d3cf5;border-radius:99px;padding:4px 10px;font-family:inherit;font-size:.78rem;font-weight:800;color:#1f3162;outline:none;background:#fff;text-align:center}
.hoyW .hw-chips{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:.78rem;color:#6b8191;font-weight:700}
.hoyW .hw-chips button{border:1px solid #dedbee;background:#fff;border-radius:99px;padding:4px 10px;font-family:inherit;font-size:.78rem;font-weight:800;color:#1f3162;cursor:pointer}
.hoyW .hw-chips button.on{background:#1f3162;color:#fff;border-color:#1f3162}
.hoyW .hw-chips button:hover{border-color:#6d3cf5}
.hoyW .hw-lnk{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.hoyW .hw-lnk a,.hoyW .hw-lnk button{display:inline-flex;align-items:center;gap:5px;font-family:inherit;font-size:.78rem;font-weight:800;text-decoration:none;border-radius:99px;padding:6px 12px;cursor:pointer;transition:.15s}
.hoyW .hw-lnk a:hover,.hoyW .hw-lnk button:hover{transform:translateY(-1px)}
.hoyW .hw-lnk .nop{color:#6b8191;background:#fff;border:1.5px solid #e3e1f0}
.hoyW .hw-lnk .nop:hover{border-color:#cfc6fb;color:#1f3162}
.hoyW .hw-lnk .cam{color:#6d3cf5;background:#ece6ff;border:1.5px solid #ece6ff}
.hoyW .hw-lnk .cam:hover{background:#e0d7ff}
.hoyW .hw-prep{font-size:.78rem;font-weight:800;color:#1f3162;background:#f0eef9;border-radius:99px;padding:4px 11px}
.hoyW .hw-deb{margin-top:10px;font-size:.82rem;color:#7a3a00;background:#fff3e6;border-radius:10px;padding:7px 11px;position:relative;z-index:1}
.hoyW .hw-toast{position:absolute;left:50%;top:12px;transform:translate(-50%,-14px);background:#1f3162;color:#fff;font-size:.8rem;font-weight:700;border-radius:99px;padding:7px 16px;opacity:0;pointer-events:none;transition:.25s;z-index:5;width:max-content;max-width:calc(100% - 24px);text-align:center}
.hoyW .hw-toast.on{opacity:1;transform:translate(-50%,0)}
.hoyW.listo{border-top-color:#2e9b57}
.hoyW .hw-teaser{display:flex;gap:14px;align-items:center;text-decoration:none;color:#1f3162;position:relative;z-index:1}
.hoyW .hw-teaser .ic{width:50px;height:50px;border-radius:14px;background:linear-gradient(135deg,#8b5cff,#6d3cf5);display:flex;align-items:center;justify-content:center;font-size:1.6rem;flex:none}
.hoyW .hw-teaser h2{margin:0 0 2px;font-size:1.15rem}.hoyW .hw-teaser p{margin:0;font-size:.88rem;color:#6130e8}
@media(max-width:600px){
  .hoyW{padding:16px 15px 14px;border-radius:20px}
  .hoyW .hw-main{gap:13px}.hoyW .hw-anillo{width:76px;height:76px}.hoyW .hw-anillo svg{width:76px;height:76px}
  .hoyW .hw-msg h2{font-size:1.15rem}
  .hoyW .hw-fecha b{font-size:1.42rem}
  .hoyW .hw-min{display:none}
  .hoyW .hw-encurso{font-size:0;padding:0;width:9px;height:9px;background:#8b5cff;box-shadow:0 0 0 4px #ece6ff}
  .hoyW .hw-cuerpo,.hoyW .hw-car{padding-left:12px}
}
@media(prefers-reduced-motion:reduce){.hoyW *{transition:none!important}}
/* tarjeta del paso a paso (base en prueba.css): conceptos arriba, un punto por concepto */
.hoyW .hw-guiabar{margin:16px 0 4px;position:relative;z-index:1}
.hoyW a.hw-guiabar{text-decoration:none;box-sizing:border-box}
.hoyW .hw-guiabar .ic{width:48px;height:48px;font-size:1.05rem;animation:hwPulso 2.4s infinite}
@keyframes hwPulso{0%{box-shadow:0 0 0 0 rgba(139,92,255,.55)}70%{box-shadow:0 0 0 11px rgba(139,92,255,0)}100%{box-shadow:0 0 0 0 rgba(139,92,255,0)}}
.hoyW .hw-guiabar small{font-size:.7rem;letter-spacing:.1em;color:#b9a6ff}
.hoyW .hw-guiabar b{font-size:1.12rem;font-weight:800;line-height:1.25}
.hoyW .hw-guiabar .segs{gap:5px;margin-top:7px}
.hoyW .hw-guiabar .segs i{max-width:38px;height:6px;border-radius:6px}
.hoyW .hw-guiabar .segs i.ok{background:#a78bfa}
.hoyW .hw-guiabar .segs i.on{background:linear-gradient(90deg,#a78bfa 50%,#ffffff29 50%)}
.hoyW .hw-guiabar .go{font-size:.92rem;padding:10px 16px;border-radius:12px}
.hoyW .hw-chips input{width:118px;border:1px solid #6d3cf5;border-radius:99px;padding:4px 10px;font-family:inherit;font-size:.78rem;font-weight:800;color:#1f3162;outline:none;background:#fff}
/* PLA-1018-1: el primer bloque pendiente es la acción principal del día */
.hoyW .hw-row.sig{border-color:#b9a4ff;box-shadow:0 10px 24px -16px rgba(109,60,245,.85)}
.hoyW .hw-sigtx{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6d3cf5;margin-bottom:3px}
.hoyW .hw-lista.con-sig .hw-row:not(.sig):not(.hecho) .hw-ir,.hoyW .hw-lista.con-sig .hw-row:not(.sig):not(.hecho) .hw-guia{background:#f1edff;color:#5b2fd6;box-shadow:none}
