/* ===== 基础变量 ===== */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --primary-tint: #f5f6ff;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1e293b;
  --text-2: #475569;
  --muted: #94a3b8;
  --border: #e6eaf2;
  --border-strong: #d6dce8;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --red: #dc2626;
  --red-soft: #fee2e2;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --purple: #7c3aed;
  --purple-soft: #ede9fe;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .16);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== 布局 ===== */
.app-shell { display: flex; height: 100vh; overflow: hidden; }
.sidebar {
  width: 244px; flex: none; background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 22px 14px 16px; z-index: 20;
  transition: transform .25s ease;
}
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 66px; flex: none; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; padding: 0 28px; z-index: 10;
}
.content { flex: 1; overflow-y: auto; padding: 26px 28px 40px; scroll-behavior: smooth; }
.content::-webkit-scrollbar { width: 9px; }
.content::-webkit-scrollbar-thumb { background: #d9dfe9; border-radius: 9px; border: 2px solid transparent; background-clip: padding-box; }
.content::-webkit-scrollbar-thumb:hover { background: #c3cbd9; background-clip: padding-box; }

/* ===== 品牌与导航 ===== */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 2px 10px 24px; }
/* ===== 公司 Logo：透明底 PNG 以内联 base64 载入，网站版与单文件离线版均可用 ===== */
.company-logo {
  display: inline-block; flex: none; vertical-align: middle;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT8AAABTCAYAAADp5wA+AAAekklEQVR42u1dWXMc13k9PTMYDFZiJRZSXERRIqmNNLXYkW3ZTmK7slUqD3nLf0re8iPykFSqYpfjyE4kR4psSRbFnQJIAsRCAAQwGGyzdh6+cwtXre6eXmch7q3qGhIY9O2+y7nn24H2NQvHq1kd8gzHbdzNejTNNLMZDWCYZppppplm2rE+UK2E7mGbOTOtwzeUWaOtH/NeAD0+36kDqACoteMBc2aOnqsNaDa5ezNj0vqWATAGYNJnXe4BWAWw263gZxZWtHFKA6jsAPc3ANm6sTiOY20R+HoBnAbwss93nxL49jlOtmF+ho2keX8DfO2fg+dZ3M8AGAAwDuA9AD/3+e4NAOsA1jqF+WX581zEQbYoy1c9ZPkc9QCZgBNjuSykGq+GzwSEfQe3pt7BdrynGqNshAVo8bkbvH/D5fu5JrqSIP3p42+7zG82oTXkHCOnW02GfWVcft9w6J2tFgFejc+d43NlHOOUFGjYmm6rwXHItnB/qz1itxBcMwAKAEYAvAHgpz5/XwDwi3YBtRs4TAC4BOCFEBPsXLRbAO4CmHP5/jkAl2NsbgB4DOBrAEUPgOwDcBHASzH6qLCP2y6LeZr3nowwNqqt8/5Ljp/nee+LMcfoAa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NAEbpaC1Yuo/6z4+VqUYwFpzKPHtAJtCAf+uz/xmWpAqqxHy3e02rJWGIxC/4fhM2gB5wP2b4fzYJjDBNNNMM80000wzzTTTTDPNNNO6uv0/K0KS5Mmsyv0AAAAASUVORK5CYII=");
  background-repeat: no-repeat; background-position: center center; background-size: contain;
}
.brand-logo { width: 158px; height: 41px; }
.topbar-logo { width: 88px; height: 23px; }
.survey-logo { width: 102px; height: 27px; }
.login-logo { width: 134px; height: 35px; }
.org-logo { width: 78px; height: 21px; }
.brand-sep { width: 1px; height: 20px; background: var(--border); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 15px; letter-spacing: .3px; }
.brand-text span { font-size: 10px; color: var(--muted); letter-spacing: .5px; }
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-caption { font-size: 11px; color: var(--muted); padding: 8px 12px 6px; letter-spacing: 1px; font-weight: 600; }
.nav-caption-2 { margin-top: 14px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%; height: 41px; padding: 0 12px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2);
  font-weight: 500; text-align: left; transition: background .16s, color .16s;
}
.nav-item svg { width: 18px; height: 18px; color: var(--muted); }
.nav-item span { flex: 1; }
.nav-item em { font-style: normal; font-size: 11px; color: var(--muted); background: #f1f4f9; padding: 1px 7px; border-radius: 20px; }
.nav-item:hover { background: #f5f7fb; color: var(--text); }
.nav-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 650; }
.nav-item.active svg { color: var(--primary); }
.nav-item.active em { background: #fff; color: var(--primary); }
.sidebar-foot { margin-top: auto; }
.foot-tip {
  display: flex; gap: 10px; padding: 12px; background: var(--primary-tint); border: 1px solid #e6e8ff;
  border-radius: var(--r); margin-bottom: 12px;
}
.foot-tip-icon { width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--primary); display: grid; place-items: center; flex: none; }
.foot-tip-icon svg { width: 16px; height: 16px; }
.foot-tip strong { font-size: 12px; }
.foot-tip p { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.foot-version { text-align: center; font-size: 10px; color: var(--muted); }

/* ===== 顶栏 ===== */
.menu-btn { display: none; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.quick-search { display: flex; align-items: center; gap: 8px; height: 36px; width: 240px; padding: 0 12px; background: #f5f7fb; border: 1px solid transparent; border-radius: 9px; color: var(--muted); transition: .2s; }
.quick-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.quick-search svg { width: 16px; height: 16px; }
.quick-search input { border: 0; outline: 0; background: transparent; width: 100%; color: var(--text); font-size: 13px; }
.quick-search input::placeholder { color: var(--muted); }
/* 检索框用 type=search 明确告知浏览器这是搜索、不是账号；去掉浏览器原生装饰 */
input[type="search"] { -webkit-appearance: none; appearance: none; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; appearance: none; }
.user-chip { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e0e7ff; color: var(--primary); font-size: 11px; font-weight: 700; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.viewer-switch { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 8px 0 11px; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; color: var(--primary); }
.viewer-switch svg { width: 15px; height: 15px; }
.viewer-switch select { border: 0; outline: 0; background: transparent; color: var(--text); font-size: 12px; font-weight: 600; max-width: 168px; cursor: pointer; }
.locked-cell { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11px; background: #f1f5f9; padding: 3px 8px; border-radius: 6px; }
.locked-cell svg { width: 12px; height: 12px; }
.perm-note { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fffbeb; border: 1px solid #fde68a; border-radius: 9px; font-size: 12px; color: #92400e; margin-bottom: 16px; }
.perm-note svg { width: 15px; height: 15px; }

/* ===== 通用组件 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; color: var(--text-2);
  font-weight: 550; white-space: nowrap; transition: .16s;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 3px 8px rgba(79, 70, 229, .2); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: #f1f5f9; }
.btn-danger { color: var(--red); border-color: #fecaca; background: #fff; }
.btn-danger:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); }
.icon-btn:hover { background: #f1f5f9; color: var(--text); }
.icon-btn.on { background: var(--purple-soft); color: var(--purple); }
.icon-btn svg { width: 17px; height: 17px; }
.role-badge { display: inline-flex; align-items: center; padding: 1px 6px; margin-left: 4px; border-radius: 4px; background: var(--purple-soft); color: var(--purple); font-size: 10px; font-weight: 600; white-space: nowrap; vertical-align: 1px; }
.role-badge.warn { background: var(--amber-soft); color: var(--amber); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 15px; font-weight: 650; }
.panel-head p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.panel-head .head-actions { margin-left: auto; display: flex; gap: 8px; }
.panel-body { padding: 20px; }
.section-title { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.section-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

.page-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 20px; }
.page-head h1 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }
.page-head p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.page-head .head-actions { margin-left: auto; display: flex; gap: 8px; }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 23px; padding: 0 9px; border-radius: 20px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--green-soft); color: #15803d; }
.badge-amber { background: var(--amber-soft); color: #b45309; }
.badge-red { background: var(--red-soft); color: #b91c1c; }
.badge-blue { background: var(--blue-soft); color: #1d4ed8; }
.badge-purple { background: var(--purple-soft); color: #6d28d9; }
.badge-gray { background: #f1f5f9; color: #64748b; }
.tag-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 550; background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.tag-chip.gray { background: #f1f5f9; color: var(--text-2); }
.tag-chip .chip-edit { display: inline-grid; place-items: center; width: 16px; height: 16px; margin: 0 -3px 0 4px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; opacity: .65; cursor: pointer; }
.tag-chip .chip-edit:hover { background: rgba(15, 23, 42, .1); opacity: 1; }
.tag-chip .chip-edit svg { width: 11px; height: 11px; }

.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 650; color: #fff; flex: none; }
.avatar-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 20px; }
.person-cell { display: flex; align-items: center; gap: 10px; }
.person-cell strong { display: block; font-size: 13px; font-weight: 600; }
.person-cell small { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ===== 概览 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat-card { padding: 18px 20px; position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; right: -18px; top: -18px; width: 74px; height: 74px; border-radius: 50%; background: var(--primary-soft); opacity: .6; }
.stat-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 550; }
.stat-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.stat-icon svg { width: 17px; height: 17px; }
.stat-num { font-size: 28px; font-weight: 750; letter-spacing: -.6px; margin-top: 12px; position: relative; z-index: 1; }
.stat-num small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.stat-foot { font-size: 11px; color: var(--muted); margin-top: 5px; position: relative; z-index: 1; }
.stat-foot b { color: var(--green); font-weight: 650; }
.stat-icon.green { background: var(--green-soft); color: var(--green); }
.stat-icon.amber { background: var(--amber-soft); color: var(--amber); }
.stat-icon.purple { background: var(--purple-soft); color: var(--purple); }
.dash-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 88px 1fr 30px; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row .bar-label { color: var(--text-2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 9px; background: #f1f5f9; border-radius: 9px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 9px; background: linear-gradient(90deg, #818cf8, #4f46e5); transition: width .5s ease; }
.bar-row .bar-num { color: var(--muted); font-size: 11px; text-align: right; }
.dist-list { display: flex; flex-direction: column; gap: 13px; }
.dist-item { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.dist-item .dist-name { width: 46px; color: var(--text-2); }
.dist-item .bar-track { flex: 1; }
.dist-item .dist-num { width: 26px; text-align: right; color: var(--muted); }
.recent-list { display: flex; flex-direction: column; }
.recent-item { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.recent-item:last-child { border-bottom: 0; }
.recent-item .info { flex: 1; min-width: 0; }
.recent-item .info strong { font-size: 13px; }
.recent-item .info small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ===== 表格与工具栏 ===== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.toolbar .table-search { display: flex; align-items: center; gap: 8px; height: 34px; min-width: 190px; padding: 0 11px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.toolbar .table-search:focus-within { background: #fff; border-color: var(--primary); }
.toolbar .table-search svg { width: 15px; height: 15px; }
.toolbar .table-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 12px; color: var(--text); }
select.filter-select { height: 34px; padding: 0 26px 0 11px; border: 1px solid var(--border); border-radius: 8px; background-color: #fff; color: var(--text-2); font-size: 12px; outline: 0; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
select.filter-select:focus { border-color: var(--primary); }
.toolbar-spacer { flex: 1; }
.result-count { font-size: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
/* 成员管理列数较多（含性别 / 学历），适度收紧单元格内边距，避免整表横向溢出 */
#memberTableArea th, #memberTableArea td { padding: 12px 9px; }
#memberTableArea th:first-child, #memberTableArea td:first-child { padding-left: 16px; }
#memberTableArea th:last-child, #memberTableArea td:last-child { padding-right: 16px; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 11px; font-weight: 650; color: var(--muted); background: #fafbfd; padding: 12px 16px; white-space: nowrap; border-bottom: 1px solid var(--border); letter-spacing: .2px; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--primary); }
td { padding: 12px 16px; font-size: 12px; border-bottom: 1px solid #f1f4f8; vertical-align: middle; white-space: nowrap; }
tbody tr { transition: background .14s; }
tbody tr:hover { background: #fafbff; }
tbody tr:last-child td { border-bottom: 0; }
td .muted { color: var(--muted); }
.row-actions { display: flex; gap: 2px; }
.row-actions .icon-btn { width: 28px; height: 28px; }
.row-actions .icon-btn svg { width: 15px; height: 15px; }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); }
.empty svg { width: 38px; height: 38px; color: #cbd5e1; margin-bottom: 12px; }
.empty strong { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.empty p { font-size: 12px; }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 14px 20px; border-top: 1px solid var(--border); }
.pagination span { font-size: 12px; color: var(--muted); margin-right: 6px; }
.page-btn { min-width: 30px; height: 30px; padding: 0 8px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text-2); font-size: 12px; }
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ===== 组织架构 ===== */
.org-layout { display: grid; grid-template-columns: 320px 1fr; gap: 18px; align-items: start; }
.org-tree { padding: 12px; }
.tree-node { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: .14s; }
.tree-node:hover { background: #f5f7fb; }
.tree-node.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.tree-toggle { width: 16px; height: 16px; display: grid; place-items: center; color: var(--muted); flex: none; }
.tree-toggle svg { width: 12px; height: 12px; transition: transform .18s; }
.tree-toggle.open svg { transform: rotate(90deg); }
.tree-toggle.leaf { visibility: hidden; }
.tree-node .d-icon { width: 24px; height: 24px; border-radius: 7px; background: #eef2ff; color: var(--primary); display: grid; place-items: center; flex: none; }
.tree-node .d-icon svg { width: 14px; height: 14px; }
.tree-node .d-name { flex: 1; }
.tree-node .d-count { font-size: 11px; color: var(--muted); background: #f1f5f9; padding: 1px 7px; border-radius: 20px; }
.tree-children { margin-left: 18px; padding-left: 10px; border-left: 1px dashed var(--border-strong); }
.dept-hero { padding: 22px; display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.dept-hero .dh-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.dept-hero .dh-icon svg { width: 25px; height: 25px; }
.dept-hero h2 { font-size: 18px; }
.dept-hero p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dept-metrics { display: flex; gap: 26px; margin-left: auto; }
.dept-metrics div { text-align: center; }
.dept-metrics b { display: block; font-size: 20px; }
.dept-metrics span { font-size: 11px; color: var(--muted); }
.mini-member { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.mini-member:last-child { border-bottom: 0; }
.mini-member .info { flex: 1; }
.mini-member .info strong { font-size: 13px; }
.mini-member .info small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ===== 人才画像 ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud-item { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; border: 1px solid transparent; transition: .16s; }
.tag-cloud-item:hover, .tag-cloud-item.active { background: #fff; border-color: var(--primary); }
.tag-cloud-item span { font-size: 11px; opacity: .75; }
.tag-cloud-item .add { color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.profile-card { padding: 17px; transition: .18s; cursor: pointer; }
.profile-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d8ddf0; }
.profile-card .pc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.profile-card .pc-top h4 { font-size: 14px; }
.profile-card .pc-top small { font-size: 11px; color: var(--muted); }
.profile-card .pc-line { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 5px; }
.profile-card .pc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.profile-card .pc-review { margin-top: 10px; padding: 9px 10px; background: var(--primary-tint); border-left: 2px solid var(--primary); border-radius: 6px; }
.profile-card .pc-review > span { display: block; font-size: 10px; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.profile-card .pc-review-scores { display: flex; gap: 12px; }
.profile-card .pc-review-scores div { flex: 1; }
.profile-card .pc-review-scores b { display: block; font-size: 15px; line-height: 1.2; color: var(--text); }
.profile-card .pc-review-scores span:not(.badge) { font-size: 10px; color: var(--muted); }
.profile-card .pc-review-scores .badge { height: 18px; padding: 0 7px; font-size: 10px; vertical-align: 1px; }
.profile-card .pc-review p { margin: 7px 0 0; font-size: 10px; line-height: 1.6; color: var(--text-2); }
.profile-card .pc-dev { margin-top: 10px; padding: 8px 10px; background: #f8fafc; border-left: 2px solid #a855f7; border-radius: 6px; }
.profile-card .pc-dev span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.profile-card .pc-dev p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--text-2); }
.profile-card .pc-score { display: flex; gap: 14px; padding-top: 12px; border-top: 1px dashed var(--border); margin-top: 12px; }
.profile-card .pc-score div { flex: 1; text-align: center; }
.profile-card .pc-score b { display: block; font-size: 15px; }
.profile-card .pc-score span { font-size: 10px; color: var(--muted); }

/* ===== 九宫格 ===== */
.nine-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 18px; align-items: start; }
.nine-card { padding: 20px; }
.nine-axis-y { writing-mode: vertical-rl; display: grid; place-items: center; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 2px; }
.nine-main { display: flex; gap: 10px; }
.nine-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, minmax(122px, 1fr)); gap: 7px; }
.nine-cell { border-radius: 10px; padding: 10px; border: 1px solid var(--border); background: #fafbfd; min-height: 122px; transition: .16s; }
.nine-cell:hover { border-color: var(--primary); }
.nine-cell .nc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nine-cell .nc-name { font-size: 11px; font-weight: 700; }
.nine-cell .nc-count { font-size: 10px; color: var(--muted); }
.nine-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.nine-chip { font-size: 10px; padding: 2px 6px; border-radius: 5px; background: #fff; border: 1px solid var(--border); color: var(--text-2); cursor: pointer; }
.nine-chip:hover { border-color: var(--primary); color: var(--primary); }
.nc-star { background: #f0fdf4; border-color: #bbf7d0; }
.nc-star .nc-name { color: #15803d; }
.nc-potential { background: #f5f3ff; border-color: #ddd6fe; }
.nc-potential .nc-name { color: #6d28d9; }
.nc-stable { background: #eff6ff; border-color: #bfdbfe; }
.nc-stable .nc-name { color: #1d4ed8; }
.nc-warn { background: #fff7ed; border-color: #fed7aa; }
.nc-warn .nc-name { color: #c2410c; }
.nc-risk { background: #fef2f2; border-color: #fecaca; }
.nc-risk .nc-name { color: #b91c1c; }
.nc-yellow { background: #fefce8; border-color: #fde68a; }
.nc-yellow .nc-name { color: #a16207; }
.nine-x { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 8px 0 0 32px; }
.nine-x span { text-align: center; font-size: 11px; color: var(--muted); }
.nine-legend { padding: 18px; }
.legend-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.legend-item:last-child { border-bottom: 0; }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; margin-top: 4px; flex: none; }
.legend-item strong { display: block; font-size: 12px; }
.legend-item p { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ===== 表单 / 弹窗 / 抽屉 ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-item { display: flex; flex-direction: column; gap: 6px; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.form-item label i { color: var(--red); font-style: normal; }
.input, .select-input, .textarea {
  width: 100%; height: 36px; padding: 0 11px; border: 1px solid var(--border-strong); border-radius: 8px;
  outline: 0; background: #fff; color: var(--text); font-size: 13px; transition: .16s;
}
.textarea { height: auto; min-height: 70px; padding: 9px 11px; resize: vertical; line-height: 1.5; }
.input:focus, .select-input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.select-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
.check-group { display: flex; flex-wrap: wrap; gap: 7px; }
.check-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--border-strong); background: #fff; font-size: 12px; color: var(--text-2); cursor: pointer; user-select: none; transition: .14s; }
.check-chip:hover { border-color: var(--primary); }
.check-chip.on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.modal-mask, .drawer-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, .38); backdrop-filter: blur(2px); z-index: 100; display: flex; animation: fadeIn .18s ease; }
.modal-mask { align-items: center; justify-content: center; padding: 20px; }
.modal { width: min(660px, 100%); max-height: 90vh; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); animation: slideUp .22s ease; overflow: hidden; }
.modal-head, .drawer-head { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3, .drawer-head h3 { font-size: 16px; font-weight: 650; flex: 1; }
.modal-body, .drawer-body { padding: 22px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 22px; border-top: 1px solid var(--border); background: #fafbfd; }
.drawer-mask { justify-content: flex-end; }
.drawer { width: min(440px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(15, 23, 42, .12); animation: slideLeft .24s ease; }
.detail-hero { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.detail-hero h3 { font-size: 18px; }
.detail-hero p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.detail-item span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.detail-item strong { font-size: 13px; font-weight: 550; }
.detail-sec { margin-bottom: 20px; }
.detail-sec h4 { font-size: 12px; color: var(--muted); font-weight: 650; margin-bottom: 10px; letter-spacing: .3px; }
.detail-sec .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-note { background: #f8fafc; border-radius: 9px; padding: 12px; font-size: 12px; color: var(--text-2); line-height: 1.6; }
.detail-actions { display: flex; gap: 8px; margin-top: 16px; }
.confirm-text { font-size: 13px; line-height: 1.7; color: var(--text-2); }
.confirm-text b { color: var(--text); }

/* ===== 提示 ===== */
.toast-wrap { position: fixed; top: 78px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 9px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 210px; padding: 11px 15px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; color: var(--text-2); animation: toastIn .24s ease; }
.toast.error { border-left-color: var(--red); }
.toast svg { width: 16px; height: 16px; color: var(--green); }
.toast.error svg { color: var(--red); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slideLeft { from { transform: translateX(24px); opacity: .5; } to { transform: none; opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .nine-wrap { grid-template-columns: 1fr; }
  .quick-search { width: 180px; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .menu-btn { display: grid; }
  .content { padding: 20px 16px 40px; }
  .topbar { padding: 0 16px; }
  .topbar-logo { width: 70px; height: 19px; }
  .quick-search { display: none; }
  .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .org-layout { grid-template-columns: 1fr; }
}

/* ===== 人才盘点 ===== */
.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.camp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 18px; transition: box-shadow .2s, border-color .2s; }
.camp-card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.camp-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.camp-card-head h3 { margin: 0 0 4px; font-size: 16px; }
.camp-card-head p { margin: 0; font-size: 11px; color: var(--muted); }
.camp-status { font-size: 11px; padding: 3px 9px; border-radius: 20px; white-space: nowrap; font-weight: 600; }
.camp-status.draft { background: var(--border); color: var(--text-2); }
.camp-status.active { background: var(--green-soft); color: var(--green); }
.camp-status.closed { background: var(--red-soft); color: var(--red); }
.camp-weights { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.camp-weights span { font-size: 11px; background: var(--primary-tint); color: var(--primary); padding: 4px 9px; border-radius: 6px; }
.camp-stats { display: flex; gap: 18px; padding: 12px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.camp-stats div { flex: 1; text-align: center; }
.camp-stats b { display: block; font-size: 17px; }
.camp-stats span { font-size: 10px; color: var(--muted); }
.camp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.link-box { display: flex; gap: 8px; align-items: center; background: var(--primary-tint); border: 1px dashed #c7d2fe; border-radius: 8px; padding: 10px; margin-bottom: 14px; }
.link-box input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 11px; color: var(--primary); outline: 0; }
.weight-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.weight-row label { width: 170px; font-size: 13px; color: var(--text-2); }
.weight-row input { width: 80px; }
.weight-row span { font-size: 12px; color: var(--muted); }
.weight-total { font-size: 12px; margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: var(--green-soft); color: var(--green); }
.weight-total.bad { background: var(--red-soft); color: var(--red); }
.q-list { max-height: 320px; overflow: auto; border: 1px solid var(--border); border-radius: 8px; padding: 8px; }
.q-mini { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-bottom: 1px solid var(--border); font-size: 12px; }
.q-mini:last-child { border-bottom: 0; }
.q-mini input { width: auto; }
.q-mini .q-code { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: var(--purple-soft); color: var(--purple); }
.q-mini .q-code.perf { background: var(--blue-soft); color: var(--blue); }
.q-mini .q-name { font-weight: 600; }
.q-mini .q-tag { font-size: 10px; color: var(--muted); margin-left: auto; }

/* 答题页 */
.survey-shell { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column; }
.survey-topbar { height: 60px; flex: none; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.survey-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.survey-brand .brand-sep { height: 18px; }
.survey-brand svg { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 1.8; }
.survey-user { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.survey-user b { color: var(--text); font-size: 13px; }
.survey-user-meta { color: var(--muted); }
.survey-body { flex: 1; overflow: auto; padding: 26px 30px 50px; }
.survey-wrap { max-width: 1080px; margin: 0 auto; }
.survey-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 18px; }
.survey-card h2 { margin: 0 0 6px; font-size: 18px; }
.survey-card h3 { margin: 0 0 10px; font-size: 15px; }
.survey-lead { margin: 0 0 18px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.q-def { background: var(--primary-tint); border-left: 3px solid var(--primary); border-radius: 6px; padding: 10px 13px; font-size: 12px; line-height: 1.7; color: var(--text-2); margin-bottom: 14px; }
.q-scope { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 9px 12px; font-size: 11px; line-height: 1.7; color: #92400e; margin-bottom: 14px; }
.q-scope-tag { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 600; }
.q-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.q-scale-cell { border: 1px solid var(--border); border-radius: 8px; padding: 10px; font-size: 11px; line-height: 1.6; color: var(--text-2); background: #fcfdff; }
.q-scale-cell b { display: block; font-size: 12px; color: var(--primary); margin-bottom: 4px; }
.q-scale-cell:nth-child(1) b { color: var(--red); }
.q-scale-cell:nth-child(2) b { color: var(--amber); }
.q-scale-cell:nth-child(5) b { color: var(--green); }
.score-table { width: 100%; border-collapse: collapse; }
.score-table th, .score-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); text-align: center; font-size: 12px; }
.score-table th { color: var(--muted); font-weight: 600; font-size: 11px; background: #fafbfe; }
.score-table th:first-child, .score-table td:first-child { text-align: left; }
.score-person { display: flex; align-items: center; gap: 8px; }
.score-person .avatar { width: 26px; height: 26px; font-size: 10px; }
.score-person small { color: var(--muted); font-size: 10px; }
.score-btns { display: inline-flex; gap: 4px; }
.score-btn { width: 32px; height: 30px; border: 1px solid var(--border-strong); background: #fff; border-radius: 6px; color: var(--text-2); font-size: 12px; transition: all .15s; }
.score-btn:hover { border-color: var(--primary); color: var(--primary); }
.score-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.survey-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.survey-progress { display: flex; gap: 5px; flex-wrap: wrap; }
.survey-progress span { width: 26px; height: 5px; border-radius: 3px; background: var(--border); }
.survey-progress span.done { background: var(--green); }
.survey-progress span.current { background: var(--primary); }
.target-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.target-item { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 8px; padding: 9px; cursor: pointer; }
.target-item.on { border-color: var(--primary); background: var(--primary-tint); }
.target-item input { width: auto; }
.target-item .info { flex: 1; min-width: 0; }
.target-item .info strong { display: block; font-size: 12px; }
.target-item .info small { font-size: 10px; color: var(--muted); }
.target-item select { width: 100%; margin-top: 6px; font-size: 11px; padding: 4px 6px; }
.note-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.note-item { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.note-item h4 { margin: 0 0 8px; font-size: 13px; }
.note-item textarea { width: 100%; min-height: 60px; margin-bottom: 8px; }
.note-label { font-size: 11px; font-weight: 600; color: var(--text-2); margin: 8px 0 5px; }
.note-label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 10px; margin-left: 4px; }
.note-line { width: 100%; height: 32px; margin-bottom: 6px; font-size: 12px; }
.result-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.result-table th, .result-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); text-align: center; }
.result-table th { background: #fafbfe; color: var(--muted); font-size: 11px; }
.result-table th:first-child, .result-table td:first-child, .result-table th:nth-child(2), .result-table td:nth-child(2) { text-align: left; }
.result-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.result-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

/* ---------- 九宫格：橙 / 黄分类色（语义化命名） ---------- */
.nc-orange { background: #fff7ed; border-color: #fed7aa; }
.nc-orange .nc-name { color: #c2410c; }
.nc-gold { background: #fefce8; border-color: #fde68a; }
.nc-gold .nc-name { color: #a16207; }

/* ---------- 核心骨干统计卡 / 名单弹窗 ---------- */
.stat-card.clickable { cursor: pointer; transition: border-color .16s, box-shadow .16s, transform .16s; }
.stat-card.clickable:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.modal.wide { width: min(1080px, 100%); }
.modal-lead { font-size: 12px; color: var(--text-2); line-height: 1.8; margin: 0 0 14px; }
.modal-table-wrap { overflow: auto; max-height: 60vh; }
.modal-table-wrap .result-table { min-width: 1000px; }
.modal-table-wrap .result-table th { position: sticky; top: 0; z-index: 1; }

/* ---------- 盘点流程步骤条与校准 ---------- */
.stage-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.stage-item { flex: 1 1 150px; min-width: 140px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fafbfe; }
.stage-item .stage-num { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #e2e8f0; color: var(--text-2); }
.stage-item strong { display: block; font-size: 12px; color: var(--text-2); }
.stage-item small { display: block; font-size: 10px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.stage-item.done { background: var(--green-soft); border-color: #bbf7d0; }
.stage-item.done .stage-num { background: var(--green); color: #fff; }
.stage-item.done strong { color: #15803d; }
.stage-item.current { background: var(--primary-soft); border-color: #c7d2fe; }
.stage-item.current .stage-num { background: var(--primary); color: #fff; }
.stage-item.current strong { color: var(--primary-dark); }
.camp-status.calib { background: var(--purple-soft); color: var(--purple); }
.camp-status.done { background: var(--blue-soft); color: var(--blue); }
.calib-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.calib-level { min-width: 84px; padding: 5px 8px; font-size: 12px; }

/* ---------- 答题欢迎页（身份由登录账号自动识别） ---------- */
.survey-welcome { padding: 28px 30px; }
.welcome-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; }
.survey-welcome h2 { font-size: 22px; }
.welcome-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 10px; }
.welcome-stats > div { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; }
.welcome-stats b { display: block; font-size: 20px; color: var(--primary); }
.welcome-stats span { font-size: 11px; color: var(--muted); }
.welcome-weight { font-size: 11px; color: var(--muted); margin: 0 0 18px; }
.welcome-pick { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.welcome-pick h3 { font-size: 14px; }
.welcome-identity { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px; }
.welcome-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 16px; font-weight: 700; }
.welcome-id-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.welcome-id-main b { font-size: 15px; color: var(--text); }
.welcome-id-main small { font-size: 11px; color: var(--muted); }
.welcome-id-badge { margin-left: auto; flex: none; font-size: 11px; color: var(--primary); background: var(--primary-soft); border-radius: 20px; padding: 5px 10px; }
.welcome-pick-row { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome-questions h3 { font-size: 14px; margin: 18px 0 10px; }
.q-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.q-preview-item { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #fcfdff; }
.q-preview-item b { display: inline-block; font-size: 12px; margin-left: 6px; }
.q-preview-item small { display: block; font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
@media (max-width: 640px) { .welcome-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 校准表：Excel 式多选筛选 + 明细 ---------- */
.panel-filter { border-radius: 10px; overflow: visible; } /* 允许多选下拉面板溢出到表格上方 */
.panel-filter .panel-body { padding: 10px 14px; }
.calib-filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; width: 100%; }
.cf-dd { position: relative; flex: 1 1 0; min-width: 0; }
.cf-dd-control {
  width: 100%; height: 34px; display: flex; align-items: center; overflow: hidden;
  border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; padding: 0;
}
.cf-dd.open .cf-dd-control, .cf-dd-control:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.cf-label {
  flex: none; height: 100%; line-height: 32px; padding: 0 9px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  background: #f8fafc; border-right: 1px solid var(--border-strong);
}
.cf-name-input {
  flex: 1 1 0; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 9px;
  font-size: 12px; color: var(--text); background: transparent;
}
.cf-name-input::placeholder { color: var(--muted); }
.cf-dd-value { flex: 1 1 0; min-width: 0; padding: 0 9px; font-size: 12px; color: var(--text-2); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-dd-value.all { color: var(--muted); }
.cf-dd-trigger { cursor: pointer; }
.cf-dd-arrow {
  flex: none; width: 26px; height: 100%; border: 0; border-left: 1px solid var(--border);
  background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.cf-dd-chev { flex: none; width: 13px; height: 13px; margin-right: 9px; stroke: var(--muted); transition: transform .18s; }
.cf-dd.open .cf-dd-chev, .cf-dd.open .cf-dd-arrow svg { transform: rotate(180deg); }
.cf-dd-arrow svg { width: 13px; height: 13px; transition: transform .18s; }
.cf-dd-panel {
  position: absolute; left: 0; top: calc(100% + 5px); z-index: 70;
  width: max(220px, 100%); max-width: 290px; padding: 8px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.cf-dd-search { margin-bottom: 7px; }
.cf-dd-search .input { height: 30px; font-size: 12px; }
.cf-dd-hint { font-size: 10px; color: var(--muted); padding: 2px 4px 7px; }
.cf-dd-tools { display: flex; align-items: center; gap: 10px; padding: 0 4px 7px; border-bottom: 1px solid var(--border); margin-bottom: 5px; }
.cf-dd-tools span { flex: 1; font-size: 10px; color: var(--muted); }
.cf-dd-tools button { border: 0; background: transparent; color: var(--primary); font-size: 11px; cursor: pointer; padding: 0; }
.cf-dd-tools button:hover { text-decoration: underline; }
.cf-dd-list { max-height: 230px; overflow-y: auto; }
.cf-dd-option { display: flex; align-items: center; gap: 7px; padding: 5px 6px; border-radius: 6px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.cf-dd-option:hover { background: #f5f7fb; }
.cf-dd-option input { width: 13px; height: 13px; accent-color: var(--primary); flex: none; margin: 0; }
.cf-dd-option span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-dd-option em { font-style: normal; font-size: 10px; color: var(--muted); }
.cf-reset { flex: none; }
.cf-count { flex: none; margin-left: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 980px) {
  .calib-filter-bar { flex-wrap: wrap; }
  .cf-dd { flex: 1 1 calc(50% - 8px); }
  .cf-count { margin-left: auto; }
}

/* 逐题得分校准：单击只读，双击自动清空后输入；已校准高亮 */
.calib-score-cell { padding: 4px 3px !important; }
.calib-score-cell:not([data-locked]) { cursor: cell; }
.calib-score-view {
  display: inline-block; min-width: 42px; height: 24px; line-height: 24px; padding: 0 4px;
  text-align: center; font-size: 11px; color: var(--text);
  border: 1px solid transparent; border-radius: 5px; cursor: inherit; user-select: none;
}
.calib-score-cell:not([data-locked]) .calib-score-view:hover { border-color: var(--border-strong); background: #fff; }
.calib-score-cell.edited .calib-score-view { background: var(--primary-soft); border-color: #c7d2fe; color: var(--primary); font-weight: 700; }
.calib-score-cell.editing { background: var(--primary-soft); }
.calib-score-edit {
  width: 46px; height: 24px; padding: 0 3px; text-align: center; font-size: 11px; font-weight: 700; color: var(--primary);
  border: 1px solid var(--primary); border-radius: 5px; background: #fff; outline: 0;
  box-shadow: 0 0 0 2px var(--primary-soft);
}
.calib-score-edit::placeholder { color: var(--muted); font-weight: 400; }
.calib-table-wrap { overflow: auto; max-height: 68vh; }
.calib-table { min-width: 1500px; font-size: 11px; }
.calib-table th, .calib-table td { padding: 7px 6px; white-space: nowrap; }
.calib-table thead tr:first-child th { position: sticky; top: 0; z-index: 2; background: #eef2ff; color: var(--text-2); }
.calib-table thead tr:nth-child(2) th { position: sticky; top: 33px; z-index: 2; background: #fafbfe; }
.calib-group-row th { text-align: center !important; }
.calib-table tbody tr:hover { background: #f8fafc; }
.calib-row-actions { display: flex; gap: 4px; justify-content: center; }
.calib-row-actions .btn-sm { padding: 3px 7px; font-size: 11px; height: auto; }
.op-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-left: 3px; vertical-align: middle; }

/* 表头说明按钮（信息图标）与互斥说明栏 */
.q-help-btn {
  display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; padding: 0;
  border: 1px solid #c7d2fe; border-radius: 50%; background: #fff; color: var(--primary);
  cursor: pointer; vertical-align: middle; transition: .15s;
}
.q-help-btn svg { width: 10px; height: 10px; stroke-width: 2.4; }
.q-help-btn:hover { background: var(--primary-soft); border-color: var(--primary); }
.q-help-btn.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.q-help-bar { margin: 0 18px 14px; border: 1px solid var(--border); border-radius: 10px; background: #f8fafc; }
.q-help-inner { padding: 12px 16px 14px; }
.q-help-title { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.q-help-close { border: 0; background: transparent; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; }
.q-help-head { font-size: 12px; color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }
.q-help-head b { color: var(--text); }
.q-help-levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.q-help-lv { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 8px 10px; }
.q-help-lv span { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); background: var(--primary-soft); border-radius: 4px; padding: 1px 6px; margin-bottom: 5px; }
.q-help-lv p { font-size: 11px; color: var(--text-2); line-height: 1.6; margin: 0; }
.q-help-foot { font-size: 11px; color: var(--muted); margin-top: 9px; }
@media (max-width: 900px) { .q-help-levels { grid-template-columns: repeat(2, 1fr); } }

/* 九宫格定位级别标签：1 / 2+ / 2 / 3 / 4 / 5 */
.nine-code { display: inline-block; min-width: 30px; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 700; color: #fff; text-align: center; }
.ncode-1 { background: #16a34a; }
.ncode-2p { background: #7c3aed; }
.ncode-2 { background: #2563eb; }
.ncode-3 { background: #eab308; }
.ncode-4 { background: #f97316; }
.ncode-5 { background: #dc2626; }

/* ---------- 校准意见弹窗 ---------- */
.modal.xwide { width: min(1120px, 100%); }
.op-wrap { display: flex; flex-direction: column; gap: 14px; }
.op-hero {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border: 1px solid #e0e7ff; border-radius: 12px;
  background: linear-gradient(100deg, #f5f6ff 0%, #fbfcff 68%);
}
.op-hero .avatar-lg { width: 48px; height: 48px; border-radius: 14px; font-size: 16px; }
.op-hero-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.op-hero-id b { font-size: 16px; font-weight: 650; }
.op-hero-id span { font-size: 11px; color: var(--muted); }
.op-hero-stats { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.op-hero-stats span { font-size: 11px; color: var(--text-2); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; white-space: nowrap; }
.op-hero-stats b { color: var(--primary); margin-left: 5px; font-weight: 700; }

.op-grid { display: grid; grid-template-columns: 1.05fr .95fr .95fr; gap: 14px; align-items: stretch; }
.op-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* 单卡片列拉齐到最高列，保持三列底部齐平 */
.op-col > .op-card:only-child { flex: 1 1 auto; }
.op-card { border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: 14px; box-shadow: var(--shadow-sm); }
.op-card-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.op-card-ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.op-card-ico svg { width: 14px; height: 14px; stroke-width: 2; }
.op-card-head h4 { font-size: 13px; font-weight: 650; flex: 1; white-space: nowrap; }
.op-card-head small { font-size: 10px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.op-field { margin-bottom: 12px; }
.op-field:last-child { margin-bottom: 0; }
.op-field > label { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.op-field > label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 10px; }
.op-tag { font-size: 10px; color: var(--primary); background: var(--primary-soft); border-radius: 4px; padding: 1px 5px; font-weight: 500; }
.op-card .select-input, .op-card .input { height: 34px; font-size: 12px; border-radius: 8px; }
.op-card .textarea { min-height: 64px; font-size: 12px; border-radius: 8px; }
#op_dev { min-height: 112px; }
.op-card select.op-select.is-empty { color: var(--muted); }
.op-verbatim { background: #f8fafc !important; white-space: pre-wrap; line-height: 1.6; }
.op-verbatim[readonly] { cursor: default; border-color: var(--border); }
.op-verbatim[readonly]:focus { box-shadow: none; border-color: var(--border); }
.op-kw-list { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: flex-start; }
.op-kw-chip { font-size: 11px; color: var(--primary); background: var(--primary-soft); border: 1px solid #e0e7ff; border-radius: 6px; padding: 4px 8px; line-height: 1.35; }
.op-kw-chip i { font-style: normal; margin-left: 5px; color: #818cf8; font-size: 10px; }
.op-kw-empty { font-size: 11px; color: var(--muted); }
.op-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op-two .op-field, .op-succ-grid .op-field:last-child { margin-bottom: 0; }
.op-succ-grid .op-field { margin-bottom: 10px; }
/* 继任者：输入即筛选，候选浮层挂在 body 上，避免被弹窗滚动区裁切 */
.op-succ-wrap { position: relative; }
.op-succ-wrap .op-succ-input { padding-right: 30px; }
.op-succ-ico { position: absolute; right: 9px; top: 9px; width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; pointer-events: none; }
.sug-float {
  position: fixed; z-index: 1000; max-height: 236px; overflow-y: auto; padding: 5px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: var(--shadow-lg);
}
.sug-head { font-size: 10px; color: var(--muted); padding: 4px 9px 7px; border-bottom: 1px solid var(--border); }
.sug-item { padding: 7px 10px; font-size: 12px; color: var(--text-2); border-radius: 6px; cursor: pointer; }
.sug-item:hover, .sug-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.sug-empty, .sug-more { font-size: 11px; color: var(--muted); padding: 9px; text-align: center; }
.sug-more { border-top: 1px solid var(--border); font-size: 10px; }
.op-hint { font-size: 11px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }

/* 任用计划：多选下拉 */
.op-ms { position: relative; }
.op-ms-trigger {
  width: 100%; min-height: 34px; display: flex; align-items: center; gap: 8px;
  padding: 4px 9px; border: 1px solid var(--border-strong); border-radius: 8px;
  background: #fff; text-align: left; transition: .16s;
}
.op-ms-trigger:hover, .op-ms.open .op-ms-trigger { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.op-ms-value { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.op-ms-placeholder { font-size: 12px; color: var(--muted); }
.op-ms-chip { font-size: 11px; color: var(--primary); background: var(--primary-soft); border-radius: 5px; padding: 3px 7px; white-space: nowrap; }
.op-ms-more { font-size: 11px; color: var(--muted); }
.op-ms-chev { width: 14px; height: 14px; flex: none; stroke: var(--muted); transition: transform .18s; }
.op-ms.open .op-ms-chev { transform: rotate(180deg); }
.op-ms-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 5px); z-index: 60;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 6px;
}
.op-ms-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 8px; font-size: 10px; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 5px; }
.op-ms-panel-head button { border: 0; background: transparent; color: var(--primary); font-size: 11px; cursor: pointer; }
.op-ms-options { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; max-height: 210px; overflow-y: auto; }
.op-ms-option { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; font-size: 11px; color: var(--text-2); cursor: pointer; user-select: none; }
.op-ms-option:hover { background: #f5f7fb; }
.op-ms-box { position: relative; width: 13px; height: 13px; border: 1px solid var(--border-strong); border-radius: 4px; background: #fff; flex: none; }
.op-ms-option.on { color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.op-ms-option.on .op-ms-box { background: var(--primary); border-color: var(--primary); }
.op-ms-option.on .op-ms-box::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(42deg); }

.pc-opinion { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: #f5f3ff; border: 1px solid #ede9fe; }
.pc-opinion span { font-size: 11px; font-weight: 700; color: #7c3aed; }
.pc-opinion p { font-size: 11px; color: var(--text-2); line-height: 1.7; margin: 5px 0 0; }
@media (max-width: 1000px) { .op-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .op-grid { grid-template-columns: 1fr; } .op-hero { flex-wrap: wrap; } .op-hero-stats { margin-left: 0; justify-content: flex-start; } }

/* ===== 登录 / 账号 ===== */
.account-btn { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer; }
.account-btn:hover { border-color: var(--primary); color: var(--primary); }
.account-btn svg { width: 15px; height: 15px; }
.login-mask { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 48%, #e0f2fe 100%); }
.login-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 50px rgba(30, 41, 59, .13); padding: 32px 34px 26px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.login-brand-name { font-size: 13px; font-weight: 650; color: var(--text-2); }
.login-card h1 { font-size: 22px; margin: 0 0 26px; color: var(--text); }
.login-form { display: flex; flex-direction: column; gap: 8px; }
.login-form label { font-size: 12px; font-weight: 600; color: var(--text-2); margin-top: 6px; }
.login-form .input { height: 40px; }
.login-error { font-size: 12px; color: var(--red); background: #fef2f2; border: 1px solid #fecaca; border-radius: 7px; padding: 8px 10px; }
.login-submit { margin-top: 12px; height: 40px; justify-content: center; font-size: 14px; }
.login-foot { font-size: 11px; color: var(--muted); text-align: center; margin: 20px 0 0; }
.account-info { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.account-info .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.account-info h4 { margin: 0 0 4px; font-size: 15px; }
.account-info p { margin: 0; font-size: 12px; color: var(--muted); }
.account-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.account-meta > div { background: #f8fafc; border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; }
.account-meta span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.account-meta strong { font-size: 13px; color: var(--text); }
.account-hint { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 14px; }

/* ===== 账号管理 / 管理员重置密码 ===== */
.account-admin-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.account-admin-bar .table-search { display: flex; align-items: center; gap: 8px; height: 34px; min-width: 250px; padding: 0 11px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.account-admin-bar .table-search:focus-within { background: #fff; border-color: var(--primary); }
.account-admin-bar .table-search svg { width: 15px; height: 15px; }
.account-admin-bar .table-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 12px; color: var(--text); }
.account-admin-bar .result-count { margin-left: auto; }
#accountTableArea .result-table { min-width: 900px; }
#accountTableArea .result-table .btn-sm { padding: 3px 9px; height: auto; font-size: 11px; }
.reset-mode-box { margin-top: 18px; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.reset-mode-title { font-size: 12px; font-weight: 650; color: var(--text-2); margin-bottom: 6px; }
.reset-mode { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.reset-mode:hover { background: #f8fafc; }
.reset-mode input { margin-top: 3px; accent-color: var(--primary); flex: none; }
.reset-mode b { color: var(--primary); }
.reset-mode small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.6; }
.reset-custom { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--border); }
