body.carewex-modern {
    background: linear-gradient(160deg, #f8faff 0%, #edf2fb 62%, #eef8f7 100%);
}

body.carewex-modern #layout-topbar.carewex-topbar {
    background: linear-gradient(110deg, #132943 0%, #1d416c 60%, #185c70 100%);
    border-bottom: 3px solid #67c7b5;
    box-shadow: 0 7px 22px rgba(17, 43, 73, .18);
}

body.carewex-modern #layout-topbar #logo {
    box-sizing: content-box;
    padding: 5px 10px;
    border-radius: 9px;
    background: #fff;
    margin-top: 20px;
}

body.carewex-modern .carewex-navigation .ui-megamenu {
    border-color: #d7e3ed;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(29, 59, 93, .06);
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-menuitem-text {
    color: #344f68;
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-menuitem-link:hover {
    border-radius: 8px;
    background: #e8f3f5;
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-submenu-link[aria-expanded="true"] {
    background: #145e63;
}

body.carewex-modern .carewex-navigation .ui-megamenu .ui-submenu-link[aria-expanded="true"] .ui-menuitem-text {
    color: #fff;
}

body.carewex-modern .carewex-page-heading {
    border-color: #d7e5ef;
    background: linear-gradient(110deg, #fff 0%, #f2f8fc 70%, #e8f6f3 100%);
}

body.carewex-modern .carewex-role-home .carewex-workspace-hero {
    gap: clamp(20px, 3vw, 36px);
    border: 1px solid #284e73;
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 0%, rgba(80, 203, 180, .25), transparent 36%),
        linear-gradient(115deg, #17345a 0%, #1d4c73 58%, #1d6874 100%);
    box-shadow: 0 12px 25px rgba(25, 59, 93, .16);
    color: #fff;
}

body.carewex-modern .carewex-role-home .carewex-workspace-hero .carewex-eyebrow {
    color: #b7eee2;
}

body.carewex-modern .carewex-role-home .carewex-workspace-hero h2 {
    color: #fff;
}

body.carewex-modern .carewex-role-home .carewex-workspace-hero p {
    color: #e4f0f8;
}

body.carewex-modern .carewex-role-home .carewex-facility-chip {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: #f2fbf9;
    color: #18564f;
    font-weight: 600;
}

body.carewex-modern .carewex-role-home .carewex-workspace-guide {
    padding: 20px 22px;
    border: 1px solid rgba(220, 244, 246, .28);
    border-radius: 14px;
    background: rgba(14, 43, 68, .38);
    color: #fff;
}

body.carewex-modern .carewex-role-home .carewex-workspace-guide > .fa {
    color: #9de5d7;
}

body.carewex-modern .carewex-role-home .cw-care-section {
    margin-top: 20px;
    border-color: #d8e5ee;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(31, 63, 91, .05);
}

body.carewex-modern .carewex-role-home .cw-care-stage {
    border-radius: 12px;
    background: #f3f7ff;
}

body.carewex-modern .carewex-role-home .cw-care-stage-diagnostics {
    background: #edf9f5;
}

body.carewex-modern .carewex-role-home .carewex-module-group {
    --module-color: #14665e;
    --module-bg: #e4f6ef;
}

body.carewex-modern .carewex-role-home .carewex-group-operations {
    --module-color: #295da1;
    --module-bg: #e9f1ff;
}

body.carewex-modern .carewex-role-home .carewex-group-admin {
    --module-color: #704b9d;
    --module-bg: #f3ebfc;
}

body.carewex-modern .carewex-role-home .carewex-section-heading h2 {
    color: #1b3555;
}

body.carewex-modern .carewex-role-home .carewex-module-card > a {
    border-color: #dbe5ee;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(29, 58, 89, .05);
}

body.carewex-modern .carewex-role-home .carewex-module-card > a:hover,
body.carewex-modern .carewex-role-home .carewex-module-card > a:focus-visible {
    border-color: var(--module-color);
    box-shadow: 0 10px 24px rgba(29, 58, 89, .12);
}

body.carewex-modern .carewex-role-home .carewex-module-icon {
    border-radius: 14px;
}

@media (max-width: 960px) {
    body.carewex-modern #layout-topbar #logo {
        padding: 4px 8px;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    body.carewex-modern .carewex-role-home .carewex-workspace-guide {
        padding: 16px;
    }
}
