/* ============ 基础 ============ */
:root {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --surface-2: #fafbfe;
  --border: #e5e9f2;
  --border-strong: #d5dbe8;
  --text: #16203a;
  --text-2: #4a5772;
  --muted: #7d8aa3;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eef3ff;
  --sidebar: #0e1a2f;
  --sidebar-2: #142138;
  --sidebar-text: #9fb0c9;
  --green: #16a34a;
  --green-soft: #e9f8ef;
  --orange: #ea8c00;
  --orange-soft: #fff5e5;
  --red: #dc2626;
  --red-soft: #fdecec;
  --purple: #7c3aed;
  --teal: #0d9488;
  --shadow-sm: 0 1px 2px rgba(16, 30, 54, .05);
  --shadow: 0 2px 8px rgba(16, 30, 54, .06), 0 1px 2px rgba(16, 30, 54, .04);
  --shadow-lg: 0 24px 60px rgba(12, 24, 48, .18);
  --r: 10px;
  --r-lg: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
a { color: var(--brand); text-decoration: none; }
::selection { background: #cfe0ff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c9d2e3; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #adb9cf; background-clip: content-box; }

/* ============ 登录页 ============ */
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
}

.login-aside {
  position: relative;
  overflow: hidden;
  padding: 56px 60px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 110% -10%, #2f6bff 0%, transparent 55%),
    radial-gradient(900px 500px at -20% 110%, #0b7a6b 0%, transparent 60%),
    linear-gradient(150deg, #0b1a33 0%, #10264a 55%, #0c1c36 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 30% 25%, #000 20%, transparent 78%);
  pointer-events: none;
}

.login-aside .brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #4f8bff, #2456d8);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(41, 100, 255, .45);
  flex: none;
}

.brand-logo svg { width: 22px; height: 22px; }

.brand-name { font-size: 17px; font-weight: 650; letter-spacing: .3px; }
.brand-sub { font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: 2.5px; margin-top: -2px; }

.login-hero { position: relative; z-index: 1; margin: 40px 0; }
.login-hero h1 {
  font-size: 34px;
  line-height: 1.35;
  margin: 0 0 16px;
  font-weight: 660;
  letter-spacing: .5px;
}
.login-hero p { color: rgba(255, 255, 255, .68); font-size: 14.5px; max-width: 30em; margin: 0; line-height: 1.9; }

.login-points { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.login-point { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.login-point .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(90, 150, 255, .22);
  border: 1px solid rgba(120, 170, 255, .5);
  display: grid; place-items: center; flex: none; margin-top: 2px;
}
.login-point .dot svg { width: 10px; height: 10px; }

.login-foot { position: relative; z-index: 1; font-size: 12px; color: rgba(255, 255, 255, .35); }

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fff;
}

.login-card { width: 100%; max-width: 372px; }
.login-card h2 { font-size: 24px; margin: 0 0 6px; font-weight: 650; letter-spacing: .3px; }
.login-card .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }

.field { margin-bottom: 17px; }
.field label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 7px; font-weight: 550; }

.input, .select, .textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .12);
}
.input::placeholder { color: #a9b3c6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 550;
  font-size: 13.5px;
  transition: all .15s;
  white-space: nowrap;
  user-select: none;
}
.btn:hover { background: #f7f9fc; border-color: #c3cddf; }
.btn:active { transform: translateY(.5px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  background: linear-gradient(180deg, #2f6bf0, #1f57d6);
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 50, 120, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: linear-gradient(180deg, #3a75f7, #2459e0); border-color: #1a46c4; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: #eef2f9; border-color: transparent; }
.btn-danger { color: var(--red); border-color: #f2c9c9; background: #fff; }
.btn-danger:hover { background: var(--red-soft); border-color: #e9b0b0; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; padding: 11px; font-size: 14.5px; }

/* 视图内顶部 sheet 切换（本科 / 研究生等） */
.view-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #eef1f7;
  border: 1px solid #e3e8f1;
  border-radius: 10px;
  margin-bottom: 14px;
}
.view-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all .15s;
}
.view-tab:hover { color: var(--text-2); }
.view-tab.on { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.view-tab .cnt { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.view-tab.on .cnt { color: var(--brand); }
/* 本研 tab 数字用不同颜色区分：本科品牌蓝、研究生青绿 */
.view-tab[data-sheet="bk"] .cnt { color: var(--brand); }
.view-tab[data-sheet="ss"] .cnt { color: var(--teal); }

/* 班级管理顶部统计条 */
.class-stat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.class-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.class-stat b { font-size: 17px; color: var(--text-2); }
.class-stat b.num-brand { color: var(--brand); }
.class-stat b.num-teal { color: var(--teal); }

/* 研究生导师编辑弹窗内逐行学生导师输入 */
.advisor-row {
  display: grid;
  grid-template-columns: 110px 1fr 1.4fr;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #eef1f6;
}
.advisor-row:last-child { border-bottom: none; }
.advisor-list { max-height: 52vh; overflow: auto; padding-right: 4px; }

/* 可直接编辑的姓名（班导师/辅导员） */
.name-edit { display: inline-flex; align-items: center; gap: 6px; }
.inline-edit {
  display: inline-flex;
  border: none;
  background: transparent;
  color: #b6c0d0;
  padding: 3px;
  border-radius: 5px;
  cursor: pointer;
}
.inline-edit svg { width: 13px; height: 13px; }
.inline-edit:hover { background: #eef2f9; color: var(--brand); }

/* 班级详情弹窗顶部基本情况条 */
.class-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 18px;
  background: #f6f8fc;
  border: 1px solid #e7ecf4;
  border-radius: 10px;
  padding: 14px 16px;
}
.class-info-bar > div { display: flex; flex-direction: column; gap: 3px; }
.class-info-bar b { font-size: 15px; }

/* 表格内分组标题行（本科班级 / 研究生班级） */
.group-row td {
  background: #f1f4fa;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  padding: 9px 14px;
}

.login-error {
  display: none;
  background: var(--red-soft);
  color: #b91c1c;
  border: 1px solid #f6cfcf;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}
.login-error.show { display: block; }

.demo-box { margin-top: 26px; border-top: 1px dashed var(--border-strong); padding-top: 18px; }
.demo-box .hint { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-2);
  cursor: pointer;
  transition: all .15s;
}
.demo-chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ============ 主框架 ============ */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 226px;
  flex: none;
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
}

.side-brand {
  padding: 20px 20px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.side-brand .brand-logo { width: 36px; height: 36px; border-radius: 10px; }
.side-brand .brand-logo svg { width: 19px; height: 19px; }
.side-brand .t1 { color: #fff; font-size: 14.5px; font-weight: 650; letter-spacing: .3px; line-height: 1.3; }
.side-brand .t2 { font-size: 10.5px; color: #63748f; letter-spacing: 1.6px; }

.side-nav { padding: 14px 12px; flex: 1; overflow-y: auto; }
.nav-group-label {
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: #55647d;
  padding: 14px 10px 7px;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--sidebar-text);
  cursor: pointer;
  font-size: 13.5px;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
  position: relative;
}
.nav-item svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.nav-item:hover { background: rgba(255, 255, 255, .055); color: #dce6f5; }
.nav-item.active {
  background: linear-gradient(90deg, rgba(47, 107, 240, .28), rgba(47, 107, 240, .1));
  color: #fff;
  font-weight: 550;
}
.nav-item.active::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #4f8bff;
}
.nav-item.active svg { opacity: 1; color: #7fb0ff; }

.side-foot { padding: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.side-user { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; }
.avatar {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #3a6fe0, #2450b8);
  color: #fff; font-size: 13px; font-weight: 600;
}
.side-user .meta { min-width: 0; flex: 1; }
.side-user .n { color: #e8eefb; font-size: 13px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .r { color: #6d7f9b; font-size: 11px; }
.logout-btn {
  color: #6d7f9b; background: none; border: none; cursor: pointer; padding: 5px;
  border-radius: 6px; display: grid; place-items: center;
}
.logout-btn:hover { background: rgba(255, 255, 255, .07); color: #ff9a9a; }
.logout-btn svg { width: 16px; height: 16px; }

.main {
  flex: 1;
  margin-left: 226px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 58px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 26px;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar h1 { font-size: 16.5px; margin: 0; font-weight: 650; letter-spacing: .2px; }
.topbar .crumb { color: var(--muted); font-size: 12.5px; }
.topbar .spacer { flex: 1; }
.scope-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: var(--brand-dark);
  border: 1px solid #d6e2fb;
  padding: 4px 11px; border-radius: 20px; font-size: 12px; font-weight: 550;
}
.scope-pill svg { width: 13px; height: 13px; }

.page { padding: 22px 26px 40px; }

/* ============ 卡片 / 工具条 ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-head {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-head h3 { margin: 0; font-size: 14.5px; font-weight: 640; }
.card-head .sub { font-size: 12.5px; color: var(--muted); }
.card-body { padding: 18px; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.toolbar .spacer { flex: 1; }
.search-wrap { position: relative; }
.search-wrap svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--muted); pointer-events: none;
}
.search-wrap .input { padding-left: 33px; width: 240px; }
.toolbar .select { width: auto; min-width: 118px; }

/* ============ 表格 ============ */
.table-wrap { overflow: auto; border-radius: var(--r-lg); }
.table-wrap.scroll-x { overflow-x: auto; }

table.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}
table.table th {
  background: #f7f9fc;
  color: var(--text-2);
  font-weight: 600;
  font-size: 12.5px;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
table.table th.center, table.table td.center { text-align: center; }
table.table td {
  padding: 11px 14px;
  border-bottom: 1px solid #eef1f7;
  vertical-align: middle;
}
table.table tbody tr:last-child td { border-bottom: none; }
table.table tbody tr:hover td { background: #f8fafe; }
table.table tbody tr:hover td.sticky-col { background: #f1f6ff; }
td.sticky-col, th.sticky-col { position: sticky; background: #fff; z-index: 1; }
th.sticky-col { z-index: 3; background: #f7f9fc; }
td.sticky-col { background: #fff; }
.sticky-0 { left: 0; }
.sticky-1 { left: 106px; }

.cell-strong { font-weight: 600; color: var(--text); }
.cell-muted { color: var(--muted); font-size: 12.5px; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.nowrap { white-space: nowrap; }

/* ============ 标签 ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  line-height: 1.7;
  border: 1px solid transparent;
}
.tag-dot::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  opacity: .8;
}

.tag-read { background: #eaf1ff; color: #1d4ed8; border-color: #d8e4fd; }
.tag-sign { background: #e6f7f4; color: #0b7a6b; border-color: #c9ece5; }
.tag-abroad { background: #f2ecfe; color: #6d28d9; border-color: #e3d7fb; }
.tag-startup { background: #fff3e0; color: #b45309; border-color: #fbe3c0; }
.tag-second { background: #e5f5fb; color: #0e7490; border-color: #cdeef7; }
.tag-none { background: #f1f4f9; color: #64748b; border-color: #e3e8f0; }

.tag-job { background: #e8f0fe; color: #1d4ed8; border-color: #d2e0fc; }
.tag-exam { background: #e6f6fa; color: #0e7490; border-color: #cdeef5; }
.tag-kaoyan { background: #e6f6f3; color: #0f766e; border-color: #cdeee8; }
.tag-postgrad { background: #fdeeee; color: #b91c1c; border-color: #f8d6d6; }
.tag-startup { background: #e9f7ef; color: #15803d; border-color: #d2efdd; }
.tag-wait { background: #fef3e2; color: #b45309; border-color: #fbe4c6; }
.tag-other { background: #f1f4f9; color: #64748b; border-color: #e3e8f0; }

/* ============ KPI ============ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.kpi .label { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .value { font-size: 27px; font-weight: 680; letter-spacing: -.5px; margin-top: 6px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.kpi .value small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.kpi .foot { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi .ico {
  position: absolute; right: 14px; top: 14px; width: 34px; height: 34px;
  border-radius: 10px; display: grid; place-items: center;
}
.kpi .ico svg { width: 17px; height: 17px; }
.kpi.k-blue .ico { background: #eaf1ff; color: #2563eb; }
.kpi.k-green .ico { background: var(--green-soft); color: var(--green); }
.kpi.k-orange .ico { background: var(--orange-soft); color: var(--orange); }
.kpi.k-purple .ico { background: #f2ecfe; color: var(--purple); }

/* ============ 图表 ============ */
.chart-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.chart-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1180px) {
  .chart-grid, .chart-grid.three { grid-template-columns: 1fr; }
}

.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.legend-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); }
.legend-swatch { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend-val { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

/* 横向条形 */
.bar-row { display: grid; grid-template-columns: 96px 1fr 62px; align-items: center; gap: 10px; margin-bottom: 11px; }
.bar-row .nm { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 9px; border-radius: 6px; background: #eef1f7; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; transition: width .6s cubic-bezier(.2,.8,.3,1); }
.bar-row .vl { font-size: 12.5px; text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* 可点击的班级对比条形 */
.bar-click {
  padding: 6px 8px;
  margin: 0 -8px 7px;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.bar-click:hover { background: var(--brand-soft); }
.bar-click:hover .bar-go { color: var(--brand); }
.bar-click:focus-visible { outline: none; border-color: var(--brand); background: var(--brand-soft); }
.bar-click.on { background: var(--brand-soft); border-color: var(--brand); }
.bar-click.on .nm { color: var(--brand); font-weight: 600; }
.bar-click .bar-go { display: flex; align-items: center; color: var(--muted); }
.bar-click .bar-go svg { width: 16px; height: 16px; }

/* ============ 谈话单元格 ============ */
.talk-cell {
  min-width: 172px;
  max-width: 210px;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 12.5px;
  line-height: 1.55;
  cursor: pointer;
  border: 1px dashed transparent;
  transition: all .15s;
  position: relative;
}
.talk-cell.empty {
  color: #b3bdcf;
  border-color: #dfe5f0;
  background: #fbfcfe;
  text-align: center;
  padding: 12px 9px;
}
.talk-cell.empty.editable:hover { border-color: #9dbcf8; background: var(--brand-soft); color: var(--brand); }
.talk-cell.filled { background: #f8faff; border: 1px solid #e8eefb; }
.talk-cell.filled:hover { border-color: #b9cffa; background: #f2f7ff; }
.talk-cell.locked { cursor: default; opacity: .92; }
.talk-cell .tc-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-2);
}
.talk-cell .tc-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}
.talk-cell .tc-date svg { width: 11px; height: 11px; }

/* ============ 空状态 ============ */
.empty-state {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state .ico {
  width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 14px;
  background: #f2f5fb; display: grid; place-items: center; color: #a9b6cc;
}
.empty-state .ico svg { width: 25px; height: 25px; }
.empty-state h4 { margin: 0 0 5px; font-size: 14.5px; color: var(--text-2); font-weight: 600; }
.empty-state p { margin: 0; font-size: 13px; }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(12, 22, 40, .42);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  animation: fadeIn .16s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }

.modal {
  background: #fff;
  border-radius: 15px;
  width: 460px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp .2s cubic-bezier(.2,.8,.3,1);
}
.modal.wide { width: 640px; }
.modal-head {
  padding: 17px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.modal-head .tt { flex: 1; }
.modal-head h3 { margin: 0; font-size: 15.5px; font-weight: 650; }
.modal-head .st { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.modal-x {
  border: none; background: none; cursor: pointer; color: var(--muted);
  padding: 4px; border-radius: 7px; display: grid; place-items: center; margin: -2px -4px 0 0;
}
.modal-x:hover { background: #f1f4fa; color: var(--text); }
.modal-x svg { width: 17px; height: 17px; }
.modal-body { padding: 20px; overflow-y: auto; }
.modal-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  background: var(--surface-2);
  border-radius: 0 0 15px 15px;
}
.modal-foot .left { margin-right: auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-row.single { grid-template-columns: 1fr; }
.field .req { color: var(--red); margin-left: 2px; }
.field-hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

.radio-cards { display: flex; gap: 9px; }
.radio-card {
  flex: 1;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  user-select: none;
  position: relative;
}
.radio-card:hover { border-color: #b9cdf8; background: #fafcff; }
.radio-card.on {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  color: var(--text-2);
  transition: all .15s;
  user-select: none;
}
.chip-opt:hover { border-color: #b9cdf8; }
.chip-opt.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 550;
}

/* ============ Toast ============ */
.toast-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: #17233d;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(10, 20, 40, .25);
  display: flex;
  align-items: center;
  gap: 9px;
  animation: toastIn .22s cubic-bezier(.2,.8,.3,1);
  max-width: 520px;
}
.toast svg { width: 16px; height: 16px; flex: none; }
.toast.ok svg { color: #4ade80; }
.toast.err svg { color: #fca5a5; }
.toast.out { animation: toastOut .2s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px) scale(.98); } }

/* ============ 其他 ============ */
.section-title {
  font-size: 13px;
  font-weight: 640;
  color: var(--text-2);
  margin: 22px 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: "";
  width: 3px; height: 13px; border-radius: 2px; background: var(--brand);
}
.hint-bar {
  background: #f6f9ff;
  border: 1px solid #e2ebfc;
  color: #3b5480;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 12.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hint-bar svg { width: 15px; height: 15px; flex: none; margin-top: 2px; opacity: .7; }

.boot-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13.5px;
}

.spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.progress-line { height: 6px; border-radius: 4px; background: #eef1f7; overflow: hidden; }
.progress-line > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4f8bff, #2563eb); }

.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.dl-item { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #eef1f7; font-size: 13px; }
.dl-item .k { color: var(--muted); }
.dl-item .v { font-weight: 550; }

@media print {
  .sidebar, .topbar, .toolbar, .no-print { display: none !important; }
  .main { margin-left: 0; }
  .page { padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  body { background: #fff; }
}

@media (max-width: 900px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .sidebar { width: 64px; }
  .sidebar .side-brand .t1, .sidebar .side-brand .t2, .nav-item span, .nav-group-label, .side-user .meta { display: none; }
  .nav-item { justify-content: center; padding: 11px; }
  .main { margin-left: 64px; }
  .search-wrap .input { width: 150px; }
}

/* ============ 分页 ============ */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pg-info { font-size: 12.5px; color: var(--muted); }
.pg-btns { display: flex; align-items: center; gap: 5px; }
.pg-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: all .14s;
}
.pg-btn:hover:not(:disabled) { border-color: #adbcd6; background: #f7f9fc; }
.pg-btn.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pg-btn:disabled { opacity: .45; cursor: not-allowed; }
.pg-gap { color: var(--muted); font-size: 12px; padding: 0 2px; }

/* ============ 未就业谈话表 ============ */
.talk-table th.talk-th {
  text-align: center;
  min-width: 192px;
  background: #f4f7fd;
  border-left: 1px solid #e9eefa;
  border-right: 1px solid #e9eefa;
  line-height: 1.45;
  padding-top: 8px;
  padding-bottom: 8px;
}
.talk-table th.talk-th span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .5px;
}
.talk-table td.talk-month {
  padding: 6px 7px !important;
  min-width: 192px;
  vertical-align: top;
  border-left: 1px solid #f0f3fa;
}
.talk-table tbody tr:hover .talk-sub.filled { background: #f2f7ff; }

.talk-sub {
  border-radius: 7px;
  padding: 5px 8px 6px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .14s;
  position: relative;
}
.talk-sub + .talk-sub { margin-top: 5px; }
.talk-sub .talk-sub-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 650;
  margin-bottom: 2px;
  letter-spacing: .3px;
}
.talk-sub .talk-sub-c {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-2);
  word-break: break-all;
}
.talk-sub.filled[data-role="mentor"] { background: #f4f8ff; border-color: #e3ecfd; }
.talk-sub.filled[data-role="mentor"] .who { color: #2563eb; }
.talk-sub.filled[data-role="counselor"] { background: #f2fbf9; border-color: #d7f0ea; }
.talk-sub.filled[data-role="counselor"] .who { color: #0d9488; }
.talk-sub.filled:hover { border-color: #a9c6fa; box-shadow: 0 1px 4px rgba(37,99,235,.1); }
.talk-sub .dt { color: var(--muted); font-weight: 500; font-size: 10px; }
.talk-sub.empty {
  border-style: dashed;
  border-color: #e0e6f1;
  background: #fbfcfe;
  color: #b0bccf;
}
.talk-sub.empty .who { color: #b8c4d6; }
.talk-sub.empty .talk-sub-c { color: #b0bccf; font-size: 11.5px; }
.talk-sub.empty.editable:hover {
  border-color: #9dbcf8;
  background: var(--brand-soft);
  color: var(--brand);
}
.talk-sub.empty.editable:hover .talk-sub-c,
.talk-sub.empty.editable:hover .who { color: var(--brand); }
.talk-sub.locked { cursor: default; }

/* ============ 上传区 ============ */
.upload-zone {
  border: 2px dashed #cfd9ea;
  border-radius: 12px;
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .18s;
  background: #fbfcff;
  color: var(--muted);
}
.upload-zone:hover, .upload-zone.drag {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.upload-zone svg { width: 30px; height: 30px; margin-bottom: 10px; opacity: .7; }
.upload-zone .uz-t { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.upload-zone:hover .uz-t, .upload-zone.drag .uz-t { color: var(--brand-dark); }
.upload-zone .uz-s { font-size: 12.5px; }

.card-head .spacer { flex: 1; }

.bar-track { display: block; position: relative; }
.bar-fill { display: block; }

/* ============ 表格列分隔竖线 ============ */
table.table th:not(:last-child),
table.table td:not(:last-child) {
  border-right: 1px solid #e9edf5;
}
table.table th:not(:last-child) {
  border-right-color: #dfe5ef;
}

/* 政治面貌 / 班级职务 */
.politics-text { font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.politics-text.party { color: #b91c1c; font-weight: 550; }
.duty-tag {
  display: inline-flex;
  padding: 1px 9px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  background: #f2f0fe;
  color: #5b4fcf;
  border: 1px solid #e4dff9;
}

/* 学生层次标签（本/硕标注） */
.level-tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 9px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.level-bk { background: #eaf1ff; color: #1d4ed8; border-color: #d8e4fd; }
.level-zsb { background: #e6f7f4; color: #0b7a6b; border-color: #c9ece5; }
.level-ss { background: #f2ecfe; color: #6d28d9; border-color: #e3d7fb; }
/* 未就业原因标签可点击修改 */
.reason-cell .tag { cursor: pointer; transition: all .14s; }
.reason-cell .tag:hover { box-shadow: 0 1px 4px rgba(20, 40, 80, .16); transform: translateY(-1px); }
.reason-cell .tag::after { content: ""; }
.reason-edit-hint { font-size: 11px; color: var(--muted); display: block; margin-top: 3px; }
.reason-remark { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); line-height: 1.4; word-break: break-all; }

/* ============ 序号列 ============ */
table.has-num .sticky-1 {
  left: 44px;
  width: 96px; min-width: 96px; max-width: 96px;
}
table.has-num .sticky-2 {
  left: 140px;
  width: 72px; min-width: 72px; max-width: 72px;
}
th.num-col, td.num-col {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
th.num-col { font-size: 11px; letter-spacing: .5px; }

/* 谈话块头部：署名较长时允许换行 */
.talk-sub-h { flex-wrap: wrap; row-gap: 1px; }
.talk-sub .who { white-space: nowrap; }

/* 谈话块上下两半高度一致，不随内容伸缩 */
.talk-sub {
  min-height: 66px;
  display: flex;
  flex-direction: column;
}
.talk-sub .talk-sub-c { flex: 1; }

/* ============ 生源地 / 党支部书记 ============ */
.origin-text {
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
}
.party-link {
  color: #b91c1c;
  font-weight: 550;
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px dashed #e3b4b4;
  padding-bottom: 1px;
  transition: all .14s;
}
.party-link:hover {
  color: #7f1d1d;
  border-bottom-color: #7f1d1d;
  background: #fff5f5;
}
.party-link.pending {
  color: var(--muted);
  font-weight: 400;
  border-bottom-color: #cbd5e1;
}

/* ============ 开关 / 简历 / 就业推荐 ============ */
.kpi.k-teal .ico { background: #e6f7f6; color: var(--teal); }

.switch {
  width: 38px;
  height: 21px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cfd6e4;
  position: relative;
  display: inline-block;
  cursor: pointer;
  flex: none;
  transition: background .18s;
  vertical-align: middle;
}
.switch::after {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 30, 54, .28);
  transition: transform .18s;
}
.switch.on { background: var(--brand); }
.switch.on::after { transform: translateX(17px); }
.switch.is-disabled { opacity: .45; cursor: not-allowed; }
.wecom-invite-row { display: flex; gap: 8px; align-items: center; }
.wecom-invite-row .input { flex: 1; min-width: 0; }
#wecomInvite { margin-top: 12px; }

.rec-wrap { display: inline-flex; align-items: center; gap: 7px; }
.rec-text { font-size: 12px; color: var(--muted); white-space: nowrap; }
.rec-text.on { color: var(--brand-dark); font-weight: 550; }
.rec-state { font-size: 12px; color: var(--muted); }
.rec-state.on { color: var(--brand-dark); font-weight: 550; }

.rec-row { display: flex; align-items: flex-start; gap: 11px; }
.rec-row-t { font-size: 13px; color: var(--text-2); }

.resume-cell { min-width: 132px; }
.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 150px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px dashed var(--border-strong);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: all .14s;
  font-family: inherit;
}
.resume-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.resume-btn svg { width: 13px; height: 13px; flex: none; }
.resume-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-btn.has-file {
  border-style: solid;
  border-color: #d5e2fb;
  background: #f4f8ff;
  color: var(--brand-dark);
  font-weight: 500;
}
.resume-btn.empty { border-color: #dbe2ee; }

/* 简历 + 就业推荐合并单元格（上下两行） */
.resume-rec-cell { display: inline-flex; flex-direction: column; gap: 7px; align-items: center; }
.resume-rec-cell .rr-line { display: flex; justify-content: center; }
.resume-rec-cell .resume-btn { max-width: 118px; }
.resume-rec-cell .rec-wrap { gap: 6px; }

/* 日期选择框：点击即弹原生日历，日历指示器更醒目 */
.date-picker { cursor: pointer; }
.date-picker::-webkit-calendar-picker-indicator {
  cursor: pointer;
  width: 18px;
  height: 18px;
  opacity: .7;
}
.date-picker::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.date-picker:disabled { cursor: not-allowed; }

/* 自定义日历选择器 */
.cal-field { position: relative; }
.cal-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; width: 100%; background: #fff; }
.cal-trigger svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.cal-trigger .placeholder { color: var(--muted); }
.cal-pop { display: none; position: absolute; z-index: 60; top: calc(100% + 6px); left: 0;
  width: 258px; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20, 40, 80, .14); padding: 12px; }
.cal-pop.show { display: block; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-size: 13px; font-weight: 600; }
.cal-nav { display: inline-flex; padding: 4px; border-radius: 6px; color: var(--text-2); background: none; border: 0; cursor: pointer; }
.cal-nav:hover { background: var(--bg); color: var(--text); }
.cal-nav svg { width: 16px; height: 16px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-week span { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; }
.cal-blank { aspect-ratio: 1; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 12px; border-radius: 7px; cursor: pointer; color: var(--text); }
.cal-day:hover { background: var(--bg); }
.cal-day.on { background: var(--brand); color: #fff; font-weight: 600; }
.cal-foot { margin-top: 8px; text-align: center; }
.cal-clear { background: none; border: 0; font-size: 12px; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.cal-clear:hover { color: var(--red); }

/* 班级多选下拉（含班级人数） */
.ms-dropdown { position: relative; min-width: 158px; }
.ms-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; cursor: pointer;
}
.ms-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ms-arrow {
  width: 0; height: 0; flex: none;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform .16s;
}
.ms-dropdown.open .ms-arrow { transform: rotate(180deg); }
.ms-panel {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 60;
  width: 230px; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: 0 10px 30px rgba(15, 30, 60, .14);
  overflow: hidden;
}
.ms-dropdown.open .ms-panel { display: block; }
.ms-tools { display: flex; gap: 4px; padding: 7px 10px; border-bottom: 1px solid var(--border); background: #f8fafc; }
.ms-link {
  border: none; background: none; color: var(--brand-dark); font-size: 12px;
  cursor: pointer; padding: 2px 6px; border-radius: 5px; font-family: inherit;
}
.ms-link:hover { background: var(--brand-soft); }
.ms-options { max-height: 268px; overflow-y: auto; padding: 4px 0; }
.ms-opt {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px;
  cursor: pointer; font-size: 13px;
}
.ms-opt:hover { background: #f5f8fd; }
.ms-opt input { width: 14px; height: 14px; flex: none; accent-color: var(--brand); }
.ms-opt-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.ms-count {
  flex: none; min-width: 26px; text-align: center; padding: 0 7px;
  border-radius: 20px; background: #eef2f8; color: var(--text-2); font-size: 12px; font-weight: 600;
}
.ms-opt.on { background: #eef4ff; }
.ms-opt.on .ms-opt-name { color: var(--brand); font-weight: 600; }
.ms-opt.on .ms-count { background: var(--brand); color: #fff; }

.resume-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.resume-card.has { border-color: #d5e2fb; background: #f6f9ff; }
.resume-card .rc-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #eaf1ff; color: var(--brand);
  flex: none;
}
.resume-card.none .rc-ico { background: #eff2f8; color: var(--muted); }
.resume-card .rc-ico svg { width: 19px; height: 19px; }
.resume-card .rc-main { flex: 1; min-width: 0; }
.resume-card .rc-name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resume-card .rc-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.resume-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-danger-ghost { color: var(--red); border-color: transparent; background: transparent; }
.btn-danger-ghost:hover { background: var(--red-soft); border-color: transparent; }

.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--brand);
  font-size: inherit;
  cursor: pointer;
  font-family: inherit;
}
.link-btn:hover { text-decoration: underline; }

.hint-bar.soft {
  background: #f6f9ff;
  border-color: #dce7fb;
  color: var(--text-2);
}

/* ============ 就业信息 ============ */
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .16s, border-color .16s;
}
.job-card:hover { box-shadow: var(--shadow); border-color: #dbe4f5; }
.job-head { display: flex; align-items: flex-start; gap: 12px; }
.job-title-wrap { flex: 1; min-width: 0; }
.job-title { margin: 0; font-size: 15.5px; font-weight: 650; letter-spacing: -.1px; }
.job-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 7px; font-size: 12px; color: var(--muted); }
.job-company { color: var(--text-2); font-weight: 500; }
.job-time { display: inline-flex; align-items: center; gap: 4px; }
.job-time svg { width: 12px; height: 12px; }
.job-ops { display: flex; gap: 4px; flex: none; }
.job-ops .danger { color: var(--red); }
.job-content {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-card.expanded .job-content { -webkit-line-clamp: unset; display: block; }
.job-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px; font-size: 12.5px;
}
.job-link svg { width: 13px; height: 13px; }
.job-foot {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 13px; padding-top: 11px;
  border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--muted);
}
.job-foot span { display: inline-flex; align-items: center; gap: 5px; }
.job-foot svg { width: 12px; height: 12px; }

.push-target-box {
  display: flex; align-items: baseline; gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--text-2);
}
.push-target-box b { font-size: 17px; color: var(--brand-dark); }

.kv-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: 10px; overflow: hidden; }
.kv-list > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 14px; background: #fff; font-size: 13px; color: var(--text-2);
}
.kv-list b { color: var(--text); font-weight: 600; }

/* ================= 数据同步面板 ================= */
.modal-actions { display: flex; gap: 9px; width: 100%; justify-content: flex-end; }

.sync-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--brand-soft); border: 1px solid #dce6fb;
  border-radius: 11px; padding: 12px 14px; margin-bottom: 16px;
}
.sync-note svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }
.sync-note p { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--text-2); }

.sync-token { resize: vertical; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
.sync-cfg-line { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; }
.sync-cfg-badge {
  font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: #eef1f6; color: var(--muted); border: 1px solid var(--border);
}
.sync-cfg-badge.on { background: var(--green-soft); color: var(--green); border-color: #cdeed8; }

.sync-result { margin-top: 16px; }
.sync-loading { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 0; }

.sync-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.sync-stat {
  border: 1px solid var(--border); border-radius: 11px; padding: 13px 10px; text-align: center; background: #fff;
}
.sync-stat .v { font-size: 21px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.sync-stat .l { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.sync-stat.blue .v { color: var(--brand); }
.sync-stat.green .v { color: var(--green); }
.sync-stat.orange .v { color: var(--orange); }

.sync-warn {
  font-size: 12.5px; color: var(--orange); background: var(--orange-soft);
  border: 1px solid #f5ddba; border-radius: 10px; padding: 10px 13px; margin-bottom: 12px;
}
.sync-ok-line { font-size: 12.5px; color: var(--muted); padding: 8px 2px; }
.sync-change-title { font-size: 13px; font-weight: 600; margin: 14px 0 8px; }
.sync-change-table { font-size: 12.5px; }
.sync-change-table th { font-size: 12px; }

.sync-error {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--red-soft); border: 1px solid #f6d2d2; border-radius: 11px; padding: 13px 14px;
}
.sync-error svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 1px; }
.sync-error p { margin: 0; font-size: 12.5px; line-height: 1.6; }
.sync-error .cell-muted { color: var(--text-2); }

.spin {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%;
  animation: syncspin .7s linear infinite; vertical-align: -2px; margin-right: 5px;
}
@keyframes syncspin { to { transform: rotate(360deg); } }

/* ========== 就业去向 · 班级汇总卡片式 UI ========== */
.emp-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.emp-ov {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.emp-ov .ov-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; font-size: 19px;
  background: var(--brand-soft); color: var(--brand);
}
.emp-ov.teal .ov-ico { background: #e6f7f5; color: var(--teal); }
.emp-ov .ov-meta { display: flex; flex-direction: column; gap: 2px; }
.emp-ov .ov-label { font-size: 12.5px; color: var(--muted); }
.emp-ov .ov-big { font-size: 20px; font-weight: 700; color: var(--text); }
.emp-ov .ov-sub { font-size: 12px; color: var(--muted); }

.emp-section { margin-bottom: 22px; }
.emp-section-head {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 2px 12px;
}
.emp-section-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.emp-section-head .dot.bk { background: var(--brand); }
.emp-section-head .dot.ss { background: var(--teal); }
.emp-section-head h3 { margin: 0; font-size: 15px; color: var(--text); }
.emp-section-head .sec-meta { font-size: 12.5px; color: var(--muted); }

.emp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 13px;
}
.emp-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 15px 16px 14px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.emp-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.emp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.emp-card-name { font-size: 15.5px; font-weight: 700; color: var(--text); }
.emp-card-major { font-size: 12px; color: var(--muted); margin-top: -6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emp-card-counselor { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.emp-rate { display: flex; flex-direction: column; gap: 5px; }
.emp-rate-line { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.emp-rate-line b { font-size: 14px; }
.emp-rate-bar { height: 7px; border-radius: 99px; background: #eef1f7; overflow: hidden; }
.emp-rate-fill { height: 100%; border-radius: 99px; transition: width .4s ease; }

.emp-card-stats { display: flex; align-items: center; gap: 14px; font-size: 12.5px; }
.emp-card-stats .st { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.emp-card-stats .st b { color: var(--text); }
.emp-card-stats .st.g b { color: var(--green); }
.emp-card-stats .st.o b { color: var(--orange); }

.emp-card-foot { margin-top: 2px; }
.emp-card-foot .btn { width: 100%; justify-content: center; }

.emp-badge {
  font-size: 11px; padding: 2px 8px; border-radius: 99px; white-space: nowrap;
  background: #e6f7f5; color: var(--teal); font-weight: 600;
}

/* ---------------- 岗位投递 / 推荐 ---------------- */

.job-foot-ops { display: flex; gap: 8px; align-items: center; }

/* 筛选区 */
.rec-filter { border: 1px solid var(--border); border-radius: 10px; padding: 12px; background: var(--bg); margin-bottom: 10px; }
.rec-filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rec-filter-row + .rec-filter-row { margin-top: 8px; }
.rec-filter .input { flex: 1; min-width: 128px; }
.rec-filter .search-wrap { flex: 1; min-width: 180px; }
.rec-check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; cursor: pointer; }
.rec-check input { margin: 0; }

/* 选择条 */
.rec-pick-bar { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 12.5px; }
#wecomSelection { margin: 0 4px 6px; }

/* 学生列表 */
.rec-stu-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; }
.rec-stu { display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); cursor: pointer; }
.rec-stu:last-child { border-bottom: 0; }
.rec-stu.on { background: #f0f6ff; }
.rec-stu > input { margin-top: 3px; }
.rec-stu-main { flex: 1; min-width: 0; }
.rec-stu-name { font-size: 13px; font-weight: 600; }
.rec-stu-sub { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin: 3px 0; }
.rec-stu-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.rec-flag { font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: #eef1f5; color: var(--text-2); }
.rec-flag-on { background: #e6f7f5; color: var(--teal); font-weight: 600; }

/* 统计弹窗 */
.rec-stat-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.rec-stat-kpi { border: 1px solid var(--border); border-radius: 10px; padding: 14px; text-align: center; }
.rec-stat-kpi b { font-size: 24px; display: block; color: var(--text); }
.rec-stat-kpi span { font-size: 11.5px; color: var(--muted); }
.rec-stat-sec { margin-bottom: 14px; }
.rec-stat-title { font-size: 12.5px; font-weight: 600; margin-bottom: 8px; }
.rec-stat-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rec-stat-row .tag { width: 74px; justify-content: center; flex: none; }
.rec-stat-bar { flex: 1; height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.rec-stat-bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.rec-stat-row b { width: 36px; text-align: right; }

/* 学生接收清单 */
.rec-inbox { display: flex; flex-direction: column; gap: 10px; }
.rec-inbox-item { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.rec-inbox-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rec-inbox-title { font-size: 13.5px; font-weight: 600; }
.rec-inbox-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; font-size: 12px; }
.rec-score { color: var(--text-2); }
.rec-inbox-reason { font-size: 12px; color: var(--text-2); background: var(--bg); border-radius: 8px; padding: 6px 10px; }
.rec-inbox-note { font-size: 12px; color: var(--teal); margin-top: 6px; }

/* ============ 就业去向 / 未就业情况：字号加大、行距收紧 ============ */

/* 就业去向 · 学生明细 */
#empDetailSheet table.table { font-size: 15.5px; }
#empDetailSheet table.table th { font-size: 14.5px; padding: 5px 12px; }
#empDetailSheet table.table td { padding: 5px 12px; }
#empDetailSheet .cell-muted { font-size: 14px; }
#empDetailSheet .tag { font-size: 14px; line-height: 1.5; }

/* 就业去向 · 班级汇总卡片 */
.emp-card-name { font-size: 16px; }
.emp-card-major { font-size: 12.5px; }
.emp-card-counselor { font-size: 12.5px; }
.emp-card-stats { font-size: 13px; }

/* 未就业情况 */
table.talk-table { font-size: 15.5px; }
table.talk-table th { font-size: 14.5px; padding: 5px 12px; }
table.talk-table td { padding: 5px 12px; }
table.talk-table td.talk-month { padding: 3px 6px !important; }
table.talk-table .cell-muted { font-size: 14px; }
table.talk-table .tag { font-size: 14px; line-height: 1.5; }
.talk-sub { font-size: 13.5px; line-height: 1.4; padding: 3px 7px 4px; }
.talk-sub + .talk-sub { margin-top: 2px; }
.talk-sub .talk-sub-h { font-size: 12px; }
.talk-sub.empty .talk-sub-c { font-size: 13px; }
.talk-sub .dt { font-size: 11px; }
.reason-remark { font-size: 13px; }
.reason-edit-hint { font-size: 12px; }

/* ============ 全局：所有页面字号统一加大 ============ */

body { font-size: 15px; }

/* 通用表格（账号、学生、班级、就业信息等所有页面） */
table.table { font-size: 15.5px; }
table.table th { font-size: 14.5px; }
table.table td { padding: 6px 12px; }
table.table th { padding: 6px 12px; }
.cell-muted { font-size: 14px; }
.tag { font-size: 14px; }
th.num-col { font-size: 13px; }

/* 按钮 */
.btn { font-size: 14px; }
.btn-sm { font-size: 13px; }
.btn-block { font-size: 15px; }

/* 表单 */
.field label { font-size: 13px; }
.field-hint { font-size: 12.5px; }

/* 卡片标题 */
.card-head h3 { font-size: 15.5px; }
.card-head .sub { font-size: 13px; }

/* 顶栏、侧边导航 */
.topbar h1 { font-size: 17.5px; }
.topbar .crumb { font-size: 13px; }
.nav-item { font-size: 14px; }
.scope-pill { font-size: 12.5px; }
.side-user .n { font-size: 13.5px; }
.side-user .r { font-size: 11.5px; }

/* KPI 卡片 */
.kpi .label { font-size: 13px; }
.kpi .foot { font-size: 12.5px; }
.kpi .value small { font-size: 14.5px; }

/* 弹窗 */
.modal-head h3 { font-size: 16.5px; }
.modal-head .st { font-size: 13px; }

/* 空状态、视图切换、分页、描述列表、图例 */
.empty-state h4 { font-size: 15.5px; }
.empty-state p { font-size: 14px; }
.view-tab { font-size: 14px; }
.view-tab .cnt { font-size: 12.5px; }
.pg-info { font-size: 13px; }
.pg-btn { font-size: 13px; }
.dl-item { font-size: 14px; }
.legend-item { font-size: 13px; }
.legend-val { font-size: 13px; }

/* 图表/看板小字 */
.bar-row .nm, .bar-row .vl { font-size: 13px; }
.politics-text { font-size: 13px; }

/* 日历、下拉 */
.cal-title { font-size: 14px; }
.cal-week span { font-size: 12px; }
.cal-day { font-size: 13px; }
.ms-label { font-size: 14px; }

/* 就业信息（岗位） */
.job-title { font-size: 16.5px; }
.job-meta { font-size: 13px; }

/* 数据同步页 */
.sync-note p, .sync-cfg-line, .sync-token, .sync-change-table, .sync-error p,
.sync-ok-line, .sync-change-title, .sync-loading, .rec-text, .rec-state,
.rec-row-t, .rec-inbox-meta, .rec-inbox-reason, .rec-inbox-note,
.rec-inbox-title, .rec-check, .rec-pick-bar, .rec-stu-name, .rec-stu-sub,
.emp-ov .ov-label, .emp-ov .ov-sub, .emp-section-head .sec-meta,
.emp-rate-line, .upload-zone .uz-s, .resume-card .rc-meta { font-size: 13px; }
.sync-change-table th { font-size: 12.5px; }

/* 分页：每页条数选择器 */
.pg-size {
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
}
.pg-size:hover { border-color: #adbcd6; }
.pg-size:focus { outline: none; border-color: var(--brand); }

/* 操作列：两个按钮左右排列，文字代替图标 */
.row-actions {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.act-btn {
  padding: 4px 11px;
  font-size: 13.5px;
  font-weight: 550;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
}
.act-btn:hover { background: #f3f6fb; border-color: #c3cddf; }
.act-btn.danger { color: var(--red); border-color: #f0d2d2; }
.act-btn.danger:hover { background: var(--red-soft); border-color: #e7b9b9; }
.job-ops { display: inline-flex; flex-direction: row; gap: 6px; align-items: center; flex-wrap: nowrap; }
