*, *::before, *::after { box-sizing: border-box; }
html, body, #root { height: 100%; min-height: 100dvh; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  margin: 0;
  overflow: hidden;
}
button, input, textarea { font: inherit; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.student-layout {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #F7F7F7;
  color: #2D2D2D;
  transition-property: background-color, color;
  transition-duration: 200ms;
}
.student-layout.layout-mobile {
  display: flex;
  justify-content: center;
}
.student-workspace {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.layout-mobile .student-workspace {
  width: 100%;
  max-width: 390px;
  height: 100dvh;
}
.student-viewport {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #F7F7F7;
}
.student-detail-frame {
  position: relative;
  display: flex;
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}
.layout-mobile .student-viewport {
  width: 100%;
  height: 100dvh;
}
.desktop-sidebar,
.desktop-home-header { display: none; }
