/* Shared public surfaces. Only the saved public dark preference activates these rules. */
html[data-home-theme="dark"] .kurs-home{
 --kurs-ink:#edf6ff;--kurs-muted:#9eb5ca;
 --kurs-paper:#071d2e;--kurs-line:#294b61;
}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-public-heading,.kurs-blog-card,.kurs-blog-article,.kurs-public-empty,.tariff-card,.kurs-podcast-transcript,.about-note,.about-principle-card){
 background:#071d2e!important;color:#edf6ff!important;border-color:#294b61!important;box-shadow:0 0 18px #22d6ec0b!important;
}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-public-heading h1,.kurs-blog-card h2,.kurs-blog-card h2 a,.kurs-blog-article h1,.kurs-blog-content h2,.kurs-blog-content h3,.kurs-blog-content h4,.tariff-card h2,.tariff-price,.tariff-price strong,.portal-review-person strong,.about-hero h1,.about-story h2,.about-principles h2,.about-principle-card h3,.about-final h2){color:#edf6ff!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-public-heading p,.kurs-blog-card p,.kurs-blog-card time,.kurs-blog-article time,.kurs-blog-lead,.kurs-blog-content,.kurs-blog-content p,.kurs-blog-content li,.kurs-podcast-transcript-content,.tariff-period,.kurs-tariff-description,.kurs-tariff-review,.portal-review-person span,.portal-review-text,.about-rich,.about-rich p,.about-story-copy p,.about-principle-card p){color:#b8cfe0!important}
html[data-home-theme="dark"] body .kurs-home :is(.home-kicker,.about-kicker,.about-section-label){color:#55e2ed!important}
html[data-home-theme="dark"] body .kurs-home :is(.home-button-primary,.about-btn-primary){background:#20cbd6!important;border-color:#54e3eb!important;color:#042b34!important;box-shadow:0 0 14px #20cbd61c!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-blog-card-image,.kurs-blog-card-body,.kurs-blog-content,.kurs-podcast-detail,.kurs-public-content){border-color:#294b61!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-blog-card-image,.kurs-blog-article-image){background:#0b2438!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-podcast-transcript summary,.kurs-share-button,.about-btn-outline,.about-btn-secondary){background:#0b2438!important;color:#c7edf4!important;border-color:#325e73!important}
html[data-home-theme="dark"] body .kurs-home :is(.about-hero,.about-principles,.about-story-light,.about-story-dark,.about-final){background:#051625!important;color:#eaf6ff!important}
html[data-home-theme="dark"] body .kurs-home .tariff-card-featured{border-color:#2bcfdb!important;box-shadow:0 0 20px #2bcfdb1a!important}
html[data-home-theme="dark"] body .kurs-home .tariff-badge{background:#153d48!important;color:#7af3e3!important}
html[data-home-theme="dark"] body :is(.kurs-blog-content,.demo-lesson-page) :is(.lesson-material-card,.lesson-test-card,.lesson-audio-card,.lesson-base-material,.lesson-base-material-callout,.lesson-rule,.lesson-callout){background:#092238!important;color:#eaf6ff!important;border-color:#2b4c62!important}
html[data-home-theme="dark"] body :is(.kurs-blog-content,.demo-lesson-page) :is(h1,h2,h3,h4,p,li,label){color:inherit}
html[data-home-theme="dark"] body .demo-lesson-page{color:#eaf6ff;background:transparent}
html[data-home-theme="dark"] body :is(.kurs-blog-content,.demo-lesson-page) :is(td,th){background:#092238!important;color:#eaf6ff!important;border-color:#2b4c62!important}
html[data-home-theme="dark"] body :is(.kurs-blog-content,.demo-lesson-page) :is(textarea,select,input:not([type=radio]):not([type=checkbox]):not([type=range])){background:#0b263b!important;color:#eaf6ff!important;border-color:#3d718e!important}
html[data-home-theme="dark"] body .kurs-home .portal-review-stars .is-filled{color:#ffd45d!important}
html[data-home-theme="dark"] body :is(.kurs-public-sidebar,.kurs-public-content,.kurs-blog-content){color:#c4d8e7}
html[data-home-theme="dark"] body :is(.kurs-blog-content,.demo-lesson-page) :is(blockquote,pre){background:#0b263b!important;color:#c4d8e7!important;border-color:#3d718e!important}

html[data-home-theme="dark"] body .kurs-home .kurs-blog-read{background:transparent!important;color:#55e2ed!important;border-color:transparent!important;box-shadow:none!important}

html[data-home-theme="dark"] body .kurs-home :is(h1,h2,h3,h4){color:#edf6ff!important}
html[data-home-theme="dark"] body .kurs-home :is(.about-kicker,.about-section-label){background:#123d49!important;color:#75e9e6!important;border-color:#32667a!important;box-shadow:none!important}

/* Podcast cards: public list and homepage. */
html[data-home-theme="dark"] body .kurs-home :is(.kurs-podcast-card,.portal-podcasts .portal-podcast){background:#0b2438!important;color:#edf6ff!important;border-color:#294b61!important;box-shadow:none!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-podcast-cover,.portal-podcast-cover){background:#071b2b!important;border-color:#294b61!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-podcast-body h2,.portal-podcast h3){color:#edf6ff!important}
html[data-home-theme="dark"] body .kurs-home :is(.kurs-podcast-body>p,.kurs-podcast-body time,.portal-podcast time){color:#a9c3d6!important}
html[data-home-theme="dark"] body .kurs-home .kurs-podcast-like{background:#102f43!important;color:#c1e5ed!important;border-color:#346176!important}
html[data-home-theme="dark"] body .kurs-home .kurs-podcast-like:is(:hover,.is-liked){background:#184756!important;color:#71eee0!important;border-color:#38b9c5!important}
