/* Keep this bounded override usable by the deployed frontend without rebuilding JS. */
.student-sidebar > div:first-child > img {
  width: 36px;
  height: 36px;
}

@media (min-width: 1024px) {
  .student-sidebar > div:first-child {
    gap: 10px;
    padding: 16px 14px;
  }

  .student-sidebar > div:first-child > div {
    flex: 1;
    min-width: 0;
  }

  .student-sidebar > div:first-child > div > div {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: pretty;
  }

  .student-sidebar > div:first-child > div > div:first-child {
    font-size: 15px;
    line-height: 20px;
  }

  .student-sidebar > div:first-child > div > div + div {
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
  }
}

/* Preserve the existing compact rail on short desktop windows. */
@media (min-width: 1280px) and (max-height: 820px) {
  .student-sidebar > div:first-child {
    padding: 12px 8px;
  }
}
