body.carewex-modern {
    --cx-bg: #f1f7fb;
    --cx-ink: #15324a;
    --cx-muted: #526b7b;
    --cx-panel-border: #d3e4ed;
    --cx-accent: #075ca8;
    --cx-accent-strong: #084b84;
    background: linear-gradient(160deg, #f8fcff 0%, #edf6fc 65%, #f1faec 100%);
}

body.carewex-modern #layout-topbar.carewex-topbar {
    background: linear-gradient(110deg, #10243a 0%, #113e69 70%, #075f93 100%);
    border-bottom-color: #7ad72c;
}

body.carewex-modern #layout-topbar #logo {
    background: #000;
    padding: 2px 6px;
    height: 54px;
    width: auto;
    object-fit: contain;
    margin-top: 20px;
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-menuitem-link:hover {
    background: #e4f2fc;
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-submenu-link[aria-expanded="true"] {
    background: #075ca8;
}

body.carewex-modern .carewex-page-heading {
    background: linear-gradient(110deg, #fff, #eff8ff 72%, #f2fae9);
}

body.carewex-modern .carewex-role-home .carewex-workspace-hero {
    border-color: #20517d;
    background: radial-gradient(circle at 85% 0%, rgba(114, 219, 44, .2), transparent 36%),
        linear-gradient(115deg, #143353, #07518e 68%, #0879aa);
}

body.carewex-modern .carewex-role-home .carewex-module-group {
    --module-color: #087b40;
    --module-bg: #e8f8e6;
}

body.carewex-modern .carewex-role-home .carewex-group-operations {
    --module-color: #075ca8;
    --module-bg: #e7f3ff;
}

body.carewex-modern .carewex-role-home .carewex-group-admin {
    --module-color: #285d78;
    --module-bg: #e8f4f6;
}

@media (max-width: 960px) {
    body.carewex-modern #layout-topbar #logo {
        height: 32px;
        margin-top: 10px;
    }
}
