/* Palette sampled from the supplied WebP. Keep the core navy/sky-blue theme. */
:root{--bfs-brand-cyan:#1daede;--bfs-brand-yellow:#f9b917;--bfs-brand-orange:#f0861a;--bfs-brand-green:#3eb134;--bfs-brand-magenta:#e61874}
.bfs-brand-color-bar{display:block;clear:both;width:100%;max-width:none;margin:0;padding:0;line-height:0;overflow:hidden}
.bfs-brand-color-bar>img{display:block;width:100%;max-width:none;height:clamp(6px,1.04167vw,20px);margin:0;padding:0;border:0;border-radius:0;object-fit:fill}
/* Overview metric cards; the distributor wallet balance cards are scoped separately below. */
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article{background:var(--bfs-metric-fill)!important;color:#082b46!important;border:1px solid #082b4655!important;box-shadow:0 5px 16px #082b4610;border-radius:12px}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article:nth-child(4n+1){--bfs-metric-fill:var(--bfs-brand-cyan)}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article:nth-child(4n+2){--bfs-metric-fill:var(--bfs-brand-yellow)}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article:nth-child(4n+3){--bfs-metric-fill:var(--bfs-brand-orange)}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article:nth-child(4n+4){--bfs-metric-fill:var(--bfs-brand-green)}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article :is(span,strong,small,a){color:#082b46!important}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article a{text-decoration:underline;text-underline-offset:3px}
html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article a:focus-visible{outline:3px solid #082b46;outline-offset:3px}
/* Small accents, preserving the established buttons and text colours. */
.bfu .bfu-section-head>h2{border-inline-start:3px solid var(--bfs-brand-magenta);padding-inline-start:.65rem}
.bsf .bsf-assurances article>svg{padding:7px;box-sizing:content-box;border-radius:12px;background:#1daede24}
.bsf .bsf-assurances article:nth-child(2)>svg{background:#f9b91730}
.bsf .bsf-assurances article:nth-child(3)>svg{background:#f0861a28}
.bsf .bsf-assurances article:nth-child(4)>svg{background:#e6187420}
.bfu .bfs-brand-color-bar{margin-block-start:1.5rem;border-radius:4px}
@media(forced-colors:active){html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article{background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none}html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article :is(span,strong,small){color:CanvasText!important}html body .bfu[data-workspace] [data-workspace-panel="overview"]>.bfu-stats>article a{color:LinkText!important}.bfu .bfu-section-head>h2{border-color:CanvasText}.bfs-brand-color-bar{border-block:1px solid CanvasText}}

/* The distributor and stockist wallet balance cards use the owner's cyan and green. */
html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:nth-child(-n+2){background:var(--bfs-wallet-fill)!important;color:#082b46!important;border:1px solid #082b4655!important;box-shadow:0 5px 16px #082b4610;border-radius:12px}
html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:first-child{--bfs-wallet-fill:var(--bfs-brand-cyan)}
html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:nth-child(2){--bfs-wallet-fill:var(--bfs-brand-green)}
html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:nth-child(-n+2) :is(span,strong){color:#082b46!important}
@media(forced-colors:active){html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:nth-child(-n+2){background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText!important;box-shadow:none}html body .bfu:is([data-workspace="member-dashboard"],[data-workspace="stockist-dashboard"]) [data-workspace-panel="wallet"]>.bfu-stats>article:nth-child(-n+2) :is(span,strong){color:CanvasText!important}}
