.teacher-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 18px;background:#403222;border-bottom:2px solid #edc085}.teacher-bar strong{flex:1;font-size:12px}.teacher-bar button{min-height:44px}.teacher-bar a{color:#ffe0a8}.teacher-locked .workspace,.teacher-locked .scoreboard{visibility:hidden}#teacherDialog{width:min(1100px,96vw);max-height:92vh;overflow:auto}#teacherLogin{width:min(430px,94vw)}#teacherLogin input{width:100%}.teacher-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teacher-grid section{border:1px solid #52637e;padding:12px;border-radius:7px;min-width:0}.teacher-grid label{display:block;margin:8px 0}.teacher-grid input,.teacher-grid select{width:100%;min-width:0}.teacher-grid button{width:100%;min-height:44px;margin:5px 0}.teacher-run{display:flex;flex-wrap:wrap;gap:8px}.teacher-run button{min-height:44px}#teacherMessage{padding:12px;background:#172d3a;border-left:3px solid #f0c789;line-height:1.5}fieldset{min-width:0;border:1px solid #536276}#saveDialog,#resumeDialog{width:min(600px,94vw)}#saveDialog p,#resumeDialog p{line-height:1.6}#saveDialog button,#resumeDialog button{min-height:44px;margin:6px 0}#saveStatus{font-size:11px;max-width:480px}@media(max-width:900px){.teacher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.teacher-grid{grid-template-columns:1fr}.teacher-bar strong{flex-basis:100%}.teacher-run button{flex:1 1 40%}}
#teacherDialog{max-width:min(1100px,96vw)}
