:is(html[data-theme=dark] body:has(.sidebar a.active[href=\/attendance]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/sessions]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/homework]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/assessments]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/reports]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/resources]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/parent-updates]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/chat]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/payroll]) .portal-main .page-header,html[data-theme=dark] body:has(.sidebar a.active[href=\/settings]) .portal-main .page-header){border-color:var(--border-subtle)!important;border-left-color:var(--brand-blue-600)!important;box-shadow:var(--shadow-card)!important;background:radial-gradient(circle at 88% 0,#3570cc2e,#0000 20rem),linear-gradient(#102238,#0d1c2e)!important}:is(html[data-theme=dark] body:has(.sidebar a.active[href=\/attendance]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/sessions]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/homework]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/assessments]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/reports]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/resources]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/parent-updates]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/chat]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/payroll]) .portal-main .page-header h1,html[data-theme=dark] body:has(.sidebar a.active[href=\/settings]) .portal-main .page-header h1){color:var(--text-primary)!important}:is(html[data-theme=dark] body:has(.sidebar a.active[href=\/attendance]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/sessions]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/homework]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/assessments]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/reports]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/resources]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/parent-updates]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/chat]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/payroll]) .portal-main .page-header>div>p:last-child,html[data-theme=dark] body:has(.sidebar a.active[href=\/settings]) .portal-main .page-header>div>p:last-child){color:var(--text-secondary)!important}@media (max-width:800px){html[data-theme=dark] .portal-shell>header{border-bottom-color:var(--border-subtle)!important;background:#081525f5!important;box-shadow:0 5px 18px #0003!important}html[data-theme=dark] .portal-shell>header strong{color:var(--text-primary)!important}html[data-theme=dark] .portal-shell>header span{color:var(--text-secondary)!important}html[data-theme=dark] .portal-shell>header button{color:#b9c9dc!important}html[data-theme=dark] .portal-shell>header button:hover{background:#2a4b6f6b!important}html[data-theme=dark] .portal-shell>nav[aria-label]{border-top-color:var(--border-subtle)!important;background:#081525f7!important;box-shadow:0 -8px 26px #0000003d!important}html[data-theme=dark] .portal-shell>nav[aria-label]>a,html[data-theme=dark] .portal-shell>nav[aria-label]>button{color:var(--text-secondary)!important}html[data-theme=dark] .portal-shell>nav[aria-label]>a:hover,html[data-theme=dark] .portal-shell>nav[aria-label]>button:hover,html[data-theme=dark] .portal-shell>nav[aria-label]>a[class]:not([class=""]),html[data-theme=dark] .portal-shell>nav[aria-label]>button[class]:not([class=""]){background:var(--surface-tint-blue)!important;color:#9fc1ff!important}html[data-theme=dark] .portal-shell>nav[aria-label] b{box-shadow:0 0 0 2px #081525!important}}
html[data-theme=dark] main[data-dark-surface=activate-teacher]{color:var(--text-primary);background:radial-gradient(circle at 20% 10%,#2e6fce24 0,#0000 34%),linear-gradient(145deg,#091829,#071321)!important}html[data-theme=dark] main[data-dark-surface=activate-teacher]>div>div:first-child{color:var(--text-primary)!important}html[data-theme=dark] main[data-dark-surface=activate-teacher]>div>div:first-child span{color:var(--text-secondary)!important}html[data-theme=dark] main[data-dark-surface=account-pending]{color:var(--text-primary);background:radial-gradient(circle at 20% 10%, #2e6fce21 0, transparent 35%), var(--surface-page)!important}html[data-theme=dark] [data-dark-surface=academy]>main{color:var(--text-primary);background:radial-gradient(circle at 8% 0, #2e6fce1c, transparent 27%), radial-gradient(circle at 92% 8%, #c6922d14, transparent 22%), var(--surface-page)!important}html[data-theme=dark] [data-dark-surface=academy]>main>header{border-bottom-color:var(--border-subtle)!important;background:#081525f0!important}html[data-theme=dark] [data-dark-surface=academy]>main>header a[href=\#top]{color:var(--text-primary)!important}html[data-theme=dark] [data-dark-surface=academy]>main>header a[href=\#top] small{color:var(--text-secondary)!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start){border-color:var(--border-subtle)!important;box-shadow:var(--shadow-card)!important;background:#102033fa!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start) h1,html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start) h2{color:var(--text-primary)!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start) p{color:var(--text-secondary)!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start)>div>span:first-child{color:#e2bd6d!important;background:#c6922d1f!important;border-color:#e2bd6d47!important}html[data-theme=dark] [data-dark-surface=academy] #top a[target=_blank]{color:#b9cff0!important;background:#18304b!important;border-color:#2b496b!important}html[data-theme=dark] [data-dark-surface=academy] #top a[target=_blank]:hover{background:#203e61!important;border-color:#3a5d83!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start)>div:has(>img){background:var(--surface-subtle)!important;box-shadow:var(--shadow-card)!important;border-color:#35506f!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>section:not(#start) div[aria-label]>span{color:#b9c9dc!important;background:var(--surface-subtle)!important;border-color:var(--border-subtle)!important}html[data-theme=dark] [data-dark-surface=academy] #start form{border:1px solid var(--border-subtle);background:var(--surface-card)!important;box-shadow:var(--shadow-card)!important}html[data-theme=dark] [data-dark-surface=academy] #start form label,html[data-theme=dark] [data-dark-surface=academy] #start form>label{color:var(--text-secondary)!important}html[data-theme=dark] [data-dark-surface=academy] #start input,html[data-theme=dark] [data-dark-surface=academy] #start select,html[data-theme=dark] [data-dark-surface=academy] #start textarea{color:var(--text-primary)!important;background:var(--surface-raised)!important;border-color:var(--border-subtle)!important}html[data-theme=dark] [data-dark-surface=academy] #start input:hover,html[data-theme=dark] [data-dark-surface=academy] #start select:hover,html[data-theme=dark] [data-dark-surface=academy] #start textarea:hover{border-color:var(--border-strong)!important}html[data-theme=dark] [data-dark-surface=academy] #start input:focus,html[data-theme=dark] [data-dark-surface=academy] #start select:focus,html[data-theme=dark] [data-dark-surface=academy] #start textarea:focus{border-color:var(--border-focus)!important;box-shadow:0 0 0 4px #487ede29!important}html[data-theme=dark] [data-dark-surface=academy] #start [role=alert]{color:var(--semantic-danger-700)!important;background:var(--semantic-danger-50)!important;border-color:#6c3342!important}html[data-theme=dark] [data-dark-surface=academy] #start [role=status]{color:var(--semantic-success-700)!important;background:var(--semantic-success-50)!important;border-color:#285b4c!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>footer{color:var(--text-secondary)!important;border-top-color:var(--border-subtle)!important}html[data-theme=dark] [data-dark-surface=academy]>main>div>footer strong{color:var(--text-primary)!important}html[data-theme=dark] [data-dark-surface=academy]>main>nav{border-top-color:var(--border-subtle)!important;background:#102033f7!important;box-shadow:0 -8px 24px #00000047!important}html[data-theme=dark] [data-dark-surface=academy]>main>nav a:last-child{color:#b9cff0!important;background:var(--surface-subtle)!important;border-color:var(--border-subtle)!important}html[data-theme=dark] [data-dark-surface=academy] a:focus-visible,html[data-theme=dark] [data-dark-surface=academy] button:focus-visible{outline-offset:3px;outline:3px solid #7da8f28c}
