/* InverTIC: experiencia web móvil exclusiva del estudiante. */
body.student-experience,
body.student-login-experience{
  --student-blue:#155da8;--student-blue-strong:#0d477f;--student-navy:#153755;--student-ink:#20364d;--student-muted:#667b90;--student-soft:#eef6fd;--student-soft-2:#f7fafd;--student-line:#d9e6f1;--student-success:#16875f;--student-warning:#d48806;--student-danger:#ca3344;--student-shadow:0 8px 26px rgba(24,61,96,.09);
  margin:0;padding:0;align-items:flex-start;justify-content:center;overflow-x:hidden;overflow-y:auto;background:#edf3f8;color:var(--student-ink)
}
body.student-experience #animated-bg,body.student-login-experience #animated-bg{display:none}
body.student-experience #app,body.student-login-experience #app{width:100%;max-width:520px;min-height:100dvh;height:auto;margin:0 auto;padding:0 0 calc(82px + env(safe-area-inset-bottom));overflow:visible;border-radius:0;background:#fff;box-shadow:0 0 34px rgba(24,55,88,.12)}
body.student-login-experience #app{padding-bottom:0}

/* Cabecera compacta */
body.student-experience #app>.topbar{position:sticky;z-index:50;top:0;min-height:62px;padding:8px 12px;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px;align-items:center;background:rgba(255,255,255,.96);border-bottom:1px solid var(--student-line);box-shadow:0 4px 18px rgba(22,58,94,.055);backdrop-filter:blur(12px)}
body.student-login-experience #app>.topbar{position:sticky;z-index:50;top:0;min-height:64px;padding:8px 12px;display:grid;grid-template-columns:1fr;gap:6px;align-items:center;background:rgba(255,255,255,.96);border-bottom:1px solid var(--student-line);box-shadow:0 4px 18px rgba(22,58,94,.055);backdrop-filter:blur(12px)}
body.student-experience #app>.topbar .logo,body.student-login-experience #app>.topbar .logo{gap:6px;font-size:.96rem;white-space:nowrap}
body.student-experience #app>.topbar .logo img,body.student-login-experience #app>.topbar .logo img{width:31px;height:31px}
body.student-experience #app>.topbar .nav-buttons,body.student-login-experience #app>.topbar .nav-buttons{display:none!important}
body.student-experience #app>.topbar .user-badge{display:grid!important;grid-template-columns:20px minmax(0,1fr) 32px;align-items:center;gap:7px;width:100%;max-width:none;min-width:0;margin:0;padding:5px 6px 5px 8px;border:1px solid #dce8f2;border-radius:13px;background:var(--student-soft);color:var(--student-navy);font-size:.66rem;line-height:1.2;overflow:hidden;white-space:normal}body.student-experience #app>.topbar .user-badge>i{font-size:1rem;color:var(--student-blue)}body.student-experience #app>.topbar .user-badge #userNameDisplay{display:block;min-width:0;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.student-experience #app>.topbar .user-badge button{display:grid;place-items:center;width:32px;height:32px;margin:0!important;border-radius:9px!important;background:#fff!important;color:var(--student-danger)!important;font-size:.8rem!important;box-shadow:0 2px 8px rgba(43,71,97,.1)}

/* Cabecera móvil compacta: usuario, novedades y salida permanecen en una línea. */
body.student-experience #app>.topbar{min-height:52px;padding:5px 10px;gap:8px}
body.student-experience #app>.topbar .logo{font-size:.88rem}
body.student-experience #app>.topbar .logo img{width:27px;height:27px}
body.student-experience #app>.topbar .user-badge{grid-template-columns:18px minmax(0,1fr) 30px 30px;gap:5px;padding:3px 5px 3px 7px;border-radius:11px;font-size:.61rem}
body.student-experience #app>.topbar .user-badge button{width:30px;height:30px;border-radius:8px!important;font-size:.74rem!important;box-shadow:none}
body.student-experience #app>.topbar .user-badge #invReleaseEntry{grid-column:3;grid-row:1}
body.student-experience #app>.topbar .user-badge>button:last-child{grid-column:4;grid-row:1}

/* Una sola superficie de desplazamiento evita contenido atrapado. */
body.student-experience .view,body.student-login-experience .view{min-height:calc(100dvh - 58px);max-height:none;padding:14px 15px 30px;overflow:visible;background:#fff}
body.student-experience .view.visible{animation:studentEnter .22s ease both}
@keyframes studentEnter{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}
body.student-experience .btn-volver{min-height:40px;margin:0 0 12px;padding:8px 12px;border:1px solid #d9e6f1;border-radius:12px;background:var(--student-soft-2);color:var(--student-blue);font-size:.78rem;font-weight:800}
body.student-experience #view-student-dashboard>.btn-volver{display:none!important}
body.student-experience .dash-header{align-items:flex-start;gap:8px;margin:0 0 14px;padding:0}
body.student-experience .dash-header h2{font-size:1.2rem;line-height:1.28;color:var(--student-navy)}
body.student-experience .badge-pill{display:none}

/* Inicio */
.student-home-welcome{position:relative;isolation:isolate;min-height:142px;margin:0 0 14px;padding:22px 20px;overflow:hidden;border-radius:20px;background:linear-gradient(120deg,#1767b5 0%,#12385f 48%,#1c6eae 72%,#12385f 100%);background-size:220% 220%;color:#fff;box-shadow:0 12px 28px rgba(21,93,168,.2);animation:studentHeroShift 10s ease-in-out infinite}
.student-home-welcome:before,.student-home-welcome:after{content:"";position:absolute;z-index:-1;border-radius:999px;background:rgba(255,255,255,.11)}
.student-home-welcome:before{width:190px;height:190px;right:-76px;top:-90px;background:linear-gradient(135deg,rgba(255,255,255,.24),rgba(255,255,255,.02));animation:studentOrb 3.8s ease-in-out infinite alternate}
.student-home-welcome:after{width:94px;height:94px;right:36px;bottom:-62px;animation:studentOrb 3.2s ease-in-out .6s infinite alternate-reverse}
@keyframes studentHeroShift{0%,100%{background-position:0 50%}50%{background-position:100% 50%}}
@keyframes studentOrb{to{transform:translate(-12px,10px) scale(1.08);opacity:.65}}
.student-home-welcome span{display:block;width:100%;color:#fff;font-size:.68rem;font-weight:900;letter-spacing:.1em;text-align:center;text-shadow:0 1px 5px rgba(0,20,48,.28);text-transform:uppercase}.student-home-welcome h1{margin:8px 0 6px;font-size:1.46rem;line-height:1.2;text-wrap:balance}.student-home-welcome p{position:relative;z-index:1;width:100%;max-width:none;margin:0;color:#f2f8fd;font-size:.83rem;line-height:1.5;text-wrap:pretty}
body.student-experience #view-student-dashboard>.dash-header{display:none}
.student-quick-actions{clear:both;display:grid!important;grid-template-columns:1fr 1fr;gap:9px!important;margin:0 0 20px!important}
.student-quick-actions .btn{min-height:48px;justify-content:flex-start;margin:0!important;padding:10px 12px;border:1px solid var(--student-line);border-radius:13px;background:#fff!important;color:var(--student-navy)!important;font-size:.72rem;line-height:1.25;box-shadow:0 4px 13px rgba(28,59,91,.045)}
.student-quick-actions .btn:first-child{display:none}.student-quick-actions .btn i{color:var(--student-blue);font-size:.96rem}.student-section-label{grid-column:1/-1;margin:2px 0 0;color:var(--student-navy);font-size:.82rem;font-weight:900}

/* Áreas y unidades */
body.student-experience #studentAreasGrid,body.student-experience #studentUnidadesGrid{display:grid;grid-template-columns:1fr;gap:10px;padding:0}
body.student-experience #studentAreasGrid .area-card,body.student-experience #studentUnidadesGrid .area-card{width:100%;min-width:0;min-height:0;margin:0;padding:15px;transform:none;border:1px solid var(--student-line);border-left:5px solid var(--student-blue);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(28,59,91,.065);text-align:left}
body.student-experience #studentAreasGrid .area-card{position:relative;isolation:isolate;overflow:hidden}body.student-experience #studentAreasGrid .area-card:after{content:"";position:absolute;z-index:2;top:-25%;bottom:-25%;left:-70px;width:42px;transform:skewX(-18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.78),transparent);filter:blur(1px);pointer-events:none;animation:studentAreaScan 3s ease-in-out infinite}body.student-experience #studentAreasGrid .area-card:nth-child(2):after{animation-delay:.35s}body.student-experience #studentAreasGrid .area-card:nth-child(3):after{animation-delay:.7s}body.student-experience #studentAreasGrid .area-card:nth-child(4):after{animation-delay:1.05s}@keyframes studentAreaScan{0%,18%{left:-70px;opacity:0}27%{opacity:.8}62%{left:calc(100% + 42px);opacity:.35}63%,100%{left:calc(100% + 42px);opacity:0}}
body.student-experience #studentAreasGrid .area-card{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;align-items:center}
body.student-experience #studentAreasGrid .area-card .icono-area{grid-row:1/4;display:grid;place-items:center;width:50px;height:50px;margin:0;border-radius:14px;background:var(--student-soft);font-size:1.55rem}
body.student-experience #studentAreasGrid .area-card h3{align-self:end;font-size:.98rem;line-height:1.25}body.student-experience #studentAreasGrid .area-card p{margin:1px 0 0;font-size:.7rem}body.student-experience #studentAreasGrid .area-card .count-badge{justify-self:start;margin:5px 0 0;padding:0;border:0;background:transparent;color:var(--student-blue);font-size:.7rem}
body.student-experience #studentUnidadesGrid .unidad-docente-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center}body.student-experience #studentUnidadesGrid .unidad-icono-profesional{width:50px;height:50px;border-radius:14px}body.student-experience #studentUnidadesGrid .unidad-card-info{padding:0}body.student-experience #studentUnidadesGrid .unidad-card-info h3{font-size:.9rem;line-height:1.35}body.student-experience #studentUnidadesGrid .unidad-card-kicker{font-size:.59rem}body.student-experience #studentUnidadesGrid .count-badge{margin-top:6px;padding:0;border:0;background:transparent;color:var(--student-blue);font-size:.68rem}

/* Sesiones y recursos */
body.student-experience .resource-list{max-height:none!important;padding:0;overflow:visible}
body.student-experience .resource-item,body.student-experience .clase-item{width:100%;margin-bottom:10px;padding:14px;gap:11px;border:1px solid var(--student-line);border-left:4px solid var(--student-blue);border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(28,59,91,.055)}
body.student-experience .resource-item{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start}
body.student-experience .clase-item{position:relative;align-items:flex-start;padding-right:42px}body.student-experience .clase-item:after{content:"\f054";position:absolute;right:16px;top:50%;transform:translateY(-50%);font:900 .76rem "Font Awesome 5 Free";color:#8aa2b8}
body.student-experience .resource-item h4,body.student-experience .clase-item h4{font-size:.91rem;line-height:1.38;text-wrap:pretty}body.student-experience .clase-item .clase-meta{margin-top:7px}
body.student-experience .resource-item .info{min-width:0}body.student-experience .resource-item .tipo-icon{display:grid;place-items:center;min-width:43px;width:43px;height:43px;border-radius:12px;background:var(--student-soft);font-size:1.35rem}body.student-experience .resource-item .meta{font-size:.69rem;line-height:1.45}
body.student-experience .resource-item .acciones{grid-column:1/-1;display:flex;width:100%;margin-top:5px;padding:0}body.student-experience .resource-item .acciones button{min-height:44px;padding:8px 14px;border-radius:12px;font-size:.78rem}body.student-experience .resource-item .acciones .btn-descargar{width:100%;flex:1;justify-content:center;gap:8px;background:linear-gradient(135deg,#1769b9,#105298);color:#fff;box-shadow:0 7px 16px rgba(21,93,168,.18);transition:transform .18s ease,box-shadow .18s ease}body.student-experience .resource-item .acciones .btn-descargar:active{transform:scale(.985);box-shadow:0 3px 9px rgba(21,93,168,.16)}body.student-experience .resource-item .acciones .btn-descargar i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(255,255,255,.17);font-size:.72rem}body.student-experience .resource-item .acciones .btn-previsualizar{display:none}
body.student-experience #view-student-recursos .split-view{display:block;margin-top:10px}body.student-experience #view-student-recursos .split-col{max-height:none!important;margin-bottom:13px;padding:14px;border:1px solid var(--student-line);border-radius:17px;background:#fff;box-shadow:none;overflow:visible!important}body.student-experience #view-student-recursos .split-col h3{font-size:.98rem;color:var(--student-navy)}
body.student-experience #view-student-recursos.student-resource-open .student-resource-card{display:none}body.student-experience #view-student-recursos:not(.student-resource-open) .student-preview-card{display:none}
body.student-experience .student-preview-card{position:relative;min-height:240px;padding-top:62px!important}.student-back-resources{position:absolute;z-index:3;left:14px;top:12px;min-height:38px;padding:7px 11px;border:1px solid var(--student-line);border-radius:10px;background:#fff;color:var(--student-blue);font:800 .74rem Inter,sans-serif}
body.student-experience .student-preview-card iframe{width:100%!important;height:min(58dvh,520px)!important;min-height:280px;border-radius:12px!important}body.student-experience .student-preview-card .video-wrapper{width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:12px!important;box-shadow:none!important}body.student-experience .student-preview-card .video-wrapper iframe{height:100%!important;min-height:0}body.student-experience .student-preview-card img{width:100%;height:auto;max-height:62dvh!important;object-fit:contain}.mensaje-aliento{border-radius:15px!important;padding:13px!important;font-size:.82rem}

/* Estados verificables de recursos y sesiones */
.student-resource-status{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;margin-top:8px;padding:5px 9px;border-radius:999px;font-size:.65rem;font-weight:900;line-height:1.2}
.student-resource-pending{border:1px solid #f0c36b;background:#fff5d9;color:#8a5700;box-shadow:0 0 0 rgba(222,151,18,0);animation:studentPendingPulse 1.8s ease-in-out infinite}
.student-resource-pending i{font-size:.48rem;color:#e39710;animation:studentPendingDot 1.1s ease-in-out infinite}
.student-resource-complete{border:1px solid #b9e3d2;background:#eaf8f2;color:#137353}
.student-empty-session{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;padding:16px;border:1px solid #b9e3d2;border-radius:15px;background:linear-gradient(135deg,#eefaf5,#fff);color:#17664e;box-shadow:0 5px 16px rgba(22,135,95,.08)}
.student-empty-session-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#d9f3e8;color:#16875f;font-size:1.35rem}.student-empty-session strong{display:block;font-size:.88rem}.student-empty-session p{margin:3px 0 0;color:#5f776f;font-size:.72rem;line-height:1.4}
@keyframes studentPendingPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(222,151,18,0)}50%{transform:scale(1.025);box-shadow:0 0 0 5px rgba(222,151,18,.11)}}
@keyframes studentPendingDot{0%,100%{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.25)}}

/* Actividad y cuestionario */
body.student-experience .metricas-actividad{display:grid!important;grid-template-columns:1fr 1fr;gap:7px;margin-top:11px;padding:12px;overflow:visible;border:1px solid var(--student-line);border-radius:14px;background:var(--student-soft-2);font-size:.67rem}
body.student-experience .metricas-actividad[style*="display: none"]{display:none!important}body.student-experience .metricas-actividad>span{padding:7px;border-radius:9px;background:#fff}body.student-experience .metricas-actividad>span:first-child,body.student-experience .metricas-actividad>span:last-child{grid-column:1/-1}
body.student-experience #cuestionarioMaterialContainer{margin-top:13px!important;padding:16px!important;border:1px solid #b8d3ea!important;border-radius:17px!important;background:#f4f9fd!important}body.student-experience #cuestionarioMaterialContainer h3{font-size:1rem;line-height:1.4;color:var(--student-navy)!important}
body.student-experience .pregunta-item{margin:11px 0;padding:14px!important;border:1px solid var(--student-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 12px rgba(28,59,91,.045)}body.student-experience .pregunta-item strong{display:block;font-size:.9rem;line-height:1.48;color:var(--student-ink)}body.student-experience .pregunta-item textarea{min-height:130px;margin-top:11px!important;padding:12px!important;border:1px solid #b9cad9!important;border-radius:11px!important;font:400 16px/1.5 Inter,sans-serif!important;resize:vertical}
body.student-experience .pregunta-item label{display:flex!important;align-items:center;gap:10px;min-height:48px;margin:8px 0!important;padding:10px 12px;border:1px solid var(--student-line);border-radius:11px;background:var(--student-soft-2);font-size:.86rem;line-height:1.35}body.student-experience .pregunta-item input[type=radio]{flex:0 0 auto;width:20px;height:20px;accent-color:var(--student-blue)}
body.student-experience #btnEnviarRespuestas,body.student-experience #cuestionarioMaterialContainer>.btn{position:sticky;z-index:5;bottom:76px;width:100%;min-height:49px;justify-content:center;margin-top:14px!important;border-radius:13px;box-shadow:0 8px 20px rgba(21,93,168,.2)}

/* Progreso, rendimiento y calificativos */
body.student-experience #performanceSummary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-bottom:16px!important}body.student-experience #performanceSummary .stat-card:last-child{grid-column:auto}
body.student-experience #performanceSummary .stat-card{display:flex;min-height:82px;padding:9px 5px;flex-direction:column;align-items:center;justify-content:center;border-radius:12px}
body.student-experience #performanceSummary .stat-card .numero{font-size:1.2rem;line-height:1.05}body.student-experience #performanceSummary .stat-card .numero i{font-size:1.08rem}body.student-experience #performanceSummary .stat-card .etiqueta{margin-top:4px;font-size:.57rem;line-height:1.22;text-wrap:balance}
body.student-experience #progressSummary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-bottom:16px!important}
body.student-experience #progressSummary .stat-card{display:flex;min-height:76px;padding:9px 5px;flex-direction:column;align-items:center;justify-content:center;border-radius:12px}
body.student-experience #progressSummary .stat-card .numero{font-size:1.22rem;line-height:1.05}body.student-experience #progressSummary .stat-card .numero i{font-size:1.12rem}body.student-experience #progressSummary .stat-card .etiqueta{margin-top:4px;font-size:.59rem;line-height:1.22;text-wrap:balance}
body.student-experience .stat-card{min-width:0;padding:15px 11px;border:1px solid var(--student-line);border-radius:15px;box-shadow:0 4px 14px rgba(28,59,91,.045)}body.student-experience .stat-card .numero{font-size:1.65rem}body.student-experience .stat-card .etiqueta{font-size:.72rem;line-height:1.35}body.student-experience #progressAreas{grid-template-columns:1fr!important;gap:10px!important}
body.student-experience #performanceDetail .resource-item{display:block;width:100%;padding:13px 15px;border-left-width:4px}
body.student-experience #performanceDetail .resource-item .info{display:block;width:100%;min-width:0}
body.student-experience #performanceDetail .resource-item h4{margin:0 0 5px;font-size:.88rem;line-height:1.35;overflow-wrap:anywhere}
body.student-experience #performanceDetail .resource-item .meta{margin-bottom:7px;color:var(--student-muted);font-size:.66rem;line-height:1.4;text-transform:none;overflow-wrap:anywhere}
body.student-experience #performanceDetail .resource-item .info>div:last-child{padding-top:7px;border-top:1px solid var(--student-line);color:#42586d;font-size:.69rem!important;line-height:1.55;overflow-wrap:anywhere}
body.student-experience .calificacion-estudiante-cabecera{display:grid!important;grid-template-columns:1fr auto;gap:10px!important}body.student-experience .calificacion-estudiante-info{min-width:0!important}body.student-experience .calificacion-estudiante-nota{min-width:72px!important}body.student-experience .calificacion-estudiante-nota>div:last-child{padding:6px 17px!important;font-size:1.18rem!important}
body.student-experience .retro-estudiante{margin-top:12px;padding:13px 14px;border-radius:13px;background:linear-gradient(145deg,#f1f7fd,#fff);border:1px solid #d8e7f5;border-left:4px solid var(--student-blue)}body.student-experience .retro-estudiante strong{font-size:.76rem;line-height:1.35}body.student-experience .retro-estudiante p{margin:7px 0 0;font-size:.86rem;line-height:1.55;text-align:justify;text-justify:inter-word}

/* Perfil y formularios */
body.student-login-experience #view-student-login{display:flex;align-items:center;justify-content:center;padding:24px 17px}
body.student-login-experience #view-student-login .form-box,body.student-experience #view-user-profile .form-box,body.student-experience #view-student-change-password .form-box{width:100%;margin:0;padding:23px 18px;border:1px solid var(--student-line);border-radius:19px;background:#fff;box-shadow:var(--student-shadow)}
body.student-login-experience #view-student-login .form-box h2,body.student-experience #view-user-profile .form-box h2,body.student-experience #view-student-change-password .form-box h2{color:var(--student-navy);font-size:1.3rem}
body.student-experience #view-user-profile input,body.student-experience #view-student-change-password input,body.student-login-experience #view-student-login input{min-height:49px;border:1px solid #c5d6e5;border-radius:11px;font-size:16px}
body.student-login-experience #view-student-login .btn-primario,body.student-experience #view-user-profile .btn,body.student-experience #view-student-change-password .btn{width:100%;min-height:49px;justify-content:center;border-radius:12px}
body.student-experience #view-user-profile .form-box{max-width:100%;overflow:hidden}body.student-experience #view-user-profile .profile-photo-editor{display:grid!important;grid-template-columns:1fr!important;gap:10px;align-items:center;max-width:100%;margin-bottom:18px;padding:15px;overflow:hidden;border:1px solid var(--student-line);border-radius:16px;background:var(--student-soft-2);text-align:center}body.student-experience #view-user-profile .profile-photo-editor>div{width:100%;min-width:0}body.student-experience #view-user-profile .profile-photo-editor img{display:block;width:78px;height:78px;margin:0 auto;border:3px solid #fff;border-radius:50%;object-fit:cover;box-shadow:0 5px 16px rgba(21,70,105,.16)}body.student-experience #view-user-profile .profile-photo-editor strong,body.student-experience #view-user-profile .profile-photo-editor small{display:block;max-width:100%;overflow-wrap:anywhere}body.student-experience #view-user-profile .profile-photo-editor small{margin:3px 0 9px;color:var(--student-muted);font-size:.68rem;line-height:1.4}body.student-experience #view-user-profile .profile-photo-editor .btn{width:100%!important;max-width:100%;min-height:42px;margin:0;padding:8px;font-size:.7rem;line-height:1.25;white-space:normal;text-align:center;justify-content:center}

/* Navegación inferior de aspecto nativo */
.student-mobile-nav{display:none}.student-mobile-nav.visible{position:fixed;z-index:1000;left:50%;bottom:0;width:min(520px,100%);min-height:70px;display:grid;grid-template-columns:repeat(6,1fr);transform:translateX(-50%);padding:7px 5px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--student-line);background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(20,49,80,.1);backdrop-filter:blur(14px)}
.student-mobile-nav button{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 1px;border:0;border-radius:11px;background:transparent;color:#71869a;font:800 .51rem Inter,sans-serif;line-height:1.12;touch-action:manipulation}.student-mobile-nav button i{font-size:1.04rem;animation:studentNavIcon 3s ease-in-out infinite}.student-mobile-nav button:nth-child(1) i{color:#1769b9}.student-mobile-nav button:nth-child(2) i{color:#7657c6;animation-delay:.2s}.student-mobile-nav button:nth-child(3) i{color:#c88a00;animation-delay:.4s}.student-mobile-nav button:nth-child(4) i{color:#d79a00;animation-delay:.6s}.student-mobile-nav button:nth-child(5) i{color:#db830b;animation-delay:.8s}.student-mobile-nav button:nth-child(6) i{color:#16865f;animation-delay:1s}.student-mobile-nav button.active{background:#e8f3fc;color:var(--student-blue)}.student-mobile-nav button.active i{filter:drop-shadow(0 3px 5px rgba(21,93,168,.18))}@keyframes studentNavIcon{0%,72%,100%{transform:translateY(0) scale(1)}82%{transform:translateY(-2px) scale(1.14)}90%{transform:translateY(0) scale(1)}}

/* Logros personales del estudiante */
.student-achievements-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;padding:17px;border:1px solid #ead38d;border-radius:18px;background:#fffdf6}.student-achievements-head span{color:#9a6b05;font-size:.61rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.student-achievements-head h2{margin:4px 0;color:var(--student-navy);font-size:1.23rem}.student-achievements-head h2 i{color:#d59a0a}.student-achievements-head p{margin:0;color:var(--student-muted);font-size:.7rem;line-height:1.45}.student-achievements-head>strong{flex:none;padding:7px 10px;border-radius:99px;background:#fff0bd;color:#8b6100;font-size:.68rem}.student-achievements-note{display:flex;gap:9px;align-items:center;margin-bottom:12px;padding:10px 12px;border-radius:12px;background:#eef8f4;color:#286954;font-size:.66rem;line-height:1.4}.student-achievements-note i{color:#18835e}.student-achievements-grid{display:grid;gap:10px}.student-achievement{--achievement:#155da8;display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;padding:14px;border:1px solid color-mix(in srgb,var(--achievement) 27%,white);border-left:5px solid var(--achievement);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(28,59,91,.055)}.student-achievement-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:color-mix(in srgb,var(--achievement) 12%,white);color:var(--achievement);font-size:1.35rem}.student-achievement-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.student-achievement-title h3{margin:0;color:var(--student-navy);font-size:.86rem}.student-achievement-title span{padding:4px 7px;border-radius:99px;background:color-mix(in srgb,var(--achievement) 11%,white);color:var(--achievement);font-size:.55rem;font-weight:900}.student-achievement p{margin:4px 0 8px;color:var(--student-muted);font-size:.67rem;line-height:1.4}.student-achievement-progress{height:6px;overflow:hidden;border-radius:99px;background:#e8eef4}.student-achievement-progress span{display:block;height:100%;border-radius:inherit;background:var(--achievement);transition:width .6s ease}.student-achievement small{display:block;margin-top:5px;color:#778698;font-size:.57rem}.student-achievement.locked{filter:saturate(.68);opacity:.82}.achievement-verde{--achievement:#16875f}.achievement-morado{--achievement:#7657c6}.achievement-dorado{--achievement:#c88a00}.student-achievements-loading,.student-achievements-error{display:flex;gap:9px;align-items:center;justify-content:center;min-height:110px;padding:18px;border:1px solid var(--student-line);border-radius:15px;color:var(--student-muted);font-size:.74rem}.student-achievements-error{flex-wrap:wrap;color:#a13a47}.student-achievements-error button{padding:7px 10px;border:0;border-radius:8px;background:var(--student-blue);color:#fff;font-weight:800}

@media(min-width:521px){body.student-experience #app,body.student-login-experience #app{border-left:1px solid #e1eaf2;border-right:1px solid #e1eaf2}}
@media(max-width:374px){body.student-experience .view{padding-left:12px;padding-right:12px}.student-quick-actions{grid-template-columns:1fr}body.student-experience #performanceSummary,body.student-experience #progressSummary{gap:5px!important}body.student-experience #performanceSummary .stat-card,body.student-experience #progressSummary .stat-card{padding:8px 3px}body.student-experience #performanceSummary .stat-card .etiqueta,body.student-experience #progressSummary .stat-card .etiqueta{font-size:.52rem}body.student-experience .calificacion-estudiante-cabecera{grid-template-columns:1fr}body.student-experience .calificacion-estudiante-nota{display:flex;align-items:center;justify-content:space-between;text-align:left!important}}
@media(orientation:landscape) and (max-height:520px){body.student-experience .student-preview-card iframe{height:72dvh!important}.student-mobile-nav.visible{min-height:60px}.student-mobile-nav button{min-height:44px}}
@media(prefers-reduced-motion:reduce){body.student-experience .view.visible,.student-home-welcome,.student-home-welcome:before,.student-home-welcome:after,body.student-experience #studentAreasGrid .area-card:after,.student-mobile-nav button i,.student-resource-pending,.student-resource-pending i{animation:none!important}}

/* Aviso global de cierre por inactividad */
#sessionTimeoutWarning{position:fixed;z-index:12000;right:22px;bottom:22px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;width:min(610px,calc(100% - 30px));padding:14px 15px;border:1px solid #e5c56d;border-left:5px solid #d99b13;border-radius:16px;background:#fffdf6;color:#273d57;box-shadow:0 18px 48px rgba(19,45,75,.24)}#sessionTimeoutWarning[hidden]{display:none}.session-timeout-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff1c6;color:#a96d00;font-size:1.15rem}.session-timeout-copy strong{display:block;color:#203a59;font-size:.88rem}.session-timeout-copy p{margin:3px 0 0;color:#68788b;font-size:.73rem;line-height:1.4}.session-timeout-copy b{color:#a46600}#sessionTimeoutContinue{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:8px 12px;border:0;border-radius:10px;background:#155da8;color:#fff;font:800 .72rem Inter,sans-serif;cursor:pointer;box-shadow:0 5px 13px rgba(21,93,168,.2)}
@media(max-width:620px){#sessionTimeoutWarning{left:15px;right:15px;bottom:84px;grid-template-columns:38px minmax(0,1fr);padding:12px}.session-timeout-icon{width:37px;height:37px}#sessionTimeoutContinue{grid-column:1/-1;width:100%}}
