/* Grammar Lab — dark theme. Loaded last.
   Generated from the light CSS by tools/build-dark-theme.py (do not edit the generated part by hand).
   Re-run the script after changing any color in the other stylesheets. */
html[data-theme="dark"]{
  color-scheme:dark;
  --paper:#1a1816;--paper-deep:#24211f;--card:#252220;--ink:#ece7e0;--ink-soft:#cfc8bf;--muted:#a59d94;--line:#3a3532;
  --coral:#d4624a;--coral-deep:#b9503a;--yellow:#e5bf77;--mint:#6f8f78;--lavender:#8d7f99;--danger:#e0806e;--plum:#cdaee0;
  --shadow:0 1px 4px rgba(0,0,0,.45);--shadow-strong:0 8px 26px rgba(0,0,0,.55);
  --notebook-ink:#ece7e0;--notebook-line:#3a3532;--notebook-muted:#a59d94;--notebook-paper:#252220;--notebook-peach:#e88772;--notebook-gold:#d3a34f;--notebook-plum:#d7bde6;--notebook-plum-dark:#eadcf0
}
html[data-theme="dark"][data-study-theme="rose"]{--paper:#1d1717;--paper-deep:#272020;--card:#2a2222;--line:#40353a}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"] ::selection{background:rgba(212,98,74,.45);color:#fff}
html[data-theme="dark"] .sentence-editor,html[data-theme="dark"] .personalize-body input,html[data-theme="dark"] .personalize-body textarea,html[data-theme="dark"] .personalize-body select{color-scheme:dark}

/* Theme toggle button (works in both themes) */
.theme-toggle{display:inline-grid!important;place-items:center;width:38px;height:38px;min-width:38px;padding:0;margin-inline-start:8px;border:1px solid var(--line);border-radius:9px;background:transparent;color:var(--ink);cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.theme-toggle:hover{background:rgba(127,127,127,.12)}
.theme-toggle:active{transform:scale(.94)}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .icon-sun{display:none}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block}
html[data-theme="dark"] .theme-toggle .icon-moon{display:none}
.theme-toggle:focus-visible{outline:3px solid rgba(212,98,74,.7);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}
html.theme-switching *,html.theme-switching *:before,html.theme-switching *:after{transition:background-color .25s,color .25s,border-color .25s!important}

/* ---- generated ---- */
/* app.css */
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .topbar{background:rgba(51,49,44,0.88);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .brand{text-decoration:none;color:var(--ink)}
html[data-theme="dark"] .brand small{color:var(--muted)}
html[data-theme="dark"] .logo{border-radius:13px;background:var(--ink);color:var(--paper)}
html[data-theme="dark"] .logo i{background:var(--coral)}
html[data-theme="dark"] .small-logo{border-radius:10px}
html[data-theme="dark"] .icon-btn{border:1px solid var(--line);border-radius:12px;background:rgba(51,51,51,0.35);color:var(--ink)}
html[data-theme="dark"] .icon-btn:hover{background:var(--card);border-color:#414942}
html[data-theme="dark"] .icon-btn.quiet{color:var(--ink-soft)}
html[data-theme="dark"] .xp{border:1px solid var(--line);border-radius:12px;background:var(--card)}
html[data-theme="dark"] .xp small{color:var(--muted)}
html[data-theme="dark"] .avatar{border-radius:50%;background:var(--coral);color:#fff}
html[data-theme="dark"] .sidebar{border-right:1px solid var(--line);background:rgba(51,51,51,0.18)}
html[data-theme="dark"] .side-label{color:var(--muted)}
html[data-theme="dark"] .nav{border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted)}
html[data-theme="dark"] .nav i{color:#a7b0ad}
html[data-theme="dark"] .nav:hover{background:rgba(51,51,51,0.5);color:var(--ink)}
html[data-theme="dark"] .nav.active{background:var(--ink);color:var(--paper)}
html[data-theme="dark"] .nav.active i{color:var(--coral)}
html[data-theme="dark"] .mission{border-radius:18px;background:var(--card);border:1px solid var(--line)}
html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .kicker{color:var(--muted)}
html[data-theme="dark"] .mission-mark{color:var(--coral)}
html[data-theme="dark"] .mini,html[data-theme="dark"] .progressbar{border-radius:99px;background:var(--paper-deep)}
html[data-theme="dark"] .mini i,html[data-theme="dark"] .progressbar i{border-radius:inherit;background:var(--coral)}
html[data-theme="dark"] .mission small{color:var(--muted)}
html[data-theme="dark"] .side-note{border-top:1px solid var(--line)}
html[data-theme="dark"] .side-note span{color:var(--coral)}
html[data-theme="dark"] .side-note p{color:var(--ink-soft)}
html[data-theme="dark"] .kicker{color:var(--coral)}
html[data-theme="dark"] .hero h1 .gradient,html[data-theme="dark"] .gradient{color:var(--coral);background:none}
html[data-theme="dark"] .hero p{color:var(--ink-soft)}
html[data-theme="dark"] .btn{border:0;border-radius:12px;background:var(--coral);color:#fff}
html[data-theme="dark"] .btn:hover{background:var(--coral-deep)}
html[data-theme="dark"] .btn.secondary{background:var(--card);color:var(--ink);border:1px solid var(--line)}
html[data-theme="dark"] .creator-line{color:var(--muted)}
html[data-theme="dark"] .creator-line b{color:var(--ink-soft)}
html[data-theme="dark"] .hero-note{color:var(--muted)}
html[data-theme="dark"] .dot{border-radius:50%;background:var(--mint)}
html[data-theme="dark"] .scene{border-radius:28px;background:var(--ink)}
html[data-theme="dark"] .scene:before{border:1px solid rgba(63,61,57,0.17);border-radius:20px}
html[data-theme="dark"] .grid3d{background-image:linear-gradient(rgba(51,49,44,0.06) 1px,transparent 1px),linear-gradient(90deg,rgba(51,49,44,0.06) 1px,transparent 1px);background-size:38px 38px}
html[data-theme="dark"] .scene:after{color:rgba(245,241,232,.58)}
html[data-theme="dark"] .cube{border:1px solid rgba(63,61,57,0.36);background:rgba(238,108,77,.96)}
html[data-theme="dark"] .cube:before{color:var(--paper)}
html[data-theme="dark"] .ring{border:1px solid rgba(63,61,57,0.23);border-radius:50%}
html[data-theme="dark"] .ring.r2{border-color:rgba(238,108,77,.55)}
html[data-theme="dark"] .orbit{border:1px solid rgba(63,61,57,0.25);border-radius:50%}
html[data-theme="dark"] .particle{border-radius:50%;background:var(--coral)}
html[data-theme="dark"] .p2{background:var(--mint)}
html[data-theme="dark"] .p3{background:var(--lavender)}
html[data-theme="dark"] .float-tag{border:1px solid rgba(63,61,57,0.2);background:rgba(23,33,38,.7);color:var(--paper);border-radius:8px}
html[data-theme="dark"] .section-title p{color:var(--muted)}
html[data-theme="dark"] .card,html[data-theme="dark"] .panel,html[data-theme="dark"] .unit,html[data-theme="dark"] .stat,html[data-theme="dark"] .mistake,html[data-theme="dark"] .empty{border:1px solid var(--line);background:var(--card);border-radius:20px}
html[data-theme="dark"] .card p,html[data-theme="dark"] .muted{color:var(--muted)}
html[data-theme="dark"] .pill{border:1px solid var(--line);border-radius:99px;color:var(--muted)}
html[data-theme="dark"] .grammar-reactor{border-radius:18px;background:var(--ink)}
html[data-theme="dark"] .reactor-grid{background-image:linear-gradient(rgba(51,49,44,0.07) 1px,transparent 1px),linear-gradient(90deg,rgba(51,49,44,0.07) 1px,transparent 1px);background-size:28px 28px}
html[data-theme="dark"] .reactor-orbit{border:1px solid rgba(63,61,57,0.22);border-radius:50%}
html[data-theme="dark"] .orbit-b{border-color:rgba(238,108,77,.7)}
html[data-theme="dark"] .reactor-core{border-radius:50%;background:var(--paper)}
html[data-theme="dark"] .reactor-core span{color:var(--coral)}
html[data-theme="dark"] .reactor-core small{color:var(--muted)}
html[data-theme="dark"] .reactor-node{color:var(--paper)}
html[data-theme="dark"] .node-a{color:var(--mint)}
html[data-theme="dark"] .node-b{color:var(--coral)}
html[data-theme="dark"] .node-c{color:var(--lavender)}
html[data-theme="dark"] .time-labels{color:var(--muted)}
html[data-theme="dark"] .time-track{border-radius:99px;background:var(--paper-deep)}
html[data-theme="dark"] .time-track i{border-radius:50%;background:var(--coral)}
html[data-theme="dark"] .rule-box{border-radius:14px;background:#34322c;border:1px solid #4e4432}
html[data-theme="dark"] .rule-box strong{color:var(--coral)}
html[data-theme="dark"] .option{border:1px solid var(--line);border-radius:13px;background:transparent;color:var(--ink)}
html[data-theme="dark"] .option:hover,html[data-theme="dark"] .option.active{border-color:var(--coral);background:#35312e}
html[data-theme="dark"] .feedback{border-radius:12px;background:#30332e}
html[data-theme="dark"] .feedback.good{border:1px solid rgba(49,105,73,0.65);color:#b7e8cd;background:#2c352d}
html[data-theme="dark"] .feedback.bad{border:1px solid rgba(201,82,82,.35);color:#dda5a5;background:#3a2c29}
html[data-theme="dark"] .touch-card{border-top:1px solid var(--line)}
html[data-theme="dark"] .challenge-card{border-radius:16px;background:#34322c;border:1px solid #4e4432}
html[data-theme="dark"] .sentence-editor{border:1px solid var(--line);border-radius:14px;background:#333333;color:var(--ink);outline:0}
html[data-theme="dark"] .sentence-editor:focus{border-color:var(--coral)}
html[data-theme="dark"] .editor-tools{color:var(--muted)}
html[data-theme="dark"] .text-btn{border:0;background:none;color:var(--coral)}
html[data-theme="dark"] .radar-list>div{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .radar-list>div>span{color:var(--coral)}
html[data-theme="dark"] .radar-list small{color:var(--muted)}
html[data-theme="dark"] .review-box{border-radius:12px;background:#3f3622;border:1px solid #605027;color:#e8d7b0}
html[data-theme="dark"] .mistake p{color:var(--muted)}
html[data-theme="dark"] .empty{color:var(--muted)}
html[data-theme="dark"] .stat small{color:var(--muted)}
html[data-theme="dark"] .toast{background:var(--ink);color:var(--paper);border-radius:99px}
html[data-theme="dark"] .site-credit{border-top:1px solid var(--line);color:var(--muted)}
html[data-theme="dark"] .site-credit b{color:var(--ink-soft)}
html[data-theme="dark"] .gesture-hint{background:var(--ink);color:var(--paper);border-radius:99px}
html[data-theme="dark"] .start-backdrop,html[data-theme="dark"] .settings-backdrop{background:rgba(23,33,38,.62)}
html[data-theme="dark"] .start-card,html[data-theme="dark"] .settings-card{background:var(--paper);border:1px solid rgba(56,56,56,0.4);border-radius:28px}
html[data-theme="dark"] .game-chip{color:var(--coral)}
html[data-theme="dark"] .start-logo{border-radius:22px;background:var(--ink);color:var(--paper)}
html[data-theme="dark"] .start-logo i{background:var(--coral)}
html[data-theme="dark"] .start-kicker{color:var(--muted)}
html[data-theme="dark"] .start-card h1 em{color:var(--coral)}
html[data-theme="dark"] .start-card>p{color:var(--muted)}
html[data-theme="dark"] .player-card{border:1px solid var(--line);border-radius:16px;background:var(--card)}
html[data-theme="dark"] .player-avatar{border-radius:12px;background:var(--coral);color:#fff}
html[data-theme="dark"] .player-card span,html[data-theme="dark"] .player-card small{color:var(--muted)}
html[data-theme="dark"] .player-xp b{color:var(--coral)}
html[data-theme="dark"] .start-secondary{border:0;background:transparent;color:var(--ink-soft)}
html[data-theme="dark"] .daily-mission{border-radius:14px;background:#3f3622;border:1px solid #605027}
html[data-theme="dark"] .daily-mission span{color:#e4d4ac}
html[data-theme="dark"] .daily-mission strong{color:var(--coral)}
html[data-theme="dark"] .start-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .start-stats>div{border-right:1px solid var(--line)}
html[data-theme="dark"] .start-stats>div:last-child{border:0}
html[data-theme="dark"] .start-stats span{color:var(--muted)}
html[data-theme="dark"] .creator-mark{color:var(--muted)}
html[data-theme="dark"] .creator-mark b{color:var(--ink-soft)}
html[data-theme="dark"] .settings-group{border-top:1px solid var(--line)}
html[data-theme="dark"] .settings-label{color:var(--coral)}
html[data-theme="dark"] .setting-row{border:0;background:transparent;color:var(--ink)}
html[data-theme="dark"] .setting-row small{color:var(--muted)}
html[data-theme="dark"] .setting-row strong{color:var(--coral)}
html[data-theme="dark"] .setting-row.danger strong,html[data-theme="dark"] .danger-group .settings-label{color:var(--danger)}
html[data-theme="dark"] .settings-footer{color:var(--muted)}
html[data-theme="dark"] .settings-footer b{color:var(--ink-soft)}
@media(max-width:620px){html[data-theme="dark"] .mobile-menu span{background:var(--ink)}html[data-theme="dark"] .scene{border-radius:22px}html[data-theme="dark"] .scene:before{border-radius:15px}html[data-theme="dark"] .grid3d{background-size:27px 27px}html[data-theme="dark"] .card,html[data-theme="dark"] .panel{border-radius:17px}html[data-theme="dark"] .mobile-nav{background:rgba(51,49,44,0.94);border-top:1px solid var(--line)}html[data-theme="dark"] .mobile-nav button{border:0;background:transparent;color:var(--muted);border-radius:12px}html[data-theme="dark"] .mobile-nav button.active{background:var(--ink);color:var(--paper)}html[data-theme="dark"] .practice-dot{color:var(--coral)}html[data-theme="dark"] .drawer-open .sidebar{background:var(--paper)}html[data-theme="dark"] .drawer-open:after{background:rgba(23,33,38,.4)}html[data-theme="dark"] .start-card,html[data-theme="dark"] .settings-card{border-radius:23px}}
html[data-theme="dark"] .stage-lesson{border:1px solid var(--line);border-radius:22px;background:var(--card)}
html[data-theme="dark"] .lesson-visual-wrap{background:var(--ink)}
html[data-theme="dark"] .lesson-visual-wrap:before{border:1px solid rgba(63,61,57,0.16);border-radius:17px}
html[data-theme="dark"] .lesson-stage-visual{color:var(--paper)}
html[data-theme="dark"] .visual-progress{color:rgba(245,241,232,.58)}
html[data-theme="dark"] .visual-progress i{background:var(--coral);border-radius:99px}
html[data-theme="dark"] .lesson-visual-wrap.violet .visual-progress i{background:var(--lavender)}
html[data-theme="dark"] .lesson-visual-wrap.green .visual-progress i{background:var(--mint)}
html[data-theme="dark"] .lesson-visual-wrap.yellow .visual-progress i{background:var(--yellow)}
html[data-theme="dark"] .engine-core,html[data-theme="dark"] .never-core,html[data-theme="dark"] .master-core{border-radius:50%;background:var(--paper);color:var(--coral)}
html[data-theme="dark"] .engine-ring,html[data-theme="dark"] .life-orbit,html[data-theme="dark"] .master-ring{border:1px solid rgba(63,61,57,0.45);border-radius:50%}
html[data-theme="dark"] .engine-ring.e2{border-color:var(--coral)}
html[data-theme="dark"] .engine-chip.one{color:var(--coral)}
html[data-theme="dark"] .engine-chip.two{color:var(--mint)}
html[data-theme="dark"] .engine-chip.three{color:var(--lavender)}
html[data-theme="dark"] .time-axis{background:var(--paper)}
html[data-theme="dark"] .time-axis:before,html[data-theme="dark"] .time-axis:after{border-radius:50%;background:var(--coral)}
html[data-theme="dark"] .time-axis:after{background:var(--mint)}
html[data-theme="dark"] .time-node.start{color:var(--coral)}
html[data-theme="dark"] .time-node.duration{color:var(--mint)}
html[data-theme="dark"] .time-glow{background:rgba(238,108,77,.2)}
html[data-theme="dark"] .visual-label{color:rgba(245,241,232,.7)}
html[data-theme="dark"] .visual-label b{color:var(--coral)}
html[data-theme="dark"] .visit-card{border:1px solid rgba(49,105,73,0.7);border-radius:12px}
html[data-theme="dark"] .visit-card.away{border-color:rgba(238,108,77,.7)}
html[data-theme="dark"] .visit-card b{color:var(--mint)}
html[data-theme="dark"] .visit-card.away b{color:var(--coral)}
html[data-theme="dark"] .visit-card small{color:rgba(245,241,232,.58)}
html[data-theme="dark"] .split-line{border-left:1px dashed rgba(63,61,57,0.28)}
html[data-theme="dark"] .question-orb{border-radius:50%;background:var(--coral);color:#fff}
html[data-theme="dark"] .question-path i{border-top:1px dashed rgba(63,61,57,0.45)}
html[data-theme="dark"] .question-chip{border:1px solid rgba(63,61,57,0.2);border-radius:99px}
html[data-theme="dark"] .master-ring.r2{border-color:var(--lavender)}
html[data-theme="dark"] .master-core{color:var(--lavender)}
html[data-theme="dark"] .master-chip.a{color:var(--coral)}
html[data-theme="dark"] .master-chip.b{color:var(--mint)}
html[data-theme="dark"] .master-chip.c{color:var(--lavender)}
html[data-theme="dark"] .life-orbit{border-color:var(--mint)}
html[data-theme="dark"] .never-core{color:var(--mint)}
html[data-theme="dark"] .orbit-word.one{color:var(--coral)}
html[data-theme="dark"] .orbit-word.two{color:var(--lavender)}
html[data-theme="dark"] .orbit-word.three{color:var(--mint)}
html[data-theme="dark"] .lesson-badge,html[data-theme="dark"] .question-chip{color:var(--coral)}
html[data-theme="dark"] .lesson-copy>p{color:var(--muted)}
html[data-theme="dark"] .formula-rail span{border:1px solid var(--line);border-radius:9px}
html[data-theme="dark"] .formula-rail i{color:var(--coral)}
html[data-theme="dark"] .lesson-demo{border-radius:12px;background:#34322c;border:1px solid #4e4432}
html[data-theme="dark"] .lesson-demo small{color:var(--coral)}
html[data-theme="dark"] .lesson-note{color:var(--muted)}
html[data-theme="dark"] .lesson-note span{color:var(--coral)}
html[data-theme="dark"] .builder-result{border-radius:13px;background:#30332e}
html[data-theme="dark"] .builder-result.success{background:#2c352d;border:1px solid rgba(49,105,73,0.65)}
html[data-theme="dark"] .builder-result.error{background:#3a2c29;border:1px solid rgba(201,82,82,.35)}
html[data-theme="dark"] .result-status{color:var(--coral)}
html[data-theme="dark"] .result-copy p{color:var(--muted)}
html[data-theme="dark"] .result-copy small{color:var(--ink-soft)}
html[data-theme="dark"] .scenario-card{border:1px solid var(--line);border-radius:16px;background:#34322c}
html[data-theme="dark"] .scenario-icon{border-radius:13px;background:var(--ink);color:var(--paper)}
html[data-theme="dark"] .stage-banner{background:var(--ink);color:var(--paper);border-radius:16px}
html[data-theme="dark"] .stage-score{color:var(--coral)}
html[data-theme="dark"] .stage-node{border-radius:99px;background:var(--paper-deep)}
html[data-theme="dark"] .stage-node.done{background:var(--mint)}
html[data-theme="dark"] .stage-node.active{background:var(--coral)}
html[data-theme="dark"] .stage-connector{border-top:1px dashed var(--line)}
html[data-theme="dark"] .stage-check{border:1px solid var(--line);border-radius:11px;background:var(--card)}
html[data-theme="dark"] .stage-check b{color:var(--coral)}
html[data-theme="dark"] .scenario-next,html[data-theme="dark"] .success-next,html[data-theme="dark"] .wrong-next{border-radius:12px;background:#34322c}
html[data-theme="dark"] .scenario-next span,html[data-theme="dark"] .success-next span,html[data-theme="dark"] .wrong-next span{color:var(--muted)}
html[data-theme="dark"] .skip-link{border-radius:10px;background:var(--ink);color:var(--paper)}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] textarea:focus-visible{outline:3px solid rgba(238,108,77,.72);outline-offset:3px}
html[data-theme="dark"] .visually-hidden{border:0!important}
html[data-theme="dark"] .onboarding-dots i{border-radius:99px;background:var(--paper-deep)}
html[data-theme="dark"] .onboarding-dots i.active{background:var(--coral)}
html[data-theme="dark"] .onboarding-panel p{color:var(--muted)}
html[data-theme="dark"] .onboarding-skip{border:0;background:transparent;color:var(--muted)}
html[data-theme="dark"] .about-card{border-radius:25px;background:var(--paper)}
html[data-theme="dark"] .about-card>p{color:var(--muted)}
html[data-theme="dark"] .about-credit{border-top:1px solid var(--line)}
html[data-theme="dark"] .about-credit span{color:var(--muted)}
html[data-theme="dark"] .about-credit b{color:var(--ink-soft)}
html[data-theme="dark"] .stage-node b{color:var(--ink-soft)}
html[data-theme="dark"] .stage-node span{color:var(--muted)}
html[data-theme="dark"] .stage-node.active b,html[data-theme="dark"] .stage-node.active span{color:var(--paper)}
html[data-theme="dark"] .stage-node.done b{color:var(--ink)}
html[data-theme="dark"] #app:focus{outline:none}
/* course-ui.css */
html[data-theme="dark"],html[data-theme="dark"] body{background:var(--paper)!important;color:var(--ink)!important}
html[data-theme="dark"] .topbar{background:#333333;border-bottom:1px solid var(--line)}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand:visited{color:var(--ink)}
html[data-theme="dark"] .brand small{color:var(--muted)}
html[data-theme="dark"] .logo{border-radius:8px;background:#31302d;border:1px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .top-actions .icon-btn{border-radius:9px;background:transparent;color:var(--ink);border:1px solid var(--line)}
html[data-theme="dark"] .btn{border:0;border-radius:8px;background:#b65039;color:white}
html[data-theme="dark"] .btn:hover{background:#96412f}
html[data-theme="dark"] .btn.secondary{background:#31302d;border:1px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .text-btn{color:#e1b3a9;text-decoration:none}
html[data-theme="dark"] .text-btn:hover{text-decoration:underline}
html[data-theme="dark"] .course-label{color:#e2b4aa}
html[data-theme="dark"] .simple-page-heading{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .simple-page-heading h1{color:var(--ink)}
html[data-theme="dark"] .simple-page-heading>p{color:var(--ink-soft)}
html[data-theme="dark"] .unit-summary span{border:1px solid var(--line);border-radius:6px;background:#333333;color:var(--muted)}
html[data-theme="dark"] .current-lesson-card{background:#333333;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .current-lesson-card h2{color:var(--ink)}
html[data-theme="dark"] .current-lesson-card p{color:var(--ink-soft)}
html[data-theme="dark"] .current-lesson-progress{color:var(--muted)}
html[data-theme="dark"] .current-lesson-progress b{color:var(--ink)}
html[data-theme="dark"] .simple-section-heading>span{color:var(--muted)}
html[data-theme="dark"] .simple-stage-item{background:#333333;border:1px solid var(--line);border-radius:8px}
html[data-theme="dark"] .simple-stage-index{border:1px solid #464440;border-radius:50%;color:#c5c3bf}
html[data-theme="dark"] .simple-stage-copy small{color:var(--muted)}
html[data-theme="dark"] .simple-stage-copy h3{color:var(--ink)}
html[data-theme="dark"] .simple-stage-copy p{color:var(--muted)}
html[data-theme="dark"] .simple-stage-progress{color:var(--muted)}
html[data-theme="dark"] .simple-stage-item.active{background:#343331;border-color:#bd705d}
html[data-theme="dark"] .simple-stage-item.active .simple-stage-index{background:#b65039;border-color:#b65039;color:#fff}
html[data-theme="dark"] .simple-stage-item.done .simple-stage-index{background:#312f2b;border-color:#5a4a38;color:#ddcbc1}
html[data-theme="dark"] .content-availability{border:1px solid #43423e;border-radius:8px;background:#31302d}
html[data-theme="dark"] .content-availability p{color:#c6c3c0}
html[data-theme="dark"] .course-header{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .back-to-course{color:#e2b4aa;text-decoration:none}
html[data-theme="dark"] .back-to-course:hover{text-decoration:underline}
html[data-theme="dark"] .course-title-row h1{color:var(--ink)}
html[data-theme="dark"] .course-title-row p{color:var(--ink-soft)}
html[data-theme="dark"] .lesson-count{border:1px solid var(--line);border-radius:6px;background:#333333;color:var(--muted)}
html[data-theme="dark"] .unit-progress-copy{color:var(--muted)}
html[data-theme="dark"] .unit-progress-copy b{color:var(--ink)}
html[data-theme="dark"] .unit-progress .progressbar{background:#302e2b}
html[data-theme="dark"] .unit-progress .progressbar i{background:#b65039}
html[data-theme="dark"] .simple-learning-steps li{color:#bab8b4}
html[data-theme="dark"] .simple-learning-steps li:not(:last-child):after{background:#2d2c28}
html[data-theme="dark"] .simple-learning-steps li span{border:1px solid #464440;border-radius:50%;background:#333333;color:#c4c2bf}
html[data-theme="dark"] .simple-learning-steps li.active{color:#e2b4aa}
html[data-theme="dark"] .simple-learning-steps li.active span{background:#b65039;border-color:#b65039;color:#fff}
html[data-theme="dark"] .simple-learning-steps li.done span{background:#312f2b;border-color:#564836;color:#ddcbc1}
html[data-theme="dark"] .lesson-card,html[data-theme="dark"] .question-card{background:#333333;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .lesson-card-label{color:#e2b4aa}
html[data-theme="dark"] .lesson-card h2{color:var(--ink)}
html[data-theme="dark"] .lesson-explanation{color:#d3d1cd}
html[data-theme="dark"] .simple-formula{background:#32312e;border-radius:7px}
html[data-theme="dark"] .simple-formula span{border:1px solid #44423d;border-radius:6px;background:#333333;color:#e2e1df}
html[data-theme="dark"] .simple-formula i{color:#deb0a6}
html[data-theme="dark"] .simple-example{border-left:3px solid #b65039;background:#323230}
html[data-theme="dark"] .simple-example span{color:var(--muted)}
html[data-theme="dark"] .simple-example b{color:#e8e7e5}
html[data-theme="dark"] .simple-note{border:1px solid #43413c;border-radius:7px;background:#333231}
html[data-theme="dark"] .simple-note b{color:#e2b4aa}
html[data-theme="dark"] .simple-note p{color:#d3d1cd}
html[data-theme="dark"] .after-lesson{color:var(--muted)}
html[data-theme="dark"] .question-heading{color:var(--muted)}
html[data-theme="dark"] .question-instruction{color:#e2b4aa}
html[data-theme="dark"] .question-card>h2{color:var(--ink)}
html[data-theme="dark"] .question-hint{color:var(--muted)}
html[data-theme="dark"] .question-target{border-radius:6px;background:#32312e;color:var(--muted)}
html[data-theme="dark"] .question-target b{color:var(--ink)}
html[data-theme="dark"] .sentence-label{color:var(--ink)}
html[data-theme="dark"] .sentence-editor{border:1px solid #474440;border-radius:7px;background:#333333;color:#e6e5e3}
html[data-theme="dark"] .sentence-editor:focus{border-color:#b65039;outline:3px solid rgba(182,80,57,.12)}
html[data-theme="dark"] .sentence-editor:disabled{background:#32312f;color:#e0dedc}
html[data-theme="dark"] .editor-tools{color:var(--muted)}
html[data-theme="dark"] .builder-result.success,html[data-theme="dark"] .builder-result.error{border:0;background:transparent}
html[data-theme="dark"] .scenario-feedback{border:1px solid #4d463b;border-radius:8px;background:#32312f;color:var(--ink)}
html[data-theme="dark"] .scenario-feedback.is-wrong{border-color:#65382d;background:#33302f}
html[data-theme="dark"] .scenario-feedback.is-correct{border-color:#5d4e37;background:#32312e}
html[data-theme="dark"] .scenario-feedback-title{color:var(--ink)}
html[data-theme="dark"] .scenario-feedback-title>span{border-radius:50%;background:#302e2a;color:#dbd9d6}
html[data-theme="dark"] .scenario-feedback.is-wrong .scenario-feedback-title>span{background:#3a2721;color:#e2b4aa}
html[data-theme="dark"] .scenario-feedback>p{color:#d8d6d3}
html[data-theme="dark"] .scenario-feedback .scenario-focus{color:#c7c4c0}
html[data-theme="dark"] .feedback-example{background:#333333;border:1px solid #44413d;border-radius:6px}
html[data-theme="dark"] .feedback-example small{color:#e2b4aa}
html[data-theme="dark"] .feedback-example b{color:#e6e5e3}
html[data-theme="dark"] .feedback-reassure{color:#c7c4c0!important}
html[data-theme="dark"] .wrong-next,html[data-theme="dark"] .success-next{border:1px solid var(--line);border-radius:8px;background:#323230;color:var(--ink)}
html[data-theme="dark"] .wrong-next span,html[data-theme="dark"] .success-next span{color:var(--muted)}
html[data-theme="dark"] .question-actions a{text-decoration:none}
html[data-theme="dark"] .checker-limit-note{border-left:2px solid #524b3f;background:#323230;color:#c3c1bd}
html[data-theme="dark"] .optional-lab .route-heading h2,html[data-theme="dark"] .progress-view h2,html[data-theme="dark"] .mistakes-view h2{color:var(--ink)}
html[data-theme="dark"] .optional-lab .route-heading p{color:var(--ink-soft)}
html[data-theme="dark"] .optional-lab .grammar-reactor{background:#5c4248}
html[data-theme="dark"] .optional-lab .reactor-node,html[data-theme="dark"] .optional-lab .node-a,html[data-theme="dark"] .optional-lab .node-b,html[data-theme="dark"] .optional-lab .node-c{color:#f0d0a6}
html[data-theme="dark"] .optional-lab .reactor-core{background:#3a2908}
html[data-theme="dark"] .optional-lab .reactor-core span{color:#e3b8b4}
html[data-theme="dark"] .optional-lab .feedback.good{background:#31302c;border-color:#4d463b;color:#dcd5cc}
html[data-theme="dark"] .optional-lab .feedback.good:before{color:#dfc2a7}
html[data-theme="dark"] .quiz-path-note{border:1px solid var(--line);background:#32312e;color:var(--ink-soft)}
html[data-theme="dark"] .practice-view .route-heading h2{color:var(--ink)}
html[data-theme="dark"] .practice-view .route-heading p{color:var(--ink-soft)}
html[data-theme="dark"] .practice-view .option.answer{background:#333333;border:1px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .practice-view .option.answer.answer-correct{background:#32302c;border:1px solid #5f513a;color:var(--ink)}
html[data-theme="dark"] .practice-view .option.answer.answer-selected:not(.answer-correct){background:#392c28;border:1px solid #6b3e33;color:var(--ink)}
html[data-theme="dark"] .quiz-review-card,html[data-theme="dark"] .quiz-review-card.is-wrong{background:#32312f;border:1px solid var(--line);color:var(--ink)}
html[data-theme="dark"] .quiz-explanation{background:#333333;border:1px solid #413f3c}
html[data-theme="dark"] .mistakes-view .route-heading h2,html[data-theme="dark"] .progress-view .route-heading h2{color:var(--ink)}
html[data-theme="dark"] .mistakes-view .mistake,html[data-theme="dark"] .progress-view .stats .stat{background:#333333;border:1px solid var(--line)}
html[data-theme="dark"] .mistakes-view .mistake h3{color:var(--ink)}
html[data-theme="dark"] .course-map-view>.route-heading h2{color:var(--ink)}
html[data-theme="dark"] .course-map-view .route-heading p{color:var(--muted)}
html[data-theme="dark"] .course-map-footer{border:1px solid var(--line);background:#333333;border-radius:8px;color:var(--ink)}
html[data-theme="dark"] .course-map-footer p{color:var(--muted)}
html[data-theme="dark"] .toast{background:#302d28;color:white;border:0}
html[data-theme="dark"] .top-actions .text-btn{border:1px solid var(--line);border-radius:7px;background:#333333;text-decoration:none}
html[data-theme="dark"] .checker-limit-note{border-left:0;border-right:2px solid #524b3f}
html[data-theme="dark"] .quiz-hub-heading{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .quiz-hub-heading h1,html[data-theme="dark"] .quiz-session-head h1{color:var(--ink)}
html[data-theme="dark"] .quiz-hub-heading p{color:var(--ink-soft)}
html[data-theme="dark"] .quiz-method{border:1px solid #4c4538;border-right:4px solid #b65039;border-radius:9px;background:#333333}
html[data-theme="dark"] .quiz-method>span,html[data-theme="dark"] .quiz-question-kicker{color:#e2b4aa}
html[data-theme="dark"] .quiz-method small{color:var(--muted)}
html[data-theme="dark"] .quiz-set-card{color:var(--ink);background:#333333;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .quiz-set-card:hover{border-color:#b66b57}
html[data-theme="dark"] .quiz-set-icon{border-radius:12px;background:#322f2d;color:#dfb1a7}
html[data-theme="dark"] .quiz-set-copy small{color:var(--muted)}
html[data-theme="dark"] .quiz-set-copy em{color:var(--ink-soft)}
html[data-theme="dark"] .quiz-set-meter{border-radius:99px;background:#312f2c}
html[data-theme="dark"] .quiz-set-meter u{background:#b65039;text-decoration:none}
html[data-theme="dark"] .quiz-set-arrow{color:#dfb1a7}
html[data-theme="dark"] .quiz-entry-card{background:#333333;border:1px solid #46433e;border-radius:10px}
html[data-theme="dark"] .quiz-entry-card p{color:var(--muted)}
html[data-theme="dark"] .quiz-session-head{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .quiz-session-head h1 small{color:var(--muted)}
html[data-theme="dark"] .quiz-index{border:1px solid var(--line);border-radius:50%;background:#333333;color:var(--muted)}
html[data-theme="dark"] .quiz-index.current{background:#b65039;border-color:#b65039;color:#fff}
html[data-theme="dark"] .quiz-index.past{background:#312f2b;border-color:#564836;color:#ddcbc1}
html[data-theme="dark"] .quiz-question-card{background:#333333;border:1px solid var(--line);border-radius:12px}
html[data-theme="dark"] .quiz-question-card h2{border-right:3px solid #b65039;border-radius:6px;background:#333230;color:var(--ink)}
html[data-theme="dark"] .quiz-option{border:1px solid #43413d;border-radius:8px;background:#333333;color:var(--ink)}
html[data-theme="dark"] .quiz-option:hover:not(:disabled){border-color:#b66b57;background:#343331}
html[data-theme="dark"] .quiz-option>span{border-radius:7px;background:#31302e;color:#c4c1bd}
html[data-theme="dark"] .quiz-option>i{color:#c4d5b5}
html[data-theme="dark"] .quiz-option.is-correct{border-color:#546441;background:#31342d}
html[data-theme="dark"] .quiz-option.is-selected-wrong{border-color:#66362d;background:#372e2b}
html[data-theme="dark"] .quiz-feedback{border:1px solid #46433e;border-radius:8px;background:#323230}
html[data-theme="dark"] .quiz-feedback.correct{border-color:#454f3b;background:#31342d}
html[data-theme="dark"] .quiz-feedback.incorrect{border-color:#563932;background:#372e2b}
html[data-theme="dark"] .quiz-feedback p{color:var(--ink-soft)}
html[data-theme="dark"] .quiz-feedback>span{color:var(--muted)}
html[data-theme="dark"] .quiz-feedback strong{color:var(--ink)}
html[data-theme="dark"] .quiz-session-actions{color:var(--muted)}
html[data-theme="dark"] .quiz-score>b{color:#dfb1a7}
html[data-theme="dark"] .quiz-score>span{color:var(--muted)}
html[data-theme="dark"] .quiz-session-head>p{color:var(--ink-soft)}
html[data-theme="dark"] .quiz-answer-row{border:1px solid var(--line);border-radius:8px;background:#333333}
html[data-theme="dark"] .quiz-answer-row>span{border-radius:50%;background:#31302d;color:#c8c5c0}
html[data-theme="dark"] .quiz-answer-row.is-right{border-right:3px solid #81906e}
html[data-theme="dark"] .quiz-answer-row.is-wrong{border-right:3px solid #b96855}
html[data-theme="dark"] .quiz-answer-row p{color:var(--ink-soft)}
html[data-theme="dark"] .quiz-answer-row small{color:var(--muted)}
html[data-theme="dark"] .course-catalog-heading{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .course-catalog-heading h1,html[data-theme="dark"] .course-unit-heading h1,html[data-theme="dark"] .course-lesson-heading h1{color:var(--ink)}
html[data-theme="dark"] .course-catalog-heading p,html[data-theme="dark"] .course-unit-heading>p,html[data-theme="dark"] .course-lesson-heading p{color:var(--ink-soft)}
html[data-theme="dark"] .course-teacher-note,html[data-theme="dark"] .teacher-aside{border-right:3px solid #b65039;border-radius:8px;background:#333333;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-left:1px solid var(--line)}
html[data-theme="dark"] .course-teacher-note>b,html[data-theme="dark"] .teacher-aside>b{color:#e2b5aa}
html[data-theme="dark"] .course-teacher-note p,html[data-theme="dark"] .teacher-aside p{color:var(--ink-soft)}
html[data-theme="dark"] .course-unit-card{color:var(--ink);background:#333333;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .course-unit-card:hover{border-color:#b66b57}
html[data-theme="dark"] .course-unit-num{border:1px solid #4a4338;border-radius:11px;background:#32302d;color:#e2b6aa}
html[data-theme="dark"] .course-unit-copy small{color:var(--muted)}
html[data-theme="dark"] .course-unit-copy>b{color:var(--ink)}
html[data-theme="dark"] .course-unit-copy em{color:var(--ink-soft)}
html[data-theme="dark"] .course-unit-meter{border-radius:99px;background:#312f2c}
html[data-theme="dark"] .course-unit-meter u{background:#b65039;text-decoration:none}
html[data-theme="dark"] .course-unit-go,html[data-theme="dark"] .lesson-row-arrow{color:#dfb1a7}
html[data-theme="dark"] .course-unassigned-note{border:1px solid #43413d;border-radius:8px;background:#31302e}
html[data-theme="dark"] .course-unassigned-note>b{color:#cec5bb}
html[data-theme="dark"] .course-unassigned-note p{color:var(--muted)}
html[data-theme="dark"] .course-source-note{color:var(--muted)}
html[data-theme="dark"] .course-unit-heading{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .unit-lesson-row{color:var(--ink);background:#333333;border:1px solid var(--line);border-radius:8px}
html[data-theme="dark"] .unit-lesson-row:hover{border-color:#b66b57;background:#343331}
html[data-theme="dark"] .unit-lesson-row.done .simple-stage-index{background:#312f2b;border-color:#5a4a38;color:#ddcbc1}
html[data-theme="dark"] .simple-stage-copy b{color:var(--ink)}
html[data-theme="dark"] .simple-stage-copy em{color:var(--muted)}
html[data-theme="dark"] .unit-quiz-invite{border:1px solid var(--line);border-radius:9px;background:#333333}
html[data-theme="dark"] .unit-quiz-invite p{color:var(--muted)}
html[data-theme="dark"] .course-lesson-heading{border-bottom:1px solid var(--line)}
html[data-theme="dark"] .course-flow-steps li{color:#bdbbb7}
html[data-theme="dark"] .course-flow-steps li span{border:1px solid #464440;border-radius:50%;background:#333333}
html[data-theme="dark"] .course-flow-steps li.active{color:#e2b5aa}
html[data-theme="dark"] .course-flow-steps li.active span{border-color:#b65039;background:#b65039;color:#fff}
html[data-theme="dark"] .course-start-question{border:1px solid var(--line);border-radius:8px;background:#333333}
html[data-theme="dark"] .course-start-question p{color:var(--ink-soft)}
html[data-theme="dark"] .course-question-panel{background:#333333;border:1px solid var(--line);border-radius:10px}
html[data-theme="dark"] .course-question-head{color:var(--muted)}
html[data-theme="dark"] .course-question-prompt{border-left:3px solid #b65039;border-radius:6px;background:#333230;color:var(--ink)}
html[data-theme="dark"] .course-choice{border:1px solid #43413e;border-radius:7px;background:#333333;color:var(--ink)}
html[data-theme="dark"] .course-choice:hover:not(:disabled){border-color:#b66b57;background:#343331}
html[data-theme="dark"] .course-choice>span{border-radius:6px;background:#31302e;color:#c6c3bf}
html[data-theme="dark"] .course-choice>i{color:#c6d5b5}
html[data-theme="dark"] .course-choice.is-correct{border-color:#4e5a3f;background:#31352d}
html[data-theme="dark"] .course-choice.is-wrong{border-color:#65372d;background:#382d2b}
html[data-theme="dark"] .course-feedback{border:1px solid var(--line);border-radius:8px;background:#32312f}
html[data-theme="dark"] .course-feedback.right{border-color:#464f3c;background:#31352d}
html[data-theme="dark"] .course-feedback.wrong{border-color:#553a32;background:#372e2b}
html[data-theme="dark"] .course-feedback>p{color:var(--ink-soft)}
html[data-theme="dark"] .course-response-summary{border-top:1px solid rgba(90,80,65,.12);color:var(--muted)}
html[data-theme="dark"] .course-response-summary strong{color:var(--ink)}
html[data-theme="dark"] .course-attempt-history{border:1px solid var(--line);border-radius:7px;background:#333231}
html[data-theme="dark"] .course-attempt-history summary{color:#ccc3b8}
html[data-theme="dark"] .course-attempt-history p{color:var(--muted)}
html[data-theme="dark"] .course-attempt-history b{color:var(--ink)}
html[data-theme="dark"] .course-action-hint{color:var(--muted)}
html[data-theme="dark"] .course-lesson-bottom{color:var(--muted)}
html[data-theme="dark"] .cumulative-review-panel{border-top:3px solid var(--coral,#b65039)}
html[data-theme="dark"] .course-progress-stats article,html[data-theme="dark"] .course-progress-current,html[data-theme="dark"] .course-progress-units{border:1px solid var(--line);border-radius:14px;background:var(--card)}
html[data-theme="dark"] .course-progress-stats article span{color:var(--muted)}
html[data-theme="dark"] .course-progress-units li{border:1px solid var(--line);border-radius:9px;background:rgba(51,51,51,0.04)}
html[data-theme="dark"] .welcome-screen{background:radial-gradient(ellipse at 14% 18%,rgba(61,41,9,0.34),transparent 29%),radial-gradient(ellipse at 88% 83%,rgba(157,92,71,.26),transparent 30%),linear-gradient(145deg,#211b2b 0%,#372438 54%,#5a343b 100%);color:#fff}
html[data-theme="dark"] .welcome-card{border:1px solid rgba(56,56,56,0.2);border-radius:27px;background:rgba(53,50,46,0.97);color:#e5dde6}
html[data-theme="dark"] .welcome-topline{color:#e1d2df}
html[data-theme="dark"] .welcome-mark{border-radius:12px;background:#39283c;color:#ffe2a8}
html[data-theme="dark"] .welcome-grade{border:1px solid #534531;border-radius:20px;background:#34322d;color:#dfc1ac}
html[data-theme="dark"] .welcome-orbit{border:1px solid #524431;border-radius:50%;background:radial-gradient(circle,#333333 0 37%,#3e311f 38% 62%,#412e18 63%)}
html[data-theme="dark"] .orbit-book{border-radius:19px;background:#b65039;color:#fff0d2}
html[data-theme="dark"] .orbit-dot{border:2px solid #383838;border-radius:50%;background:#d5a84d}
html[data-theme="dark"] .dot-two{background:#b65039}
html[data-theme="dark"] .dot-three{background:#778b72}
html[data-theme="dark"] .welcome-spark{color:#f3d28e}
html[data-theme="dark"] .welcome-eyebrow{border-radius:20px;background:#3b3022;color:#e1b9a9}
html[data-theme="dark"] .welcome-card h1{color:#e4dbe7}
html[data-theme="dark"] .welcome-description{color:#c8c0c9}
html[data-theme="dark"] .welcome-steps{color:#d5cdd4}
html[data-theme="dark"] .welcome-steps b{border-radius:50%;background:#3c311e;color:#e1b9a9}
html[data-theme="dark"] .welcome-steps>i{background:#3c2c14}
html[data-theme="dark"] .welcome-start{border:0;border-radius:14px;background:linear-gradient(100deg,#b65039,#8f4351);color:#fff}
html[data-theme="dark"] .welcome-start:focus-visible{outline:3px solid #6a5732;outline-offset:4px}
html[data-theme="dark"] .welcome-save-note{color:#bcb4bd}
html[data-theme="dark"] .welcome-footer{color:rgba(255,255,255,.65)}
@media(max-width:420px){html[data-theme="dark"] .welcome-card{border-radius:22px}}
html[data-theme="dark"] .course-feedback-correct-reason{border-inline-start:3px solid #78906d;border-radius:5px;background:#31352c;color:var(--ink-soft)}
html[data-theme="dark"] .course-feedback-correct-reason>b{color:#c7dcbe}
html[data-theme="dark"] .quiz-correct-reason{border-inline-start:3px solid #78906d;background:#31352c;border-radius:5px}
/* retro-theme.css */
html[data-theme="dark"],html[data-theme="dark"] body{background:#251725!important;color:var(--ink)!important}
html[data-theme="dark"] body{background-image:radial-gradient(ellipse at 48% 20%,rgba(102,56,93,.25),transparent 55%)}
html[data-theme="dark"] .topbar{background:#251725;border-bottom:1px solid #4d374e}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand:visited{color:#fff0d8}
html[data-theme="dark"] .brand small{color:#c9b2c5}
html[data-theme="dark"] .logo{border-radius:14px;background:#362808;border:2px solid #62542a;color:#d6a39e}
html[data-theme="dark"] .logo i{background:#371108}
html[data-theme="dark"] .sidebar{background:#2f1e31;border-left:1px solid #4d374e;color:#fff0d8}
html[data-theme="dark"] .side-label{color:#c4a2b9}
html[data-theme="dark"] .sidebar .nav{border:1px solid transparent;border-radius:14px;background:transparent;color:#e6d1df}
html[data-theme="dark"] .sidebar .nav i{color:#aa8ba4}
html[data-theme="dark"] .sidebar .nav em{color:#aa8ba4}
html[data-theme="dark"] .sidebar .nav:hover{background:#49314a}
html[data-theme="dark"] .sidebar .nav.active{background:#362808;border:1px solid #62542a;color:#e8ceda}
html[data-theme="dark"] .sidebar .nav.active i,html[data-theme="dark"] .sidebar .nav.active em{color:#e5bdb1}
html[data-theme="dark"] .sidebar .mission{border:1px solid #806176;border-radius:18px;background:#4b354d}
html[data-theme="dark"] .sidebar .mission strong{color:#ffe4a0}
html[data-theme="dark"] .sidebar .mission-top,html[data-theme="dark"] .sidebar .mini{color:#d0b6cc}
html[data-theme="dark"] .sidebar .mini{background:#654c63;border-radius:99px}
html[data-theme="dark"] .sidebar .mini i{background:#371108;border-radius:99px}
html[data-theme="dark"] .sidebar .mission small{color:#d0b6cc}
html[data-theme="dark"] .sidebar .side-note{color:#d0b6cc}
html[data-theme="dark"] .sidebar .side-note>span{color:#f5c451}
html[data-theme="dark"] .site-credit{background:#251725;border-color:#4d374e;color:#ad95a8}
html[data-theme="dark"] .site-credit b{color:#e4cddc}
html[data-theme="dark"] .top-actions .text-btn{background:#362808;color:#e7cedb;border:1px solid #62542a;border-radius:12px}
html[data-theme="dark"] .course-label,html[data-theme="dark"] .course-teacher-note>b,html[data-theme="dark"] .teacher-aside>b{color:#f5c451}
html[data-theme="dark"] .course-catalog-heading{border-color:#634b63}
html[data-theme="dark"] .course-catalog-heading h1,html[data-theme="dark"] .course-unit-heading h1,html[data-theme="dark"] .course-lesson-heading h1,html[data-theme="dark"] .quiz-hub-heading h1,html[data-theme="dark"] .quiz-session-head h1{color:#fff0d8}
html[data-theme="dark"] .course-catalog-heading p,html[data-theme="dark"] .course-unit-heading>p,html[data-theme="dark"] .course-lesson-heading p{color:#dcc7d5}
html[data-theme="dark"] .course-teacher-note,html[data-theme="dark"] .teacher-aside{background:#3e2c40;border:1px solid #604760;border-right:4px solid #693c31;border-radius:15px}
html[data-theme="dark"] .course-teacher-note p,html[data-theme="dark"] .teacher-aside p{color:#ead9e4}
html[data-theme="dark"] .checker-limit-note{background:#38243a;color:#d8c1d2;border-color:#6a5932}
html[data-theme="dark"] .course-unit-card,html[data-theme="dark"] .unit-lesson-row,html[data-theme="dark"] .unit-quiz-invite,html[data-theme="dark"] .course-start-question,html[data-theme="dark"] .course-question-panel,html[data-theme="dark"] .quiz-set-card,html[data-theme="dark"] .quiz-entry-card,html[data-theme="dark"] .quiz-question-card{color:#fff0d8;background:#3d2c40;border:1px solid #634b63;border-radius:17px}
html[data-theme="dark"] .course-unit-card:nth-child(6n+1),html[data-theme="dark"] .unit-lesson-row:nth-child(3n+1){background:#493310;color:#e5ced9;border-color:#5f4d27}
html[data-theme="dark"] .course-unit-card:nth-child(6n+2),html[data-theme="dark"] .unit-lesson-row:nth-child(3n+2){background:#381e3b;color:#e3cce5;border-color:#443443}
html[data-theme="dark"] .course-unit-card:nth-child(6n+3),html[data-theme="dark"] .unit-lesson-row:nth-child(3n+3){background:#362808;color:#e5ced9;border-color:#62542a}
html[data-theme="dark"] .course-unit-card:nth-child(6n+1) .course-unit-copy b,html[data-theme="dark"] .course-unit-card:nth-child(6n+2) .course-unit-copy b,html[data-theme="dark"] .course-unit-card:nth-child(6n+3) .course-unit-copy b,html[data-theme="dark"] .unit-lesson-row:nth-child(3n) .simple-stage-copy b{color:inherit}
html[data-theme="dark"] .course-unit-num{background:#371108;border:2px solid #64522c;border-radius:14px;color:#fff3dd}
html[data-theme="dark"] .course-unit-copy small,html[data-theme="dark"] .course-unit-copy em,html[data-theme="dark"] .unit-lesson-row .simple-stage-copy small,html[data-theme="dark"] .unit-lesson-row .simple-stage-copy em{color:inherit}
html[data-theme="dark"] .course-unit-meter,html[data-theme="dark"] .quiz-set-meter{background:rgba(69,42,57,.16)}
html[data-theme="dark"] .course-unit-meter u,html[data-theme="dark"] .quiz-set-meter u{background:#371108}
html[data-theme="dark"] .course-unit-go,html[data-theme="dark"] .lesson-row-arrow{color:#d09c98}
html[data-theme="dark"] .course-unassigned-note{background:#38243a;border:1px solid #614a61;border-radius:15px}
html[data-theme="dark"] .course-unassigned-note>b{color:#f5c451}
html[data-theme="dark"] .course-unassigned-note p{color:#d2b9cc}
html[data-theme="dark"] .unit-progress-copy,html[data-theme="dark"] .course-source-note{color:#d4bbcf}
html[data-theme="dark"] .progressbar{background:#634b63}
html[data-theme="dark"] .progressbar i{background:#362808}
html[data-theme="dark"] .course-flow-steps li{color:#b99eb5}
html[data-theme="dark"] .course-flow-steps li span{background:#3d2c40;border-color:#745873;color:#f4dbe9}
html[data-theme="dark"] .course-flow-steps li.active{color:#f5c451}
html[data-theme="dark"] .course-flow-steps li.active span{background:#371108;border-color:#64522c;color:#fff}
html[data-theme="dark"] .lesson-card,html[data-theme="dark"] .question-card{background:#483515!important;border:2px solid #6a5932!important;border-radius:21px!important;color:#e5ced9!important}
html[data-theme="dark"] .lesson-card h2,html[data-theme="dark"] .lesson-explanation{color:#e5ced9}
html[data-theme="dark"] .lesson-card-label,html[data-theme="dark"] .simple-example span,html[data-theme="dark"] .simple-note b{color:#d8a3a0}
html[data-theme="dark"] .simple-formula{background:#381e3b;border-color:#5e3263;border-radius:12px}
html[data-theme="dark"] .simple-formula span{color:#e3cce5}
html[data-theme="dark"] .simple-example{background:#3f3622;border:1px solid #63512b;border-radius:13px}
html[data-theme="dark"] .simple-example b{color:#e6d2e2}
html[data-theme="dark"] .simple-note{color:#d0b9c6}
html[data-theme="dark"] .course-start-question{background:#3d2c40;color:#fff0d8}
html[data-theme="dark"] .course-start-question p,html[data-theme="dark"] .course-lesson-bottom{color:#d6bdd1}
html[data-theme="dark"] .course-question-prompt,html[data-theme="dark"] .quiz-question-card h2{background:#463314;color:#e5ced9;border-left:4px solid #693c31;border-radius:11px}
html[data-theme="dark"] .course-choice,html[data-theme="dark"] .quiz-option{background:#513a51;border:1px solid #775a75;color:#fff0d8;border-radius:12px}
html[data-theme="dark"] .course-choice>span,html[data-theme="dark"] .quiz-option>span{background:#362808;color:#e5ced9}
html[data-theme="dark"] .course-choice:hover:not(:disabled),html[data-theme="dark"] .quiz-option:hover:not(:disabled){background:#604761}
html[data-theme="dark"] .course-choice.is-correct{background:#323c1e;color:#d4e3d2;border-color:#316745}
html[data-theme="dark"] .course-choice.is-wrong{background:#471f13;color:#e9c4ce;border-color:#693c31}
html[data-theme="dark"] .course-feedback,html[data-theme="dark"] .quiz-feedback{background:#381e3b;border-color:#5e3263;color:#e3cce5;border-radius:13px}
html[data-theme="dark"] .course-feedback p,html[data-theme="dark"] .quiz-feedback p{color:#d5c1d6}
html[data-theme="dark"] .course-feedback.right{background:#323c1e;border-color:#316745}
html[data-theme="dark"] .course-feedback.wrong{background:#471f13;border-color:#693c31}
html[data-theme="dark"] .course-response-summary strong,html[data-theme="dark"] .course-attempt-history b{color:#e5ced9}
html[data-theme="dark"] .course-attempt-history{background:#3f3622;border-color:#63512b}
html[data-theme="dark"] .course-attempt-history summary{color:#ddaba5}
html[data-theme="dark"] .btn{background:#371108;color:#fff7e8;border:1px solid #64432c;border-radius:13px}
html[data-theme="dark"] .btn:hover{background:#e76652}
html[data-theme="dark"] .btn.secondary{background:#381e3b;color:#e3cce5;border:1px solid #513258}
html[data-theme="dark"] .text-btn{color:#ffd36a}
html[data-theme="dark"] .quiz-method{background:#3d2c40;border-color:#634b63;border-right-color:#693c31;color:#fff0d8}
html[data-theme="dark"] .quiz-method b,html[data-theme="dark"] .quiz-set-card b{color:inherit}
html[data-theme="dark"] .quiz-set-icon{background:#362808;color:#e5ced9}
html[data-theme="dark"] .quiz-set-copy small,html[data-theme="dark"] .quiz-set-copy em,html[data-theme="dark"] .quiz-entry-card p{color:inherit}
html[data-theme="dark"] .quiz-index{background:#3d2c40;color:#d4bbcf;border-color:#634b63}
html[data-theme="dark"] .quiz-index.current{background:#371108;border-color:#693c31;color:#fff}
html[data-theme="dark"] .quiz-index.past{background:#381e3b;color:#e3cce5}
html[data-theme="dark"] .quiz-score>b{color:#f5c451}
@media(max-width:700px){html[data-theme="dark"] .mobile-nav{background:#493310;border-top:2px solid #6a5932}html[data-theme="dark"] .mobile-nav button{border:0;background:transparent;color:#d3b8cf;border-radius:12px}html[data-theme="dark"] .mobile-nav button.active{background:#371108;color:#fff7e8}}
html[data-theme="dark"] .linear-progress-head{border-bottom:1px solid #634b63}
html[data-theme="dark"] .linear-progress-head h1{color:#fff0d8}
html[data-theme="dark"] .linear-progress-head p{color:#d4bbcf}
html[data-theme="dark"] .linear-counter{border:1px solid #82657a;border-radius:14px;background:#3d2c40;color:#f5c451}
html[data-theme="dark"] .linear-counter i{color:#bd9db7}
html[data-theme="dark"] .linear-progress{border-radius:99px;background:#503b51}
html[data-theme="dark"] .linear-progress i{border-radius:inherit;background:linear-gradient(90deg,#371108,#362808)}
html[data-theme="dark"] .linear-progress-caption{color:#c4a9bf}
html[data-theme="dark"] .course-flow-steps li{color:#c7adc3}
html[data-theme="dark"] .lesson-card-label{color:#d8a3a0!important}
html[data-theme="dark"] .lesson-explanation{color:#e1cad8!important}
html[data-theme="dark"] .simple-formula{border:1px solid #5e3263!important}
html[data-theme="dark"] .course-choice{border-radius:13px}
html[data-theme="dark"] .linear-footnote{color:#b99eb5}
html[data-theme="dark"] .linear-complete h1{color:#fff0d8}
html[data-theme="dark"] .linear-complete p{color:#e1cbdc}
html[data-theme="dark"] .linear-complete-badge{border:3px solid #62542a;border-radius:30px;background:#362808;color:#e5ced9}
html[data-theme="dark"] .linear-progress-head{border:1px solid #75556e;border-radius:20px;background:linear-gradient(145deg,#563c56 0%,#38263c 72%)}
html[data-theme="dark"] .linear-progress-head:after{background:linear-gradient(120deg,rgba(51,51,51,0.09),transparent 38%,rgba(51,51,51,0.015) 65%)}
html[data-theme="dark"] .linear-counter{background:linear-gradient(145deg,#604760,#39283d)}
html[data-theme="dark"] .linear-progress{border:1px solid #72536c}
html[data-theme="dark"] .lesson-card{border:2px solid #64552c!important;background:linear-gradient(145deg,#44361b 0%,#483110 100%)!important}
html[data-theme="dark"] .lesson-card:before{border:1px dashed rgba(160,87,75,.28);border-radius:15px}
html[data-theme="dark"] .lesson-card:after{border-radius:inherit;background:linear-gradient(125deg,rgba(51,51,51,0.5),transparent 28%,transparent 74%,rgba(54,16,8,0.06))}
html[data-theme="dark"] .simple-formula{border-radius:15px!important;background:linear-gradient(145deg,#372439,#341a3b)!important;border:1px solid #5b2e66!important}
html[data-theme="dark"] .simple-example{border-radius:15px!important;background:linear-gradient(145deg,#35342e,#493611)!important;border:1px solid #67582f!important}
html[data-theme="dark"] .simple-example:before{color:rgba(210,163,154,0.15)}
html[data-theme="dark"] .simple-note{border-radius:14px;background:linear-gradient(145deg,#452816,#47250f);border:1px solid #643d2c}
html[data-theme="dark"] .course-question-panel{background:linear-gradient(145deg,#4b354d,#36243b)!important;border:1px solid #8a6680!important;border-radius:22px!important}
html[data-theme="dark"] .course-question-panel:before{border:1px dashed rgba(98,82,42,0.19);border-radius:15px}
html[data-theme="dark"] .course-question-head{border-bottom:1px solid rgba(56,56,56,0.1)}
html[data-theme="dark"] .course-question-prompt{border:1px solid #66512e!important;border-left:5px solid #693c31!important;background:linear-gradient(145deg,#463518,#47300f)!important}
html[data-theme="dark"] .course-choice{background:linear-gradient(145deg,#684b68,#49334d);border:1px solid #886786}
html[data-theme="dark"] .course-choice.is-correct{background:linear-gradient(145deg,#333e1f,#2a3e19)!important;border-color:#476931;color:#d3e4d1}
html[data-theme="dark"] .course-choice.is-wrong{background:linear-gradient(145deg,#442a1b,#481c10)!important;border-color:#63392b;color:#e6c4cc}
html[data-theme="dark"] .course-feedback{border-radius:16px!important}
html[data-theme="dark"] .course-start-question{background:linear-gradient(145deg,#4b354d,#36243b)!important;border:1px solid #8a6680!important}
html[data-theme="dark"] .course-attempt-history{border-radius:12px}
html[data-theme="dark"] .linear-footnote{border:1px solid rgba(90,63,86,0.22);border-radius:12px;background:rgba(61,44,64,.44)}
@media(max-width:700px){html[data-theme="dark"] .linear-progress-head{border-radius:16px}html[data-theme="dark"] .course-question-panel{border-radius:17px!important}}
html[data-theme="dark"] .lesson-focus{border:1px solid #664a2e;border-right:5px solid #693c31;border-radius:14px;background:linear-gradient(145deg,#493111,#48280f)}
html[data-theme="dark"] .lesson-focus span{border-radius:8px;background:#371108;color:white}
html[data-theme="dark"] .lesson-focus b{color:#e2c5d2}
html[data-theme="dark"] .lesson-section-label{color:#d8a2a0}
html[data-theme="dark"] .simple-note b{color:#d9a5a1!important}
html[data-theme="dark"] .lesson-extra{border:1px solid #8a6680;border-radius:17px;background:linear-gradient(145deg,#49334b,#36243b)}
html[data-theme="dark"] .lesson-extra>summary{color:#ffe3a0}
html[data-theme="dark"] .lesson-extra>summary:after{border-radius:9px;background:#362808;color:#e5ced9}
html[data-theme="dark"] .lesson-extra-intro{color:#e7d2e0}
html[data-theme="dark"] .extra-rule-card,html[data-theme="dark"] .extra-warning-card,html[data-theme="dark"] .extra-trap-card{border:1px solid #614d29;border-radius:14px;background:linear-gradient(145deg,#463518,#47300f);color:#e1cad8}
html[data-theme="dark"] .extra-rule-card h3,html[data-theme="dark"] .extra-warning-card h3,html[data-theme="dark"] .extra-trap-card h3{color:#d9a2a1}
html[data-theme="dark"] .extra-rule-card p,html[data-theme="dark"] .extra-warning-card p,html[data-theme="dark"] .extra-trap-card p{color:#e1cad8}
html[data-theme="dark"] .extra-rule-example{border:1px dashed #c99d69;border-radius:10px;background:#3f3722;color:#e8d3e5}
html[data-theme="dark"] .extra-warning-card{background:linear-gradient(145deg,#472415,#471d0f);border-color:#64392c}
html[data-theme="dark"] .extra-warning-card h3{color:#d9a1a2}
html[data-theme="dark"] .extra-trap-card{background:linear-gradient(145deg,#331e3c,#31173c);border-color:#55355d}
html[data-theme="dark"] .extra-trap-card h3{color:#d7b8dd}
html[data-theme="dark"] .extra-ref-list{color:#e7d2e0}
html[data-theme="dark"] .extra-ref-list a{color:#ffdb80;text-decoration-thickness:1px}
html[data-theme="dark"] .extra-ref-list a:hover{color:white}
html[data-theme="dark"] .extra-reference-summary{color:#e4c9dd!important}
html[data-theme="dark"] .lesson-extra:focus-within{outline:2px solid #6a5932;outline-offset:3px}
html[data-theme="dark"] .lesson-card-label:before{color:#d49cb3}
html[data-theme="dark"] .lesson-explanation{background:linear-gradient(135deg,#34322f,#333333)!important;border-right:3px solid #662d42!important;border-radius:14px!important}
html[data-theme="dark"] .course-start-question{border-color:#572f3c!important;background:#37302d!important}
html[data-theme="dark"],html[data-theme="dark"] body{color:#fff8ee!important}
html[data-theme="dark"] body{background-color:#211824!important}
html[data-theme="dark"] .topbar{background:#211824!important;border-bottom-color:#78647a!important}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand:visited,html[data-theme="dark"] .brand strong{color:#fff8ee!important}
html[data-theme="dark"] .brand small{color:#efdfed!important}
html[data-theme="dark"] .linear-progress-head p,html[data-theme="dark"] .linear-progress-caption,html[data-theme="dark"] .linear-counter i,html[data-theme="dark"] .course-flow-steps li,html[data-theme="dark"] .linear-complete p{color:#f0e3ef!important}
html[data-theme="dark"] .course-flow-steps li.active,html[data-theme="dark"] .course-label{color:#ffe08c!important}
html[data-theme="dark"] .lesson-card{background:linear-gradient(145deg,#35332e,#443117)!important;color:#e9dde8!important}
html[data-theme="dark"] .lesson-card h2,html[data-theme="dark"] .lesson-explanation,html[data-theme="dark"] .simple-note p{color:#e9dde8!important}
html[data-theme="dark"] .lesson-focus b{color:#e9dde8!important}
html[data-theme="dark"] .simple-note{background:#343330!important;border-color:#5d4937!important;color:#e9dde8!important}
html[data-theme="dark"] .simple-note b,html[data-theme="dark"] .simple-example span,html[data-theme="dark"] .lesson-card-label{color:#e8b0c0!important}
html[data-theme="dark"] .simple-example{background:#333333!important;border-color:#5d4b31!important}
html[data-theme="dark"] .simple-example b,html[data-theme="dark"] .simple-formula span{color:#e9dde8!important}
html[data-theme="dark"] .course-question-panel{background:#382a3b!important;border-color:#806982!important;color:#fff8ee!important}
html[data-theme="dark"] .course-question-head,html[data-theme="dark"] .course-question-head b,html[data-theme="dark"] .course-action-hint{color:#fff8ee!important}
html[data-theme="dark"] .course-question-prompt{background:#44371b!important;color:#e9dde8!important}
html[data-theme="dark"] .course-choice{background:#59445b!important;color:#fff!important;border-color:#5b435e!important}
html[data-theme="dark"] .course-choice:hover:not(:disabled){background:#6a526c!important}
html[data-theme="dark"] .course-choice>span{color:#e9dde8!important;background:#3f3109!important}
html[data-theme="dark"] .course-feedback{color:#e9dde8!important}
html[data-theme="dark"] .course-feedback p{color:#e9dde8!important}
html[data-theme="dark"] .course-feedback.right{background:#2d3b21!important;color:#d9ecd8!important}
html[data-theme="dark"] .course-feedback.wrong{background:#44241b!important;color:#eec6cb!important}
html[data-theme="dark"] .course-response-summary span,html[data-theme="dark"] .course-attempt-history summary{color:#fff8ee!important}
html[data-theme="dark"] .course-response-summary strong,html[data-theme="dark"] .course-attempt-history b{color:#e9dde8!important}
html[data-theme="dark"] .btn{background:#401509!important;color:#efdfe9!important;border-color:#5e3426!important}
html[data-theme="dark"] .btn:hover{background:#44190c!important}
html[data-theme="dark"] .course-flow-steps li span{color:#fff!important;border-color:#5b445b!important}
html[data-theme="dark"] .course-flow-steps li.active span{background:#401509!important;color:#efdfe9!important}
html[data-theme="dark"] .zahra-credit{border-top:1px solid #725d74;color:#f5e9f2}
html[data-theme="dark"] .zahra-credit b{color:#ffe08c}
html[data-theme="dark"] .course-start-question p{color:#e9dde8!important}
html[data-theme="dark"] .course-start-question .btn{color:#efdfe9!important}
html[data-theme="dark"] .course-action-hint{color:#fff8ee!important}
html[data-theme="dark"] .zahra-credit{color:#fff8ee!important}
html[data-theme="dark"] .lesson-focus span{background:#77384b!important;color:#fff!important;border:1px solid #4e2532!important;border-radius:9px!important}
html[data-theme="dark"] .practice-view.quiz-session .quiz-question-kicker{color:#ffe08a!important}
html[data-theme="dark"] .practice-view.quiz-session .quiz-session-actions{color:#f6edf5!important}
html[data-theme="dark"] .practice-view.quiz-session .quiz-session-actions>span,html[data-theme="dark"] .practice-view.quiz-session .quiz-session-head>p,html[data-theme="dark"] .practice-view.quiz-session .quiz-score>span{color:#f6edf5!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct,html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct:disabled{background:#1d3e25!important;border:2px solid #176b39!important;border-left:6px solid #176b39!important;color:#d3f3de!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct>span{background:#176b39!important;color:#fff!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct>b,html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct>i{color:#d3f3de!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct>i{border-radius:20px;background:#0c441a!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong,html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong:disabled{background:#441d1b!important;border:2px solid #ae2530!important;border-left:6px solid #ae2530!important;color:#f4bcc1!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong>span{background:#ae2530!important;color:#fff!important}
html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong>b{color:#f4bcc1!important}
html[data-theme="dark"] .quiz-feedback.correct{background:#243a29!important;border:2px solid #287541!important;color:#d2f3dd!important}
html[data-theme="dark"] .quiz-feedback.incorrect{background:#3c2926!important;border:2px solid #ae2530!important;color:#f4bcc1!important}
html[data-theme="dark"] .quiz-feedback.correct>b,html[data-theme="dark"] .quiz-feedback.correct>p,html[data-theme="dark"] .quiz-feedback.correct>span,html[data-theme="dark"] .quiz-feedback.correct strong{color:#d2f3dd!important}
html[data-theme="dark"] .quiz-feedback.incorrect>b,html[data-theme="dark"] .quiz-feedback.incorrect>p,html[data-theme="dark"] .quiz-feedback.incorrect>span,html[data-theme="dark"] .quiz-feedback.incorrect strong{color:#f4bcc1!important}
html[data-theme="dark"] .quiz-answer-row.is-right{background:#243a29!important;border:1px solid #287541!important;border-right:5px solid #287541!important;color:#d2f3dd!important}
html[data-theme="dark"] .quiz-answer-row.is-wrong{background:#3c2926!important;border:1px solid #ae2530!important;border-right:5px solid #ae2530!important;color:#f4bcc1!important}
html[data-theme="dark"] .quiz-answer-row.is-right>div>b,html[data-theme="dark"] .quiz-answer-row.is-right p,html[data-theme="dark"] .quiz-answer-row.is-right small{color:#d2f3dd!important}
html[data-theme="dark"] .quiz-answer-row.is-wrong>div>b,html[data-theme="dark"] .quiz-answer-row.is-wrong p,html[data-theme="dark"] .quiz-answer-row.is-wrong small{color:#f4bcc1!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-correct,html[data-theme="dark"] .course-question-panel .course-choice.is-correct:disabled{background:#1d3e25!important;border:2px solid #176b39!important;color:#d3f3de!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-correct>span{background:#176b39!important;color:#fff!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-correct>b,html[data-theme="dark"] .course-question-panel .course-choice.is-correct>i{color:#d3f3de!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong,html[data-theme="dark"] .course-question-panel .course-choice.is-wrong:disabled{background:#441d1b!important;border:2px solid #ae2530!important;color:#f4bcc1!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>span{background:#ae2530!important;color:#fff!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>b{color:#f4bcc1!important}
html[data-theme="dark"] .course-feedback.right{background:#243a29!important;border:2px solid #287541!important;color:#d2f3dd!important}
html[data-theme="dark"] .course-feedback.right>b,html[data-theme="dark"] .course-feedback.right>p,html[data-theme="dark"] .course-feedback.right .course-response-summary,html[data-theme="dark"] .course-feedback.right .course-response-summary strong{color:#d2f3dd!important}
html[data-theme="dark"] .course-feedback.wrong{background:#3c2926!important;border:2px solid #ae2530!important;color:#f4bcc1!important}
html[data-theme="dark"] .course-feedback.wrong>b,html[data-theme="dark"] .course-feedback.wrong>p,html[data-theme="dark"] .course-feedback.wrong .course-response-summary,html[data-theme="dark"] .course-feedback.wrong .course-response-summary strong{color:#f4bcc1!important}
html[data-theme="dark"] .course-choice:focus-visible,html[data-theme="dark"] .unit-lesson-row:focus-visible,html[data-theme="dark"] .course-unit-card:focus-visible,html[data-theme="dark"] .quiz-set-card:focus-visible{outline:3px solid #62532a;outline-offset:3px}
html[data-theme="dark"] .lesson-focus:focus-visible{outline:3px solid #62532a;outline-offset:4px}
html[data-theme="dark"] .course-lesson-complete{border:1px solid #4c662e;border-radius:14px;background:linear-gradient(145deg,#333e1f,#2a3e19);color:#d3e4d1}
html[data-theme="dark"] .course-lesson-complete>span{border-radius:50%;background:#08391a;color:#d2f3dd}
html[data-theme="dark"] .course-lesson-complete p{color:#c1d9c4}
html[data-theme="dark"] .lesson-question-progress{color:#f0e3ef}
html[data-theme="dark"] .lesson-question-progress>span{border-radius:99px;background:#665168}
html[data-theme="dark"] .lesson-question-progress i{border-radius:inherit;background:linear-gradient(90deg,#401509,#42330a)}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong,html[data-theme="dark"] .course-question-panel .course-choice.is-wrong:disabled{background:#402c21!important;border:1px solid #66402e!important;color:#dfc9c5!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>span{background:#341407!important;color:#fff!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>b{color:#dfc9c5!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-selected.is-correct:before{border-radius:50%;background:#176b39;color:#fff}
html[data-theme="dark"] .course-question-panel .course-feedback.wrong{background:#402c21!important;border:1px solid #66402e!important;color:#dfc9c5!important}
html[data-theme="dark"] .course-question-panel .course-feedback.wrong>b,html[data-theme="dark"] .course-question-panel .course-feedback.wrong>p,html[data-theme="dark"] .course-question-panel .course-feedback.wrong .course-response-summary,html[data-theme="dark"] .course-question-panel .course-feedback.wrong .course-response-summary strong{color:#dfc9c5!important}
html[data-theme="dark"] .course-lesson-complete-check{border-radius:50%;background:#1d3e25;color:#bbf3d2}
html[data-theme="dark"] .course-lesson-complete-heading .course-label{color:#bfdec3!important}
html[data-theme="dark"] .course-lesson-complete-heading b{color:#d3eddb}
html[data-theme="dark"] .course-lesson-complete-heading p{color:#cae0cc}
html[data-theme="dark"] .course-lesson-complete-stats>span{border:1px solid rgba(23,107,57,.14);border-radius:9px;background:rgba(51,51,51,0.62);color:#c1dcc6}
html[data-theme="dark"] .course-lesson-complete-stats b{color:#bff3d2}
html[data-theme="dark"] .course-review-lesson{background:#333333!important;color:#cae0cc!important;border:1px solid #3b5736!important}
html[data-theme="dark"] .lesson-focus-icon{border:1px solid #63392b;border-radius:10px;background:#3f3622;color:#d8a3a0}
html[data-theme="dark"] .lesson-focus-label{border-radius:8px;background:#77384b;color:#fff}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete{border-radius:20px}
html[data-theme="dark"] .course-finish-last-answer{border:1px solid rgba(23,107,57,.17);border-radius:10px;background:rgba(51,51,51,0.64);color:#caedd5}
html[data-theme="dark"] .course-lesson-finish-view .course-finish-last-answer>p{color:#d3eddb!important}
html[data-theme="dark"] .course-finish-last-answer>small{color:#cae0cc}
html[data-theme="dark"] .course-finish-next-step{color:#cae0cc}
html[data-theme="dark"] .course-question-panel .course-feedback{border:1px solid #7d6284!important;border-radius:17px;background:linear-gradient(145deg,#49354e,#302435 82%)!important;color:#fff8e9!important}
html[data-theme="dark"] .course-question-panel .course-feedback.right{border-color:#316745!important}
html[data-theme="dark"] .course-question-panel .course-feedback.wrong{border-color:#673e2f!important}
html[data-theme="dark"] .course-feedback-heading{border-bottom:1px solid rgba(98,83,42,0.28)}
html[data-theme="dark"] .course-feedback-heading>span{border:2px solid #62532a;border-radius:11px;background:#493c11;color:#e8cbe2}
html[data-theme="dark"] .course-feedback.wrong .course-feedback-heading>span{border-color:#64392c;background:#482515;color:#e3b5c0}
html[data-theme="dark"] .course-feedback-heading small{color:#ffe08c}
html[data-theme="dark"] .course-feedback-heading b{color:#fff8e9}
html[data-theme="dark"] .course-answer-plate{border:1px solid #685930;border-inline-start:5px solid #64392c;border-radius:12px;background:linear-gradient(115deg,#3f3622,#372635);color:#e7dbeb}
html[data-theme="dark"] .course-answer-plate>span{color:#ddb7cd}
html[data-theme="dark"] .course-answer-plate>strong{color:#e7dbeb}
html[data-theme="dark"] .course-answer-plate.is-right{border-color:#35683c;border-inline-start-color:#3a7248;background:linear-gradient(115deg,#2a3d20,#1c3c1d)}
html[data-theme="dark"] .course-answer-plate.is-right>span{color:#bce8cd}
html[data-theme="dark"] .course-answer-plate.is-wrong{border-color:#65402d;border-inline-start-color:#6a3c32;background:linear-gradient(115deg,#402c21,#3f1e21)}
html[data-theme="dark"] .course-answer-plate.is-wrong>span{color:#e0abb4}
html[data-theme="dark"] .course-feedback-divider{color:#ffe08c}
html[data-theme="dark"] .course-feedback-divider>i{background:linear-gradient(90deg,transparent,rgba(66,51,10,0.75),transparent)}
html[data-theme="dark"] .course-feedback-divider>span{border:1px solid rgba(98,83,42,0.42);border-radius:99px;background:#39293f;color:#ffe08c}
html[data-theme="dark"] .course-feedback-explanation{border:1px solid #4b364f;border-inline-start:4px solid #693558;border-radius:10px;background:#372a35;color:#e5dae9}
html[data-theme="dark"] .course-feedback-explanation.is-right{border-color:#45642e;border-inline-start-color:#396e41;background:#353d20}
html[data-theme="dark"] .course-feedback-explanation.is-wrong{border-color:#633d2b;border-inline-start-color:#693e31;background:#402c21}
html[data-theme="dark"] .course-question-panel .course-feedback .course-feedback-explanation>p{color:#e5dae9!important}
html[data-theme="dark"] .course-feedback-example{border:1px dashed #c99559;border-radius:10px;background:#493c11;color:#e7d9e8}
html[data-theme="dark"] .course-feedback-example>span{color:#e4c5ac}
html[data-theme="dark"] .course-feedback-example>b{color:#e7d9e8}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete{border:2px solid #685830!important;border-radius:22px!important;background:linear-gradient(145deg,#3f3622 0%,#3f3622 54%,#372439 100%)!important;color:#e6daea!important}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete:before{color:#cdbb95}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-heading{border-bottom:1px dashed #5a3855}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-check{border:2px solid #6b5b33;background:linear-gradient(145deg,#463c0e,#412809);color:#e4c7dc}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-heading .course-label{color:#d9a5ba!important}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-heading b{color:#e6daea!important}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-heading p{color:#d5c4d6!important}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-stats>span{border:1px solid #644362;border-radius:12px;background:#45354b;color:#fff8e9}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-stats>span:nth-child(1){border-color:#6b5c33;background:linear-gradient(145deg,#44360c,#3a2b08);color:#e1d2e8}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-stats>span:nth-child(2){border-color:#35683c;background:linear-gradient(145deg,#2b4117,#0b400d);color:#cbead9}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-stats>span:nth-child(3){border-color:#67402f;background:linear-gradient(145deg,#44210c,#3d1109);color:#e7c7d8}
html[data-theme="dark"] .course-lesson-finish-view .course-lesson-complete-stats b{color:inherit}
html[data-theme="dark"] .course-finish-last-answer{border:1px solid #63436a;border-radius:15px;background:linear-gradient(145deg,#49354e,#332638);color:#fff8e9}
html[data-theme="dark"] .course-finish-answer-kicker{color:#ffe08c}
html[data-theme="dark"] .course-finish-answer-line{border:1px solid #316745;border-inline-start:5px solid #3a6d42;border-radius:12px;background:linear-gradient(115deg,#2d3e1e,#1d3b1d);color:#d0e7d8}
html[data-theme="dark"] .course-finish-answer-line>span{border-radius:50%;background:#365f48;color:#fff}
html[data-theme="dark"] .course-finish-answer-line small,html[data-theme="dark"] .course-finish-explanation>small{color:#bcd8c1}
html[data-theme="dark"] .course-finish-answer-line strong{color:#d0e7d8}
html[data-theme="dark"] .course-finish-last-answer .course-feedback-divider{color:#ffe08c}
html[data-theme="dark"] .course-finish-last-answer .course-feedback-divider>span{background:#39293f}
html[data-theme="dark"] .course-finish-explanation{border:1px solid #553751;border-inline-start:4px solid #64392c;border-radius:10px;background:#3f3622;color:#e6d9e8}
html[data-theme="dark"] .course-lesson-finish-view .course-finish-explanation>p{color:#e6d9e8!important}
html[data-theme="dark"] .course-lesson-finish-view .course-finish-next-step{border-inline-start:4px solid #d5a94d;border-radius:7px;background:#382635;color:#e5cde5!important}
html[data-theme="dark"] .course-lesson-finish-view .course-finish-actions .btn{border:1px solid #8e4769!important;background:linear-gradient(145deg,#421d0a,#3d1009)!important;color:#e9d7e6!important}
html[data-theme="dark"] .course-lesson-finish-view .course-finish-actions .btn.secondary{border-color:#6c5274!important;background:linear-gradient(145deg,#5b4360,#3d2d43)!important;color:#fff4da!important}
html[data-theme="dark"] .course-question-panel .course-feedback.right{background:linear-gradient(145deg,#49354e,#302435 82%)!important}
html[data-theme="dark"] .course-question-panel .course-feedback.wrong{background:linear-gradient(145deg,#49354e,#302435 82%)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="form"]{border-color:#56335e!important;border-right-color:#80508a!important;background:linear-gradient(145deg,#352439,#321a3c)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="time"]{border-color:#2e5a66!important;border-right-color:#3d8798!important;background:linear-gradient(145deg,#24383a,#183a3f)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="contrast"]{border-color:#32613d!important;border-right-color:#4e9364!important;background:linear-gradient(145deg,#2c3c21,#1f3c1b)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="question"]{border-color:#313258!important;border-right-color:#393d72!important;background:linear-gradient(145deg,#28263a,#20203b)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="sequence"]{border-color:#695c31!important;border-right-color:#b58033!important;background:linear-gradient(145deg,#493b11,#45370c)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="caution"]{border-color:#653b2d!important;border-right-color:#c85c4c!important;background:linear-gradient(145deg,#402d20,#492011)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="meaning"]{border-color:#685730!important;border-right-color:#d28c34!important;background:linear-gradient(145deg,#4a3b12,#46330e)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="evidence"]{border-color:#30685e!important;border-right-color:#398879!important;background:linear-gradient(145deg,#243a30,#173f32)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="writing"]{border-color:#684b2f!important;border-right-color:#c46e40!important;background:linear-gradient(145deg,#473317,#462b0e)!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="form"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="form"] .lesson-focus-icon{background:#714477!important;border-color:#51315d!important;color:#fff5dc!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="time"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="time"] .lesson-focus-icon{background:#276a7c!important;border-color:#1d5364!important;color:#effcff!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="contrast"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="contrast"] .lesson-focus-icon{background:#39734c!important;border-color:#2a5b3c!important;color:#f2ffe9!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="question"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="question"] .lesson-focus-icon{background:#4e528c!important;border-color:#393e73!important;color:#f5f3ff!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="sequence"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="sequence"] .lesson-focus-icon{background:#78511f!important;border-color:#573915!important;color:#fff5d8!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="caution"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="caution"] .lesson-focus-icon{background:#8f3f4e!important;border-color:#702e40!important;color:#fff2e8!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="meaning"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="meaning"] .lesson-focus-icon{background:#8c5c22!important;border-color:#684318!important;color:#fff5dd!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="evidence"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="evidence"] .lesson-focus-icon{background:#28695f!important;border-color:#1d5149!important;color:#effff8!important}
html[data-theme="dark"] .lesson-focus[data-focus-type="writing"] .lesson-focus-label,html[data-theme="dark"] .lesson-focus[data-focus-type="writing"] .lesson-focus-icon{background:#884f33!important;border-color:#673a26!important;color:#fff4e9!important}
@media(max-width:700px){html[data-theme="dark"] .course-question-panel.has-response .course-question-actions{border-top:1px solid rgba(98,83,42,0.18);background:linear-gradient(180deg,rgba(33,24,36,0),rgba(33,24,36,.96) 25%,#211824 100%)}html[data-theme="dark"] .course-lesson-finish-view .course-finish-actions{border-top:1px solid rgba(98,83,42,0.18);background:linear-gradient(180deg,rgba(33,24,36,0),rgba(33,24,36,.96) 25%,#211824 100%)}}
html[data-theme="dark"] .course-finish-personal-message{color:#e3c8ab!important}
html[data-theme="dark"] .lesson-focus-title{color:#dec8e1}
html[data-theme="dark"] .lesson-focus .lesson-focus-label{border-radius:8px}
html[data-theme="dark"] .lesson-focus .lesson-focus-icon{border-radius:10px}
html[data-theme="dark"] .lesson-focus-icon svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .lesson-focus .lesson-focus-copy{color:#e2d7e7}
html[data-theme="dark"] .lesson-focus::before{border-radius:999px;background:var(--focus-rail,#714477)}
html[data-theme="dark"] .lesson-focus.is-entering::after{background:linear-gradient(100deg,transparent,rgba(51,51,51,0.58),rgba(51,51,51,0.12),transparent)}
html[data-theme="dark"] .lesson-focus{border-radius:16px!important}
html[data-theme="dark"] .lesson-focus .lesson-focus-icon{border-radius:11px}
html[data-theme="dark"] .lesson-focus .lesson-focus-label{border:1px solid rgba(45,34,49,.12);border-radius:999px}
html[data-theme="dark"] .lesson-focus .lesson-focus-copy{border:1px solid rgba(57,42,58,.12);border-inline-start:3px solid var(--focus-rail,#714477);border-radius:10px;background:rgba(51,51,51,0.56);color:#e3d9e8!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-correct{border:1.5px solid #5f9b70!important;background:linear-gradient(110deg,#2e3a26,#213a21)!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong{border:1.5px solid #6a4032!important;background:linear-gradient(110deg,#3f3122,#41241c)!important}
html[data-theme="dark"] .course-choice.is-correct>span{background:#39744d!important;color:#fff!important}
html[data-theme="dark"] .course-choice.is-wrong>span{background:#b96650!important;color:#fff!important}
html[data-theme="dark"] .course-choice .choice-state{border:1px solid #386546;border-radius:999px;background:#30392b;color:#c2edd3!important}
html[data-theme="dark"] .course-choice .choice-state>span:first-child{border-radius:50%;background:#39744d;color:#fff}
html[data-theme="dark"] .course-choice .choice-state.is-wrong-state{border-color:#663f2e;background:#35322f;color:#e5baad!important}
html[data-theme="dark"] .course-choice .choice-state.is-wrong-state>span:first-child{background:#b96650}
html[data-theme="dark"] .course-feedback-heading small{border:1px solid rgba(98,83,42,0.38);border-radius:999px;background:rgba(63,54,34,0.08)}
html[data-theme="dark"] .course-feedback.wrong .course-feedback-heading small{border-color:rgba(98,57,42,0.46);color:#ffd3bd}
html[data-theme="dark"] .course-answer-plate.is-right>span:before{border-radius:50%;background:#39744d;color:white}
html[data-theme="dark"] .course-answer-plate.is-wrong>span:before{border-radius:50%;background:#b96650;color:white}
html[data-theme="dark"] .course-feedback-explanation{border-radius:12px}
html[data-theme="dark"] .course-feedback-example{border-style:solid;border-color:#695931;background:linear-gradient(110deg,#483d16,#493a11)}
html[data-theme="dark"] .course-choice .choice-state.is-wrong-state>span:first-child{background:#A64F3D}
html[data-theme="dark"] .course-feedback-heading>span{border:0;border-radius:50%;background:#39744d;color:#fff}
html[data-theme="dark"] .course-feedback.wrong .course-feedback-heading>span{border:0;background:#A64F3D;color:#fff}
html[data-theme="dark"] .course-feedback-divider>span{border-radius:8px;background:#35283b;color:#fff2c6}
html[data-theme="dark"] .course-feedback-details,html[data-theme="dark"] .quiz-feedback-details{border-top:1px dashed rgba(86,55,73,.25)}
html[data-theme="dark"] .course-feedback-details summary,html[data-theme="dark"] .quiz-feedback-details summary{color:#e0abb4}
html[data-theme="dark"] .course-feedback-details summary:before,html[data-theme="dark"] .quiz-feedback-details summary:before{border-radius:50%;background:#3d261d;color:#e0abb4}
html[data-theme="dark"] .mistake-answer-grid p,html[data-theme="dark"] .quiz-answer-compare p{border:1px solid #4a3d38;border-radius:8px;background:#343230}
html[data-theme="dark"] .mistake-answer-grid p:first-child,html[data-theme="dark"] .quiz-answer-compare p:first-child{border-inline-start:3px solid #66402e}
html[data-theme="dark"] .mistake-answer-grid p:last-child,html[data-theme="dark"] .quiz-answer-compare p:last-child{border-inline-start:3px solid #436643}
html[data-theme="dark"] .mistake-answer-grid small,html[data-theme="dark"] .quiz-answer-compare small{color:#c6b8b6}
html[data-theme="dark"] .mistake-answer-grid b,html[data-theme="dark"] .quiz-answer-compare strong{color:#e9dde8}
html[data-theme="dark"] .mistake-reason,html[data-theme="dark"] .quiz-review-explanation{border-inline-start:3px solid #693558;border-radius:7px;background:#352e32}
html[data-theme="dark"] .mistake-reason>b,html[data-theme="dark"] .quiz-review-explanation>b{color:#e0abb4}
html[data-theme="dark"] .mistake-reason p,html[data-theme="dark"] .quiz-review-explanation p{color:#d8c7d0}
html[data-theme="dark"] body{background:linear-gradient(145deg,#342f2c 0%,#35322f 48%,#362830 100%)!important;color:var(--notebook-ink)}
html[data-theme="dark"] body:before{background:radial-gradient(circle at 8% 4%,rgba(58,17,8,0.13),transparent 28%),radial-gradient(circle at 94% 88%,rgba(103,61,97,.10),transparent 30%)!important}
html[data-theme="dark"] .topbar{background:rgba(53,50,46,0.9)!important;border-bottom:1px solid rgba(103,61,97,.13)!important}
html[data-theme="dark"] .topbar .brand strong{color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .topbar .brand small{color:var(--notebook-muted)!important}
html[data-theme="dark"] .logo{background:linear-gradient(145deg,#3d2b09,#3a1108)!important;color:#fffaf2!important}
html[data-theme="dark"] .sidebar{background:rgba(53,50,46,0.72)!important;border-inline-end:1px solid rgba(103,61,97,.12)!important}
html[data-theme="dark"] .side-label,html[data-theme="dark"] .sidebar .nav,html[data-theme="dark"] .mission,html[data-theme="dark"] .side-note{color:var(--notebook-muted)!important}
html[data-theme="dark"] .sidebar .nav{border-color:transparent!important}
html[data-theme="dark"] .sidebar .nav.active{background:#3b2621!important;color:var(--notebook-plum-dark)!important;border-color:#553630!important}
html[data-theme="dark"] .mission{background:#35322e!important;border-color:#4b3c34!important}
html[data-theme="dark"] .mission strong{color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .side-note{background:#37282f!important;border-color:#4d3742!important}
html[data-theme="dark"] .side-note span{color:var(--notebook-peach)!important}
html[data-theme="dark"] .linear-progress-head h1{color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .linear-progress-head p{color:var(--notebook-muted)!important}
html[data-theme="dark"] .course-label{color:var(--notebook-peach)!important}
html[data-theme="dark"] .linear-counter{background:#3b2621!important;border-color:#543731!important;color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .linear-progress{background:#3a261e!important}
html[data-theme="dark"] .linear-progress i{background:linear-gradient(90deg,#d3a34f,#3a1108)!important}
html[data-theme="dark"] .linear-progress-caption{color:var(--notebook-muted)!important}
html[data-theme="dark"] .course-flow-steps{border-color:var(--notebook-line)!important}
html[data-theme="dark"] .course-flow-steps:before{background:#3a261e!important}
html[data-theme="dark"] .course-flow-steps li{color:var(--notebook-muted)!important}
html[data-theme="dark"] .course-flow-steps li span{background:#35322e!important;border-color:#4d3c39!important;color:var(--notebook-muted)!important}
html[data-theme="dark"] .course-flow-steps li.active,html[data-theme="dark"] .course-flow-steps li.done{color:var(--notebook-plum)!important}
html[data-theme="dark"] .course-flow-steps li.active span,html[data-theme="dark"] .course-flow-steps li.done span{background:#422017!important;border-color:#63352b!important;color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .lesson-card{background:var(--notebook-paper)!important;border:1px solid var(--notebook-line)!important;border-radius:24px!important;color:var(--notebook-ink)!important}
html[data-theme="dark"] .lesson-card:before{background:linear-gradient(#3a1108,#d3a34f)}
html[data-theme="dark"] .lesson-card-label{color:var(--notebook-peach)!important}
html[data-theme="dark"] .lesson-card h2{color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .lesson-one-line{border:1px solid #503c31;border-radius:12px;background:#3e2e24;color:#d9c1ce}
html[data-theme="dark"] .lesson-one-line span{color:#cfa197}
html[data-theme="dark"] .lesson-focus{background:#352b35!important;border-color:#4d394e!important;border-inline-start-color:#8c5e85!important}
html[data-theme="dark"] .lesson-focus-title{color:var(--notebook-plum)!important}
html[data-theme="dark"] .lesson-focus-label{background:#372138!important;color:#dbbbdc!important}
html[data-theme="dark"] .lesson-focus-copy{color:#ddcade!important}
html[data-theme="dark"] .lesson-section-label{color:#d19b99!important}
html[data-theme="dark"] .lesson-explanation{color:#d8c7d0!important}
html[data-theme="dark"] .simple-formula{background:#362737!important;border-color:#4e3652!important;color:#e2c9e5!important}
html[data-theme="dark"] .simple-example{background:#483916!important;border-color:#65562c!important}
html[data-theme="dark"] .simple-example span{color:#e0cca8!important}
html[data-theme="dark"] .simple-example b{color:#e5d5e6!important}
html[data-theme="dark"] .simple-note{background:#303827!important;border-color:#3e5235!important}
html[data-theme="dark"] .simple-note b{color:#bbd8b4!important}
html[data-theme="dark"] .simple-note p{color:#c4d8bf!important}
html[data-theme="dark"] .course-start-question{background:#35322e!important;border-color:#4f3c34!important}
html[data-theme="dark"] .course-start-question p{color:#d5c4d3!important}
html[data-theme="dark"] .btn{background:linear-gradient(105deg,#3a1108,#370808)!important;border-color:#c66a6d!important;color:#fffaf2!important}
html[data-theme="dark"] .btn.secondary{background:#36272c!important;color:var(--notebook-plum-dark)!important;border-color:#513842!important}
html[data-theme="dark"] .course-question-panel{background:var(--notebook-paper)!important;border-color:var(--notebook-line)!important}
html[data-theme="dark"] .course-question-head b,html[data-theme="dark"] .course-question-prompt{color:var(--notebook-plum-dark)!important}
html[data-theme="dark"] .course-choice{background:#343331!important;border-color:#4a3c37!important;color:#e2d0e3!important}
html[data-theme="dark"] .course-choice:hover{border-color:#66362e!important;background:#35312e!important}
html[data-theme="dark"] .course-choice.is-correct{background:#2e3827!important;border-color:#3f5f35!important}
html[data-theme="dark"] .course-choice.is-wrong{background:#3d2a25!important;border-color:#63372b!important}
html[data-theme="dark"] .course-action-hint{color:var(--notebook-muted)!important}
@media(max-width:700px){html[data-theme="dark"] .lesson-card{border-radius:19px!important}html[data-theme="dark"] .course-question-panel{border-radius:18px!important}}
/* welcome-glass.css */
html[data-theme="dark"] .welcome-screen{background:radial-gradient(ellipse at 14% 16%,rgba(59,41,8,0.25),transparent 30%),radial-gradient(ellipse at 88% 82%,rgba(54,14,8,0.2),transparent 32%),radial-gradient(ellipse at 54% 108%,rgba(147,109,178,.22),transparent 42%),linear-gradient(137deg,#191723 0%,#282035 48%,#3c293e 100%);color:#fff8ec}
html[data-theme="dark"] .welcome-screen:before,html[data-theme="dark"] .welcome-screen:after{border-radius:50%}
html[data-theme="dark"] .welcome-screen:before{border:1px solid rgba(56,56,56,0.09)}
html[data-theme="dark"] .welcome-screen:after{border:1px solid rgba(96,72,40,0.17)}
html[data-theme="dark"] .welcome-card{border:1px solid rgba(56,56,56,0.22);border-radius:32px;background:linear-gradient(135deg,rgba(51,51,51,0.145),rgba(51,51,51,0.065) 48%,rgba(51,51,51,0.095))}
html[data-theme="dark"] .welcome-card:before{background:linear-gradient(90deg,transparent,rgba(51,51,51,0.7),transparent)}
html[data-theme="dark"] .welcome-topline{border-bottom:1px solid rgba(56,56,56,0.14)}
html[data-theme="dark"] .welcome-mark{border:1px solid rgba(56,56,56,0.38);border-radius:15px;background:linear-gradient(145deg,#422f0a,#371508 54%,#ae5667);color:#e7d7e8}
html[data-theme="dark"] .welcome-brand-copy b{color:#fff8ec}
html[data-theme="dark"] .welcome-brand-copy span{color:#d8cbd9}
html[data-theme="dark"] .welcome-grade{border:1px solid rgba(96,74,39,0.32);border-radius:20px;background:rgba(71,49,14,0.1);color:#ffe5b5}
html[data-theme="dark"] .welcome-grade:before{border-radius:50%;background:#3c2909}
html[data-theme="dark"] .welcome-eyebrow{border:1px solid rgba(95,72,39,0.25);border-radius:30px;background:rgba(51,51,51,0.08);color:#ffdc9a}
html[data-theme="dark"] .welcome-eyebrow:before{border-radius:50%;background:#3d1e09}
html[data-theme="dark"] .welcome-card h1{color:#fff9f0}
html[data-theme="dark"] .welcome-card h1 em{background:linear-gradient(95deg,#44310c 8%,#42240a 48%,#420a0f 100%);background-clip:text;color:transparent}
html[data-theme="dark"] .welcome-description{color:#e0d5e0}
html[data-theme="dark"] .welcome-highlight{border:1px solid rgba(56,56,56,0.12);border-radius:12px;background:rgba(15,11,22,.18);color:#e9dfeb}
html[data-theme="dark"] .welcome-highlight b{color:#ffda99}
html[data-theme="dark"] .welcome-steps>span{border:1px solid rgba(56,56,56,0.14);border-radius:14px;background:linear-gradient(145deg,rgba(51,51,51,0.11),rgba(51,51,51,0.045));color:#fff7e9}
html[data-theme="dark"] .welcome-steps>span>b{border:1px solid rgba(94,73,38,0.32);border-radius:10px;background:rgba(65,44,9,0.14);color:#ffdc9a}
html[data-theme="dark"] .welcome-step-copy small{color:#d6c8d9}
html[data-theme="dark"] .welcome-start{border:1px solid rgba(82,69,41,0.46);border-radius:17px;background:linear-gradient(105deg,#412e09 0%,#3c1b09 46%,#3c0909 100%);color:#e7d8e9}
html[data-theme="dark"] .welcome-start:focus-visible{outline:3px solid #584b25;outline-offset:5px}
html[data-theme="dark"] .welcome-start span{border:1px solid rgba(61,35,46,.16);border-radius:10px;background:rgba(51,51,51,0.35)}
html[data-theme="dark"] .welcome-save-note{color:#d8ccd9}
html[data-theme="dark"] .welcome-save-note:before{color:#bde4bd}
html[data-theme="dark"] .welcome-visual:before{border:1px solid rgba(95,74,39,0.2);border-radius:50%}
html[data-theme="dark"] .welcome-orbit-ring{border:1px dashed rgba(56,56,56,0.13);border-radius:50%}
html[data-theme="dark"] .welcome-glass-book{border:1px solid rgba(56,56,56,0.3);border-radius:26px;background:linear-gradient(145deg,rgba(51,51,51,0.23),rgba(51,51,51,0.08) 55%,rgba(51,51,51,0.14))}
html[data-theme="dark"] .welcome-glass-book:after{background:linear-gradient(90deg,#402d09,#3c1209,#3a0820)}
html[data-theme="dark"] .welcome-book-top{color:#fff2dc}
html[data-theme="dark"] .welcome-book-mark{border:1px solid rgba(56,56,56,0.25);border-radius:10px;background:rgba(51,51,51,0.12);color:#ffdf9f}
html[data-theme="dark"] .welcome-book-orbit{border:1px solid rgba(91,71,35,0.46);border-radius:50%;background:radial-gradient(circle,rgba(74,55,18,0.21),rgba(51,51,51,0.035) 67%)}
html[data-theme="dark"] .welcome-book-orbit:before,html[data-theme="dark"] .welcome-book-orbit:after{border:1px solid rgba(56,56,56,0.17);border-radius:50%}
html[data-theme="dark"] .welcome-book-letters{color:#fff0cc}
html[data-theme="dark"] .welcome-book-title{color:#fff8ec}
html[data-theme="dark"] .welcome-book-subtitle{color:#e3d5e2}
html[data-theme="dark"] .welcome-book-footer{color:#eaddeb}
html[data-theme="dark"] .welcome-book-progress i{border-radius:5px;background:rgba(51,51,51,0.24)}
html[data-theme="dark"] .welcome-book-progress i:first-child{background:#43300b}
html[data-theme="dark"] .welcome-float{border:1px solid rgba(56,56,56,0.24);border-radius:15px;background:linear-gradient(140deg,rgba(51,51,51,0.2),rgba(51,51,51,0.08));color:#fff8ec}
html[data-theme="dark"] .welcome-float b{border-radius:9px;background:rgba(67,46,11,0.2);color:#ffe09d}
html[data-theme="dark"] .welcome-float small{color:#e1d4e2}
html[data-theme="dark"] .welcome-footer{color:rgba(255,248,236,.64)}
@media(max-width:760px){html[data-theme="dark"] .welcome-card{border-radius:25px}html[data-theme="dark"] .welcome-mark{border-radius:13px}html[data-theme="dark"] .welcome-glass-book{border-radius:20px}html[data-theme="dark"] .welcome-float{border-radius:12px}html[data-theme="dark"] .welcome-steps>span{border-radius:11px}html[data-theme="dark"] .welcome-steps>span>b{border-radius:8px}html[data-theme="dark"] .welcome-start{border-radius:14px}}
html[data-theme="dark"] .welcome-card{border-radius:27px}
html[data-theme="dark"] .welcome-brand-copy span{color:#d8cbd9}
html[data-theme="dark"] .welcome-counts{color:#e5d9e5}
html[data-theme="dark"] .welcome-counts b{color:#ffdc9a}
html[data-theme="dark"] .welcome-counts i{color:#cdbdd0}
html[data-theme="dark"] .welcome-steps>span{border:0;border-radius:0;background:none;color:#f7edf2}
html[data-theme="dark"] .welcome-steps>span>b{border-radius:50%;background:rgba(65,44,9,0.14)}
html[data-theme="dark"] .welcome-steps>i{color:#e9be7d}
@media(max-width:760px){html[data-theme="dark"] .welcome-card{border-radius:22px}html[data-theme="dark"] .welcome-mark{border-radius:11px}html[data-theme="dark"] .welcome-glass-book{border-radius:17px}html[data-theme="dark"] .welcome-book-mark{border-radius:7px}html[data-theme="dark"] .welcome-start{border-radius:13px}}
html[data-theme="dark"] .welcome-screen{background:radial-gradient(ellipse at 12% 10%,rgba(53,8,24,0.32),transparent 35%),radial-gradient(ellipse at 88% 86%,rgba(53,28,8,0.24),transparent 33%),linear-gradient(142deg,#171522 0%,#271b37 50%,#38213d 100%)}
html[data-theme="dark"] .welcome-card{border:1px solid rgba(99,80,43,0.48);border-radius:27px;background:linear-gradient(145deg,#482a4c 0%,#382541 56%,#302341 100%)}
html[data-theme="dark"] .welcome-card:before{background:linear-gradient(90deg,transparent,#402e09 25%,#3f0b09 72%,transparent)}
html[data-theme="dark"] .welcome-topline{border-color:rgba(56,56,56,0.17)}
html[data-theme="dark"] .welcome-mark{background:linear-gradient(145deg,#402e09,#3c1b09 55%,#3a0812)}
html[data-theme="dark"] .welcome-grade{border-color:rgba(99,79,43,0.48);background:#5b354e;color:#ffe39e}
html[data-theme="dark"] .welcome-eyebrow{border:1px solid rgba(100,83,44,0.42);background:#63354f;color:#ffe096}
html[data-theme="dark"] .welcome-card h1 em{background:linear-gradient(90deg,#3f3009,#3a2308 48%,#420a13 93%);background-clip:text;color:transparent}
html[data-theme="dark"] .welcome-description{color:#f5eaf4}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card{border:1px solid rgba(56,56,56,0.22);border-radius:16px;color:#fffaf0}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(1){background:linear-gradient(145deg,#74447f,#563161)}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(2){background:linear-gradient(145deg,#ad4f68,#7b354f)}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(3){background:linear-gradient(145deg,#bf7043,#8d493b)}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card>b{border:1px solid rgba(91,76,35,0.48);border-radius:11px;background:linear-gradient(145deg,#44350c,#392308);color:#e7cee1}
html[data-theme="dark"] .welcome-step-copy small{color:#fff0e9}
html[data-theme="dark"] .welcome-start{border:1px solid #5c4f24;background:linear-gradient(100deg,#3e3009,#3b2008 52%,#3f090c);color:#e7d5ea}
html[data-theme="dark"] .welcome-save-note{color:#ebddea}
@media(max-width:760px){html[data-theme="dark"] .welcome-card{border-radius:23px}html[data-theme="dark"] .welcome-steps>span.welcome-step-card{border-radius:13px}html[data-theme="dark"] .welcome-steps>span.welcome-step-card>b{border-radius:8px}}
html[data-theme="dark"] .welcome-personal{border:1px solid rgba(99,79,43,0.48);border-radius:22px;background:#5b354e;color:#ffe39e}
html[data-theme="dark"] .welcome-screen{background:radial-gradient(circle at 12% 8%,rgba(58,17,8,0.18),transparent 30%),radial-gradient(circle at 92% 90%,rgba(103,61,97,.12),transparent 34%),#332f2c!important;color:#e4d8e8!important}
html[data-theme="dark"] .welcome-screen:before{border-color:rgba(211,163,79,.25)}
html[data-theme="dark"] .welcome-screen:after{border-color:rgba(103,61,97,.18)}
html[data-theme="dark"] .welcome-card{border:1px solid #503b34!important;border-radius:28px!important;background:#35322f!important;color:#e4d8e8!important}
html[data-theme="dark"] .welcome-card:before{background:linear-gradient(90deg,transparent,#3a1108 30%,#d3a34f 70%,transparent)!important}
html[data-theme="dark"] .welcome-topline{border-color:#4a3b35!important}
html[data-theme="dark"] .welcome-mark{background:linear-gradient(145deg,#3d2b09,#3a1108)!important;color:#fffaf2!important}
html[data-theme="dark"] .welcome-brand-copy b{color:#e1bbdc!important}
html[data-theme="dark"] .welcome-brand-copy span{color:#c4adbf!important}
html[data-theme="dark"] .welcome-personal{border-color:#58372f!important;background:#3e2a24!important;color:#d19e99!important}
html[data-theme="dark"] .welcome-card h1{color:#e7cde5!important}
html[data-theme="dark"] .welcome-card h1 em{background:linear-gradient(90deg,#b8685f,#d3a34f)!important;background-clip:text!important}
html[data-theme="dark"] .welcome-description{color:#cfbed0!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card{border:1px solid #4d3a34!important;background:#343331!important;color:#e7cde5!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(1){background:#372736!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(2){background:#3f2c22!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(3){background:#463918!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card>b{background:#35332e!important;border-color:#634e2b!important;color:#e0b4c9!important}
html[data-theme="dark"] .welcome-step-copy small{color:#c5b4c1!important}
html[data-theme="dark"] .welcome-start{background:linear-gradient(105deg,#3a1108,#370808)!important;border-color:#c66a6d!important;color:#fffaf2!important}
html[data-theme="dark"] .welcome-save-note{color:#c5b4c1!important}
html[data-theme="dark"] .welcome-save-note:before{color:#a6cea0!important}
@media(max-width:760px){html[data-theme="dark"] .welcome-card{border-radius:22px!important}}
/* warm-study-theme.css */
html[data-theme="dark"],html[data-theme="dark"] body{background:var(--paper)!important;color:var(--ink)!important}
html[data-theme="dark"] body{background-image:none!important}
html[data-theme="dark"] .topbar{background:rgba(53,50,46,0.94)!important;border-bottom:1px solid var(--line)!important}
html[data-theme="dark"] .brand,html[data-theme="dark"] .brand:visited,html[data-theme="dark"] .brand strong{color:var(--ink)!important}
html[data-theme="dark"] .brand small{color:var(--muted)!important}
html[data-theme="dark"] .logo{border:0!important;border-radius:12px!important;background:var(--lavender)!important;color:var(--plum,#e1bbdc)!important}
html[data-theme="dark"] .course-label,html[data-theme="dark"] .lesson-card-label,html[data-theme="dark"] .lesson-section-label,html[data-theme="dark"] .simple-example span,html[data-theme="dark"] .simple-note b{color:#ddb4d7!important}
html[data-theme="dark"] .linear-progress-head{border:1px solid var(--line)!important;border-radius:16px!important;background:var(--paper-deep)!important}
html[data-theme="dark"] .linear-progress-head h1{color:var(--ink)!important}
html[data-theme="dark"] .linear-progress-head p,html[data-theme="dark"] .linear-progress-caption{color:var(--muted)!important}
html[data-theme="dark"] .linear-counter{border:1px solid var(--line)!important;border-radius:12px!important;background:#34322f!important;color:#ddb4d7!important}
html[data-theme="dark"] .linear-counter i{color:var(--muted)!important}
html[data-theme="dark"] .linear-progress{border:0!important;background:#312c29!important}
html[data-theme="dark"] .linear-progress i,html[data-theme="dark"] .lesson-question-progress i{background:var(--coral)!important}
html[data-theme="dark"] .course-flow-steps li{color:var(--muted)!important}
html[data-theme="dark"] .course-flow-steps li span{border:1px solid var(--line)!important;background:#34322f!important;color:var(--ink-soft)!important}
html[data-theme="dark"] .course-flow-steps li.active{color:#ddb4d7!important}
html[data-theme="dark"] .course-flow-steps li.active span{border-color:#74476E!important;background:#74476E!important;color:white!important}
html[data-theme="dark"] .lesson-card,html[data-theme="dark"] .question-card{border:1px solid var(--line)!important;border-radius:19px!important;background:var(--card)!important;color:var(--ink)!important}
html[data-theme="dark"] .lesson-card h2{color:var(--ink)!important}
html[data-theme="dark"] .lesson-one-line{border-inline-start:3px solid var(--yellow);border-radius:10px;background:#403621;color:var(--ink-soft)}
html[data-theme="dark"] .lesson-one-line span{color:#e3cdab}
html[data-theme="dark"] .lesson-focus{border:1px solid #53412f!important;border-inline-start:3px solid var(--yellow)!important;border-radius:12px!important;background:#35322d!important}
html[data-theme="dark"] .lesson-focus-icon{border-radius:9px;background:#40351c;color:#e2cdaa}
html[data-theme="dark"] .lesson-focus-icon svg{fill:none;stroke:currentColor}
html[data-theme="dark"] .lesson-focus-title{color:#e8ceb0}
html[data-theme="dark"] .lesson-focus-label{color:var(--muted)}
html[data-theme="dark"] .lesson-focus .lesson-focus-copy{border:0;background:none;color:var(--ink-soft)!important}
html[data-theme="dark"] .lesson-explanation{border:0!important;border-radius:0!important;background:transparent!important;color:var(--ink-soft)!important}
html[data-theme="dark"] .simple-formula{border:1px solid var(--line)!important;border-radius:12px!important;background:#33302d!important}
html[data-theme="dark"] .simple-formula span{border:0!important;background:transparent!important;color:#dec7dd!important}
html[data-theme="dark"] .simple-example{border:1px solid #514331!important;border-inline-start:3px solid var(--coral)!important;border-radius:12px!important;background:#35322f!important}
html[data-theme="dark"] .simple-example b{color:#e4d8e8!important}
html[data-theme="dark"] .grammar-token{border-radius:4px;background:#442a19;color:#dda5ac}
html[data-theme="dark"] .simple-note{border:1px solid var(--line)!important;border-radius:12px!important;background:#33302e!important;color:var(--ink-soft)!important}
html[data-theme="dark"] .simple-note p{color:var(--ink-soft)!important}
html[data-theme="dark"] .lesson-extra{border:1px solid var(--line)!important;border-radius:13px!important;background:#34312e!important}
html[data-theme="dark"] .lesson-extra>summary{color:#ddb4d7!important}
html[data-theme="dark"] .lesson-extra>summary:after{background:#362734!important;color:#ddb4d7!important}
html[data-theme="dark"] .extra-rule-card,html[data-theme="dark"] .extra-warning-card,html[data-theme="dark"] .extra-trap-card{border:1px solid var(--line)!important;border-radius:11px!important;background:#343331!important;color:var(--ink)!important}
html[data-theme="dark"] .extra-rule-card h3,html[data-theme="dark"] .extra-warning-card h3,html[data-theme="dark"] .extra-trap-card h3{color:#ddb4d7!important}
html[data-theme="dark"] .extra-rule-card p,html[data-theme="dark"] .extra-warning-card p,html[data-theme="dark"] .extra-trap-card p{color:var(--ink-soft)!important}
html[data-theme="dark"] .course-start-question{border:1px solid var(--line)!important;border-radius:13px!important;background:var(--paper-deep)!important;color:var(--ink)!important}
html[data-theme="dark"] .course-start-question p{color:var(--ink-soft)!important}
html[data-theme="dark"] .course-question-panel{border:1px solid var(--line)!important;border-radius:17px!important;background:var(--card)!important;color:var(--ink)!important}
html[data-theme="dark"] .course-question-head{color:var(--muted)!important;border-color:var(--line)!important}
html[data-theme="dark"] .course-question-head b{color:var(--ink)!important}
html[data-theme="dark"] .lesson-question-progress{color:var(--muted)!important}
html[data-theme="dark"] .lesson-question-progress>span{background:#322d2a!important}
html[data-theme="dark"] .course-question-prompt{border:1px solid #4b3d34!important;border-inline-start:3px solid var(--coral)!important;border-radius:11px!important;background:#34312e!important;color:var(--ink)!important}
html[data-theme="dark"] .course-choice{border:1px solid var(--line)!important;border-radius:11px!important;background:#333332!important;color:var(--ink)!important}
html[data-theme="dark"] .course-choice:not(:disabled):hover{border-color:#633d31!important;background:#35312e!important}
html[data-theme="dark"] .course-choice>span{background:#322e2c!important;color:#ddb4d7!important}
html[data-theme="dark"] .course-choice>b{color:var(--ink)!important}
html[data-theme="dark"] .course-choice.is-correct,html[data-theme="dark"] .course-question-panel .course-choice.is-correct,html[data-theme="dark"] .course-question-panel .course-choice.is-correct:disabled{border-color:#38533e!important;background:#2a362d!important;color:#c2e4cc!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-correct>b,html[data-theme="dark"] .course-question-panel .course-choice.is-correct>i{color:#c2e4cc!important}
html[data-theme="dark"] .course-choice.is-correct>span{background:#213826!important;color:#bcdec4!important}
html[data-theme="dark"] .course-choice.is-wrong,html[data-theme="dark"] .course-question-panel .course-choice.is-wrong,html[data-theme="dark"] .course-question-panel .course-choice.is-wrong:disabled{border-color:#5d382a!important;background:#3f2c22!important;color:#ddbbb3!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>b{color:#ddbbb3!important}
html[data-theme="dark"] .course-question-panel .course-choice.is-wrong>span{background:#442316!important;color:#d8aaa0!important}
html[data-theme="dark"] .course-feedback,html[data-theme="dark"] .course-question-panel .course-feedback{border:1px solid var(--line)!important;border-radius:13px!important;background:#33312f!important;color:var(--ink)!important}
html[data-theme="dark"] .course-feedback.right,html[data-theme="dark"] .course-question-panel .course-feedback.right{border-color:#384e3b!important;background:#2c352c!important;color:#c2e4cc!important}
html[data-theme="dark"] .course-feedback.wrong,html[data-theme="dark"] .course-question-panel .course-feedback.wrong{border-color:#553a2e!important;background:#3e2d24!important;color:#dfc2bb!important}
html[data-theme="dark"] .course-feedback-heading b,html[data-theme="dark"] .course-feedback-heading small{color:inherit!important}
html[data-theme="dark"] .course-feedback-explanation,html[data-theme="dark"] .course-feedback-preview,html[data-theme="dark"] .course-feedback p{color:var(--ink-soft)!important}
html[data-theme="dark"] .course-answer-plate{border:1px solid var(--line)!important;border-radius:9px!important}
html[data-theme="dark"] .course-answer-plate.is-right{background:#2a362d!important;border-color:#384e3b!important;color:#c2e4cc!important}
html[data-theme="dark"] .course-answer-plate.is-wrong{background:#3f2c22!important;border-color:#553a2e!important;color:#ddbbb3!important}
html[data-theme="dark"] .course-feedback-divider>i{background:var(--line)!important}
html[data-theme="dark"] .course-feedback-divider>span{color:var(--muted)!important}
html[data-theme="dark"] .course-action-hint{color:var(--muted)!important}
html[data-theme="dark"] .course-attempt-history{border:1px solid var(--line)!important;border-radius:10px!important;background:#33312f!important}
html[data-theme="dark"] .course-attempt-history summary,html[data-theme="dark"] .course-attempt-history p span{color:var(--muted)!important}
html[data-theme="dark"] .course-attempt-history b{color:var(--ink)!important}
html[data-theme="dark"] .btn,html[data-theme="dark"] .course-start-question .btn,html[data-theme="dark"] .course-question-actions .btn{border:0!important;border-radius:12px!important;background:var(--coral)!important;color:white!important}
html[data-theme="dark"] .btn:hover{background:var(--coral-deep)!important}
html[data-theme="dark"] .btn.secondary{border:1px solid var(--line)!important;background:#33302d!important;color:#dec7dd!important}
html[data-theme="dark"] .text-btn{color:#ddb4d7!important}
html[data-theme="dark"] .course-unit-card,html[data-theme="dark"] .unit-lesson-row,html[data-theme="dark"] .unit-quiz-invite,html[data-theme="dark"] .quiz-set-card,html[data-theme="dark"] .quiz-entry-card,html[data-theme="dark"] .quiz-question-card,html[data-theme="dark"] .quiz-method,html[data-theme="dark"] .course-teacher-note,html[data-theme="dark"] .teacher-aside,html[data-theme="dark"] .course-progress-stats article,html[data-theme="dark"] .course-progress-current,html[data-theme="dark"] .course-progress-units,html[data-theme="dark"] .mistakes-view .mistake{border:1px solid var(--line)!important;border-radius:13px!important;background:var(--card)!important;color:var(--ink)!important}
html[data-theme="dark"] .course-unit-card:nth-child(n),html[data-theme="dark"] .unit-lesson-row:nth-child(n){background:var(--card)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme="dark"] .course-unit-num,html[data-theme="dark"] .quiz-set-icon{border:0!important;border-radius:10px!important;background:#362734!important;color:#ddb4d7!important}
html[data-theme="dark"] .course-unit-copy b,html[data-theme="dark"] .simple-stage-copy b,html[data-theme="dark"] .quiz-set-copy b{color:var(--ink)!important}
html[data-theme="dark"] .course-unit-copy small,html[data-theme="dark"] .course-unit-copy em,html[data-theme="dark"] .simple-stage-copy small,html[data-theme="dark"] .simple-stage-copy em,html[data-theme="dark"] .course-catalog-heading p,html[data-theme="dark"] .course-unit-heading>p,html[data-theme="dark"] .course-source-note,html[data-theme="dark"] .unit-progress-copy,html[data-theme="dark"] .quiz-set-copy small,html[data-theme="dark"] .quiz-set-copy em{color:var(--muted)!important}
html[data-theme="dark"] .course-unit-meter,html[data-theme="dark"] .quiz-set-meter{background:#322d2a!important}
html[data-theme="dark"] .course-unit-meter u,html[data-theme="dark"] .quiz-set-meter u{background:var(--coral)!important}
html[data-theme="dark"] .course-unit-go,html[data-theme="dark"] .lesson-row-arrow{color:#ddb4d7!important}
html[data-theme="dark"] .course-teacher-note,html[data-theme="dark"] .teacher-aside{border-inline-start:3px solid var(--coral)!important}
html[data-theme="dark"] .course-teacher-note>b,html[data-theme="dark"] .teacher-aside>b{color:#ddb4d7!important}
html[data-theme="dark"] .course-teacher-note p,html[data-theme="dark"] .teacher-aside p{color:var(--ink-soft)!important}
html[data-theme="dark"] .course-unassigned-note,html[data-theme="dark"] .checker-limit-note{border:1px solid var(--line)!important;border-radius:11px!important;background:#33302d!important;color:var(--muted)!important}
html[data-theme="dark"] .course-unassigned-note>b{color:#ddb4d7!important}
html[data-theme="dark"] .course-unassigned-note p{color:var(--muted)!important}
html[data-theme="dark"] .quiz-option{border:1px solid var(--line)!important;border-radius:10px!important;background:#343331!important;color:var(--ink)!important}
html[data-theme="dark"] .quiz-option>span{background:#362734!important;color:#ddb4d7!important}
html[data-theme="dark"] .quiz-question-card h2{border-inline-start:3px solid var(--coral)!important;background:#34312e!important;color:var(--ink)!important}
html[data-theme="dark"] .quiz-option.is-correct,html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct,html[data-theme="dark"] .quiz-question-card .quiz-option.is-correct:disabled{border:1px solid #38533e!important;background:#2a362d!important;color:#c2e4cc!important}
html[data-theme="dark"] .quiz-option.is-correct>b,html[data-theme="dark"] .quiz-option.is-correct>i{color:#c2e4cc!important}
html[data-theme="dark"] .quiz-option.is-correct>span{background:#213826!important;color:#bcdec4!important}
html[data-theme="dark"] .quiz-option.is-selected-wrong,html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong,html[data-theme="dark"] .quiz-question-card .quiz-option.is-selected-wrong:disabled{border:1px solid #5d382a!important;background:#3f2c22!important;color:#ddbbb3!important}
html[data-theme="dark"] .quiz-option.is-selected-wrong>b{color:#ddbbb3!important}
html[data-theme="dark"] .quiz-option.is-selected-wrong>span{background:#442316!important;color:#d8aaa0!important}
html[data-theme="dark"] .quiz-feedback,html[data-theme="dark"] .quiz-feedback.correct,html[data-theme="dark"] .quiz-feedback.incorrect{border:1px solid var(--line)!important;border-radius:11px!important;background:#33312f!important;color:var(--ink)!important}
html[data-theme="dark"] .quiz-feedback.correct{border-color:#384e3b!important;background:#2c352c!important}
html[data-theme="dark"] .quiz-feedback.incorrect{border-color:#553a2e!important;background:#3e2d24!important}
html[data-theme="dark"] .quiz-feedback.correct>b,html[data-theme="dark"] .quiz-feedback.correct>p,html[data-theme="dark"] .quiz-feedback.correct>span,html[data-theme="dark"] .quiz-feedback.correct strong,html[data-theme="dark"] .quiz-feedback.incorrect>b,html[data-theme="dark"] .quiz-feedback.incorrect>p,html[data-theme="dark"] .quiz-feedback.incorrect>span,html[data-theme="dark"] .quiz-feedback.incorrect strong{color:var(--ink-soft)!important}
html[data-theme="dark"] .quiz-answer-row.is-right{border-color:#384e3b!important;border-inline-start:3px solid #3a6242!important;background:#2c352c!important;color:var(--ink)!important}
html[data-theme="dark"] .quiz-answer-row.is-wrong{border-color:#553a2e!important;border-inline-start:3px solid #653c2d!important;background:#3e2d24!important;color:var(--ink)!important}
html[data-theme="dark"] .quiz-answer-row.is-right>div>b,html[data-theme="dark"] .quiz-answer-row.is-right p,html[data-theme="dark"] .quiz-answer-row.is-right small,html[data-theme="dark"] .quiz-answer-row.is-wrong>div>b,html[data-theme="dark"] .quiz-answer-row.is-wrong p,html[data-theme="dark"] .quiz-answer-row.is-wrong small{color:var(--ink-soft)!important}
html[data-theme="dark"] .course-lesson-complete{border:1px solid #384e3b!important;border-radius:15px!important;background:#2c352c!important;color:#c2e4cc!important}
html[data-theme="dark"] .course-lesson-complete-check{background:#213826!important;color:#bcdec4!important}
html[data-theme="dark"] .course-lesson-complete-heading .course-label,html[data-theme="dark"] .course-lesson-complete-heading b,html[data-theme="dark"] .course-lesson-complete-heading p,html[data-theme="dark"] .course-lesson-complete-stats,html[data-theme="dark"] .course-finish-explanation>p{color:#c2e4cc!important}
html[data-theme="dark"] .linear-complete h1{color:var(--ink)!important}
html[data-theme="dark"] .linear-complete p{color:var(--ink-soft)!important}
html[data-theme="dark"] .linear-complete-badge{border:1px solid #625029!important;border-radius:18px!important;background:#463918!important;color:#ebd6b3!important}
html[data-theme="dark"] .welcome-screen{background:#332f2c!important;color:var(--ink)!important}
html[data-theme="dark"] .welcome-card{border:1px solid #4b3b35!important;border-radius:22px!important;background:#343330!important;color:var(--ink)!important}
html[data-theme="dark"] .welcome-card:before{background:linear-gradient(90deg,transparent,var(--coral),var(--yellow),transparent)!important}
html[data-theme="dark"] .welcome-topline{border-color:var(--line)!important}
html[data-theme="dark"] .welcome-mark{border:0!important;border-radius:11px!important;background:#74476E!important;color:#FFF9F1!important}
html[data-theme="dark"] .welcome-brand-copy b{color:#ddb4d7!important}
html[data-theme="dark"] .welcome-brand-copy span{color:var(--muted)!important}
html[data-theme="dark"] .welcome-personal{border:1px solid #513a31!important;border-radius:18px!important;background:#3e2c24!important;color:#d7a49f!important}
html[data-theme="dark"] .welcome-card h1{color:#e2cee2!important}
html[data-theme="dark"] .welcome-card h1 em{background:none!important;color:#ddb4d7!important}
html[data-theme="dark"] .welcome-description{color:var(--ink-soft)!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card{border:1px solid var(--line)!important;border-radius:12px!important;background:#34312f!important;color:var(--ink)!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card:nth-of-type(n){background:#34312f!important}
html[data-theme="dark"] .welcome-steps>span.welcome-step-card>b{border:0!important;border-radius:9px!important;background:#362734!important;color:#ddb4d7!important}
html[data-theme="dark"] .welcome-step-copy strong{color:var(--ink)!important}
html[data-theme="dark"] .welcome-step-copy small{color:var(--muted)!important}
html[data-theme="dark"] .welcome-start{border:0!important;border-radius:12px!important;background:var(--coral)!important;color:#fff!important}
html[data-theme="dark"] .welcome-start:hover{background:var(--coral-deep)!important}
html[data-theme="dark"] .welcome-save-note{color:var(--muted)!important}
html[data-theme="dark"] .welcome-save-note:before{color:#a8cbac!important}
html[data-theme="dark"] .skip-link{background:#74476E!important;color:#fff!important}
html[data-theme="dark"] .skip-link:focus-visible,html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] textarea:focus-visible{outline:3px solid rgba(104,58,48,0.7)!important;outline-offset:3px!important}
html[data-theme="dark"] .toast,html[data-theme="dark"] .gesture-hint{background:#563D55!important;color:#fff!important}
@media(max-width:700px){html[data-theme="dark"] .welcome-card{border-radius:19px!important}}
html[data-theme="dark"] .resume-note{border:1px solid var(--line);border-radius:13px;background:rgba(51,51,51,0.62)}
html[data-theme="dark"] .resume-mark,html[data-theme="dark"] .due-review-mark{border-radius:11px;background:#362734;color:#ddb4d7}
html[data-theme="dark"] .resume-note b,html[data-theme="dark"] .quick-study-card b,html[data-theme="dark"] .due-review-card b{color:var(--ink)}
html[data-theme="dark"] .resume-note p,html[data-theme="dark"] .quick-study-card p{color:var(--muted)}
html[data-theme="dark"] .quick-study-card{border:1px solid #534130;border-radius:14px;background:linear-gradient(115deg,#35322d,#34302d)}
html[data-theme="dark"] .quick-study-card.is-active{border-color:#4f394d;background:linear-gradient(115deg,#362c35,#35322e)}
html[data-theme="dark"] .quick-study-card.is-done{border-color:#394c3b;background:#2d342d}
html[data-theme="dark"] .quick-study-action>strong{color:#ddb4d7}
html[data-theme="dark"] .due-review-card{border:1px solid #5e4d2b;border-radius:13px;background:#3f3722;color:var(--ink)!important;text-decoration:none!important}
html[data-theme="dark"] .due-review-card small{color:var(--muted)}
html[data-theme="dark"] .due-review-card>strong{color:#e9d3b1}
html[data-theme="dark"] .personalize-panel{border:1px solid var(--line);border-radius:14px;background:var(--card)}
html[data-theme="dark"] .personalize-panel>summary b{color:#ddb4d7}
html[data-theme="dark"] .personalize-panel>summary small{color:var(--muted)}
html[data-theme="dark"] .personalize-panel>summary i{border-radius:9px;background:#322e2c;color:#ddb4d7}
html[data-theme="dark"] .personalize-body{border-top:1px solid var(--line)}
html[data-theme="dark"] .personalize-body>label,html[data-theme="dark"] .personalize-grid label{color:var(--ink-soft)}
html[data-theme="dark"] .personalize-body input,html[data-theme="dark"] .personalize-body textarea,html[data-theme="dark"] .personalize-body select{border:1px solid var(--line);border-radius:10px;background:#343230;color:var(--ink)}
html[data-theme="dark"] .prefs-status{color:#b0d7b7}
html[data-theme="dark"] .prefs-private-note{color:var(--muted)}
html[data-theme="dark"] .lesson-extra-example{border:1px solid #4e3f32;border-radius:12px;background:#34322f}
html[data-theme="dark"] .lesson-extra-example>summary{color:#ddb4d7}
html[data-theme="dark"] .lesson-extra-example small{color:var(--muted)}
html[data-theme="dark"] .course-finish-owner-note,html[data-theme="dark"] .welcome-owner-note{border-inline-start:3px solid var(--coral);border-radius:10px;background:#35302d;color:#d5becb}
html[data-theme="dark"] .study-notebook{border:1px solid #4e4134;border-radius:16px;background:linear-gradient(145deg,#343330,#332f2c)}
html[data-theme="dark"] .study-notebook header h2{color:var(--ink)}
html[data-theme="dark"] .study-notebook header p{color:var(--muted)}
html[data-theme="dark"] .notebook-achievements article{border:1px dashed #4d4039;border-radius:12px;background:rgba(51,51,51,0.62)}
html[data-theme="dark"] .notebook-achievements article.earned{border-style:solid;border-color:#3a4c3b;background:#30352c}
html[data-theme="dark"] .notebook-achievements article>span{border-radius:8px;background:#362734;color:#ddb4d7}
html[data-theme="dark"] .notebook-achievements article.earned>span{background:#223829;color:#bcdfc5}
html[data-theme="dark"] .notebook-achievements b{color:var(--ink)}
html[data-theme="dark"] .notebook-achievements small{color:var(--muted)}
html[data-theme="dark"] .quick-study-card{border-radius:11px}
html[data-theme="dark"] .due-review-card{border-radius:11px}
html[data-theme="dark"] .personalize-panel{border:0;border-radius:50%;background:transparent}
html[data-theme="dark"] .personalize-panel>summary{border:1px solid #503950;border-radius:50%;background:#362a35;color:#ddb4d7}
html[data-theme="dark"] .personalize-panel>summary:focus-visible{outline:3px solid rgba(104,58,48,0.6);outline-offset:2px}
html[data-theme="dark"] .personalize-panel .personalize-body{border:1px solid var(--line);border-radius:13px;background:var(--card)}
html[data-theme="dark"] .personalize-panel[open]>summary{background:#74476E;color:#fff;border-color:#74476E}
html[data-theme="dark"] .personalize-heading b{color:#ddb4d7}
html[data-theme="dark"] .personalize-heading small{color:var(--muted)}

/* ---- manual touch-ups (after generated rules) ---- */
html[data-theme="dark"] .welcome-screen{background:#141210!important}
html[data-theme="dark"] .welcome-card{background:#232020!important}
html[data-theme="dark"] .topbar{background:rgba(32,29,27,.94)!important}
