#contact-track[hidden],
#contact-students[hidden] {
  display: none;
}
.contact-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.25rem;
  padding: .8rem 1rem;
  border: 1px solid var(--control-border);
  border-radius: .6rem;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.contact-select:hover {
  border-color: var(--action);
  background: var(--bg);
}
.contact-select:focus-visible,
.contact-select[aria-expanded="true"] {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.contact-select:disabled {
  opacity: .6;
  cursor: wait;
}
.contact-select__value {
  min-width: 0;
}
.contact-select__chevron {
  flex: none;
  width: .5rem;
  height: .5rem;
  margin: -.25rem .2rem 0 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform .16s ease;
}
.contact-select[aria-expanded="true"] .contact-select__chevron {
  margin-top: .2rem;
  transform: rotate(225deg);
}
.contact-select-options {
  position: fixed;
  z-index: 1100;
  overflow-y: auto;
  box-sizing: border-box;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 12px 32px #27292426, 0 2px 5px #2729240a;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.contact-select-options[hidden] {
  display: none;
}
.contact-select-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: .75rem 2.25rem .75rem .85rem;
  border-radius: .4rem;
  cursor: pointer;
}
.contact-select-option[aria-selected="true"] {
  color: var(--accent-ink);
  font-weight: 700;
}
.contact-select-option[aria-selected="true"]::after {
  position: absolute;
  right: 1rem;
  width: .35rem;
  height: .7rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: '';
}
.contact-select-option:hover,
.contact-select-option.is-active {
  background: var(--selection);
  color: var(--accent-ink);
}
.contact-select-option[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .contact-select,
  .contact-select__chevron {
    transition: none;
  }
}
