/*
Theme Name: Academia SEO
Theme URI: https://seocontenidos.com/
Author: SEO Contenidos
Description: Interfaz de la Academia SEO conectada al contenido histórico de WordPress.
Version: 0.4.58
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: academia-seo-tema
*/
:root{--bg:#101418;--surface:#171e26;--line:#303b47;--muted:#a7b2c2;--blue:#8ab4e6;--gold:#e4b250;--white:#f7f9fc;--green:#23824b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--white);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1440px,calc(100% - 48px));margin:auto}.site-header{border-bottom:1px solid var(--line);background:#101418;position:sticky;top:0;z-index:20}.header-inner{height:80px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:14px;font-size:19px;font-weight:750;white-space:nowrap}.brand img{width:76px;height:auto}.nav{display:flex;gap:32px;align-items:center;margin-left:auto}.nav a{color:#cbd3de}.nav a:hover,.nav a:focus-visible{color:var(--gold)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);border:1px solid transparent;color:#0c1724;font-weight:750;border-radius:10px;padding:13px 19px;min-height:44px}.btn:hover{filter:brightness(1.12)}.btn-ghost{background:transparent;border-color:#526272;color:var(--white)}.btn-gold{background:#f2bd21;color:#11191f}.menu-toggle{display:none;background:none;color:white;border:0;font-size:27px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;color:var(--gold);font-size:13px;font-weight:800}.hero{min-height:620px;background:radial-gradient(circle at 80% 40%,#284e76 0,transparent 40%),linear-gradient(140deg,#172333,#101820 62%);border-bottom:1px solid var(--line);display:grid;align-items:center}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:55px;align-items:center;padding:78px 0}.hero h1{font-size:clamp(43px,5vw,72px);line-height:1.05;max-width:850px;letter-spacing:-.045em;margin:22px 0}.hero h1 em{font-style:normal;color:var(--gold)}.hero p{font-size:clamp(18px,1.7vw,23px);color:#c6d1de;line-height:1.55;max-width:690px}.hero-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:35px}.hero-visual{width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:24px;box-shadow:0 35px 100px #0009}.section{padding:74px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section h2,.page-title{font-size:clamp(32px,4vw,52px);letter-spacing:-.035em;margin:10px 0}.lede{color:var(--muted);font-size:19px;max-width:770px;line-height:1.6}.stats{display:flex;gap:55px;border-top:1px solid #536273;padding-top:30px;margin-top:42px}.stats strong{font-size:34px;display:block}.stats span{color:var(--muted)}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{border:1px solid var(--line);border-radius:18px;background:#151c23;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,border-color .2s}.course-card:hover{transform:translateY(-3px);border-color:var(--blue)}.course-art{height:165px;background:radial-gradient(circle at 73% 30%,#356494,transparent 42%),linear-gradient(135deg,#21364b,#0f1b29);display:flex;align-items:flex-end;padding:22px;color:#c1d5e9}.course-art span{background:#0e1520ba;border:1px solid #7b94aa55;border-radius:8px;padding:6px 10px;font-size:12px;letter-spacing:.13em;text-transform:uppercase}.course-body{padding:24px;display:flex;flex:1;flex-direction:column}.course-body h3{font-size:23px;line-height:1.2;margin:4px 0 12px}.course-body p{color:var(--muted);line-height:1.5;flex:1}.meta{color:#bed0df;font-size:14px;display:flex;gap:15px;flex-wrap:wrap;margin:15px 0}.text-link{color:var(--blue);font-weight:700}.page-intro{padding:58px 0 28px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 30px}.chip{border:1px solid #506073;border-radius:999px;color:#e7edf6;padding:8px 14px;background:none}.chip.is-active,.chip:hover{background:var(--gold);border-color:var(--gold);color:#111}.detail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,.6fr);gap:55px;padding:65px 0}.detail-copy{line-height:1.7;color:#c7d1db;font-size:18px}.detail aside{background:#192430;border:1px solid #41556a;border-radius:20px;padding:30px;align-self:start}.curriculum{margin-top:35px;border-top:1px solid var(--line)}.curriculum details{border-bottom:1px solid var(--line);padding:18px 0}.curriculum summary{cursor:pointer;font-weight:750;list-style:none;display:flex;justify-content:space-between;gap:15px}.curriculum summary::after{content:'⌄';color:var(--blue)}.curriculum ul{list-style:none;padding:8px 0 0 20px;margin:0}.curriculum li{padding:8px 0;color:var(--muted)}.auth-layout{min-height:calc(100vh - 155px);display:grid;grid-template-columns:1fr 1fr}.auth-story{padding:70px max(36px,calc((100vw - 1440px)/2));background:linear-gradient(140deg,#142136,#203e5e)}.auth-story h1{font-size:clamp(42px,4.5vw,68px);line-height:1.1}.auth-story img{width:100%;max-width:540px;border-radius:18px}.auth-form{display:flex;justify-content:center;align-items:center;padding:60px 32px}.auth-form>div{width:min(470px,100%)}.auth-form label{display:block;margin-top:18px;font-weight:700}.auth-form input[type=text],.auth-form input[type=password]{width:100%;padding:14px;background:#1c2733;color:white;border:1px solid #586b80;border-radius:10px;margin-top:8px}.auth-form input[type=submit]{width:100%;margin-top:23px;background:var(--blue);border:0;border-radius:10px;padding:14px;font-weight:750}.auth-form .login-remember label{font-weight:400}.empty{border:1px dashed #506073;background:#171d23;padding:45px;border-radius:17px;color:#c7d1db}.student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.progress-track{height:7px;border-radius:10px;background:#3a4553;overflow:hidden}.progress-track span{display:block;height:100%;background:#e6b62d}.classroom{display:grid;grid-template-columns:280px minmax(0,1fr) 310px;gap:30px;padding:34px 0 90px}.classroom aside{min-width:0}.classroom .module-list{border-right:1px solid var(--line);padding-right:22px}.module-list h2,.discussion h2{font-size:13px;text-transform:uppercase;letter-spacing:.18em;color:#a4bacf}.module-list details{border-bottom:1px solid #2d3946;padding:14px 0}.module-list summary{cursor:pointer;font-weight:700}.module-list ul{list-style:none;padding:0;margin:10px 0}.module-list li a{display:block;padding:9px 12px;border-radius:8px;color:#b9c6d3;font-size:14px}.module-list li a.active,.module-list li a:hover{color:#93c2ff;background:#263a50}.video-shell{aspect-ratio:16/9;background:#030405;border-radius:20px 20px 0 0;display:grid;place-items:center;position:relative;overflow:hidden}.video-shell video{width:100%;height:100%;object-fit:contain}.video-empty{text-align:center;padding:25px}.video-empty .play{display:grid;place-items:center;background:var(--blue);width:82px;height:82px;border-radius:50%;color:#0e1926;font-size:35px;margin:0 auto 25px}.video-controls{height:46px;background:#111b29;border-radius:0 0 18px 18px;padding:10px 18px;color:#a8b5c7}.lesson-head{border-bottom:1px solid var(--line);padding:26px 0}.lesson-head h1{font-size:clamp(29px,3vw,43px);margin:8px 0}.lesson-content{line-height:1.8;color:#cbd4de}.lesson-nav{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.discussion{border-left:1px solid var(--line);padding-left:20px}.discussion form textarea{width:100%;min-height:110px;background:#1c2229;border:1px solid #475362;color:white;border-radius:12px;padding:13px;resize:vertical}.discussion .comment{border-top:1px solid var(--line);padding:17px 0}.discussion .comment p{color:#cbd4de;line-height:1.55}.site-footer{border-top:3px solid var(--gold);background:#172234;padding:45px 0;color:#c8d3df}.footer-grid{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.alert{padding:13px 17px;background:#263747;border:1px solid #5a7893;border-radius:10px;margin:15px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.classroom{grid-template-columns:210px minmax(0,1fr)}.discussion{grid-column:2;border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:20px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{gap:30px}}
.curriculum-toggle{display:none}.module-list summary{overflow:hidden;text-overflow:ellipsis}.exam-form{text-align:left;max-width:680px;margin:20px auto}.exam-form label{border:1px solid #536274;border-radius:9px;margin-bottom:9px;background:#1d2a39}.exam-form label:has(input:checked){border-color:var(--gold);background:#3a3325}.exam-form button{margin-top:10px}.module-list{scrollbar-color:#4c647e transparent;scrollbar-width:thin}
.whatsapp-bubble{position:fixed;right:25px;bottom:23px;z-index:25;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#18a654;box-shadow:0 10px 30px #0008}.whatsapp-bubble img{width:42px;height:42px;object-fit:contain}.whatsapp-bubble:hover{transform:scale(1.06)}
.student-hero{background:radial-gradient(circle at 76% 20%,#254b72,transparent 44%),linear-gradient(125deg,#182739,#131e2a);padding:62px 0 58px}.student-hero h1{font-size:clamp(30px,3.4vw,44px);letter-spacing:-.035em;margin:22px 0 15px}.student-hero p{color:#becbda;font-size:18px;line-height:1.5;max-width:700px}.student-stats{border-top:1px solid #ffffff24;display:flex;gap:48px;margin:35px 0 0;padding:23px 0 0}.student-stats dt{color:#a7b5c7}.student-stats dd{font-size:23px;font-weight:750;margin:2px 0}.student-content{padding-top:55px;padding-bottom:65px}.student-course{border:1px solid #ffffff16;background:#ffffff09;border-radius:18px;padding:24px;max-width:430px}.student-course-status{color:#9cbfea;font-size:14px;font-weight:700}.student-course h2{font-size:20px;line-height:1.25;min-height:50px;margin:21px 0 27px}.student-course-progress{display:flex;justify-content:space-between;color:#b6c3d2;margin-bottom:9px}.student-course-progress strong{color:#fff}.student-course .progress-track{margin-bottom:26px}.student-history{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:55px}.student-history h2{font-size:22px}.history-empty{padding:21px;border:1px solid #ffffff18;border-radius:17px;background:#ffffff0a;color:#bac6d5;min-height:65px}.history-empty p{margin:0 0 13px}.history-empty p:last-child{margin:0}
.site-header .header-inner{width:min(1200px,calc(100% - 48px));height:78px}.site-footer{border-top:4px solid transparent;border-image:linear-gradient(90deg,#4182c4 0 25%,#d8363d 25% 50%,#e6b820 50% 75%,#1d965c 75%) 1}.site-footer .footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:45px;padding:20px 0 45px}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start;gap:13px}.footer-grid .footer-brand{max-width:300px}.footer-brand p{color:#b8c7d8;line-height:1.6}.footer-grid h2{color:#fff;font-size:13px;letter-spacing:.09em;margin:0 0 5px}.footer-grid a:not(.brand):not(.text-link){color:#b9c7d7;font-size:14px;line-height:1.45}.footer-grid a:hover{color:#fff!important}.footer-bottom{border-top:1px solid #ffffff14;color:#b7c4d2;padding-top:20px;font-size:12px}.whatsapp-bubble{width:52px;height:52px}.whatsapp-bubble img{width:38px;height:38px}
@media(max-width:760px){.student-hero{padding:40px 0}.student-hero h1{font-size:32px}.student-history{grid-template-columns:1fr;gap:20px}.student-content{padding-top:35px}.student-course{max-width:none}}
@media(max-width:900px){.site-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.site-header .header-inner{width:min(100% - 30px,620px);height:68px}.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1/-1}.site-footer{padding:35px 0}.footer-grid>div{gap:9px}}
@media(max-width:760px){.wrap{width:min(100% - 30px,620px)}.header-inner{height:68px}.brand{font-size:16px}.brand img{width:55px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;top:68px;left:0;right:0;background:#111a23;padding:20px;flex-direction:column;align-items:stretch;margin:0;border-bottom:1px solid var(--line)}.nav.is-open{display:flex}.header-cta{display:none}.hero{min-height:auto}.hero-grid{grid-template-columns:1fr;padding:60px 0}.hero h1{font-size:44px}.hero-visual{order:-1}.stats{gap:20px;flex-wrap:wrap}.stats strong{font-size:26px}.section{padding:55px 0}.course-grid,.student-grid,.detail,.auth-layout,.classroom{grid-template-columns:1fr}.detail{padding:28px 0}.auth-story{padding:45px 25px}.auth-form{padding:45px 25px}.classroom{gap:20px;padding-top:20px}.classroom .module-list{border-right:0;padding-right:0;border-bottom:1px solid var(--line)}.module-list details:not([open]) ul{display:none}.discussion{grid-column:auto}.lesson-nav .btn{font-size:13px;padding:10px}.section-head{align-items:start;flex-direction:column}}
.module-list{max-height:calc(100vh - 150px);overflow:auto}
@media(max-width:760px){.module-list{max-height:none;overflow:visible}.curriculum-toggle{display:flex;width:100%;margin:8px 0 15px}.module-list:not(.is-open) details{display:none}.classroom .module-list{padding-bottom:0}.classroom .module-list h2{margin:0}}

/* Aula: la misma disposición de tres rieles del proyecto de referencia. */
.classroom-shell{min-height:calc(100vh - 80px);background:radial-gradient(ellipse 60% 26% at 64% 0%,#183048 0,transparent 65%),#101418;padding:25px 0 75px}.classroom-wrap{width:min(1568px,calc(100% - 48px))}.aula-contexto{min-height:70px;border:1px solid #ffffff14;border-radius:20px;background:#ffffff08;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 22px}.aula-contexto nav{display:flex;align-items:center;gap:12px;min-width:0;font:600 13px ui-monospace,Consolas,monospace;color:#c0cbd8}.aula-contexto nav a{border:1px solid #ffffff17;border-radius:13px;background:#ffffff0b;padding:12px;color:#a8c9ed;white-space:nowrap}.aula-contexto nav a:hover{background:#ffffff1a}.context-course{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a7b0bd}.course-progress{display:flex;align-items:center;gap:13px;border:1px solid #ffffff17;border-radius:14px;background:#ffffff0b;padding:11px 15px;white-space:nowrap;font-size:13px}.course-progress .progress-track{width:100px}.classroom-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr) minmax(270px,310px);align-items:start;gap:28px;margin-top:34px}.classroom-layout .module-list{position:sticky;top:110px;height:calc(100vh - 128px);max-height:none;padding-right:20px;border-right:1px solid #ffffff17}.module-list h2{font:700 11px ui-monospace,Consolas,monospace;letter-spacing:.25em;color:#8a97aa;text-transform:uppercase;margin:8px 0 25px}.module-items{height:calc(100% - 110px);overflow:auto;scrollbar-width:thin;scrollbar-color:#35506d transparent;padding-right:8px}.module-item{padding:4px 0;border:0!important}.module-item summary{list-style:none;display:grid;grid-template-columns:32px minmax(0,1fr) 34px;gap:7px;align-items:center;min-height:39px;padding:0 0 0 10px;border-left:2px solid transparent}.module-item[open] summary{border-left-color:var(--module-color)}.module-item summary::-webkit-details-marker{display:none}.module-number{font:800 12px ui-monospace,Consolas,monospace;color:var(--module-color)}.module-name{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.module-item:not([open]) .module-name{color:#9ba6b6}.module-ring{width:32px;height:32px;display:grid;place-items:center;border:2px solid #344050;color:#a2acb8;border-radius:50%;font-size:17px}.module-item[open] .module-ring{color:var(--module-color);border-color:var(--module-color);transform:rotate(180deg)}.module-item ol{list-style:none;margin:8px 0 18px 18px;padding:0;border-left:1px dashed var(--module-color)}.module-item li{margin:0 0 6px -18px}.module-item li a{display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:center;min-height:42px;padding:3px 2px;color:#aeb9c8;font-size:13px}.module-item li a.active{color:#fff;font-weight:750}.lesson-node{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#101418;border:2px solid #405066;color:#aeb8c5;font-size:12px}.module-item li a.active .lesson-node{border-color:var(--module-color);color:var(--module-color)}.module-item li a:hover .lesson-name{color:#a8d1ff}.lesson-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-top:14px;color:#98a7bc;font:11px ui-monospace,Consolas,monospace}.rail-progress .progress-track{width:100%;height:2px}.lesson-stage{min-width:0}.classroom-layout .video-shell{border:1px solid #27313c;border-radius:21px 21px 0 0;aspect-ratio:16/9;background:#000}.classroom-layout .video-empty .video-center-play,.classroom-layout .video-center-play{border:0;width:82px;height:82px;border-radius:50%;background:#91b9ea;display:grid;place-items:center;color:#0f2238;font-size:28px;margin:0 auto 26px}.classroom-layout .video-empty strong{display:block;font-size:18px}.classroom-layout .video-empty p{color:#b0bac7}.video-shell>video{position:absolute;inset:0}.video-shell>.video-center-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}.classroom-layout .video-controls{height:78px;background:#101925;border:1px solid #263547;border-top:0;border-radius:0 0 20px 20px;padding:7px 20px 12px;display:flex;flex-direction:column;gap:7px}.video-seek{width:100%;height:9px;accent-color:#248fff;margin:0}.video-control-row{display:flex;align-items:center;gap:15px}.video-control-row button{background:none;border:0;color:#f4f7fb;font-size:20px;padding:0 5px}.video-control-row button:disabled{opacity:.55}.video-time{font-size:13px;font-weight:650;color:#bdc9db;font-variant-numeric:tabular-nums}.volume-control{display:flex;align-items:center;gap:8px;margin-left:auto}.volume-control input{width:85px;accent-color:#99c0ef}.video-speed{background:#17212c;color:#e6eefa;border:1px solid #3f4c5d;border-radius:20px;padding:5px}.lesson-head{padding:27px 0 22px}.lesson-kicker{color:#9ac1ef;text-transform:uppercase;font-weight:800;letter-spacing:.16em;font-size:14px;margin:0}.lesson-kicker:before{content:'';display:inline-block;height:19px;width:5px;border-radius:5px;background:#2baac2;vertical-align:-4px;margin-right:13px}.lesson-kicker span{color:#a5b0c0;padding:0 4px}.lesson-head h1{font-size:31px;letter-spacing:-.035em;margin:12px 0 0}.lesson-status{color:#79dcb6}.lesson-copy{display:grid;grid-template-columns:.72fr 1fr;gap:32px;border-top:1px solid #ffffff16;padding-top:28px;color:#c0ccd9}.lesson-copy section:first-child{border-right:1px solid #ffffff16;padding-right:30px}.lesson-copy h2{font-size:18px;color:#fff}.lesson-copy h3{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#aab6c6;margin-top:28px}.lesson-copy p{line-height:1.65}.lesson-copy .eyebrow{font:700 10px ui-monospace,Consolas,monospace;color:#93bce9}.classroom-layout .discussion{position:sticky;top:110px;height:calc(100vh - 128px);border-left:1px solid #ffffff17;padding-left:22px;display:flex;flex-direction:column}.class-navigation{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:20px}.class-navigation a,.class-navigation span{border:1px solid #ffffff20;border-radius:14px;min-height:42px;display:grid;place-items:center;text-align:center;font-size:12px;font-weight:700;padding:8px}.class-navigation a:hover{background:#ffffff12}.class-navigation span{color:#606b78}.discussion-panel{border:1px solid #ffffff17;border-radius:23px;background:#ffffff06;overflow:hidden;display:flex;flex-direction:column;min-height:0;flex:1}.discussion-panel>header{padding:18px 20px;border-bottom:1px solid #ffffff15}.discussion-panel h2{font-size:17px;text-transform:none;letter-spacing:0;color:white;margin:0}.discussion-panel header p{font-size:12px;color:#a8b5c5;margin:5px 0 0}.discussion-panel form{padding:20px;border-bottom:1px solid #ffffff17}.discussion-panel form label{font-size:13px;font-weight:700;display:block;margin-bottom:10px}.discussion-panel textarea{width:100%;min-height:100px;background:#ffffff08;border:1px solid #ffffff1f;border-radius:15px;color:white;padding:13px}.discussion-panel form .btn{font-size:12px;padding:8px 15px;min-height:39px}.comment-list{overflow:auto;scrollbar-width:thin;scrollbar-color:#3b526b transparent}.discussion-panel .comment{padding:20px;border-top:0;border-bottom:1px solid #ffffff15}.discussion-panel .comment strong{font-size:14px}.discussion-panel .comment p{font-size:14px}.no-comments{padding:20px;color:#aebac9}.exam-shell{padding:30px;min-height:530px}.exam-stage{width:min(700px,100%);max-height:100%;overflow:auto}.exam-stage h1{font-size:27px}
@media(max-width:1200px){.classroom-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.classroom-layout .discussion{position:static;grid-column:2;height:auto;min-height:360px;border-left:0;border-top:1px solid #ffffff17;padding:25px 0 0}}
@media(max-width:800px){.classroom-wrap{width:calc(100% - 30px)}.aula-contexto{padding:13px;gap:12px}.aula-contexto nav{flex-wrap:wrap}.context-course{max-width:160px}.course-progress{font-size:11px;padding:8px}.course-progress .progress-track{display:none}.classroom-layout{display:flex;flex-direction:column;gap:25px;margin-top:20px}.classroom-layout .lesson-stage{order:1;width:100%}.classroom-layout .module-list{order:2;position:static;height:auto;width:100%;padding:0;border:0;max-height:none}.classroom-layout .discussion{order:3;width:100%;padding:20px 0 0}.module-list h2{margin:0}.module-items{height:auto;max-height:55vh}.module-list:not(.is-open) .module-items,.module-list:not(.is-open) .rail-progress{display:none}.lesson-copy{grid-template-columns:1fr;gap:15px}.lesson-copy section:first-child{border:0;border-bottom:1px solid #ffffff17;padding:0 0 15px}.classroom-layout .video-controls{padding:7px 10px 11px}.volume-control input{width:54px}.lesson-head h1{font-size:26px}}
@media(max-width:800px){.classroom-layout{gap:0}.classroom-layout .lesson-stage{display:contents}.classroom-layout .video-shell,.classroom-layout .exam-shell{order:1;width:100%}.classroom-layout .video-controls{order:2;width:100%}.classroom-layout .lesson-head{order:3;width:100%;margin-bottom:22px}.classroom-layout .module-list{order:4;margin:0 0 26px}.classroom-layout .lesson-copy{order:5;width:100%;margin-bottom:27px}.classroom-layout .discussion{order:6}.classroom-layout .video-empty strong,.classroom-layout .video-empty p{display:none}.classroom-layout .video-empty .video-center-play{margin:0}.classroom-layout .video-empty{display:grid;place-items:center}}

/* Reproductor y pausas de aprendizaje del aula nativa. */
.classroom-layout .video-empty strong,.classroom-layout .video-empty p{display:none}
.classroom-layout .video-empty .video-center-play{margin:0}
.video-shell:not(.exam-shell)::after{content:"";position:absolute;top:20px;right:20px;width:45px;height:26px;background:url('assets/seo-logo.webp') center/contain no-repeat;opacity:.92;pointer-events:none}
.video-shell:not(.exam-shell):not(.is-bunny):not(:has(video))::before{content:"Video pendiente";position:absolute;top:20px;left:20px;z-index:1;border:1px solid #ffffff30;border-radius:99px;background:#1e2937;padding:7px 14px;color:#c9d3e1;font-size:12px;font-weight:700}
.classroom-layout .video-shell.is-bunny{border-radius:20px}
.video-shell.is-bunny iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.classroom-layout .video-controls{position:relative}
.checkpoint-markers{position:absolute;left:20px;right:20px;top:8px;height:10px;pointer-events:none}
.checkpoint-marker{position:absolute;top:-5px;width:17px;height:17px;padding:0;border:2px solid #172332;background:#ffc400;transform:translateX(-50%) rotate(45deg);border-radius:4px;pointer-events:auto;z-index:3}
.checkpoint-marker.is-solved{background:#42ba8b}
.checkpoint-marker:focus-visible{outline:3px solid white;outline-offset:3px}
.checkpoint-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:#14233be9;padding:12px;overflow:auto}
.checkpoint-dialog{width:min(590px,100%);max-height:100%;overflow:auto;border:1px solid #ffffff30;border-radius:17px;background:#1b2b42;padding:clamp(14px,2vw,27px);box-shadow:0 18px 55px #0009}
.checkpoint-eyebrow{margin:0 0 10px;color:#ffc400;font-size:13px;font-weight:750}
.checkpoint-dialog h2{font-size:clamp(17px,2vw,23px);line-height:1.3;margin:0 0 18px}
.checkpoint-options{border:0;margin:0;padding:0;display:grid;gap:8px}
.checkpoint-options label{display:flex;align-items:center;gap:10px;min-height:42px;border:1px solid #ffffff29;border-radius:10px;padding:9px 12px;color:#f2f5f8;font-size:13px;cursor:pointer}
.checkpoint-options label:has(input:checked){border-color:#ffc400;background:#ffc4001c}
.checkpoint-options input[type=text]{width:100%;min-height:44px;background:#16263a;color:#fff;border:1px solid #ffffff45;border-radius:10px;padding:10px 12px}
.checkpoint-feedback{color:#ecf2f8;font-size:13px;line-height:1.45;min-height:1.4em}
.checkpoint-actions{display:flex;gap:10px;flex-wrap:wrap}
.checkpoint-actions .btn{font-size:13px}
.checkpoint-load-error{position:absolute;z-index:6;left:20px;bottom:20px;border:1px solid #ffc400;border-radius:8px;padding:9px;background:#192435;color:white}
@media(max-width:600px){.checkpoint-markers{left:10px;right:10px}.checkpoint-dialog{padding:14px}.checkpoint-options label{font-size:12px;min-height:40px}}

/* El aula conserva la escala y los tres rieles de la interfaz aprobada. */
@media(min-width:1201px){
  body:has(.classroom-shell) .site-header{height:56px}
  body:has(.classroom-shell) .header-inner{height:56px}
  body:has(.classroom-shell) .site-header .brand img{width:90px}
  body:has(.classroom-shell) .site-header .brand{font-size:14px}
  body:has(.classroom-shell) .site-header .nav{font-size:12px;gap:22px}
  body:has(.classroom-shell) .site-header .header-cta{font-size:12px;min-height:35px;padding:7px 13px}
  .classroom-shell{padding-top:28px}
  .classroom-wrap{width:min(1568px,calc(100% - 64px))}
  .classroom-layout{grid-template-columns:264px minmax(0,1fr) 336px;gap:24px;margin-top:28px}
  .classroom-layout .module-list{padding-right:24px}
  .classroom-layout .discussion{padding-left:24px}
}
.classroom-layout .module-item li a.active{background:transparent;border:0;border-radius:0;box-shadow:none;padding:3px 2px;color:#f7f9fc}
.classroom-layout .module-list details.module-item{padding:0;border:0}
.classroom-layout .module-list .module-item summary{min-height:40px}
.classroom-layout .module-item li a.active .lesson-node{background:#101418;border-color:#4aa7ff;color:#4aa7ff}
.classroom-layout .module-item ol{margin-bottom:13px}
.classroom-layout .module-items::-webkit-scrollbar,.classroom-layout .comment-list::-webkit-scrollbar{width:5px}
.classroom-layout .module-items::-webkit-scrollbar-thumb,.classroom-layout .comment-list::-webkit-scrollbar-thumb{background:#4d6688;border-radius:10px}
.classroom-layout .video-controls{border-top:0}
.classroom-layout .video-control-row{gap:10px}
.classroom-layout .discussion-panel>header p{display:none}
.classroom-layout .discussion-panel>header{padding-block:19px}
.classroom-layout .volume-control{margin-left:0}
.classroom-layout .video-speed{margin-left:auto}
.classroom-layout .video-empty{display:grid;place-items:center}
.exam-form{display:grid;gap:10px;margin-top:20px}
.exam-form label{display:flex;align-items:center;gap:10px;min-height:47px;border:1px solid #ffffff2b;border-radius:12px;padding:10px 14px;color:#f4f6fb}
.exam-form label:has(input:checked){border-color:#ffc400;background:#ffc40017}
.exam-form label:has(input[type=text]){display:grid;align-items:stretch}
.exam-form input[type=text]{width:100%;background:#111c2d;border:1px solid #ffffff40;border-radius:8px;color:white;padding:11px}
.exam-form .btn{margin-top:12px}
.video-end-overlay{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;background:#101d30ef;color:#f8fafc}
.video-end-overlay h2{font-size:clamp(23px,3vw,36px);margin:0}
.video-end-overlay p{font-size:15px;color:#c6d4e5;margin:0}
.video-end-overlay>div{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.video-control-row .video-skip{font-size:23px;line-height:1;min-width:29px}
.volume-control .video-mute{font-size:18px;min-width:27px}

/* Ajustes del aula respecto al reproductor original aprobado. */
@media(min-width:801px){
  .classroom-layout .module-list h2{margin-top:25px}
  .classroom-layout .module-item li a{grid-template-columns:80px minmax(0,1fr);min-height:50px}
}
.classroom-layout .video-seek{appearance:none;-webkit-appearance:none;height:6px;border-radius:9px;background:#465c79;cursor:pointer;outline:none}
.classroom-layout .video-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background:#2f94f3;border:0}
.classroom-layout .video-seek:disabled::-webkit-slider-thumb{opacity:0}
.classroom-layout .video-seek::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#2f94f3}
.classroom-layout .video-seek:disabled::-moz-range-thumb{opacity:0}
.classroom-layout .video-control-row{min-height:30px}
.classroom-layout .video-control-row button{font-size:17px}
.classroom-layout .video-control-row .video-skip{font-size:21px;min-width:24px}
.classroom-layout .video-control-row .video-caption{font-size:17px;min-width:22px}
.classroom-layout .volume-control input{appearance:none;-webkit-appearance:none;height:4px;border-radius:6px;background:#92b9e7}
.classroom-layout .volume-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:0;border-radius:50%;background:#a7c8f2}
.classroom-layout .volume-control input:disabled::-webkit-slider-thumb{opacity:0}
.classroom-layout .discussion-panel h2{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#b7c3d3}
.classroom-layout .discussion-panel form{padding-top:27px}
.classroom-layout .discussion-panel form p:has(>button){display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:0}
.classroom-layout .comment-counter{color:#9aa8ba;font:11px ui-monospace,Consolas,monospace}
.classroom-layout .discussion-panel form .btn:disabled{background:#7a9bbe;opacity:.75;cursor:not-allowed}
.classroom-layout .comment-list .comment{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:start;column-gap:10px}
.classroom-layout .comment-avatar{grid-row:1/3;width:35px;height:35px;border-radius:50%;background:#303b49;color:#e2ebf8;display:grid;place-items:center;font-size:11px;font-weight:800}
.classroom-layout .comment-list .comment p{grid-column:2;margin:6px 0 0}
.classroom-layout .module-item li a.active{grid-template-rows:auto auto;row-gap:3px}
.classroom-layout .module-item li a.active .lesson-node{grid-row:1/3}
.classroom-layout .module-item li a.active .lesson-name{grid-column:2;align-self:end}
.classroom-layout .lesson-state{grid-column:2;align-self:start;color:#4ba7ff;font:11px ui-monospace,Consolas,monospace}
.classroom-layout .video-control-row{gap:4px}
.classroom-layout .video-control-row button{padding:0 2px}
.classroom-layout .video-control-row .video-skip{min-width:20px}
.classroom-layout .discussion-panel form{padding-top:35px;padding-bottom:5px}
.classroom-layout .discussion-panel form label{margin-bottom:17px}
.classroom-layout .lesson-copy section:first-child>div:first-of-type{border-bottom:1px solid #ffffff16;padding-bottom:24px;margin-bottom:28px}
.classroom-layout .lesson-tips{border-bottom:1px solid #ffffff16;padding-bottom:22px}
.classroom-layout .lesson-tips p{border-left:1px solid #35455a;padding:7px 0 7px 15px;margin:0;font-size:13px;line-height:1.65}
.classroom-layout .lesson-copy h3{font:700 10px ui-monospace,Consolas,monospace;letter-spacing:.18em}
@media(min-width:801px){.classroom-layout .lesson-copy{grid-template-columns:.82fr 1fr;gap:40px}}

/* El reproductor sigue accesible mientras se consultan los apuntes. */
.video-player{position:relative;min-width:0;scroll-margin-top:80px}
.video-player-anchor{scroll-margin-top:80px}
.mini-player-actions{display:none}
.video-player.is-mini{position:fixed;left:20px;bottom:20px;width:min(380px,calc(100vw - 40px));z-index:40;border:1px solid #ffffff32;border-radius:16px;background:#05080d;box-shadow:0 18px 65px #000b;overflow:hidden}
.video-player.is-mini .video-shell{border:0;border-radius:0;aspect-ratio:16/9}
.video-player.is-mini .video-controls{height:62px;border:0;border-radius:0;padding:5px 10px 8px;gap:3px}
.video-player.is-mini .video-control-row{gap:2px}
.video-player.is-mini .video-control-row button{font-size:15px;min-width:18px}
.video-player.is-mini .video-control-row .video-skip{font-size:18px}
.video-player.is-mini .video-time{font-size:10px}
.video-player.is-mini .volume-control input{width:57px}
.video-player.is-mini .video-speed{font-size:10px;padding:3px}
.video-player.is-mini .video-center-play{width:45px;height:45px;font-size:17px}
.video-player.is-mini .video-shell::after{top:12px;right:12px;width:35px}
.video-player.is-mini .video-shell::before{top:12px;left:12px;font-size:10px;padding:5px 9px}
.video-player.is-mini .mini-player-actions{position:absolute;inset:6px 6px auto;z-index:7;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.mini-player-actions button{pointer-events:auto;min-height:25px;border:1px solid #ffffff39;border-radius:15px;background:#05080dc9;color:#dce6f3;padding:3px 9px;font:700 9px ui-monospace,Consolas,monospace;letter-spacing:.05em}
.mini-player-actions button:nth-child(2){cursor:grab;touch-action:none}
.mini-player-actions button:nth-child(2):active{cursor:grabbing}
.mini-player-actions button:last-child{font-size:16px;line-height:1;padding:3px 8px}
.video-player.is-mini .video-shell:has(.checkpoint-overlay) .mini-player-actions{display:none}
@media(max-width:800px){.video-player.is-mini{left:12px;bottom:12px;width:min(330px,calc(100vw - 24px))}.video-player.is-mini .video-controls{padding-inline:7px}.video-player.is-mini .video-control-row .video-caption{display:none}}

/* Botones e iconos del aula aprobada. */
.classroom-layout .module-items{height:calc(100% - 55px)}
.classroom-layout .module-items h2{position:sticky;top:0;z-index:2;background:#101418;margin:0;padding:25px 0 25px}
.classroom-layout .module-ring{position:relative;width:36px;height:36px;border:0;background:none;transform:none!important;font-size:0}
.classroom-layout .module-item:not([open]) .module-ring{width:32px;height:32px}
.classroom-layout .module-ring::after{content:none}
.classroom-layout .module-progress{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.classroom-layout .module-chevron{position:relative;width:16px;height:16px;color:#94a2b7;transition:transform .2s}
.classroom-layout .module-item[open] .module-chevron{transform:rotate(180deg);color:var(--module-color)}
.classroom-layout .module-item summary{font-weight:650}
.classroom-layout .video-control-row button{display:inline-grid;place-items:center;flex:0 0 auto}
.classroom-layout .video-control-row button svg{width:19px;height:19px}
.classroom-layout .video-control-row .video-skip svg{width:20px;height:20px}
.classroom-layout .video-center-play{width:96px;height:96px}
.classroom-layout .video-center-play svg{width:36px;height:36px}
.video-player.is-mini .video-center-play{width:45px;height:45px}
.video-player.is-mini .video-center-play svg{width:20px;height:20px}
.classroom-layout .video-seek:disabled{cursor:default}
.classroom-layout .video-time{font-family:inherit;font-weight:650}
.classroom-layout .class-navigation a,.classroom-layout .class-navigation span{display:flex;align-items:center;justify-content:center;gap:7px}
.classroom-layout .class-navigation a>span,.classroom-layout .class-navigation>span>span{display:inline;min-height:0;border:0;border-radius:0;background:none;padding:0;color:inherit;font-size:inherit;font-weight:inherit}
.classroom-layout .class-navigation svg{width:17px;height:17px;flex:none}
.classroom-layout .discussion-panel h2{display:flex;align-items:center;gap:10px}
.classroom-layout .discussion-panel h2 svg{width:17px;height:17px;color:#95bce7}
.classroom-layout .discussion-panel form .btn{display:inline-flex;gap:8px;padding-inline:18px}
.classroom-layout .discussion-panel form .btn svg{width:17px;height:17px}
.classroom-layout .video-controls{padding-inline:16px}
.classroom-layout .checkpoint-markers{left:16px;right:16px}
.classroom-layout .volume-control::before{content:"";height:20px;width:1px;background:#405066;margin-right:6px}
/* Un único módulo desplegado; el marcador vertical señala solamente el módulo actual. */
.classroom-layout .module-item[open] summary{border-left-color:transparent}
.classroom-layout .module-item.is-current summary{border-left-color:var(--module-color)}
.classroom-layout .module-item.is-completed:not(.is-current) summary{border-left-color:transparent}
.classroom-layout .module-item li a.is-completed{grid-template-rows:auto auto;row-gap:3px}
.classroom-layout .module-item li a.is-completed .lesson-node{grid-row:1/3;display:grid;place-items:center;background:#3194ff;border-color:#3194ff;color:#081a2c;font-size:17px;font-weight:800}
.classroom-layout .module-item li a.active.is-completed .lesson-node{background:#3194ff;border-color:#3194ff;color:#081a2c}
.classroom-layout .module-item li a.is-completed .lesson-name{grid-column:2;align-self:end}
.classroom-layout .module-item li a.is-completed .lesson-state{grid-column:2;align-self:start;color:#8e9aa9}
.classroom-layout .module-item.is-completed .module-progress circle:last-child{opacity:1}
.classroom-layout .module-item ol{border-left:0}
.classroom-layout .lesson-node.is-numbered{font:700 9px ui-monospace,Consolas,monospace;color:#8997aa;border-color:#394757}
.classroom-layout .lesson-node svg{width:16px;height:16px}
.classroom-layout .module-item li a.active:not(.is-completed) .lesson-node svg{width:12px;height:12px;margin-left:2px}
.classroom-layout .module-item li a.active:not(.is-completed) .lesson-node{border-color:var(--module-color);color:var(--module-color)}
.classroom-layout .module-item li a.active:not(.is-completed) .lesson-state{color:var(--module-color)}
/* Tamaños originales del control: botones en una sola línea e iconos Lucide pequeños. */
.classroom-layout .video-control-row{min-height:32px;gap:4px}
.classroom-layout .video-control-row button:not(.video-speed){width:32px;height:32px;min-width:32px;padding:0;display:inline-grid;place-items:center;border-radius:6px}
.classroom-layout .video-control-row button svg{width:14px;height:14px;flex:none}
.classroom-layout .video-control-row .video-play svg{width:16px;height:16px}
.classroom-layout .video-control-row .video-skip svg{width:14px;height:14px}
.classroom-layout .video-control-row .video-skip{min-width:32px}
.classroom-layout .video-control-row .video-time{margin-left:4px;font-size:12px}
.classroom-layout .volume-control::before{height:16px;margin:0 4px 0 1px}
.classroom-layout .volume-control{gap:3px}
.classroom-layout .video-speed{min-height:32px;padding:4px 8px}
.classroom-layout .video-center-play svg{margin-left:4px}
.classroom-layout .video-center-play[hidden]{display:none!important}
.classroom-layout .video-speed-wrap{position:relative;display:flex;align-items:center;flex:none;width:54px;height:32px;margin-left:auto;border:1px solid #ffffff1c;border-radius:999px;background:#ffffff09}
.classroom-layout .video-speed-wrap .video-speed{appearance:none;-webkit-appearance:none;width:100%;height:100%;min-height:0;margin:0;padding:0 18px 0 10px;border:0;border-radius:999px;background:transparent;color:#c8d0dc;font-size:12px;font-weight:700;cursor:pointer}
.classroom-layout .video-speed-wrap .video-speed:disabled{cursor:default;opacity:.7}
.classroom-layout .video-speed-wrap svg{position:absolute;right:5px;width:12px;height:12px;pointer-events:none;color:#c8d0dc}
.video-player.is-mini .video-speed-wrap{width:48px;height:28px}
/* Distribución compacta del reproductor flotante del respaldo. */
.video-player.is-mini .video-shell{aspect-ratio:1.82}
.video-player.is-mini .video-controls{height:86px;padding:7px 12px 11px;justify-content:space-between;gap:10px}
.video-player.is-mini .video-seek{height:14px;flex:none;border-radius:9px;background:#526b8d}
.video-player.is-mini .video-control-row{min-height:32px;gap:0;flex-wrap:nowrap;white-space:nowrap}
.video-player.is-mini .video-control-row button:not(.video-speed){width:24px;height:24px;min-width:24px}
.video-player.is-mini .video-control-row .video-skip{min-width:24px}
.video-player.is-mini .video-control-row .video-time{margin-left:2px;font-size:11px;white-space:nowrap}
.video-player.is-mini .volume-control{gap:2px}
.video-player.is-mini .volume-control input{width:66px}
.video-player.is-mini .video-speed-wrap,.video-player.is-mini .video-caption,.video-player.is-mini .video-fullscreen{display:none!important}
.video-player.is-mini .video-center-play{width:50px;height:50px}
.classroom-layout .video-speed-wrap .video-speed{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none;padding:0}
.classroom-layout .video-control-row .video-speed-trigger{display:flex;width:100%;height:100%;min-width:0;align-items:center;justify-content:center;gap:4px;padding:0 6px;border:0;border-radius:999px;background:transparent;color:#c8d0dc;font-size:12px;font-weight:700}
.classroom-layout .video-speed-trigger svg{width:12px;height:12px;position:static;pointer-events:none}
.classroom-layout .video-speed-trigger:disabled{cursor:default;opacity:.7}
.classroom-layout .video-speed-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:10;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:124px;padding:6px;border:1px solid #ffffff26;border-radius:12px;background:#101823f7;box-shadow:0 14px 30px #0009}
.classroom-layout .video-speed-menu[hidden]{display:none!important}
.classroom-layout .video-control-row .video-speed-menu button{width:auto;height:32px;min-width:0;padding:4px;border:0;border-radius:7px;background:transparent;color:#c8d0dc;font-size:11px;font-weight:700}
.classroom-layout .video-speed-menu button[aria-checked="true"]{background:#f2bd21;color:#11191f}
.classroom-layout .video-speed-menu button:hover{background:#ffffff20}
.classroom-layout .video-speed-menu button[aria-checked="true"]:hover{background:#f2bd21}
.classroom-layout .module-list .module-item:not([open]) summary{min-height:36px}
.classroom-layout .module-item:not([open]) .module-ring{width:32px;height:32px}
.classroom-layout .module-item:not([open]) .module-name{font-size:12px}
.classroom-layout .module-items{scrollbar-width:thin;scrollbar-color:#526d8b transparent}
.classroom-layout .module-items::-webkit-scrollbar{width:5px}
.classroom-layout .module-items{height:calc(100% - 44px)}
/* Proporciones del reproductor completo de la referencia. */
.classroom-layout .video-player:not(.is-mini) .video-center-play{width:100px;height:100px;background:#6885aa}
.classroom-layout .video-player:not(.is-mini) .video-center-play svg{width:46px;height:46px;margin-left:4px}
.classroom-layout .video-player:not(.is-mini) .video-control-row button svg{width:18px;height:18px}
.classroom-layout .video-player:not(.is-mini) .video-control-row .video-skip svg{width:20px;height:20px}
.classroom-layout .video-player:not(.is-mini) .video-control-row button:disabled{opacity:.84}
.classroom-layout .video-player:not(.is-mini) .video-control-row .video-time{font:600 12px ui-monospace,Consolas,monospace;color:#b6c3d4;white-space:nowrap}
.classroom-layout .video-player:not(.is-mini) .video-speed-wrap{width:38px;height:38px;border-radius:999px}
.classroom-layout .video-player:not(.is-mini) .video-speed-trigger{font-size:11px;cursor:pointer}
.classroom-layout .video-player:not(.is-mini) .video-speed-trigger:hover,.classroom-layout .video-player:not(.is-mini) .video-speed-trigger:focus-visible{background:#ffffff18;color:#fff}
.classroom-layout .video-player:not(.is-mini) .volume-control input{width:80px}
.classroom-layout .video-player:not(.is-mini) .video-control-row{gap:3px}
.classroom-layout .video-player:not(.is-mini) .volume-control::before{margin-left:5px;margin-right:5px}
.classroom-layout .video-speed-wrap .video-speed[hidden]{display:none}
@media(max-width:800px){.classroom-layout .video-player{order:1;width:100%}.classroom-layout .module-items{height:auto;max-height:55vh}}

/* Cristal oscuro discreto para los controles, con acentos de la marca. */
.classroom-layout .video-player .video-controls{background:radial-gradient(circle at 92% 0%,rgba(210,162,73,.11),transparent 26%),linear-gradient(115deg,rgba(24,42,64,.91),rgba(12,22,36,.87));border:1px solid rgba(181,203,228,.18);border-top:1px solid rgba(219,231,245,.24);box-shadow:inset 0 1px rgba(255,255,255,.06),0 12px 28px rgba(2,9,18,.16);-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%)}
.classroom-layout .video-player .video-control-row button:not(:disabled):hover,.classroom-layout .video-player .video-control-row button:not(:disabled):focus-visible{background:rgba(230,239,249,.12);color:#fff}
.classroom-layout .video-player .video-seek{accent-color:#a9c8ed}
.classroom-layout .video-player .video-speed-wrap{border-color:rgba(225,234,245,.26);background:rgba(255,255,255,.045)}
.classroom-layout .video-player .video-center-play:not([hidden]){box-shadow:0 15px 46px rgba(6,15,27,.45),inset 0 1px rgba(255,255,255,.24)}
.classroom-layout .video-player .video-shell video{cursor:pointer}
.classroom-layout .video-player .video-control-row button:not(.video-speed-trigger){border:1px solid transparent;background:rgba(255,255,255,.025);color:#dce7f4;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.classroom-layout .video-player .video-control-row button:not(:disabled):hover,.classroom-layout .video-player .video-control-row button:not(:disabled):focus-visible{border-color:rgba(232,188,102,.48);background:rgba(226,179,80,.12);color:#f1ce87;box-shadow:0 0 16px rgba(226,179,80,.12)}
.classroom-layout .video-player .video-speed-trigger{color:#e0e8f4}
.classroom-layout .video-player .video-speed-trigger:hover,.classroom-layout .video-player .video-speed-trigger:focus-visible{color:#f1ce87!important}
.classroom-layout .video-player .video-center-play:not([hidden]){border:1px solid rgba(232,190,108,.58);background:linear-gradient(145deg,rgba(124,153,188,.97),rgba(83,114,152,.94));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

/* El tramo azul muestra la posición ya recorrida. */
.classroom-layout .video-player .video-seek{background:linear-gradient(to right,#4a9de7 0 var(--seek-played,0%),#536784 var(--seek-played,0%) 100%)}
.classroom-layout .video-player .video-seek::-webkit-slider-thumb{background:#7cbdff;box-shadow:0 0 0 4px #4a9de72b,0 0 12px #4a9de760}
.classroom-layout .video-player .video-seek::-moz-range-thumb{background:#7cbdff;box-shadow:0 0 0 4px #4a9de72b,0 0 12px #4a9de760}

/* Conversaciones anidadas de cada clase. */
.classroom-layout .comment-list>.comment{border-bottom:1px solid #ffffff16}
.classroom-layout .comment-list .comment{display:grid;grid-template-columns:35px minmax(0,1fr);column-gap:10px;padding:17px 14px 15px;min-width:0}
.classroom-layout .comment-main{grid-column:2;min-width:0}
.classroom-layout .comment-main strong{display:block;line-height:1.35}
.classroom-layout .comment-main p{grid-column:auto;margin:7px 0 9px;line-height:1.55;overflow-wrap:anywhere}
.classroom-layout .comment-in-reply{display:block;margin-top:3px;color:#8eb8e0;font-size:11px}
.classroom-layout .comment-replies{grid-column:1/-1;min-width:0;margin:10px 0 0 16px;padding-left:10px;border-left:2px solid #607da461}
.classroom-layout .comment-replies:empty{display:none}
.classroom-layout .comment-replies .comment{padding:12px 0 6px;border:0}
.classroom-layout .comment-replies .comment-avatar{width:29px;height:29px;font-size:9px}
.classroom-layout .comment-replies .comment{grid-template-columns:29px minmax(0,1fr)}
.classroom-layout .comment-replies .comment-replies{margin-left:7px;padding-left:7px}
.classroom-layout .comment-actions{display:flex;flex-wrap:wrap;align-items:center;gap:3px;margin-top:6px}
.classroom-layout .comment-actions button{border:1px solid transparent;border-radius:7px;background:transparent;color:#a5b4c7;min-height:30px;padding:4px 7px;font-size:11px;font-weight:700}
.classroom-layout .comment-actions button:hover,.classroom-layout .comment-actions button:focus-visible{border-color:#ffffff20;background:#ffffff0d;color:#e5f0fb}
.classroom-layout .comment-actions .comment-like[aria-pressed="true"]{color:#f0bb69}
.classroom-layout .comment-like-count{font-variant-numeric:tabular-nums;opacity:.8}
.classroom-layout .comment-pending{display:block;color:#e5bd73;font-size:10px;line-height:1.4}
.classroom-layout #aseo-reply{grid-column:1/-1;display:block;margin:12px 0 4px;padding:13px;border:1px solid #789ac055;border-radius:12px;background:#192839}
.classroom-layout #aseo-reply[hidden]{display:none}
.classroom-layout #aseo-reply textarea{min-height:78px;font-size:12px}
.classroom-layout .reply-form-head,.classroom-layout .reply-form-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.classroom-layout .reply-form-head{margin-bottom:10px;font-size:11px}
.classroom-layout .reply-cancel{border:0;background:transparent;color:#c4d0dd;font-size:20px;line-height:1}
.classroom-layout .reply-form-actions{margin-top:8px}
.classroom-layout .reply-counter,.classroom-layout .reply-status{font:10px ui-monospace,Consolas,monospace;color:#a6b5c5}
.classroom-layout .reply-status{margin:8px 0 0}
.classroom-layout .comment-list:has(.comment)>.no-comments{display:none}

/* Pantalla completa del reproductor entero: video y controles permanecen juntos. */
.classroom-layout .video-player:fullscreen{display:flex;flex-direction:column;width:100vw;height:100vh;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:#05080d;overflow:hidden}
.classroom-layout .video-player:fullscreen::backdrop{background:#05080d}
.classroom-layout .video-player:fullscreen .video-shell{position:relative;flex:1 1 auto;width:100%;height:calc(100vh - 86px);min-height:0;aspect-ratio:auto;border:0;border-radius:0;background:#000}
.classroom-layout .video-player:fullscreen .video-shell video{width:100%;height:100%;object-fit:contain}
.classroom-layout .video-player:fullscreen .video-controls{flex:0 0 86px;width:100%;height:86px;border:0;border-top:1px solid #ffffff2d;border-radius:0;padding:9px clamp(16px,3vw,48px) 13px}
.classroom-layout .video-player:fullscreen .mini-player-actions{display:none}
.classroom-layout .video-player:fullscreen .video-center-play{width:96px;height:96px}

/* Ruta y progreso del aula sin panel de fondo, con menos espacio superior. */
.classroom-shell:not(.glossary-classroom){padding-top:10px;background:#101418}
.classroom-shell:not(.glossary-classroom) .aula-contexto{min-height:50px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.classroom-shell:not(.glossary-classroom) .classroom-layout{margin-top:18px}

/* Comentarios: menos espacio vacío sin reducir demasiado la zona de escritura. */
.classroom-layout .discussion-panel>header{padding:16px 18px}
.classroom-layout .discussion-panel form{padding:24px 18px 10px}
.classroom-layout .discussion-panel form label{margin-bottom:12px}
.classroom-layout .discussion-panel form textarea{min-height:100px}
.classroom-layout .discussion-panel form p:has(>button){margin-top:14px}
.classroom-layout .discussion-panel .comment-status:empty{display:none}
.classroom-layout .discussion-panel .comment-status:not(:empty){margin:12px 0 0}
