/* =============================================================
   新能教育 · 培训机构管理平台  样式表
   配色沿用主站：教育蓝 #1e5fbf / 成长绿 #18b98a / 阳光橙 #ff9f1c
   ============================================================= */
:root {
  --primary: #1e5fbf;
  --primary-d: #164a95;
  --primary-l: #3d82e0;
  --primary-x: #eef4ff;
  --accent: #18b98a;
  --accent-d: #12996f;
  --accent-x: #e8f9f3;
  --sun: #ff9f1c;
  --sun-x: #fff5e6;
  --red: #e0533d;
  --red-x: #fdeeea;
  --purple: #7b5cf0;
  --dark: #0f2036;
  --text: #38445a;
  --muted: #6c7a90;
  --bg: #f5f8fd;
  --line: #e4ecf7;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 6px 22px rgba(20, 60, 120, .07);
  --shadow-lg: 0 18px 46px rgba(20, 60, 120, .16);
  --sidebar-w: 226px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65; font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; outline: none; }
[v-cloak] { display: none !important; }

/* ---------------- 通用组件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; color: var(--text); cursor: pointer; font-size: 14px;
  transition: all .18s; white-space: nowrap; font-weight: 500;
}
.btn:hover { border-color: var(--primary-l); color: var(--primary); background: var(--primary-x); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-l)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(30, 95, 191, .25); }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-d), var(--primary)); color: #fff; box-shadow: 0 8px 22px rgba(30, 95, 191, .34); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #2fd3a1); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(24, 185, 138, .25); }
.btn-accent:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--primary-x); color: var(--primary); }
.btn-danger { color: var(--red); border-color: #f5d5cf; }
.btn-danger:hover { background: var(--red-x); border-color: var(--red); color: var(--red); }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 8px; }
.btn-xs { padding: 3px 9px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.input, .select, .textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; transition: all .18s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary-l); box-shadow: 0 0 0 3px rgba(61, 130, 224, .13); }
.textarea { resize: vertical; min-height: 78px; line-height: 1.7; }
.select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c7a90' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; }
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field > label .req { color: var(--red); margin-left: 2px; }
.field-row { display: flex; gap: 12px; }
.field-row > .field { flex: 1; margin-bottom: 15px; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.card-hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-hd h3 { font-size: 16px; color: var(--dark); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-hd h3::before { content: ''; width: 4px; height: 15px; border-radius: 3px; background: linear-gradient(var(--primary), var(--accent)); }
.card-hd .sub { font-size: 12.5px; color: var(--muted); font-weight: 400; }

.table-wrap { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tb th {
  text-align: left; padding: 11px 12px; background: #f7faff; color: var(--muted);
  font-weight: 600; font-size: 12.5px; white-space: nowrap; border-bottom: 1px solid var(--line);
}
table.tb th:first-child { border-radius: 8px 0 0 8px; }
table.tb th:last-child { border-radius: 0 8px 8px 0; }
table.tb td { padding: 11px 12px; border-bottom: 1px solid #f0f5fc; vertical-align: middle; }
table.tb tbody tr { transition: background .15s; }
table.tb tbody tr:hover { background: #fafcff; }
table.tb .t-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.tag-blue { background: var(--primary-x); color: var(--primary); }
.tag-green { background: var(--accent-x); color: var(--accent-d); }
.tag-orange { background: var(--sun-x); color: #c47400; }
.tag-red { background: var(--red-x); color: var(--red); }
.tag-gray { background: #f0f2f6; color: var(--muted); }
.tag-purple { background: #f0ecff; color: var(--purple); }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.avatar {
  width: 36px; height: 36px; border-radius: 10px; flex: none; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 600; font-size: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.avatar-lg { width: 62px; height: 62px; border-radius: 16px; font-size: 26px; }
.avatar-sm { width: 28px; height: 28px; border-radius: 8px; font-size: 12.5px; }
.cell-user { display: flex; align-items: center; gap: 10px; }
.cell-user b { color: var(--dark); font-weight: 600; display: block; line-height: 1.4; }
.cell-user span { font-size: 12px; color: var(--muted); }

/* 模态框 */
.mask { position: fixed; inset: 0; background: rgba(15, 32, 54, .45); backdrop-filter: blur(3px); z-index: 900; display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); width: min(620px, 100%); animation: pop .22s ease; }
.modal.wide { width: min(880px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-hd { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.modal-hd h3 { font-size: 16.5px; color: var(--dark); font-weight: 600; }
.modal-hd .x { cursor: pointer; color: var(--muted); font-size: 20px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.modal-hd .x:hover { background: #f2f5fa; color: var(--red); }
.modal-bd { padding: 20px 22px; max-height: 64vh; overflow-y: auto; }
.modal-ft { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

/* 统计卡 */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat-card::after { content: ''; position: absolute; right: -18px; top: -18px; width: 76px; height: 76px; border-radius: 50%; background: var(--primary-x); opacity: .75; }
.stat-card.g::after { background: var(--accent-x); }
.stat-card.o::after { background: var(--sun-x); }
.stat-card.p::after { background: #f0ecff; }
.stat-card .lbl { font-size: 13px; color: var(--muted); position: relative; z-index: 1; }
.stat-card .num { font-size: 27px; font-weight: 700; color: var(--dark); margin: 6px 0 3px; position: relative; z-index: 1; letter-spacing: -.5px; }
.stat-card .num small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.stat-card .foot { font-size: 12px; color: var(--muted); position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; }
.stat-card .foot .up { color: var(--accent-d); font-weight: 600; }

/* 空态 */
.empty { text-align: center; padding: 46px 16px; color: var(--muted); }
.empty .ico { font-size: 38px; opacity: .5; margin-bottom: 10px; }
.empty p { font-size: 13.5px; }

/* 进度条 */
.bar { height: 7px; border-radius: 6px; background: #eef2f8; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .5s; }

/* Toast */
.toast-box { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1200; display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }
.toast { background: var(--dark); color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 13.5px; box-shadow: var(--shadow-lg); animation: drop .25s ease; display: flex; align-items: center; gap: 8px; }
.toast.ok { background: linear-gradient(135deg, #12996f, #18b98a); }
.toast.err { background: linear-gradient(135deg, #c9402c, #e0533d); }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

/* =============================================================
   登录 / 注册页
   ============================================================= */
.auth-page {
  min-height: 100vh; display: flex; align-items: stretch;
  background: linear-gradient(125deg, #0d2a55 0%, #164a95 46%, #1b6bb8 100%);
  position: relative; overflow: hidden;
}
.auth-page::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(24,185,138,.32), transparent 68%); top: -160px; right: -120px; }
.auth-page::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,28,.22), transparent 68%); bottom: -150px; left: -100px; }
.auth-left { flex: 1; padding: 54px 58px; color: #fff; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 42px; }
.auth-brand .mark {
  width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, var(--accent), var(--sun));
  display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
  box-shadow: 0 10px 26px rgba(24, 185, 138, .4);
}
.auth-brand b { font-size: 20px; display: block; letter-spacing: .5px; }
.auth-brand span { font-size: 12px; color: #a9c5e8; letter-spacing: 2px; }
.auth-left h1 { font-size: 34px; line-height: 1.42; font-weight: 700; margin-bottom: 16px; letter-spacing: .5px; }
.auth-left h1 em { font-style: normal; color: #5fe0b8; }
.auth-left > p { color: #b8cdea; font-size: 15px; max-width: 460px; margin-bottom: 34px; line-height: 1.9; }
.auth-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; max-width: 520px; }
.auth-feat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px; padding: 14px 16px; backdrop-filter: blur(6px); }
.auth-feat b { display: block; font-size: 14px; margin-bottom: 3px; }
.auth-feat span { font-size: 12.5px; color: #a9c5e8; line-height: 1.6; }
.auth-right { width: 460px; flex: none; background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px 46px; position: relative; z-index: 2; box-shadow: -20px 0 60px rgba(8, 24, 46, .24); overflow-y: auto; }
.auth-form { width: 100%; }
.auth-tabs { display: flex; gap: 4px; background: #f2f6fc; border-radius: 12px; padding: 4px; margin-bottom: 26px; }
.auth-tabs button { flex: 1; border: none; background: transparent; padding: 9px 6px; border-radius: 9px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 13.5px; transition: all .2s; }
.auth-tabs button.on { background: #fff; color: var(--primary); box-shadow: 0 3px 10px rgba(20, 60, 120, .11); }
.role-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.role-card { border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 8px; text-align: center; cursor: pointer; transition: all .18s; background: #fff; }
.role-card:hover { border-color: var(--primary-l); }
.role-card.on { border-color: var(--primary); background: var(--primary-x); }
.role-card .ico { font-size: 21px; margin-bottom: 4px; }
.role-card b { display: block; font-size: 13px; color: var(--dark); }
.role-card span { font-size: 11.5px; color: var(--muted); }
.auth-form h2 { font-size: 21px; color: var(--dark); margin-bottom: 5px; }
.auth-form .tip { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.auth-switch a { color: var(--primary); font-weight: 600; cursor: pointer; }
.demo-box { margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.demo-box .t { font-size: 12.5px; color: var(--muted); margin-bottom: 9px; text-align: center; }
.demo-box .row { display: flex; gap: 8px; }
.demo-box .row .btn { flex: 1; font-size: 12.5px; padding: 7px 4px; }
.err-line { background: var(--red-x); color: var(--red); font-size: 13px; padding: 9px 13px; border-radius: 9px; margin-bottom: 15px; }
.chip-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-pick .chip { padding: 5px 13px; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; font-size: 13px; transition: all .15s; background: #fff; }
.chip-pick .chip:hover { border-color: var(--primary-l); }
.chip-pick .chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.upload-box { border: 1.5px dashed var(--line); border-radius: 11px; padding: 15px; text-align: center; cursor: pointer; color: var(--muted); font-size: 13px; transition: all .18s; }
.upload-box:hover { border-color: var(--primary-l); background: var(--primary-x); color: var(--primary); }

/* =============================================================
   后台布局
   ============================================================= */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex: none; background: linear-gradient(180deg, #0f2a52, #143a72);
  color: #c3d6ef; display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0; z-index: 200;
}
.sidebar .brand { padding: 19px 20px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.sidebar .brand .mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--sun)); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: #fff; }
.sidebar .brand b { color: #fff; font-size: 15px; display: block; line-height: 1.35; }
.sidebar .brand span { font-size: 10.5px; color: #7fa2cc; letter-spacing: 1.2px; }
.nav-scroll { flex: 1; overflow-y: auto; padding: 12px 11px 20px; }
.nav-scroll::-webkit-scrollbar { width: 5px; }
.nav-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 3px; }
.nav-group { font-size: 11px; color: #6d90bd; padding: 14px 12px 6px; letter-spacing: 1px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9.5px 12px; border-radius: 10px;
  cursor: pointer; font-size: 13.5px; transition: all .16s; margin-bottom: 2px; position: relative;
}
.nav-item .ic { width: 18px; text-align: center; font-size: 15px; flex: none; }
.nav-item:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-item.on { background: linear-gradient(90deg, rgba(30, 95, 191, .95), rgba(24, 185, 138, .8)); color: #fff; box-shadow: 0 6px 16px rgba(10, 30, 60, .3); font-weight: 600; }
.nav-item .badge { margin-left: auto; background: var(--red); color: #fff; font-size: 10.5px; min-width: 17px; height: 17px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 5px; font-weight: 600; }
.sidebar .foot { padding: 13px 16px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 11.5px; color: #6d90bd; }

.main { flex: 1; margin-left: var(--sidebar-w); min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 62px; background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 150; gap: 16px;
}
.topbar .ttl h2 { font-size: 17px; color: var(--dark); font-weight: 600; }
.topbar .ttl p { font-size: 12px; color: var(--muted); }
.topbar .tools { display: flex; align-items: center; gap: 10px; }
.topbar .who { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 30px; background: #f5f8fd; cursor: pointer; }
.topbar .who b { font-size: 13px; color: var(--dark); display: block; line-height: 1.3; }
.topbar .who span { font-size: 11px; color: var(--muted); }
.content { padding: 22px 26px 40px; flex: 1; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .l h2 { font-size: 20px; color: var(--dark); font-weight: 700; }
.page-head .l p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.page-head .r { display: flex; gap: 9px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.strong { color: var(--dark); font-weight: 600; }
.wrap { flex-wrap: wrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters .input, .filters .select { width: auto; min-width: 148px; }

/* 课表 */
.tt-wrap { overflow-x: auto; }
.tt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; min-width: 860px; }
.tt th { background: #f7faff; color: var(--muted); font-weight: 600; padding: 9px 6px; font-size: 12px; border-bottom: 1px solid var(--line); text-align: center; }
.tt th .d { display: block; font-size: 11px; color: #9aabc2; font-weight: 400; }
.tt th.today { color: var(--primary); background: var(--primary-x); }
.tt td { border-bottom: 1px solid #f0f5fc; border-right: 1px solid #f4f8fd; vertical-align: top; padding: 5px; height: 74px; width: 13.5%; }
.tt td:last-child { border-right: none; }
.tt .slot { border-radius: 9px; padding: 6px 8px; margin-bottom: 5px; font-size: 11.6px; line-height: 1.5; cursor: pointer; transition: transform .15s, box-shadow .15s; border-left: 3px solid var(--primary); background: var(--primary-x); }
.tt .slot:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tt .slot b { display: block; font-weight: 600; color: var(--dark); font-size: 12px; margin-bottom: 1px; }
.tt .slot .t { color: var(--muted); font-size: 11px; }
.tt .slot.done { opacity: .62; }
.tt .slot.canceled { text-decoration: line-through; opacity: .55; }

/* 看板时间线 */
.tl-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-time { width: 82px; flex: none; font-size: 12.5px; color: var(--primary); font-weight: 600; }
.tl-body { flex: 1; min-width: 0; }
.tl-body b { display: block; color: var(--dark); font-size: 13.5px; font-weight: 600; }
.tl-body span { font-size: 12.5px; color: var(--muted); }

/* 评价 */
.review-item { padding: 14px 0; border-bottom: 1px solid #f0f5fc; }
.review-item:last-child { border-bottom: none; }
.review-hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.stars { color: var(--sun); font-size: 13px; letter-spacing: 1px; }
.review-item .txt { font-size: 13.5px; color: var(--text); line-height: 1.75; }
.review-item .meta { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.review-reply { margin-top: 9px; background: #f7faff; border-left: 3px solid var(--primary-l); border-radius: 0 9px 9px 0; padding: 9px 13px; font-size: 13px; color: var(--text); }
.review-reply b { color: var(--primary); font-size: 12.5px; }

/* 老师卡片 */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 15px; }
.teacher-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 17px 18px; transition: transform .2s, box-shadow .2s; position: relative; }
.teacher-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.teacher-card .hd { display: flex; gap: 12px; margin-bottom: 12px; }
.teacher-card .hd .info { flex: 1; min-width: 0; }
.teacher-card .hd h4 { font-size: 15.5px; color: var(--dark); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.teacher-card .hd .meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.teacher-card .subj { display: flex; gap: 5px; flex-wrap: wrap; margin: 9px 0; }
.teacher-card .desc { font-size: 12.6px; color: var(--muted); line-height: 1.72; height: 44px; overflow: hidden; }
.teacher-card .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 11px; border-top: 1px solid #f0f5fc; }
.ribbon { position: absolute; top: 13px; right: 13px; }

/* 详情行 */
.dl { display: grid; grid-template-columns: 92px 1fr; gap: 9px 14px; font-size: 13.5px; }
.dl dt { color: var(--muted); }
.dl dd { color: var(--dark); }
.info-strip { display: flex; gap: 26px; flex-wrap: wrap; }
.info-strip .it b { display: block; font-size: 19px; color: var(--dark); font-weight: 700; }
.info-strip .it span { font-size: 12px; color: var(--muted); }

/* =============================================================
   学情评价模块
   ============================================================= */
.chart-wrap { width: 100%; }
.chart-svg { width: 100%; height: auto; display: block; }
.radar-svg { max-width: 300px; margin: 0 auto; }

/* 三档纵向环比 */
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px 12px; }
.cmp-card .cmp-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.cmp-card .cmp-hd b { font-size: 13.5px; color: var(--dark); }
.cmp-card .cmp-hd span { font-size: 11px; color: var(--muted); }
.cmp-card .cmp-main { display: flex; align-items: baseline; gap: 9px; margin-bottom: 10px; }
.cmp-card .cmp-cur { font-size: 26px; font-weight: 700; color: var(--dark); letter-spacing: -.5px; line-height: 1.1; }
.cmp-card .cmp-cur small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.cmp-delta { font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.cmp-delta.up { color: var(--accent-d); background: var(--accent-x); }
.cmp-delta.down { color: var(--red); background: var(--red-x); }
.cmp-delta.flat { color: var(--muted); background: #f0f2f6; }
.cmp-line { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 11.5px; }
.cmp-line > span { width: 30px; color: var(--muted); flex: none; }
.cmp-line > em { width: 36px; text-align: right; color: var(--dark); font-style: normal; font-weight: 600; flex: none; }
.cmp-line > i { flex: 1; height: 8px; border-radius: 5px; background: #eef2f8; overflow: hidden; }
.cmp-line > i > b { display: block; height: 100%; border-radius: 5px; background: #c7d6ea; }
.cmp-line.now > i > b { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.cmp-line.now > span, .cmp-line.now > em { color: var(--primary); }
.cmp-nodata { font-size: 12px; color: var(--muted); padding: 10px 0; }

/* 评级徽章 */
.rate-badge { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 800; flex: none; }
.rate-badge.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
.rate-badge.xs { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }

/* 学员列表 */
.eval-split { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: start; }
.stu-list { max-height: 640px; overflow-y: auto; margin: -6px -6px 0; padding: 0 6px; }
.stu-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; transition: background .15s; }
.stu-item:hover { background: #f7faff; }
.stu-item.on { background: var(--primary-x); }
.stu-item .info { flex: 1; min-width: 0; }
.stu-item .info b { font-size: 13.5px; color: var(--dark); display: block; line-height: 1.35; }
.stu-item .info span { font-size: 11.5px; color: var(--muted); }
.stu-item .score { text-align: right; flex: none; }
.stu-item .score b { font-size: 15px; color: var(--dark); display: block; line-height: 1.3; }

/* 知识点掌握 */
.kp-row { display: grid; grid-template-columns: 112px 1fr 44px 96px; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.kp-row:last-child { border-bottom: none; }
.kp-row .kp-name { font-size: 13px; color: var(--dark); font-weight: 500; }
.kp-row .kp-rate { font-size: 13px; font-weight: 700; text-align: right; }
.kp-row .kp-advice { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.kp-row .kp-bar { height: 8px; border-radius: 5px; background: #eef2f8; overflow: hidden; }
.kp-row .kp-bar > b { display: block; height: 100%; border-radius: 5px; }
.kp-row .small-meta { font-size: 11px; color: #9aabc2; }

/* 单课评价时间线 */
.ev-item { padding: 12px 0; border-bottom: 1px solid #f0f5fc; }
.ev-item:last-child { border-bottom: none; }
.ev-hd { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.ev-hd b { font-size: 13.5px; color: var(--dark); }
.ev-txt { font-size: 13px; color: var(--text); line-height: 1.75; }
.ev-txt b.up { color: var(--accent-d); }
.ev-txt b.down { color: var(--red); }

/* 分数段分布 */
.dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 12.5px; }
.dist-row > span { width: 96px; color: var(--muted); flex: none; }
.dist-row > i { flex: 1; height: 16px; border-radius: 5px; background: #f4f7fc; overflow: hidden; }
.dist-row > i > b { display: block; height: 100%; border-radius: 5px; }
.dist-row > em { width: 30px; text-align: right; font-style: normal; font-weight: 700; color: var(--dark); }

/* 录入表单里的知识点矩阵 */
.kp-input-row { display: grid; grid-template-columns: 1fr 78px 78px 34px; gap: 8px; align-items: center; margin-bottom: 8px; }
.kp-input-row .nm { font-size: 13px; color: var(--dark); }
.kp-input-row .input { padding: 6px 9px; font-size: 13px; }

/* 课堂表现四维打分 */
.dim-row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; margin-bottom: 9px; }
.dim-row .nm { font-size: 13px; color: var(--muted); }
.dim-pick { display: flex; gap: 6px; }
.dim-pick .d { width: 34px; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 12.5px; background: #fff; transition: all .15s; }
.dim-pick .d:hover { border-color: var(--primary-l); color: var(--primary); }
.dim-pick .d.on { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* 小工具 */
.trend-chip { font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 20px; }
.trend-chip.up { color: var(--accent-d); background: var(--accent-x); }
.trend-chip.down { color: var(--red); background: var(--red-x); }
.trend-chip.flat { color: var(--muted); background: #f0f2f6; }
.mini-note { font-size: 11.5px; color: var(--muted); }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.kv-box { background: #f7faff; border-radius: 10px; padding: 11px 13px; }
.kv-box b { display: block; font-size: 19px; color: var(--dark); font-weight: 700; line-height: 1.3; }
.kv-box span { font-size: 11.5px; color: var(--muted); }
.eval-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* 移动端 */
.menu-btn { display: none; }
@media (max-width: 1024px) {
  .auth-left { display: none; }
  .auth-right { width: 100%; flex: 1; }
  .grid-2, .grid-3, .grid-2-1, .eval-split { grid-template-columns: 1fr; }
  .cmp-grid { grid-template-columns: 1fr; }
  .stu-list { max-height: 320px; }
}
@media (max-width: 620px) {
  .kp-row { grid-template-columns: 84px 1fr 40px; }
  .kp-row .kp-advice { display: none; }
  .kp-input-row { grid-template-columns: 1fr 64px 64px 30px; }
}
@media (max-width: 820px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s; }
  .sidebar.open { transform: none; }
  .main { margin-left: 0; }
  .menu-btn { display: inline-flex; }
  .content { padding: 16px 14px 32px; }
  .topbar { padding: 0 14px; }
  .auth-right { padding: 28px 22px; }
}
