/* GROW sidebar sizing, 03 Nov 2026. Only navigation within the four role sidebars. */
:is(body.hrd-mobile-app .grow-sidebar,
    body.employee-app-mobile .employee-sidebar,
    .leader-sidebar,
    body.grow-platform-refined .pa-sidebar) {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif !important;
}

/* HR Admin and Staff share the same GROW menu anatomy. */
body.hrd-mobile-app .grow-sidebar .nav-row,
body.employee-app-mobile .employee-sidebar .nav-row {
  min-height: 46px !important;
  height: auto !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}
body.hrd-mobile-app .grow-sidebar .nav-label,
body.employee-app-mobile .employee-sidebar .nav-label {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}
body.hrd-mobile-app .grow-sidebar .nav-row.active .nav-label,
body.employee-app-mobile .employee-sidebar .nav-row.active .nav-label {
  font-weight: 650 !important;
}
body.hrd-mobile-app .grow-sidebar .nav-row .nav-ico,
body.employee-app-mobile .employee-sidebar .nav-row .nav-ico,
body.hrd-mobile-app .grow-sidebar .grow-bottom-sidebar-toggle .nav-ico,
body.employee-app-mobile .employee-sidebar .grow-bottom-sidebar-toggle .nav-ico {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
}
body.hrd-mobile-app .grow-sidebar .nav-ico i,
body.employee-app-mobile .employee-sidebar .nav-ico i {
  font-size: 16px !important;
  line-height: 1 !important;
}
body.hrd-mobile-app .grow-sidebar .nav-ico svg,
body.employee-app-mobile .employee-sidebar .nav-ico svg {
  width: 16px !important;
  height: 16px !important;
}

/* Nested items stay visually subordinate; the primary icon tiles keep their GROW colors. */
body.hrd-mobile-app .grow-sidebar .gpn-link {
  font-family: inherit !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}
body.hrd-mobile-app .grow-sidebar .gpn-insights summary .nav-label {
  font-size: 13px !important;
}

/* Leader sidebar, including the HR2 pillar navigation and footer. */
.leader-sidebar nav .nav-link,
.leader-sidebar .sidebar-footer .nav-link {
  min-height: 46px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}
.leader-sidebar nav .nav-link.active,
.leader-sidebar .sidebar-footer .nav-link.active {
  font-weight: 650 !important;
}
.leader-sidebar nav .nav-link .nav-icon,
.leader-sidebar .sidebar-footer .nav-link .nav-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
}
.leader-sidebar nav .nav-link .nav-icon i,
.leader-sidebar .sidebar-footer .nav-link .nav-icon i {
  font-size: 16px !important;
  line-height: 1 !important;
}
.leader-sidebar .nav-caption {
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

/* Platform access sidebar uses different class names. */
body.grow-platform-refined .pa-sidebar .pa-nav a,
body.grow-platform-refined .pa-sidebar .pa-sidebar-toggle {
  min-height: 46px !important;
  padding: 6px 10px !important;
  gap: 10px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
}
body.grow-platform-refined .pa-sidebar .pa-nav a.active {
  font-weight: 650 !important;
}
body.grow-platform-refined .pa-sidebar .pa-nav-label {
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}
body.grow-platform-refined .pa-sidebar .pa-ico {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
}
body.grow-platform-refined .pa-sidebar .pa-ico i {
  font-size: 16px !important;
  line-height: 1 !important;
}

/* Keep the collapsed desktop sidebar centered after applying expanded-row sizing. */
@media (min-width: 901px) {
  body.hrd-mobile-app.sidebar-collapsed .grow-sidebar .nav-row,
  html.sidebar-pref-collapsed body.hrd-mobile-app .grow-sidebar .nav-row,
  body.employee-app-mobile.sidebar-collapsed .employee-sidebar .nav-row,
  html.sidebar-pref-collapsed body.employee-app-mobile .employee-sidebar .nav-row,
  body.sidebar-collapsed .leader-sidebar nav .nav-link,
  body.sidebar-collapsed .leader-sidebar .sidebar-footer .nav-link,
  body.grow-platform-refined.sidebar-collapsed .pa-sidebar .pa-nav a,
  body.grow-platform-refined.sidebar-collapsed .pa-sidebar .pa-sidebar-toggle {
    justify-content: center !important;
    padding: 7px !important;
    gap: 0 !important;
  }
}
