/* Existing API colors, limited to provider profiles and workspaces in light mode. */
html[data-theme="light"]:has(.profile-page),
html[data-theme="light"]:has(body[data-provider-workspace="doctor"]),
html[data-theme="light"]:has(body[data-provider-workspace="clinic"]) {
    --page:var(--brand-lightSurface);
    --surface:var(--brand-lightSurface);
    --card:var(--brand-lightCard);
    --hover:color-mix(in srgb,var(--brand-lightCard) 95%,var(--brand-black));
    --soft:color-mix(in srgb,var(--brand-lightCard) 97%,var(--brand-black));
}
html[data-theme="light"] .profile-page,
html[data-theme="light"] body:is([data-provider-workspace="doctor"],[data-provider-workspace="clinic"]) {
    background-color:var(--brand-lightSurface);
    --page:var(--brand-lightSurface);
    --surface:var(--brand-lightSurface);
    --card:var(--brand-lightCard);
    --hover:color-mix(in srgb,var(--brand-lightCard) 95%,var(--brand-black));
    --soft:color-mix(in srgb,var(--brand-lightCard) 97%,var(--brand-black));
}
html[data-theme="light"] body:has(.profile-page) {background-color:var(--brand-lightSurface)}
html[data-theme="light"] .profile-page :is(.profile-hero,.profile-section,.profile-side-card,.profile-team-card,.profile-branch-card,.profile-review-summary,.profile-review,.profile-time-content),
html[data-theme="light"] body:is([data-provider-workspace="doctor"],[data-provider-workspace="clinic"]) :is(.doctor-shell,.doctor-shell-main,.doctor-sidebar,.doctor-card,.doctor-panel,.doctor-profile-card,.doctor-editor,.doctor-sidebar-bottom) {
    background-color:var(--brand-lightCard);
}
/* Keep the existing mobile action circles independent of their label's em. */
@media(max-width:760px){
    html .profile-page .profile-mobile-actions>.profile-care-action,
    html .profile-page .profile-mobile-actions>.directory-contact {width:72px}
}
