html[data-nibras-theme=dark] body{background:#0e1d30}
html[data-nibras-theme=dark] .ns-native-home{--ivory:#0e1d30;--paper:#182a3d;--navy:#f4eee2;--muted:#b6c1cb;--line:#354456;background:#0e1d30!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .hero{background:transparent!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .discovery-section{background:transparent!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .about-section{background:transparent!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .journal-section{background:transparent!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .category-card{background:#182a3d!important;border-color:#354456!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .card-info{background:#182a3d!important;border-color:#354456!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home .journal-list{background:#182a3d!important;border-color:#354456!important;color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home :is(.hero-copy,.section-heading,.category-card,.card-info,.about-copy,.journal-section) :is(.elementor-widget-heading,.elementor-heading-title,.journal-entry,.journal-entry-title){color:#f4eee2!important}
html[data-nibras-theme=dark] .ns-native-home :is(.hero-copy,.category-card,.card-info,.about-copy,.journal-section) .elementor-widget-text-editor{color:#b6c1cb!important}
html[data-nibras-theme=dark] .ns-native-home :is(.eyebrow,.journal-topic,.journal-all,.secondary-button){color:#b8d9d2!important}
html[data-nibras-theme=dark] .ns-native-home .journal-arrow{background:#29443f!important;color:#e6f2ef!important}

/* Nibras shared palette — scoped to the supplied Nibras components. */
html{--ns-bg:#f7f4ee;--ns-surface:#ffffff;--ns-soft:#eee8dd;--ns-ink:#102137;--ns-muted:#546273;--ns-line:#d9dcd9;--ns-gold:#c6a25a;--ns-gold-hover:#d9b970;--ns-accent:#806024;color-scheme:light}
html[data-nibras-theme="dark"]{--ns-bg:#0e1d30;--ns-surface:#182a3d;--ns-soft:#21364b;--ns-ink:#f4eee2;--ns-muted:#bcc6d0;--ns-line:#354456;--ns-accent:#d7b76d;color-scheme:dark}
html[data-nibras-theme] body{background:var(--ns-bg);color:var(--ns-ink)}
html[data-nibras-theme] .ns-header{--nh-bg:var(--ns-bg);--nh-text:var(--ns-ink);--nh-line:var(--ns-line);--nh-hover:var(--ns-accent)}
html[data-nibras-theme] .ns-footer{--nf-bg:var(--ns-bg);--nf-ink:var(--ns-ink);--nf-muted:var(--ns-muted);--nf-line:var(--ns-line);--nf-accent:var(--ns-accent);--nf-tint:var(--ns-soft)}
/* Existing live Elementor homepage, observed as .ns-page (page 147). */
html[data-nibras-theme] .ns-page{--cream:var(--ns-bg);--ink:var(--ns-ink);--blue:var(--ns-muted);--line:var(--ns-line);background:var(--ns-bg)!important;color:var(--ns-ink)!important}
html[data-nibras-theme] .ns-page :is(.ns-hero,.ns-method,.ns-final-cta,.ns-cream,.ns-trust-section){background:var(--ns-bg)!important;color:var(--ns-ink)!important}
html[data-nibras-theme] .ns-page :is(.ns-white,.ns-floating-card,.ns-category-card,.ns-trust-panel,.ns-benefit-card,.ns-review-card,.ns-guide-card,.ns-status,.ns-promise,.ns-newsletter){background:var(--ns-surface)!important;color:var(--ns-ink)!important;border-color:var(--ns-line)!important}
html[data-nibras-theme] .ns-page :is(.ns-floating-symbol,.ns-trust-symbol,.ns-why-quote,.ns-promise-point){background:var(--ns-soft)!important}
html[data-nibras-theme] .ns-page :is(.ns-hero-title,.ns-floating-title,.ns-section-title,.ns-method-title,.ns-final-title,.ns-promise-point) .elementor-heading-title,
html[data-nibras-theme] .ns-page .ns-why-quote p{color:var(--ns-ink)!important}
html[data-nibras-theme] .ns-page :is(.ns-hero-lead,.ns-method-text,.ns-final-text,.ns-section-description) p,
html[data-nibras-theme] .ns-page :is(.ns-micro-item,.ns-floating-label,.ns-muted-link) .elementor-heading-title,
html[data-nibras-theme] .ns-page :is(.ns-section-note,.ns-newsletter-note) p{color:var(--ns-muted)!important}
html[data-nibras-theme] .ns-page :is(.ns-hero-title,.ns-why-title) span,
html[data-nibras-theme] .ns-page :is(.ns-kicker,.ns-trust-title-small,.ns-benefit-number,.ns-review-meta,.ns-comparison-number,.ns-guide-meta,.ns-method-number) .elementor-heading-title{color:var(--ns-accent)!important}
html[data-nibras-theme] .ns-page .ns-method-dot{border-color:var(--ns-bg)!important}
html[data-nibras-theme] .ns-page .ns-comparison-row:hover,
html[data-nibras-theme] .ns-page .ns-benefit-card:hover{background:var(--ns-soft)!important}
html[data-nibras-theme] .ns-page .ns-newsletter-form .elementor-field{background:var(--ns-soft)!important;color:var(--ns-ink)!important;border-color:var(--ns-line)!important}
/* Primary actions share gold + navy in both modes. */
html[data-nibras-theme] :is(.ns-header .nh-cta,.ns-page .ns-button-gold,.ns-page .ns-final-button,.ns-native-home .primary-button) .elementor-button,
html[data-nibras-theme] .ns-page .ns-newsletter-form .elementor-button{background:var(--ns-gold)!important;color:#102137!important;border:1px solid var(--ns-gold)!important;box-shadow:none!important;transform:none!important}
html[data-nibras-theme] :is(.ns-header .nh-cta,.ns-page .ns-button-gold,.ns-page .ns-final-button,.ns-native-home .primary-button) .elementor-button:hover,
html[data-nibras-theme] .ns-page .ns-newsletter-form .elementor-button:hover{background:var(--ns-gold-hover)!important;border-color:var(--ns-gold-hover)!important;color:#102137!important}
/* Utility and secondary actions share a subtle surface hover. */
html[data-nibras-theme] :is(.ns-header .nh-theme,.ns-header .nh-language,.ns-header .nh-menu,.ns-page .ns-button-outline,.ns-footer .nf-social) .elementor-button{background:transparent!important;color:var(--ns-ink)!important;border:1px solid var(--ns-line)!important;box-shadow:none!important;transform:none!important}
html[data-nibras-theme] :is(.ns-header .nh-theme,.ns-header .nh-language,.ns-header .nh-menu,.ns-page .ns-button-outline,.ns-footer .nf-social) .elementor-button:hover{background:var(--ns-soft)!important;border-color:var(--ns-accent)!important;color:var(--ns-ink)!important}
html[data-nibras-theme] .ns-page :is(.ns-text-link,.ns-guide-link) .elementor-button{color:var(--ns-ink)!important;background:transparent!important}
html[data-nibras-theme] :is(.ns-header .nh-nav,.ns-footer .nf-link,.ns-page .ns-text-link,.ns-page .ns-guide-link) .elementor-button:hover{color:var(--ns-accent)!important;background:transparent!important;text-decoration:underline;text-underline-offset:6px}
html[data-nibras-theme] :is(.ns-header,.ns-footer,.ns-page,.ns-native-home) a:focus:not(:focus-visible){outline:none!important}
html[data-nibras-theme] :is(.ns-header,.ns-footer,.ns-page,.ns-native-home) :is(a,button,input):focus-visible{outline:2px solid var(--ns-accent)!important;outline-offset:4px!important}
/* Preserve the original image proportions, without a contrasting box. */
html[data-nibras-theme] .ns-header .nh-logo{background:transparent!important;padding:0!important;width:172px!important;border-radius:0}
html[data-nibras-theme] .ns-header .nh-logo img{width:172px!important;height:auto!important;max-width:100%;object-fit:contain}
html[data-nibras-theme] .ns-footer .nf-logo img{height:auto!important;object-fit:contain}
html[data-nibras-theme="light"] :is(.ns-header .nh-logo,.ns-footer .nf-logo) img{filter:none!important}
html[data-nibras-theme="dark"] :is(.ns-header .nh-logo,.ns-footer .nf-logo) img{filter:brightness(0) invert(94%) sepia(10%) saturate(300%)!important}
@media(max-width:600px){html[data-nibras-theme] .ns-header .nh-logo,html[data-nibras-theme] .ns-header .nh-logo img{width:144px!important}}
@media(max-width:380px){html[data-nibras-theme] .ns-header .nh-logo,html[data-nibras-theme] .ns-header .nh-logo img{width:112px!important}}
@media(prefers-reduced-motion:reduce){html[data-nibras-theme] :is(.ns-page,.ns-header,.ns-footer) *{transition:none!important;animation:none!important}}

/* Homepage color review 4.1.0. Layout, copy and imagery stay unchanged. */
html[data-nibras-theme] .ns-native-home.ns-native-home{
 --nhp-ink:#132238;--nhp-muted:#596875;--nhp-link:#225b57;--nhp-hover:#132238;
 --nhp-card:#fffdf9;--nhp-line:#d4d9d6;--nhp-art:#e4ece8;--nhp-icon:#225b57;
 --nhp-chip:#edf3f0;--nhp-ring:#225b57;--nhp-ring-alt:#132238;
}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home{
 --nhp-ink:#f4eee2;--nhp-muted:#bdc9d4;--nhp-link:#a7d8d0;--nhp-hover:#ffffff;
 --nhp-card:#182a3d;--nhp-line:#40566a;--nhp-art:#263f4a;--nhp-icon:#c0e7df;
 --nhp-chip:#243e47;--nhp-ring:#83c9bd;--nhp-ring-alt:#d7b76d;
}
/* Keep the existing teal backgrounds, including their existing hover shade. */
html[data-nibras-theme] .ns-native-home.ns-native-home .primary-button{background:#2f756f!important;color:#fff!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .primary-button:hover{background:#225b57!important;color:#fff!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .primary-button :is(a,a:hover,a:focus,span,b){color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .secondary-button{color:var(--nhp-link)!important;border-color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .secondary-button:hover{background:#225b57!important;color:#fff!important;border-color:#225b57!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .secondary-button :is(a,span){color:inherit!important;background:transparent!important}

html[data-nibras-theme] .ns-native-home.ns-native-home :is(.hero-card,.card-info,.category-card,.journal-list){background:var(--nhp-card)!important;border-color:var(--nhp-line)!important}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .hero-card{box-shadow:0 20px 44px #0003!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .card-info>.elementor-widget-button{color:var(--nhp-link)!important;border-top-color:var(--nhp-line)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .card-info>.elementor-widget-button:hover{color:var(--nhp-hover)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .card-info>.elementor-widget-button :is(a,span,b){color:inherit!important;background:transparent!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .card-info>.elementor-widget-text-editor{color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .ns-save,
html[data-nibras-theme] .ns-native-home.ns-native-home .ns-save .elementor-icon{color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .ns-save:hover,
html[data-nibras-theme] .ns-native-home.ns-native-home .ns-save:hover .elementor-icon{color:var(--nhp-hover)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .ns-save svg{fill:currentColor!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .trust-note{color:var(--nhp-muted)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .trust-note strong{color:var(--nhp-ink)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .verified-dot,
html[data-nibras-theme] .ns-native-home.ns-native-home .verified-dot p{background:#2f756f!important;color:#fff!important}

html[data-nibras-theme] .ns-native-home.ns-native-home .section-heading>.elementor-widget-text-editor,
html[data-nibras-theme] .ns-native-home.ns-native-home .section-heading>.elementor-widget-text-editor p{color:var(--nhp-muted)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .eyebrow{color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .eyebrow::before{background:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card:hover{border-color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card .category-art,
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card .category-art p{color:#225b57!important}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .category-card .category-art{background:var(--nhp-art)!important;color:var(--nhp-icon)!important}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .category-card .category-art p{color:var(--nhp-icon)!important}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .category-art::after{border-color:#71968e!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card:hover .category-art p{color:var(--nhp-icon)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-number{background:var(--nhp-chip)!important;color:var(--nhp-link)!important;border-color:var(--nhp-line)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card :is(.nr66,.nr74,.nr82,.nr90,.nr98,.nr106){border-top-color:var(--nhp-line)!important;color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .category-card:hover :is(.nr66,.nr74,.nr82,.nr90,.nr98,.nr106){color:var(--nhp-hover)!important}

html[data-nibras-theme] .ns-native-home.ns-native-home .about-values{border-color:var(--nhp-line)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .about-values b{color:var(--nhp-ink)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .about-orbit .nr133{border-color:var(--nhp-ring)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .about-orbit .nr134{border-color:var(--nhp-ring-alt)!important}
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .about-orbit::before,
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home .about-orbit::after{border-color:#42676c!important}

html[data-nibras-theme] .ns-native-home.ns-native-home :is(.journal-section,.journal-entry){border-color:var(--nhp-line)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-all{color:var(--nhp-link)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-all:hover{color:var(--nhp-hover)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-all :is(a,span){color:inherit!important;background:transparent!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-arrow{color:var(--nhp-link)!important;background:var(--nhp-chip)!important;border:1px solid var(--nhp-line)!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-arrow p{color:inherit!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-entry:hover .journal-arrow{background:#225b57!important;color:#fff!important;border-color:#83c9bd!important}
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-entry:hover .journal-entry-title,
html[data-nibras-theme] .ns-native-home.ns-native-home .journal-entry:hover .journal-entry-title .elementor-heading-title{color:var(--nhp-link)!important}
/* These sections use navy as a surface, not as a text token. */
html[data-nibras-theme="dark"] .ns-native-home.ns-native-home :is(.category-rail,.method-section){background:#14263b!important;color:#f4eee2!important}

/* Header/footer refinement — homepage rules remain unchanged. */
html[data-nibras-theme] :is(.ns-header.ns-header,.ns-footer.ns-footer){--ns-accent:#225b57;--ns-soft:#e7efeb;--nf-accent:#225b57;--nh-hover:#225b57;--brand-link:#225b57;--brand-hover:#e7efeb}
html[data-nibras-theme="dark"] :is(.ns-header.ns-header,.ns-footer.ns-footer){--ns-accent:#a7d8d0;--ns-soft:#243e47;--nf-accent:#a7d8d0;--nh-hover:#a7d8d0;--brand-link:#a7d8d0;--brand-hover:#243e47}
html[data-nibras-theme] .ns-header.ns-header .nh-cta .elementor-button{background:#2f756f!important;color:white!important;border-color:#2f756f!important;border-radius:12px!important;font-weight:600}
html[data-nibras-theme] .ns-header.ns-header .nh-cta .elementor-button:hover{background:#225b57!important;border-color:#225b57!important;color:white!important}
html[data-nibras-theme] .ns-header.ns-header .nh-cta .elementor-button :is(span,b){color:inherit!important}
html[data-nibras-theme] .ns-header.ns-header .nh-nav{gap:4px!important}
html[data-nibras-theme] .ns-header.ns-header .nh-nav .elementor-button{border:0!important;border-radius:12px!important;padding:10px 12px!important;text-decoration:none!important;font-weight:500;transition:background-color .18s ease,color .18s ease}
html[data-nibras-theme] .ns-header.ns-header .nh-nav .elementor-button:hover,
html[data-nibras-theme] .ns-header.ns-header .nh-nav .elementor-button:focus-visible{background:var(--brand-hover)!important;color:var(--brand-link)!important;text-decoration:none!important}
html[data-nibras-theme] .ns-header.ns-header :is(.nh-theme,.nh-language,.nh-menu) .elementor-button{border-radius:12px!important}
html[data-nibras-theme] .ns-header.ns-header :is(.nh-theme,.nh-language,.nh-menu) .elementor-button:hover{background:var(--brand-hover)!important;border-color:var(--brand-link)!important}
html[data-nibras-theme] .ns-header.ns-header a:focus-visible,
html[data-nibras-theme] .ns-footer.ns-footer a:focus-visible{outline:2px solid var(--brand-link)!important;outline-offset:3px!important}
html[data-nibras-theme] .ns-header.ns-header .nh-lang-panel .elementor-button:hover{background:var(--brand-hover)!important;color:var(--brand-link)!important}
html[data-nibras-theme] .ns-header.ns-header .nh-inner{grid-template-columns:210px minmax(0,1fr) auto;gap:20px}
html[data-nibras-theme] .ns-header.ns-header .nh-logo{width:210px!important;max-width:100%!important;background:none!important;padding:0!important;line-height:0}
html[data-nibras-theme] .ns-header.ns-header .nh-logo img{display:block;width:210px!important;height:auto!important;aspect-ratio:430/110;object-fit:contain;max-width:100%!important;filter:none!important}
html[data-nibras-theme] .ns-footer.ns-footer .nf-logo{width:230px!important;max-width:100%!important}
html[data-nibras-theme] .ns-footer.ns-footer .nf-logo img{display:block;width:230px!important;height:auto!important;aspect-ratio:430/110;object-fit:contain;max-width:100%!important;filter:none!important}
html[data-nibras-theme] .ns-footer.ns-footer .nf-link .elementor-button:hover{color:var(--brand-link)!important;text-decoration:none!important}
html[data-nibras-theme] .ns-footer.ns-footer .nf-link .elementor-button{border-radius:8px;transition:color .18s ease}
html[data-nibras-theme] .ns-footer.ns-footer .nf-social .elementor-button{border-radius:12px!important}
html[data-nibras-theme] .ns-footer.ns-footer .nf-social .elementor-button:hover{background:var(--brand-hover)!important;border-color:var(--brand-link)!important;color:var(--brand-link)!important}
@media(min-width:901px) and (max-width:1320px){html[data-nibras-theme] .ns-header.ns-header .nh-inner{grid-template-columns:190px minmax(0,1fr) auto;gap:12px}html[data-nibras-theme] .ns-header.ns-header .nh-logo,html[data-nibras-theme] .ns-header.ns-header .nh-logo img{width:190px!important}html[data-nibras-theme] .ns-header.ns-header .nh-nav .elementor-button{padding:10px 8px!important;font-size:13px!important}}
@media(max-width:900px){html[data-nibras-theme] .ns-header.ns-header .nh-inner{grid-template-columns:44px minmax(0,1fr) auto;gap:10px}html[data-nibras-theme] .ns-header.ns-header .nh-logo,html[data-nibras-theme] .ns-header.ns-header .nh-logo img{width:190px!important}html[data-nibras-theme] .ns-header.ns-header .nh-nav{padding:12px 0!important;gap:5px!important}html[data-nibras-theme] .ns-header.ns-header .nh-nav .elementor-button{padding:12px 16px!important}}
@media(max-width:480px){html[data-nibras-theme] .ns-header.ns-header .nh-logo,html[data-nibras-theme] .ns-header.ns-header .nh-logo img{width:160px!important}html[data-nibras-theme] .ns-footer.ns-footer .nf-logo,html[data-nibras-theme] .ns-footer.ns-footer .nf-logo img{width:210px!important}}
@media(max-width:380px){html[data-nibras-theme] .ns-header.ns-header .nh-inner{gap:6px;grid-template-columns:44px minmax(0,1fr) 94px}html[data-nibras-theme] .ns-header.ns-header .nh-logo,html[data-nibras-theme] .ns-header.ns-header .nh-logo img{width:132px!important}}
@media(prefers-reduced-motion:reduce){html[data-nibras-theme] :is(.ns-header.ns-header,.ns-footer.ns-footer) *{transition:none!important}}
