:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#17243b;background:#f7f9fc}*{box-sizing:border-box}body{margin:0}header{background:#fff;display:flex;align-items:center;justify-content:space-between;padding:18px 6%;box-shadow:0 2px 12px #182f4d0c;gap:20px}a{text-decoration:none;color:#1b3558}.brand{font-size:22px;font-weight:850;letter-spacing:-1px}.brand span{color:#008b85}nav{display:flex;align-items:center;gap:24px;flex-wrap:wrap}nav form{margin:0}.btn,button{background:#008b85;border:0;border-radius:8px;padding:12px 20px;color:#fff;font-weight:700;cursor:pointer;display:inline-block}.hero{background:linear-gradient(110deg,#102a47,#086f76);color:#fff;padding:90px 0}.container{max-width:1120px;margin:auto;padding:42px 24px}.hero .container{padding-top:0;padding-bottom:0}.hero h1{font-size:clamp(34px,5vw,58px);max-width:740px;line-height:1.12;margin:18px 0}.hero p{max-width:600px;font-size:19px;line-height:1.7}.eyebrow{color:#80e7d9;font-weight:700;letter-spacing:2px}.hero .btn{background:#fff;color:#086f76}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:22px}.course{background:#fff;border:1px solid #e4e9ef;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px #142c4809}.cover{background:linear-gradient(135deg,#173d66,#15a5a0);height:150px;color:white;display:flex;align-items:center;justify-content:center;font-weight:800;letter-spacing:3px}.pad{padding:22px}.pad h3{min-height:48px}.pad p{color:#596a80;line-height:1.5}.tag{font-size:12px;background:#e4f7f4;color:#087b72;border-radius:30px;padding:6px 10px}.auth{max-width:450px;background:white;border:1px solid #e4e9ef;border-radius:16px;padding:36px;margin:65px auto}.auth form{display:flex;flex-direction:column;gap:12px}.auth input{border:1px solid #cbd5e1;padding:13px;border-radius:7px;font-size:15px}.auth label{font-weight:600}.auth button{margin-top:10px}.error{color:#b42318}.empty{background:#fff;border:1px solid #e4e9ef;padding:40px;border-radius:12px}footer{text-align:center;padding:35px;color:#6b7c90}@media(max-width:650px){header{align-items:flex-start;flex-direction:column}nav{gap:14px}.hero{padding:50px 0}}
/* Entrega 02 · Identidad PR y detalle de cursos */
:root{--ink:#181b23;--red:#db0a16;--line:#e9e9ed}
.site-header{background:#111115;color:#fff;padding:10px 6%;box-shadow:0 3px 16px #0002}
.site-header nav a{color:#eee;font-size:14px}.site-header nav a:hover{color:#ff6069}
.site-header nav .btn{background:var(--red);color:#fff}
.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:20px;letter-spacing:0}
.brand img{height:48px;width:56px;object-fit:contain;background:#050505;border-radius:7px}
.brand b{color:#ff2935}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:1.8px;color:#a7a7af;margin-top:2px}
.nav-logout{background:#292930;color:#fff;padding:10px 13px}
.hero{background:linear-gradient(110deg,#111217 0%,#24232a 58%,#7a1219 100%)}.hero .btn{color:#fff;background:var(--red)}
.eyebrow{color:#ff8188}.eyebrow.dark{color:#b80b15}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}.section-head h2{margin:8px 0 0;font-size:30px}
.subtle{color:#6e7481}.course .cover{display:flex;flex-direction:column;gap:9px;background:linear-gradient(130deg,#0e1016,#28262b 62%,#a30916);letter-spacing:1px;font-size:11px;color:#fff}
.cover-monogram{font-size:65px;letter-spacing:-6px;font-weight:900;color:#eee;text-shadow:4px 2px #db0715}
.course .pad h3{min-height:54px}.course-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.course-bottom .btn{font-size:13px;padding:10px 12px;background:#d80b16}.course-bottom strong{font-size:20px;color:#19191e}
.tag{background:#ffe9eb;color:#a70b14}.detail-hero{background:linear-gradient(125deg,#13151b,#3b2025);color:#fff}.detail-grid{display:grid;grid-template-columns:1fr 340px;gap:44px;align-items:center}.detail-grid h1{font-size:clamp(32px,4vw,49px);line-height:1.13;margin:18px 0}.detail-grid p{line-height:1.65}.crumb{display:block;color:#e8c4c6;margin-bottom:22px}.chips{display:flex;gap:10px;flex-wrap:wrap}.chips span{background:#ffffff15;border:1px solid #ffffff28;border-radius:20px;padding:8px 12px;font-size:12px}.purchase{background:#fff;border-radius:15px;overflow:hidden;color:#181a20;box-shadow:0 15px 40px #0004}.purchase-cover{background:#0b0c10;color:#fff;height:150px;display:flex;align-items:center;justify-content:center;gap:12px;font-size:65px;font-weight:900;letter-spacing:-5px;text-shadow:4px 2px var(--red)}.purchase-cover span{font-size:14px;letter-spacing:2px;text-shadow:none;color:#ddd}.purchase-body{padding:24px}.purchase-body .subtle{margin:0}.price{font-size:32px;font-weight:800;margin:8px 0 20px}.full{display:block;text-align:center;width:100%;background:var(--red)}.small{font-size:12px;color:#727682;text-align:center}.info-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.info-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;line-height:1.7}.info-panel h2{margin-top:22px}.info-panel h2:first-child{margin-top:0}.checkout{max-width:700px;margin:35px auto}.checkout-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:25px 0}.notice{background:#fff3e7;border:1px solid #f6d2a5;border-radius:9px;padding:18px;margin-bottom:22px}footer{display:flex;align-items:center;justify-content:center;gap:10px;background:#111115;color:#c9c9d1}footer img{width:40px;height:40px;object-fit:contain}
@media(max-width:760px){.detail-grid,.info-grid{grid-template-columns:1fr}.detail-grid{gap:18px}.section-head{align-items:start;flex-direction:column}.site-header{padding:14px 5%}.brand img{height:40px;width:45px}.site-header nav{gap:12px}}

/* Entrega 03: identidad visual blanca, sin fondos negros ni rojos */
:root{--ink:#243047;--red:#275d9b;--line:#e3e8ef}
body{background:#fff;color:#243047}
.site-header{background:#fff;color:#243047;border-bottom:1px solid #e8edf2;box-shadow:0 2px 12px #2430470b}
.site-header nav a{color:#243047}.site-header nav a:hover{color:#275d9b}
.site-header nav .btn,.btn,button,.course-bottom .btn,.full{background:#275d9b;color:white}
.brand{color:#243047}.brand b{color:#243047}.brand small{color:#65758a}
.brand img{background:#fff;border:1px solid #edf0f4}
.nav-logout{background:#eef2f7;color:#243047}
.hero,.detail-hero{background:#fff;color:#243047;border-bottom:1px solid #e8edf2}
.hero .btn{background:#275d9b;color:white}
.eyebrow,.eyebrow.dark{color:#275d9b}.crumb{color:#275d9b}
.chips span{background:#f4f7fb;border:1px solid #e0e6ee;color:#34465f}
.purchase{border:1px solid #e5eaf0;box-shadow:0 12px 35px #1a31500d}
.purchase-cover,.course .cover{background:#f4f7fb;color:#243047;text-shadow:none}
.cover-monogram{color:#243047;text-shadow:none}
.purchase-cover span{color:#637188}
.tag{background:#edf3fb;color:#275d9b}
footer{background:#fff;color:#68788e;border-top:1px solid #e9edf2}
.info-panel,.auth,.course{background:#fff}
.payment-form{display:flex;flex-direction:column;gap:13px}
.payment-form input,.payment-form select{padding:12px;border:1px solid #cdd6e2;border-radius:8px;font:inherit}
.payment-instructions{padding:16px;background:#f5f8fc;border:1px solid #e2e8f0;border-radius:10px}
.payment-instructions[hidden]{display:none}
.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;background:white}
th,td{border-bottom:1px solid #e6ebf2;padding:12px;text-align:left;vertical-align:middle}
th{background:#f6f8fb}td form{display:flex;gap:6px}td button{padding:9px 12px}

/* Entrega 04 */
.admin-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:26px 0}.admin-links a{display:block;text-decoration:none;color:inherit}.admin-links a:hover{border-color:#9bb9d8}.payment-settings{margin:20px 0;max-width:760px}.payment-form textarea{padding:12px;border:1px solid #cdd6e2;border-radius:8px;font:inherit}.filter-pills{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.filter-pills a{padding:9px 15px;border:1px solid #d9e3ed;border-radius:20px;text-decoration:none;color:#23496b}.filter-pills a.active{background:#e9f2fb;border-color:#95b6d7}
/* Entrega 05 - Panel administrativo */
.pr-admin-shell{display:grid;grid-template-columns:235px minmax(0,1fr);max-width:1450px;margin:auto;background:#fff;min-height:75vh}
.pr-admin-sidebar{padding:32px 15px;border-right:1px solid #e5eaf0;display:flex;flex-direction:column;gap:8px}
.pr-admin-sidebar-title{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#8796aa;padding:8px 12px}
.pr-admin-menu-item{display:flex;gap:12px;align-items:center;padding:12px;border-radius:9px;color:#51637a;font-size:13px;font-weight:600}
.pr-admin-menu-item span{font-size:20px;width:24px;text-align:center}.pr-admin-menu-item:hover,.pr-admin-menu-item.selected{background:#edf4fc;color:#245e9d}
.pr-admin-sidebar-bottom{margin-top:auto;padding:22px 12px 0;border-top:1px solid #e8edf3;font-weight:700;font-size:13px}.pr-admin-sidebar-bottom span{display:block;color:#8b99a9;font-size:11px;font-weight:400;margin-top:6px}
.pr-admin-main{padding:43px clamp(22px,4vw,60px) 65px;min-width:0}.pr-admin-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:30px}
.pr-admin-kicker{font-size:11px;letter-spacing:1.3px;font-weight:800;color:#4171a7}.pr-admin-heading h1{font-size:clamp(25px,3vw,34px);margin:10px 0}.pr-admin-heading p,.pr-admin-section-head p{font-size:14px;color:#8491a2;margin:0}
.pr-admin-user-chip{display:flex;align-items:center;gap:8px;border:1px solid #e5ebf2;border-radius:30px;padding:10px 13px;font-size:12px;color:#52647c}.pr-admin-user-dot{width:8px;height:8px;border-radius:50%;background:#4eaa79}
.pr-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.pr-admin-metric{border:1px solid #e4eaf1;border-radius:13px;padding:20px;display:flex;flex-direction:column;box-shadow:0 4px 15px #152d4a08;min-width:0}
.pr-admin-metric-icon,.pr-admin-module-icon{display:grid;place-items:center;width:39px;height:39px;background:#edf4fc;color:#2b639e;border-radius:10px;font-weight:800;font-size:19px}.pr-admin-metric-label{font-size:12px;color:#718196;margin-top:17px}.pr-admin-metric strong{font-size:clamp(21px,2.5vw,29px);margin:8px 0;color:#24384f;overflow-wrap:anywhere}.pr-admin-metric small{color:#99a5b5;font-size:11px}
.pr-admin-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:42px 0 19px}.pr-admin-section-head h2{font-size:21px;margin:0 0 8px}.pr-admin-section-head>span{font-size:12px;color:#73849a}
.pr-admin-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.pr-admin-module{position:relative;display:block;border:1px solid #e5eaf1;border-radius:13px;padding:23px;color:#24384f;background:white;transition:box-shadow .15s,border-color .15s}
.pr-admin-module:hover{border-color:#9ebddf;box-shadow:0 12px 25px #1b416115}.pr-admin-module-arrow{position:absolute;right:22px;top:20px;color:#a5b3c2}.pr-admin-module h3{font-size:16px;margin:20px 0 8px}.pr-admin-module p{font-size:13px;color:#7b8a9d;line-height:1.6;min-height:43px;margin:0}.pr-admin-module-action{display:inline-block;margin-top:17px;font-size:12px;font-weight:700;color:#2865a1}
.pr-admin-help{display:flex;gap:10px;padding:15px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:9px;color:#78889c;font-size:12px;line-height:1.6;margin-top:24px}
@media(max-width:1080px){.pr-admin-shell{grid-template-columns:200px minmax(0,1fr)}.pr-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.pr-admin-shell{display:block}.pr-admin-sidebar{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #e5eaf0;padding:12px}.pr-admin-sidebar-title,.pr-admin-sidebar-bottom{display:none}.pr-admin-menu-item{white-space:nowrap}.pr-admin-main{padding:25px 18px}.pr-admin-user-chip{display:none}.pr-admin-modules{grid-template-columns:1fr}.pr-admin-section-head{align-items:start;flex-direction:column}}

/* Entrega 06 - Gestión de cursos */
.pr-courses-admin{padding-top:46px;padding-bottom:70px}
.pr-course-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:20px 0 28px}
.pr-course-top h1{font-size:32px;margin:8px 0;color:#213653}
.pr-course-top .btn{white-space:nowrap}
.pr-courses-table{border:1px solid #e5ebf2;border-radius:14px;overflow-x:auto;background:#fff}
.pr-courses-table table{width:100%;border-collapse:collapse}
.pr-courses-table th{font-size:12px;color:#697a90;background:#f7f9fc}
.pr-courses-table th,.pr-courses-table td{padding:18px;text-align:left;border-bottom:1px solid #e9eef4}
.pr-courses-table td strong{display:block;color:#213653;font-size:14px}
.pr-courses-table td small{display:block;color:#8b9aae;margin-top:6px;font-size:11px}
.pr-course-status{display:inline-block;border-radius:30px;padding:6px 10px;background:#f0f3f7;color:#627187;font-size:12px}
.pr-course-status.is-live{background:#e9f7ee;color:#28704a}
.pr-course-edit{font-weight:700;font-size:13px;color:#29649f}
.pr-course-form{max-width:950px}
.pr-form-section{background:#fff;border:1px solid #e5ebf2;border-radius:15px;padding:27px;margin-bottom:18px;box-shadow:0 4px 20px #1e385408}
.pr-form-section h2{font-size:19px;margin:0 0 22px;color:#213653}
.pr-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.pr-span{grid-column:1/-1}
.pr-field{display:flex;flex-direction:column;gap:8px}
.pr-field label{font-size:13px;font-weight:700;color:#40526b}
.pr-field input,.pr-field select,.pr-field textarea{width:100%;border:1px solid #dce4ee;border-radius:9px;padding:12px 13px;background:#fff;color:#23364f;font:inherit;font-size:14px}
.pr-field input:focus,.pr-field select:focus,.pr-field textarea:focus{outline:2px solid #b6d1ef;border-color:#5484bb}
.pr-field input[readonly]{background:#f4f6f9}
.pr-field small{font-size:11px;color:#8290a4}
.pr-publish{display:flex;align-items:center;justify-content:space-between;gap:18px}
.pr-publish h2{margin-bottom:7px}
.pr-checkbox{display:flex;align-items:center;gap:10px;font-weight:700;font-size:13px}
.pr-checkbox input{width:18px;height:18px}
.pr-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:18px}
.pr-cancel{font-size:14px;color:#60728a}
.pr-form-errors{color:#b42318;font-size:13px}
@media(max-width:700px){.pr-course-top{align-items:flex-start;flex-direction:column}.pr-form-grid{grid-template-columns:1fr}.pr-form-section{padding:18px}.pr-publish{align-items:flex-start;flex-direction:column}}

/* Etapa 07: aula y gestión de lecciones */
.pr-classroom{padding-top:42px;padding-bottom:70px}.pr-classroom-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:25px;align-items:start}.pr-classroom-layout h2{font-size:20px;margin:0 0 18px}.pr-classroom-module{border:1px solid #e4eaf2;border-radius:15px;background:white;padding:22px;margin-bottom:20px;box-shadow:0 6px 24px #153a5a08}.pr-classroom-module small{font-size:11px;color:#7a8da5}.pr-classroom-module h2,.pr-classroom-module h3{color:#233952;margin:7px 0}.pr-classroom-title{display:flex;justify-content:space-between;gap:14px}.pr-classroom-title p{color:#718198;font-size:13px}.pr-lesson{display:flex;gap:15px;align-items:flex-start;border-top:1px solid #edf0f5;padding:15px 0}.pr-lesson>div{flex:1;min-width:0}.pr-lesson strong{font-size:14px;color:#293d57}.pr-lesson small{display:block;margin-top:6px}.pr-lesson p{font-size:13px;color:#73849a;margin:7px 0;white-space:pre-line}.pr-lesson-type{border-radius:6px;padding:5px 9px;background:#eef4fc;color:#2d649b;font-size:11px;white-space:nowrap}.pr-inline-form{display:flex;flex-direction:column;gap:10px}.pr-inline-form summary{cursor:pointer;color:#29649f;font-weight:700;padding:13px 0}.pr-inline-form form{display:flex;flex-direction:column;gap:10px;padding-top:10px}.pr-inline-form label{font-size:12px;font-weight:700;color:#53677f}.pr-inline-form input,.pr-inline-form textarea,.pr-inline-form select{padding:11px;border:1px solid #dce4ee;border-radius:8px;font:inherit;font-size:13px;width:100%}.pr-inline-form .btn{align-self:start;margin-top:8px}.pr-minor{border:0;background:#f3f6fa;color:#63768c;border-radius:7px;padding:7px 10px;cursor:pointer;font-size:12px}.pr-alert{background:#fff4f1;color:#9a341b;border:1px solid #ffd9ce;border-radius:9px;padding:14px;margin:16px 0}@media(max-width:760px){.pr-classroom-layout{grid-template-columns:1fr}.pr-classroom-module{padding:16px}.pr-lesson{flex-wrap:wrap}}

/* Etapa 08: elección de origen y reproductor privado */
.pr-video-source,.pr-video-file,.pr-video-link{margin:12px 0}
.pr-video-source[hidden],.pr-video-file[hidden],.pr-video-link[hidden]{display:none!important}
.pr-source-choices{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.pr-source-choices label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e0e7f1;border-radius:10px;background:#f8faff;font-size:13px;cursor:pointer}
.pr-source-choices input{width:auto!important}
.pr-video-file small{display:block;color:#76869a;font-size:12px;margin-top:7px}
.pr-video-player{margin:12px 0;width:100%;max-width:760px;border-radius:12px;overflow:hidden;background:#142235}
.pr-video-player video{display:block;width:100%;height:auto;max-height:500px}

/* Entrega 09: interfaz del aula del alumno. Aislada bajo pr-learn-* */
.pr-learn-page{background:#f7f9fd;color:#1c3351;min-height:calc(100vh - 130px);padding-bottom:65px}
.pr-learn-top{padding-top:27px}.pr-learn-back{display:inline-flex;color:#536b8a;font-size:13px;font-weight:600;margin-bottom:20px;text-decoration:none}.pr-learn-back:hover{color:#245d9a}
.pr-learn-hero{background:#fff;border:1px solid #e7ecf3;border-radius:20px;padding:35px 39px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 9px 30px #2e4e7609;overflow:hidden}
.pr-learn-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:#3874b3}.pr-learn-hero h1{font-size:clamp(26px,3.1vw,38px);line-height:1.17;margin:13px 0;color:#1b3351;max-width:750px;letter-spacing:-.8px}.pr-learn-hero p{font-size:14px;color:#74859b;max-width:620px;line-height:1.7;margin:0 0 19px}
.pr-learn-pills{display:flex;flex-wrap:wrap;gap:9px}.pr-learn-pills span{background:#f0f5fc;color:#41678e;padding:8px 12px;border-radius:30px;font-size:12px;font-weight:650}.pr-learn-hero-art{flex:0 0 145px;aspect-ratio:1;background:linear-gradient(140deg,#eaf3ff,#f7faff);border:1px solid #e0eaf7;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-6deg)}.pr-learn-hero-art span{font-size:65px;font-weight:900;letter-spacing:-8px;color:#235b9b}.pr-learn-hero-art small{font-size:7px;letter-spacing:1px;color:#7290b1}
.pr-learn-layout{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start;gap:27px;margin-top:28px}.pr-learn-sidebar{position:sticky;top:22px;background:#fff;border:1px solid #e5ebf3;border-radius:15px;padding:22px 16px;box-shadow:0 5px 18px #294a7306}.pr-learn-side-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 8px 16px;border-bottom:1px solid #edf1f6}.pr-learn-side-title span{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#536d8a}.pr-learn-side-title strong{font-size:11px;color:#8c9aab;white-space:nowrap}.pr-learn-side-link{display:flex;gap:11px;align-items:center;padding:14px 9px;border-bottom:1px solid #f0f3f8;color:#314762;text-decoration:none;border-radius:8px}.pr-learn-side-link:hover{background:#f1f6fd}.pr-learn-side-number{display:grid;place-items:center;background:#eef5fd;color:#336aab;border-radius:9px;width:35px;height:35px;flex:0 0 35px;font-size:12px;font-weight:800}.pr-learn-side-link>span:nth-child(2){flex:1;min-width:0}.pr-learn-side-link strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.pr-learn-side-link small{display:block;color:#91a0b2;font-size:11px;margin-top:4px}.pr-learn-side-link>span:last-child{color:#9aaabd}.pr-learn-side-help{background:#f5f8fc;border-radius:10px;padding:14px;margin-top:18px;display:flex;gap:10px;color:#73859b;font-size:12px;line-height:1.5}.pr-learn-side-help>span{font-size:19px;color:#4679ad}.pr-learn-side-help p{margin:0}.pr-learn-muted{font-size:12px;color:#8190a2;padding:8px}
.pr-learn-main{min-width:0}.pr-learn-section-heading{padding:5px 0 20px}.pr-learn-section-heading h2{font-size:25px;margin:9px 0;color:#1d3552}.pr-learn-section-heading p{font-size:13px;color:#8290a4;margin:0}.pr-learn-module{background:#fff;border:1px solid #e5ebf3;border-radius:16px;margin-bottom:19px;box-shadow:0 5px 20px #2d50730a;scroll-margin-top:20px;overflow:hidden}.pr-learn-module-header{display:flex;align-items:flex-start;gap:17px;padding:24px;border-bottom:1px solid #edf1f6}.pr-learn-module-number{width:51px;height:51px;border-radius:13px;display:grid;place-items:center;background:#edf4fd;color:#2f69a6;font-size:19px;font-weight:800;flex:0 0 51px}.pr-learn-module-header>div:nth-child(2){flex:1;min-width:0}.pr-learn-module-label{font-size:10px;letter-spacing:1.5px;color:#3977b7;font-weight:800}.pr-learn-module-header h3{font-size:19px;margin:6px 0 8px;color:#233b59}.pr-learn-module-header p{font-size:13px;color:#8593a5;line-height:1.6;margin:0}.pr-learn-count{background:#f3f6fa;color:#657992;border-radius:20px;padding:7px 11px;font-size:11px;white-space:nowrap}.pr-learn-lessons{padding:7px 18px 13px}.pr-learn-lesson{border-bottom:1px solid #edf1f6}.pr-learn-lesson:last-child{border-bottom:0}.pr-learn-lesson summary{display:flex;align-items:center;gap:14px;list-style:none;cursor:pointer;padding:17px 6px}.pr-learn-lesson summary::-webkit-details-marker{display:none}.pr-learn-lesson summary:hover .pr-learn-lesson-summary strong{color:#2769ad}.pr-learn-lesson-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:11px;background:#f0f5fb;color:#3a70ab;font-size:19px}.pr-learn-lesson-summary{flex:1;min-width:0}.pr-learn-lesson-summary strong{font-size:14px;display:block;color:#314863}.pr-learn-lesson-summary small{font-size:11px;display:block;color:#8a9aab;margin-top:6px}.pr-learn-chevron{font-size:22px;color:#8798ab;transition:transform .15s}.pr-learn-lesson[open] .pr-learn-chevron{transform:rotate(180deg)}.pr-learn-lesson-body{padding:0 7px 19px 59px}.pr-learn-lesson-body>p{font-size:13px;color:#687e96;line-height:1.8;margin:0 0 15px;white-space:pre-wrap}.pr-learn-player{background:#0f1e30;border-radius:12px;overflow:hidden;margin-bottom:15px;max-width:100%}.pr-learn-player video{width:100%;max-height:450px;display:block}.pr-learn-resource{display:flex;align-items:center;gap:12px;background:#f0f6fe;border:1px solid #dceafb;border-radius:10px;padding:14px;color:#2565a5;font-size:13px;font-weight:700;text-decoration:none;max-width:540px}.pr-learn-resource:hover{background:#e6f1ff}.pr-learn-resource span:nth-child(2){flex:1}.pr-learn-text-note,.pr-learn-no-lessons{font-size:12px;color:#8493a6}.pr-learn-no-lessons{padding:12px}.pr-learn-empty{background:#fff;border:1px solid #e5ebf3;border-radius:16px;text-align:center;padding:45px 20px}.pr-learn-empty>span{font-size:36px;color:#7399c1}.pr-learn-empty h3{margin:12px 0;color:#284462}.pr-learn-empty p{font-size:13px;color:#8494a7}.pr-learn-footer-note{display:flex;justify-content:space-between;color:#9aa7b7;font-size:11px;margin:26px 0}
@media(max-width:900px){.pr-learn-layout{grid-template-columns:1fr}.pr-learn-sidebar{position:static}.pr-learn-hero-art{display:none}}@media(max-width:580px){.pr-learn-hero{padding:25px 20px}.pr-learn-module-header{padding:17px;gap:12px;flex-wrap:wrap}.pr-learn-count{margin-left:64px}.pr-learn-lessons{padding:4px 12px}.pr-learn-lesson-body{padding-left:5px}.pr-learn-footer-note span{display:none}.pr-learn-hero h1{font-size:27px}}
/* Entrega 11: explorador de carpetas, materiales y tareas */
.pr-resources-page{padding-top:36px;padding-bottom:80px}.pr-resource-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:25px 0 28px}.pr-resource-heading h1{font-size:30px;color:#203653;margin:10px 0}.pr-resource-chip{background:#edf5fd;border-radius:25px;color:#3066a0;padding:10px 16px;font-size:12px;font-weight:700}.pr-resource-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.pr-resource-panel,.pr-resource-card{background:#fff;border:1px solid #e5ebf2;border-radius:15px;padding:23px;box-shadow:0 5px 20px #233b5508}.pr-resource-toolbar{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e9eef5;padding-bottom:17px}.pr-resource-toolbar strong{font-size:17px;color:#223b5a}.pr-resource-toolbar small{display:block;color:#8291a5;font-size:12px;margin-top:6px}.pr-resource-crumbs{display:flex;align-items:center;gap:10px;padding:15px 0;flex-wrap:wrap}.pr-resource-crumbs button{background:transparent;border:0;color:#336da7;font-weight:700;cursor:pointer}.pr-resource-entry{display:flex;align-items:center;gap:13px;border:0;border-bottom:1px solid #eef1f6;width:100%;background:#fff;padding:15px 8px;text-align:left;color:#29405c;cursor:pointer;text-decoration:none}.pr-resource-entry:hover{background:#f7fafe}.pr-resource-icon{font-size:25px;width:38px}.pr-resource-entry-name{flex:1;font-weight:650;overflow-wrap:anywhere}.pr-resource-entry-name small{display:block;font-size:11px;font-weight:400;color:#8a98aa;margin-top:4px}.pr-resource-empty{padding:32px;text-align:center;color:#8a98aa}.pr-resource-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}.pr-resource-form{display:flex;flex-direction:column;gap:10px}.pr-resource-form h3{font-size:15px;margin:0 0 7px}.pr-resource-form label{font-size:12px;font-weight:700;color:#40556f}.pr-resource-form input:not([type=checkbox]),.pr-resource-form select{width:100%;padding:11px;border:1px solid #dce5f0;border-radius:8px;font:inherit;font-size:13px;min-width:0}.pr-resource-form input[type=file]{max-width:100%}.pr-resource-form small{font-size:11px;color:#8795a6}.pr-resource-form .btn{align-self:flex-start;margin-top:8px}.pr-resource-actions .pr-resource-form{border:1px solid #edf0f6;border-radius:12px;padding:17px}.pr-resource-aside{display:flex;flex-direction:column;gap:16px}.pr-resource-card h2{font-size:17px;margin:0 0 12px;color:#213a59}.pr-resource-card p{font-size:13px;line-height:1.5;color:#75859b}.pr-resource-check{display:flex;gap:8px;align-items:center}.pr-resource-submission{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f6;overflow-wrap:anywhere}.pr-resource-submission a{font-size:13px;color:#2c65a1;font-weight:700}.pr-resource-submission small{display:block;color:#8191a5;font-size:11px;margin-top:4px}@media(max-width:960px){.pr-resource-layout{grid-template-columns:1fr}}@media(max-width:620px){.pr-resource-actions{grid-template-columns:1fr}.pr-resource-heading{align-items:start;flex-direction:column}.pr-resource-panel,.pr-resource-card{padding:16px}}
/* Entrega 13: recursos y tareas integrados dentro de cada lección */
.pr-inline-resources{margin:9px 0 17px;padding:12px 14px;background:#fafcff;border:1px solid #e5edf6;border-radius:12px;min-width:0}
.pr-inline-resource-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px;color:#263c5c;font-size:13px}.pr-inline-resource-heading small{font-size:11px;color:#8293aa}
.pr-inline-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.pr-inline-breadcrumb button{background:none;border:0;color:#245c9d;font-size:12px;cursor:pointer}
.pr-inline-items{display:flex;flex-direction:column;gap:3px}.pr-inline-file{display:block;width:100%;padding:11px;border:1px solid #e6edf5;border-radius:8px;background:#fff;text-align:left;color:#25456c;font-size:12px;cursor:pointer;text-decoration:none;overflow-wrap:anywhere}.pr-inline-file:hover{background:#edf5ff}
.pr-inline-task{background:white;border:1px solid #e5edf6;border-radius:10px;padding:14px;margin-top:12px}.pr-inline-task-title{display:flex;gap:9px;align-items:center;color:#233d5b}.pr-inline-task small{display:block;color:#71829b;margin:8px 0}.pr-inline-instructions{white-space:pre-wrap;font-size:13px}
.pr-inline-add{margin-top:8px}.pr-inline-add>summary{color:#2563a4;font-weight:700;font-size:12px;cursor:pointer;list-style:none;padding:10px 4px}.pr-inline-add>summary::-webkit-details-marker{display:none}.pr-inline-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.pr-inline-actions button{border:1px solid #d9e5f3;background:#fff;border-radius:8px;padding:10px 13px;cursor:pointer;color:#2a517c;font-weight:600;font-size:12px}
.pr-inline-edit-form{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #e6edf5;border-radius:10px;padding:15px;margin:10px 0}.pr-inline-edit-form[hidden]{display:none}.pr-inline-edit-form label{font-size:12px;font-weight:650;color:#425771}.pr-inline-edit-form input:not([type=checkbox]),.pr-inline-edit-form textarea,.pr-inline-edit-form select{width:100%;padding:9px;border:1px solid #d8e4f1;border-radius:7px;min-width:0}.pr-inline-edit-form .btn{align-self:flex-start}.pr-inline-check{display:flex;gap:9px;align-items:center}.pr-inline-details{margin-top:12px;font-size:12px}.pr-inline-details>summary{cursor:pointer;color:#245c9d}.pr-inline-submissions{display:flex;flex-direction:column;gap:8px;padding:10px 0}
.pr-classroom-module .pr-inline-resources{margin-left:0}.pr-learn-lesson-body .pr-inline-resources{margin:12px 0}

/* Entrega 14: explorador en árbol sin navegación de pantalla */
.pr-inline-breadcrumb{display:none!important}
.pr-tree-node{margin:3px 0}
.pr-tree-row{display:flex;align-items:center;gap:8px;min-width:0}
.pr-tree-toggle{flex:1;text-align:left;border:1px solid #e3eaf3;background:white;color:#203e63;border-radius:9px;padding:11px 12px;cursor:pointer;font:inherit;font-size:13px}
.pr-tree-toggle:hover,.pr-tree-add:hover{background:#f0f6ff}
.pr-tree-add{border:1px solid #d9e4f0;background:#fff;border-radius:8px;padding:9px 12px;color:#245c9a;cursor:pointer}
.pr-tree-children{border-left:2px solid #dce9f7;margin:4px 0 8px 16px;padding-left:13px}
.pr-tree-file{display:block;margin:5px 0 5px 2px;text-decoration:none;overflow-wrap:anywhere}

/* Entrega 15: varios contenidos independientes en cada lección */
.pr-extra-content-list{display:grid;gap:10px;margin:12px 0}
.pr-extra-content-item{background:#fff;border:1px solid #e4eaf3;border-radius:11px;padding:14px;display:grid;gap:9px}
.pr-extra-heading{display:flex;align-items:center;gap:11px}.pr-extra-heading strong{display:block;color:#213653;font-size:13px}.pr-extra-heading small{display:block;color:#72839c;font-size:11px}
.pr-extra-icon{display:grid;place-items:center;width:34px;height:34px;background:#eef4fd;border-radius:8px}
.pr-extra-content-item p{margin:0;font-size:13px;white-space:pre-line}.pr-extra-content-item a{font-size:13px;font-weight:600;color:#285b99}
.pr-extra-player{display:block;width:100%;aspect-ratio:16/9;max-height:420px;border:0;border-radius:8px;background:#111}

/* Entrega 17: selector modal único de recursos */
.pr-inline-add[open]>.pr-modal-shade{position:fixed;inset:0;background:rgba(19,36,59,.45);z-index:1050}
.pr-inline-add[open]>.pr-modal-panel{position:fixed;z-index:1051;top:50%;left:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 28px));max-height:min(85vh,850px);overflow-y:auto;background:#fff;border:1px solid #dce6f1;border-radius:16px;padding:22px;box-shadow:0 20px 75px #16243d44}
.pr-modal-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#203653;font-size:18px}
.pr-modal-close{background:#f2f6fb;border:0;border-radius:8px;padding:8px 12px;cursor:pointer}
.pr-modal-location{font-size:12px;color:#5d6d83;background:#f4f8fc;padding:10px;border-radius:8px}
.pr-inline-add:not([open])>.pr-modal-shade,.pr-inline-add:not([open])>.pr-modal-panel{display:none}
.pr-inline-add[open]>.pr-modal-panel .pr-inline-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:480px){.pr-inline-add[open]>.pr-modal-panel{padding:15px}.pr-inline-add[open]>.pr-modal-panel .pr-inline-actions{grid-template-columns:1fr}}

.pr-icon-editor{display:inline-flex;align-items:center;gap:4px;margin-left:auto}.pr-icon-editor select{max-width:100px;font-size:11px;padding:4px}.pr-icon-editor button{font-size:11px;padding:4px 6px;border:1px solid #d6e2f0;border-radius:5px;background:#fff;color:#24558a}.pr-extra-content-item>.pr-icon-editor{margin-top:8px}

/* Imagen de portada de cursos */
.course .cover:has(.pr-course-cover-image){padding:0;overflow:hidden}.pr-course-cover-image{width:100%;height:100%;object-fit:cover;display:block}.purchase-cover:has(.pr-course-detail-image){padding:0;overflow:hidden;height:210px}.pr-course-detail-image{width:100%;height:100%;object-fit:cover;display:block}

/* Entrega 33: portadas llenan completamente su contenedor */
.course .cover{height:300px;min-height:300px;overflow:hidden}
.course .cover:has(.pr-course-cover-image){padding:0;background:#f4f7fb}
.course .pr-course-cover-image{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
@media(max-width:650px){.course .cover{height:260px;min-height:260px}}


/* Entrega 34: portada completa sin recortes y con proporcion original.
   Solo los cursos con imagen usan altura automatica; los cursos sin imagen
   conservan el bloque visual de la plantilla. */
.course .cover:has(> .pr-course-cover-image){
    display:block;
    height:auto;
    min-height:0;
    padding:0;
    overflow:hidden;
    background:#f4f7fb;
    line-height:0;
}
.course .cover > .pr-course-cover-image{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    object-position:center;
}
.purchase-cover:has(> .pr-course-detail-image){
    display:block;
    height:auto;
    min-height:0;
    padding:0;
    overflow:hidden;
    line-height:0;
}
.purchase-cover > .pr-course-detail-image{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    object-position:center;
}
@media(max-width:650px){
    .course .cover:has(> .pr-course-cover-image){height:auto;min-height:0}
}
