/* LMS education subnavigation: scoped; does not change other shell groups. */
.lms-education-subnav__items { display: grid; gap: .125rem; margin: 0; padding: .15rem .65rem .3rem 0; list-style: none; }
.lms-education-subnav__items[hidden] { display: none !important; }
.lms-education-subnav { margin: .16rem 0; }
.lms-education-subnav__toggle {
  display: flex; width: 100%; align-items: center; min-height: 2.65rem;
  padding: .48rem .65rem; gap: .6rem; border: 0; border-radius: .65rem;
  background: transparent; color: var(--lms-color-text-secondary); cursor: pointer;
  text-align: right; font: inherit; font-size: .87rem; font-weight: 650;
}
.lms-education-subnav__toggle [data-lms-icon] { flex: 0 0 1.25rem; }
.lms-education-subnav__label { flex: 1; }
.lms-education-subnav__chevron { margin-right: auto; transition: transform .16s ease; }
.lms-education-subnav__toggle[aria-expanded="true"] .lms-education-subnav__chevron { transform: rotate(180deg); }
.lms-education-subnav__toggle:hover, .lms-education-subnav__toggle:focus-visible,
.lms-education-subnav.is-active > .lms-education-subnav__toggle {
  color: var(--lms-color-text-primary); background: var(--lms-color-surface-subtle);
}
.lms-education-subnav__items .lms-nav-link { min-height: 2.25rem; font-size: .84rem; }
/* The dock hides labels, including nested ones, but temporary hover restores them. */
@media (min-width: 1025px) {
  .lms-app-shell.lms-sidebar-collapsed:not(.lms-sidebar-hover-open) .lms-education-subnav__label,
  .lms-app-shell.lms-sidebar-collapsed:not(.lms-sidebar-hover-open) .lms-education-subnav__chevron { display: none; }
  .lms-app-shell.lms-sidebar-collapsed:not(.lms-sidebar-hover-open) .lms-education-subnav__toggle { justify-content: center; padding-inline: .4rem; }
  .lms-app-shell.lms-sidebar-collapsed:not(.lms-sidebar-hover-open) .lms-education-subnav__items { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .lms-education-subnav__chevron { transition: none; } }
