/* 当堂教学（课堂）模块样式 —— 与 v4 教育风保持一致 */
.ct-sec{margin-top:14px}
.ct-h{font-weight:600;margin:16px 0 8px;font-size:15px;display:flex;align-items:center;gap:8px;color:#1d2939}
.ct-h .n{font-size:12px;color:#667085;font-weight:400}
.ct-h .ln{flex:1;height:1px;background:#eaecf0}
.ct-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px}
.ct-item{border:1px solid #e4e7ec;border-radius:10px;padding:10px 12px;background:#fff;transition:.15s;display:flex;gap:10px;text-align:left;width:100%;font:inherit;color:inherit}
.ct-item.pick{cursor:pointer}
.ct-item.pick:hover{border-color:#5B6CFF}
.ct-item.on{border-color:#5B6CFF;background:#f2f4ff;box-shadow:inset 0 0 0 1px #5B6CFF}
.ct-item .bx{width:18px;height:18px;border-radius:5px;border:1.5px solid #cbd2dc;flex:none;margin-top:2px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;line-height:1}
.ct-item.on .bx{background:#5B6CFF;border-color:#5B6CFF}
.ct-item .bd{flex:1;min-width:0}
.ct-item .tt{font-size:13px;font-weight:600;color:#1d2939}
.ct-item .tx{font-size:12.5px;color:#475467;margin-top:3px;line-height:1.6;word-break:break-word}
.ct-item .st{font-size:12px;color:#667085;margin:5px 0 0 0;padding-left:16px}
.ct-item .st li{margin:2px 0}
.ct-phase{display:inline-block;font-size:11.5px;padding:2px 9px;border-radius:999px;font-weight:600;white-space:nowrap}
.ct-phase.preview{background:#eef4ff;color:#3538cd}
.ct-phase.inclass{background:#ecfdf3;color:#027a48}
.ct-phase.closed{background:#f2f4f7;color:#667085}
.ct-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px;align-items:center}
.ct-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center}
.ct-tools .tiny{color:#667085}
.ct-bar{height:8px;border-radius:999px;background:#eaecf0;overflow:hidden;flex:1}
.ct-bar>i{display:block;height:100%;background:linear-gradient(90deg,#5B6CFF,#8b98ff);transition:width .4s}
.ct-qopt{display:flex;gap:8px;align-items:flex-start;padding:8px 10px;border:1px solid #e4e7ec;border-radius:9px;margin-top:6px;cursor:pointer;font-size:13px;color:#344054}
.ct-qopt:hover{border-color:#5B6CFF}
.ct-qopt.on{border-color:#5B6CFF;background:#f2f4ff}
.ct-qopt .rd{width:18px;height:18px;border-radius:50%;border:1.5px solid #cbd2dc;flex:none;display:flex;align-items:center;justify-content:center;font-size:11px;color:#fff;line-height:1}
.ct-qopt.on .rd{background:#5B6CFF;border-color:#5B6CFF}
.ct-qopt.right{border-color:#12b76a;background:#ecfdf3}
.ct-qopt.right .rd{background:#12b76a;border-color:#12b76a}
.ct-qopt.wrong{border-color:#f04438;background:#fef3f2}
.ct-qopt.wrong .rd{background:#f04438;border-color:#f04438}
.ct-live{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#027a48}
.ct-live .dot{width:8px;height:8px;border-radius:50%;background:#12b76a;animation:ctp 1.4s infinite}
@keyframes ctp{0%,100%{opacity:1}50%{opacity:.25}}
.ct-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.ct-kpi{background:#f9fafb;border:1px solid #eaecf0;border-radius:10px;padding:10px 12px}
.ct-kpi .lab{font-size:12px;color:#667085}
.ct-kpi .num{font-size:20px;font-weight:700;color:#1d2939;margin-top:2px}
.ct-kpi .sub{font-size:11.5px;color:#98a2b3;margin-top:2px}
.ct-msg{border:1px solid #eaecf0;border-radius:10px;padding:8px 10px;margin-top:6px;font-size:12.5px;line-height:1.6;background:#fff}
.ct-msg.t{background:#f2f4ff;border-color:#dfe3ff}
.ct-msg .who{font-size:11.5px;color:#667085;margin-bottom:2px}
.ct-msg .when{font-size:11px;color:#98a2b3;margin-left:6px}
.ct-stu-detail{margin-top:12px}
.ct-mini{font-size:11.5px;padding:1px 7px;border-radius:999px;background:#f2f4f7;color:#475467;margin-left:6px}
.ct-scroll{max-height:280px;overflow:auto}


/* ===== 当堂作业 · 自编题目（新增） ===== */
/* 教师端题目编辑区 */
.ct-qedit{border:1px dashed #cbd2dc;border-radius:10px;padding:10px 12px;background:#fcfcfd;margin-top:8px}
.ct-qedit .between{display:flex;align-items:center;justify-content:space-between}
.ct-qedit .tt{font-size:13.5px;font-weight:600;color:#1d2939;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ct-qtag{display:inline-block;font-size:11px;padding:1px 8px;border-radius:999px;font-weight:600;white-space:nowrap}
.ct-qtag.choice{background:#eef4ff;color:#3538cd}
.ct-qtag.text{background:#fff4ed;color:#b93815}
.ct-qtag.listen{background:#ecfdf3;color:#027a48}
.ct-qtag.voice{background:#fdf2fa;color:#c11574}
/* 学生作答卡片 */
.ct-qcard{border:1px solid #e4e7ec;border-radius:10px;padding:10px 12px;background:#fff;margin-top:10px}
.ct-qhd{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13.5px;color:#1d2939}
.ct-qhd b{font-weight:600}
.ct-audio{width:100%;max-width:440px;margin-top:8px;display:block}
.ct-answer{background:#f9fafb;border:1px solid #eaecf0;border-radius:8px;padding:8px 10px;margin-top:6px;font-size:13px;line-height:1.6;color:#344054;white-space:pre-wrap;word-break:break-word}
.ct-qbox{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
