/* Homepage dark scheme: each promoted section uses explicit dark surfaces and readable text. */
html[data-bw-study-scheme="dark"] body[data-bw-public-entry]{background: #10111b !important;
    color: #f5f3ed !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] main, html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public]{background: #10111b !important;
    color: #f5f3ed !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section{background-color: #181726 !important;
    border-color: #454052 !important;
    color: #f5f3ed !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > :is(.hero, .app-section){background-color: #0c0d14 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > .learning-design{background-color: #181722 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(h1, h2, h3, h4, h5){color: #f5f3ed !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(p, li, dt, dd, figcaption, blockquote, small, label, summary, span, strong, b, button){color: var(--bw-control-ink, #d6d1e2) !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .resource-card .mini-option i{color: #d6d1e2 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(.eyebrow, .section-number, .plan-type){color: #c6b2f5 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section a:not(.button){color: #c6b2f5 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .button, html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .button *{background-color: #c6b2f5 !important;
    border-color: #c6b2f5 !important;
    color: #10111b !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(
    .resource-card,
    .learning-loop-step,
    .plan,
    .learning-support-grid > article,
    .trust-proof-card,
    .physician-card,
    .support-stack article,
    .support-feature,
    .public-offer,
    .mini-explanation
  ){background-color: #1a1b29 !important;
    border-color: #454052 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(
    .learning-examples,
    .learning-resources,
    .pathway-section,
    .outcomes-section,
    .trust-section,
    .support-section,
    .pricing-section,
    .closing-section,
    .needs-section,
    .written-plan,
    .mentorship-preview-link,
    .between-session-support
  ){background-color: #181726 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(
    .learning-loop-step,
    .learning-product-proof,
    .learning-design-grid article,
    .learning-support-grid > article,
    .plan,
    .public-offer,
    .faq-list details,
    .exam-row
  ){border-color: #454052 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .exam-row{background-color: #1a1b29 !important;
    color: #f5f3ed !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .pathway-tabs{border-color: #857a96 !important;
    background: transparent !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] #pathways .pathway-tabs button[aria-selected="false"]{background: transparent !important;
    color: #d6d1e2 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .pathway-tabs [role="tab"][aria-selected="true"]{background: #7354a6 !important;
    color: #fff !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section :is(
    .session-card,
    .session-fields select,
    .lesson-preview,
    .learning-loop-step .demo,
    .resource-visual,
    .support-feature
  ){background: #1a1b29 !important;
    border-color: #454052 !important;
    color: #eee5f6 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .learning-loop-step .demo :is(
    .bwic-lead,
    p,
    h3,
    .rb-q,
    button
  ){background-color: #1a1b29 !important;
    border-color: #5a536a !important;
    color: #eee5f6 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .learning-loop-step .demo button{min-height: 44px;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section .resource-visual :is(
    .concept,
    .mini-option,
    .mini-explanation,
    .recall-stack
  ){background-color: #242133 !important;
    border-color: #5a536a !important;
    color: #eee5f6 !important;}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section.bw-application-support-entry, html[data-bw-study-scheme="dark"] body[data-bw-public-entry] [data-home-public] > section.bw-application-support-entry *{background-color: #1f1c2e !important;
    border-color: #454052 !important;
    color: #e7e2ef !important;}
@media (prefers-color-scheme:dark){
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry]{background: #10111b !important;
    color: #f5f3ed !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] main, html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public]{background: #10111b !important;
    color: #f5f3ed !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section{background-color: #181726 !important;
    border-color: #454052 !important;
    color: #f5f3ed !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > :is(.hero, .app-section){background-color: #0c0d14 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > .learning-design{background-color: #181722 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(h1, h2, h3, h4, h5){color: #f5f3ed !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(p, li, dt, dd, figcaption, blockquote, small, label, summary, span, strong, b, button){color: var(--bw-control-ink, #d6d1e2) !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .resource-card .mini-option i{color: #d6d1e2 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(.eyebrow, .section-number, .plan-type){color: #c6b2f5 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section a:not(.button){color: #c6b2f5 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .button, html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .button *{background-color: #c6b2f5 !important;
    border-color: #c6b2f5 !important;
    color: #10111b !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(
    .resource-card,
    .learning-loop-step,
    .plan,
    .learning-support-grid > article,
    .trust-proof-card,
    .physician-card,
    .support-stack article,
    .support-feature,
    .public-offer,
    .mini-explanation
  ){background-color: #1a1b29 !important;
    border-color: #454052 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(
    .learning-examples,
    .learning-resources,
    .pathway-section,
    .outcomes-section,
    .trust-section,
    .support-section,
    .pricing-section,
    .closing-section,
    .needs-section,
    .written-plan,
    .mentorship-preview-link,
    .between-session-support
  ){background-color: #181726 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(
    .learning-loop-step,
    .learning-product-proof,
    .learning-design-grid article,
    .learning-support-grid > article,
    .plan,
    .public-offer,
    .faq-list details,
    .exam-row
  ){border-color: #454052 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .exam-row{background-color: #1a1b29 !important;
    color: #f5f3ed !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .pathway-tabs{border-color: #857a96 !important;
    background: transparent !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] #pathways .pathway-tabs button[aria-selected="false"]{background: transparent !important;
    color: #d6d1e2 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .pathway-tabs [role="tab"][aria-selected="true"]{background: #7354a6 !important;
    color: #fff !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section :is(
    .session-card,
    .session-fields select,
    .lesson-preview,
    .learning-loop-step .demo,
    .resource-visual,
    .support-feature
  ){background: #1a1b29 !important;
    border-color: #454052 !important;
    color: #eee5f6 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .learning-loop-step .demo :is(
    .bwic-lead,
    p,
    h3,
    .rb-q,
    button
  ){background-color: #1a1b29 !important;
    border-color: #5a536a !important;
    color: #eee5f6 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .learning-loop-step .demo button{min-height: 44px;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section .resource-visual :is(
    .concept,
    .mini-option,
    .mini-explanation,
    .recall-stack
  ){background-color: #242133 !important;
    border-color: #5a536a !important;
    color: #eee5f6 !important;}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section.bw-application-support-entry, html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] [data-home-public] > section.bw-application-support-entry *{background-color: #1f1c2e !important;
    border-color: #454052 !important;
    color: #e7e2ef !important;}
}
body[data-bw-public-entry] [data-home-public] > section .access-tag {
  background-color: var(--bw-home-access-surface) !important;
  color: var(--bw-home-access-ink) !important;
}

/* Final public roles follow the optional theme layer, not the member dashboard. */
body[data-bw-public-entry] #main .bw-hero-reveal{background:transparent;border-radius:4px;border-color:#857194}
body[data-bw-public-entry] #main .bw-hero-reveal>summary{font:500 15px/1.5 var(--sans);padding:12px 14px}
body[data-bw-public-entry] #main .bw-hero-reveal>summary span{font-size:14px}
body[data-bw-public-entry] #main .bw-elite-feature-heading{font:500 15px/1.5 var(--sans);letter-spacing:0;text-transform:none}
body[data-bw-public-entry] #main .bw-elite-feature-items .bw-elite-feature-item{font:400 16px/1.7 var(--sans)}
body[data-bw-public-entry] #main .learning-product-proof figcaption .product-sample-label{padding:0;border:0;border-radius:0;font:400 14px/1.6 var(--sans);letter-spacing:0;text-transform:none}
body[data-bw-public-entry] #main .learning-loop-step .demo button{font:500 15px/1.5 var(--sans)}
body[data-bw-public-entry] .site-footer .bw-exam-trademark{font-size:14px;line-height:1.7;color:#bdb5cb}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] #main :is(.learning-loop-step,.learning-product-proof,.learning-support-grid>article,.resource-card,.physician-card,.trust-proof-card,.learning-product-proof figure){background:transparent!important;box-shadow:none}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] #main .learning-product-proof figcaption{color:#d6d1e2}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] #main .learning-loop-step{border-top-color:#857194!important}
html[data-bw-study-scheme="dark"] body[data-bw-public-entry] #main .exam-row{background:transparent!important}
@media (prefers-color-scheme:dark){
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] #main :is(.learning-loop-step,.learning-product-proof,.learning-support-grid>article,.resource-card,.physician-card,.trust-proof-card,.learning-product-proof figure){background:transparent!important;box-shadow:none}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] #main .learning-product-proof figcaption{color:#d6d1e2}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] #main .learning-loop-step{border-top-color:#857194!important}
html:not([data-bw-study-scheme="light"]) body[data-bw-public-entry] #main .exam-row{background:transparent!important}
}
