.rm-supervisor-profile__toggle {
  display: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 8px 0 0;
  padding: 10px 4px;
  border: 0;
  border-top: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: #765d24;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  appearance: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rm-supervisor-profile__toggle::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.rm-supervisor-profile--expanded .rm-supervisor-profile__toggle::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.rm-supervisor-profile__toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .rm-supervisor-profile--collapsed .rm-supervisor-profile__bio {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .rm-supervisor-profile--expanded .rm-supervisor-profile__bio {
    display: block !important;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .rm-supervisor-profile .rm-supervisor-profile__toggle:not([hidden]) {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .rm-supervisor-profile__bio {
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
  }

  .rm-supervisor-profile__toggle {
    display: none !important;
  }
}
