/* RUYA_TEACHER_GALLERY_UNIFIED_CSS_V1_20261015 */

.role-teacher .ruyaTeacherGalleryTabs {
  display: grid !important;
  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  gap: 8px !important;
}

.role-teacher .ruyaTeacherGalleryTabs > button {
  min-width: 0 !important;
}

.role-teacher .ruyaTeacherGalleryTabs > button span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

@media(max-width:760px) {

  .role-teacher .ruyaTeacherGalleryTabs {
    gap: 6px !important;
  }

  .role-teacher .ruyaTeacherGalleryTabs > button {
    min-height: 46px !important;
    padding: 0 8px !important;
  }

  .role-teacher .ruyaTeacherGalleryTabs > button span {
    font-size: 12px !important;
  }

  .role-teacher .ruyaTeacherGalleryTabs > button b {
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }
}
