/* Tautiva Help Center dark mode, without inverted screenshots. */
html[data-theme="dark"]{--ink:#e5edf5;--navy:#f0f6fd;--muted:#b8cbd9;--line:#375369;--light:#132639;--accent:#62c6d6;color-scheme:dark;background:#0d1828;color:#e5edf5}
html[data-theme="dark"] body{background:#0d1828;color:#e5edf5}
html[data-theme="dark"] :is(.sidebar,.mobile-header,.site-footer,.learning-progress,.learn-safety,.track-card,.lesson,.role-card,.article-card,.topic-block,.card-grid,.bottom-cta,.related-grid a,.search-dialog,.reader-toggle,.learning-situation,.contextual-learning,.screen-figure,.example,.advice,.issues,.verification-note,.hero-search .search-trigger){background:#15293d!important;color:#e5edf5;border-color:#38566f}
html[data-theme="dark"] :is(.home-hero,.learning-hero){background:radial-gradient(ellipse at 85% -10%,#23445c,transparent 52%),#112337!important;border-color:#3a5469}
html[data-theme="dark"] :is(.home-hero>p,.home-section p,.article-lead,.article-details,.article-last,.article p,.article li,.step p,.content-section>p,.section-intro,.track-card>span,.learning-path p,.lesson-objective,.lesson-check,.learning-progress p,.role-card span,.article-card span,.topic-heading p,.topic-links a,.site-footer span,.on-this-page a,.search-tip,.screen-figure figcaption,.contextual-disclaimer){color:#bad0df!important}
html[data-theme="dark"] :is(.article-card strong,.track-card strong,.role-card strong,.page-switch strong,.lesson-title,.learning-progress strong,.topic-heading h3,.section-heading h2,.home-hero h1,.article h1,.article h2,.sidebar-label){color:#f0f6fc}
html[data-theme="dark"] :is(.nav-category,.nav-article,.breadcrumbs,.reader-toggle,.sidebar a,.nav-learning,.mobile-brand){color:#bad8e8}
html[data-theme="dark"] :is(.nav-category:hover,.nav-category.active,.sidebar a:hover,.search-results a:hover){background:#23475b!important;color:#c8f8fa}
html[data-theme="dark"] :is(.topic-links,.article-top,.article-card,.role-card,.track-card,.lesson,.advice,.issues,.page-switch a,.steps li>div){border-color:#385368!important}
html[data-theme="dark"] :is(.topic-symbol,.step-num,.lesson-number,.nav-learning,.feature-icon){background:#23485a;color:#8ae1e7}
html[data-theme="dark"] :is(.search-trigger,.search-dialog input,.close-search){background:#102235!important;color:#e9f2fb;border-color:#406075}
html[data-theme="dark"] .search-results a{color:#e4eff9;border-color:#3b566e}
html[data-theme="dark"] :is(.search-results span,.search-results small,.empty-search){color:#b8cbd9}
html[data-theme="dark"] :is(.button-outline,.button-outline:hover){background:#1b3b51;color:#e2faff;border-color:#416b80}
html[data-theme="dark"] .button-primary{background:#167d91;color:white}
html[data-theme="dark"] :is(.site-footer,.sidebar,.mobile-header){border-color:#37536b}
html[data-theme="dark"] .sidebar .brand img,html[data-theme="dark"] .mobile-brand img{background:#fff;border-radius:7px;padding:3px}
html[data-theme="dark"] .search-modal-backdrop{background:#000a}
html[data-theme="dark"] :is(.on-this-page-inner,.topic-links a,.steps li>div){border-color:#38546a}
html[data-theme="dark"] :is(.hero-kicker,.kicker,.card-eyebrow){color:#9fe2e5}
html[data-theme="dark"] .home-hero h1 span{color:#94e7f1}
.experience-top{height:59px;display:flex;align-items:center;justify-content:flex-end;padding:7px 26px;background:var(--experience-strip,#fff);border-bottom:1px solid var(--line)}
html[data-theme="dark"] .experience-top{--experience-strip:#12253a}
.experience-mobile{display:none}
@media(max-width:740px){.experience-top{display:none}.experience-mobile{display:block}.mobile-header{gap:3px;padding:0 8px}.mobile-header .experience-trigger{min-height:39px;min-width:36px;padding:7px 6px}.mobile-brand{gap:4px}.mobile-brand img{max-width:75px}.mobile-search{width:35px}.menu-toggle{width:35px}.experience-controls{gap:3px}}
@media(max-width:350px){.mobile-header .mobile-brand span{display:none}.mobile-brand img{max-width:67px}.mobile-header{padding:0 5px}}
html[data-theme=dark] .breadcrumbs a,html[data-theme=dark] .breadcrumbs a:hover{color:#b7e1f1!important}
html[data-theme=dark] .learn-safety strong,html[data-theme=dark] .learn-safety p{color:#e0f0fc!important}
/* Explicit WCAG AA contrast for training progress and lesson completion controls. */
html[data-theme=dark] .learning-progress [data-training-count],html[data-theme=dark] .lesson-done span{color:#d5e8f7!important}
html[data-theme=dark] .translation-note{background:#172c3f!important;border-color:#375b72!important;color:#d1e4f0!important}
html[data-theme=dark] .home-hero .hero-meta,html[data-theme=dark] .home-hero .hero-meta span{color:#b9d5e8!important}
