:root {
  --ink: #061b46;
  --muted: #6c7891;
  --blue: #075bea;
  --deep-blue: #0639be;
  --cyan: #16cdf3;
  --soft-blue: #eaf4ff;
  --danger: #d43a50;
  --success: #0f9a68;
  --warn: #d89b1c;
  --paper: #f2f6fb;
  --line: #dfe8f2;
  --card: #ffffff;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.is-hidden { display: none !important; }

/* ============ 布局 ============ */
.shell { position: relative; min-height: 100vh; overflow-x: hidden; }
.shell::before {
  content: ""; position: fixed; inset: 0 0 auto; height: 340px; pointer-events: none;
  background: radial-gradient(900px 340px at 12% -8%, #dbeafe 0%, transparent 62%),
              radial-gradient(760px 300px at 92% -12%, #e0f2fe 0%, transparent 60%);
}
.wrap { position: relative; z-index: 1; width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ============ 顶栏 ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: saturate(180%) blur(14px);
}
.topbar-in { display: flex; min-height: 60px; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 10px;
  color: #fff; font-size: 13px; font-weight: 900;
  background: linear-gradient(150deg, #0b3475, #075bea 70%);
  box-shadow: 0 6px 14px rgb(7 91 234 / 26%);
}
.brand-txt { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.brand-txt b { font-size: 15px; letter-spacing: -.02em; white-space: nowrap; }
.brand-txt small { color: #8292a1; font-size: 10px; white-space: nowrap; }

.gsearch { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.gsearch input {
  width: 100%; height: 36px; padding: 0 12px 0 32px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font-size: 13px; background: #f7fafc; outline: 0; transition: .18s;
}
.gsearch input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgb(7 91 234 / 12%); }
.gsearch::before {
  content: "⌕"; position: absolute; left: 11px; top: 50%; transform: translateY(-52%);
  color: #9aa8b6; font-size: 15px;
}
.gsearch-pop {
  position: absolute; left: 0; right: 0; top: 42px; z-index: 60; max-height: 380px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: 0 18px 44px rgb(8 40 90 / 16%);
}
.gsearch-pop button {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 12px; border: 0;
  border-bottom: 1px solid #eef2f7; background: transparent; text-align: left; transition: .14s;
}
.gsearch-pop button:last-child { border-bottom: 0; }
.gsearch-pop button:hover { background: var(--soft-blue); }
.gsearch-pop .empty { padding: 14px; color: var(--muted); font-size: 12px; text-align: center; }

.userchip { display: flex; align-items: center; gap: 8px; }
.userchip .av {
  display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px;
  color: #fff; font-size: 12px; font-weight: 800; background: var(--blue);
}
.userchip .meta { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.userchip .meta b { font-size: 12px; }
.userchip .meta small { color: #7d8b9a; font-size: 10px; }
.tag {
  padding: 2px 6px; border-radius: 5px; font-size: 9px; font-weight: 800; letter-spacing: .04em;
}
.tag-edit { color: #fff; background: var(--success); }
.tag-read { color: #55637a; background: #e8edf3; }

.iconbtn {
  display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line);
  border-radius: 9px; color: #55637a; background: #fff; font-size: 14px; transition: .16s;
}
.iconbtn:hover { border-color: var(--blue); color: var(--blue); }

/* ============ 登录 ============ */
.login-view { display: grid; min-height: 100vh; place-items: center; padding: 24px 16px; }
.login-box { position: relative; z-index: 1; width: min(1000px, 100%); }
.login-hero {
  position: relative; padding: 26px 24px; overflow: hidden; border-radius: 24px; color: #fff;
  background: linear-gradient(150deg, #0b3475 0%, #075bea 66%, #08a8d8 130%);
  box-shadow: 0 18px 42px rgb(8 59 140 / 20%);
}
.login-hero::before {
  content: ""; position: absolute; width: 230px; height: 230px; right: -145px; top: -120px;
  border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%;
  box-shadow: 0 0 0 34px rgb(255 255 255 / 4%), 0 0 0 72px rgb(255 255 255 / 3%);
}
.login-hero .eyebrow { margin-bottom: 8px; color: #aeeeff; font-size: 9px; }
.login-hero h1 { margin: 0; font-size: clamp(30px, 6vw, 44px); font-weight: 300; line-height: 1.02; letter-spacing: -.06em; }
.login-hero h1 strong { font-weight: 900; }
.login-hero p { max-width: 460px; margin: 12px 0 0; color: rgb(255 255 255 / 78%); font-size: 13px; line-height: 1.75; }
.login-stats { position: relative; z-index: 1; display: grid; margin-top: 20px; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(255 255 255 / 20%); }
.login-stats span { display: flex; flex-direction: column; gap: 4px; padding: 13px 8px 0; }
.login-stats span + span { border-left: 1px solid rgb(255 255 255 / 18%); }
.login-stats small { color: rgb(255 255 255 / 60%); font-size: 9px; }
.login-stats b { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }

.login-card {
  margin-top: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 24px;
  background: rgb(255 255 255 / 96%); box-shadow: 0 8px 24px rgb(28 67 110 / 6%);
}
.login-card h2 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.03em; }
.login-card .sub { margin: 0 0 18px; color: #7b8998; font-size: 12px; }
.field { display: block; margin-bottom: 13px; }
.field > span { display: block; margin-bottom: 6px; color: #55637a; font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px;
  color: var(--ink); font-size: 14px; background: #f8fafc; outline: 0; transition: .18s;
}
.field textarea { height: auto; min-height: 70px; padding: 11px 13px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgb(7 91 234 / 12%);
}
.login-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-primary {
  display: flex; width: 100%; height: 44px; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px; border: 0; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 800;
  background: linear-gradient(135deg, #075bea, #0639be); box-shadow: 0 8px 20px rgb(7 91 234 / 24%);
  transition: .18s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgb(7 91 234 / 30%); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-err { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; color: #a5273c; font-size: 12px; background: #fdecef; }
.login-note { margin: 14px 0 0; color: #8b98a6; font-size: 11px; line-height: 1.6; }

/* ============ 门户 ============ */
.portal-head { padding: 26px 0 18px; }
.eyebrow {
  margin: 0 0 7px; color: #1680e9;
  font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em;
}
.portal-head h1 { margin: 0; font-size: clamp(25px, 5vw, 36px); font-weight: 300; line-height: 1.1; letter-spacing: -.055em; }
.portal-head h1 strong { font-weight: 900; }
.portal-head > p:last-child { margin: 9px 0 0; color: #7b8998; font-size: 13px; }

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.svc {
  position: relative; display: flex; min-height: 128px; flex-direction: column; gap: 7px;
  padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: left;
  box-shadow: 0 6px 18px rgb(28 67 110 / 5%); transition: .2s;
}
.svc:hover { transform: translateY(-2px); border-color: #bcd8f6; box-shadow: 0 14px 30px rgb(28 67 110 / 11%); }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-idx { color: #c2cfdb; font: 800 10px/1 ui-monospace, monospace; }
.svc-ico {
  display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px;
  color: #fff; font-size: 14px; font-weight: 900;
  background: linear-gradient(150deg, #0b3475, #075bea);
  box-shadow: 0 6px 14px rgb(7 91 234 / 22%);
}
.svc b { font-size: 15px; letter-spacing: -.02em; }
.svc small { color: #8292a1; font-size: 11px; line-height: 1.5; }
.svc .go { margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 800; }

/* 统计条 */
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.stat {
  padding: 14px 15px; border: 1px solid var(--line); border-radius: 18px; background: rgb(255 255 255 / 94%);
  box-shadow: 0 6px 18px rgb(28 67 110 / 4%);
}
.stat small { display: block; margin-bottom: 6px; color: #8292a1; font-size: 10px; }
.stat b { font-size: 25px; font-weight: 800; letter-spacing: -.04em; }
.stat i { margin-left: 3px; color: #a7b4c0; font-size: 11px; font-style: normal; font-weight: 700; }

/* ============ 通用页 ============ */
.page { padding-bottom: 40px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 22px 0 16px; }
.page-head .t { flex: 1; min-width: 200px; }
.page-head h1 { margin: 0; font-size: clamp(21px, 4vw, 28px); font-weight: 300; letter-spacing: -.05em; }
.page-head h1 strong { font-weight: 900; }
.page-head .t > p:last-child { margin: 7px 0 0; color: #7b8998; font-size: 12px; }
.back-btn {
  display: inline-flex; height: 34px; align-items: center; gap: 5px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; color: #55637a; font-size: 12px; font-weight: 700;
  background: #fff; transition: .16s;
}
.back-btn:hover { border-color: var(--blue); color: var(--blue); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: #edf2f7; }
.seg button {
  min-height: 30px; padding: 0 13px; border: 0; border-radius: 8px; color: #6b7b8b;
  font-size: 12px; font-weight: 750; background: transparent; transition: .16s;
}
.seg button.on { color: #fff; background: var(--blue); box-shadow: 0 5px 12px rgb(7 91 234 / 22%); }
.mini-sel {
  height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
  color: #45566b; font-size: 12px; background: #fff;
}
.btn-line {
  display: inline-flex; height: 34px; align-items: center; gap: 5px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 10px; color: #45566b; font-size: 12px; font-weight: 700;
  background: #fff; transition: .16s;
}
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-line.primary { border-color: transparent; color: #fff; background: var(--blue); }
.btn-line.primary:hover { background: var(--deep-blue); }

.panel { border: 1px solid var(--line); border-radius: 20px; background: rgb(255 255 255 / 96%); box-shadow: 0 8px 24px rgb(28 67 110 / 5%); }
.panel + .panel { margin-top: 12px; }
.panel-h {
  display: flex; min-height: 52px; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #e9eff5;
}
.panel-h h2 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
.panel-h small { color: #8292a1; font-size: 11px; }
.panel-h .sp { margin-left: auto; }
.panel-b { padding: 14px 16px; }

/* 表格 */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th {
  padding: 9px 11px; border-bottom: 1px solid #e9eff5; color: #8292a1; font-size: 10px;
  font-weight: 800; text-align: left; white-space: nowrap; letter-spacing: .05em;
}
table.tbl td { padding: 10px 11px; border-bottom: 1px solid #f1f5f9; color: #2c4a66; }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: #f8fbff; }
table.tbl td.num { font-variant-numeric: tabular-nums; }
.lnk { color: var(--blue); font-weight: 750; cursor: pointer; }
.lnk:hover { text-decoration: underline; }

.pill { display: inline-block; padding: 3px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; }
.pill.blue { color: #1b5e99; background: #e5f2ff; }
.pill.green { color: #18725b; background: #e9f8f2; }
.pill.amber { color: #795918; background: #fff6df; }
.pill.grey { color: #566d82; background: #e9f0f6; }
.pill.red { color: #a5273c; background: #fdecef; }
.pill.gold { color: #8a5a00; background: #fff3cf; }

/* 奖惩情况 */
.award-list { display: flex; flex-direction: column; gap: 7px; }
.award-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px;
  border: 1px solid #f3e2b0; border-radius: 12px;
  background: linear-gradient(140deg, #fffaf0, #fffdf8);
}
.award-row > i {
  flex: 0 0 auto; font-style: normal; font-size: 12px;
  color: #d9a520; letter-spacing: -.5px;
}
.award-row > span { color: #6a4c12; font-size: 13px; font-weight: 600; }
.award-row > span > em { margin-left: 8px; color: #9a7a3a; font-size: 11.5px; font-style: normal; font-weight: 400; }

/* 人格卡片 */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 10px; }
/* 班级方块头像：显示"学硕/专硕"两字，需要更宽 */
.pcard.cls-card .av { width: auto; min-width: 46px; padding: 0 10px; font-size: 12.5px; }
.pcard { position: relative; }
.pcard.other { border-color: #e0e6ec; background: #fbfcfd; }
.pcard.other:hover { border-color: #b9c4ce; background: #f7f9fa; }
.pcard.other .av { background: linear-gradient(150deg, #a9b4c0, #c3ccd6) !important; box-shadow: none; }
.pcard.other .info b { color: #6b7885; }
.other-flag {
  position: absolute; top: 7px; right: 7px; z-index: 2;
  padding: 3px 7px; border-radius: 6px;
  color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .02em;
  background: #94a3b8; box-shadow: 0 2px 6px rgb(100 116 139 / 24%);
}
.pcard.other .info { padding-right: 74px; }
.pcard.other:hover .other-flag { background: #64748b; }

button.pcard { border: 1px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pcard {
  display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid var(--line);
  border-radius: 15px; background: #fff; text-align: left; transition: .16s;
}
.pcard:hover { border-color: #bcd8f6; background: #f8fbff; transform: translateY(-1px); }
.pcard .av {
  display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 12px;
  color: #fff; font-size: 15px; font-weight: 800;
  background: linear-gradient(150deg, #0b3475, #075bea);
}
.pcard.f .av { background: linear-gradient(150deg, #8e2f7d, #d1479e); }
.pcard .info { min-width: 0; flex: 1; }
.pcard .info b { display: block; font-size: 14px; }
.pcard .info small { display: block; margin-top: 2px; color: #8292a1; font-size: 10.5px; line-height: 1.5; }
.pcard .info em { color: #5c6f84; font-style: normal; }

/* 详情页 */
.detail-top { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 12px; }
.profile { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgb(28 67 110 / 5%); }
.profile-av {
  display: grid; width: 66px; height: 66px; margin: 0 auto 12px; place-items: center; border-radius: 20px;
  color: #fff; font-size: 26px; font-weight: 800;
  background: linear-gradient(150deg, #0b3475, #075bea); box-shadow: 0 10px 22px rgb(7 91 234 / 24%);
}
.profile-av.f { background: linear-gradient(150deg, #8e2f7d, #d1479e); }
.profile h2 { margin: 0; font-size: 20px; text-align: center; letter-spacing: -.03em; }
.profile .no { margin: 5px 0 0; color: #8292a1; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 12px 0; }
.kv { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef2f7; }
.kv-row { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: 12.5px; }
.kv-row > span { color: #8292a1; }
.kv-row > b { color: #214b72; font-weight: 700; word-break: break-all; }
.kv-row a.lnk { word-break: break-all; }

.tabs { display: flex; gap: 2px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tabs button {
  min-height: 34px; padding: 0 14px; border: 0; border-radius: 11px; color: #6b7b8b; white-space: nowrap;
  font-size: 12.5px; font-weight: 750; background: transparent; transition: .16s;
}
.tabs button.on { color: #fff; background: var(--blue); box-shadow: 0 5px 12px rgb(7 91 234 / 20%); }
.tab-body { margin-top: 12px; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 9px; }
.fact { padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.fact span { display: block; margin-bottom: 4px; color: #8292a1; font-size: 10px; }
.fact b { color: #214b72; font-size: 13px; word-break: break-all; }

/* 基本信息分组 */
.grp + .grp { margin-top: 16px; padding-top: 15px; border-top: 1px dashed #e4ebf2; }
.grp-h {
  display: flex; align-items: center; gap: 7px; margin-bottom: 10px;
  color: #1680e9; font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em;
}
.grp-h::after { content: ""; height: 1px; flex: 1; background: #e9eff5; }
.grp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
.grp-body { padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; color: #2c4a66; font-size: 13px; line-height: 1.7; background: #f8fafc; }
.fact.hi { border-color: #bcd8f6; background: linear-gradient(140deg, #eaf4ff, #f6faff); }
.fact.hi span { color: #1b5e99; font-weight: 700; }
.fact.hi b { color: #0b3475; font-size: 14px; font-weight: 800; }

/* 侧栏班级大字 */
.profile-class {
  margin: 10px 0 0; padding: 9px 10px; border-radius: 12px;
  color: #0b3475; font-size: 15px; font-weight: 800; text-align: center; letter-spacing: -.01em;
  background: linear-gradient(140deg, #eaf4ff, #f6faff); border: 1px solid #cfe3f8;
}

/* 跨班混住宿舍标注 */
.panel.is-mixed { border-color: #e2e7ec; background: #fcfcfd; }
.panel.is-mixed .panel-h { background: #f7f9fa; border-bottom-color: #e9edf1; }
.panel.is-mixed .panel-h h2 { color: #7a8794; font-weight: 700; }
.stat-flag {
  display: block; margin-top: 6px; padding: 2px 6px; border-radius: 5px;
  color: #64748b; font-size: 9.5px; font-style: normal; font-weight: 800;
  background: #eef1f4; letter-spacing: .02em;
}

/* 班级详情顶部信息条 */
.cl-head { margin-bottom: 12px; }
.cl-head-row {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid #cfe3f8; border-radius: 16px;
  background: linear-gradient(140deg, #eaf4ff, #f7fbff);
}
.cl-k {
  flex: 0 0 auto; padding: 4px 9px; border-radius: 7px; color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; background: #075bea;
  box-shadow: 0 4px 10px rgb(7 91 234 / 20%);
}
.cl-v { color: #0b3475; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }

/* 条形分布 */
.bar-list { display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 38px; align-items: center; gap: 10px; }
.bar-label { color: #55637a; font-size: 12px; text-align: right; }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: #eef2f7; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.bar-fill.blue { background: linear-gradient(90deg, #075bea, #4e86d8); }
.bar-fill.green { background: linear-gradient(90deg, #0f9a68, #4fc08d); }
.bar-fill.grey { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.bar-fill.amber { background: linear-gradient(90deg, #d89b1c, #f0c14b); }
.bar-num { color: #214b72; font-size: 12.5px; font-weight: 800; text-align: left; font-variant-numeric: tabular-nums; }

/* 贫困情况标注 */
.econ-mark {
  display: flex; align-items: flex-start; gap: 11px; padding: 12px 13px;
  border: 1px solid #f0d9a8; border-radius: 14px; background: linear-gradient(140deg, #fffaf0, #fffdf8);
}
.econ-badge {
  flex: 0 0 auto; padding: 5px 10px; border-radius: 8px; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; background: #d89b1c;
  box-shadow: 0 4px 10px rgb(216 155 28 / 26%);
}
.econ-detail { min-width: 0; }
.econ-tag {
  display: inline-block; margin: 0 6px 5px 0; padding: 3px 8px; border-radius: 7px;
  color: #795918; font-size: 11px; font-weight: 750; background: #fff6df; border: 1px solid #f2e2bb;
}
.econ-detail p { margin: 4px 0 0; color: #6b5a34; font-size: 12.5px; line-height: 1.7; }

.empty { padding: 34px 16px; color: #8b98a6; font-size: 13px; text-align: center; }
.empty span { display: block; margin-bottom: 8px; font-size: 26px; opacity: .5; }

.sec-title { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; }
.sec-title b { font-size: 14px; }
.sec-title small { color: #8292a1; font-size: 11px; }
.sec-title::after { content: ""; height: 1px; flex: 1; background: #e9eff5; }

.note {
  display: flex; gap: 9px; padding: 11px 12px; border-radius: 12px; color: #5a6d80; font-size: 12px;
  line-height: 1.65; background: #f5f8fb;
}
.note.amber { color: #795918; background: #fff6df; }
.note b { color: inherit; }

.footer { padding: 22px 0 30px; color: #9aa8b6; font-size: 11px; text-align: center; }
.footer a { color: #7d8b9a; text-decoration: underline; }

/* 编辑表单 */
.edit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.edit-grid .full { grid-column: 1 / -1; }

/* 账号管理 */
.acc-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 13px 15px;
  border-bottom: 1px solid #f1f5f9;
}
.acc-row:last-child { border-bottom: 0; }
.acc-row .who { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.acc-row .who .av { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: #fff; font-size: 12px; font-weight: 800; background: var(--blue); }
.acc-row .who b { display: block; font-size: 14px; }
.acc-row .who small { color: #8292a1; font-size: 10px; }
.acc-row .ctl { display: flex; align-items: center; gap: 7px; margin-left: auto; }

/* 响应式 */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .detail-top { grid-template-columns: 1fr; }
  /* 年级总览的 6 列统计 */
  .stat-row[style*="repeat(6"] { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 700px) {
  .wrap { width: min(1180px, 100% - 24px); }
  .svc-grid, .stat-row, .login-row, .edit-grid { grid-template-columns: 1fr; }
  .login-stats { grid-template-columns: repeat(2, 1fr); }
  .gsearch { max-width: none; }
  .userchip .meta { display: none; }
  .profile-av { width: 56px; height: 56px; font-size: 22px; }
  .page-head { padding-top: 18px; }
}
@media (max-width: 420px) {
  .svc-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== 台账记录 ==================== */
.notes-block { margin-top: 12px; }

.note-item {
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; background: #fbfcfe;
}
.note-item + .note-item { margin-top: 10px; }
.note-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.note-date {
  color: #0b3475; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  padding: 2px 7px; border-radius: 6px; background: #eaf4ff;
}
.note-by { color: #5c6f84; font-size: 11.5px; font-weight: 700; }
.note-ops { margin-left: auto; display: flex; gap: 4px; }
.linkbtn {
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px; color: #5c6f84;
  font-size: 11px; font-weight: 700; background: #fff; transition: .15s;
}
.linkbtn:hover { border-color: var(--blue); color: var(--blue); }
.linkbtn.danger:hover { border-color: var(--danger); color: var(--danger); }
.note-body { margin: 0; color: #2c4a66; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.note-peers {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px;
  padding-top: 9px; border-top: 1px dashed #e4ebf2;
}
.peers-label { color: #8292a1; font-size: 10.5px; font-weight: 700; }
.note-peers .lnk {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 8px;
  border: 1px solid #cfe3f8; border-radius: 8px; background: #f4f9ff;
  font-size: 12px; font-weight: 750; cursor: pointer;
}
.note-peers .lnk em { color: #8292a1; font-size: 10px; font-style: normal; font-weight: 600; }
.note-peers .lnk:hover { background: #e8f2ff; }

/* 记录编辑器 */
.note-editor { padding: 22px 24px; }
.ne-title { margin: 0 0 4px; font-size: 20px; letter-spacing: -.03em; }
.ne-sub { margin: 0 0 18px; color: #7b8998; font-size: 12px; }
.ne-sub b { color: #0b3475; }
.peer-search { position: relative; }
.peer-search input {
  width: 100%; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; background: #f8fafc; outline: 0; transition: .16s;
}
.peer-search input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgb(7 91 234 / 12%); }
.peer-pop {
  position: absolute; left: 0; right: 0; top: 42px; z-index: 10; max-height: 240px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 14px 34px rgb(8 40 90 / 16%);
}
.peer-pop button {
  display: flex; width: 100%; align-items: baseline; gap: 8px; padding: 8px 12px; border: 0;
  border-bottom: 1px solid #f1f5f9; background: transparent; text-align: left; transition: .14s;
}
.peer-pop button:last-child { border-bottom: 0; }
.peer-pop button:hover { background: var(--soft-blue); }
.peer-pop b { color: #214b72; font-size: 13px; }
.peer-pop small { color: #7b8998; font-size: 11px; }
.peer-pop em { margin-left: auto; color: #9aa8b6; font-size: 10.5px; font-style: normal; font-variant-numeric: tabular-nums; }
.peer-empty { padding: 12px; color: #8b98a6; font-size: 12px; text-align: center; }
.peer-picked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 24px; }
.peer-chip {
  display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 8px; border-radius: 8px;
  color: #1b5e99; font-size: 12px; font-weight: 750; background: #eaf4ff; border: 1px solid #cfe3f8;
}
.peer-chip em { color: #6f93b8; font-size: 10px; font-style: normal; font-weight: 600; }
.peer-chip button {
  width: 15px; height: 15px; margin-left: 2px; padding: 0; border: 0; border-radius: 50%;
  color: #6f93b8; font-size: 12px; line-height: 1; background: rgba(27 94 153 / 10%); cursor: pointer;
}
.peer-chip button:hover { color: #fff; background: #1b5e99; }
.peer-none { color: #9aa8b6; font-size: 11.5px; }

/* 可见范围三选一 */
.scope-opts { display: grid; gap: 8px; }
.scope-opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; transition: .16s;
}
.scope-opt:hover { border-color: #bcd8f6; }
.scope-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.scope-opt > i {
  position: relative; flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px;
  border: 2px solid #c3ced9; border-radius: 50%; background: #fff; transition: .16s;
}
.scope-opt > i::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%;
  background: #fff; transform: scale(0); transition: .16s;
}
.scope-opt:has(input:checked) { border-color: var(--blue); background: #eaf4ff; }
.scope-opt:has(input:checked) > i { border-color: var(--blue); background: var(--blue); }
.scope-opt:has(input:checked) > i::after { transform: scale(1); }
.scope-opt input:focus-visible ~ i { outline: 3px solid rgb(7 91 234 / 22%); outline-offset: 2px; }
.scope-opt > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.scope-opt b { color: #214b72; font-size: 13px; font-weight: 750; }
.scope-opt small { color: #8292a1; font-size: 11px; line-height: 1.5; }


.ne-ops { display: flex; gap: 9px; margin-top: 4px; }
.ne-ops .btn-primary { flex: 1; margin: 0; }
.ne-ops .btn-line { height: 44px; padding: 0 22px; }

/* 领导的台账：全体可见（不设范围） */
.leader-scope {
  display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px;
  border: 1px solid #cfe3f8; border-radius: 13px;
  background: linear-gradient(140deg, #eaf4ff, #f7fbff);
}
.leader-scope > i {
  display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center;
  border-radius: 50%; color: #fff; font-size: 11px; font-weight: 900; font-style: normal;
  background: linear-gradient(150deg, #0b3475, #075bea);
  box-shadow: 0 3px 8px rgb(7 91 234 / 26%);
}
.leader-scope > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.leader-scope b { color: #0b3475; font-size: 13px; font-weight: 800; }
.leader-scope small { color: #5c7fa6; font-size: 11.5px; line-height: 1.55; }

/* ==================== 毕业生就业台账 ==================== */

/* 待审核面板：左侧一道暖色边，与普通面板区分但不刺眼 */
.pending-panel { border-color: #f0dcb0; }
.pending-panel .panel-h { background: linear-gradient(140deg, #fffaf0, #fffdf8); }
.pending-panel .panel-h h2 { color: #8a5a00; }

/* 领用申请行 */
.claim-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid #eef2f6;
}
.claim-row:last-child { border-bottom: 0; }
.claim-row .cr-main { flex: 1 1 auto; min-width: 0; }
.claim-row .cr-main > b { display: block; color: #14335c; font-size: 14px; font-weight: 700; }
.claim-row .cr-main > small { display: block; margin-top: 2px; color: #7b8b9c; font-size: 11.5px; }
.cr-items { margin-top: 5px; color: #5a6e83; font-size: 12.5px; }
.cr-items em {
  font-style: normal; font-weight: 700; color: #0b3475;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.claim-row .cr-op { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.claim-row .cr-op > small { color: #94a3b8; font-size: 11px; }

/* 筛选条 */
.career-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.career-filters input[type="search"] {
  flex: 1 1 200px; max-width: 300px;
  height: 36px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: inherit; font: inherit; font-size: 13px;
}
.career-filters input[type="search"]:focus {
  outline: none; border-color: #a8c8ee; box-shadow: 0 0 0 3px rgb(7 91 234 / 10%);
}
.career-filters .seg { display: flex; flex-wrap: wrap; gap: 6px; }
.career-filters .seg button {
  height: 32px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: #5a6e83; font: inherit; font-size: 12.5px; cursor: pointer;
  transition: all .15s;
}
.career-filters .seg button:hover { border-color: #b8d0ec; color: #0b3475; }
.career-filters .seg button.on {
  border-color: #0b3475; background: #0b3475; color: #fff; font-weight: 600;
}

/* 问卷记录行 */
.survey-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid #eef2f6;
}
.survey-row:last-child { border-bottom: 0; }
.survey-row .sv-month {
  flex: 0 0 62px;
  color: #0b3475; font-size: 12px; font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.survey-row .sv-body { flex: 1; min-width: 0; color: #4a6076; font-size: 12.5px; line-height: 1.7; }

/* 状态/意向小标签在卡片里的排布 */
.pcard .info small .pill { margin-right: 4px; }

/* 编辑弹窗里的两栏排布 */
.note-editor .field select {
  width: 100%; height: 40px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: inherit; font: inherit; font-size: 13.5px;
}
.note-editor .field select:focus {
  outline: none; border-color: #a8c8ee; box-shadow: 0 0 0 3px rgb(7 91 234 / 10%);
}

/* 6 列统计卡在窄屏降级 */
@media (max-width: 1080px) {
  .career-stat-6 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* 分布图下方的人名：让老师一眼看到「这个状态是谁」 */
/* 分布图下方的人名：让老师一眼看到「这个状态是谁」 */
.who-line {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0 5px 82px;            /* 与 bar-row 的 72px 标签列对齐 */
}
.who-line small { color: #8598aa; font-size: 11.5px; }
.who-name {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: #1b5e99; font: inherit; font-size: 12.5px; font-weight: 700;
  border-bottom: 1px dashed #a8c8ee;
}
.who-name:hover { color: #0b3475; border-bottom-color: #0b3475; }
.who-line:hover { background: #f6f9fd; }

/* 演示数据横幅 + 月份切换栏 */
/* 演示数据横幅：一定要显眼，避免把虚构数据当成真实情况 */
.demo-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 15px 18px;
  background: #fff6df; border: 1px solid #f3e2b0; border-left: 4px solid #ef9f27;
  border-radius: 12px;
}
.demo-banner .db-l { flex: 1; min-width: 220px; }
.demo-banner .db-l b { display: block; color: #795918; font-size: 14.5px; font-weight: 800; }
.demo-banner .db-l small {
  display: block; margin-top: 5px; color: #8a6a2f; font-size: 12.5px; line-height: 1.6;
}
.db-btn {
  flex: 0 0 auto; padding: 10px 18px; border: 0; border-radius: 10px;
  background: #ba7517; color: #fff; font: inherit; font-size: 13.5px;
  font-weight: 700; cursor: pointer;
}
.db-btn:hover { background: #a0660f; }
.db-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* 月份切换栏 */
.month-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.month-bar .mb-l { color: #5a6e83; font-size: 12.5px; font-weight: 600; }
.month-bar .mb-sel {
  height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: inherit; font: inherit; font-size: 13.5px; cursor: pointer;
}
.month-bar .mb-sel:focus {
  outline: none; border-color: #a8c8ee; box-shadow: 0 0 0 3px rgb(7 91 234 / 10%);
}
.month-bar .mb-r { margin-left: auto; color: #8598aa; font-size: 12px; }

/* 图表组件：环形图 + 柱状图 + 人名块 */
/* ===== 图表：环形占比 + 横向柱状 ===== */
.chart-2col {
  display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 26px; align-items: start;
}
@media (max-width: 900px) { .chart-2col { grid-template-columns: 1fr; } }

.chart-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px 14px;
}
.ch-t {
  margin-bottom: 14px; color: #14335c; font-size: 13.5px; font-weight: 800;
}

/* 环形图 + 图例 */
.ch-donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ch-donut { flex: 0 0 auto; width: 168px; height: 168px; }
.ch-legend { flex: 1; min-width: 150px; display: grid; gap: 3px; }
.lg-row {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto;
  gap: 8px; align-items: center; padding: 5px 7px; border-radius: 7px; cursor: pointer;
}
.lg-row:hover { background: #f4f8fd; }
.lg-row > i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.lg-n { font-size: 12.5px; color: #33455c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-v { font-size: 12px; color: #5f6f85; font-variant-numeric: tabular-nums; }
.lg-p {
  font-size: 12px; font-weight: 500; color: #0c447c; min-width: 34px; text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 横向柱状图 */
.ch-bars { display: grid; gap: 7px; }
.ch-bar-row {
  display: grid; grid-template-columns: minmax(96px, 132px) minmax(0, 1fr) 58px;
  gap: 11px; align-items: center; padding: 4px 6px; border-radius: 8px; cursor: pointer;
}
.ch-bar-row:hover { background: #f4f8fd; }
.chb-l {
  font-size: 12.5px; color: #55637a; text-align: right; line-height: 1.35;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.chb-t { height: 10px; background: #eef2f7; border-radius: 99px; overflow: hidden; }
.chb-t > i { display: block; height: 100%; border-radius: 99px; transition: width .25s; }
.chb-v {
  font-size: 13px; font-weight: 500; color: #214b72; text-align: left;
  font-variant-numeric: tabular-nums;
}
.chb-v small { font-size: 11px; font-weight: 400; color: #8598aa; margin-left: 2px; }

/* 图表下方的人名块 */
.ch-names {
  display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 11px; padding: 8px 6px 8px 6px; border-top: 1px solid #f2f5f9;
}
.ch-names:first-of-type { margin-top: 14px; }
.ch-names-l {
  font-size: 12px; color: #8598aa; text-align: right; line-height: 1.6;
}
.ch-names-b { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.nm-cnt {
  font-size: 11.5px; color: #5f6f85; font-weight: 500; margin-right: 3px;
}
.nm-chip {
  padding: 3px 9px; border: 1px solid #d6e5f5; border-radius: 999px;
  background: #f7fbff; color: #1b5e99; font: inherit; font-size: 12px;
  cursor: pointer; white-space: nowrap;
}
.nm-chip:hover { background: #e5f2ff; border-color: #a8c8ee; }
.nm-chip.demo { border-style: dashed; color: #8a6a2f; background: #fffbf2; }
.nm-chip.demo:hover { background: #fff6df; }
.nm-more {
  padding: 3px 9px; border: 0; border-radius: 999px; background: #eef2f7;
  color: #5f6f85; font: inherit; font-size: 11.5px; cursor: pointer;
}
.nm-more:hover { background: #e3ebf4; }

/* 就业进度图 */
/* ===== 就业进度 ===== */
.pg-top {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px;
}
@media (max-width: 760px) { .pg-top { grid-template-columns: 1fr; } }
.pg-kpi {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff;
}
.pg-kpi small { display: block; color: #5f6f85; font-size: 12px; }
.pg-kpi b {
  display: block; margin: 5px 0 3px; color: #0c447c;
  font-size: 30px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.pg-kpi i { font-style: normal; color: #8598aa; font-size: 11.5px; }

.pg-bar {
  display: flex; height: 16px; border-radius: 99px; overflow: hidden;
  background: #eef2f7; margin-bottom: 16px;
}
.pg-seg { display: block; height: 100%; }
.pg-seg.green { background: #1D9E75; }
.pg-seg.purple { background: #534AB7; }
.pg-seg.amber { background: #BA7517; }
.pg-seg.blue  { background: #185FA5; }
.pg-seg.grey  { background: #888780; }
.pg-seg.red   { background: #A32D2D; }

.pg-list { display: grid; gap: 2px; }
.pg-row {
  display: grid; grid-template-columns: 12px minmax(0, 1fr) 62px 52px 56px;
  gap: 10px; align-items: center; padding: 9px 10px;
  border-radius: 9px; cursor: pointer;
}
.pg-row:hover { background: #f4f8fd; }
.pg-row.open { background: #eef4fc; }
.pg-dot { width: 10px; height: 10px; border-radius: 3px; display: block; }
.pg-dot.green { background: #1D9E75; }
.pg-dot.purple { background: #534AB7; }
.pg-dot.amber { background: #BA7517; }
.pg-dot.blue  { background: #185FA5; }
.pg-dot.grey  { background: #888780; }
.pg-dot.red   { background: #A32D2D; }
.pg-l { font-size: 13.5px; color: #33455c; }
.pg-n { font-size: 14px; font-weight: 500; color: #214b72; text-align: right;
  font-variant-numeric: tabular-nums; }
.pg-n small { font-size: 11px; font-weight: 400; color: #8598aa; margin-left: 2px; }
.pg-p { font-size: 12.5px; color: #5f6f85; text-align: right; font-variant-numeric: tabular-nums; }
.pg-c { font-size: 12px; color: #1b5e99; text-align: right; }
.pg-people {
  display: flex; flex-wrap: wrap; gap: 5px; align-items: center;
  padding: 4px 10px 14px 32px;
}
.pg-none { font-size: 12px; color: #9aa8b6; }
.pg-note {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #f2f5f9;
  color: #8598aa; font-size: 11.5px; line-height: 1.7;
}

/* 需求与困难合并面板 */
/* ===== 需求与困难（合并两列面板）===== */
.nd-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
@media (max-width: 860px) { .nd-2col { grid-template-columns: 1fr; } }
.nd-col { min-width: 0; }
.nd-h {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; color: #14335c; font-size: 13px; font-weight: 800;
}
.nd-dot { width: 10px; height: 10px; border-radius: 3px; display: block; }
.nd-dot.green { background: #1D9E75; }
.nd-dot.amber { background: #BA7517; }
.nd-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 92px 52px;
  gap: 10px; align-items: center; padding: 6px 4px; border-radius: 7px;
}
.nd-row:hover { background: #f6f9fd; }
.nd-n {
  font-size: 12.5px; color: #33455c; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nd-t { height: 8px; background: #eef2f7; border-radius: 99px; overflow: hidden; }
.nd-t > i { display: block; height: 100%; border-radius: 99px; }
.nd-t > i.green { background: #1D9E75; }
.nd-t > i.amber { background: #BA7517; }
.nd-v {
  font-size: 12.5px; font-weight: 500; color: #214b72; text-align: right;
  font-variant-numeric: tabular-nums;
}
.nd-v small { font-size: 10.5px; font-weight: 400; color: #8598aa; margin-left: 1px; }
.nd-more { margin-top: 6px; }
.nd-more summary {
  cursor: pointer; color: #5f6f85; font-size: 12px; padding: 5px 4px;
  border-radius: 7px; user-select: none;
}
.nd-more summary:hover { background: #f6f9fd; color: #1b5e99; }
.nd-more[open] summary { color: #8598aa; }

/* 名单弹窗班级分组 */
/* 名单弹窗：未填写按班级分组 */
.cls-block {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; background: #fdfefe;
}
.cls-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.cls-head b { color: #14335c; font-size: 14px; }
.cls-head small { color: #ba7517; font-weight: 700; }
.cls-head .btn-line { margin-left: auto; }
.cls-names { display: flex; flex-wrap: wrap; gap: 5px; }

/* 状态分组展开样式 */
/* 状态分组展开：每人一行 + 各自困难 */
.prob-list { display: grid; gap: 3px; flex: 1; min-width: 0; }
.prob-row {
  display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
  gap: 9px; align-items: start; padding: 3px 0;
}
.prob-row .nm-chip { justify-self: start; }
.prob-txt {
  font-size: 12px; color: #6a7a8d; line-height: 1.6; padding-top: 3px;
  overflow-wrap: anywhere;
}
.prob-txt i { color: #b6c1cc; font-style: normal; }

/* ===================================================================
   就业台账页：整体紧凑化（一屏看更多、少留白）
   只作用于 #view-career / #career-body，其他页面完全不受影响
   =================================================================== */
#view-career .page-head { padding: 10px 0 8px; align-items: center; }
#view-career .page-head h1 { font-size: 22px; }
#view-career .page-head .eyebrow { margin-bottom: 3px; }
#view-career .back-btn { height: 30px; }

/* --- 卡片：圆角收小、内边距收窄 --- */
#career-body .panel { border-radius: 14px; box-shadow: 0 4px 14px rgb(28 67 110 / 4%); }
#career-body .panel + .panel { margin-top: 9px; }
#career-body .panel-h { min-height: 40px; padding: 8px 14px; }
#career-body .panel-h h2 { font-size: 14px; }
#career-body .panel-b { padding: 11px 14px; }

/* --- 顶部月份栏 / 演示横幅 --- */
#career-body .month-bar { padding: 8px 13px; margin: 0 0 9px; gap: 9px; }
#career-body .month-bar .mb-sel { height: 32px; }
#career-body .demo-banner { padding: 10px 14px; margin: 0 0 9px; }
#career-body .btn-line { height: 30px; padding: 0 11px; }

/* --- 小节标题 / 统计卡 --- */
#career-body .sec-title { margin: 9px 0 6px; }
#career-body .stat-row { gap: 8px; margin-bottom: 10px; }
#career-body .stat { padding: 9px 12px; border-radius: 13px; }
#career-body .stat small { margin-bottom: 3px; }
#career-body .stat b { font-size: 21px; }

/* --- 就业进度 --- */
#career-body .pg-top { gap: 9px; margin-bottom: 10px; }
#career-body .pg-kpi { padding: 9px 12px; }
#career-body .pg-kpi b { font-size: 23px; margin: 3px 0 2px; }
#career-body .pg-bar { height: 13px; margin-bottom: 9px; }
#career-body .pg-list { gap: 0; }
#career-body .pg-row { padding: 6px 9px; gap: 8px; }
#career-body .pg-people { padding: 2px 9px 9px 30px; }
#career-body .pg-note { margin: 9px 0 0; padding-top: 8px; }

/* --- 意向 / 状态图表 --- */
#career-body .chart-2col { gap: 16px; }
#career-body .chart-card { padding: 11px 13px 9px; border-radius: 11px; }
#career-body .ch-t { margin-bottom: 9px; font-size: 13px; }
#career-body .ch-donut-wrap { gap: 12px; }
#career-body .ch-donut { width: 146px; height: 146px; }
#career-body .lg-row { padding: 3px 6px; }
#career-body .ch-bars { gap: 5px; }
#career-body .ch-bar-row { padding: 3px 5px; }
#career-body .ch-names { padding: 6px 4px; }
#career-body .prob-row { padding: 2px 0; }

/* --- 需求与困难 --- */
#career-body .nd-2col { gap: 20px; }
#career-body .nd-h { margin-bottom: 8px; }
#career-body .nd-row { padding: 4px 4px; }

/* --- 进度条列表 / 名单 --- */
#career-body .bar-list { gap: 7px; }
#career-body .toolbar { margin-bottom: 10px; }
#career-body .empty { padding: 22px 16px; }

/* 「延毕」标记：延期毕业、随本届一起统计的同学 */
.pill.defer { color: #4b3f86; background: #efeaff; }
