/**
 * Dark theme.
 *
 * Generated from the light stylesheets rather than written by hand, so a
 * colour changed over there cannot quietly go missing over here. Only
 * declarations that carry a colour appear below; everything else - layout,
 * spacing, type - comes from the sheet this mirrors.
 *
 * The whole file sits inside @media screen. Paper is always light.
 */
@media screen{
html[data-ta-theme="dark"]{--ta-violet:#4f46e5;--ta-violet-dark:#4338ca;--ta-violet-soft:#282546;--ta-violet-chip:#322d69;--ta-ink:#e8eaef;--ta-ink-soft:#c3c8d1;--ta-muted:#9aa0ab;--ta-muted-light:#929aa5;--ta-line:#373c48;--ta-line-soft:#2d313c;--ta-surface:#1e2129;--ta-surface-alt:#272b35;--ta-green:#4ade80;--ta-green-soft:#16301f;--ta-red:#f87171;--ta-red-soft:#341c1c;}
html[data-ta-theme="dark"] .ta-wrap{color:#e8eaef;}
html[data-ta-theme="dark"] .ta-head-divider{background:#4f46e5;}
html[data-ta-theme="dark"] .ta-wrap .ta-eyebrow-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ta-wrap .ta-heading{color:#e8eaef;}
html[data-ta-theme="dark"] .ta-wrap .ta-sub{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-wrap .ta-search{border:1px solid #373c48;background:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .ta-wrap .ta-search:focus{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ta-wrap .ta-filter{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-wrap .ta-filter:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .ta-wrap .ta-filter.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ta-wrap .ta-card{border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .ta-wrap .ta-card:focus,
html[data-ta-theme="dark"] .ta-wrap .ta-card:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .ta-wrap .ta-thumb{background:#272b35;}
html[data-ta-theme="dark"] .ta-wrap .ta-thumb .ta-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-wrap .ta-name{border-top:1px solid #373c48;}
html[data-ta-theme="dark"] .ta-wrap .ta-empty{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-overlay{color:#e8eaef;}
html[data-ta-theme="dark"] .ta-box{background:#1e2129;}
html[data-ta-theme="dark"] .ta-close{background:#272b35;color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-close:hover{background:#373c48;color:#e8eaef;}
html[data-ta-theme="dark"] .ta-art .ta-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-info .ta-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .ta-info h2{color:#e8eaef;}
html[data-ta-theme="dark"] .ta-kw span{color:#9aa0ab;background:#272b35;}
html[data-ta-theme="dark"] .ta-themes button{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-themes button:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .ta-themes button.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ta-section{border-left:3px solid #373c48;}
html[data-ta-theme="dark"] .ta-section.up{border-left-color:#4f46e5;}
html[data-ta-theme="dark"] .ta-section .lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ta-section.desc .txt{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-fulllink{color:#a5a0ff;background:#272b35;}
html[data-ta-theme="dark"] .ta-fulllink:hover{background:#373c48;}
html[data-ta-theme="dark"] .ta-yesno-side{color:#9aa0ab;}
html[data-ta-theme="dark"] .ta-yesno-chip{background:#272b35;color:#e8eaef;}
html[data-ta-theme="dark"] .ta-yesno-chip.ta-lean-yes{background:#16301f;color:#4ade80;}
html[data-ta-theme="dark"] .ta-yesno-chip.ta-lean-no{background:#341c1c;color:#f87171;}
html[data-ta-theme="dark"] .ta-yesno-chip.ta-lean-mixed{background:#282546;color:#a5a0ff;}
html[data-ta-theme="dark"] .ta-yesno-why{color:#e8eaef;}
html[data-ta-theme="dark"] .tp-crosslink{background:#1e2129;color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-crosslink .tad-promo-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-crosslink .tad-promo-text{color:#9aa0ab;}
html[data-ta-theme="dark"] .tp-crosslink .tad-promo-cta{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .tp-crosslink:hover .tad-promo-cta{background:#4338ca;}
html[data-ta-theme="dark"] .tp-crosslink .tad-promo-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-crosslink .tad-promo-text{color:#9aa0ab;}
html[data-ta-theme="dark"] .tad-wrap{color:#e8eaef;}
html[data-ta-theme="dark"] .tad-promo{background:#1e2129;color:#a5a0ff;}
html[data-ta-theme="dark"] .tad-promo-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tad-promo-text{color:#9aa0ab;}
html[data-ta-theme="dark"] .tad-promo-cta{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .tad-promo:hover .tad-promo-cta{background:#4338ca;}
html[data-ta-theme="dark"] .tad-layout{background:#1e2129;}
html[data-ta-theme="dark"] .tad-art:focus,
html[data-ta-theme="dark"] .tad-art:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .tad-art .tad-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .tad-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tad-info h3{color:#e8eaef;}
html[data-ta-theme="dark"] .tad-heading{color:#a5a0ff;}
html[data-ta-theme="dark"] .tad-date{color:#9aa0ab;}
html[data-ta-theme="dark"] .tad-orient{color:#a5a0ff;background:#282546;}
html[data-ta-theme="dark"] .tad-section{border-left:3px solid #373c48;}
html[data-ta-theme="dark"] .tad-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .tad-txt{color:#e8eaef;}
html[data-ta-theme="dark"] .th-wrap{color:#e8eaef;}
html[data-ta-theme="dark"] .th-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .th-wrap h1{color:#e8eaef;}
html[data-ta-theme="dark"] .th-sub{color:#aeb4be;}
html[data-ta-theme="dark"] .th-stats{border-bottom:1px solid #373c48;}
html[data-ta-theme="dark"] .th-stat-num{color:#a5a0ff;}
html[data-ta-theme="dark"] .th-stat-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .th-card{border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .th-step{color:#929aa5;}
html[data-ta-theme="dark"] .th-icon{color:#a5a0ff;}
html[data-ta-theme="dark"] .th-title{color:#e8eaef;}
html[data-ta-theme="dark"] .th-text{color:#9aa0ab;}
html[data-ta-theme="dark"] .th-cta{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-tab{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .tp-tab.active{background:#e8eaef;border-color:#e8eaef;color:#1e2129;}
html[data-ta-theme="dark"] .tp-guide-head-divider{background:#4f46e5;}
html[data-ta-theme="dark"] .tp-guide-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-guide-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tp-guide-sub{color:#9aa0ab;}
html[data-ta-theme="dark"] .tp-guide-card{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tp-guide-q{color:#e8eaef;}
html[data-ta-theme="dark"] .tp-guide-q:hover{background:#242832;}
html[data-ta-theme="dark"] .tp-guide-q:hover .tp-guide-qtext{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-guide-q:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .tp-guide-card.tp-guide-open .tp-guide-q{background:#282546;}
html[data-ta-theme="dark"] .tp-guide-card.tp-guide-open .tp-guide-qtext{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-guide-arrow{color:#9aa0ab;}
html[data-ta-theme="dark"] .tp-guide-card.tp-guide-open .tp-guide-arrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tp-guide-a p{color:#c3c8d1;}
html[data-ta-theme="dark"] .tp-guide-a li{color:#c3c8d1;}
html[data-ta-theme="dark"] .tp-guide-a strong{color:#e8eaef;}
html[data-ta-theme="dark"] .tal-globe-btn{border:1px solid var(--ta-line,#373c48);background:var(--ta-surface,#1e2129);color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .tal-globe-btn:hover{border-color:var(--ta-violet,#4f46e5);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tal-globe-switch[open] .tal-globe-btn{border-color:var(--ta-violet,#4f46e5);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tal-globe-switch summary:focus-visible{outline:2px solid var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .tal-globe{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tal-globe-caret{border-top:5px solid var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .tal-menu{background:var(--ta-surface,#1e2129);border:1px solid var(--ta-line,#373c48);}
html[data-ta-theme="dark"] .tal-menu-item{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .tal-menu-item:hover{background:var(--ta-surface-alt,#272b35);}
html[data-ta-theme="dark"] .tal-menu-code{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .tal-menu-on{background:var(--ta-violet-soft,#282546);}
html[data-ta-theme="dark"] .tal-menu-on .tal-menu-code,
html[data-ta-theme="dark"] .tal-menu-on .tal-menu-name{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tal-switch:not(.tal-globe-switch){background:var(--ta-surface-alt,#272b35);}
html[data-ta-theme="dark"] .tal-switch-item{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .tal-switch-item span{color:var(--ta-muted-light,#929aa5);}
html[data-ta-theme="dark"] .tal-switch-item:hover{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .tal-switch-on{background:var(--ta-surface,#1e2129);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tal-switch-on span{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-ad-label{color:var(--ta-muted-light,#929aa5);}
html[data-ta-theme="dark"] .ta-nav-item a{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-item a:hover{background:var(--ta-surface-alt,#272b35);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-nav-here a{color:var(--ta-violet,#a5a0ff);background:var(--ta-violet-soft,#282546);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list{background:var(--ta-surface-alt,#272b35);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-item a{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-item a:hover{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-here a{background:var(--ta-surface,#1e2129);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-nav-list .menu-item a{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-nav-list .menu-item a:hover{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .ta-nav-here a,
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .current-menu-item a,
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .current_page_item a{background:var(--ta-surface,#1e2129);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-footer-copy{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-footer-legal p{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-theme-btn{border:1px solid var(--ta-line,#373c48);background:var(--ta-surface,#1e2129);color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-theme-btn:hover{border-color:var(--ta-violet,#4f46e5);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-theme-btn:focus-visible{outline:2px solid var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .ta-theme-btn svg{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-consent{background:var(--ta-surface,#1e2129);border-top:1px solid var(--ta-line,#373c48);}
html[data-ta-theme="dark"] .ta-consent-copy{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-consent-text{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-consent-link{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-consent-btn{border:1px solid var(--ta-line,#373c48);background:var(--ta-surface,#1e2129);color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-consent-btn:hover{border-color:var(--ta-violet,#4f46e5);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-consent-yes{background:var(--ta-violet,#4f46e5);border-color:var(--ta-violet,#4f46e5);color:#fff;}
html[data-ta-theme="dark"] .ta-consent-yes:hover{background:var(--ta-violet-dark,#4338ca);border-color:var(--ta-violet-dark,#4338ca);color:#fff;}
html[data-ta-theme="dark"] .ta-consent-manage{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-consent-manage:hover{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .tq-wrap{color:#e8eaef;}
html[data-ta-theme="dark"] .tq-modes{background:#272b35;}
html[data-ta-theme="dark"] .tq-step{border-bottom:1px solid #373c48;}
html[data-ta-theme="dark"] .tq-step-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-control-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-deck-desc{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-mode{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-mode:hover{color:#e8eaef;}
html[data-ta-theme="dark"] .tq-mode.active{background:#1e2129;color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-diff{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-diff:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .tq-diff.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .tq-progress-txt{color:#e8eaef;}
html[data-ta-theme="dark"] .tq-life{color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-progress-bar{background:#272b35;}
html[data-ta-theme="dark"] .tq-progress-fill{background:#4f46e5;}
html[data-ta-theme="dark"] .tq-timer{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-timer.tq-timer-warn{color:#f87171;}
html[data-ta-theme="dark"] .tq-endcard{background:#1e2129;}
html[data-ta-theme="dark"] .tq-end-msg{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-end-score{color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-stat{background:#272b35;}
html[data-ta-theme="dark"] .tq-cloth{border:1px solid #2d313c;background-color:#1b1e27;background-image:radial-gradient(rgba(165,160,255,.10) 1.5px, transparent 1.5px);background-size:15px 15px;box-shadow:inset 0 1px 3px rgba(0,0,0,.5);}
html[data-ta-theme="dark"] .tq-art{background:#272b35;box-shadow:0 14px 30px -16px rgba(0,0,0,.85);}
html[data-ta-theme="dark"] .tq-stat-lbl{color:#e8eaef;}
html[data-ta-theme="dark"] .tq-stat-num{color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-box{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tq-sidepanel{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tq-hints{color:#929aa5;}
html[data-ta-theme="dark"] .tq-art{background:#272b35;}
html[data-ta-theme="dark"] .tq-art .tq-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-ask{background:#282546;border:1px solid #363168;}
html[data-ta-theme="dark"] .tq-ask-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .tq-ask-q{color:#e8eaef;}
html[data-ta-theme="dark"] .tq-why{background:#22252e;border:1px solid #373c48;color:#b6bcc6;}
html[data-ta-theme="dark"] .tq-name{color:#a5a0ff;}
html[data-ta-theme="dark"] .tq-option{border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .tq-option:hover:not(:disabled){border-color:#4f46e5;}
html[data-ta-theme="dark"] .tq-option.tq-correct{border-color:#4ade80;background:#16301f;color:#4ade80;}
html[data-ta-theme="dark"] .tq-option.tq-wrong{border-color:#f87171;background:#341c1c;color:#f87171;}
html[data-ta-theme="dark"] .tq-next{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .tq-next:hover{background:#4338ca;}
html[data-ta-theme="dark"] .tq-art:focus,
html[data-ta-theme="dark"] .tq-art:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .tq-check{color:var(--ta-muted,#9aa0ab);border:1px solid var(--ta-line,#373c48);background:var(--ta-surface,#1e2129);}
html[data-ta-theme="dark"] .tq-check:hover{border-color:var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .tq-check:has(input:checked){color:var(--ta-ink,#e8eaef);border-color:var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .tq-orient{background:var(--ta-violet-soft,#282546);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ts-wrap{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-head-divider{background:#4f46e5;}
html[data-ta-theme="dark"] .ts-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-title{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-sub{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-step{border-bottom:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-step-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-control-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-size{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-size:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-size.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-size-desc{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-ask-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-ask-chip{border:1px solid #373c48;background:#1e2129;color:#c3c8d1;}
html[data-ta-theme="dark"] .ts-ask-chip:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-ask-chip-on{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-question{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-question-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-select{border:1px solid #373c48;background-color:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-select:hover{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-select:focus{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-modes{background:#272b35;}
html[data-ta-theme="dark"] .ts-mode{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-mode:hover{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-mode.active{background:#1e2129;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-clear{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-clear:hover{border-color:#e06a6a;background:#2a1f22;color:#f0a0a0;}
html[data-ta-theme="dark"] .ts-info{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-info:hover{border-color:#4f46e5;background:#232140;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-fs-corner{border:1px solid #373c48;background:rgba(30,33,41,.8);color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-fs-corner:hover{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-table:fullscreen{background:#1b1e27;background-image:radial-gradient(rgba(165,160,255,.10) 1.5px, transparent 1.5px);background-size:15px 15px;}
html[data-ta-theme="dark"] .ts-slots,html[data-ta-theme="dark"] .ts-cards{border:1px solid #2d313c;background-color:#1b1e27;background-image:radial-gradient(rgba(165,160,255,.10) 1.5px, transparent 1.5px);background-size:15px 15px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03), 0 14px 34px -30px rgba(0,0,0,.8);}
html[data-ta-theme="dark"] .ts-num{background:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-slot-empty{background:rgba(255,255,255,.04);}
html[data-ta-theme="dark"] .ts-slot-empty:hover{background:rgba(79,70,229,.16);}
html[data-ta-theme="dark"] .ts-slot-hint{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-slot-empty{border:2px dashed #6e7480;}
html[data-ta-theme="dark"] .ts-slot-empty:hover{border-color:#4f46e5;background:#232140;}
html[data-ta-theme="dark"] .ts-slot-plus{color:#929aa5;}
html[data-ta-theme="dark"] .ts-slot-hint{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-slot-filled{border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .ts-card-foot{background:#1f222a;border-top:1px solid #2d313c;}
html[data-ta-theme="dark"] .ts-flip{border:1px solid rgba(255,255,255,.12);background:#272b35;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-flip:hover{background:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-slot-box{background:#1e2129;}
html[data-ta-theme="dark"] .ts-slot-box-head{border-bottom:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-slot-close{background:#272b35;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-slot-close:hover{background:#373c48;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-picker-filters{border-bottom:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-picker-filters .ta-filter{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-picker-filters .ta-filter:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-picker-filters .ta-filter.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-picker-filters .ta-search{border:1px solid #373c48;background:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-picker-filters .ta-search:focus{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-picker-empty{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-check{color:#9aa0ab;border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .ts-check:has(input:checked){color:#e8eaef;}
html[data-ta-theme="dark"] .ts-check:hover{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-pick{border:1px solid #373c48;background:#1e2129;color:#c3c8d1;}
html[data-ta-theme="dark"] .ts-pick:hover{border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-pick-used:hover{border-color:#373c48;}
html[data-ta-theme="dark"] .ts-pick-art{background:#272b35;}
html[data-ta-theme="dark"] .ts-pick-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-pick-name{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-draw{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .ts-draw:hover{background:#4338ca;}
html[data-ta-theme="dark"] .ts-shuffle-card{background:#4f46e5;}
html[data-ta-theme="dark"] .ts-shuffle-card:nth-child(2){background:#9a93ff;color:#14161c;}
html[data-ta-theme="dark"] .ts-shuffle-card:nth-child(3){background:#544e86;}
html[data-ta-theme="dark"] .ts-card{border:1px solid #373c48;background:#1e2129;}
html[data-ta-theme="dark"] .ts-slot-filled .ts-pos,
html[data-ta-theme="dark"] .ts-card .ts-pos{border-bottom:1px solid #2d313c;}
html[data-ta-theme="dark"] .ts-pos{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-art{background:#272b35;}
html[data-ta-theme="dark"] .ts-art .ts-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-orient-up{background:#272b35;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-orient-rev{background:#282546;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-verdict{background:#282546;}
html[data-ta-theme="dark"] .ts-verdict-badge{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .ts-verdict-no{background:#272b35;}
html[data-ta-theme="dark"] .ts-verdict-no .ts-verdict-badge{background:#e8eaef;color:#14161c;}
html[data-ta-theme="dark"] .ts-verdict-soft{background:#242832;}
html[data-ta-theme="dark"] .ts-verdict-soft .ts-verdict-badge{background:#1e2129;color:#a5a0ff;box-shadow:inset 0 0 0 1px #373c48;}
html[data-ta-theme="dark"] .ts-verdict-txt{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-opener{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-line-num{background:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .ts-line-head{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-line-head strong{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-chip-yes{background:#322d69;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-chip-no{background:#e8eaef;color:#1e2129;}
html[data-ta-theme="dark"] .ts-chip-mixed{background:#1e2129;box-shadow:inset 0 0 0 1px #373c48;color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-why{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-closer{border-top:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-index{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-index-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-index-row{border-top:1px solid #272b35;}
html[data-ta-theme="dark"] .ts-index-num{background:#282546;color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-index-pos{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-index-card{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-story{background:#282546;}
html[data-ta-theme="dark"] .ts-story-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-story-rule{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-story-txt{color:#e8eaef;}
html[data-ta-theme="dark"] .ts-summary{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-summary-lbl{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-restart{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-test-start{color:#a5a0ff;background:#282546;border:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-test-start:hover{background:#322d69;}
html[data-ta-theme="dark"] .ts-testcard{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .ts-test-progress{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-test-opt{border:1px solid #373c48;background:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .ts-test-opt:hover:not(:disabled){border-color:#4f46e5;}
html[data-ta-theme="dark"] .ts-test-correct{background:#16301f;border-color:#4ade80 !important;}
html[data-ta-theme="dark"] .ts-test-wrong{background:#341c1c;border-color:#f87171 !important;}
html[data-ta-theme="dark"] .ts-test-result{background:#282546;}
html[data-ta-theme="dark"] .ts-test-score{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-test-msg{color:#9aa0ab;}
html[data-ta-theme="dark"] .ts-cardlink{color:#a5a0ff;}
html[data-ta-theme="dark"] .ts-cardlink:hover{color:#8b85ff;text-decoration-color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-page{color:#e8eaef;}
html[data-ta-theme="dark"] .tc-back{color:#a5a0ff;background:#272b35;}
html[data-ta-theme="dark"] .tc-print-btn{color:#a5a0ff;background:#272b35;}
html[data-ta-theme="dark"] .tc-print-btn:hover{background:#373c48;}
html[data-ta-theme="dark"] .tc-nav-btn{color:#a5a0ff;background:#272b35;}
html[data-ta-theme="dark"] .tc-nav-btn:hover{background:#373c48;}
html[data-ta-theme="dark"] .tc-back:hover{background:#373c48;}
html[data-ta-theme="dark"] .tc-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-page h1{color:#e8eaef;}
html[data-ta-theme="dark"] .tc-kw span{color:#9aa0ab;background:#272b35;}
html[data-ta-theme="dark"] .tc-themes button{border:1px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-themes button:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .tc-themes button.active{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .tc-art{background:#272b35;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tc-art .tc-noimg{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-section{border-left:3px solid #373c48;}
html[data-ta-theme="dark"] .tc-section.tc-upright{border-left-color:#4f46e5;}
html[data-ta-theme="dark"] .tc-label{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-desc .tc-text{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-section.tc-yesno{border:1px solid var(--ta-line,#373c48);border-left:1px solid var(--ta-line,#373c48);background:var(--ta-surface-alt,#272b35);}
html[data-ta-theme="dark"] .tc-yesno-side{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .tc-yesno-chip{background:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .tc-yesno-chip.tc-lean-yes{background:#16301f;color:#4ade80;}
html[data-ta-theme="dark"] .tc-yesno-chip.tc-lean-no{background:#341c1c;color:#f87171;}
html[data-ta-theme="dark"] .tc-yesno-chip.tc-lean-mixed{background:#322d69;color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-yesno-why{color:#e8eaef;}

/* The page itself. Nothing in the light stylesheets paints the body - that
   is the theme's job - so these few rules are written by hand rather than
   mirrored, and they are the only ones here that reach outside our own
   markup. */
html[data-ta-theme="dark"]{color-scheme:dark;background:#171a21;}
html[data-ta-theme="dark"] body{background:#171a21;color:#e8eaef;}
html[data-ta-theme="dark"] body a{color:#a5a0ff;}
/* Shadows are made of near-black with a low alpha, which on a near-black
   page is nothing at all - so floating things lose their edge and look
   pasted on. Deeper and darker here, plus a visible hairline on the ones
   that need to separate from what is behind them. */
html[data-ta-theme="dark"]{
	--ta-shadow-card:0 6px 18px -12px rgba(0,0,0,.85);
	--ta-shadow-lift:0 10px 26px -10px rgba(0,0,0,.9);
	--ta-shadow-violet:0 14px 32px -10px rgba(79,70,229,.5);
}
html[data-ta-theme="dark"] .tal-menu,
html[data-ta-theme="dark"] .ta-box,
html[data-ta-theme="dark"] .ta-consent{
	box-shadow:0 18px 44px -14px rgba(0,0,0,.9);
	border:1px solid #373c48;
}
html[data-ta-theme="dark"] .tal-switch-on{box-shadow:0 1px 3px rgba(0,0,0,.6);}

/* Press feedback. On a light page a button darkens under the finger; doing
   the same on a dark page moves it towards the background and reads as the
   button going away. Dark mode brightens instead. */
html[data-ta-theme="dark"] .ta-theme-btn:active,
html[data-ta-theme="dark"] .tal-globe-btn:active,
html[data-ta-theme="dark"] .ta-filter:active,
html[data-ta-theme="dark"] .ta-consent-btn:active,
html[data-ta-theme="dark"] .tc-themes button:active{background:#333844;}
html[data-ta-theme="dark"] .tal-menu-item:hover,
html[data-ta-theme="dark"] .tal-menu-item:focus{background:#333844;}

html[data-ta-theme="dark"] img,
html[data-ta-theme="dark"] .ta-thumb img,
html[data-ta-theme="dark"] .tc-art img{filter:brightness(.92);}

@media(max-width:782px){
html[data-ta-theme="dark"] .ta-nav-toggle{border:1px solid var(--ta-line,#373c48);background:var(--ta-surface,#1e2129);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-nav-toggle:hover{border-color:var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .ta-nav-check:focus-visible + .ta-nav-toggle{outline:2px solid var(--ta-violet,#4f46e5);}
html[data-ta-theme="dark"] .ta-nav-check:checked + .ta-nav-toggle,
html[data-ta-theme="dark"] .ta-nav.is-open .ta-nav-toggle{border-color:var(--ta-violet,#4f46e5);color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-nav-panel{background:var(--ta-surface,#1e2129);}
html[data-ta-theme="dark"] .ta-nav-panel-head,
html[data-ta-theme="dark"] .ta-nav-panel-head[hidden]{border-bottom:1px solid var(--ta-line,#373c48);}
html[data-ta-theme="dark"] .ta-nav-panel-title{color:var(--ta-violet,#a5a0ff);}
html[data-ta-theme="dark"] .ta-nav-logo-text{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-close{color:var(--ta-muted,#9aa0ab);}
html[data-ta-theme="dark"] .ta-nav-close:hover{background:var(--ta-surface-alt,#272b35);color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-lang,
html[data-ta-theme="dark"] .ta-nav-lang-mobile,
html[data-ta-theme="dark"] .ta-nav-lang-mobile[hidden]{border-top:1px solid var(--ta-line,#373c48);}
html[data-ta-theme="dark"] .ta-nav-item a,
html[data-ta-theme="dark"] .ta-nav-list .menu-item a{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-item a{color:var(--ta-ink,#e8eaef);}
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .ta-nav-here a,
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .current-menu-item a,
html[data-ta-theme="dark"] .ta-nav-pills .ta-nav-list .current_page_item a{background:var(--ta-violet-soft,#282546);color:var(--ta-violet,#a5a0ff);}
}
/* course.css */
html[data-ta-theme="dark"] .tc-course{color:#e8eaef;}
html[data-ta-theme="dark"] .tc-course .tc-head-divider{background:#4f46e5;}
html[data-ta-theme="dark"] .tc-course .tc-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tc-course .tc-sub{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-empty{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-empty-admin{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-empty-admin a{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-progress-txt{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-progress-go{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .tc-course .tc-progress-go:hover{background:#4338ca;color:#fff;}
html[data-ta-theme="dark"] .tc-course .tc-progress-reset{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-progress-reset:hover{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-part-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-part-rule{background:#373c48;}
html[data-ta-theme="dark"] .tc-course .tc-part-meta{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-lesson::before{background:#373c48;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-done::before{background:#4f46e5;}
html[data-ta-theme="dark"] .tc-course .tc-lesson-link{background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tc-course .tc-lesson-link:hover{border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .tc-course .tc-num{border:2px solid #373c48;background:#1e2129;color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-done .tc-num{background:#4f46e5;border-color:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .tc-course .tc-lesson-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tc-course .tc-lesson-link:hover .tc-lesson-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-lesson-sum{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-min{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-done .tc-lesson-title{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-done .tc-lesson-sum{color:#9aa0ab;}
html[data-ta-theme="dark"] .tc-course .tc-chip{color:#a5a0ff;background:#322d69;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-current .tc-lesson-link{background:#282546;border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-current .tc-num{border-color:#4f46e5;color:#a5a0ff;}
html[data-ta-theme="dark"] .tc-course .tc-lesson.tc-current .tc-lesson-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tl-page{color:#e8eaef;}
html[data-ta-theme="dark"] .tl-back{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-back:hover{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-crumb{color:#9aa0ab;}
html[data-ta-theme="dark"] .tl-crumb-part{background:#322d69;color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-eyebrow{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tl-sum{color:#9aa0ab;}
html[data-ta-theme="dark"] .tl-body{color:#c3c8d1;}
html[data-ta-theme="dark"] .tl-body p{color:#c3c8d1;}
html[data-ta-theme="dark"] .tl-body h2,
html[data-ta-theme="dark"] .tl-body h3{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-body li{color:#c3c8d1;}
html[data-ta-theme="dark"] .tl-body strong{color:#e8eaef;}
html[data-ta-theme="dark"] .tl-body a{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-h{color:#9aa0ab;}
html[data-ta-theme="dark"] .tl-cards-wrap{background-color:#1b1e27;border:1px solid #2d313c;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-exercise{background:#282546;border:1px solid #322d69;color:#c3c8d1;}
html[data-ta-theme="dark"] .tl-exercise-body p{color:#c3c8d1;}
html[data-ta-theme="dark"] .tl-exercise-cta{color:#fff;background:#4f46e5;}
html[data-ta-theme="dark"] .tl-exercise-cta:hover{background:#4338ca;color:#fff;}
html[data-ta-theme="dark"] .tl-done-btn{color:#e8eaef;background:#1e2129;border:1px solid #373c48;}
html[data-ta-theme="dark"] .tl-done-btn::before{border:2px solid #929aa5;background:#1e2129;}
html[data-ta-theme="dark"] .tl-done-btn:hover{border-color:#4f46e5;background:#282546;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-done-btn:hover::before{border-color:#4f46e5;background:#1e2129;}
html[data-ta-theme="dark"] .tl-done-btn.tl-is-done{background:#282546;border-color:#4f46e5;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-done-btn.tl-is-done::before{color:#fff;background:#4f46e5;border-color:#4f46e5;}
html[data-ta-theme="dark"] .tl-done-btn.tl-is-done:hover{background:#322d69;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-done-btn:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .tl-nav-prev{border:1px solid #373c48;background:#1e2129;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-nav-prev:hover{border-color:#4f46e5;background:#282546;color:#e8eaef;}
html[data-ta-theme="dark"] .tl-nav-next{border:1px solid #4f46e5;background:#4f46e5;color:#fff;}
html[data-ta-theme="dark"] .tl-nav-next:hover{background:#4338ca;border-color:#4338ca;color:#fff;}
html[data-ta-theme="dark"] .tl-nav-prev:focus-visible,
html[data-ta-theme="dark"] .tl-nav-next:focus-visible{outline:2px solid #4f46e5;}
html[data-ta-theme="dark"] .tl-nav-prev .tl-nav-lbl{color:#9aa0ab;}
html[data-ta-theme="dark"] .tl-nav-next .tl-nav-lbl{color:#fff;}
html[data-ta-theme="dark"] .tl-nav-prev .tl-nav-title{color:#e8eaef;}
html[data-ta-theme="dark"] .tl-nav-next .tl-nav-title{color:#fff;}
html[data-ta-theme="dark"] .tl-nav-prev:hover .tl-nav-title{color:#a5a0ff;}
html[data-ta-theme="dark"] .tl-nav-prev .tl-nav-arrow{color:#a5a0ff;background:#282546;}
html[data-ta-theme="dark"] .tl-nav-prev:hover .tl-nav-arrow{color:#a5a0ff;background:#322d69;}
html[data-ta-theme="dark"] .tl-nav-next .tl-nav-arrow{color:#fff;}
html[data-ta-theme="dark"] .tl-nav-next:hover .tl-nav-arrow{color:#fff;}
html[data-ta-theme="dark"] .tl-cards-wrap{background-image:radial-gradient(rgba(165,160,255,.10) 1.5px, transparent 1.5px);background-size:15px 15px;box-shadow:inset 0 1px 3px rgba(0,0,0,.5);}
}
