#teacher-about {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overscroll-behavior: contain;
  background: Canvas;
  color: CanvasText;
}

/* Shared classroom controls can dock in the active dialog. */
#teacher-about > :not(.teacher-about-content) {
  display: none !important;
}

.teacher-about-content {
  max-width: 68rem;
  margin-inline: auto;
  padding: 0 clamp(1rem, 5vw, 3rem) 3rem;
}

.teacher-about-toolbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-block: 1rem;
  background: Canvas;
}

#teacher-about-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1.5rem;
}

.teacher-about-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: 1rem;
}

.teacher-about-sections section {
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, CanvasText 24%, Canvas);
  border-radius: 0.85rem;
  background: color-mix(in srgb, Canvas 95%, CanvasText);
}

.teacher-about-sections h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.teacher-about-sections ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  line-height: 1.55;
}

.teacher-about-sections li + li {
  margin-block-start: 0.4rem;
}
