/* Public night theme. Loaded after page styles; never recolour uploaded artwork. */

/* Night mode uses dark surfaces and readable text without changing uploaded images. */
html[data-theme=dark]{color-scheme:dark;--site-surface:#182133;--site-soft:#202b40;--site-text:#edf0fb;--site-muted:#bac3d8;--site-line:#35415a;--site-accent:#c4bfff;--site-shadow:0 16px 45px #0006;--ink:#edf0fb;--text:#edf0fb;--muted:#bac3d8;--line:#35415a;--border:#35415a;background:#101624;color:#edf0fb}

html[data-theme=dark] body{background:#101624;color:#edf0fb}
html[data-theme=dark] :where(.hero,.exam-hero,.home-hero,.ep-hero,.section-nav,.exam-tabs,.gn-header,.header,.site-header,.gn-footer,footer,.support-band,.testimonials-band,.ep-band,.guide-band,.help-banner,.ep-cta,.ep-app,.study-banner){background:#131d2e!important;color:#edf0fb;border-color:#35415a}

html[data-theme=dark] :where(.panel,.purchase,.language-option,.benefit-grid article,.helps-grid article,.video-card,.testimonial-card,.related-card,.course-card,.ep-tile,.ep-offer,.ep-card,.ep-contact-card,.support-card,.faq-grid details,.faq-list details,.gn-submenu,.gn-mobile,.toc,.journey-hero,.update-card,.ps-menu,.ps-trigger,.language-trigger){background:#182133!important;border-color:#35415a!important;color:#edf0fb!important}

html[data-theme=dark] :where(h1,h2,h3,h4,.section-title,.language-name,.gn-brand,.wordmark,.brand,.gn-desktop>a,.gn-desktop summary,.gn-mobile a,.main-nav a,.desktop-nav a,.section-nav a,.exam-tabs a,.toc a,.language-picker-label){color:#edf0fb}
html[data-theme=dark] :where(p,.lead,.intro,.section-description,.muted,.inclusions,.language-trigger-copy small,.video-source,.course-meta,.benefit-grid p,.testimonial-top span,dt,dd){color:#bac3d8}
html[data-theme=dark] :where(.button.outline,.btn.outline,.button.sample,.site-icon-button,.site-theme-toggle,.site-search-trigger){background:#202b40;color:#dedaff;border-color:#827bcb}
html[data-theme=dark] :where(.language-option.selected,.mobile-language-option[aria-selected=true],.ps-option[aria-selected=true]){background:#302b58!important;border-color:#8075cd!important;color:#f0edff}
html[data-theme=dark] :where(.mobile-language-option[aria-selected=true] strong,.language-trigger strong,.faq-grid p a,.policy-link,.text-link,.watch-link,.section-nav svg){color:#c4bfff}
html[data-theme=dark] .section-nav .active{color:#d0caff;border-color:#b9afff}
html[data-theme=dark] .purchase-badge{background:#584018;color:#ffe1a0}
html[data-theme=dark] .gn-toggle{border-color:#938adb!important;background:#182133;color:#dedaff}
html[data-theme=dark] :where(.gn-submenu a:hover,.gn-mobile a:hover){background:#302b58;color:#ffe0c9}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:#182133;color:#edf0fb;border-color:#35415a}

html[data-theme=dark] .highlight>div>span,html[data-theme=dark] .trust-row,html[data-theme=dark] .trust-row span,html[data-theme=dark] .eyebrow{color:#bac3d8}
html[data-theme=dark] .trust-row svg,html[data-theme=dark] .section-nav a svg{color:#c4bfff!important}


html[data-theme=dark] .values strong,html[data-theme=dark] .exam-tile strong{color:#edf0fb}
html[data-theme=dark] .values svg{color:#c4bfff}
html[data-theme=dark] .exam-tile,html[data-theme=dark] .search{background:#182133;border-color:#35415a;color:#bac3d8}
html[data-theme=dark] .button.secondary{background:#202b40;color:#dedaff;border-color:#827bcb}


html[data-theme=dark] .ep-fields label,html[data-theme=dark] .ep-filters label,html[data-theme=dark] .ep-contact-card>strong{color:#bac3d8}
html[data-theme=dark] .ep-filters{background:#182133;border-color:#35415a}

html[data-theme=dark] .language-trigger-simple .language-trigger-copy,html[data-theme=dark] .language-trigger-simple .language-caret{color:#dedaff}


/* v51: consistent dark surfaces for newer public modules. */
html[data-theme=dark] :is(.yt-card,.yt-featured,.yt-search,.social-sharing,.review-verification,.review-course-cta,.reviews-filter,.offer-content,.offer-bottom,.series-card,.series-detail,.update-card,.ab-card,.ab-resource,.ab-reason,.ab-founder-profile,.ab-founder-story,.ab-mission,.ab-quality,.ab-role,.legal-content,.legal-toc){background:#182133!important;border-color:#35415a!important;color:#edf0fb!important}

html[data-theme=dark] :is(.about-page,.yt-page,.public-reviews,.ab-soft,.ab-hero,.ab-section,.ab-community){background-color:#101624;color:#edf0fb}

html[data-theme=dark] main :is(h1,h2,h3,h4,h5,h6){color:#f1f3ff!important}

html[data-theme=dark] main :is(p,blockquote,dt,dd,li,label,time,small){color:#c5cee1}

html[data-theme=dark] :is(.yt-card h2 a,.yt-channel h2,.testimonial-top h3,.testimonial-top span,.score strong,.series-card h3,.ab-copy,.ab-lead,.ab-small,.ab-note,.ab-founder-bio,.ps-value,.ps-option,.yt-status,.review-count,.yt-channel small,.yt-card time){color:#dce3f5!important}

html[data-theme=dark] :is(.yt-card p,.yt-featured p,.yt-channel p,.social-sharing p,.ab-card p,.ab-resource p,.ab-reason p,.ab-benefit p,.review-verification p,.review-course-cta p){color:#c5cee1!important}

html[data-theme=dark] main :is(input,textarea,select){background:#202b40;color:#edf0fb;border-color:#495775;color-scheme:dark}

html[data-theme=dark] main :is(input,textarea)::placeholder{color:#aebbd2;opacity:1}

html[data-theme=dark] .yt-search button{background:#202b40;color:#edf0fb}

html[data-theme=dark] .yt-page .yt-tabs button{background:#202b40;border-color:#465674;color:#e4e9fa}

html[data-theme=dark] .yt-page .yt-tabs button[aria-pressed=true]{background:#5751af;color:#fff;border-color:#aaa2f0}

html[data-theme=dark] .yt-page .yt-sort .ps-trigger{background:#202b40;color:#edf0fb;border-color:#495775}

html[data-theme=dark] :is(.yt-category,.score,.ab-note,.social-exam-label){background:#283451;color:#e3e8ff;border-color:#465674}

html[data-theme=dark] .social-sharing button.ss-copy{background:#202b40;color:#edf0fb;border-color:#7d85b8}

html[data-theme=dark] .gn-header :is(.gn-logo,.gn-logo-crop){border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 0 0 1px #ffffff18}

html[data-theme=dark] .gn-header .gn-logo img{border-radius:10px;padding:3px;box-sizing:border-box}

html[data-theme=dark] main :is(.text-link,.policy-link,.ab-text-link){color:#ffc08f!important}

html[data-theme=dark] :is(.ps-option:hover,.ps-option.ps-highlight){background:#2a3650;color:#fff}

html[data-theme=dark] :is(.btn,.button,.yt-channel-link,.ab-button){color:#fff}

html[data-theme=dark] :is(.ab-cta,.offer-header) :is(h1,h2,h3,p,span){color:inherit!important}


/* v53: surfaces and their text must switch together. */
html[data-theme=dark] body{background:#101624!important;color:#edf0fb!important}

html[data-theme=dark] :is(.lavender,.mobile-app,.app-banner,#mobile-app,.help-banner,.study-banner){background:#131d2e!important;background-image:none!important;border-color:#35415a!important;color:#edf0fb!important}

html[data-theme=dark] .ep-main .series-product-card{background:linear-gradient(155deg,#202a40,#182133 65%)!important;border-color:#3b4762!important;box-shadow:0 8px 24px #0002;color:#edf0fb}

html[data-theme=dark] .ep-main .series-product-card :is(h3,h3 a,.series-language-label,.series-card-highlights,.series-card-price strong){color:#edf0fb!important}

html[data-theme=dark] .ep-main .series-product-card :is(.series-card-summary,.series-card-price>span,.series-unavailable){color:#bdc9de!important}

html[data-theme=dark] .series-product-card :is(.series-card-highlights,[data-language-links]){border-color:#3b4762!important}

html[data-theme=dark] :is(.series-purchase,.series-access) .premium-select button.ps-trigger{background:#202b40!important;border-color:#52607d!important;color:#edf0fb!important}

html[data-theme=dark] :is(.series-language-trigger,.series-language-menu,.series-language-option,.series-facts>div){background:#202b40!important;border-color:#52607d!important;color:#edf0fb!important}

html[data-theme=dark] :is(.series-price,.series-facts strong,.series-language-label,.series-card-highlights svg){color:#e1ddff!important}

html[data-theme=dark] :is(.series-card-mark){background:#fff;color:#2b2b81}

html[data-theme=dark] .related-card :is(.related-link,.related-category){color:#d2cbff!important;border-color:#45516a}

html[data-theme=dark] :is(.related-card p,.helps-grid p,.support-card p,.support-hours,.policy-list li){color:#c5cee1!important}

html[data-theme=dark] :is(.support-hours strong,.support-email,.policy-link,.policy-list svg){color:#d2cbff!important}

html[data-theme=dark] :is(.btn.outline,.button.outline,.button.sample,.home-review-more){background:#202b40!important;color:#e4dfff!important;border-color:#8d88be!important}

html[data-theme=dark] :is(.gn-submenu a,.gn-submenu a:hover,.gn-dropdown summary){color:#edf0fb!important}

html[data-theme=dark] .gn-submenu a:hover{background:#2b3650!important}

html[data-theme=dark] :is(.social-sharing .ss-emblem,.review-info-icon){background:#293650;color:#dfdcff}

html[data-theme=dark] :is(.lavender,#mobile-app,.app-banner,.help-banner) :is(h2,h3,p,.lead){color:#e5eafb!important}

html[data-theme=dark] :is(.social-sharing,.review-verification,.review-course-cta,.series-product-card,.related-card) :is(a,button):focus-visible{outline:3px solid #f3b229;outline-offset:3px}

/* Theme tokens: text colours are distinct from brand colours used for fills. */
html[data-theme=dark] body {
 --night-bg:#101624;--night-panel:#182133;--night-raised:#232e44;
 --night-text:#edf0fb;--night-muted:#bec9dd;--night-link:#d0c9ff;--night-line:#46536d;
 --ink:var(--night-text)!important;--text:var(--night-text);--muted:var(--night-muted);
 --ref-blue:var(--night-text);--ref-muted:var(--night-muted);--ab-muted:var(--night-muted);
 --line:var(--night-line);--border:var(--night-line);
}
/* Main section surfaces, including gradients (background-color alone cannot replace them). */
html[data-theme=dark] body :is(.managed-hero,.reviews-hero,.updates-hero,.detail-hero,.ab-soft,.ab-community,.ab-benefits,.ab-strip,.ab-mission,.ab-role,.ab-founder-profile,.ab-founder-story,.reference-eligibility,.reference-fees,.reference-ending,.exam-reference #pattern,.exam-reference #dates,.exam-reference #exam-guide,#exam-guide,.ep-app,.footer){background:var(--night-bg)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body :is(.highlight,.review,.overview-item,.exam-fact,.reference-metrics,.reference-eligibility>section,.reference-fees>section,.reference-ending>section,.exam-training-facts,.exam-pattern-grid,.exam-requirements article,.exam-reference #syllabus,.exam-reference #documents,.exam-official-links>a,.exam-fee-row,.premium-offer,.premium-update-card,.notification-entry,.notification-preferences,.content-faq,.prepare-update,.updates-search,.series-access,.series-test-list .panel,.ab-social,.ab-founder-story blockquote,.notification-panel,.pm-sale-card,.pm-sale-panel){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body :is(.reference-score,.reference-count,.reference-chapter,.reference-fee-number,.exam-note,.faq-grid details[open] summary,.faq-list details p,.update-card-header,.offer-digits>div,.offer-terms>div,.language-menu-heading,.premium-language-menu,.premium-language-option,.mobile-language-option,.ep-modal-content .ep-answer){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
/* Copy that previously used fixed navy/grey colours. */
html[data-theme=dark] body :is(.exam-reference,.about-page,.ep-main,.public-reviews,.updates-listing,.notification-centre,.managed-hero,.purchase,.pm-sales) :is(h1,h2,h3,h4){color:var(--night-text)!important}
html[data-theme=dark] body :is(.data-rows dt,.faq-grid summary,.faq-list summary,.content-faq summary,.ep-contact aside strong,.ep-email,.ep-note,.ep-facts li,.managed-facts,.managed-price,.managed-feature-grid small,.values small,.update-row strong,.updates-grid .update-row small,.exam-fact>span,.document-copy strong,.document-copy small,.exam-fee-row strong,.exam-fee-row small,.exam-requirements article>span,.exam-syllabus li,.ab-stats strong,.ab-policy-links a,.ab-founder-values>div,.ab-social span,.ab-founder-story blockquote p,.ab-check,.testimonial-card blockquote,.testimonial-top div>span,.testimonial-source,.score-label,.score strong span,.review-platform-tabs a,.review-platform-tabs button,.offer-description,.offer-timer-label,.offer-foot,.offer-terms summary,.offer-digits strong,.offer-digits span,.offer-coupon strong,.offer-coupon small,.update-card-header strong,.update-card-meta,.update-excerpt,.update-exam-name,.results-count,.detail-block,.notification-entry h2 a,.notification-entry small,.legal-toc summary,.language-trigger-price,.option-price,.language-menu-heading small,.language-chevron,.language-caret,.price-wrap>span,.purchase-mrp,.series-unavailable,.pm-sale-copy strong,.pm-sale-meta time,.pm-sale-heading,.pm-review-identity strong,.pm-review-text,.pm-review-footer span){color:var(--night-muted)!important}
html[data-theme=dark] body :is(.legal-content,.detail-block) :is(p,li,strong,em,span){color:inherit}
html[data-theme=dark] body :is(.ab-stats strong,.offer-digits strong,.offer-coupon strong,.document-copy strong,.update-card-header strong,.notification-entry h2 a,.pm-sale-copy strong,.pm-review-identity strong){color:var(--night-text)!important}
/* Links, pills and interactive states need a matching dark surface. */
html[data-theme=dark] body :is(.text-link,.detail-link,.watch-pill,.watch-link,.policy-link,.panel-link,.ab-outline,.ep-offer-tabs .btn[aria-pressed=false],.updates-pagination button,.update-categories button,.review-platform-tabs [aria-pressed=true],.review-platform-tabs [aria-current=page],.legal-toc a.active,.premium-language-option[aria-selected=true],.mobile-language-option[aria-selected=true],.language-option:has(input:checked),.exam-tabs a.active,.exam-tabs a:hover){background:var(--night-raised)!important;color:var(--night-link)!important;border-color:#817ab6!important}
html[data-theme=dark] body :is(.text-link,.detail-link,.watch-pill,.watch-link,.policy-link,.panel-link):hover{background:#333d57!important;color:#fff!important}
html[data-theme=dark] body :is(.update-categories button[aria-pressed=true],.updates-pagination button[aria-current=page]){background:#514b9d!important;color:#fff!important}
html[data-theme=dark] body :is(.legal-content,.detail-block) a{color:#ffbc89!important}
html[data-theme=dark] body :is(.offer-coupon,.update-important,.update-category,.offer-badge){background:#3b2a22!important;color:#ffd0ae!important;border-color:#ba8158!important}
html[data-theme=dark] body .premium-offer button.offer-copy{background:#232e44!important;color:#ffc18f!important}
html[data-theme=dark] body :is(.offer-copy-state,.registration-status.started){color:#9ce9ba!important}
html[data-theme=dark] body .registration-status.started{background:#183b2a!important}
html[data-theme=dark] body .registration-status.closed{background:#47282f!important;color:#ffc0c7!important}
html[data-theme=dark] body .registration-status.scheduled{background:#30334d!important;color:#dddfff!important}
/* All public inputs, including more specific page selectors and open dropdowns. */
html[data-theme=dark] body :is(main,dialog,.ep-main,.public-reviews) :is(input:not([type=checkbox]):not([type=radio]),textarea,select,.ps-trigger,.ps-menu,.ps-option,.series-language-trigger,.series-language-menu,.series-language-option){background:var(--night-panel)!important;color:var(--night-text)!important;border-color:var(--night-line)!important;color-scheme:dark}
html[data-theme=dark] body :is(.ps-value,.ps-caret,.ps-icon,.premium-language-option .option-price){color:var(--night-text)!important}
html[data-theme=dark] body :is(.ps-option:hover,.ps-option[aria-selected=true],.premium-language-option:hover,.mobile-language-option:hover){background:#353653!important;color:#fff!important}
html[data-theme=dark] body :is(input,textarea)::placeholder{color:#aebbd2!important;opacity:1}
html[data-theme=dark] body :is(dialog:not(.pm-campaign-popup),.premium-language-menu,.mobile-language-menu){background:var(--night-panel);color:var(--night-text);border-color:var(--night-line)}
html[data-theme=dark] body :is(.dialog-close,#sample-dialog .dialog-done,#preview-dialog>#dialog-back){background:var(--night-raised)!important;color:var(--night-text)!important}
/* Header, footer and floating widgets use the same readable palette. */
html[data-theme=dark] body :is(.gn-header,.gn-footer,.gn-toggle,.gn-header .notification-header-bell){color:var(--night-text)!important}
html[data-theme=dark] body .gn-header .notification-header-bell{background:var(--night-panel)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body :is(.gn-footer,.footer) :is(p,a,small,span){color:var(--night-muted)}
html[data-theme=dark] body .pm-sales .pm-sale-close{color:var(--night-muted)!important}
html[data-theme=dark] body .pm-sales .pm-sale-bell{background:var(--night-panel)!important;color:#ffb174!important;border-color:var(--night-line)!important}
html[data-theme=dark] body .pm-review-entry{color:var(--night-text)}
html[data-theme=dark] body .pm-sale-verified{color:#72dda0}
/* Preserve artwork, coloured vector icons, promotional header colours and brand actions. */
html[data-theme=dark] body .ab-cta{background:#302d75!important;color:#fff!important}
html[data-theme=dark] body .ab-cta :is(h2,p){color:#fff!important}
html[data-theme=dark] body .offer-ribbon :is(strong,span){color:inherit}
html[data-theme=dark] body .offer-discount strong{color:var(--offer-accent,#ff9b50)}
html[data-theme=dark] body.exam-reference .exam-link-custom-image{background:transparent!important}
html[data-theme=dark] body :is(.gn-logo,.gn-logo-crop){border-radius:10px}
@media(prefers-reduced-motion:no-preference){html[data-theme=dark] body{transition:background-color .15s,color .15s}}
/* Contrast corrections verified against computed browser colours. */
html[data-theme=dark] body :is(.series-detail-page p,.series-facts small,.breadcrumb,.breadcrumb a,.breadcrumb span,.exam-tabs a,.exam-tab-label){color:var(--night-muted)!important}
html[data-theme=dark] body :is(.series-test-number,.red-pill,.skip){background:var(--night-raised)!important;color:var(--night-text)!important}
html[data-theme=dark] body .ep-fields label>span{color:#ff9da6!important}
html[data-theme=dark] body .exam-tile small{color:#ffb780!important}
html[data-theme=dark] body .not-found{background:var(--night-bg)!important}
html[data-theme=dark] body .not-found-card{background:var(--night-panel)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body .not-found-number{color:#cec8ff!important}
/* Deeper orange maintains the brand hue with readable white button labels. */
html[data-theme=dark] body :is(.btn.orange,.button.primary,.fixed-buy,.offer-cta,.ab-button:not(.ab-outline),.review-search-button,.compact-filter-toggle,.yt-channel-link,.exam-info-button){background:#bd4900!important;color:#fff!important;border-color:#e8772f!important}
html[data-theme=dark] body :is(.compact-filter-toggle,.yt-channel-link,.exam-info-button) :is(span,svg){color:#fff!important}
html[data-theme=dark] body :is(.btn.orange,.button.primary,.fixed-buy,.offer-cta,.ab-button:not(.ab-outline),.review-search-button,.compact-filter-toggle,.yt-channel-link,.exam-info-button):hover{background:#a63f00!important;color:#fff!important}
html[data-theme=dark] body a:is(.btn,.button)[href^="https://wa.me/"],html[data-theme=dark] body a:is(.btn,.button)[href^="https://api.whatsapp.com/"],html[data-theme=dark] body a:is(.btn,.button)[href^="whatsapp:"]{background:#61ce70!important;border-color:#61ce70!important;color:#fff!important}
html[data-theme=dark] body :is(.series-detail-hero,.series-detail-page .series-card-price,.series-access-heading>span:not(:has(img))){background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body :is(.series-detail-kicker,.series-fact-icon,.series-access-heading>span:not(:has(img)),.course-meta svg,.compact-course-facts svg){color:#c8c3ff!important}
html[data-theme=dark] body :is(.reference-eligibility,.reference-fees,.exam-reference #pattern){box-shadow:none!important}
html[data-theme=dark] body :is(.gn-toggle:hover,.gn-toggle[aria-expanded=true],.gn-submenu a.gn-active,.gn-mobile a.gn-active,.gn-mobile>.gn-dropdown.gn-active>summary){background:var(--night-raised)!important;color:#ffbc89!important}
html[data-theme=dark] body .gn-toggle svg{color:var(--night-text)!important;stroke:currentColor}
html[data-theme=dark] body .gn-social-links a{background:var(--night-raised)!important;color:var(--night-link)!important}
html[data-theme=dark] body :is(.help-banner a.btn,.whatsapp-support){background:#61ce70!important;border-color:#61ce70!important;color:#fff!important}
html[data-theme=dark] body .exam-index-card .body>small{color:#ffbb89!important}
html[data-theme=dark] body .testimonial-top .testimonial-avatar{background:#303b58!important;color:#eeeaff!important}
html[data-theme=dark] body .review-arrow-controls button{background:var(--night-raised)!important;color:var(--night-text)!important;border-color:var(--night-line)!important}
html[data-theme=dark] body .public-reviews .reviews-filter label{color:var(--night-muted)!important}

html[data-theme=dark] body .exam-official-links a:first-child .reference-portal-button{background:#bd4900!important;color:#fff!important}
html[data-theme=dark] body .notification-header-bell .notification-unread{background:#bd4900!important;color:#fff!important}

/* v55: preserve the original layouts instead of painting tight text-sized blocks. */
html[data-theme=dark] body :is(.values>div,.highlight,.benefit-grid article,.ep-benefits .ep-tile,.compact-course-facts){background:transparent!important;box-shadow:none!important}
html[data-theme=dark] body.exam-reference .exam-main>section.panel:not(#syllabus):not(#documents){background:transparent!important;border-radius:0!important}
html[data-theme=dark] body.exam-reference .exam-main>section.panel+section.panel{margin-top:24px}
html[data-theme=dark] body.exam-reference .journey li>span{background:#293550!important;color:#edf0fb!important;border:1px solid #53617d}
html[data-theme=dark] body.exam-reference .exam-video-card{border-color:#46536d!important}
html[data-theme=dark] body :is(.exam-video,.exam-videos a,.exam-video-grid a){border-color:#46536d!important}
/* Rounded image edges without changing circular avatars or cropping the artwork. */
html[data-theme=dark] body :is(main,.gn-footer,.gn-header,.pm-campaign-popup) img{border-radius:10px}
html[data-theme=dark] body :is(.gn-footer .gn-logo,.gn-footer .gn-logo-crop,.exam-hero-art,.reference-art-clean){border-radius:10px!important;overflow:hidden}
html[data-theme=dark] body.exam-reference .exam-hero-art img{border-radius:10px!important}
html[data-theme=dark] body :is(.testimonial-avatar img,.series-detail-logo img,.series-access-heading>span img,.pm-sale-avatar,.ab-founder-photo img){border-radius:50%}
/* Original brand fills; dark label ink makes the orange/green legible. */
html[data-theme=dark] body :is(.btn.orange,.button.primary,.fixed-buy,.offer-cta,.ab-button:not(.ab-outline),.review-search-button,.compact-filter-toggle,.yt-channel-link,.exam-info-button){background:#ff6900!important;border-color:#ff6900!important;color:#fff!important}
html[data-theme=dark] body :is(.btn.orange,.button.primary,.fixed-buy,.offer-cta,.ab-button:not(.ab-outline),.review-search-button,.compact-filter-toggle,.yt-channel-link,.exam-info-button) :is(span,svg){color:inherit!important}
html[data-theme=dark] body :is(.btn.orange,.button.primary,.fixed-buy,.offer-cta,.ab-button:not(.ab-outline),.review-search-button,.compact-filter-toggle,.yt-channel-link,.exam-info-button):hover{background:#ff8129!important;color:#fff!important;border-color:#ff8129!important}
html[data-theme=dark] body .exam-official-links a:first-child .reference-portal-button{background:#ff6900!important;color:#fff!important}
html[data-theme=dark] body :is(.btn.navy,.button.navy,.gn-login){background:#2b2b81!important;color:#fff!important}
html[data-theme=dark] body :is(.help-banner a.btn,.whatsapp-support,a.btn[href*="wa.me/"],a.button[href*="wa.me/"]){background:#61ce70!important;border-color:#61ce70!important;color:#fff!important}
html[data-theme=dark] body img.testimonial-avatar{border-radius:50%}

/* v56: targeted surface and image corrections. */
html[data-theme=dark] body .values>div,
html[data-theme=dark] body .course-meta.compact-course-facts,
html[data-theme=dark] body .about-page .ab-benefit{background:transparent!important;box-shadow:none!important}
html[data-theme=dark] body .about-page .ab-note{padding:18px 20px;border-radius:12px;gap:12px}
html[data-theme=dark] body .site-search-dialog .site-search-label input[type=search]{background:transparent!important;box-shadow:none!important;border:0!important;color:var(--night-text)!important}
html[data-theme=dark] body .site-search-label{background:var(--night-raised)!important}
html[data-theme=dark] body .support-hours svg{color:#c8c3ff!important;stroke:currentColor}
html[data-theme=dark] body .gn-footer .gn-logo{height:auto!important;overflow:hidden;border-radius:10px!important}
html[data-theme=dark] body .gn-footer .gn-logo img{display:block;height:auto!important;border-radius:10px!important}
html[data-theme=dark] body .gn-footer .gn-logo-crop{clip-path:inset(0 round 10px)}
html[data-theme=dark] body .social-screenshot-card .social-screenshot-image img{border-radius:10px!important;overflow:hidden}
html[data-theme=dark] body :is(.whatsapp-support,.help-banner a.btn) :is(svg,span){color:#fff!important}

/* v57: round rendered hero artwork and leave exam labels outside image clipping. */
html[data-theme=dark] body .reviews-hero img.reviews-hero-image{width:auto!important;height:auto!important;max-width:100%;max-height:290px;justify-self:center;border-radius:14px!important;overflow:hidden}
html[data-theme=dark] body .social-screenshot-card .social-screenshot-image{overflow:visible!important;border-radius:12px!important}
html[data-theme=dark] body .social-screenshot-card .social-screenshot-image img{border-radius:12px!important}
/* v62 night-mode consistency */
html[data-theme=dark] body :is(.series-product-card,.premium-offer,.ep-offer,.ep-tile){border:1px solid #35415a!important;background:#182133!important;color:#edf0fb!important}
html[data-theme=dark] body .compact-filter-heading button.compact-filter-toggle{background:#ff6900!important;color:#fff!important;border:1px solid #ff6900!important}
html[data-theme=dark] body .compact-filter-heading button.compact-filter-toggle :is(span,svg){color:#fff!important;background:transparent!important}
html[data-theme=dark] body .compact-filter-heading button.compact-filter-toggle:hover{background:#e85e00!important;border-color:#e85e00!important}
html[data-theme=dark] body .compact-filter-heading button.compact-filter-toggle:focus-visible{outline:2px solid #ffb57e!important;outline-offset:3px}
html[data-theme=dark] body .reference-eligibility>section,html[data-theme=dark] body #eligibility{background:#182133!important;border:1px solid #35415a!important;color:#edf0fb!important;border-radius:13px}
html[data-theme=dark] body :is(.reference-eligibility,#eligibility) :is(h2,h3,p,li,strong,span){color:#edf0fb!important}
html[data-theme=dark] body :is(.reference-eligibility,#eligibility) li{border-color:#35415a!important;background:transparent!important}
html[data-theme=dark] body .exam-reference #eligibility li svg{background:#26324a!important;color:#c8c3ff!important;stroke:currentColor}
html[data-theme=dark] body .ep-main>.ep-hero{border:1px solid var(--night-line,#35415a)!important}
html[data-theme=dark] body .exam-index-filter{background:#182133!important;border:1px solid #35415a!important;border-radius:14px;padding:8px;display:flex;align-items:center;gap:10px;min-width:0}
html[data-theme=dark] body .exam-index-filter input[type=search]{background:transparent!important;color:#edf0fb!important;border:0!important;box-shadow:none!important;min-width:0;flex:1}
html[data-theme=dark] body .exam-index-filter input::placeholder{color:#b7c4dc!important;opacity:1}
html[data-theme=dark] body .exam-index-filter>svg{color:#c8c3ff!important;flex-shrink:0}
html[data-theme=dark] body .exam-index-filter:focus-within{outline:2px solid #7770ca;outline-offset:2px}
html[data-theme=dark] body #eligibility .exam-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-top:16px;background:#232e43!important;color:#edf0fb!important;border:1px solid #35415a!important;border-radius:10px}
html[data-theme=dark] body #eligibility .exam-note p{margin:0;line-height:1.6;min-width:0;overflow-wrap:anywhere}
html[data-theme=dark] body #eligibility .exam-note svg{width:21px;height:21px;flex:0 0 21px;margin-top:2px;color:#c8c3ff!important}

/* v63: outlined tiles need inset content even where light mode uses flat rows. */
html[data-theme=dark] body .ep-main :is(.ep-benefits,.ep-band) .ep-tile{padding:20px!important;border:1px solid var(--night-line,#35415a)!important;border-radius:16px;gap:16px;box-sizing:border-box;height:100%;align-items:flex-start}
html[data-theme=dark] body .ep-main .ep-tile>.tone{flex-shrink:0;margin-top:2px}
html[data-theme=dark] body .ep-main .ep-tile>div{min-width:0;overflow-wrap:anywhere}
html[data-theme=dark] body .ep-main .ep-tile h3{margin-top:0;margin-bottom:6px;line-height:1.4}
html[data-theme=dark] body .ep-main .ep-tile p{margin:0;line-height:1.6}
@media(max-width:800px){html[data-theme=dark] body .ep-main :is(.ep-benefits,.ep-band) .ep-tile{padding:16px!important;gap:12px}}
