/*
 * L2 teacher search — mobile stacking context correction.
 * Keep all page content below the global header and its navigation drawers.
 * Descendant z-index values are intentionally contained by this page layer.
 */
@media (max-width: 1024px) {
  .l2-teacher-search[data-l2-teacher-search] {
    position: relative !important;
    z-index: 1 !important;
    isolation: isolate !important;
  }

  .l2-teacher-search[data-l2-teacher-search] > .l2-ts-mobile-filter-layer {
    position: relative !important;
    z-index: 20 !important;
    isolation: isolate !important;
  }

  .l2-teacher-search[data-l2-teacher-search] > .l2-ts-results-wrap {
    position: relative !important;
    z-index: 1 !important;
  }
}
