#student-mobile-preview {
  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;
  background: Canvas;
  color: CanvasText;
}

#student-mobile-preview > :not(.student-mobile-content) {
  display: none !important;
}

.student-mobile-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.student-mobile-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(.75rem, 4vw, 2rem);
}

.student-mobile-toolbar h2 {
  margin: 0;
  font-size: clamp(1.05rem, 3vw, 1.5rem);
}

.student-mobile-phone {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  width: min(414px, calc(100% - 1.5rem));
  min-height: 0;
  max-height: 850px;
  margin: 0 auto .75rem;
  padding: 7px;
  border: 2px solid #52616c;
  border-radius: 28px;
  background: #17252f;
  box-shadow: 0 8px 24px #0003;
}

.student-mobile-phone iframe {
  display: block;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 19px;
  background: white;
}
