
.learning-body{background:#f5f7fb;color:#0f172a}
.learning-header{position:sticky;top:0;z-index:70;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.learning-nav{height:72px;display:flex;align-items:center;gap:24px}
.learning-breadcrumb{display:flex;align-items:center;gap:9px;color:#64748b;font-size:12px;font-weight:800;min-width:0}
.learning-breadcrumb a:hover{color:var(--indigo)}
.learning-breadcrumb i{font-size:12px;color:#cbd5e1}
.learning-user{margin-right:auto;display:flex;align-items:center;gap:10px}

.subject-page{padding-bottom:80px}
.subject-hero{padding:34px 0 8px}
.subject-hero-card{background:linear-gradient(135deg,#0f172a 0%,#172554 54%,#1d4ed8 145%);border-radius:34px;padding:34px;color:#fff;display:grid;grid-template-columns:1.35fr .65fr;gap:28px;position:relative;overflow:hidden;box-shadow:0 26px 70px rgba(15,23,42,.18)}
.subject-hero-card:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;background:rgba(96,165,250,.10);left:-120px;top:-180px}
.subject-hero-card:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(255,255,255,.09);left:120px;bottom:-210px}
.subject-hero-copy,.subject-hero-stats{position:relative;z-index:2}
.subject-mini-label{display:inline-flex;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);padding:6px 10px;border-radius:999px;color:#bfdbfe;font-size:12px;font-weight:900}
.subject-title-row{display:flex;align-items:center;gap:16px;margin:16px 0 22px}
.subject-big-emoji{width:72px;height:72px;border-radius:22px;background:rgba(255,255,255,.11);display:grid;place-items:center;font-size:34px;border:1px solid rgba(255,255,255,.1)}
.subject-title-row h1{font-size:38px;line-height:1.2;margin:0 0 4px}.subject-title-row p{margin:0;color:#cbd5e1;font-size:13px}
.subject-progress-wrap{max-width:620px}
.subject-progress-meta{display:flex;justify-content:space-between;font-size:12px;color:#cbd5e1;margin-bottom:8px}
.subject-progress-track{height:10px;background:rgba(255,255,255,.13);border-radius:999px;overflow:hidden}
.subject-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#2dd4bf,#38bdf8);border-radius:inherit}
.subject-hero-stats{display:grid;grid-template-columns:1fr;gap:12px;align-content:center}
.subject-hero-stats article{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:14px;display:flex;align-items:center;gap:12px}
.subject-hero-stats strong,.subject-hero-stats small{display:block}.subject-hero-stats strong{font-size:19px}.subject-hero-stats small{font-size:12px;color:#cbd5e1}
.stat-badge{width:42px;height:42px;border-radius:14px;display:grid;place-items:center}.stat-badge.blue{background:rgba(59,130,246,.2);color:#bfdbfe}.stat-badge.green{background:rgba(16,185,129,.18);color:#a7f3d0}.stat-badge.violet{background:rgba(139,92,246,.18);color:#ddd6fe}

.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding-top:30px}
.learning-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.learning-section-head h2{font-size:30px;margin:4px 0}.learning-section-head p{margin:0;color:#64748b;font-size:12px}
.curriculum-tools{display:flex;gap:8px;flex-wrap:wrap}.filter-chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;color:#64748b}.filter-chip.active{background:#0f172a;color:#fff;border-color:#0f172a}
.curriculum-list{display:grid;gap:16px}
.unit-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.unit-head{padding:18px 20px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.unit-head>div{display:flex;align-items:center;gap:12px}.unit-number{width:42px;height:42px;border-radius:14px;background:#e0e7ff;color:#3730a3;display:grid;place-items:center;font-weight:900}.unit-head h3{margin:0;font-size:16px}.unit-head p{margin:2px 0 0;font-size:12px;color:#94a3b8}
.unit-progress{font-size:12px;font-weight:900;color:#64748b}
.unit-items{padding:8px}
.curriculum-item{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;padding:13px;border-radius:16px;transition:.18s}
.curriculum-item:hover{background:#f8fafc}
.item-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#eff6ff;color:#2563eb}
.item-icon.quiz{background:#f0fdf4;color:#059669}.item-icon.done{background:#dcfce7;color:#059669}
.curriculum-item h4{margin:0;font-size:13px}.curriculum-item p{margin:2px 0 0;font-size:12px;color:#94a3b8}
.item-action{display:flex;align-items:center;gap:8px}.item-state{font-size:12px;font-weight:900;padding:5px 8px;border-radius:999px;background:#f8fafc;color:#64748b}.item-state.complete{background:#dcfce7;color:#047857}.item-open{width:34px;height:34px;border:0;border-radius:11px;background:#eff6ff;color:#2563eb}
.curriculum-skeleton{display:grid;gap:14px}.curriculum-skeleton div{height:150px;border-radius:22px;background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7);background-size:200% 100%;animation:skeleton 1.4s infinite}@keyframes skeleton{to{background-position:-200% 0}}
.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:24px;padding:48px;text-align:center}.empty-state span{font-size:48px}.empty-state h3{margin:10px 0 4px}.empty-state p{color:#64748b;font-size:12px}

.learning-sidebar{display:grid;gap:16px;align-content:start;position:sticky;top:94px;height:max-content}
.resume-card,.weekly-card,.explore-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.resume-card{background:linear-gradient(180deg,#fff,#f8fbff)}.resume-icon{width:46px;height:46px;border-radius:15px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;margin-bottom:14px}.resume-card h3,.weekly-card h3,.explore-card h3{margin:5px 0 7px}.resume-card p,.weekly-card p,.explore-card p{font-size:12px;color:#64748b}
.sidebar-card-head{display:flex;justify-content:space-between;align-items:start;gap:10px}
.weekly-progress{display:flex;justify-content:space-between;margin-top:14px;font-size:12px}.weekly-progress span{color:#64748b}
.mini-progress{height:7px;background:#eef2f7;border-radius:999px;margin:8px 0}.mini-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#3b82f6)}
.explore-card{background:linear-gradient(180deg,#fff,#f8fafc)}.explore-card-icon{width:46px;height:46px;border-radius:15px;background:#ede9fe;color:#7c3aed;display:grid;place-items:center;margin-bottom:12px}

/* Lesson */
.lesson-page{padding-bottom:80px}
.lesson-top{padding:28px 0 16px;background:linear-gradient(180deg,#fff,#f8fafc);border-bottom:1px solid var(--line)}
.lesson-heading{display:flex;justify-content:space-between;align-items:end;gap:18px}.lesson-heading h1{font-size:34px;line-height:1.25;margin:5px 0}.lesson-heading p{margin:0;color:#64748b;font-size:12px}.lesson-meta{font-size:12px;font-weight:900;color:#2563eb}.lesson-actions{display:flex;gap:8px}
.lesson-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding-top:24px}
.lesson-main{min-width:0}.video-theater{background:#0f172a;border-radius:26px;padding:12px;box-shadow:0 24px 70px rgba(15,23,42,.2)}
.video-frame{aspect-ratio:16/9;background:#020617;border-radius:20px;overflow:hidden;display:grid;place-items:center}.video-frame iframe{width:100%;height:100%;border:0}
.video-placeholder{text-align:center;color:#cbd5e1}.video-placeholder span{font-size:52px;color:#60a5fa}.video-placeholder h3{margin:10px 0 2px}.video-placeholder p{font-size:12px;color:#64748b}
.teacher-switcher-wrap{background:#111827;border-radius:18px;padding:14px;margin-top:12px}.teacher-switcher-head{display:flex;justify-content:space-between;align-items:end;gap:12px;color:#fff;margin-bottom:10px}.teacher-switcher-head h3{font-size:15px;margin:3px 0}.teacher-count{font-size:12px;color:#93c5fd}
.teacher-switcher{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.teacher-choice{flex:0 0 auto;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#e2e8f0;border-radius:14px;padding:9px 12px;display:flex;align-items:center;gap:8px}.teacher-choice.active{background:#fff;color:#0f172a}.teacher-choice .teacher-mini-avatar{width:30px;height:30px;border-radius:10px;background:#dbeafe;color:#1d4ed8;display:grid;place-items:center;font-size:12px;font-weight:900}.teacher-choice strong{font-size:12px}
.lesson-tabs{display:flex;gap:8px;margin:18px 0;border-bottom:1px solid var(--line);padding-bottom:10px}.lesson-tabs button{border:0;background:transparent;color:#64748b;padding:10px 14px;border-radius:12px;font-weight:900}.lesson-tabs button.active{background:#e0e7ff;color:#3730a3}
.explanation-card,.resources-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.content-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.content-heading h2{margin:3px 0}.content-icon{width:48px;height:48px;border-radius:15px;background:#eff6ff;color:#2563eb;display:grid;place-items:center}
.rich-content{font-size:14px;color:#334155}.rich-content h1,.rich-content h2,.rich-content h3{color:#0f172a;line-height:1.35}.rich-content h1{font-size:26px}.rich-content h2{font-size:21px;margin-top:24px}.rich-content h3{font-size:17px}.rich-content p{margin:10px 0}.rich-content ul{padding-right:22px}.rich-content strong{color:#0f172a}.rich-content .info-box,.rich-content .warning-box{padding:14px 16px;border-radius:14px;margin:14px 0}.rich-content .info-box{background:#eff6ff;border:1px solid #bfdbfe}.rich-content .warning-box{background:#fff7ed;border:1px solid #fed7aa}
.content-loading{display:grid;gap:10px}.content-loading span{height:14px;background:#eef2f7;border-radius:999px}.content-loading span:nth-child(2){width:86%}.content-loading span:nth-child(3){width:68%}
.lesson-image{margin:20px 0;border-radius:18px;overflow:hidden}.lesson-image img{width:100%;max-height:520px;object-fit:cover;display:block}
.quiz-intro-card{background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #bfdbfe;border-radius:24px;padding:26px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px}.quiz-hero-icon{font-size:48px}.quiz-intro-card h2{margin:3px 0}.quiz-intro-card p{margin:0;color:#64748b;font-size:12px}
.quiz-engine{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px}.quiz-progress-head{display:flex;justify-content:space-between;font-size:12px;color:#64748b}.quiz-progress-track{height:8px;background:#eef2f7;border-radius:999px;margin:8px 0 20px}.quiz-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#2563eb)}
.question-card{position:relative;border:1px solid var(--line);border-radius:20px;padding:24px}.question-number{width:38px;height:38px;border-radius:12px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:900}.question-card h3{font-size:18px;margin:14px 0}.question-options{display:grid;gap:10px}.quiz-option-v3{border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;text-align:right;font-weight:800;color:#334155;display:flex;align-items:center;gap:10px}.quiz-option-v3:hover{border-color:#93c5fd;background:#eff6ff}.quiz-option-v3.selected{border-color:#2563eb;background:#eff6ff;color:#1e40af}.quiz-option-v3.correct{border-color:#10b981;background:#ecfdf5;color:#047857}.quiz-option-v3.wrong{border-color:#ef4444;background:#fef2f2;color:#b91c1c}.opt-letter{width:30px;height:30px;border-radius:10px;border:1px solid currentColor;display:grid;place-items:center;font-size:12px}
.quiz-nav{display:flex;justify-content:space-between;margin-top:16px}.quiz-result{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center}.result-ring{width:120px;height:120px;border-radius:50%;background:conic-gradient(#10b981 0deg,#e5e7eb 0deg);display:grid;place-items:center;position:relative}.result-ring:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.result-ring strong,.result-ring span{position:relative;z-index:2;display:block;text-align:center}.result-ring strong{font-size:24px}.result-ring span{font-size:12px;color:#64748b}.result-actions{display:flex;gap:8px;margin-top:14px}
.resource-list{display:grid;gap:10px}.resource-item{border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;align-items:center;gap:12px}.resource-item i{width:42px;height:42px;border-radius:13px;background:#fee2e2;color:#dc2626;display:grid;place-items:center}.resource-item div{flex:1}.resource-item strong,.resource-item small{display:block}.resource-item small{font-size:12px;color:#64748b}.resource-item a{font-size:12px;font-weight:900;color:#2563eb}
.lesson-sidebar{display:grid;gap:16px;align-content:start;position:sticky;top:92px;height:max-content}.lesson-progress-card,.lesson-outline-card,.motivation-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.lesson-status-icon{width:38px;height:38px;border-radius:12px;background:#f8fafc;color:#94a3b8;display:grid;place-items:center}.lesson-status-icon.complete{background:#dcfce7;color:#059669}.lesson-progress-track{height:8px;background:#eef2f7;border-radius:999px;margin:14px 0}.lesson-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#2563eb)}.lesson-progress-card p{font-size:12px;color:#64748b}
.lesson-outline{display:grid;gap:6px;margin-top:10px}.outline-item{display:grid;grid-template-columns:30px 1fr;gap:8px;align-items:center;padding:9px;border-radius:12px}.outline-item.active{background:#eff6ff}.outline-num{width:28px;height:28px;border-radius:9px;background:#f1f5f9;display:grid;place-items:center;font-size:12px;font-weight:900}.outline-item.active .outline-num{background:#2563eb;color:#fff}.outline-item strong{font-size:12px;line-height:1.4}.motivation-card{background:linear-gradient(135deg,#111827,#1e3a8a);color:#fff}.motivation-card span{font-size:30px}.motivation-card h3{margin:7px 0}.motivation-card p{font-size:12px;color:#cbd5e1}
@media(max-width:980px){.learning-layout,.lesson-grid{grid-template-columns:1fr}.learning-sidebar,.lesson-sidebar{position:static}.subject-hero-card{grid-template-columns:1fr}.subject-hero-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.learning-breadcrumb{display:none}.subject-hero-card{padding:24px;border-radius:26px}.subject-title-row{align-items:flex-start}.subject-title-row h1{font-size:30px}.subject-hero-stats{grid-template-columns:1fr}.learning-section-head,.lesson-heading{align-items:flex-start;flex-direction:column}.lesson-actions{width:100%}.lesson-actions .btn{flex:1}.quiz-intro-card{grid-template-columns:1fr;text-align:center}.quiz-intro-card .btn{width:100%}.quiz-result{grid-template-columns:1fr;text-align:center}.result-ring{margin:auto}.result-actions{justify-content:center}.lesson-tabs{overflow-x:auto}.learning-layout,.lesson-grid{padding-top:18px}.learning-header .brand small{display:none}}
@media(max-width:520px){.learning-nav{height:64px}.subject-hero{padding-top:18px}.subject-big-emoji{width:58px;height:58px;font-size:28px}.subject-title-row h1{font-size:25px}.learning-section-head h2{font-size:25px}.unit-head{align-items:flex-start}.curriculum-item{grid-template-columns:38px 1fr}.item-action{grid-column:2}.video-theater{padding:8px;border-radius:20px}.teacher-switcher-wrap{padding:10px}.explanation-card,.resources-card,.quiz-engine{padding:18px}.lesson-heading h1{font-size:26px}.question-card{padding:18px}.result-actions{flex-direction:column}}

/* Immediate answer feedback and full review after each lesson quiz or exam. */
.quiz-option-v3:disabled{cursor:default;opacity:1}.quiz-option-v3:disabled:hover{transform:none}
.quiz-option-v3.correct,.quiz-option-v3.correct:hover{border-color:#0fa675;background:#e7f9f2;color:#075f48}
.quiz-option-v3.wrong,.quiz-option-v3.wrong:hover{border-color:#e75a60;background:#fff0f0;color:#a52e37}
.option-status-icon{margin-inline-start:auto;font-size:19px}
.question-feedback{display:flex;align-items:flex-start;gap:11px;margin-top:17px;padding:15px 17px;border-radius:15px;line-height:1.85;font-size:14px}
.question-feedback>i{font-size:21px;margin-top:3px}.question-feedback.is-correct{background:#e7f9f2;border:1px solid #a5e5cf;color:#075f48}.question-feedback.is-wrong{background:#fff1f1;border:1px solid #f5bbbb;color:#9d3038}
.quiz-review{margin-top:20px;padding:clamp(18px,3vw,28px);border:1px solid #d9e7f5;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(21,67,111,.07)}
.quiz-review-head h2{margin:4px 0 4px;font-size:clamp(21px,3vw,27px);color:#153856}.quiz-review-head p{margin:0 0 21px;color:#526982;line-height:1.8}
.quiz-review-list{display:grid;gap:13px;margin-bottom:20px}.quiz-review-item{padding:18px;border-radius:17px;border:1px solid #dbe9f4;border-inline-start:5px solid #11a878;background:#fafffd}
.quiz-review-item.is-wrong{border-inline-start-color:#e55561;background:#fffafa}
.quiz-review-item-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:800;color:#576f85}.quiz-review-item-head strong{color:#077d59}.quiz-review-item.is-wrong .quiz-review-item-head strong{color:#be3e4b}
.quiz-review-item h3{font-size:17px;line-height:1.75;margin:11px 0;color:#153856;overflow-wrap:anywhere}.quiz-review-item p{font-size:14px;line-height:1.75;margin:5px 0;color:#3c5266;overflow-wrap:anywhere}.quiz-review-correct strong{color:#087a57}.quiz-review-student strong{color:#244866}.quiz-review-item.is-wrong .quiz-review-student strong{color:#be3e4b}
@media(max-width:520px){.question-feedback{font-size:13px;padding:12px}.quiz-review{border-radius:18px}.quiz-review-item{padding:14px}.quiz-review-item h3{font-size:15px}.quiz-review>#retryQuizReviewBtn{width:100%}}

.explorer-stage-rich{align-items:flex-start}
.explore-grade-links{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.explore-grade-links button{width:30px;height:30px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;border-radius:9px;font-size:12px;font-weight:900}
.explore-grade-links button:hover{background:#1d4ed8;color:#fff}

/* Dedicated explorer */
.explore-hero{padding:54px 0 28px;background:linear-gradient(180deg,#fff,#f8fbff);border-bottom:1px solid var(--line)}
.explore-hero-inner{background:linear-gradient(135deg,#eff6ff,#eef2ff);border:1px solid #dbeafe;border-radius:30px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.explore-hero h1{font-size:40px;line-height:1.2;margin:6px 0 8px}.explore-hero p{margin:0;color:#64748b;max-width:700px}.explore-hero-art{font-size:74px}
.explore-workspace{display:grid;grid-template-columns:260px 1fr;gap:24px;padding-top:28px;padding-bottom:70px}
.explore-sidebar{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;height:max-content;position:sticky;top:94px}.explore-sidebar-title h3{margin:3px 0 14px}
.explore-type{width:100%;border:1px solid var(--line);background:#fff;border-radius:16px;padding:13px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;text-align:right;margin-bottom:9px;color:#334155}.explore-type>span{width:42px;height:42px;border-radius:13px;background:#f8fafc;display:grid;place-items:center;font-size:22px}.explore-type strong,.explore-type small{display:block}.explore-type small{font-size:12px;color:#94a3b8}.explore-type i{font-size:12px;color:#cbd5e1}.explore-type.active{border-color:#93c5fd;background:#eff6ff;color:#1e40af}
.explore-note{margin-top:18px;background:#f8fafc;border-radius:16px;padding:13px;display:flex;gap:10px}.explore-note i{color:#10b981;margin-top:3px}.explore-note strong{font-size:12px}.explore-note p{font-size:12px;color:#64748b;margin:2px 0 0}
.explore-main{min-width:0}.explore-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.explore-toolbar h2{font-size:30px;margin:4px 0 0}
.explore-page-search{width:280px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:0 13px;display:flex;align-items:center;gap:8px}.explore-page-search input{border:0;outline:none;background:transparent;width:100%;padding:11px}
.explore-stage-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.explore-stage-tabs button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:17px;display:flex;align-items:center;gap:12px;text-align:right}.explore-stage-tabs button>span{font-size:28px}.explore-stage-tabs strong,.explore-stage-tabs small{display:block}.explore-stage-tabs small{font-size:12px;color:#94a3b8}.explore-stage-tabs button.active{border-color:#60a5fa;background:#eff6ff;box-shadow:0 8px 22px rgba(37,99,235,.08)}
.explore-grade-block,.explore-subject-block{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;margin-top:18px}.explore-block-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.explore-block-head h3{margin:3px 0}.explore-block-head>span{font-size:12px;color:#64748b}
.explore-grade-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.explore-grade-grid button{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px 7px}.explore-grade-grid strong,.explore-grade-grid span{display:block}.explore-grade-grid strong{font-size:16px}.explore-grade-grid span{font-size:12px;color:#94a3b8;margin-top:3px}.explore-grade-grid button.active{background:#0f172a;color:#fff;border-color:#0f172a}.explore-grade-grid button.active span{color:#cbd5e1}
.explore-subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.explore-subject-card{border:1px solid var(--line);border-radius:18px;padding:16px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:11px;background:#fff;transition:.18s}.explore-subject-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:#bfdbfe}.explore-subject-emoji{width:48px;height:48px;border-radius:15px;background:#f8fafc;display:grid;place-items:center;font-size:23px}.explore-subject-card h3{font-size:13px;margin:0}.explore-subject-card p{font-size:12px;color:#94a3b8;margin:3px 0 0}.explore-open{width:32px;height:32px;border-radius:10px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:12px}
@media(max-width:900px){.explore-workspace{grid-template-columns:1fr}.explore-sidebar{position:static}.explore-type{display:inline-grid;width:calc(50% - 6px);vertical-align:top}.explore-subject-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.explore-hero-inner{padding:26px 20px}.explore-hero h1{font-size:31px}.explore-hero-art{font-size:52px}.explore-toolbar{align-items:flex-start;flex-direction:column}.explore-page-search{width:100%}.explore-stage-tabs{grid-template-columns:1fr}.explore-grade-grid{grid-template-columns:repeat(3,1fr)}.explore-subject-grid{grid-template-columns:1fr}.explore-type{width:100%}.explore-hero-inner{align-items:flex-start}.learning-nav>.btn{font-size:12px;padding:9px 10px}}

/* Private lesson notes */
.lesson-notes-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.lesson-notes-help{font-size:12px;color:#64748b;margin:-8px 0 14px}
.lesson-notes-textarea{width:100%;min-height:260px;border:1px solid var(--line);background:#fffdf7;border-radius:18px;padding:18px;outline:none;resize:vertical;font-family:'Cairo',sans-serif;line-height:1.9;color:#334155;box-shadow:inset 0 1px 0 rgba(15,23,42,.03)}
.lesson-notes-textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 4px #eff6ff}
.lesson-notes-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.lesson-notes-footer>span{font-size:12px;color:#64748b}
@media(max-width:560px){.lesson-notes-card{padding:18px}.lesson-notes-textarea{min-height:220px}.lesson-notes-footer{align-items:flex-start;flex-direction:column}.lesson-notes-footer .btn{width:100%}}

/* Interactive subject path */
.subject-path-section{padding-top:18px}
.subject-path-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:22px;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.subject-path-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.subject-path-head h2{font-size:25px;margin:3px 0}.subject-path-head p{font-size:12px;color:#64748b;margin:0}
.subject-path-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;position:relative}
.subject-path-node{position:relative;border:1px solid var(--line);background:#fff;border-radius:18px;padding:13px;display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;text-align:right;min-height:88px;overflow:hidden;transition:.18s}
button.subject-path-node{cursor:pointer;color:inherit}
button.subject-path-node:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(15,23,42,.06);border-color:#bfdbfe}
.subject-path-node.current{border-color:#93c5fd;background:linear-gradient(180deg,#eff6ff,#fff);box-shadow:0 8px 24px rgba(37,99,235,.08)}
.subject-path-node.complete{border-color:#bbf7d0;background:linear-gradient(180deg,#f0fdf4,#fff)}
.subject-path-node.upcoming{background:#f8fafc;color:#64748b}
.path-node-icon{width:42px;height:42px;border-radius:14px;background:#f1f5f9;color:#64748b;display:grid;place-items:center}
.subject-path-node.current .path-node-icon{background:#dbeafe;color:#2563eb}
.subject-path-node.complete .path-node-icon{background:#dcfce7;color:#059669}
.subject-path-node.finish .path-node-icon{background:#fff7ed;color:#d97706}
.path-node-copy{display:grid;min-width:0}.path-node-copy small{font-size:12px;color:#94a3b8}.path-node-copy strong{font-size:12px;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.path-node-copy em{font-size:12px;color:#64748b;font-style:normal}
.path-node-progress{grid-column:1/-1;height:4px;border-radius:999px;background:#eef2f7;overflow:hidden}.path-node-progress i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#2563eb);border-radius:inherit}

/* Rich curriculum states */
.unit-card{transition:.18s}.unit-card.unit-complete{border-color:#bbf7d0}.unit-card.unit-complete .unit-number{background:#dcfce7;color:#059669}
.unit-progress-rich{min-width:110px;text-align:left}.unit-progress-rich strong,.unit-progress-rich span{display:block}.unit-progress-rich strong{font-size:12px}.unit-progress-rich span{font-size:12px;color:#94a3b8}.unit-progress-rich .mini-progress{margin:5px 0 0}.unit-progress-rich .mini-progress i{display:block;height:100%;background:linear-gradient(90deg,#14b8a6,#2563eb);border-radius:inherit}
.curriculum-item{border:1px solid transparent}.curriculum-item.current{background:linear-gradient(90deg,#eff6ff,#fff);border-color:#bfdbfe}.curriculum-item.complete{background:#fbfffc}.curriculum-item.locked{opacity:.72;background:#f8fafc}
.curriculum-item .item-icon.current{background:#dbeafe;color:#1d4ed8;box-shadow:0 0 0 5px #eff6ff}
.curriculum-title-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.next-step-badge{font-size:12px;font-weight:900;padding:3px 6px;border-radius:999px;background:#2563eb;color:#fff}
.item-state.current{background:#dbeafe;color:#1d4ed8}.item-state.locked{background:#f1f5f9;color:#94a3b8}.item-state.quiz-ready{background:#dcfce7;color:#047857}
.item-open.locked-action{border:0;cursor:not-allowed;background:#f1f5f9;color:#94a3b8}
.comprehensive-card{border-style:dashed}

/* Lesson XP reward */
.lesson-xp-reward{display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#fff7ed,#fff);border:1px solid #fed7aa;border-radius:14px;padding:10px 12px;margin:12px 0}
.lesson-xp-reward>span{width:34px;height:34px;border-radius:11px;background:#ffedd5;color:#ea580c;display:grid;place-items:center}.lesson-xp-reward small,.lesson-xp-reward strong{display:block}.lesson-xp-reward small{font-size:12px;color:#9a3412}.lesson-xp-reward strong{font-size:12px;color:#c2410c}

/* Quick check */
.lesson-quick-check{margin-top:24px;border:1px solid #bfdbfe;background:linear-gradient(135deg,#f8fbff,#fff);border-radius:20px;padding:18px}
.quick-check-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.quick-check-head h3{margin:3px 0}.quick-check-head p{font-size:12px;color:#64748b;margin:0}.quick-check-head>span{font-size:30px}
.quick-check-question>strong{font-size:12px;line-height:1.7}.quick-check-options{display:grid;gap:8px;margin-top:12px}
.quick-check-options button{border:1px solid var(--line);background:#fff;border-radius:13px;padding:11px 12px;display:flex;align-items:center;gap:9px;text-align:right;font-family:'Cairo',sans-serif;font-weight:800;color:#334155;transition:.15s}
.quick-check-options button:hover:not(:disabled){border-color:#93c5fd;background:#eff6ff}.quick-check-options button>span{width:28px;height:28px;border-radius:9px;border:1px solid currentColor;display:grid;place-items:center;font-size:12px}
.quick-check-options button.correct{border-color:#10b981;background:#ecfdf5;color:#047857}.quick-check-options button.wrong{border-color:#ef4444;background:#fef2f2;color:#b91c1c}
.quick-check-feedback{margin-top:12px;border-radius:13px;padding:11px;display:flex;align-items:flex-start;gap:9px}.quick-check-feedback>i{font-size:17px;margin-top:1px}.quick-check-feedback strong,.quick-check-feedback p{display:block}.quick-check-feedback strong{font-size:12px}.quick-check-feedback p{font-size:12px;margin:2px 0 0}
.quick-check-feedback.correct{background:#ecfdf5;color:#047857}.quick-check-feedback.wrong{background:#fef2f2;color:#b91c1c}

/* Lesson completion celebration */
.lesson-celebration{position:fixed;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(8px);z-index:250;display:grid;place-items:center;padding:20px;opacity:0;pointer-events:none;transition:.2s}
.lesson-celebration.show{opacity:1;pointer-events:auto}
.celebration-card{width:min(500px,100%);background:#fff;border-radius:30px;padding:30px;text-align:center;position:relative;box-shadow:0 30px 90px rgba(15,23,42,.28);transform:translateY(18px) scale(.97);transition:.25s}
.lesson-celebration.show .celebration-card{transform:none}
.celebration-close{position:absolute;left:14px;top:14px;width:34px;height:34px;border:0;border-radius:11px;background:#f1f5f9;color:#64748b}.celebration-trophy{font-size:58px;display:block}.celebration-card h2{font-size:28px;margin:6px 0}.celebration-card p{font-size:12px;color:#64748b;line-height:1.8}.celebration-xp{display:inline-flex;align-items:center;gap:7px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:999px;padding:8px 12px;margin:8px 0 16px}.celebration-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.celebration-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.celebration-confetti i{position:absolute;width:9px;height:18px;border-radius:3px;background:#60a5fa;top:-20px;animation:confettiDrop 1.5s ease-out forwards}.celebration-confetti i:nth-child(2){left:18%;background:#f59e0b;animation-delay:.12s}.celebration-confetti i:nth-child(3){left:34%;background:#10b981;animation-delay:.2s}.celebration-confetti i:nth-child(4){left:55%;background:#8b5cf6;animation-delay:.05s}.celebration-confetti i:nth-child(5){left:73%;background:#ef4444;animation-delay:.18s}.celebration-confetti i:nth-child(6){left:88%;background:#06b6d4;animation-delay:.28s}
@keyframes confettiDrop{0%{transform:translateY(-20px) rotate(0);opacity:0}15%{opacity:1}100%{transform:translateY(110vh) rotate(540deg);opacity:0}}

@media(max-width:720px){
 .subject-path-head{align-items:flex-start;flex-direction:column}.subject-path-head .btn{width:100%}
 .subject-path-track{grid-template-columns:1fr 1fr}.unit-progress-rich{min-width:90px}
 .celebration-card{padding:26px 18px}.celebration-actions{flex-direction:column}.celebration-actions .btn{width:100%}
}
@media(max-width:520px){
 .subject-path-track{grid-template-columns:1fr}.unit-head{gap:10px}.unit-progress-rich{width:100%;text-align:right}
 .unit-head{flex-wrap:wrap}.quick-check-head{align-items:flex-start}.lesson-quick-check{padding:14px}
}

#subjectProgressBar,#weeklyProgressBar,#quizProgressBar{width:0%}#lessonProgressBar{width:25%}

/* Phase 1 subject premium polish */
.subject-page{
  background:
    radial-gradient(circle at 15% 0%,rgba(59,130,246,.05),transparent 26%),
    radial-gradient(circle at 86% 10%,rgba(124,58,237,.04),transparent 24%),
    #f7f9fc;
}
.subject-hero{padding:30px 0 12px;background:transparent}
.subject-hero-card{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#0f172a 0%,#172554 58%,#1d4ed8 150%);
  border-color:rgba(255,255,255,.07)!important;
  color:#fff;
  box-shadow:0 20px 55px rgba(30,58,138,.16)!important;
  padding:28px!important;
}
.subject-hero-card:before{
  content:"";position:absolute;width:260px;height:260px;border-radius:50%;
  left:-115px;top:-145px;background:rgba(96,165,250,.10)
}
.subject-hero-card:after{
  content:"";position:absolute;width:150px;height:150px;border-radius:34px;
  left:115px;bottom:-110px;background:rgba(255,255,255,.04);transform:rotate(24deg)
}
.subject-hero-copy,.subject-hero-stats{position:relative;z-index:1}
.subject-mini-label{color:#bfdbfe!important;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.10)!important}
.subject-title-row h1{color:#fff;font-size:34px;letter-spacing:-.025em}
.subject-title-row p{color:#cbd5e1!important;line-height:1.9}
.subject-big-emoji{
  width:72px;height:72px;border-radius:22px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);
  display:grid;place-items:center;font-size:38px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.subject-progress-meta{color:#dbeafe}.subject-progress-meta strong{color:#fff}
.subject-progress-track{height:9px;background:rgba(255,255,255,.13)}
.subject-progress-track span{background:linear-gradient(90deg,#38bdf8,#60a5fa,#c4b5fd)}
.subject-certificate-btn{background:#fff!important;color:#1d4ed8!important;border-color:#fff!important}
.subject-hero-stats{gap:9px}
.subject-hero-stats article{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:#fff!important;
  box-shadow:none!important;
  min-width:118px;
}
.subject-hero-stats article strong{color:#fff!important}
.subject-hero-stats article small{color:#cbd5e1!important}
.subject-hero-stats .stat-badge{background:rgba(255,255,255,.10)!important;color:#fff!important}
.subject-next-stat{min-width:170px!important}
.subject-next-stat strong{
  max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:12px!important
}

.subject-path-section{padding-top:14px}
.subject-path-card{
  border-radius:22px;
  border-color:#e4eaf2;
  box-shadow:0 10px 32px rgba(15,23,42,.045);
  padding:20px;
}
.subject-path-head{margin-bottom:15px}
.subject-path-head h2{font-size:23px;letter-spacing:-.02em}
.subject-path-head p{font-size:12px;line-height:1.8}
.subject-path-track{gap:8px}
.subject-path-node{
  min-height:82px;border-radius:16px;padding:11px;
  grid-template-columns:38px 1fr;
  box-shadow:0 4px 14px rgba(15,23,42,.025)
}
.subject-path-node.current{
  border-color:#93c5fd;background:linear-gradient(145deg,#eff6ff,#fff);
  box-shadow:0 10px 26px rgba(37,99,235,.08)
}
.subject-path-node.current:before{
  content:"";position:absolute;right:0;top:13px;bottom:13px;width:3px;border-radius:999px;background:#2563eb
}
.path-node-icon{width:38px;height:38px;border-radius:12px}
.path-node-copy strong{font-size:12px}.path-node-copy small,.path-node-copy em{font-size:12px}
.path-node-progress{height:5px}

.learning-layout{gap:20px;padding-top:24px}
.learning-section-head{margin-bottom:15px}
.learning-section-head h2{font-size:27px;letter-spacing:-.025em}
.learning-section-head p{font-size:12px;line-height:1.8}
.curriculum-tools{
  padding:3px;background:#fff;border:1px solid #e7ecf3;border-radius:999px;
  box-shadow:0 5px 18px rgba(15,23,42,.03)
}
.filter-chip{border:0!important;background:transparent;padding:7px 11px}
.filter-chip.active{background:#0f172a!important;box-shadow:0 6px 14px rgba(15,23,42,.14)}

.curriculum-list{gap:13px}
.unit-card{
  border-radius:20px;
  border-color:#e3e9f1;
  box-shadow:0 8px 27px rgba(15,23,42,.04);
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease
}
.unit-card:hover{border-color:#d8e1ed;box-shadow:0 13px 34px rgba(15,23,42,.06)}
.unit-card.unit-complete{border-color:#cdebdc!important}
.unit-head{padding:15px 17px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.unit-head-main{display:flex;align-items:center;gap:11px;min-width:0}
.unit-head-main>div{min-width:0}
.unit-head h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.unit-head p{font-size:12px}
.unit-number{width:39px;height:39px;border-radius:12px;flex:0 0 39px}
.unit-head-actions{display:flex;align-items:center;gap:10px}
.unit-progress-rich{min-width:94px}
.unit-toggle{
  width:34px;height:34px;flex:0 0 34px;border:1px solid #e5eaf1;background:#fff;
  border-radius:11px;color:#64748b;display:grid;place-items:center;
  transition:transform .16s ease,background .16s ease,color .16s ease
}
.unit-toggle:hover{background:#f8fafc;color:#0f172a}
.unit-toggle i{transition:transform .18s ease}
.unit-card.collapsed-unit .unit-head{border-bottom-color:transparent}
.unit-items{padding:7px;max-height:2200px;opacity:1;transition:max-height .24s ease,opacity .18s ease,padding .2s ease}
.unit-items.collapsed{max-height:0;opacity:0;padding-top:0;padding-bottom:0;overflow:hidden}

.curriculum-item{
  width:100%;text-decoration:none;color:inherit;border:1px solid transparent;
  min-height:68px;padding:11px 12px;border-radius:14px;
  grid-template-columns:40px minmax(0,1fr) auto;
  font-family:inherit;text-align:right;background:transparent
}
button.curriculum-item{cursor:pointer}
.curriculum-item:hover{
  background:#f8fbff!important;border-color:#e4ecf6!important;
  transform:translateX(-2px)
}
.curriculum-item.current{
  background:linear-gradient(90deg,#eff6ff,#fff)!important;
  border-color:#bfdbfe!important;
  box-shadow:0 7px 20px rgba(37,99,235,.055)
}
.curriculum-item.complete{background:#fbfefc}
.curriculum-item.locked{
  opacity:.72;background:#f8fafc!important;cursor:pointer
}
.curriculum-item.locked:hover{background:#f5f7fa!important;border-color:#e2e8f0!important;transform:none}
.item-icon{width:38px;height:38px;border-radius:12px}
.curriculum-item h4{font-size:12px;line-height:1.55}
.curriculum-item p{font-size:12px;line-height:1.6}
.item-action{gap:7px}
.item-state{font-size:12px;padding:4px 7px}
.item-open{
  width:31px;height:31px;border-radius:10px;
  display:grid;place-items:center;background:#eff6ff;color:#2563eb
}
.curriculum-item:hover .item-open:not(.locked-action){background:#dbeafe}
.next-step-badge{font-size:12px;padding:3px 6px}
.comprehensive-card{border-style:dashed!important;border-width:1.5px!important}

.learning-sidebar{gap:12px;top:88px}
.resume-card,.weekly-card,.explore-card,.certificate-ready-card{
  border-radius:18px!important;border-color:#e4eaf1!important;
  box-shadow:0 8px 26px rgba(15,23,42,.04)!important;
  padding:17px!important
}
.resume-card{
  background:linear-gradient(145deg,#0f172a,#172554)!important;
  color:#fff;border-color:rgba(255,255,255,.07)!important
}
.resume-card .section-kicker{color:#93c5fd}
.resume-card h3{color:#fff}.resume-card p{color:#cbd5e1!important;line-height:1.8}
.resume-card .resume-icon{background:rgba(255,255,255,.10);color:#fff}
.resume-card .btn-primary{background:#fff!important;color:#1d4ed8!important;border-color:#fff!important}
.weekly-card p,.explore-card p{line-height:1.8}
.weekly-progress strong{font-size:12px}
.explore-card{background:linear-gradient(180deg,#fff,#fafbff)}

@media(max-width:980px){
  .subject-hero-card{grid-template-columns:1fr!important}
  .subject-hero-stats{grid-template-columns:repeat(4,1fr)!important}
  .subject-hero-stats article{min-width:0}
  .learning-layout{grid-template-columns:1fr!important}
  .learning-sidebar{
    position:static!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch
  }
  .resume-card,.weekly-card,.explore-card,.certificate-ready-card{height:100%}
}
@media(max-width:720px){
  .subject-hero{padding-top:16px}
  .subject-hero-card{padding:20px!important;border-radius:22px!important}
  .subject-title-row{align-items:flex-start}
  .subject-big-emoji{width:58px;height:58px;border-radius:17px;font-size:30px}
  .subject-title-row h1{font-size:28px}
  .subject-title-row p{font-size:12px}
  .subject-hero-stats{grid-template-columns:repeat(2,1fr)!important}
  .subject-hero-stats article{padding:11px!important;border-radius:15px!important}
  .subject-next-stat{min-width:0!important}
  .subject-path-card{padding:16px;border-radius:18px}
  .subject-path-track{display:flex;overflow-x:auto;padding-bottom:5px;scroll-snap-type:x proximity;scrollbar-width:none}
  .subject-path-track::-webkit-scrollbar{display:none}
  .subject-path-node{flex:0 0 180px;scroll-snap-align:start}
  .learning-section-head{align-items:flex-start;flex-direction:column}
  .curriculum-tools{width:100%;overflow-x:auto;flex-wrap:nowrap}
  .filter-chip{flex:1;white-space:nowrap}
  .unit-head{align-items:flex-start;gap:10px}
  .unit-head-actions{margin-right:auto}
  .unit-progress-rich{display:none}
  .learning-sidebar{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .subject-title-row{gap:10px}
  .subject-big-emoji{width:50px;height:50px;border-radius:15px;font-size:26px}
  .subject-title-row h1{font-size:24px}
  .subject-hero-stats{gap:7px}
  .subject-hero-stats article{min-height:64px}
  .subject-path-head{gap:12px}
  .subject-path-head h2{font-size:20px}
  .subject-path-node{flex-basis:165px}
  .unit-head{padding:13px}
  .unit-head-main{gap:8px}
  .unit-number{width:35px;height:35px;flex-basis:35px}
  .unit-head h3{font-size:13px}
  .curriculum-item{
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;padding:10px
  }
  .item-icon{width:35px;height:35px;border-radius:11px}
  .item-action{grid-column:2;justify-content:space-between;width:100%}
  .learning-sidebar{grid-template-columns:1fr}
}

/* Phase 1 lesson premium polish */
.lesson-body{
  background:
    radial-gradient(circle at 12% 0%,rgba(59,130,246,.045),transparent 25%),
    radial-gradient(circle at 88% 10%,rgba(124,58,237,.035),transparent 22%),
    #f7f9fc;
}
.lesson-top{
  padding:24px 0 18px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.92));
  border-bottom:1px solid #e8edf4;
}
.lesson-heading{align-items:center}
.lesson-heading>div:first-child{min-width:0}
.lesson-meta{
  display:inline-flex;align-items:center;gap:6px;
  font-size:12px;font-weight:900;color:#1d4ed8;
  background:#eff6ff;border:1px solid #dbeafe;
  padding:5px 8px;border-radius:999px;
}
.lesson-heading h1{
  font-size:35px;line-height:1.28;margin:9px 0 5px;
  letter-spacing:-.025em;color:#0f172a;
}
.lesson-heading p{font-size:12px;line-height:1.8;color:#64748b}
.lesson-context-row{
  display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:10px
}
.lesson-context-row span{
  display:inline-flex;align-items:center;gap:6px;
  border:1px solid #e5eaf1;background:#fff;color:#64748b;
  border-radius:999px;padding:5px 8px;font-size:12px
}
.lesson-context-row span i{color:#2563eb;font-size:12px}
.lesson-context-row span strong{color:#334155;font-size:12px}
.lesson-actions .btn{min-height:42px;border-radius:13px}
.lesson-actions .btn:disabled{opacity:.45;background:#f8fafc!important;color:#94a3b8!important;border-color:#e2e8f0!important}

.lesson-grid{gap:20px;padding-top:20px}
.video-theater{
  padding:9px;border-radius:22px;
  background:linear-gradient(145deg,#07111f,#0f172a 58%,#172554);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 52px rgba(15,23,42,.15);
}
.video-frame{
  border-radius:16px;overflow:hidden;background:#020617;
  aspect-ratio:16/9;display:grid;place-items:center
}
.video-frame iframe{width:100%;height:100%;border:0;display:block}
.video-placeholder{padding:30px;text-align:center;color:#cbd5e1}
.video-placeholder>span{
  width:66px;height:66px;border-radius:22px;
  display:grid;place-items:center;margin:0 auto 12px;
  background:rgba(96,165,250,.12);color:#93c5fd;font-size:28px;
  border:1px solid rgba(147,197,253,.16)
}
.video-placeholder h3{color:#fff;margin:0 0 5px}
.video-placeholder p{color:#94a3b8;font-size:12px}
.teacher-switcher-wrap{
  padding:14px 5px 4px;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:9px
}
.teacher-switcher-head{color:#fff;align-items:center}
.teacher-switcher-head h3{font-size:13px;color:#fff;margin:3px 0}
.teacher-switcher-head .section-kicker{color:#93c5fd}
.teacher-count{
  background:rgba(255,255,255,.08)!important;color:#cbd5e1!important;
  border:1px solid rgba(255,255,255,.08)
}
.teacher-switcher{
  display:flex;gap:8px;overflow-x:auto;padding:8px 1px 2px;scrollbar-width:none
}
.teacher-switcher::-webkit-scrollbar{display:none}
.teacher-choice{
  flex:0 0 auto;min-width:155px;
  display:grid!important;grid-template-columns:36px 1fr!important;
  grid-template-rows:auto auto;align-items:center!important;
  gap:0 9px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  background:rgba(255,255,255,.05)!important;color:#cbd5e1!important;
  padding:8px 10px!important;border-radius:13px!important;text-align:right!important
}
.teacher-choice:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(147,197,253,.22)!important}
.teacher-choice.active{
  background:rgba(59,130,246,.18)!important;border-color:#60a5fa!important;color:#fff!important;
  box-shadow:0 7px 18px rgba(2,6,23,.12)
}
.teacher-mini-avatar{grid-row:1/3;width:36px;height:36px;border-radius:11px;background:rgba(255,255,255,.10)!important;color:#fff!important}
.teacher-choice strong{font-size:12px;line-height:1.4}
.teacher-choice small{font-size:12px;color:#94a3b8;margin-top:1px}
.teacher-choice.active small{color:#bfdbfe}

.lesson-tabs{
  position:sticky;top:73px;z-index:45;
  margin:16px 0 14px;padding:5px;
  border:1px solid #e5eaf1;border-radius:16px;
  background:rgba(255,255,255,.94);backdrop-filter:blur(16px);
  box-shadow:0 7px 24px rgba(15,23,42,.045);
  gap:4px
}
.lesson-tabs button{
  flex:1;min-height:40px;padding:8px 10px;border-radius:11px;
  font-size:12px;white-space:nowrap;
  transition:background .16s ease,color .16s ease,transform .16s ease
}
.lesson-tabs button.active{
  background:#0f172a;color:#fff;
  box-shadow:0 6px 15px rgba(15,23,42,.14)
}
.lesson-tabs button i{margin-left:5px}
.lesson-tab-panel{animation:lessonPanelIn .18s ease}
@keyframes lessonPanelIn{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:none}}

.explanation-card,.resources-card,.lesson-notes-card{
  border-radius:20px!important;border-color:#e4eaf1!important;
  box-shadow:0 9px 29px rgba(15,23,42,.045)!important;
  padding:24px!important;background:#fff
}
.content-heading{margin-bottom:18px}
.content-heading h2{font-size:21px;letter-spacing:-.015em}
.content-icon{width:44px;height:44px;border-radius:13px}
.rich-content{
  font-size:14px;line-height:2.05;color:#334155;
  max-width:78ch
}
.rich-content p{margin:12px 0}
.rich-content h1{font-size:27px;margin-top:28px}
.rich-content h2{font-size:22px;margin-top:28px}
.rich-content h3{font-size:17px;margin-top:24px}
.rich-content ul{line-height:2}
.lesson-image{box-shadow:0 10px 30px rgba(15,23,42,.07)}
.lesson-image img{max-height:560px}

.lesson-quick-check{
  margin-top:26px;padding:18px;border-radius:18px;
  background:linear-gradient(145deg,#f8fbff,#fff);
  box-shadow:0 8px 24px rgba(37,99,235,.045)
}
.quick-check-options button{min-height:48px}
.quick-check-options button:hover:not(:disabled){transform:translateX(-2px)}

.quiz-intro-card,.quiz-engine,.quiz-result{
  border-radius:20px!important;box-shadow:0 9px 28px rgba(15,23,42,.045)
}
.quiz-intro-card{background:linear-gradient(135deg,#eff6ff,#f0fdf4)}
.quiz-progress-track{height:7px}
.question-card{border-radius:18px}
.quiz-option-v3{min-height:49px;border-radius:13px}
.quiz-option-v3:hover{transform:translateX(-2px)}
.quiz-nav{margin-top:15px}
.quiz-result{padding:24px}

.lesson-notes-card{background:linear-gradient(180deg,#fff,#fffef9)}
.lesson-notes-help{line-height:1.8}
.lesson-notes-textarea{
  min-height:220px;border-radius:15px!important;background:#fff;
  line-height:1.9!important;resize:vertical
}
.lesson-notes-footer{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px
}
#lessonNotesStatus{font-size:12px;color:#64748b}

.lesson-sidebar{gap:12px;top:88px}
.lesson-progress-card,.lesson-outline-card,.motivation-card{
  border-radius:18px!important;border-color:#e4eaf1!important;
  box-shadow:0 8px 26px rgba(15,23,42,.04)!important;
  padding:17px!important
}
.lesson-progress-card{
  background:linear-gradient(180deg,#fff,#f8fbff)
}
.lesson-status-icon{width:36px;height:36px;border-radius:11px}
.lesson-progress-track{height:7px;margin:12px 0}
.lesson-progress-card p{line-height:1.8}
.lesson-xp-reward{padding:9px 10px;margin:11px 0}
.lesson-xp-reward>span{width:31px;height:31px}
.lesson-outline-card .sidebar-card-head small{
  display:block;font-size:12px;color:#94a3b8;margin-top:2px
}
.lesson-outline{gap:4px;margin-top:9px}
.outline-item{
  grid-template-columns:28px 1fr;gap:8px;padding:8px;border-radius:11px;
  text-decoration:none;color:inherit;transition:.15s
}
.outline-item:hover{background:#f8fafc;transform:translateX(-2px)}
.outline-item.active{
  background:linear-gradient(90deg,#eff6ff,#fff);
  box-shadow:inset -3px 0 #2563eb
}
.outline-item.complete:not(.active){color:#64748b}
.outline-num{width:27px;height:27px;border-radius:8px}
.outline-item.complete .outline-num{background:#dcfce7;color:#059669}
.outline-item>span:last-child{display:grid;min-width:0}
.outline-item strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.outline-item small{font-size:12px;color:#94a3b8;margin-top:1px}
.outline-item.active small{color:#2563eb}
.motivation-card{border:0!important;box-shadow:0 13px 32px rgba(30,58,138,.13)!important}

.lesson-celebration{z-index:2200}
.celebration-card{border-radius:24px;padding:28px}
.celebration-trophy{animation:lessonTrophy .55s ease both}
@keyframes lessonTrophy{0%{transform:scale(.65) rotate(-8deg)}70%{transform:scale(1.08) rotate(3deg)}100%{transform:none}}

@media(max-width:980px){
  .lesson-grid{grid-template-columns:1fr!important}
  .lesson-sidebar{
    position:static!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start
  }
  .lesson-outline-card{grid-row:span 2}
  .motivation-card{align-self:stretch}
}
@media(max-width:760px){
  .lesson-top{padding:17px 0 13px}
  .lesson-heading{gap:14px}
  .lesson-heading h1{font-size:27px}
  .lesson-heading p{font-size:12px}
  .lesson-context-row{margin-top:8px}
  .lesson-context-row span{font-size:12px;padding:4px 7px}
  .lesson-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .lesson-grid{padding-top:13px}
  .video-theater{border-radius:18px;padding:7px}
  .video-frame{border-radius:13px}
  .teacher-switcher-wrap{padding-top:11px}
  .teacher-choice{min-width:140px}
  .lesson-tabs{
    top:63px;margin:12px 0;
    overflow-x:auto;justify-content:flex-start;scrollbar-width:none
  }
  .lesson-tabs::-webkit-scrollbar{display:none}
  .lesson-tabs button{flex:0 0 auto;min-width:105px}
  .explanation-card,.resources-card,.lesson-notes-card,.quiz-engine{padding:17px!important;border-radius:17px!important}
  .content-heading{margin-bottom:14px}
  .rich-content{font-size:13px;line-height:2}
  .lesson-sidebar{grid-template-columns:1fr 1fr}
}
@media(max-width:540px){
  .lesson-heading h1{font-size:24px}
  .lesson-meta{font-size:12px}
  .lesson-context-row{gap:5px}
  .lesson-context-row span{flex:1;justify-content:center;min-width:0}
  .lesson-context-row span strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .teacher-switcher-head{align-items:flex-start}
  .teacher-count{font-size:12px}
  .lesson-tabs{margin-left:-2px;margin-right:-2px}
  .lesson-tabs button{min-width:96px;font-size:12px}
  .quick-check-head{gap:8px}
  .quick-check-options button{padding:10px;min-height:46px}
  .lesson-notes-footer{align-items:stretch;flex-direction:column}
  .lesson-notes-footer .btn{width:100%}
  .lesson-sidebar{grid-template-columns:1fr}
  .lesson-outline-card{grid-row:auto}
  .celebration-card{padding:24px 17px}
}

/* Phase 1 explore premium polish */
.explore-page{
  background:
    radial-gradient(circle at 10% 0%,rgba(59,130,246,.045),transparent 24%),
    radial-gradient(circle at 90% 12%,rgba(124,58,237,.035),transparent 22%),
    #f6f8fc;
}
.explore-hero{padding:34px 0 20px!important;background:linear-gradient(180deg,#fff,#f8fbff)!important}
.explore-hero-inner{
  min-height:190px;border-radius:25px!important;padding:27px 30px!important;
  background:linear-gradient(135deg,#0f172a 0%,#172554 58%,#1d4ed8 145%)!important;
  color:#fff;box-shadow:0 18px 48px rgba(30,58,138,.15);position:relative;overflow:hidden
}
.explore-hero-inner:before{
  content:"";position:absolute;width:245px;height:245px;border-radius:50%;
  left:-100px;top:-145px;background:rgba(96,165,250,.10)
}
.explore-hero-inner>div,.explore-hero-art{position:relative;z-index:1}
.explore-hero-inner .section-kicker{color:#93c5fd}
.explore-hero-inner h1{font-size:32px!important;letter-spacing:-.025em;margin:5px 0}
.explore-hero-inner p{font-size:12px!important;line-height:1.85;color:#cbd5e1;max-width:680px}
.explore-hero-art{font-size:66px!important;filter:drop-shadow(0 14px 20px rgba(2,6,23,.18))}
.explore-workspace{grid-template-columns:235px minmax(0,1fr)!important;gap:15px!important;padding-top:18px!important}
.explore-sidebar{
  top:88px!important;border-radius:18px!important;padding:13px!important;
  box-shadow:0 8px 25px rgba(15,23,42,.04)!important
}
.explore-sidebar-title h3{font-size:16px;margin:3px 0 9px}
.explore-type{
  min-height:55px;border-radius:12px!important;padding:9px!important;
  border-color:#e8edf3!important;transition:.15s
}
.explore-type:hover{border-color:#d4e0ed!important;transform:translateX(-2px)}
.explore-type.active{
  background:linear-gradient(90deg,#eff6ff,#fff)!important;
  border-color:#bfdbfe!important;box-shadow:inset -3px 0 #2563eb
}
.explore-type>span{width:36px;height:36px;border-radius:11px;background:#f8fafc;display:grid;place-items:center;font-size:20px}
.explore-type strong{font-size:12px}.explore-type small{font-size:12px!important}
.explore-note{border-radius:12px!important;padding:10px!important;margin-top:10px!important}
.explore-note strong{font-size:12px}.explore-note p{font-size:12px!important;line-height:1.7}
.explore-main{min-width:0}
.explore-toolbar{
  border-radius:17px!important;padding:14px 15px!important;
  box-shadow:0 7px 22px rgba(15,23,42,.035)!important
}
.explore-toolbar h2{font-size:20px!important;letter-spacing:-.015em}
.explore-page-search{
  min-width:250px!important;min-height:42px!important;border-radius:12px!important;
  background:#fff!important;border-color:#dbe3ee!important
}
.explore-page-search:focus-within{border-color:#93c5fd!important;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
.explore-page-search input{font-size:12px!important}
.explore-stage-tabs{gap:8px!important;margin:11px 0!important}
.explore-stage-tabs button{
  min-height:66px;border-radius:15px!important;padding:10px 12px!important;
  border-color:#e4eaf1!important;box-shadow:0 5px 16px rgba(15,23,42,.025);transition:.15s
}
.explore-stage-tabs button:hover{transform:translateY(-2px);border-color:#d5e1ed!important}
.explore-stage-tabs button.active{
  background:linear-gradient(135deg,#0f172a,#1e3a8a)!important;color:#fff!important;
  border-color:#1e3a8a!important;box-shadow:0 9px 24px rgba(30,58,138,.13)
}
.explore-stage-tabs button>span{font-size:26px!important}
.explore-stage-tabs strong{font-size:12px}.explore-stage-tabs small{font-size:12px!important}
.explore-grade-block,.explore-subject-block{
  border-radius:18px!important;padding:16px!important;
  border-color:#e4eaf1!important;box-shadow:0 7px 23px rgba(15,23,42,.035)!important
}
.explore-block-head{margin-bottom:11px!important}
.explore-block-head h3{font-size:17px!important}
.explore-block-head>span{font-size:12px!important}
.explore-grade-grid{gap:7px!important}
.explore-grade-grid button{
  border-radius:12px!important;min-height:58px!important;border-color:#e8edf3!important;transition:.15s
}
.explore-grade-grid button:hover{border-color:#bfdbfe!important;background:#f8fbff!important}
.explore-grade-grid button.active{
  background:#eff6ff!important;border-color:#60a5fa!important;
  box-shadow:inset 0 0 0 1px #93c5fd
}
.explore-grade-grid button strong{font-size:15px!important}
.explore-grade-grid button span{font-size:12px!important}
.explore-subject-grid{gap:9px!important}
.explore-subject-card{
  min-height:82px;border-radius:15px!important;padding:11px 12px!important;
  border-color:#e6ebf2!important;box-shadow:0 5px 17px rgba(15,23,42,.025);transition:.15s
}
.explore-subject-card:hover{transform:translateY(-2px);border-color:#bfd4ef!important;box-shadow:0 10px 25px rgba(15,23,42,.055)}
.explore-subject-emoji{width:42px!important;height:42px!important;border-radius:13px!important;font-size:23px!important}
.explore-subject-card h3{font-size:12px!important}.explore-subject-card p{font-size:12px!important}
.explore-open{width:32px!important;height:32px!important;border-radius:10px!important}
.explore-inline-loading{
  grid-column:1/-1;min-height:120px;border:1px dashed #cbd5e1;border-radius:15px;
  display:flex;align-items:center;justify-content:center;gap:9px;color:#64748b;font-size:12px
}
.explore-inline-loading i{color:#2563eb;font-size:15px}

@media(max-width:900px){
  .explore-workspace{grid-template-columns:1fr!important}
  .explore-sidebar{position:static!important;display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .explore-sidebar-title,.explore-note{grid-column:1/-1}
}
@media(max-width:620px){
  .explore-hero{padding-top:18px!important}
  .explore-hero-inner{min-height:0;padding:20px!important;border-radius:20px!important}
  .explore-hero-inner h1{font-size:25px!important}
  .explore-hero-art{font-size:44px!important}
  .explore-workspace{padding-left:10px!important;padding-right:10px!important}
  .explore-sidebar{padding:9px!important}
  .explore-type{min-height:50px}
  .explore-toolbar{align-items:stretch!important;flex-direction:column}
  .explore-page-search{min-width:0!important;width:100%}
  .explore-stage-tabs{overflow-x:auto;scrollbar-width:none}
  .explore-stage-tabs::-webkit-scrollbar{display:none}
  .explore-stage-tabs button{flex:0 0 150px}
  .explore-grade-grid{grid-template-columns:repeat(2,1fr)!important}
  .explore-subject-grid{grid-template-columns:1fr!important}
}

/* Premium 3D learning pages 2026 */
.subject-page,.lesson-page,.explore-page{overflow-x:clip}
.subject-hero .container,.subject-path-section,.learning-layout,.lesson-grid,.explore-workspace{min-width:0}
.learning-layout>*,.lesson-grid>*,.explore-workspace>*{min-width:0}

.subject-hero-card{
  background:
    radial-gradient(circle at 88% 14%,rgba(114,173,255,.34),transparent 28%),
    linear-gradient(135deg,#0a3b91 0%,#0b61d4 58%,#167be9 100%)!important;
  border-radius:22px!important;
}
.subject-big-emoji{
  width:72px!important;height:72px!important;border-radius:20px!important;
  display:grid!important;place-items:center!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(224,237,255,.9))!important;
  border:1px solid rgba(255,255,255,.8)!important;
  box-shadow:0 15px 28px rgba(3,36,94,.22),inset 0 2px 0 #fff,inset 0 -5px 10px rgba(27,78,156,.10)!important;
  filter:drop-shadow(0 7px 9px rgba(2,25,75,.18));
  transition:transform .2s ease
}
.subject-title-row:hover .subject-big-emoji{transform:translateY(-4px) rotate(-3deg) scale(1.04)}
.subject-hero-stats article{
  border:1px solid rgba(255,255,255,.45)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(235,244,255,.92))!important;
  box-shadow:0 12px 24px rgba(2,31,86,.13),inset 0 1px 0 #fff!important;
  transition:transform .18s ease,box-shadow .18s ease!important
}
.subject-hero-stats article:hover{transform:translateY(-4px)!important;box-shadow:0 18px 30px rgba(2,31,86,.18),inset 0 1px 0 #fff!important}
.stat-badge{
  position:relative;overflow:hidden;
  box-shadow:0 8px 16px rgba(22,67,130,.18),inset 0 2px 0 rgba(255,255,255,.35),inset 0 -3px 6px rgba(13,55,120,.12)!important;
  transition:transform .18s ease
}
.subject-hero-stats article:hover .stat-badge{transform:translateY(-3px) rotate(-4deg)}
.subject-progress-track,.lesson-progress-track,.quiz-progress-track{
  box-shadow:inset 0 2px 5px rgba(9,42,93,.10),0 1px 0 rgba(255,255,255,.8)!important
}
.subject-progress-track>span,.lesson-progress-track>span,.quiz-progress-track>span{
  background:linear-gradient(90deg,#49c5ff,#1977f2,#5956ea)!important;
  box-shadow:0 2px 8px rgba(25,119,242,.28)
}
.subject-certificate-btn{
  border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 8px 17px rgba(2,31,86,.18),inset 0 1px 0 rgba(255,255,255,.42)!important
}

.subject-path-card{
  position:relative;overflow:hidden;
  border:1px solid #dce7f6!important;border-radius:20px!important;
  background:linear-gradient(145deg,#fff,#f5f9ff)!important;
  box-shadow:0 15px 34px rgba(31,73,139,.09),inset 0 1px 0 #fff!important
}
.subject-path-card:before{
  content:"";position:absolute;right:-70px;top:-80px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle,rgba(65,130,240,.12),transparent 70%);pointer-events:none
}
.subject-path-track>*{
  position:relative;
  filter:drop-shadow(0 5px 6px rgba(30,70,130,.10));
  transition:transform .18s ease,filter .18s ease
}
.subject-path-track>*:hover{transform:translateY(-3px);filter:drop-shadow(0 9px 10px rgba(30,70,130,.16))}

.unit-card{
  overflow:hidden;border-radius:18px!important;
  background:linear-gradient(145deg,#fff,#f7faff)!important;
}
.unit-card:before{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;
  background:linear-gradient(90deg,#24a0ff,#7c5cff,#23c99b)
}
.unit-head,.unit-header{min-width:0}
.unit-head>* ,.unit-header>*{min-width:0}
.curriculum-item{
  position:relative;overflow:hidden;
  border:1px solid #e3ebf6!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 7px 16px rgba(33,76,140,.055),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important
}
.curriculum-item:hover{
  transform:translateX(-3px) translateY(-2px)!important;
  border-color:#cbdcf2!important;
  box-shadow:0 12px 24px rgba(33,76,140,.10),inset 0 1px 0 #fff!important
}
.curriculum-item.active,.curriculum-item.current{
  border-color:#78b9fa!important;
  background:linear-gradient(145deg,#f4f9ff,#e9f3ff)!important;
  box-shadow:0 10px 22px rgba(28,110,225,.13),inset 3px 0 #1478f2!important
}
.curriculum-item .lesson-number,.curriculum-item .item-icon{
  box-shadow:0 6px 12px rgba(30,70,130,.13),inset 0 1px 0 rgba(255,255,255,.7)!important
}
.filter-chip{
  box-shadow:0 4px 10px rgba(31,73,139,.055),inset 0 1px 0 #fff!important
}

.lesson-heading{
  min-width:0;border:1px solid #e1eaf6;border-radius:18px;padding:16px 18px!important;
  background:linear-gradient(145deg,#fff,#f7faff);
  box-shadow:0 12px 29px rgba(31,73,139,.075),inset 0 1px 0 #fff;
  margin-top:12px
}
.lesson-heading>div{min-width:0}
.lesson-context-row span{
  border:1px solid #dfe8f4!important;
  background:linear-gradient(145deg,#fff,#f1f6fd)!important;
  box-shadow:0 5px 12px rgba(31,73,139,.06),inset 0 1px 0 #fff!important
}
.video-theater{
  position:relative;overflow:hidden;border-radius:22px!important;
  border:1px solid #c9d8ed!important;
  background:linear-gradient(145deg,#071a42,#0a2d68)!important;
  box-shadow:0 21px 42px rgba(8,36,89,.22),inset 0 1px 0 rgba(255,255,255,.13)!important
}
.video-theater:before{
  content:"";position:absolute;left:8%;right:8%;top:0;height:1px;background:rgba(255,255,255,.28);z-index:2
}
.video-frame{min-width:0}
.video-placeholder>span{
  background:linear-gradient(145deg,#2495ff,#0d63d8)!important;
  border:1px solid rgba(255,255,255,.4)!important;
  box-shadow:0 12px 25px rgba(0,102,238,.28),inset 0 2px 0 rgba(255,255,255,.32)!important;
  animation:uiLessonPulse 2.8s ease-in-out infinite
}
@keyframes uiLessonPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05);box-shadow:0 16px 30px rgba(0,102,238,.38),inset 0 2px 0 rgba(255,255,255,.36)}}
.teacher-choice{
  border:1px solid #dce6f4!important;
  background:linear-gradient(145deg,#fff,#f5f9ff)!important;
  box-shadow:0 8px 18px rgba(31,73,139,.075),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease!important
}
.teacher-choice:hover{transform:translateY(-3px)!important;box-shadow:0 13px 24px rgba(31,73,139,.12),inset 0 1px 0 #fff!important}
.teacher-choice.active{
  border-color:#6eb3f8!important;background:linear-gradient(145deg,#eef7ff,#deedff)!important;
  box-shadow:0 10px 22px rgba(20,120,242,.17),inset 0 1px 0 #fff!important
}
.teacher-mini-avatar{
  background:linear-gradient(145deg,#2c9aff,#0c61d4)!important;color:#fff!important;
  box-shadow:0 7px 14px rgba(19,103,217,.22),inset 0 1px 0 rgba(255,255,255,.35)!important
}
.lesson-tabs{
  border:1px solid #dce6f4!important;border-radius:16px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,250,255,.98))!important;
  box-shadow:0 10px 24px rgba(31,73,139,.075),inset 0 1px 0 #fff!important;
  padding:6px!important
}
.lesson-tabs button{border-radius:11px!important;transition:transform .16s ease,box-shadow .16s ease!important}
.lesson-tabs button:hover{transform:translateY(-1px)}
.lesson-tabs button.active{
  background:linear-gradient(145deg,#2494ff,#0e66df)!important;color:#fff!important;
  box-shadow:0 8px 16px rgba(20,111,229,.23),inset 0 1px 0 rgba(255,255,255,.34)!important
}
.explanation-card,.resources-card,.lesson-notes-card,.quiz-engine,.quiz-intro-card,.quiz-result,
.lesson-progress-card,.lesson-outline-card,.motivation-card{
  border:1px solid #e0e9f5!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  box-shadow:0 12px 28px rgba(31,73,139,.075),inset 0 1px 0 #fff!important
}
.content-icon{
  background:linear-gradient(145deg,#2597ff,#0d65dc)!important;color:#fff!important
}
.quiz-option-v3{
  border:1px solid #dfe7f3!important;background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 6px 14px rgba(31,73,139,.055),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important
}
.quiz-option-v3:hover{transform:translateX(-3px) translateY(-1px)!important;box-shadow:0 10px 20px rgba(31,73,139,.095)!important}
.outline-item{
  border:1px solid transparent!important;transition:transform .15s ease,box-shadow .15s ease!important
}
.outline-item:hover{transform:translateX(-2px)!important;background:#f6faff!important;box-shadow:0 5px 12px rgba(31,73,139,.06)}
.outline-item.active{
  background:linear-gradient(145deg,#eef7ff,#e3f0ff)!important;border-color:#bfdafb!important;
  box-shadow:0 7px 14px rgba(25,108,224,.10)!important
}
.outline-num{
  box-shadow:0 5px 10px rgba(31,73,139,.10),inset 0 1px 0 rgba(255,255,255,.8)!important
}
.motivation-card{
  background:
    radial-gradient(circle at 85% 15%,rgba(255,208,83,.22),transparent 28%),
    linear-gradient(145deg,#fffaf0,#fff5df)!important
}

.explore-hero-inner{
  border-radius:22px!important;
  background:
    radial-gradient(circle at 82% 18%,rgba(98,183,255,.30),transparent 27%),
    linear-gradient(135deg,#0a3c92,#0c67db 65%,#1785ef)!important;
  box-shadow:0 20px 44px rgba(29,84,175,.17),inset 0 1px 0 rgba(255,255,255,.32)!important
}
.explore-sidebar{
  position:sticky;top:92px;height:max-content;border-radius:18px!important
}
.explore-type{
  border:1px solid #dfe8f5!important;background:linear-gradient(145deg,#fff,#f6faff)!important;
  box-shadow:0 6px 14px rgba(31,73,139,.06),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease!important
}
.explore-type:hover{transform:translateX(-3px) translateY(-1px)!important;box-shadow:0 10px 20px rgba(31,73,139,.10)!important}
.explore-type.active{
  background:linear-gradient(145deg,#eaf5ff,#dcecff)!important;border-color:#8bc2f8!important;
  box-shadow:0 9px 18px rgba(20,112,229,.13),inset 0 1px 0 #fff!important
}
.explore-type>span,.explore-stage-tabs button>span,.explore-subject-emoji{
  filter:drop-shadow(0 7px 7px rgba(32,65,120,.16));transition:transform .18s ease
}
.explore-type:hover>span,.explore-stage-tabs button:hover>span,.explore-subject-card:hover .explore-subject-emoji{transform:translateY(-3px) rotate(-3deg) scale(1.05)}
.explore-toolbar{min-width:0}
.explore-stage-tabs{min-width:0}
.explore-stage-tabs button{
  border:1px solid #dce6f4!important;background:linear-gradient(145deg,#fff,#f5f9ff)!important;
  box-shadow:0 8px 18px rgba(31,73,139,.065),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease!important
}
.explore-stage-tabs button:hover{transform:translateY(-3px)!important;box-shadow:0 13px 24px rgba(31,73,139,.11)!important}
.explore-stage-tabs button.active{
  background:linear-gradient(145deg,#eef7ff,#deedff)!important;border-color:#7ebcf8!important;
  box-shadow:0 10px 20px rgba(20,112,229,.14),inset 0 1px 0 #fff!important
}
.explore-grade-grid button,.explore-subject-card{
  position:relative;overflow:hidden;
  border:1px solid #dfe8f4!important;background:linear-gradient(145deg,#fff,#f7faff)!important;
  box-shadow:0 8px 18px rgba(31,73,139,.065),inset 0 1px 0 #fff!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important
}
.explore-grade-grid button:hover,.explore-subject-card:hover{
  transform:translateY(-4px)!important;border-color:#c7d9ef!important;
  box-shadow:0 14px 27px rgba(31,73,139,.115),inset 0 1px 0 #fff!important
}
.explore-grade-grid button.active{
  background:linear-gradient(145deg,#208df8,#0f67de)!important;color:#fff!important;
  border-color:#0c5fcf!important;box-shadow:0 10px 21px rgba(20,111,229,.22),inset 0 1px 0 rgba(255,255,255,.35)!important
}

@media(max-width:980px){
  .lesson-grid,.learning-layout{grid-template-columns:minmax(0,1fr)!important}
  .lesson-outline-card{position:relative!important;top:auto!important}
  .explore-sidebar{position:relative;top:auto}
}
@media(max-width:760px){
  .subject-hero-card,.explore-hero-inner{border-radius:17px!important}
  .lesson-heading{padding:13px!important}
  .video-theater{border-radius:17px!important}
  .lesson-tabs{overflow-x:auto;scrollbar-width:none;white-space:nowrap}
  .lesson-tabs::-webkit-scrollbar{display:none}
  .explore-workspace{display:block!important}
  .explore-sidebar{margin-bottom:12px}
}
@media(max-width:520px){
  .subject-big-emoji{width:58px!important;height:58px!important;border-radius:16px!important}
  .subject-hero-stats{grid-template-columns:1fr 1fr!important}
  .lesson-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr}
  .lesson-actions .btn{width:100%}
  .explore-stage-tabs{display:flex!important;overflow-x:auto}
  .explore-stage-tabs button{min-width:145px}
}

/* Vivid learning layer 2026 */
.subject-hero-card{
  background:
    radial-gradient(circle at 86% 10%,rgba(91,196,255,.38),transparent 27%),
    radial-gradient(circle at 18% 110%,rgba(126,70,255,.25),transparent 32%),
    linear-gradient(135deg,#083a97 0%,#0877f7 58%,#0d9cf0 100%)!important
}
.subject-mini-label{
  color:#dff4ff!important;
  background:rgba(255,255,255,.13)!important;
  border:1px solid rgba(255,255,255,.22)!important;
  padding:5px 9px!important;border-radius:999px!important
}
.subject-hero-stats article:nth-child(1){background:linear-gradient(145deg,#eaf5ff,#cce6ff)!important}
.subject-hero-stats article:nth-child(2){background:linear-gradient(145deg,#e7fff7,#c8f6e6)!important}
.subject-hero-stats article:nth-child(3){background:linear-gradient(145deg,#f6edff,#e3ceff)!important}
.subject-hero-stats article:nth-child(4){background:linear-gradient(145deg,#fff8df,#ffe5a1)!important}
.subject-hero-stats strong{font-size:20px!important;color:#102458!important}
.subject-hero-stats small{font-weight:800!important;color:#51658c!important}
.stat-badge.blue{background:linear-gradient(145deg,#2c9dff,#0868e4)!important;color:#fff!important}
.stat-badge.green{background:linear-gradient(145deg,#27d5a3,#00a77a)!important;color:#fff!important}
.stat-badge.violet{background:linear-gradient(145deg,#a05cff,#7134e2)!important;color:#fff!important}
.stat-badge.amber{background:linear-gradient(145deg,#ffbc35,#f27c14)!important;color:#fff!important}

.subject-path-card{
  background:
    radial-gradient(circle at 92% 0,rgba(60,148,255,.12),transparent 29%),
    linear-gradient(145deg,#fff,#f4f9ff)!important
}
.subject-path-track>*{
  border-color:#cfe0f4!important
}
.subject-path-track>*:nth-child(4n+1){background:linear-gradient(145deg,#edf7ff,#d9ecff)!important}
.subject-path-track>*:nth-child(4n+2){background:linear-gradient(145deg,#edfff9,#d3f8ea)!important}
.subject-path-track>*:nth-child(4n+3){background:linear-gradient(145deg,#f7efff,#e8d8ff)!important}
.subject-path-track>*:nth-child(4n+4){background:linear-gradient(145deg,#fff8e6,#ffeab6)!important}

.unit-card{
  border-color:#d6e3f3!important;
  box-shadow:0 13px 28px rgba(31,73,139,.09),inset 0 1px 0 #fff!important
}
.unit-card:nth-child(4n+1):before{background:linear-gradient(90deg,#0d8dff,#00c5ff)!important}
.unit-card:nth-child(4n+2):before{background:linear-gradient(90deg,#00bf8d,#34dcb1)!important}
.unit-card:nth-child(4n+3):before{background:linear-gradient(90deg,#7a3ff2,#b05cff)!important}
.unit-card:nth-child(4n+4):before{background:linear-gradient(90deg,#ff8a18,#ffc12c)!important}

.curriculum-item{
  min-height:72px!important;
}
.curriculum-item .lesson-number,.curriculum-item .item-icon{
  width:42px!important;height:42px!important;border-radius:12px!important;
  background:linear-gradient(145deg,#eaf4ff,#d6e8ff)!important;
  color:#0b72ed!important;font-weight:900!important
}
.curriculum-item.complete .lesson-number,.curriculum-item.complete .item-icon{
  background:linear-gradient(145deg,#d9fff1,#aaf0d6)!important;color:#008b67!important
}
.curriculum-item.locked .lesson-number,.curriculum-item.locked .item-icon{
  background:linear-gradient(145deg,#f3f5f8,#e4e9f0)!important;color:#95a1b5!important
}
.curriculum-item h3,.curriculum-item strong{font-weight:900!important;color:#14285a!important}
.curriculum-item p,.curriculum-item small{color:#6c7d9e!important}

.lesson-heading{
  background:
    radial-gradient(circle at 92% 0,rgba(36,143,255,.10),transparent 32%),
    linear-gradient(145deg,#fff,#f5faff)!important
}
.lesson-context-row span:nth-child(1){background:linear-gradient(145deg,#edf6ff,#dbeeff)!important;color:#0b6ee6!important}
.lesson-context-row span:nth-child(2){background:linear-gradient(145deg,#edfff9,#d4f8eb)!important;color:#009b74!important}
.lesson-context-row span:nth-child(3){background:linear-gradient(145deg,#f8f0ff,#e8d7ff)!important;color:#7b3ee8!important}

.video-theater{
  background:
    radial-gradient(circle at 20% 0,rgba(28,120,255,.28),transparent 30%),
    radial-gradient(circle at 100% 100%,rgba(104,55,255,.20),transparent 34%),
    linear-gradient(145deg,#06183f,#092b67)!important
}
.teacher-choice:nth-child(4n+1) .teacher-mini-avatar{background:linear-gradient(145deg,#289aff,#0867df)!important}
.teacher-choice:nth-child(4n+2) .teacher-mini-avatar{background:linear-gradient(145deg,#29d6a4,#00a87c)!important}
.teacher-choice:nth-child(4n+3) .teacher-mini-avatar{background:linear-gradient(145deg,#a25cff,#7135df)!important}
.teacher-choice:nth-child(4n+4) .teacher-mini-avatar{background:linear-gradient(145deg,#ffb933,#f27d14)!important}

.lesson-tabs button:nth-child(1).active{background:linear-gradient(145deg,#2598ff,#0870eb)!important}
.lesson-tabs button:nth-child(2).active{background:linear-gradient(145deg,#2bd5a4,#00a87b)!important}
.lesson-tabs button:nth-child(3).active{background:linear-gradient(145deg,#9d5bff,#7032df)!important}
.lesson-tabs button:nth-child(4).active{background:linear-gradient(145deg,#ffb533,#f27d15)!important}

.explanation-card{
  background:
    radial-gradient(circle at 94% 0,rgba(31,137,255,.08),transparent 27%),
    linear-gradient(145deg,#fff,#f7fbff)!important
}
.resources-card{
  background:
    radial-gradient(circle at 94% 0,rgba(126,65,247,.09),transparent 27%),
    linear-gradient(145deg,#fff,#faf7ff)!important
}
.lesson-notes-card{
  background:
    radial-gradient(circle at 94% 0,rgba(255,169,34,.09),transparent 27%),
    linear-gradient(145deg,#fff,#fffaf2)!important
}
.quiz-engine,.quiz-intro-card,.quiz-result{
  background:
    radial-gradient(circle at 94% 0,rgba(0,189,137,.09),transparent 27%),
    linear-gradient(145deg,#fff,#f5fffb)!important
}
.quiz-option-v3{
  min-height:54px!important;
}
.quiz-option-v3:hover{
  border-color:#8bbef2!important;
  background:linear-gradient(145deg,#f4f9ff,#eaf4ff)!important
}
.quiz-option-v3.selected{
  border-color:#55a5f7!important;
  background:linear-gradient(145deg,#e8f5ff,#d7ebff)!important;
  box-shadow:0 9px 18px rgba(20,111,229,.13),inset 0 1px 0 #fff!important
}

.explore-hero-inner{
  background:
    radial-gradient(circle at 82% 14%,rgba(77,200,255,.36),transparent 29%),
    radial-gradient(circle at 15% 110%,rgba(128,69,255,.24),transparent 33%),
    linear-gradient(135deg,#083997,#0876f4 60%,#0d9bea)!important
}
.explore-type.active{
  background:linear-gradient(145deg,#e8f5ff,#d1e8ff)!important;border-color:#73b6f7!important
}
.explore-stage-tabs button:nth-child(1).active{background:linear-gradient(145deg,#e8f5ff,#cfe8ff)!important;color:#0b6ee4!important}
.explore-stage-tabs button:nth-child(2).active{background:linear-gradient(145deg,#edfff8,#d0f7e8)!important;color:#009a72!important}
.explore-stage-tabs button:nth-child(3).active{background:linear-gradient(145deg,#f7efff,#e4d2ff)!important;color:#793ee5!important}
.explore-subject-card:nth-child(5n+1){background:linear-gradient(145deg,#fff1f5,#ffd5e1)!important}
.explore-subject-card:nth-child(5n+2){background:linear-gradient(145deg,#edf7ff,#d6ebff)!important}
.explore-subject-card:nth-child(5n+3){background:linear-gradient(145deg,#edfff8,#d0f7e8)!important}
.explore-subject-card:nth-child(5n+4){background:linear-gradient(145deg,#fff9e7,#ffe8aa)!important}
.explore-subject-card:nth-child(5n+5){background:linear-gradient(145deg,#f7efff,#e5d3ff)!important}

@media(max-width:520px){
  .curriculum-item{min-height:66px!important}
  .curriculum-item .lesson-number,.curriculum-item .item-icon{width:38px!important;height:38px!important}
}

/* High contrast subject hero and custom images 2026 */
.subject-hero-card{
  min-height:360px!important;
  grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr)!important;
  gap:34px!important;
  padding:38px!important;
  background:
    radial-gradient(circle at 88% 14%,rgba(83,178,255,.44),transparent 27%),
    linear-gradient(135deg,#0747b8 0%,#0b74ea 58%,#19a6ee 100%)!important;
}
.subject-hero-card.has-custom-subject-image{
  background-blend-mode:normal!important;
}
.subject-hero-copy{align-self:center}
.subject-mini-label{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.42)!important;
  font-size:12px!important;
  padding:8px 13px!important;
  box-shadow:0 6px 15px rgba(0,39,110,.16),inset 0 1px 0 rgba(255,255,255,.34)!important;
  text-shadow:0 1px 2px rgba(0,34,95,.22)
}
.subject-title-row{gap:19px!important;margin:18px 0 26px!important}
.subject-big-emoji{
  width:88px!important;height:88px!important;border-radius:24px!important;
  font-size:43px!important;overflow:hidden!important;
  background:linear-gradient(145deg,#fff,#dfeeff)!important;
  box-shadow:0 18px 30px rgba(2,40,107,.28),inset 0 2px 0 #fff!important
}
.subject-big-emoji img{width:100%;height:100%;object-fit:cover;display:block}
.subject-title-row h1{
  color:#fff!important;font-size:46px!important;font-weight:900!important;
  text-shadow:0 4px 14px rgba(0,35,99,.30)!important;letter-spacing:-.02em
}
.subject-title-row p{
  color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1.85!important;
  text-shadow:0 2px 7px rgba(0,34,95,.30)!important;max-width:760px
}
.subject-progress-meta{
  color:#fff!important;font-size:13px!important;font-weight:900!important;
  text-shadow:0 2px 6px rgba(0,34,95,.25)!important
}
.subject-progress-meta strong{color:#fff!important;font-size:13px!important}
.subject-progress-track{
  height:12px!important;background:rgba(255,255,255,.28)!important;
  border:1px solid rgba(255,255,255,.26)!important;
  box-shadow:inset 0 2px 5px rgba(0,31,92,.20),0 1px 0 rgba(255,255,255,.16)!important
}
.subject-progress-track>span{
  background:linear-gradient(90deg,#45f1d2 0%,#5fe8ff 50%,#9f85ff 100%)!important;
  box-shadow:0 0 18px rgba(86,231,255,.45)!important
}
.subject-certificate-btn{
  color:#0a438f!important;background:#fff!important;
  font-size:12px!important;font-weight:900!important;padding:8px 13px!important;
}

.subject-hero-stats{gap:14px!important}
.subject-hero-stats article{
  min-height:82px!important;padding:14px 16px!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#fff,#edf5ff)!important;
  border:1px solid rgba(255,255,255,.86)!important;
  box-shadow:0 15px 28px rgba(0,43,116,.18),inset 0 2px 0 #fff!important
}
.subject-hero-stats article:nth-child(1){background:linear-gradient(145deg,#dcedff,#f5faff)!important}
.subject-hero-stats article:nth-child(2){background:linear-gradient(145deg,#d4fff1,#f2fffb)!important}
.subject-hero-stats article:nth-child(3){background:linear-gradient(145deg,#eadbff,#f9f4ff)!important}
.subject-hero-stats article:nth-child(4){background:linear-gradient(145deg,#ffe7aa,#fff8df)!important}
.subject-hero-stats strong{
  color:#102458!important;font-size:24px!important;font-weight:900!important;
  line-height:1.15!important;text-shadow:none!important
}
.subject-hero-stats small{
  color:#3e527b!important;font-size:12px!important;font-weight:900!important
}
.subject-next-stat strong{
  font-size:14px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  line-height:1.5!important
}
.stat-badge{
  width:52px!important;height:52px!important;border-radius:16px!important;
  color:#fff!important;font-size:17px!important
}
.stat-badge.blue{background:linear-gradient(145deg,#2fa0ff,#0d69df)!important}
.stat-badge.green{background:linear-gradient(145deg,#25d1a1,#06a27a)!important}
.stat-badge.violet{background:linear-gradient(145deg,#a263ff,#7436df)!important}
.stat-badge.amber{background:linear-gradient(145deg,#ffb52a,#f18412)!important}

.resume-card,.weekly-card,.explore-card{
  color:#102458!important
}
.resume-card h3,.weekly-card h3,.explore-card h3{font-size:18px!important;color:#102458!important;font-weight:900!important}
.resume-card p,.weekly-card p,.explore-card p{font-size:12px!important;color:#4e6388!important;font-weight:700!important;line-height:1.8!important}
.section-kicker{color:#186fd8!important;font-weight:900!important}
.resume-icon{
  width:54px!important;height:54px!important;border-radius:17px!important;
  background:linear-gradient(145deg,#2d9cff,#0c65dc)!important;color:#fff!important;
  box-shadow:0 11px 21px rgba(20,105,220,.22),inset 0 2px 0 rgba(255,255,255,.35)!important
}
.weekly-card .sidebar-card-head>span{font-size:28px;filter:drop-shadow(0 8px 8px rgba(123,88,0,.16))}
.weekly-progress{font-size:12px!important}.weekly-progress strong{color:#102458!important}.weekly-progress span{color:#53698e!important}
.mini-progress{height:9px!important;background:#e7edf6!important}.mini-progress span{background:linear-gradient(90deg,#20c79a,#188af1)!important}

.explorer-subject-item .emoji img{
  width:100%;height:100%;object-fit:cover;border-radius:12px;display:block
}
.explorer-subject-item.has-image .emoji{padding:0!important;overflow:hidden!important}

@media(max-width:980px){
  .subject-hero-card{grid-template-columns:1fr!important;min-height:auto!important}
  .subject-hero-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .subject-hero-card{padding:22px!important}
  .subject-title-row h1{font-size:34px!important}
  .subject-title-row p{font-size:12px!important}
  .subject-hero-stats{grid-template-columns:1fr 1fr!important}
}
@media(max-width:480px){
  .subject-hero-card{padding:17px!important}
  .subject-big-emoji{width:68px!important;height:68px!important;border-radius:19px!important}
  .subject-title-row h1{font-size:28px!important}
  .subject-title-row p{font-size:12px!important}
  .subject-hero-stats article{min-height:72px!important;padding:11px!important}
  .subject-hero-stats strong{font-size:20px!important}
  .subject-next-stat strong{font-size:12px!important}
}
.quiz-option-v3.correct,.quiz-option-v3.correct:hover{border-color:#0fa675!important;background:#e7f9f2!important;color:#075f48!important}
.quiz-option-v3.wrong,.quiz-option-v3.wrong:hover{border-color:#e75a60!important;background:#fff0f0!important;color:#a52e37!important}

.lesson-path-card{padding:21px;border:1px solid #cce6f6;border-radius:22px;background:linear-gradient(150deg,#fff,#ecf9ff);box-shadow:0 12px 28px rgba(20,92,150,.09)}
.lesson-path-card .sidebar-card-head{margin-bottom:15px}.lesson-path-steps{list-style:none;padding:0;margin:0 0 17px;display:grid;gap:10px}
.lesson-path-steps li{display:flex;align-items:center;gap:11px;color:#68809a;font-size:13px}.lesson-path-steps li>span{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:10px;background:#e9f0f8;color:#4f6b86;font-weight:900}.lesson-path-steps li.complete>span{background:#d6f8e9;color:#087f5d}.lesson-path-steps li.complete strong{color:#154d42}.lesson-path-steps li.pending:first-of-type strong{color:#17509b}
.lesson-path-card .btn{white-space:normal;min-height:45px;line-height:1.5}

.linked-lesson-quizzes{margin-bottom:18px;padding:18px;border:1px solid #d9e8f8;border-radius:20px;background:#f8fcff}.linked-lesson-quizzes h3{margin:0 0 12px;font-size:16px;color:#174b76}.linked-lesson-quizzes h3 i{color:#097bb3;margin-left:5px}.linked-quiz-item{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:12px;border:1px solid #b7dfce;border-radius:12px;background:#ecfff5;color:#12614b;text-decoration:none;font-weight:800}.linked-quiz-item small{display:block;font-size:12px;color:#4e7168}.linked-quiz-item.is-locked{border-color:#dce6ef;background:#f0f4f8;color:#687d90}.linked-quiz-item.is-locked small{color:#8493a2}

/* Professional learning additions */
.lesson-rating-card{padding:20px;border:1px solid #dce6f4;border-radius:22px;background:linear-gradient(145deg,#fff,#f7faff);box-shadow:0 12px 28px rgba(15,49,96,.07)}
.lesson-rating-actions{display:grid;gap:9px;margin:14px 0 10px}
.lesson-rating-actions button{border:1px solid #d9e3f1;background:#fff;color:#29415f;border-radius:13px;padding:11px 12px;font:inherit;font-size:12px;font-weight:800;text-align:right;cursor:pointer;transition:.18s ease}
.lesson-rating-actions button:hover{border-color:#73aaf2;transform:translateY(-1px)}
.lesson-rating-actions button.active{border-color:#2878e8;background:#eaf3ff;color:#145bbd;box-shadow:0 7px 18px rgba(31,111,222,.12)}
.lesson-rating-card>small{display:block;color:#71839a;font-size:11px;line-height:1.6}
.answer-explanation{display:block;margin-top:7px;padding:8px 10px;border-radius:10px;background:#fff7df;color:#76510b;font-weight:700;line-height:1.7}
.quiz-review-explanation{margin:9px 0 0;padding:10px 12px;border-radius:12px;background:#f0f7ff;color:#315578;font-size:12px;line-height:1.8}

/* Rich lesson article content */
.rich-content{font-size:16px;line-height:2;color:#18324a}.rich-content h2{font-size:28px;line-height:1.5;color:#102f4c;margin:30px 0 12px}.rich-content h3{font-size:22px;line-height:1.6;color:#164870;margin:25px 0 10px}.rich-content h4{font-size:18px;color:#24577e;margin:20px 0 8px}.rich-content p{margin:10px 0 16px}.rich-content ul,.rich-content ol{padding-right:28px;margin:14px 0 20px}.rich-content li{margin:6px 0}.rich-content blockquote{margin:22px 0;padding:17px 20px;border-right:5px solid #3b82f6;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#f8fbff);color:#244766}.rich-content hr{border:0;border-top:2px solid #e2e8f0;margin:30px 0}.rich-content a{color:#1d4ed8;text-decoration:underline;font-weight:700}.rich-content .rte-inline-image{position:relative;margin:28px auto;padding:9px;background:#f8fafc;border:1px solid #dce5ee;border-radius:20px;text-align:center;box-shadow:0 12px 32px rgba(15,23,42,.08)}.rich-content .rte-inline-image img{display:block;width:100%;max-height:620px;object-fit:contain;border-radius:14px;background:#fff}.rich-content .rte-inline-image.rte-image-wide{width:min(100%,980px)}.rich-content .rte-inline-image.rte-image-medium{width:min(72%,680px)}.rich-content .rte-inline-image.rte-image-small{width:min(46%,430px)}.rich-content .rte-inline-image figcaption{padding:10px 8px 3px;color:#64748b;font-size:12px;font-weight:700}.rich-content font{line-height:inherit}@media(max-width:700px){.rich-content{font-size:15px}.rich-content h2{font-size:23px}.rich-content h3{font-size:19px}.rich-content .rte-inline-image.rte-image-medium,.rich-content .rte-inline-image.rte-image-small{width:100%}}
