body.student-mode{background:#f6f7ef}
body.student-mode main{max-width:1180px}
body.student-mode main>:not(.studentPortal){display:none!important}
body.student-mode.student-workspace main>.view:not(.hidden){display:block!important}
body.student-mode.student-workspace #school>.sectionhead,
body.student-mode.student-workspace #school>section,
body.student-mode.student-workspace #school>.notice,
body.student-mode.student-workspace #school>nav,
body.student-mode.student-workspace #school>hr,
body.student-mode.student-workspace #school #schoolReadingHelp,
body.student-mode.student-workspace #scCatalog>article,
body.student-mode.student-workspace #exams #examModels,
body.student-mode.student-workspace #exams #examSubject,
body.student-mode.student-workspace #exams #examModel,
body.student-mode.student-workspace #exams label:has(#examSubject),
body.student-mode.student-workspace #exams label:has(#examModel),
body.student-mode.student-workspace #exams label[for="examSubject"],
body.student-mode.student-workspace #exams label[for="examModel"],
body.student-mode.student-workspace #exams>.notice,
body.student-mode.student-workspace #exams>.sectionhead,
body.student-mode.student-workspace #exams>.card:has(#examSubject),
body.student-mode.student-workspace #backCatalog,
body.student-mode.student-workspace #g11WorkshopGrade,
body.student-mode.student-workspace #g11WorkshopBack{display:none!important}
.studentPortal{margin:24px 0}
.studentHeading{padding:26px 0 20px}.studentHeading h1{font-size:clamp(28px,4vw,42px);margin:12px 0;line-height:1.5;color:#153f38}.studentHeading p{color:#536860;font-size:18px;line-height:1.9}
.studentForm{max-width:550px;padding:28px;display:grid;gap:18px}.studentForm h2{margin:0}.studentForm label{display:grid;gap:8px;font-weight:700}.studentForm input,.studentForm select{min-height:54px;width:100%;font-size:19px}.studentForm button{min-height:54px;font-size:19px}.studentPrivacy{max-width:700px;font-size:14px;color:#596860;line-height:1.9;margin-top:22px}
.studentSaved{padding:18px 0}.studentSaved button{margin:6px}.studentBooks{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:18px;margin-top:28px}.studentBook{display:flex;flex-direction:column;gap:12px;margin:0}.studentBook h2{font-size:22px;line-height:1.6;margin:0}.studentBook p{flex:1;line-height:1.8}.studentBook button{align-self:flex-start}
.studentSteps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.studentSteps button{margin:0;min-height:58px}.studentSteps button:disabled{opacity:.5;cursor:not-allowed}.studentStage{max-width:940px;padding:28px}.studentStage p,.studentStage li{line-height:2}.studentStage details{margin:18px 0;padding:14px;background:#f5f7f1;border-radius:12px}.studentStage summary{cursor:pointer;font-weight:700}.studentStage>button{margin:10px 0 10px 10px}
.studentSteps button[aria-current="step"]{background:#153f38;color:white;border:2px solid #153f38}
.studentUnitPicker{border:1px solid #c9d8c7;border-radius:14px;margin:20px 0;padding:20px;min-width:0}.studentUnitPicker legend{font-size:21px;font-weight:700;padding:0 8px}.studentUnitChoices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:18px 0}.studentUnitChoice{display:flex;align-items:flex-start;gap:12px;background:#f5f7f1;padding:14px;border-radius:10px;cursor:pointer;line-height:1.8}.studentUnitChoice input{width:22px;min-width:22px;height:22px;margin-top:4px;accent-color:#153f38}.studentContact{border:1px solid #d7e1d2;border-radius:12px;padding:15px;margin:20px 0;max-width:650px}.studentContact summary{cursor:pointer;font-weight:700}.studentContact label{display:grid;gap:8px;margin-top:16px}#studentShareResult label{display:grid;gap:10px;margin:18px 0}#studentResultPreview{width:100%;font-size:17px;line-height:1.9;resize:vertical}.studentWhatsappLink{display:inline-block;background:#153f38;color:#fff;padding:14px 22px;border-radius:10px;text-decoration:none;font-weight:bold}.studentScopeLine{font-size:15px;color:#385147;line-height:1.8}
#studentWorkspaceHeader{background:#e5eee5;border:1px solid #cbdccb;border-radius:18px;padding:20px;margin:20px 0}#studentWorkspaceHeader h2{font-size:23px;line-height:1.6;margin:10px 0}#studentWorkspaceHeader .row{gap:12px}#studentWorkspaceHeader p{line-height:1.8;margin-bottom:0}
body.student-mode #school{background:transparent;border:none;padding:0}body.student-mode .hidden{display:none!important}
@media(max-width:600px){.studentSteps{grid-template-columns:repeat(2,1fr)}.studentForm,.studentStage{padding:20px}.studentBooks{grid-template-columns:1fr}.studentPortal{margin-top:8px}.studentHeading{padding:16px 0 10px}.studentHeading p{font-size:16px}#studentWorkspaceHeader{padding:16px}}
.feedbackEntry{max-width:1180px;margin:12px auto;padding:0 22px;text-align:left}.feedbackEntry button{font-size:15px;padding:10px 16px}.feedbackDialog{width:min(680px,94vw);max-height:90vh;overflow:auto;border:1px solid #c9d8c7;border-radius:20px;padding:26px;color:#153f38;background:#fff}.feedbackDialog::backdrop{background:rgba(12,35,30,.55)}.feedbackDialogHead{justify-content:space-between;align-items:center;gap:12px}.feedbackDialogHead h2{font-size:24px;margin:0}.feedbackDialog p{line-height:1.9}.feedbackDialog form{display:grid;gap:15px}.feedbackDialog label{display:grid;gap:8px;font-weight:700}.feedbackDialog input,.feedbackDialog select,.feedbackDialog textarea{width:100%;font-size:17px}.feedbackDialog button:disabled{opacity:.55;cursor:not-allowed}.feedbackDialog #feedbackStatus{font-weight:700}.feedbackDialog #feedbackReceiverStatus{font-weight:400}.feedbackDialog form p{margin:0}.exam-mode .feedbackEntry{display:block!important}.feedbackDialog input:focus,.feedbackDialog textarea:focus{outline:2px solid #557f64;outline-offset:2px}
@media(max-width:600px){.feedbackDialog{padding:18px}.feedbackDialogHead h2{font-size:21px}.feedbackEntry{padding:0 16px}.feedbackEntry button{width:100%}}
/* Expanded lesson journey: readable RTL on phones and large screens. */
.journeySection{margin-block:20px;padding:clamp(16px,3vw,28px)}.journeySection p,.journeySection li{line-height:1.95;overflow-wrap:anywhere}.journeySection textarea{display:block;width:100%;min-height:120px;font:inherit;margin-block:10px}.journeyQuestion{min-width:0;border:1px solid #b6cbbd;border-radius:12px;padding:16px;margin:20px 0}.journeyQuestion legend{padding:0 8px;font-weight:700}.journeyQuestion .choice{display:flex;align-items:flex-start;gap:10px;padding:9px;cursor:pointer}.journeyQuestion input[type=radio]{flex:0 0 auto;width:20px;height:20px;margin-top:6px}.journeyQuestion input[type=text]{max-width:100%;font:inherit;padding:8px}.journeySection summary{cursor:pointer;padding:10px 0}.journeyCorrect{border-inline-start:4px solid #33745e;padding-inline:12px}.journeyWrong{border-inline-start:4px solid #af5a33;padding-inline:12px}.journeySection button{margin:5px}.journeySection a{display:inline-block;margin-block:10px}

/* Welcome video stays visible before the student portal. */
.welcomeVideo{max-width:1000px;margin:12px auto 24px;padding:24px;background:#fff;border:1px solid #dce6dc;border-radius:20px;box-sizing:border-box}.welcomeVideo h1{font-size:clamp(1.4rem,4vw,2rem);margin:8px 0}.welcomeVideo p{line-height:1.8}.welcomeVideoPlayer{position:relative;width:100%;aspect-ratio:16/9;margin-top:18px;overflow:hidden;border-radius:12px;background:#152b26}.welcomeVideoPlayer iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.welcomeVideoFallback{font-size:.9rem;margin-bottom:0}@media(max-width:640px){.welcomeVideo{margin:10px 12px 20px;padding:16px}}

.welcomeVideoPlayer{aspect-ratio:auto;display:flex;justify-content:center;background:#152b26}.welcomeVideoPlayer video{display:block;width:100%;max-height:70vh;object-fit:contain;background:#152b26}
