/* 教师端样式 */
.login-box { max-width: 420px; margin: 60px auto; }
.form-row { display: flex; align-items: center; margin: 14px 0; gap: 12px; }
.form-row label { width: 64px; color: var(--muted); }
.form-row input { flex: 1; padding: 10px 12px; border: 2px solid #d4e4f7; border-radius: 10px; font-size: 15px; }
.form-row input:focus { border-color: var(--green); outline: none; }
.demo-hint { margin-top: 12px; color: var(--muted); font-size: 13px; }

.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.ov-tile { background: #fff; border-radius: 14px; padding: 18px; text-align: center; box-shadow: 0 4px 14px rgba(31,78,121,.08); }
.ov-tile .num { font-size: 30px; font-weight: 800; color: var(--blue-deep); }
.ov-tile .lab { color: var(--muted); font-size: 13px; margin-top: 4px; }
.ov-tile.hl { border-bottom: 4px solid var(--orange); }

.dim-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 14px; }
.dim-row .d-name { width: 84px; text-align: right; }
.dim-bar { flex: 1; height: 16px; background: #e2edf7; border-radius: 999px; overflow: hidden; }
.dim-bar > div { height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 999px; }
.dim-row .d-score { width: 84px; font-weight: 700; }
.weak-box { margin-top: 14px; background: #fff8e8; border: 1px solid #f0dcae; border-radius: 10px; padding: 12px 16px; color: #8a5a00; font-size: 15px; }

.stu-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stu-table th, .stu-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.stu-table th { background: #f2f7fc; color: var(--blue-deep); }
.stu-table tr:hover td { background: #f8fbfe; }
.score-pill { display: inline-block; min-width: 44px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.score-pill.good { background: #e5f6ee; color: #1d7a53; }
.score-pill.mid { background: #fff3e0; color: #b26a00; }
.score-pill.low { background: #fdeceb; color: #b23c30; }
.score-pill.none { background: #eef2f7; color: #8a97a5; }
.btn-sm { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 5px 12px; font-size: 13px; }
.btn-ghost.dark { background: #e8eef5; color: var(--blue-deep); border-color: #c6d6e8; margin-bottom: 12px; }

.chat-log { background: #f6f9fc; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; }
.chat-log .bubble { font-size: 14px; }
.task-ans { background: #f8fbfe; border-radius: 10px; padding: 10px 14px; margin: 8px 0; font-size: 14px; line-height: 1.8; }
.empty-tip { color: var(--muted); font-size: 14px; padding: 8px 0; }
