/* مولَّد من misbah-home/home.css وmisbah-dashboard/space.css وmisbah-dashboard/student-skin.css بواسطة scripts/design/build-dark-css.mjs. لا تعدّله يدويًا. */
:root[data-theme="dark"]{color-scheme:dark}
/* misbah-home/home.css */
:root[data-theme="dark"]{--ink:#dadae0;--pale:#1f1932;--bg:#1f1d27;--line:#2a2630;--green:#6ed8bc}
:root[data-theme="dark"] .navshell{background:#1c1a23ed}
:root[data-theme="dark"] .navlinks{color:#b0abb9}
:root[data-theme="dark"] .tinybadge{border:1px solid #3d382a;color:#c8ba9c}
:root[data-theme="dark"] .btn.outline{background:#1c1a23}
:root[data-theme="dark"] .assurances{color:#c3bfc9}
:root[data-theme="dark"] .herovisual{background:#1f1932;border:1px solid #241e37}
:root[data-theme="dark"] .visualhalo{border:1px dashed #2c243f}
:root[data-theme="dark"] .visualcore>span{color:#ccc5d9}
:root[data-theme="dark"] .notechip{background:#1c1a23;border:1px solid #272030}
:root[data-theme="dark"] .examcard{background:#1c1a23}
:root[data-theme="dark"] .examcard:hover{border-color:#2f2844}
:root[data-theme="dark"] .examcard.featured{background:#1f1931}
:root[data-theme="dark"] .chip{background:#221f29;color:#b4abc2}
:root[data-theme="dark"] .examcard.featured .chip{background:#251e35;color:#b0a1c0}
:root[data-theme="dark"] .cardlink{border-top:1px solid #272230}
:root[data-theme="dark"] .gradefilter{background:#1c1a23}
:root[data-theme="dark"] .splitpanel{background:#1c1a23}
:root[data-theme="dark"] .ministats{background:linear-gradient(120deg,#202b1e,#322813);border:1px solid #2b3328}
:root[data-theme="dark"] .stat{background:#1c1a23;border:1px solid #2b2f26}
:root[data-theme="dark"] .stat strong{color:#cbd7d1}
:root[data-theme="dark"] .faqs details{background:#1c1a23}
:root[data-theme="dark"] .ctaband{border:1px solid #251f37}
:root[data-theme="dark"] .copyright{color:#d1ccd6}
:root[data-theme="dark"] .factlist span{background:#1c1a23}
:root[data-theme="dark"] .startbox{background:#1c1a23}
:root[data-theme="dark"] .select{background:#1f1c26}
:root[data-theme="dark"] .levelmatch{background:#221d2e;color:#afa0bf}
:root[data-theme="dark"] .subject{background:#1c1a23}
:root[data-theme="dark"] .samplecard{background:#1c1a23}
:root[data-theme="dark"] .sampleoption{background:#1c1a23}
:root[data-theme="dark"] .sampleoption b{background:#231e2b;color:#c4bccd}
:root[data-theme="dark"] .sampleoption:hover{border-color:#332c46}
:root[data-theme="dark"] .sampleoption.selected{background:#1d1331}
:root[data-theme="dark"] .sampleoption.correct{background:#1e2c22}
:root[data-theme="dark"] .sampleoption.wrong{background:#2e2019}
:root[data-theme="dark"] .answer{background:#202b22;border:1px solid #27352c;color:#79b393}
:root[data-theme="dark"] .answer p{color:#8ab39b}
:root[data-theme="dark"] .otherexam{background:#1c1a23}
:root[data-theme="dark"] .banner{background:#20192e;color:#d1c7db}
:root[data-theme="dark"] .dates-section{border:1px solid #3e3829;background:linear-gradient(120deg,#302812,#29231b)}
:root[data-theme="dark"] .dates-bell{background:#38311e;color:#d4b676}
:root[data-theme="dark"] .dates-caption{color:#c7bead}
:root[data-theme="dark"] .date-card{background:#1c1a23;border:1px solid #342f27}
:root[data-theme="dark"] .date-card.date-nearest{background:#312912}
:root[data-theme="dark"] .date-tag{background:#3c321e;color:#cea969}
:root[data-theme="dark"] .date-square{background:#2c281e;border:1px solid #363026}
:root[data-theme="dark"] .date-nearest .date-square{background:#3f3621;border-color:#463c28}
:root[data-theme="dark"] .date-square b{color:#c3a973}
:root[data-theme="dark"] .date-square span{color:#bfb5a4}
:root[data-theme="dark"] .date-square small{color:#d7d0c3}
:root[data-theme="dark"] .date-count{color:#d0ae74}
:root[data-theme="dark"] .date-links{border-top:1px solid #312c25}
:root[data-theme="dark"] .date-links a:last-child{color:#cac2b6}
:root[data-theme="dark"] .dates-footnote{color:#cec8bd}
:root[data-theme="dark"] .dates-section{background:#2f2712}
:root[data-theme="dark"] .ticker-toggle{background:#332c1e;border:1px solid #3f3728;color:#c7b38b}
:root[data-theme="dark"] .fact{background:#1c1a23}
:root[data-theme="dark"] .datelist li{background:#1c1a23}
:root[data-theme="dark"] .newdot{background:#403418;color:#f1af2a}
/* misbah-dashboard/space.css */
:root[data-theme="dark"]{--ink:#dadae0;--pale:#1e1931;--line:#28262e;--bg:#1f1d27;--green:#6ed8bc}
:root[data-theme="dark"] header{background:#1c1a23}
:root[data-theme="dark"] .avatar{background:#453924}
:root[data-theme="dark"] .demo{color:#b8a676;background:#322a1a}
:root[data-theme="dark"] aside{background:#1c1a23}
:root[data-theme="dark"] .switch{background:#1c1a23}
:root[data-theme="dark"] aside nav button{color:#b1aeba}
:root[data-theme="dark"] .asidefoot b{color:#cac1e2}
:root[data-theme="dark"] .profile{background:#25222c}
:root[data-theme="dark"] .profile button.active{background:#1c1a23;box-shadow:0 2px 6px #dadae00c}
:root[data-theme="dark"] .hero{background:#1f1932;border:1px solid #231c39}
:root[data-theme="dark"] .hero p{color:#ada5ba}
:root[data-theme="dark"] .secondary{background:#1c1a23}
:root[data-theme="dark"] .halo{background:#261f39}
:root[data-theme="dark"] .spark{color:#cbb2f0}
:root[data-theme="dark"] .floatnote{background:#1c1a23}
:root[data-theme="dark"] .card{background:#1c1a23}
:root[data-theme="dark"] .iconbox{background:#222e28}
:root[data-theme="dark"] .iconbox.gold{background:#372f1a;color:#deba6b}
:root[data-theme="dark"] .arrow{color:#cfcdd5}
:root[data-theme="dark"] .bar{background:#25222b}
:root[data-theme="dark"] .day i{background:#242129}
:root[data-theme="dark"] .day.done i{background:#222e28}
:root[data-theme="dark"] .note{color:#cfccd6}
:root[data-theme="dark"] .bead{box-shadow:inset 0 -4px 0 #ededed12}
:root[data-theme="dark"] .option{background:#1c1a23}
:root[data-theme="dark"] .option b{background:#221e29}
:root[data-theme="dark"] .option.selected{background:#1b1231}
:root[data-theme="dark"] .option.correct{background:#1f2c26}
:root[data-theme="dark"] .option.wrong{background:#302017}
:root[data-theme="dark"] .hint{background:#322c1a}
:root[data-theme="dark"] .feedback{background:#1f2c25}
:root[data-theme="dark"] .feedback p{color:#8aac9b}
:root[data-theme="dark"] .modalback{background:#5b48a855}
:root[data-theme="dark"] .modal{background:#1c1a23}
:root[data-theme="dark"] .close{background:#232028}
:root[data-theme="dark"] .trackpick{background:#1c1a23}
:root[data-theme="dark"] .trackpick:hover,:root[data-theme="dark"] .trackpick.active{background:#1a122f}
:root[data-theme="dark"] .gradechoices button{background:#1c1a23}
:root[data-theme="dark"] footer{color:#d1d1d1}
:root[data-theme="dark"] body[data-age=secondary] .hero{background:#1b2130;border-color:#212635}
@media(max-width:760px){:root[data-theme="dark"] .switch{background:#1c1a23}
:root[data-theme="dark"] aside nav{background:#1c1a23}
}
:root[data-theme="dark"] .celebrate{border:1px solid #27342a;background:linear-gradient(120deg,#1b2a1e,#312b12)}
:root[data-theme="dark"] .achievement{background:#1c1a23cf;border:1px solid #2a2e26}
:root[data-theme="dark"] .achievement strong{color:#d5d5db}
:root[data-theme="dark"] .achievement-message{background:#232e22}
:root[data-theme="dark"] .achievement-message b{color:#71b37d}
:root[data-theme="dark"] .achievement-message p{color:#a9b8a8}
:root[data-theme="dark"] .goalcard--done .goalmark{background:#22332a}
:root[data-theme="dark"] .goalcard--done{border-color:#2a3a31}
:root[data-theme="dark"] aside nav a{color:#b1aeba}
:root[data-theme="dark"] .space-main .input,:root[data-theme="dark"] .space-main select.input{background:#1c1a23}
:root[data-theme="dark"] .dangercard{border-color:#3f3028;background:#301d12}
:root[data-theme="dark"] .space-main .btn--ghost{background:#1c1a23}
:root[data-theme="dark"] .msgline.msg--error{color:#daa88d}
:root[data-theme="dark"] .space-main .review__start{background:#1f1932;border-color:#231c39}
:root[data-theme="dark"] .space-main .review__opt{background:#1c1a23}
:root[data-theme="dark"] .space-main .review__opt .opt__key{background:#221e29}
:root[data-theme="dark"] .space-main .review__opt.opt--correct{background:#1f2c26}
:root[data-theme="dark"] .space-main .review__opt.opt--wrong{background:#302017}
:root[data-theme="dark"] .space-main .qcard{background:#1c1a23}
:root[data-theme="dark"] .space-main .qchips .chip--d1{background:#222e28}
:root[data-theme="dark"] .space-main .qchips .chip--d2{background:#372f1a;color:#ddb965}
:root[data-theme="dark"] .space-main .qchips .chip--d3{background:#302017;color:#d88c6c}
:root[data-theme="dark"] .space-main .opt{background:#1c1a23}
:root[data-theme="dark"] .space-main .opt__key{background:#221e29}
:root[data-theme="dark"] .space-main .opt--picked{background:#1b1231}
:root[data-theme="dark"] .space-main .opt--correct{background:#1f2c26}
:root[data-theme="dark"] .space-main .opt--wrong{background:#302017}
:root[data-theme="dark"] .space-main .question-hint p{background:#322c1a}
:root[data-theme="dark"] .space-main .feedback{background:#1f2c25}
:root[data-theme="dark"] .space-main .feedback p{color:#8aac9b}
:root[data-theme="dark"] .space-main .feedback.feedback--wrong{background:#302017}
:root[data-theme="dark"] .space-main .feedback.feedback--wrong h3{color:#d88c6c}
:root[data-theme="dark"] .space-main .feedback.feedback--wrong p{color:#b49180}
:root[data-theme="dark"] .space-main .report-btn{color:#cfcdd5}
:root[data-theme="dark"] .space-main .passage{background:#1a122f;border:1px dashed #27223a}
:root[data-theme="dark"] .space-main .qfig{background:#1f1c26}
:root[data-theme="dark"] .space-main .qlist__item{background:#1c1a23}
:root[data-theme="dark"] .space-main .qlist__item--ok{border-color:#2a3a31;background:#1b2a22}
:root[data-theme="dark"] .space-main .qlist__item--bad{border-color:#3f3028;background:#301d12}
:root[data-theme="dark"] .space-main .result{background:#1c1a23}
:root[data-theme="dark"] .space-main .profile button.active{background:#1c1a23;box-shadow:0 2px 6px #dadae00c}
:root[data-theme="dark"] .space-main .quick{background:#1c1a23}
:root[data-theme="dark"] .picker .trackpick small.unfit{color:#cab189}
:root[data-theme="dark"] .picker__error{color:#d79a96}
:root[data-theme="dark"] .axischip{background:#1c1a23}
:root[data-theme="dark"] .axischip__bar{background:#25222b}
/* misbah-dashboard/student-skin.css */
:root[data-theme="dark"][data-skin]{--bg:#1f1d27;--surface:#1c1a23;--surface-2:#242129;--text:#dadae0;--border:#28262e;--brand-ink:#1c1a23;--brand-soft:#1e1931;--ok:#6ed8bc;--ok-soft:#1f2c26;--bad-soft:#302017}
:root[data-theme="dark"] .space-header{background:#1c1a23}
:root[data-theme="dark"] body.space-skin .btn--ghost{background:#1c1a23}
:root[data-theme="dark"] body.space-skin .btn--ghost:hover:not(:disabled){background:#1a122f}
:root[data-theme="dark"] body.space-skin .input,:root[data-theme="dark"] body.space-skin .card select,:root[data-theme="dark"] body.space-skin input[type="text"],:root[data-theme="dark"] body.space-skin input[type="email"]{background:#1c1a23}
:root[data-theme="dark"] body.space-skin .bar{background:#25222b}
:root[data-theme="dark"] body.space-skin .opt{background:#1c1a23}
:root[data-theme="dark"] body.space-skin .opt__key{background:#221e29}
:root[data-theme="dark"] body.space-skin .opt--picked{background:#1b1231}
:root[data-theme="dark"] body.space-skin .opt--correct{background:#1f2c26}
:root[data-theme="dark"] body.space-skin .opt--wrong{background:#302017}
:root[data-theme="dark"] body.space-skin .feedback{background:#1f2c25}
:root[data-theme="dark"] body.space-skin .hint-btn,:root[data-theme="dark"] body.space-skin .question-hint{background:#322c1a}
:root[data-theme="dark"] body.space-skin .result{background:#1c1a23}
:root[data-theme="dark"] body.space-skin .review__start{background:#1f1932;border:1px solid #231c39}
:root[data-theme="dark"] body.space-skin footer,:root[data-theme="dark"] body.space-skin .muted.small{color:#cfccd6}
