@layer hub-action-colors {
/* Account and page scoped. Keep all typography, dimensions, colors and placements. */
html body.cx-dashboard #customer-home[data-personal-polish="true"] :is(.cx-header>div>button,.cx-header>div>details>summary,.cx-brand>a,.cx-content>button,.cx-content>a.button,.cx-actions>button,.cx-nav>button,#personal-menu-slot>details>summary){
 border-color:#dce2eb!important;
 box-shadow:0 2px 6px rgba(20,35,60,.08)!important;
}
html body.cx-dashboard #customer-home[data-personal-polish="true"] :is(.cx-header>div>button,.cx-header>div>details>summary,.cx-brand>a,.cx-content>button,.cx-content>a.button,.cx-actions>button,.cx-nav>button,#personal-menu-slot>details>summary):active{
 box-shadow:0 1px 3px rgba(20,35,60,.12)!important;
}
html body.cx-dashboard:has(#customer-home[data-personal-polish="true"])>#personal-navigation>button,
html body.cx-dashboard:has(#customer-home[data-personal-polish="true"])>#personal-navigation #customer-menu>summary{box-shadow:0 2px 6px rgba(20,35,60,.08)!important}
html body.cx-dashboard:has(#customer-home[data-personal-polish="true"])>#personal-navigation>button:not([aria-current]),
html body.cx-dashboard:has(#customer-home[data-personal-polish="true"])>#personal-navigation #customer-menu>summary:not([aria-current]){border-color:#dce2eb!important}

}

/* Existing dashboard controls join the existing lower navigation tiles. */
html body.cx-dashboard #personal-navigation.dashboard-controls-lower{grid-template-columns:repeat(4,minmax(0,1fr))}
html body.cx-dashboard #personal-navigation #language-toggle>span[aria-hidden]{display:none}
html body.cx-dashboard #personal-navigation #warranty-bell{position:relative}

/* Keep the relocated icons visible and long labels intact in the four-column grid. */
html body.cx-dashboard #personal-navigation .upper-nav-icon{display:block}
html body.cx-dashboard #personal-navigation :is(#customer-communities-nav,#warranty-bell)>span:not(.notification-count){font-size:clamp(12px,3.2vw,16px)!important;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto;max-width:100%;min-width:0;text-align:center}

#personal-navigation.dashboard-controls-lower > [data-hub-invitations]{grid-column:2}
