/* Dark mode — generated by darkgen.py from the light styles; hand-tuned rules at the end. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#0b1120;color:#e2e8f0}
html[data-theme="dark"] .q5,html[data-theme="dark"] .qz,html[data-theme="dark"] .q-wa{color:#e2e8f0;--paper:#0b1120;--lav:#1a2440;--line:rgba(148,163,184,0.18);--mut:#94a3b8}

html[data-theme="dark"] .q-jsburger{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-drawer{background:#111a2e !important;border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-drawer a{color:#e2e8f0 !important}
html[data-theme="dark"] .q-drawer a[aria-current]{background:#2f3444 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-drawer__sep{background:#2d3341 !important}
html[data-theme="dark"] .q-drawer__cta{color:#9ca9ef !important}
html[data-theme="dark"] .q-lsub{color:var(--navy,#e2e8f0) !important}
html[data-theme="dark"] .q-lvis{border:1px solid var(--line,rgba(148,163,184,0.18)) !important;background:#0b1120 !important}
html[data-theme="dark"] .q-plan__was{color:#ef9d9d !important}
html[data-theme="dark"] .cs-footer .cs-logo__tag{color:#94a3b8 !important}
html[data-theme="dark"] .q-lec--play:hover, html[data-theme="dark"] .q-lec--play:focus-visible{background:#2f3742 !important}
html[data-theme="dark"] .q-lec--play:hover bdi{color:#8ec2b3 !important}
html[data-theme="dark"] .q-gate__m .q-art{background:#111a2e !important}
html[data-theme="dark"] .q-art__play{border:clamp(4px,0.6vw,6px) solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-deco{color:#9ca9ef !important}
html[data-theme="dark"] .q-story__play{color:#e2e8f0 !important}
html[data-theme="dark"] .q-story__ring{border:5px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-story__name{color:#e2e8f0 !important}
html[data-theme="dark"] .q-story__tag{background:#111a2e !important}
html[data-theme="dark"] .q-wa{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-wa:hover, html[data-theme="dark"] .q-wa:focus-visible{color:#e2e8f0 !important}
html[data-theme="dark"] .q-lt__bar{border:1px solid rgba(148,163,184,0.18) !important;background:#0b1120 !important}
html[data-theme="dark"] .q-lt__bar label{color:#94a3b8 !important}
html[data-theme="dark"] .q-lt__bar label:hover{color:#8f9fc8 !important}
html[data-theme="dark"] .q-ivid__play .cs-icon{border:4px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-frame__cap b{color:#e2e8f0 !important}
html[data-theme="dark"] .q-dd__box{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-dd__box a b{color:#e2e8f0 !important}
html[data-theme="dark"] .q-links .q-dd__box a:hover{background:#2f3444 !important}
html[data-theme="dark"] .q-dd__box a:hover b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-links .q-dd__box a.q-dd__all{border-top:1px solid rgba(148,163,184,0.18) !important;color:#9ca9ef !important}
html[data-theme="dark"] .q-msub > a .cs-icon{color:#94a3b8 !important}
html[data-theme="dark"] .q-msub__list a b{color:#e2e8f0 !important}
html[data-theme="dark"] .q-mnav .q-msub__list a.q-msub__all, html[data-theme="dark"] .q-drawer .q-msub__list a.q-msub__all{color:#9ca9ef !important}
html[data-theme="dark"] a{color:#8f9fc8 !important}
html[data-theme="dark"] a:hover{color:#9ca9ef !important}
html[data-theme="dark"] .cs-nav{background:rgba(255,255,255,0.120) !important}
html[data-theme="dark"] .cs-accordion__body{border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .tok-comment{color:#94a3b8 !important}
html[data-theme="dark"] .pframe{background:#111a2e !important}
html[data-theme="dark"] .cover-badge{background:#111a2e !important}
html[data-theme="dark"] .q5{color:#e2e8f0 !important}
html[data-theme="dark"] .q-k{color:#9ca9ef !important}
html[data-theme="dark"] .q-lead{color:#94a3b8 !important}
html[data-theme="dark"] .q-uc{background:#323640 !important;color:#cea993 !important}
html[data-theme="dark"] .q-b--line{background:#111a2e !important;border-color:rgba(148,163,184,0.35) !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-b--white{background:#111a2e !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-b--white:hover{background:#2f3444 !important}
html[data-theme="dark"] .q-b--ghostw{border-color:rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-b--ghostw:hover{border-color:rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-a{color:#8f9fc8 !important}
html[data-theme="dark"] .q-nav{background:rgba(255,255,255,0.120) !important;border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-logo{color:#e2e8f0 !important}
html[data-theme="dark"] .q-logo small{color:#94a3b8 !important}
html[data-theme="dark"] .q-links a{color:#cbd5e1 !important}
html[data-theme="dark"] .q-links a:hover, html[data-theme="dark"] .q-links a[aria-current]{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-hero{background:#111a2e !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-pill{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-pill i{background:#111a2e !important;color:#9ca9ef !important}
html[data-theme="dark"] .q-hero__t .q-h1 span{color:#9ca9ef !important}
html[data-theme="dark"] .q-trust{color:#94a3b8 !important}
html[data-theme="dark"] .q-av{background:#2f3444 !important;color:#8f9fc8 !important;border:2px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-tile{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-tile__f{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-tile__f span:last-child{color:#94a3b8 !important}
html[data-theme="dark"] .q-logos{background:#0b1120 !important}
html[data-theme="dark"] .q-logos__l{color:#94a3b8 !important}
html[data-theme="dark"] .q-wm{color:#94a3b8 !important}
html[data-theme="dark"] .q-wm:hover{color:#8f9fc8 !important}
html[data-theme="dark"] .q-pc--lav{background:#2f3444 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-pc--paper{background:#0b1120 !important;color:#e2e8f0 !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-tc{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-tc:hover{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-tc__tag{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-tc p{color:#94a3b8 !important}
html[data-theme="dark"] .q-st{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-st li{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-st li bdi{border:1px solid rgba(148,163,184,0.35) !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-st li small{color:#94a3b8 !important}
html[data-theme="dark"] .q-tc__f .sum{color:#94a3b8 !important}
html[data-theme="dark"] .q-tc__f .sum b{color:#e2e8f0 !important}
html[data-theme="dark"] .q-js__i{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-js p{color:#94a3b8 !important}
html[data-theme="dark"] .q-lc{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-lc__m{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-play span{background:#111a2e !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-lc__meta{color:#94a3b8 !important}
html[data-theme="dark"] .q-pr--lav{background:#2f3444 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-pr--paper{background:#0b1120 !important;color:#e2e8f0 !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-pr--white{background:#111a2e !important;color:#e2e8f0 !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-card{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-card__top > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-chips span{background:#0b1120 !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-chips .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-st3 > div{background:#2f3444 !important}
html[data-theme="dark"] .q-st3 b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-st3 > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-cp{border:1px solid rgba(148,163,184,0.18) !important;background:#0b1120 !important}
html[data-theme="dark"] .q-rv{background:#0b1120 !important}
html[data-theme="dark"] .q-rc{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-rc__by > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-rc__by em{color:#8f9fc8 !important;background:#2f3444 !important}
html[data-theme="dark"] .q-big{color:#8f9fc8 !important}
html[data-theme="dark"] .q-cs{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-cs .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cs b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-cs > span:last-child{color:#94a3b8 !important}
html[data-theme="dark"] .q-q{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-q[open]{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-q summary .cs-icon{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-q p{color:#94a3b8 !important}
html[data-theme="dark"] .q-en{background:#2f3444 !important}
html[data-theme="dark"] .q-en li .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .ph, html[data-theme="dark"] .q-uc{background:#323640 !important;color:#cea993 !important}
html[data-theme="dark"] .q-crumb{color:#94a3b8 !important}
html[data-theme="dark"] .q-crumb a{color:#94a3b8 !important}
html[data-theme="dark"] .q-crumb a:hover{color:#8f9fc8 !important}
html[data-theme="dark"] .q-crumb span[aria-current]{color:#e2e8f0 !important}
html[data-theme="dark"] .q-ph-hero{background:#111a2e !important;border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-ename{color:#94a3b8 !important}
html[data-theme="dark"] .q-sub{color:#9ca9ef !important}
html[data-theme="dark"] .q-tag{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-tag--o{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important;color:#cbd5e1 !important}
html[data-theme="dark"] .q-mx{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-mx > div{border-inline-start:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-mx b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-mx > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-by{color:#94a3b8 !important}
html[data-theme="dark"] .q-by b{color:#e2e8f0 !important}
html[data-theme="dark"] .q-note{color:#94a3b8 !important}
html[data-theme="dark"] .q-gate{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-gate__f span{color:#94a3b8 !important}
html[data-theme="dark"] .q-fld small{color:#94a3b8 !important}
html[data-theme="dark"] .q-in{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-err{color:#e09999 !important}
html[data-theme="dark"] .q-phone span{border:1px solid rgba(148,163,184,0.18) !important;color:#94a3b8 !important}
html[data-theme="dark"] .q-back{color:#94a3b8 !important}
html[data-theme="dark"] .q-pbar{color:#94a3b8 !important;border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-pbar i{background:#2d3341 !important}
html[data-theme="dark"] .q-ck li > .cs-icon{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-cos > span{border:1px dashed rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-st4 > div{background:#2f3444 !important}
html[data-theme="dark"] .q-st4 b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-st4 > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-u{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-u[open]{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-u__n{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-u__t span{color:#94a3b8 !important}
html[data-theme="dark"] .q-u__m{color:#94a3b8 !important}
html[data-theme="dark"] .q-u summary > .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .q-lec{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-free{background:#2f3742 !important;color:#8ec2b3 !important}
html[data-theme="dark"] .q-tbl{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-tbl th, html[data-theme="dark"] .q-tbl td{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-tbl thead th{background:#0b1120 !important;color:#cbd5e1 !important}
html[data-theme="dark"] .q-tbl tbody th{color:#e2e8f0 !important}
html[data-theme="dark"] .q-tbl td{color:#94a3b8 !important}
html[data-theme="dark"] .q-tbl .q-us{background:#303644 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-tbl .q-us .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cur{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-cur label{color:#94a3b8 !important}
html[data-theme="dark"] .q-plan{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-plan__e{color:#9ca9ef !important}
html[data-theme="dark"] .q-plan__today{color:#e2e8f0 !important}
html[data-theme="dark"] .q-plan__today small{color:#94a3b8 !important}
html[data-theme="dark"] .q-plan__rest{color:#94a3b8 !important}
html[data-theme="dark"] .q-plan__tot{color:#94a3b8 !important;border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-band{background:#2f3444 !important}
html[data-theme="dark"] .q-trust2{color:#94a3b8 !important}
html[data-theme="dark"] .q-trust2 .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .q-stick{background:rgba(255,255,255,0.120) !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-stick span{color:#94a3b8 !important}
html[data-theme="dark"] .q-rc--ph{background:#0b1120 !important}
html[data-theme="dark"] .q-who p{border-top:1px solid rgba(148,163,184,0.20) !important}
html[data-theme="dark"] .q-route{border:1px solid rgba(148,163,184,0.18) !important;background:#0b1120 !important}
html[data-theme="dark"] .q-dl > a{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-dl > a:hover{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-dl__n{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-dl__f{border-top:1px solid rgba(148,163,184,0.18) !important;color:#94a3b8 !important}
html[data-theme="dark"] .q-totals{color:#94a3b8 !important}
html[data-theme="dark"] .q-totals b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-slot{color:#94a3b8 !important}
html[data-theme="dark"] .q-slot > .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .q-slot .mono{color:#94a3b8 !important}
html[data-theme="dark"] .q-slot--v .cs-icon{background:#111a2e !important}
html[data-theme="dark"] .q-frame{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-frame__cap{border-top:1px solid rgba(148,163,184,0.18) !important;background:#0b1120 !important}
html[data-theme="dark"] .q-frame__cap .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .q-frame__cap .mono{color:#94a3b8 !important}
html[data-theme="dark"] .q-toc{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-toc b{color:#94a3b8 !important}
html[data-theme="dark"] .q-toc a{color:#cbd5e1 !important}
html[data-theme="dark"] .q-toc a:hover{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-toc a bdi{color:#9ca9ef !important}
html[data-theme="dark"] .q-art section{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-art h2 bdi{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-art p{color:#94a3b8 !important}
html[data-theme="dark"] .q-art li{color:#94a3b8 !important}
html[data-theme="dark"] .q-art li .cs-icon{color:#8f9fc8 !important}
html[data-theme="dark"] .dtable{border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .dtable th, html[data-theme="dark"] .dtable td{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .dtable thead th{background:#0b1120 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .dtable td{color:#94a3b8 !important}
html[data-theme="dark"] .dtable td:first-child{color:#e2e8f0 !important}
html[data-theme="dark"] .q-art .cs-accordion__item{border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-notice{background:#323640 !important;color:#cea993 !important}
html[data-theme="dark"] .step{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .step__n{color:#9ca9ef !important}
html[data-theme="dark"] .q-ch > div{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-ch .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-ch p{color:#94a3b8 !important}
html[data-theme="dark"] .q-ch small{color:#94a3b8 !important}
html[data-theme="dark"] .q-topics label{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-sent > .cs-icon{background:#2f3742 !important;color:#8ec2b3 !important}
html[data-theme="dark"] .q-chat{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-chat__b{background:#0b1120 !important}
html[data-theme="dark"] .q-bub{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-bub--me{background:#2f3444 !important;border-color:rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-fchips label{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important;color:#cbd5e1 !important}
html[data-theme="dark"] .q-fchips label .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-fgrp h2 .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-podium > div{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-rank{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] a.q-logo .q-logo__svg, html[data-theme="dark"] a.cs-logo--svg .q-logo__svg{color:#8f9fc8 !important}
html[data-theme="dark"] .q-ab-mv__v{background:#2f3444 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-ab-mv__v .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-ab-vals > div{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-ab-vals .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-ab-vals span:last-child{color:#94a3b8 !important}
html[data-theme="dark"] .q-ab-dbpe > div:nth-child(1){background:#2f3444 !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-ab-dbpe__l{background:rgba(255,255,255,0.072) !important}
html[data-theme="dark"] .q-ab-arrow{color:#8f9fc8 !important}
html[data-theme="dark"] .q-ab-off > a{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-ab-off > a:hover{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-ab-off .cs-icon:first-child{color:#9ca9ef !important}
html[data-theme="dark"] .q-ab-off p{color:#94a3b8 !important}
html[data-theme="dark"] .q-ab-meth > span{background:#111a2e !important;border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-ab-meth .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cc{border:1px solid var(--cc-line,rgba(148,163,184,0.18)) !important;background:var(--cc-bg,#111a2e) !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-cc:hover{border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-cc__m{border-bottom:1px solid var(--cc-line,rgba(148,163,184,0.18)) !important}
html[data-theme="dark"] .q-cc__art{background:var(--cc-bg,#111a2e) !important}
html[data-theme="dark"] .q-cc__lv{color:#9ca9ef !important}
html[data-theme="dark"] .q-cc__meta{color:#cbd5e1 !important}
html[data-theme="dark"] .q-cc__meta .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cc p{color:#94a3b8 !important}
html[data-theme="dark"] .q-cc__f{border-top:1px solid rgba(148,163,184,0.20) !important}
html[data-theme="dark"] .q-i7__st > div{background:#2f3444 !important}
html[data-theme="dark"] .q-i7__st b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-i7__st > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-vs__bad{background:#0b1120 !important;border:1px solid rgba(148,163,184,0.18) !important;color:#94a3b8 !important}
html[data-theme="dark"] .q-vs__bad h3{color:#e4aaaa !important;border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-vs__bad b{color:#e4aaaa !important}
html[data-theme="dark"] .q-vs__good h3{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-vs__good li{background:rgba(255,255,255,0.054) !important}
html[data-theme="dark"] .q-plan__rec--alt{background:#2f3544 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q5, html[data-theme="dark"] .qz, html[data-theme="dark"] .q-wa{color:#e2e8f0 !important}
html[data-theme="dark"] .q-hvid{background-color:#111a2e !important}
html[data-theme="dark"] .q-hvid__btn{border:clamp(4px,0.7vw,7px) solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-burger{border:1px solid rgba(148,163,184,0.18) !important;color:#e2e8f0 !important}
html[data-theme="dark"] .q-st7{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-st7 b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-st7 > div > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-soc .cs-icon{background:#2f3444 !important;color:#8f9fc8 !important}
html[data-theme="dark"] .q-cat__chips label{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important;color:#cbd5e1 !important}
html[data-theme="dark"] .q-cat__chips label .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cm7 > div{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-cm7 .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-cm7 p{color:#94a3b8 !important}
html[data-theme="dark"] .q-mnav{background:#111a2e !important;border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-mnav a{color:#e2e8f0 !important;border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-st7 > div:nth-child(n+4){border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-st7 > div{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-st7 > div:nth-child(even){border-inline-start:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-hero__pill{border:1px solid rgba(148,163,184,0.35) !important;background:#111a2e !important;color:#cbd5e1 !important}
html[data-theme="dark"] .q-hero__pill .cs-icon{color:#9ca9ef !important}
html[data-theme="dark"] .q-hero .q-h1{color:#e2e8f0 !important}
html[data-theme="dark"] .q-hero .q-lead{color:#94a3b8 !important}
html[data-theme="dark"] .q-hero .q-b--line{background:#111a2e !important;color:#8f9fc8 !important;border-color:rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-hero .q-b--line:hover{background:#111a2e !important}
html[data-theme="dark"] .q-hero .q-hvid{border:1px solid rgba(148,163,184,0.35) !important}
html[data-theme="dark"] .q-mq__c{border:1px solid rgba(148,163,184,0.18) !important;background:#111a2e !important}
html[data-theme="dark"] .q-mq__c b{color:#8f9fc8 !important}
html[data-theme="dark"] .q-mq__c > span{color:#94a3b8 !important}
html[data-theme="dark"] .q-wm__ibm{color:#93b8ff !important}
html[data-theme="dark"] .q-wm__sfu{color:#d798a1 !important}
html[data-theme="dark"] .q-wm__icpc{color:#99afca !important}
html[data-theme="dark"] .q-dl--color > a:nth-child(4n+1){background:#2f3444 !important;border-color:rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-dl--color > a:not(:nth-child(4n+1)) .q-tag--o{background:rgba(255,255,255,0.060) !important;border-color:rgba(148,163,184,0.18) !important}
html[data-theme="dark"] .q-dl--color > a:not(:nth-child(4n+1)) .q-dl__n{background:rgba(255,255,255,0.096) !important}
html[data-theme="dark"] .q-dl--color > a:not(:nth-child(4n+1)) .q-free{background:rgba(255,255,255,0.096) !important}
@media (max-width: 860px){
html[data-theme="dark"] .q-mx > div:nth-child(n+3){border-top:1px solid rgba(148,163,184,0.18) !important}
}
/* inline colours */
html[data-theme="dark"] [style*="background: #EBEDFF"]{background:#2f3444 !important}
html[data-theme="dark"] [style*="background:#EBEDFF"]{background:#2f3444 !important}
html[data-theme="dark"] [style*="background: #F5F7FF"]{background:#303644 !important}
html[data-theme="dark"] [style*="background:#F5F7FF"]{background:#303644 !important}
html[data-theme="dark"] [style*="background: #FAF9F6"]{background:#0b1120 !important}
html[data-theme="dark"] [style*="background:#FAF9F6"]{background:#0b1120 !important}
html[data-theme="dark"] [style*="background: #ffffff"]{background:#111a2e !important}
html[data-theme="dark"] [style*="background:#ffffff"]{background:#111a2e !important}
html[data-theme="dark"] [style*="background: rgba(235,237,255,0.12)"]{background:rgba(255,255,255,0.072) !important}
html[data-theme="dark"] [style*="background:rgba(235,237,255,0.12)"]{background:rgba(255,255,255,0.072) !important}
html[data-theme="dark"] [style*="border: 1px solid #E2E8F0"]{border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border:1px solid #E2E8F0"]{border:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-bottom: 1px solid #E2E8F0"]{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-bottom:1px solid #E2E8F0"]{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-bottom: 1px solid #F1F5F9"]{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-bottom:1px solid #F1F5F9"]{border-bottom:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-top: 1px solid #E2E8F0"]{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-top:1px solid #E2E8F0"]{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-top: 1px solid #e2e8f0"]{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="border-top:1px solid #e2e8f0"]{border-top:1px solid rgba(148,163,184,0.18) !important}
html[data-theme="dark"] [style*="color: #062985"]{color:#8f9fc8 !important}
html[data-theme="dark"] [style*="color:#062985"]{color:#8f9fc8 !important}
html[data-theme="dark"] [style*="color: #0F172A"]{color:#e2e8f0 !important}
html[data-theme="dark"] [style*="color:#0F172A"]{color:#e2e8f0 !important}
html[data-theme="dark"] [style*="color: #334155"]{color:#cbd5e1 !important}
html[data-theme="dark"] [style*="color:#334155"]{color:#cbd5e1 !important}
html[data-theme="dark"] [style*="color: #475569"]{color:#94a3b8 !important}
html[data-theme="dark"] [style*="color:#475569"]{color:#94a3b8 !important}
html[data-theme="dark"] [style*="color: #64748B"]{color:#94a3b8 !important}
html[data-theme="dark"] [style*="color:#64748B"]{color:#94a3b8 !important}
/* ---- hand-tuned ---- */
/* coloured track/diploma cards: deep tint of their colour */
html[data-theme="dark"] .q-cc[style*="--cc-bg"]{background:color-mix(in srgb,var(--cc-bg) 9%,#111a2e) !important;border-color:color-mix(in srgb,var(--cc-line) 35%,#111a2e) !important}
html[data-theme="dark"] .q-cc__m{border-bottom-color:color-mix(in srgb,var(--cc-line,#334155) 35%,#111a2e) !important}
/* section background art: lighter lines on dark */
html[data-theme="dark"] .q-sec::before{background-image:linear-gradient(rgba(143,164,255,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(143,164,255,0.06) 1px,transparent 1px) !important}
html[data-theme="dark"] .q-sec:nth-of-type(even)::before{background-image:radial-gradient(rgba(143,164,255,0.14) 1.3px,transparent 1.5px) !important}
html[data-theme="dark"] .q-deco{color:rgba(143,164,255,0.14) !important}
/* primary buttons keep their brand blue */
html[data-theme="dark"] .q-b--fill{background:#2f55f0 !important;color:#fff !important}
html[data-theme="dark"] .q-b--fill:hover{background:#4166ff !important}
/* theme toggle */
.q-theme{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;border:1px solid #e2e8f0;background:transparent;color:#334155;cursor:pointer;flex:none}
.q-theme .cs-icon{font-size:22px}
.q-theme:hover{border-color:#94a3b8}
.q-theme .q-theme__sun{display:none}
html[data-theme="dark"] .q-theme{border-color:rgba(148,163,184,0.28);color:#e2e8f0}
html[data-theme="dark"] .q-theme .q-theme__sun{display:inline}
html[data-theme="dark"] .q-theme .q-theme__moon{display:none}
/* design-system components (footer, info strips, principle bar) use --cs-* variables */
html[data-theme="dark"]{--cs-surface:#111a2e;--cs-paper:#0b1120;--cs-text:#e2e8f0;--cs-text-muted:#94a3b8;--cs-text-strong-muted:#cbd5e1;--cs-text-subtle:#64748b;--cs-border:rgba(148,163,184,0.18);--cs-border-soft:rgba(148,163,184,0.12);--cs-neutral-100:#1a2440;--cs-lavender:#1a2440;--cs-lavender-a30:rgba(26,36,64,0.6);--cs-lavender-a40:rgba(26,36,64,0.7);--cs-lavender-a50:rgba(26,36,64,0.8);--cs-cobalt-tint:#16213f;--cs-grid-line:rgba(143,164,255,0.05)}
/* language switch (header) */
.q-lang{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;border-radius:10px;border:1px solid #e2e8f0;color:#334155;font-size:14px;font-weight:700;text-decoration:none;flex:none;font-family:'IBM Plex Sans Arabic',sans-serif}
.q-lang:hover{border-color:#94a3b8;color:#062985}
html[data-theme="dark"] .q-lang{border-color:rgba(148,163,184,0.28);color:#e2e8f0}
/* English pages: keep the logo tagline on one line in the header */
html[lang="en"] .q-logo small{white-space:nowrap}
@media (max-width: 430px){html[lang="en"] .q-logo small{display:none}}
/* home hero: bright blue in light mode, deep navy in dark mode */
html[data-theme="dark"] .q-hero{background:radial-gradient(55% 70% at 12% 18%,rgba(47,85,240,0.55),transparent 62%),radial-gradient(45% 60% at 92% 95%,rgba(36,64,220,0.45),transparent 60%),linear-gradient(135deg,#0B1D66 0%,#071447 55%,#050E33 100%) !important}
html[data-theme="dark"] .q-hero__t .q-h1 span{color:#8fa4ff !important}
html[data-theme="dark"] .q-hero .q-b--fill{background:#2f55f0 !important;color:#fff !important}
/* student story thumbnails: deep tint of their colour, keep the grid */
html[data-theme="dark"] .q-story__m{background-color:color-mix(in srgb,var(--s1) 8%,#111a2e) !important;background-image:linear-gradient(rgba(143,164,255,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(143,164,255,0.07) 1px,transparent 1px) !important;border-bottom-color:color-mix(in srgb,var(--s2) 30%,#111a2e) !important}
html[data-theme="dark"] .q-story__m::before{background:color-mix(in srgb,var(--s2) 22%,#111a2e) !important}
html[data-theme="dark"] .q-story__ring{background:#2f55f0 !important;border-color:#e2e8f0 !important}
html[data-theme="dark"] .q-story__tag{border-color:color-mix(in srgb,var(--s2) 30%,#111a2e) !important;color:color-mix(in srgb,var(--s3) 50%,#e2e8f0) !important}
html[data-theme="dark"] .q-story__q{color:color-mix(in srgb,var(--s3) 50%,#e2e8f0) !important}
html[data-theme="dark"] .q-logo__svg{color:#fff !important}

