.classroom__quiz-buttons-wrapper {
  flex-wrap: wrap;
  margin-left: var(--spacing-x-large);
  min-width: min-content;
  position: relative;
  width: 50%;
}

.student-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;          
  flex-wrap: wrap;
}

/* It may shrink, and a long address (staging's) wraps inside the card
   instead of running off its edge. */
.student-url p {
  flex: 0 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  width: auto;
  margin-left: 40px;
  margin-right: 20px;
}

/* The QR code's box. The SVG has a viewBox (ClassroomController#generate_svg),
   so it scales to this width whatever the address length. 180px keeps
   production's code at its old size (37 squares at 4px) plus the 4-square
   white quiet zone on each side. */
.student-url .qr {
  flex-shrink: 0;
  width: 180px;
}

.student-url .qr svg {
  width: 100%;
  height: auto;
  display: block;
}
