.studentShell{max-width:1120px;margin:0 auto;padding:0 36px}.studentHeader{height:100px;display:flex;align-items:center;justify-content:space-between}.studentLogin{max-width:560px;margin:70px auto;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:35px}.studentLogin h1{font-size:27px}.studentLogin>p{font-size:12px;color:var(--muted);line-height:1.9}.studentLogin form{padding:20px 0}.studentLogin input{font-size:13px;letter-spacing:1px}.accountLogin{font-size:11px;color:var(--accent);text-underline-offset:4px}.studentHero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:40px 0 25px}.studentHero h1{font-size:30px}.studentHero p{font-size:12px;color:var(--muted);line-height:1.9}.studentTabs{display:flex;gap:8px;margin:30px 0;flex-wrap:wrap}.studentTabs button{width:auto;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:11px 18px;margin:0;font-size:12px}.studentTabs button.active{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.studentCategory{display:flex;justify-content:space-between;align-items:center;margin:25px 0 20px}.studentCategory h2{font-size:19px}.studentCategory>span{font-size:10px;letter-spacing:2px;color:var(--muted)}.studentLessonGrid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.lessonCard{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;min-width:0}.lessonBanner{padding:25px;background:var(--accent-soft);border-bottom:1px solid var(--line)}.lessonBanner>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.lessonBanner h3{font-size:19px;line-height:1.6;margin:16px 0 10px;letter-spacing:-.7px}.lessonBanner p{font-size:11px;color:var(--text);margin:0}.playBadge{width:34px;height:34px;border-radius:50%;background:var(--surface);display:grid;place-items:center;color:var(--accent);font-size:14px}.lessonBody{padding:24px}.lessonDescription{font-size:12px;line-height:1.9;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.watchVideo{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:var(--accent);color:var(--accent-text);text-decoration:none;border-radius:7px;font-size:12px;margin:18px 0}.watchVideo:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.lessonBody form{padding:0}.learningChecks{padding:14px 16px;background:var(--soft);border-radius:8px;margin:15px 0}.learningChecks label{display:flex;align-items:start;gap:10px;line-height:1.8;font-size:11px;margin:9px 0}.learningChecks input{width:16px;height:16px;display:inline-block;margin:3px 0 0;flex-shrink:0}.lessonActions{display:flex;gap:8px}.lessonActions button{flex:1;font-size:11px;padding:12px 8px}.lessonActions .primary{width:auto}.lessonResult{font-size:12px;line-height:1.9;padding:14px 16px;background:var(--soft);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.lessonResult b{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}.teacherFeedback{font-size:12px;line-height:1.9;border-left:3px solid var(--accent);padding:10px 14px;background:var(--accent-soft);white-space:pre-wrap}.lessonTime{font-size:10px;color:var(--muted);line-height:1.8}.learningNote{font-size:10px;line-height:1.9;color:var(--muted);margin:25px 0}.studentFooter{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:9px;letter-spacing:1px;color:var(--muted);padding:35px 0}.studentLoading{padding:80px 20px;text-align:center;color:var(--muted)}#studentMessage{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);background:var(--ink);color:var(--bg);padding:14px 22px;border-radius:8px;font-size:12px;line-height:1.8;z-index:20;display:none}.studentLogin #loginForm{padding:15px 0}.studentEmpty{padding:50px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:14px;grid-column:1/-1;color:var(--muted);font-size:13px;line-height:2}@media(max-width:700px){.studentShell{padding:0 18px}.studentHeader{flex-direction:row;height:90px;min-height:0;gap:12px}.studentHeader .brandName{font-size:19px}.studentHeader .brandSubtitle{font-size:8px}.studentHeader .headerTools{gap:6px}.studentHeader .outline{padding:8px;font-size:9px}.studentHero{margin:30px 0 20px}.studentHero h1{font-size:23px}.studentHero p{font-size:10px}.studentHero>.outline{font-size:10px;white-space:nowrap;padding:9px}.studentLessonGrid{grid-template-columns:1fr}.studentLogin{padding:25px 22px;margin:35px auto}.studentLogin h1{font-size:24px;line-height:1.5}.studentCategory h2{font-size:17px}.studentCategory>span{font-size:8px}.lessonBanner,.lessonBody{padding:20px}.lessonBanner h3{font-size:18px}.studentPage .metricgrid>div{padding:16px 12px}.studentPage .metricgrid b{font-size:26px}.studentPage .metricgrid span{font-size:9px}}@media(max-width:360px){.studentHeader .brandName{font-size:17px}.studentHeader .logo{width:27px}.studentHeader .headerTools{flex-wrap:wrap;justify-content:flex-end}.studentTabs button{padding:9px 11px;font-size:11px}}
.accountSignIn{display:block;text-decoration:none;text-align:center;margin:25px 0 18px;padding:15px 18px;line-height:1.7;font-size:13px}.studentLogin .accountLogin{display:inline-block;margin-top:18px}.studentLogin .accountLogin[hidden],.studentLogin .accountSignIn[hidden]{display:none}.studentLogin h1{line-height:1.5}
.parentChildSelect{max-width:360px;margin:20px 0}.parentSection{margin-top:32px}.parentReport{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:25px;margin:18px 0}.parentReport h3{font-size:18px;margin:14px 0 8px}.parentReport details{margin-top:20px}.parentReport summary{font-size:12px;color:var(--accent);cursor:pointer}.parentFeedback{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:2;color:var(--text);margin:16px 0;background:var(--soft);padding:20px;border-radius:8px}.parentReport>.tiny{margin-bottom:0}.parentPage #parentLogout{text-decoration:none}.parentPage .record{background:var(--surface)}.parentPage .recordhead{flex-wrap:wrap}.parentPage .barrow>b{font-size:12px}.parentPage #parentMessage[hidden]{display:none}@media(max-width:650px){.parentReport{padding:18px}.parentFeedback{padding:16px;font-size:11px}.parentReport h3{font-size:17px}.parentPage .studentCategory>span{font-size:8px;letter-spacing:1px}.parentPage .record{padding:18px}}

.portalPasswordField{position:relative;display:flex;align-items:center}.portalPasswordField input{padding-right:60px;min-width:0;letter-spacing:3px}.portalPasswordField button{position:absolute;right:12px;font-size:11px;padding:6px;white-space:nowrap}.portalInitialPin,.portalSetupNote{font-size:12px;line-height:1.9;padding:14px 16px;background:var(--accent-soft);border-radius:9px;margin:15px 0 20px}.portalInitialPin b{font-size:16px;letter-spacing:2px;color:var(--accent)}.portalLoginGuide{margin:22px 0 0;line-height:1.9}.portalPhoneHint{margin-top:-8px}.studentLogin form[hidden]{display:none}.studentLogin [role=status]{font-size:12px;line-height:1.8;color:var(--accent);overflow-wrap:anywhere}.studentLogin form>.textbutton{margin-top:14px}.portalSetupNote{margin-top:0}.portalLoginGuide+.accountLogin{font-size:12px}

.portalNotices{margin:28px 0}.portalNotice{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:16px 20px;margin:10px 0}.portalNotice summary{cursor:pointer;overflow-wrap:anywhere}.portalNotice summary>b{font-size:13px}.portalNotice summary>span{display:block;font-size:10px;color:var(--muted);margin:8px 0 0}.noticeText{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9}.portalNotice .noticeText{padding-top:14px;border-top:1px solid var(--line)}

.studentHeader .finalBrand{height:auto;min-height:0;align-self:center}.studentHeader .finalBrandLogo{height:auto;max-height:none;object-fit:contain}@media(max-width:700px){.studentHeader{height:auto;min-height:90px;padding:12px 0;flex-wrap:wrap;align-content:center;row-gap:10px}.studentHeader .finalBrand{flex:0 1 min(220px,70vw);max-width:min(220px,70vw)}.studentHeader .headerTools{flex:1 0 100%;display:flex;flex-wrap:wrap;justify-content:flex-end;min-width:0}}

/* Authenticated portal navigation and communication. */
.studentPage [hidden]{display:none!important}
.studentPage .metricgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.studentPage .portalUnreadBadge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;min-height:20px;padding:2px 6px;border-radius:99px;background:var(--accent);color:var(--accent-text);font-size:10px;line-height:1.2;letter-spacing:0;font-style:normal;flex-shrink:0}
.studentPage .active>.portalUnreadBadge{background:var(--surface);color:var(--text)}
.studentPage .portalNoticeBanner{grid-column:1/-1;grid-area:auto;margin:16px 0 0;width:100%;order:-10}
.studentPage .noticeBannerButton{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:16px 20px;border:1px solid var(--accent);border-radius:12px;background:var(--accent-soft);color:var(--text);text-align:left;line-height:1.7}
.noticeBannerLabel{color:var(--accent);font-size:11px;white-space:nowrap;font-weight:700}
.noticeBannerButton strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.noticeBannerMore{font-size:11px;white-space:nowrap;color:var(--text)}
.noticeUnread{display:inline-block;margin-left:12px;padding:2px 6px;border-radius:4px;background:var(--accent-soft);color:var(--text);font-style:normal;font-size:10px}
.portalNotice summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.portalNotice{scroll-margin-top:20px}
.studentPage .headerTools .portalHeaderTerms{display:flex;gap:10px;align-items:center;flex-wrap:wrap;position:relative;margin:0;padding:0;border:0;background:transparent;max-width:360px;flex:0 1 auto;color:var(--text)}
.studentPage .portalHeaderTerms .portalTermCurrent{display:block;flex:1;min-width:140px}
.studentPage .portalHeaderTerms .portalTermCurrent label{display:flex;align-items:center;gap:8px;min-width:0;max-width:none;margin:0;font-size:10px;white-space:nowrap}
.studentPage .portalHeaderTerms select{width:auto;max-width:220px;min-width:140px;margin:0;padding:8px 26px 8px 10px;font-size:11px;background:var(--surface);color:var(--text);border:1px solid var(--line)}
.studentPage .portalHeaderTerms .portalTermArchive{margin:0;position:relative}
.studentPage .portalHeaderTerms .portalTermArchive summary{font-size:10px;white-space:nowrap;color:var(--text)}
.studentPage .portalHeaderTerms .portalTermArchive>div{position:absolute;right:0;top:18px;z-index:30;min-width:240px;max-height:50vh;overflow:auto;display:flex;flex-direction:column;gap:7px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 24px #0002}
.studentPage .portalHeaderTerms .portalTermArchive button{width:100%;padding:10px;color:var(--text)}
.portalTermReadonly{font-size:9px;color:var(--muted);flex-basis:100%;text-align:right}
.studentPage .headerTools{gap:10px;align-items:center}
.missionHistory,.missionExplanation,.legacyClasswork{margin:18px 0;color:var(--text)}
.missionHistory summary,.missionExplanation summary,.legacyClasswork summary{font-size:12px;cursor:pointer;line-height:1.8}
.missionHistory ol{padding-left:20px;font-size:12px;line-height:1.8}
.missionHistory li{padding:10px 0;border-bottom:1px solid var(--line)}
.missionHistory time{display:block;font-size:10px;color:var(--muted)}
.missionHistory p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.portalInquiries{min-width:0;margin:20px 0}
.inquiryConversation{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.studentPage .inquiryOlder{display:block;width:calc(100% - 32px);margin:14px 16px;font-size:11px}
.inquiryMessages{height:min(460px,55vh);min-height:260px;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px;overscroll-behavior:contain;scrollbar-gutter:stable;color:var(--text)}
.inquiryMessage{max-width:86%;min-width:110px;align-self:flex-start;padding:13px 16px;border-radius:12px;background:var(--soft);border:1px solid var(--line);flex-shrink:0}
.inquiryMessage.fromLearner{align-self:flex-end;background:var(--accent-soft)}
.inquiryMessage>b{font-size:11px;color:var(--text)}
.inquiryMessage p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
.inquiryMessage time{font-size:10px;color:var(--muted)}
.inquiryEmpty{margin:auto;text-align:center;font-size:13px;line-height:2;color:var(--muted)}
.studentPage .inquiryComposer{padding:20px;border-top:1px solid var(--line)}
.inquiryComposer textarea{resize:vertical;min-height:85px;color:var(--text);background:var(--surface)}
.inquiryComposer button{width:auto;min-width:130px;display:block;margin-left:auto}
.inquiryComposer [role=status]{margin-bottom:0;overflow-wrap:anywhere}
@media(max-width:700px){.studentPage .headerTools .portalHeaderTerms{max-width:none;flex:1 1 auto;justify-content:flex-start}.studentPage .portalHeaderTerms .portalTermCurrent{flex:0 1 auto}.studentPage .portalHeaderTerms select{max-width:190px}.studentPage .portalHeaderTerms .portalTermArchive>div{right:auto;left:0}.portalTermReadonly{text-align:left}.studentPage .noticeBannerButton{gap:8px;padding:12px 14px;flex-wrap:wrap}.noticeBannerButton strong{flex-basis:calc(100% - 60px)}.noticeBannerMore{margin-left:auto}.inquiryMessages{padding:14px}.inquiryMessage{max-width:92%}.studentPage .inquiryComposer{padding:16px}}
@media(max-width:430px){.studentPage .headerTools .portalHeaderTerms{flex-basis:100%}.studentPage .portalHeaderTerms .portalTermCurrent{flex:1}.studentPage .portalHeaderTerms .portalTermCurrent label{justify-content:flex-end}.studentPage .portalHeaderTerms .portalTermArchive>div{right:0;left:auto}.portalTermReadonly{text-align:right}}
