.teacher-quiz{margin:18px 0;padding:16px;border:1px solid #536170;border-radius:8px;background:#111d28;color:#edf2f4;overflow-wrap:anywhere}
.teacher-quiz>summary{min-height:44px;font-size:18px;font-weight:700;cursor:pointer;line-height:1.5}
.teacher-quiz>summary span{display:inline-block;margin-left:10px;font-size:14px;font-weight:400;color:#f3ce65}
.teacher-quiz p{font-size:16px;line-height:1.6;margin:12px 0}
.teacher-quiz .fineprint{font-size:14px;color:#becbd4;line-height:1.65}
.teacher-quiz label{display:block;font-size:16px;margin-top:16px}
.teacher-quiz textarea{width:100%;max-width:100%;min-height:180px;margin-top:8px;font-size:16px;line-height:1.6;resize:vertical;box-sizing:border-box}
.quiz-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#teacher-modal .quiz-editor-actions button,#teacher-modal .teacher-quiz>.text-button{min-height:46px;font-size:16px;padding:10px 14px}
.quiz-editor-actions button:disabled{opacity:.45;cursor:default}
.teacher-quiz [data-q=status]{min-height:26px;color:#f3ce65}
.teacher-quiz .quiz-input-error{color:#ffb6a4}
.quiz-editor-preview{max-height:350px;overflow-y:auto;overscroll-behavior:contain}
.quiz-editor-preview article{border-top:1px solid #43515e;padding:14px 0;font-size:16px;line-height:1.5}
.quiz-editor-preview article p{margin:8px 0;font-size:15px}
.teacher-quiz .quiz-class-label{font-weight:700;color:#f3ce65}
@media(max-width:600px){.teacher-quiz{padding:12px}.quiz-editor-actions button{flex:1 1 calc(50% - 8px)}.teacher-quiz>summary span{display:block;margin-left:0}}
