.classroom-voice-tools{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}.classroom-voice-tools .button{font-size:12px;padding:6px 9px;min-height:35px}.classroom-voice-tools .session-status{margin-left:8px}.sound-state{display:flex;align-items:center;gap:7px;color:#537d79;font-size:11px;min-width:90px}.sound-state:before{content:'';width:6px;height:6px;border-radius:50%;background:#69a597}.sound-state[data-state=playing]:before{background:#248393;box-shadow:0 0 0 4px #3185921a}.voice-turn-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 14px;margin-top:11px}.voice-turn-actions .button{font-size:13px;min-height:38px;padding:6px 4px}.guide-panel .speaking-status{display:flex;align-items:center;gap:9px;font-size:12px;color:#30808a;margin:-6px 0 15px;min-height:24px}.voice-waves{display:inline-flex;align-items:center;justify-content:center;gap:3px;height:20px;width:32px;vertical-align:middle}.voice-waves i{display:block;width:3px;height:6px;border-radius:3px;background:currentColor;animation:voice-wave .7s ease-in-out infinite alternate}.voice-waves i:nth-child(2){animation-delay:-.25s;height:13px}.voice-waves i:nth-child(3){animation-delay:-.5s;height:18px}.voice-waves i:nth-child(4){animation-delay:-.15s;height:10px}.voice-waves i:nth-child(5){animation-delay:-.4s;height:7px}.guided-answer.speaking{border-left:3px solid #5aa5a1;padding-left:12px;margin-top:15px}.guided-answer strong .voice-waves{margin-left:8px}.voice-error{margin-top:14px;padding:11px 13px;background:#fff7e8;border:1px solid #e8d5ad;border-radius:8px;font-size:12px;line-height:1.8;color:#786341}.microphone-turn{margin-top:18px;padding:15px;background:#e4f1eb;border:1px solid #b9d7cd;border-radius:9px}.microphone-turn p{font-size:13px;line-height:1.7;color:#467c77;margin-top:10px}.microphone-turn small{font-size:11px;color:#6c8981}.mic-meter{height:8px;background:#cfdfd7;border-radius:6px;overflow:hidden;--level:3%}.mic-meter>span{height:100%;width:var(--level);display:block;background:linear-gradient(90deg,#79bba9,#29899a);border-radius:6px;transition:width .08s}.scene-frame.voice-playing{box-shadow:0 4px 0 #9db7ab,0 0 0 2px #a1cfcb4d,0 12px 25px #314b4518}.scenic-student.answering{box-shadow:0 0 0 4px #3caba338,0 3px 12px #145d7359}.turn-recording{padding:15px 0;border-top:1px solid #c5d5cc}.turn-recording label{display:block;font-size:13px;font-weight:600}.turn-recording p{font-size:12px;color:#6c827e;margin:8px 0}.turn-recording audio{width:100%}#recorded-audio:empty{display:none}#recorded-audio{margin-top:20px}
@keyframes voice-wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media(max-width:760px){.classroom-heading{flex-wrap:wrap;gap:12px}.classroom-voice-tools{width:100%;justify-content:flex-start;gap:8px}.classroom-voice-tools .session-status{margin-left:auto}.sound-state{min-width:0;font-size:10px}.classroom-voice-tools .button{font-size:11px;padding:5px 6px;min-height:32px}.voice-turn-actions{gap:2px 12px}.voice-turn-actions .button{font-size:12px}.guide-panel .speaking-status{font-size:11px}.simple-classroom .guide-panel h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.voice-waves i{animation:none}.mic-meter>span{transition:none}}
