@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#2a0018;background:#fff7fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#6c123d}h1,h2,h3,p{margin-top:0}h1,h2,.brand{font-family:'Playfair Display',Georgia,serif}.loading{padding:20vh 1rem;text-align:center}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:linear-gradient(145deg,#2a0018,#6c123d 60%,#d94a78);color:white;padding:clamp(2rem,7vw,7rem);display:flex;flex-direction:column;justify-content:space-between}.auth-art h1{font-size:clamp(2.6rem,5vw,5rem);line-height:1.05;max-width:600px}.auth-art p{font-size:1.1rem;max-width:450px;line-height:1.6}.auth-form{display:flex;align-items:center;justify-content:center;padding:2rem}.auth-form form{width:min(100%,400px)}.eyebrow{color:#ae3567;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.75rem}.auth-form h2{font-size:2.2rem}.field{display:block;margin:1.2rem 0;font-size:.9rem;font-weight:700}.field input,.field select,.field textarea,input.search,select.filter{display:block;width:100%;border:1px solid #e8cbd8;border-radius:12px;background:white;padding:.82rem 1rem;color:#2a0018;margin-top:.4rem}.field textarea{min-height:110px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:12px;padding:.82rem 1.1rem;background:#4b0629;color:white;font-weight:700;text-decoration:none}.btn:hover{background:#6c123d}.btn.secondary{background:#fceaf1;color:#4b0629}.btn.ghost{background:transparent;color:#6c123d;border:1px solid #e8cbd8}.btn:disabled{opacity:.5;cursor:not-allowed}.full{width:100%}.error{color:#ae1c43;background:#fff0f2;padding:.8rem;border-radius:10px}.success{color:#126149;background:#eaf8f0;padding:.8rem;border-radius:10px}.shell{min-height:100vh;display:grid;grid-template-columns:235px minmax(0,1fr)}aside{background:#4b0629;color:white;padding:1.5rem 1rem;display:flex;flex-direction:column;gap:1.5rem}.brand{font-size:1.6rem;line-height:1.1;padding:.6rem}.brand small{display:block;font:600 .7rem 'DM Sans',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#f59ac0;margin-top:.5rem}nav{display:grid;gap:.3rem}nav button{border:0;background:transparent;color:#fceaf1;text-align:left;padding:.85rem 1rem;border-radius:10px;font-weight:600}nav button.active,nav button:hover{background:#782047;color:#fff}aside .side-foot{margin-top:auto;padding:1rem;color:#f4cada;font-size:.82rem}main{padding:clamp(1rem,3vw,2.5rem);max-width:1200px;width:100%;margin:0 auto}.top{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1.7rem}.top h1{font-size:clamp(1.8rem,3vw,2.7rem);margin:.25rem 0}.muted{color:#745366}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card{background:white;border:1px solid #f0dce4;border-radius:18px;padding:1.35rem;box-shadow:0 8px 28px #4b062908}.hero{background:linear-gradient(125deg,#4b0629,#962754);color:#fff;padding:2rem;border-radius:22px;display:flex;justify-content:space-between;gap:2rem;align-items:end;margin-bottom:1rem}.hero h2{font-size:clamp(1.8rem,3vw,2.8rem);line-height:1.15}.hero p{max-width:560px;color:#ffe8f1}.hero .btn{background:white;color:#4b0629}.stat{font-size:2rem;font-weight:700;margin:.5rem 0}.label{color:#8a6075;font-size:.85rem;font-weight:700}.section{margin-top:1.8rem}.section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.section h2{font-size:1.55rem}.row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-top:1px solid #f0e3e9}.row:first-child{border-top:0}.row h3{font:700 1rem 'DM Sans',sans-serif;margin:0 0 .3rem}.badge{display:inline-block;background:#fceaf1;color:#792048;border-radius:99px;padding:.32rem .65rem;font-size:.76rem;font-weight:700}.badge.done{background:#e5f6ed;color:#176440}.bar{height:9px;background:#fceaf1;border-radius:30px;overflow:hidden}.bar span{display:block;height:100%;background:#d94a78;border-radius:30px}.pillbar{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.pill{border:1px solid #e8cbd8;background:white;color:#6c123d;padding:.6rem .9rem;border-radius:99px;font-weight:700}.pill.active{background:#4b0629;border-color:#4b0629;color:#fff}.list{display:grid;gap:.8rem}.layout2{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:1rem}.video{width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:#2a0018}.choices{display:grid;gap:.7rem;margin:1rem 0}.choice{border:1px solid #ead1dc;padding:1rem;border-radius:12px;background:#fff;text-align:left;color:#2a0018;line-height:1.5}.choice.selected{border-color:#6c123d;background:#fceaf1}.choice.correct{border-color:#168354;background:#e5f6ed}.choice.wrong{border-color:#bf3657;background:#ffedf1}.question-text{white-space:pre-line;line-height:1.65;font-size:1.05rem}.filters{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.filters select,.filters input{width:auto;min-width:180px;margin:0}.weekday{display:flex;gap:.4rem;flex-wrap:wrap}.weekday button{border:1px solid #e8cbd8;border-radius:10px;background:white;padding:.75rem;min-width:55px}.weekday button.selected{background:#4b0629;color:white}.empty{padding:2rem;text-align:center;color:#745366;background:#fff;border-radius:18px;border:1px dashed #ebcbd8}.notice{background:#fff3d8;padding:1rem;border-radius:12px;color:#66501e}.stack{display:grid;gap:1rem}.admin-tabs{overflow:auto;flex-wrap:nowrap}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:600px}td,th{padding:.75rem;text-align:left;border-bottom:1px solid #f0e3e9}th{font-size:.8rem;color:#745366}.actions{display:flex;gap:.5rem;flex-wrap:wrap}.small{font-size:.82rem}.mini{padding:.48rem .65rem;font-size:.78rem}.mobile-header{display:none}@media(max-width:800px){.auth{grid-template-columns:1fr}.auth-art{min-height:230px;padding:1.5rem}.auth-art h1{font-size:2.2rem}.auth-art p{font-size:.95rem}.auth-form{align-items:start;padding:2rem 1.2rem}.shell{display:block}.shell aside{position:sticky;top:0;z-index:5;padding:.4rem .6rem;display:block}.shell aside .brand,.shell aside .side-foot{display:none}.shell nav{display:flex;overflow:auto;gap:.2rem;scrollbar-width:none}.shell nav button{white-space:nowrap;padding:.65rem .8rem;font-size:.85rem}main{padding:1rem 1rem 5rem}.grid,.layout2{grid-template-columns:1fr}.hero{display:block;padding:1.5rem}.hero .btn{margin-top:.6rem}.top{align-items:start}.top h1{font-size:1.9rem}.row{align-items:start;flex-direction:column}.filters select,.filters input{width:100%}.section-head{align-items:start;flex-direction:column}}

/* Áreas de estudo */
.section-lead{display:flex;align-items:end;justify-content:space-between;gap:2rem;border-radius:24px;padding:clamp(1.4rem,3vw,2.3rem);background:#fff;border:1px solid #f0dce4;box-shadow:0 12px 35px #4b062908}
.section-lead h2{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.14;margin:.5rem 0}
.section-lead p{max-width:650px;color:#745366;line-height:1.6;margin:0}
.section-lead-stat{min-width:150px;text-align:center;border-left:1px solid #ecd5df;padding-left:2rem}
.section-lead-stat strong{display:block;color:#6c123d;font-size:2.35rem;line-height:1;font-weight:700}
.section-lead-stat span{display:block;color:#795569;font-size:.78rem;margin-top:.5rem}
.section-title{display:flex;justify-content:space-between;align-items:end;margin:0 0 1rem}
.section-title h2{margin:.35rem 0 0}
.section-title small{font:700 .8rem 'DM Sans',Arial,sans-serif;color:#a75a7a;vertical-align:middle;margin-left:.4rem}
.lessons-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.lesson-tile{display:grid;grid-template-columns:155px minmax(0,1fr);min-height:190px;background:#fff;border:1px solid #edd7e1;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #4b062908}
.lesson-cover{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;color:#fff;background:radial-gradient(circle at 80% 10%,#d94a78 0,transparent 45%),linear-gradient(145deg,#4b0629,#8b2957)}
.lesson-cover.practice-cover{background:radial-gradient(circle at 80% 10%,#a84979 0,transparent 45%),linear-gradient(145deg,#27031a,#603255)}
.lesson-number{font-size:.76rem;font-weight:700;letter-spacing:.16em;color:#ffd6e5}
.play-symbol{display:grid;place-items:center;align-self:center;width:54px;height:54px;border:1px solid #ffffffaa;border-radius:50%;background:#ffffff25;font-size:1rem;padding-left:3px}
.cover-caption{font-size:.65rem;letter-spacing:.14em;font-weight:700}
.lesson-copy{display:flex;flex-direction:column;align-items:flex-start;padding:1.15rem;min-width:0}
.lesson-copy h3{font-size:1.22rem;line-height:1.25;margin:.75rem 0 .45rem}
.lesson-copy p{color:#795569;font-size:.8rem;line-height:1.4;margin-bottom:1rem}
.lesson-copy .btn{margin-top:auto}
.type-tag{display:inline-flex;align-items:center;border-radius:99px;background:#fceaf1;color:#7d214b;font-size:.69rem;letter-spacing:.05em;text-transform:uppercase;font-weight:700;padding:.35rem .6rem}
.type-tag.review{background:#efe8fa;color:#583c80}
.type-tag.questions{background:#fff0dc;color:#85562a}
.lesson-detail-head{padding:1.5rem 0 .7rem}
.lesson-detail-head h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:.4rem 0}
.lesson-detail-head p{color:#745366}
.lesson-detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1rem;align-items:start}
.video-frame{background:#2a0018;border-radius:18px;padding:.35rem;overflow:hidden}
.video-frame .video{display:block;border-radius:14px}
.video-empty{display:grid;place-items:center;aspect-ratio:16/9;color:white}
.lesson-detail-actions{margin-top:1rem}
.lesson-detail-actions p{line-height:1.6}
.lesson-detail-actions .actions{gap:.6rem}
.lesson-comments{position:sticky;top:1rem}
.comment-item{border-top:1px solid #f0dce4;padding:1rem 0}
.comment-item p{white-space:pre-wrap;line-height:1.5;margin:.55rem 0}
.next-lesson{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;width:100%;margin-top:1rem;padding:1.1rem 1.3rem;border:1px solid #ecd3df;border-radius:16px;background:#fff;color:#4b0629;text-align:left}
.next-lesson span{font-size:.7rem;font-weight:700;letter-spacing:.09em;color:#a34a72}
.next-lesson strong{font-size:1rem}
.schedule-intro{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1.8rem 2rem;border-radius:22px;background:linear-gradient(120deg,#4b0629,#8b2b58);color:white}
.schedule-intro h2{font-size:clamp(1.8rem,3vw,2.5rem);margin:.5rem 0}
.schedule-intro p{max-width:630px;line-height:1.55;color:#ffe8f1}
.schedule-intro .eyebrow{color:#ffc2db}
.schedule-intro .btn{background:#fff;color:#4b0629}
.schedule-counter{text-align:center;min-width:145px}
.schedule-counter strong{display:block;font-size:3rem;line-height:1}
.schedule-counter span{font-size:.85rem}
.schedule-progress,.tip-progress{height:10px;background:#f2dce6;border-radius:0 0 10px 10px;overflow:hidden;margin:0 1rem}
.schedule-progress span,.tip-progress span{display:block;height:100%;background:#d94a78}
.schedule-month{margin-top:2rem}
.month-heading{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid #e8cbd8;margin-bottom:1rem}
.month-heading h3{font-size:1.5rem;text-transform:capitalize;margin:0 0 .65rem}
.month-heading span{font-size:.8rem;color:#795569}
.schedule-grid,.tips-grid,.materials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.schedule-card{display:grid;grid-template-columns:62px minmax(0,1fr);gap:1rem;padding:1rem;background:white;border:1px solid #ecd6e0;border-radius:18px;box-shadow:0 8px 24px #4b062908}
.schedule-date{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:start;background:#fceaf1;border-radius:12px;min-height:66px}
.schedule-date strong{font-size:1.55rem;color:#6c123d;line-height:1}
.schedule-date span{font-size:.7rem;color:#8e4b68;text-transform:uppercase;margin-top:.25rem}
.schedule-info h4{font-size:1rem;line-height:1.3;margin:.65rem 0 .35rem}
.schedule-info p{font-size:.78rem;color:#795569;margin:0 0 .8rem}
.schedule-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.tips-lead{background:linear-gradient(115deg,#fff,#fff3f8)}
.tip-progress{margin-top:-6px;position:relative}
.tip-section{margin-top:2rem}
.tip-card{display:flex;flex-direction:column;padding:1.25rem;background:#fff;border:1px solid #ecd6e0;border-radius:18px;box-shadow:0 7px 22px #4b062908}
.tip-card.is-reviewed{border-color:#b9dfc8}
.tip-top,.tip-footer{display:flex;justify-content:space-between;align-items:center;gap:.6rem}
.tip-index,.tip-state{font-size:.7rem;font-weight:700;letter-spacing:.07em;color:#a0446c}
.tip-state{letter-spacing:0;color:#876477}
.is-reviewed .tip-state{color:#176440}
.tip-card h3{font-size:1.38rem;line-height:1.2;margin:1rem 0 .6rem}
.tip-rule{font-size:.94rem;line-height:1.58;color:#45303b}
.tip-trap{background:#fff2f6;border-left:3px solid #d94a78;padding:.8rem 1rem;border-radius:0 10px 10px 0;margin:auto 0 1rem}
.tip-trap span{font-size:.69rem;letter-spacing:.08em;font-weight:700;color:#9c315e}
.tip-trap p{margin:.35rem 0 0;font-size:.87rem;line-height:1.5}
.tip-footer{border-top:1px solid #f0e3e9;padding-top:.8rem}
.tip-footer small{color:#8a6075;line-height:1.3}
.material-card,.guide-card{display:block;padding:1.3rem;background:#fff;border:1px solid #ecd6e0;border-radius:18px;text-decoration:none;color:#2a0018;box-shadow:0 7px 22px #4b062908}
.material-card:hover,.guide-card:hover{border-color:#c96891}
.material-type,.guide-card>span{display:inline-block;color:#a0446c;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.material-card h3,.guide-card h3{font-size:1.3rem;margin-bottom:.55rem}
.material-card p,.guide-card p{font-size:.88rem;line-height:1.55;color:#745366}
.material-card strong{display:block;color:#7d214b;font-size:.8rem;margin-top:1.2rem}
.text-link{border:0;background:none;color:#7d214b;font-weight:700;padding:0;text-align:left}
@media(max-width:1000px){.lessons-grid,.schedule-grid{grid-template-columns:1fr}.lesson-detail-layout{grid-template-columns:1fr}.lesson-comments{position:static}}
@media(max-width:800px){.section-lead,.schedule-intro{align-items:flex-start;flex-direction:column;gap:1rem;padding:1.4rem}.section-lead-stat{border-left:0;border-top:1px solid #ecd5df;padding:1rem 0 0;text-align:left;width:100%}.schedule-counter{text-align:left}.lessons-grid,.schedule-grid,.tips-grid,.materials-grid{grid-template-columns:1fr}.lesson-tile{grid-template-columns:105px minmax(0,1fr);min-height:175px}.lesson-cover{padding:.7rem}.lesson-cover .play-symbol{width:42px;height:42px}.cover-caption{font-size:.55rem}.lesson-copy{padding:.9rem}.lesson-copy h3{font-size:1.05rem}.lesson-copy .btn{font-size:.8rem;padding:.6rem .8rem}.schedule-card{grid-template-columns:54px minmax(0,1fr);gap:.7rem}.tip-card h3{font-size:1.26rem}.tip-footer{align-items:flex-start;flex-direction:column}}
