/* Default light palette; explicit dark choice uses the established dark tokens. Owner palette: white canvas, sky-blue secondary surfaces, dark-blue actions. */
:root{background:#fff;color:#19354b}
:root:has(meta[data-bfsuma-theme][content=light]){color-scheme:light}
:root:has(meta[data-bfsuma-theme][content=dark]){color-scheme:dark}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]),.bfs-public-body{color-scheme:light;background:#fff!important;color:#19354b}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-main,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-form,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-sidebar{background:#fff!important;color:#19354b!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero{background:#e7f5ff!important;color:#19354b!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero h1,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero h2,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero p,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero a,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero li{color:#19354b!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-footnote,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-side-caption,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-side-actions small{color:#52687a!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-navigation a,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-side-actions a,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-side-actions button{color:#014785!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-navigation a[aria-current=page],:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-navigation a:hover,:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-side-actions a:hover{background:#e7f5ff!important;color:#014785!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-secondary,.bfs-public-body .bf-button.bf-outline{background:#e7f5ff!important;color:#014785!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfs-button{background:#014785!important;border-color:#014785!important;color:#fff!important}
.bfs-public-body .bf-footer{background:#e7f5ff;color:#19354b;border-top:1px solid #bfd7e8}
.bfs-public-body .bf-footer p,.bfs-public-body .bf-footer a{color:#014785}
.bfs-global-currency[data-theme=light]{color-scheme:light}
.bfs-global-currency[data-theme=dark]{color-scheme:dark}

/* Keep light authentication sidebar labels readable after removing its registration logo. */
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-hero strong{color:#014785!important}
:root:not(:has(meta[data-bfsuma-theme][content=dark])) .bfu:not([data-theme=dark]) .bfu-auth-footer{color:#52687a!important}
