/* Student-site dark mode. Switched with the moon/sun button next to the bell (remembered per browser).
 * The colour variables below handle most of the site; the generated rules after them re-colour surfaces and text that were hard-coded light. */
html[data-umode="dark"]:root:root{--bg:#0F0B24;--page:#0B0820;--card:#1A1540;--line:#2E2760;--tint:#241E55;--ink:#ECE8FF;--ink-soft:#A9A2D6;--soft:#A9A2D6;--shadow:0 10px 30px -12px rgba(0,0,0,.65);color-scheme:dark}
html[data-umode="dark"] body{background:#0B0820;color:var(--ink)}
html[data-umode="dark"] input,html[data-umode="dark"] select,html[data-umode="dark"] textarea{background:#120D2E;color:var(--ink);border-color:var(--line)}
html[data-umode="dark"] input::placeholder,html[data-umode="dark"] textarea::placeholder{color:#7F78B0}
html[data-umode="dark"] .toast{color:#fff}
html[data-umode="dark"] img{opacity:.92}
/* ---- generated ---- */
html[data-umode="dark"] .btn-line{background:#1A1540!important}
html[data-umode="dark"] .feat{background:#1A1540!important}
html[data-umode="dark"] .c1{background:#12304F!important}
html[data-umode="dark"] .c2{background:#3F1626!important}
html[data-umode="dark"] .c3{background:#3F3210!important}
html[data-umode="dark"] .c4{background:#0F3A31!important}
html[data-umode="dark"] .input input{background:#1A1540!important}
html[data-umode="dark"] .errors{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .badge-on{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .badge-off{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .stat{background:#1A1540!important}
html[data-umode="dark"] .badge-wait{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .pick{background:#1A1540!important}
html[data-umode="dark"] .opt{background:#1A1540!important}
html[data-umode="dark"] .let{background:#12304F!important}
html[data-umode="dark"] .oB .let{background:#3F1626!important}
html[data-umode="dark"] .oC .let{background:#3F3210!important}
html[data-umode="dark"] .oD .let{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .exam-nav{background:#1A1540!important}
html[data-umode="dark"] .sheet-box{background:#1A1540!important}
html[data-umode="dark"] body:not(.desk) .ex-palette{background:#1A1540!important}
html[data-umode="dark"] .dot{background:#1A1540!important}
html[data-umode="dark"] .ring span{background:#1A1540!important}
html[data-umode="dark"] .chip{background:#1A1540!important}
html[data-umode="dark"] .rev{background:#1A1540!important}
html[data-umode="dark"] .tag-right{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .tag-wrong{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .tag-skip{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .ro.is-correct{background:#0F3A31!important}
html[data-umode="dark"] .ro.is-wrong{background:#3F1626!important}
html[data-umode="dark"] input.input{background:#1A1540!important}
html[data-umode="dark"] select.input{background:#1A1540!important}
html[data-umode="dark"] textarea.input{background:#1A1540!important}
html[data-umode="dark"] .opt.is-right{background:#0F3A31!important}
html[data-umode="dark"] .opt.is-wrong{background:#3F1626!important}
html[data-umode="dark"] .fb{background:#1A1540!important}
html[data-umode="dark"] .bm-btn{background:#1A1540!important}
html[data-umode="dark"] .exam-card{background:#1A1540!important}
html[data-umode="dark"] .ec-body{background:#1A1540!important}
html[data-umode="dark"] .ic-grid span{background:#1A1540!important}
html[data-umode="dark"] .menu-tile.c-out{background:#1A1540!important}
html[data-umode="dark"] .badge-mute{background:#241E55!important}
html[data-umode="dark"] .tk-msg{background:#1A1540!important}
html[data-umode="dark"] .tk-msg.note{background:#3F3210!important}
html[data-umode="dark"] .dcard{background:#1A1540!important}
html[data-umode="dark"] .pill-on{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .pill-off{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .dstats>div{background:#1A1540!important}
html[data-umode="dark"] .ds1{background:#12304F!important}
html[data-umode="dark"] .ds2{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .ds3{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .xrow{background:#1A1540!important}
html[data-umode="dark"] .xr-best{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .xr-lock{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .sp-on{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .sp-off{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .more-box{background:#1A1540!important}
html[data-umode="dark"] .more-list a.out .ml-ic{background:#3F1626!important}
html[data-umode="dark"] .install-note{background:#3F3210!important}
html[data-umode="dark"] .gr-share .input{background:#12304F!important}
html[data-umode="dark"] .gr-share input{background:#12304F!important}
html[data-umode="dark"] .gr-plan-body{background:#1A1540!important}
html[data-umode="dark"] .gr-plan input:checked + .gr-plan-body{background:#241E55!important}
html[data-umode="dark"] .gr-ring b{background:#1A1540!important}
html[data-umode="dark"] .gr-up{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .gr-dn{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .gr-lb-row{background:#1A1540!important}
html[data-umode="dark"] .gr-lb-row.me{background:#241E55!important}
html[data-umode="dark"] .gr-pill{background:#241E55!important}
html[data-umode="dark"] .gr-pill.ok{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .gr-pill.wait{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .gr-item{background:#1A1540!important}
html[data-umode="dark"] .gr-sub-h span.good{color:#5FE3BC!important}
html[data-umode="dark"] .gw-tile{background:#1A1540!important}
html[data-umode="dark"] .gw-step .bar{background:#12304F!important}
html[data-umode="dark"] .gw-seg{background:#1A1540!important}
html[data-umode="dark"] .rk-bar i{background:#1A1540!important}
html[data-umode="dark"] .rk-stat{background:#1A1540!important}
html[data-umode="dark"] .rk-stat i{background:#241E55!important}
html[data-umode="dark"] .rk-earn div{background:#241E55!important}
html[data-umode="dark"] .rk-step.lock .rk-ico{background:#12304F!important}
html[data-umode="dark"] .rk-pod{background:#241E55!important}
html[data-umode="dark"] .rk-row{background:#241E55!important}
html[data-umode="dark"] .rk-row.now{background:#241E55!important}
html[data-umode="dark"] #rt-splash .rt-box{background:#1A1540!important}
html[data-umode="dark"] .rt-chip{background:#241E55!important}
html[data-umode="dark"] .dk-side{background:#1A1540!important}
html[data-umode="dark"] .dk-mini.out:hover{background:#3F1626!important}
html[data-umode="dark"] .dk-sub.on{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .dk-sub.off{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .dk-top{background:#1A1540!important}
html[data-umode="dark"] .dk-table tbody tr:hover{background:#241E55!important}
html[data-umode="dark"] .desk.exam-page .qcard{background:#1A1540!important}
html[data-umode="dark"] .desk.exam-page .ex-palette{background:#1A1540!important}
html[data-umode="dark"] .desk.exam-page .exam-nav{background:#1A1540!important}
html[data-umode="dark"] .dk-class{background:#1A1540!important}
html[data-umode="dark"] .dk-class:hover{background:#241E55!important}
html[data-umode="dark"] .dk-class.preview{background:#3F3210!important}
html[data-umode="dark"] .dk-class.preview .cs-ic{background:#3F3210!important}
html[data-umode="dark"] .dk-class.preview .cs-cap{color:#FFD66B!important}
html[data-umode="dark"] .dk-exit{background:#1A1540!important}
html[data-umode="dark"] .dk-exit:hover{background:#241E55!important}
html[data-umode="dark"] .ax-card{background:#1A1540!important}
html[data-umode="dark"] .ax-bar{background:#12304F!important}
html[data-umode="dark"] .ax-opt.ok{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .ax-ring b{background:#1A1540!important}
html[data-umode="dark"] .cs-menu{background:#1A1540!important}
html[data-umode="dark"] .cs-opt{background:#1A1540!important}
html[data-umode="dark"] .cs-opt:hover{background:#241E55!important}
html[data-umode="dark"] .dk-nav a:hover .ni{background:#1A1540!important}
html[data-umode="dark"] .dk-dot{background:#1A1540!important}
html[data-umode="dark"] .dk-nav a.on .nb{background:#1A1540!important}
html[data-umode="dark"] .dk-mini{background:#1A1540!important}
html[data-umode="dark"] .xcard{background:#1A1540!important}
html[data-umode="dark"] .xc-tag.prac{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .xc-tag.new{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .xc-ring b{background:#1A1540!important}
html[data-umode="dark"] .xcard.is-done .xc-btn{background:#1A1540!important}
html[data-umode="dark"] .xcard.is-lock{background:#12304F!important}
html[data-umode="dark"] .xcard.is-lock .xc-btn{background:#241E55!important}
html[data-umode="dark"] .pf-role.ad{background:#3F3210!important;color:#FFD66B!important}
html[data-umode="dark"] .pf-stats>div{background:#1A1540!important}
html[data-umode="dark"] .pf-links a.out{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .bk-tag{background:#241E55!important}
html[data-umode="dark"] .bk-drop:hover{background:#1A1540!important}
html[data-umode="dark"] .bk-drop:focus-within{background:#1A1540!important}
html[data-umode="dark"] .bk-facts span{background:#241E55!important}
html[data-umode="dark"] .bk-lock{background:#3F3210!important}
html[data-umode="dark"] .ls-chip{background:#241E55!important}
html[data-umode="dark"] .ls-sub{background:#241E55!important}
html[data-umode="dark"] .ls-outline li:nth-child(4n+1){background:#241E55!important}
html[data-umode="dark"] .ls-outline li:nth-child(4n+2){background:#3F1626!important}
html[data-umode="dark"] .ls-outline li:nth-child(4n+3){background:#0F3A31!important}
html[data-umode="dark"] .ls-outline li:nth-child(4n+4){background:#3F3210!important}
html[data-umode="dark"] .rw-flame b{background:#1A1540!important}
html[data-umode="dark"] .rw-d.done{background:#1A1540!important}
html[data-umode="dark"] .rw-d.done em::after{background:#1A1540!important}
html[data-umode="dark"] .rw-d.frz{background:#12304F!important;color:#8CC8FF!important}
html[data-umode="dark"] .rw-tile{background:#1A1540!important}
html[data-umode="dark"] .rw-earn li{background:#1A1540!important}
html[data-umode="dark"] .rw-vs-av{background:#1A1540!important}
html[data-umode="dark"] .rw-pop-box{background:#1A1540!important}
html[data-umode="dark"] .rw-chip{background:#1A1540!important}
html[data-umode="dark"] .rw-chip.ok{color:#8CC8FF!important}
html[data-umode="dark"] .rw-chip.no{color:#FF9DB0!important}
html[data-umode="dark"] .rw-mute{background:#1A1540!important}
html[data-umode="dark"] .rw-hub{background:#1A1540!important}
html[data-umode="dark"] .rw-badge{background:#1A1540!important}
html[data-umode="dark"] .rw-lrow{background:#1A1540!important}
html[data-umode="dark"] .rw-zone.up{color:#8CC8FF!important}
html[data-umode="dark"] .rw-zone.down{color:#FF9DB0!important}
html[data-umode="dark"] .pk-x{background:#1A1540!important}
html[data-umode="dark"] .perks span{background:#1A1540!important}
html[data-umode="dark"] .box{background:#1A1540!important}
html[data-umode="dark"] .alert{background:#3F1626!important;color:#FF9DB0!important}
html[data-umode="dark"] .alert.ok{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .field input{background:#12304F!important}
html[data-umode="dark"] .field input:focus{background:#1A1540!important}
html[data-umode="dark"] .gl{background:#1A1540!important}
html[data-umode="dark"] .gl-bar{background:#12304F!important}
html[data-umode="dark"] .gl-opt.ok{background:#0F3A31!important;color:#5FE3BC!important}
html[data-umode="dark"] .gl-ring b{background:#1A1540!important}
