/* Rediseño visual del área del estudiante. No modifica la lógica de la aplicación. */
:root{--dash-navy:#042452;--dash-blue:#0a3675;--dash-bg:#f4f8ff;--dash-coral:#ff775e;--dash-gold:#ffd36c}
/* Fotografía horizontal aprobada para el encabezado del estudiante. */
.student-page>.hero{background-image:linear-gradient(90deg,rgba(2,19,49,.98),rgba(2,20,54,.76) 44%,rgba(2,20,54,.06)),url('universidad-oido-portada.png')}
body:has(.student-dashboard){background:var(--dash-bg)}
.wrap:has(.student-dashboard){max-width:1440px;padding:18px 18px 50px}.wrap:has(.student-dashboard)>.top{max-width:1280px;margin:0 auto 18px;padding:0 2px}.student-dashboard{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;max-width:1280px;margin:auto}.student-sidebar{position:sticky;top:18px;align-self:start;height:calc(100vh - 36px);min-height:660px;display:flex;flex-direction:column;overflow:hidden;border-radius:4px;background:linear-gradient(180deg,#031b41,#07376e);box-shadow:0 12px 30px rgba(1,26,65,.2);color:#fff}.student-logo{display:grid;justify-items:center;gap:9px;border:0;background:transparent;color:#fff;padding:18px 12px 20px;text-align:center;font-size:12px;line-height:1.15}.student-logo img{width:76px;height:76px;border-radius:8px;object-fit:cover;object-position:center}.student-sidebar nav{display:grid;gap:6px;padding:0 12px}.student-sidebar nav button,.student-sidebar nav a,.student-exit{border:0;border-radius:7px;background:transparent;color:#eff5ff;text-align:left;text-decoration:none;padding:12px 10px;font:14px Arial,sans-serif;cursor:pointer}.student-sidebar nav button:hover,.student-sidebar nav button.active,.student-sidebar nav a:hover{background:#166ee8}.student-sidebar nav button:first-letter,.student-sidebar nav a:first-letter,.student-exit:first-letter{font-size:20px}.student-exit{margin-top:auto;padding:17px 22px;border-radius:0}.student-page{min-width:0}.student-page>.hero{min-height:365px;padding:60px 7%;background-image:linear-gradient(90deg,rgba(2,19,49,.98),rgba(2,20,54,.76) 44%,rgba(2,20,54,.06)),url('universidad-oido-hero.png');background-position:center;background-size:cover}.student-page>.hero>div:first-child{max-width:54%;background:none;padding:0}.student-page>.hero h1{font-size:clamp(42px,5vw,62px);letter-spacing:-1px}.student-page>.hero p{font-size:16px}.student-page>.hero .primary{border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.78)}.student-page>.motivation{margin-top:18px;background:#fff7f3;border:0;border-radius:7px;box-shadow:0 1px 5px rgba(10,36,77,.06)}.student-page>.motivation .motivation-track{font-size:12px;color:#a46f60;padding:12px 0}.student-content{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;margin-top:18px}.student-library{min-width:0}.student-greeting{display:flex;align-items:center;min-height:72px;margin:0 0 10px;padding:5px 10px}.student-greeting p{margin:0;font-size:31px;font-weight:800;color:var(--dash-navy)}.student-greeting small{display:block;margin-top:4px;color:#7080a0;font-size:16px}.continue-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:15px;min-height:150px;padding:17px;border-radius:12px;background:linear-gradient(117deg,#04275d,#073c82);box-shadow:0 9px 18px rgba(6,40,91,.15);color:#fff}.continue-cover{width:75px;height:108px;border-radius:6px;border:1px solid rgba(255,255,255,.45);background:linear-gradient(160deg,#607a62,#d4e4cb);background-size:cover;background-position:center;color:#fff;overflow:hidden;padding:8px;text-align:left;font:12px Georgia,serif}.continue-cover.placeholder{display:grid;place-items:center;font-size:32px;background:#164a91}.continue-card h2{font-size:19px;line-height:1.2;margin:6px 0;max-width:360px}.continue-card p,.continue-card small{margin:0;color:#d6e4fb;font-size:13px}.continue-progress{height:6px;max-width:270px;margin-top:15px;background:#08224d;border-radius:8px;overflow:hidden}.continue-progress i{display:block;width:58%;height:100%;background:#50cfd2;border-radius:8px}.continue-button{white-space:nowrap;background:var(--dash-coral);border-radius:8px}.student-rail{display:grid;align-content:start;gap:14px}.student-rail .ambient-panel,.student-rail .user-plan,.activity-card{margin:0;display:block;padding:18px;border:1px solid #e5eaf1;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(10,36,77,.05)}.student-rail .ambient-panel>div:first-child{gap:5px}.student-rail .ambient-panel b:before{content:'♫';display:inline-grid;place-items:center;margin-right:10px;width:25px;height:25px;color:#194a92;background:#e5f0ff;border-radius:7px}.student-rail .ambient-controls{margin-top:14px;display:grid;grid-template-columns:1fr auto;gap:9px}.student-rail .ambient-controls .mini{font-size:11px;padding:7px 8px}.student-rail .volume-label{grid-column:1/-1;justify-content:space-between}.student-rail .volume-label input{width:110px}.student-rail .user-plan{display:grid;gap:10px}.student-rail .user-plan>span{border-top:4px solid #1c6ee8;padding-top:6px;text-align:right;color:#71809b}.student-rail .user-plan strong{font-size:31px}.activity-card>b{display:block;margin-bottom:16px;color:var(--dash-navy)}.activity-card>div{display:flex;align-items:center;gap:11px;margin:13px 0}.activity-card i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-style:normal;color:#0c4d9b;background:#e5f0ff}.activity-card>div:nth-child(3) i{background:#eaf0ff;color:#436db8}.activity-card>div:nth-child(4) i{background:#fff0e8;color:#ff765f}.activity-card p{display:grid;gap:1px;margin:0}.activity-card strong{font-size:18px;color:var(--dash-navy)}.activity-card span{font-size:12px;color:#71809b}.student-library .library-head{margin-top:26px}.student-library .library-head .title{font-size:25px}.student-library .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.student-library .card{min-height:166px;border-color:#e4eaf1;box-shadow:0 3px 10px rgba(12,39,76,.045)}.student-library .card .cover{width:69px;height:110px;flex-basis:69px;border-radius:4px}.student-library .card h3{font-size:13px;line-height:1.25}.student-library .card .primary{padding:10px 13px;font-size:12px}.student-library .card .danger{font-size:11px}.student-library .empty{background:#fff;border-color:#e4eaf1}.student-library .feedback{max-width:none}.student-library .privacy-note{margin-bottom:0}.student-page~.copyright{max-width:1280px;margin:32px auto 0}.top:has(+.student-dashboard){display:none}
@media(max-width:1020px){.student-dashboard{grid-template-columns:72px minmax(0,1fr)}.student-logo b,.student-sidebar span{display:none}.student-sidebar{min-height:520px}.student-logo{padding:14px 8px}.student-logo img{width:48px;height:48px}.student-sidebar nav{padding:0 10px}.student-sidebar nav button,.student-sidebar nav a,.student-exit{text-align:center;padding:12px 5px}.student-content{grid-template-columns:minmax(0,1fr) 235px}.student-page>.hero>div:first-child{max-width:62%}}
@media(max-width:760px){.wrap:has(.student-dashboard){padding:0 0 35px}.student-dashboard{display:block}.student-sidebar{position:relative;top:auto;display:flex;flex-direction:row;align-items:center;width:100%;height:64px;min-height:0;border-radius:0;padding:0 10px}.student-logo{display:flex;align-items:center;padding:0}.student-logo img{width:38px;height:38px}.student-sidebar nav{display:flex;gap:2px;margin-left:auto;padding:0}.student-sidebar nav a:nth-child(n+3){display:none}.student-sidebar nav button,.student-sidebar nav a,.student-exit{padding:8px}.student-exit{margin:0;padding:8px}.student-page>.hero{min-height:380px;padding:42px 8%;background-position:65% center}.student-page>.hero>div:first-child{max-width:76%;padding:12px;background:linear-gradient(90deg,rgba(3,20,49,.87),rgba(3,20,49,.56));border-radius:8px}.student-page>.hero h1{font-size:42px}.student-content{display:flex;flex-direction:column;margin:12px 14px}.student-rail{grid-template-columns:1fr 1fr;order:-1}.student-rail .activity-card{display:none}.student-library .cards{grid-template-columns:1fr}.student-page>.motivation{margin:12px 14px}.student-page~.copyright{margin:25px 14px 0}.student-greeting{padding:0}.continue-card{grid-template-columns:70px minmax(0,1fr);padding:14px}.continue-button{grid-column:2;width:max-content}.continue-card h2{font-size:16px}.continue-cover{width:62px;height:93px}.student-library .feedback{margin-top:18px}}
@media(max-width:470px){.student-rail{grid-template-columns:1fr}.student-page>.hero{min-height:345px;background-position:66% center}.student-page>.hero h1{font-size:37px}.student-page>.hero p{font-size:14px}.student-page>.hero>div:first-child{max-width:88%}.student-library .library-head{align-items:flex-start;gap:4px;flex-direction:column}.student-library .library-head .title{font-size:24px}}
