.student-page{background:#e9e7df;min-height:100vh}.student-top{height:62px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.student-top .brand{font-size:20px}.student-top .mono{font-size:9px;color:#7c858b}.live-state{font:9px var(--mono);color:#5a9a7a}.live-state i{display:inline-block;width:7px;height:7px;background:#64a980;border-radius:50%;margin-right:7px}.join-screen{max-width:1100px;margin:0 auto;min-height:calc(100vh - 62px);padding:8vh 6vw;display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:center}.join-copy h1{font-size:clamp(60px,8vw,100px)}.join-copy form{max-width:370px;margin-top:28px}.optional{color:#9b9d9b}.join-art{height:470px;background:#deddd5;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:22px}.join-sphere{position:absolute;width:330px;height:330px;left:20%;top:15%;border-radius:50%;background:radial-gradient(circle at 28% 22%,#fff 0,#c4f2ed 18%,#9d8add 43%,#dcb8d7 63%,#7e92ad 88%);box-shadow:inset -35px -35px 55px #152b4566,0 25px 50px #152b4525}.join-note{position:absolute;z-index:2;background:#f5f3ed;padding:20px;font:13px/1.4 var(--mono);box-shadow:0 15px 30px #152b4520}.note-one{top:12%;right:8%;transform:rotate(7deg)}.note-two{bottom:18%;left:8%;font-size:45px;color:var(--blue);transform:rotate(-10deg)}.join-art>.mono{z-index:2;color:#68737d}.classroom-screen{max-width:1500px;margin:0 auto;padding:24px 4vw 70px}.classroom-stage{min-height:58vh;background:#f4f2eb;padding:18px;position:relative;display:flex;flex-direction:column}.stage-meta{display:flex;justify-content:space-between;color:#818b91}.stage-content{flex:1;display:flex;gap:18px;align-items:stretch;justify-content:center;padding:25px 2vw;min-height:420px}.teacher-content{flex:1;display:flex;align-items:center;justify-content:center;min-width:0}.stage-placeholder{font:12px var(--mono);color:#9a9c98}.content-text{font-size:clamp(30px,5vw,70px);font-weight:800;line-height:1.05;letter-spacing:-.06em;text-align:center;max-width:1000px;white-space:pre-wrap}.content-image{max-width:100%;max-height:60vh;object-fit:contain}.content-video,.content-embed{width:100%;min-height:55vh;border:0}.presentation-panel{flex:1;min-width:0;background:#151c2a;display:flex;flex-direction:column;min-height:390px}.presentation-panel.floating{flex:0 0 35%;min-height:240px;align-self:flex-start}.presentation-toolbar{height:34px;display:flex;align-items:center;justify-content:space-between;color:#fff;padding:0 12px;font:9px var(--mono)}.presentation-toolbar button{border:0;background:transparent;color:white;font-size:18px;margin-left:10px}.presentation-frame{flex:1;min-height:350px}.presentation-frame iframe{width:100%;height:100%;min-height:350px;border:0}.question-display{flex:1;display:flex;align-items:center;justify-content:center;font-size:clamp(25px,4vw,52px);font-weight:700;line-height:1.08;letter-spacing:-.05em;padding:20px;min-width:0}.answer-wall-section{padding:30px 0}.wall-heading,.composer-heading{display:flex;justify-content:space-between;color:#737d85;margin-bottom:15px}.answer-wall{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;min-height:100px}.answer-card{background:#f8f6ef;padding:18px 20px;max-width:min(340px,100%);min-width:150px;box-shadow:0 10px 22px #152b4510;animation:cardIn .45s cubic-bezier(.2,.8,.2,1) both;transform:rotate(var(--tilt,0deg));position:relative}.answer-card:nth-child(3n){background:#dce4f5}.answer-card:nth-child(4n){background:#e8dfed}.answer-card.highlight{outline:2px solid var(--blue)}.answer-card p{font-size:14px;line-height:1.5;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.answer-card img{max-width:100%;max-height:180px;display:block;margin-top:10px;object-fit:contain}.answer-card a{font-size:11px;color:var(--blue);display:block;margin-top:9px;overflow-wrap:anywhere}.answer-card small{display:block;margin-top:12px;font:8px var(--mono);color:#7e8588}.answer-composer{max-width:850px;margin:35px auto 0;background:#deddd5;padding:22px}.answer-composer textarea{border:0;background:#f8f6ef;font-size:15px}.composer-bottom{display:flex;align-items:center;gap:10px;margin-top:10px}.composer-bottom input{flex:1;min-width:0;background:#f8f6ef}.upload-label{margin:0;padding:11px 12px;background:#f8f6ef;font:10px var(--mono);cursor:pointer;white-space:nowrap}.answer-composer .tiny{margin-top:8px}.stage-question-side{font-size:clamp(24px,3vw,44px);font-weight:700;line-height:1.1;letter-spacing:-.05em;flex:1;align-self:center}@keyframes cardIn{from{opacity:0;transform:translateY(18px) rotate(var(--tilt,0deg)) scale(.95)}to{opacity:1;transform:translateY(0) rotate(var(--tilt,0deg)) scale(1)}}
@media(max-width:750px){.join-screen{grid-template-columns:1fr;padding:45px 22px;gap:35px}.join-art{height:320px}.join-sphere{width:230px;height:230px}.student-top{padding:0 18px}.student-top .mono{font-size:8px}.classroom-screen{padding:12px 10px 40px}.classroom-stage{min-height:50vh;padding:12px}.stage-content{padding:14px 0;min-height:350px;flex-direction:column}.presentation-panel.floating{flex:1;min-height:210px}.presentation-frame iframe,.presentation-frame{min-height:220px}.question-display{min-height:130px}.composer-bottom{flex-wrap:wrap}.composer-bottom input{flex-basis:100%}.answer-composer{padding:15px}.wall-heading,.composer-heading{font-size:8px}}

/* Question + attachment layout: keep the prompt and image in a clean vertical stack. */
.question-display {
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vh, 26px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  text-align: center;
  overflow-wrap: anywhere;
}
.question-display > div {
  width: 100%;
  max-width: 100%;
  flex: 0 0 auto;
  text-align: center;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.question-display > img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: min(100%, 680px) !important;
  max-height: min(42vh, 420px) !important;
  height: auto;
  object-fit: contain;
  margin: 0 !important;
  border-radius: 8px;
}
@media (max-width: 750px) {
  .question-display {
    width: 100%;
    padding: 18px 10px;
    gap: 14px;
    font-size: clamp(22px, 6vw, 36px);
  }
  .question-display > img {
    max-width: 100% !important;
    max-height: 34vh !important;
  }
}

.question-display{gap:clamp(14px,2.5vh,26px);overflow:auto}
.question-display .question-prompt{flex:1 1 auto;min-width:0;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;text-align:inherit}
.question-display .question-attachment{display:block;flex:0 1 auto;width:var(--question-image-width,55%);max-width:100%;max-height:48vh;height:auto;object-fit:contain;margin:0;border-radius:10px}
@media(max-width:750px){.question-display[style*="row"]{flex-direction:column!important}.question-display .question-attachment{width:min(100%,var(--question-image-width,55%));max-height:34vh}}

.question-display[style*="row"] .question-prompt{width:auto;}
