:root {
  font-family:
    "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #19334d;
  background: #f4f7fb;
  font-synthesis: none;
  --navy: #102b46;
  --blue: #2468b4;
  --blue-dark: #1b5798;
  --cyan: #23a3b5;
  --line: #dfe8f1;
  --muted: #6f8295;
  --panel: #ffffff;
  --soft: #edf4fa;
  --green: #12835c;
  --green-soft: #e8f7f0;
  --amber: #b56b09;
  --amber-soft: #fff4dd;
  --red: #b64045;
  --red-soft: #ffeded;
  --purple: #6d53aa;
  --purple-soft: #f1edfb;
  --shadow: 0 12px 35px rgba(31, 64, 98, 0.08);
  /* —— 补充语义变量：收敛高频硬编码色，改主题只需动这里 —— */
  --ink: #19334d;
  --surface: #ffffff;
  --bg: #f4f7fb;
  --sidebar-ink: #1a3a4a;
  --cyan-2: #168da5;
  --line-strong: #dbe6ee;
  --line-soft: #d9e5ef;
  --muted-2: #6a8499;
  --danger: #c0392b;
  --danger-soft: #fde2e1;
  --gold: #f5c542;
  --green-2: #1f6f54;
  --fill-1: #eef3f7;
  --fill-2: #e5edf4;
  --fill-3: #edf2f6;
  --slate: #49657c;
  --slate-2: #294b66;
  --slate-3: #2f516b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 1180px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0, rgba(35, 163, 181, 0.08), transparent 28rem),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 20px;
  color: white;
  background:
    linear-gradient(180deg, rgba(35, 163, 181, 0.18), transparent 34%),
    var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #35bfd0, #2d76c4);
  box-shadow: 0 8px 20px rgba(35, 163, 181, 0.3);
  font-size: 20px;
  font-weight: 800;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand span {
  margin-top: 3px;
  color: #a8c1d8;
  font-size: 12px;
}

nav {
  display: grid;
  gap: 7px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 12px;
  color: #c8d7e5;
  background: transparent;
  text-align: left;
  transition: 160ms ease;
}

.nav-item span {
  color: #7895ad;
  font-size: 11px;
  font-weight: 700;
}

.nav-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: white;
  background: linear-gradient(90deg, rgba(35, 163, 181, 0.26), rgba(48, 112, 180, 0.2));
  box-shadow: inset 3px 0 #37bfd0;
}

.nav-item.active span {
  color: #70d8e5;
}

.sidebar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-note strong,
.sidebar-note small {
  display: block;
}

.sidebar-note strong {
  font-size: 13px;
}

.sidebar-note small {
  margin-top: 3px;
  color: #9fb5c8;
  font-size: 11px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ed59d;
  box-shadow: 0 0 0 5px rgba(78, 213, 157, 0.11);
}

.main {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 105px;
  padding: 22px 34px;
  border-bottom: 1px solid rgba(213, 225, 236, 0.8);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: #173650;
  font-size: 24px;
  font-weight: 750;
}

h2 {
  margin-bottom: 0;
  font-size: 21px;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.today {
  margin-right: 6px;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #2876c3, #235d9b);
  box-shadow: 0 7px 18px rgba(36, 104, 180, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2f82d1, #1e548e);
}

.btn-secondary {
  border-color: #d8e3ed;
  color: #2d526f;
  background: white;
}

.btn-accent {
  color: white;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 7px 18px rgba(91, 58, 180, 0.22);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #8b46f0, #1e54c8);
}

.btn-success {
  color: var(--green);
  background: var(--green-soft);
}

.btn-warning {
  color: var(--amber);
  background: var(--amber-soft);
}

.btn-danger {
  color: var(--red);
  background: var(--red-soft);
}

.btn-purple {
  color: var(--purple);
  background: var(--purple-soft);
}

.btn-sm {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.content {
  padding: 28px 34px 42px;
}

.loading-card,
.empty-state {
  padding: 42px;
  border: 1px dashed #cbd9e6;
  border-radius: 18px;
  color: var(--muted);
  background: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #e1eaf2;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -38px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--accent-soft, var(--soft));
}

.stat-card .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat-card .value {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: var(--accent, var(--blue));
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.stat-card .hint {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: #8ba0b2;
  font-size: 11px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(330px, 1fr);
  gap: 18px;
}

.panel {
  margin-bottom: 18px;
  border: 1px solid #dfe9f2;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(39, 68, 98, 0.055);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e7eef5;
}

.panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.panel-body {
  padding: 20px 22px;
}

.flow-list {
  display: grid;
  gap: 0;
}

.flow-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fill-3);
}

.flow-row:last-child {
  border-bottom: 0;
}

.flow-step {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: #edf5fc;
  font-size: 12px;
  font-weight: 800;
}

.flow-row strong {
  display: block;
  font-size: 14px;
}

.flow-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.tag,
.grade,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 750;
}

.grade-A,
.status-approved,
.status-approve,
.status-forwarded {
  color: var(--green);
  background: var(--green-soft);
}

.grade-B,
.status-try,
.status-ready,
.status-sent_teacher {
  color: var(--blue);
  background: #e9f2fc;
}

.grade-C,
.status-pending,
.status-hold {
  color: var(--amber);
  background: var(--amber-soft);
}

.grade-D,
.status-rejected,
.status-reject {
  color: var(--red);
  background: var(--red-soft);
}

.status-link {
  color: #9a4a0e;
  background: #ffe9cc;
  border: 1px solid #f0b15c;
}

.link-box {
  margin: 8px 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: #fff6ea;
  border-left: 3px solid #f0a93f;
  font-size: 13px;
  color: #7a4a13;
}

.link-input-group {
  flex: 1 1 240px;
}

.link-input {
  width: 100%;
  padding: 6px 9px;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  font-size: 13px;
}

/* ── 岗位卡片时间栏（监测/发布/截止）── */
.card-time-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 8px 12px;
  margin: 6px 0 4px;
  background: linear-gradient(135deg, #f0f5ff 0%, #eef6ff 100%);
  border: 1px solid #c7d8f0;
  border-radius: 8px;
  font-size: 13px;
}

.time-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.time-monitored {
  color: #6b7a8a;
  font-weight: 400;
  font-size: 11.5px;
}
.time-monitored strong {
  color: #6b7a8a;
  font-weight: 400;
}
.time-small {
  font-size: 11.5px;
  opacity: 0.75;
}

.time-published {
  color: #0b7a45;
  font-size: 14.5px;
  font-weight: 600;
}
.time-published strong {
  color: #065a33;
  font-weight: 700;
}

.time-deadline {
  color: #c23a22;
  font-size: 14.5px;
  font-weight: 600;
}
.time-deadline strong {
  color: #a32d19;
  font-weight: 700;
}

.tag-neutral {
  color: #587086;
  background: var(--fill-1);
}

.tag-prematch {
  color: #0f6e56;
  background: #e1f5ee;
  border: 1px solid #5dcaa5;
  font-weight: 500;
}

.prematch-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  padding: 0 16px 12px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  text-align: left;
  background: #f4f6f8;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.stat-card:hover {
  border-color: #d5dbe2;
}
.stat-card.active {
  border-color: #1d9e75;
  background: #eaf7f1;
}
.stat-card[data-job-view="recommend"] {
  background: #e1f5ee;
  border-color: #9fe1cb;
}
.stat-card[data-job-view="recommend"] .stat-label,
.stat-card[data-job-view="recommend"] .stat-sub {
  color: #0f6e56;
}
.stat-card[data-job-view="recommend"] .stat-num {
  color: #04342c;
}
.stat-card[data-job-view="recommend"].active {
  border-color: #1d9e75;
}
.stat-label {
  font-size: 13px;
  color: #587086;
}
.stat-num {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #34465a;
}
.stat-sub {
  font-size: 12px;
  color: #8a94a0;
}

.prematch-hint {
  margin: 2px 4px 10px;
  padding: 7px 12px;
  font-size: 12px;
  color: #0f6e56;
  background: #eaf7f1;
  border-left: 3px solid #1d9e75;
  border-radius: 6px;
}

.prematch-zero {
  margin: 10px 4px;
  border: 1px dashed var(--border-2, #d5dbe2);
  border-radius: 8px;
  background: #fafbfc;
}
.prematch-zero > summary {
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  color: #8a94a0;
  user-select: none;
}
.prematch-zero > summary:hover {
  color: #587086;
}
.prematch-zero .job-list {
  padding: 0 8px 8px;
}

.tag-warning {
  color: #8a5a17;
  background: #fff3d8;
  border: 1px solid #f0c77c;
}

.tag-extension {
  color: var(--green-2);
  background: #e3f6ee;
  border: 1px solid #8ed3b6;
}

.track-box {
  margin: 8px 0 0;
  font-size: 13px;
  color: #34465a;
}

.track-box strong {
  color: var(--green-2);
}

.track-chip {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--green-2);
  background: #e3f6ee;
  border: 1px solid #8ed3b6;
}

/* ── 延伸赛道：大类→小类 分区卡片 ── */
.track-grouped {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d4e2ef;
  border-radius: 11px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(31, 64, 98, 0.05);
}

.track-row:hover {
  border-color: #b8cddc;
  box-shadow: 0 3px 10px rgba(31, 64, 98, 0.08);
}

.track-row-checked {
  border-color: #7ecfa8;
  background: #fbfefb;
  box-shadow: 0 2px 10px rgba(19, 131, 78, 0.08);
}

/* ── 左侧：大类勾选区（独立色块）── */
.track-cat-check {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #163e5c;
  padding: 12px 16px;
  background: linear-gradient(135deg, #eaf3fc, #e4f0f9);
  border-right: 1px solid #d4e2ef;
  min-width: 110px;
}

.track-row-checked .track-cat-check {
  background: linear-gradient(135deg, #ddf5e8, #d2efd9);
  border-right-color: #a8ddb8;
}

.track-cat-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--cyan-2);
  cursor: pointer;
  flex-shrink: 0;
}

.track-cat-check strong {
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.track-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #5a7d96;
  background: var(--surface);
  border: 1px solid #d1dde8;
}

.track-row-checked .track-cat-count {
  color: #1a7a52;
  background: #e8f8ee;
  border-color: #a8d4b8;
}

/* ── 右侧：小类横排区（独立容器）── */
.track-items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #fafcfD;
}

.track-item-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border: 1px solid #d1dde8;
  border-radius: 999px;
  color: #3d5a70;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 1px 2px rgba(31, 64, 98, 0.04);
}

.track-item-label:hover {
  border-color: #8eb8dc;
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(36, 104, 180, 0.1);
}

.track-item-label:has(input:checked) {
  color: #156b48;
  background: #daf0e4;
  border-color: #7ecfa8;
  box-shadow: 0 1px 4px rgba(19, 131, 78, 0.12);
}

.track-item-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--cyan-2);
  cursor: pointer;
  flex-shrink: 0;
}


.match-flags {
  margin: 10px 0 0;
}

.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filters input,
.filters select {
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--slate-2);
  background: var(--surface);
  outline: none;
}

.filters input:focus,
.filters select:focus,
label input:focus,
label select:focus,
label textarea:focus {
  border-color: #6aa8dc;
  box-shadow: 0 0 0 3px rgba(46, 125, 195, 0.09);
}

.job-list,
.match-list,
.package-list {
  display: grid;
  gap: 14px;
}

.job-card,
.match-card,
.package-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
}

.job-card:hover,
.match-card:hover {
  border-color: #bdd2e4;
  box-shadow: 0 9px 24px rgba(33, 79, 120, 0.07);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.card-title {
  margin-bottom: 4px;
  color: #173955;
  font-size: 16px;
  font-weight: 800;
}

.card-company {
  color: #547086;
  font-size: 13px;
}

.badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: #5f778b;
  font-size: 12px;
}

.card-meta strong {
  color: var(--slate-3);
}

/* 三行信息布局：学生卡片 meta-row */
.card-meta .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 6px 0;
  border-bottom: 1px dashed #e8eff5;
}
.card-meta .meta-row:last-child {
  border-bottom: none;
}
.card-meta .meta-row-student { background: #f7fafc; border-radius: 6px; padding: 6px 10px; margin: 2px 0; border-bottom: none; }
.card-meta .meta-row-region { background: #fffbf0; border-radius: 6px; padding: 6px 10px; margin: 2px 0; border-bottom: none; }
.card-meta .meta-row-job { background: #f0f7f4; border-radius: 6px; padding: 6px 10px; margin: 2px 0; border-bottom: none; }
.card-meta .meta-row strong { color: var(--slate-3); }

.ownership-select,
.table-select,
.table-input {
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--slate-2);
  background: var(--surface);
}

.inline-date {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.inline-date input {
  height: 38px;
  padding: 0 9px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  color: var(--slate-2);
  background: var(--surface);
}

.evidence-box,
.risk-box,
.reason-box,
.message-preview {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1.7;
}

.evidence-box {
  color: #46647b;
  background: #f3f7fa;
}

.risk-box {
  color: #88571b;
  background: #fff8e9;
}

.reason-box {
  color: #27634e;
  background: #edf8f3;
}

.message-preview {
  max-height: 290px;
  overflow: auto;
  white-space: pre-wrap;
  color: #35566f;
  background: #f5f8fb;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--fill-3);
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  padding: 12px 13px;
  border-bottom: 1px solid #e8eff5;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #5d7487;
  background: #f6f9fc;
  font-weight: 800;
  white-space: nowrap;
}

td {
  color: #3f5d74;
}

tbody tr:hover {
  background: #f9fbfd;
}

.progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef3;
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #26a4b7, #357cc4);
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fill-3);
}

.compact-item:last-child {
  border-bottom: 0;
}

.compact-item strong,
.compact-item small {
  display: block;
}

.compact-item small {
  margin-top: 3px;
  color: var(--muted);
}

.callout {
  padding: 16px 18px;
  border: 1px solid #cde1ef;
  border-left: 4px solid #2b91b4;
  border-radius: 13px;
  color: #355a72;
  background: #f2f9fc;
  line-height: 1.7;
}

.path-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #31546c;
  background: #eef4f8;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  word-break: break-all;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: workbuddy-step;
}

.step-card {
  position: relative;
  padding: 16px 16px 16px 57px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.step-card::before {
  counter-increment: workbuddy-step;
  content: counter(workbuddy-step);
  position: absolute;
  left: 15px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.step-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.modal {
  width: min(850px, 84vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(15, 42, 68, 0.25);
}

.modal::backdrop {
  background: rgba(12, 34, 54, 0.48);
  backdrop-filter: blur(3px);
}

.modal form {
  padding: 24px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  color: #5a7185;
  background: var(--fill-1);
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-height: 62vh;
  overflow: auto;
  padding-right: 5px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
}

label input,
label select,
label textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #d8e4ee;
  border-radius: 9px;
  color: #294a65;
  background: white;
  outline: none;
  font-weight: 500;
}

label textarea {
  min-height: 70px;
  resize: vertical;
}

.span-2 {
  grid-column: span 2;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 11px 12px 12px;
  border: 1px solid #d8e4ee;
  border-radius: 10px;
  background: #fbfdff;
}

.choice-field legend {
  padding: 0 4px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* 延伸赛道区域：覆盖 choice-grid 的网格布局，改用竖排 flex */
.choice-grid.track-grouped {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.choice-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 29px;
  padding: 5px 7px;
  border: 1px solid #e0eaf2;
  border-radius: 7px;
  color: #38566e;
  background: white;
  font-size: 12px;
  font-weight: 600;
}

.choice-grid label:has(input:checked) {
  border-color: #37a9bd;
  color: #0b6376;
  background: #eaf8fa;
}

.choice-grid input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--cyan-2);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--fill-2);
}

/* 同名重复检测弹窗：左右对比卡片 */
.dup-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dup-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #e0eaf2;
  border-radius: 10px;
  background: #f7fafc;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-all;
}
.dup-box strong {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.5px;
}
.dup-box span {
  color: var(--sidebar-ink);
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 10;
  max-width: 420px;
  padding: 13px 16px;
  border-radius: 11px;
  color: white;
  background: #173a56;
  box-shadow: 0 12px 35px rgba(14, 38, 59, 0.25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.count {
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
}

.review-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.review-progress {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #31536b;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.review-progress span,
.review-progress small {
  font-size: 11px;
}

.review-progress small {
  color: var(--muted);
}

.review-progress.has-pending {
  border-color: #efc887;
  background: #fff9ef;
  color: #92400e;
}

.review-progress.has-pending strong {
  color: #b45309;
}

.review-progress.complete {
  border-color: #22c55e;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: var(--surface);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

.review-progress.complete strong {
  color: var(--surface);
  font-weight: 700;
}

.review-progress.complete span,
.review-progress.complete small {
  color: rgba(255, 255, 255, 0.9);
}

.success-callout {
  padding: 13px 15px;
  border: 1px solid #bcded0;
  border-radius: 11px;
  color: #24694f;
  background: #eff9f4;
}

.batch-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 20px rgba(38, 71, 97, 0.06);
}

.batch-toolbar label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
}

.batch-toolbar input,
.match-checkbox {
  width: 17px;
  height: 17px;
}

.match-title-with-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.message-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.message-item {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fbfdff;
}

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e6eef4;
  color: #294c67;
  background: #f1f6fa;
}

.message-item .message-preview {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: white;
}

.profile-assistant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #cde1ef;
  border-radius: 11px;
  color: #355a72;
  background: #f2f9fc;
}

.profile-assistant strong,
.profile-assistant small {
  display: block;
}

.profile-assistant small {
  margin-top: 4px;
  font-weight: 500;
  line-height: 1.55;
}

.advanced-fields {
  padding: 12px 14px;
  border: 1px dashed #cad9e4;
  border-radius: 11px;
  color: var(--slate);
  background: #fafcfe;
}

.advanced-fields summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.advanced-fields .form-grid {
  max-height: none;
  margin-top: 12px;
  padding-right: 0;
  overflow: visible;
}

.source-guide {
  padding-bottom: 0;
}

.muted {
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1350px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.push-summary-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: #516b7e;
  font-size: 13px;
}

.push-summary-line strong {
  color: #163e5a;
  font-size: 18px;
}

.push-warning {
  padding: 13px 15px;
  border: 1px solid #efc887;
  border-radius: 11px;
  color: #7d4c13;
  background: #fff7e8;
}

.student-push-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.student-search-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.student-search-bar input {
  flex: 1;
  padding: 9px 14px;
  border: 2px solid #c7d2e8;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.student-search-bar input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.student-search-bar button {
  padding: 7px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f3f4f6;
  cursor: pointer;
  font-size: 13px;
  color: #4b5563;
}

.student-search-bar button:hover {
  background: #e5e7eb;
}

/* 待审核同学汇总区 */
.pending-review-section {
  background: #fff8e6;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.pending-review-section.empty {
  background: #eef9f0;
  border-color: #6abf7a;
  text-align: center;
  padding: 8px;
  color: #2d7a3e;
  font-weight: 600;
  font-size: 13px;
}
.pending-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pending-review-title {
  font-weight: 800;
  font-size: 13px;
  color: #8b6914;
}
.pending-review-count {
  background: var(--gold);
  color: #5c3d00;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
}
.pending-review-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pending-review-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pending-review-group-name {
  font-size: 11px;
  font-weight: 700;
  color: #8b6914;
  background: rgba(245,197,66,0.25);
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: fit-content;
}
.pending-review-members {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.pending-review-student {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 12px;
}
.pending-review-student:hover {
  background: #fffbea;
  border-color: #e0a800;
  box-shadow: 0 2px 8px rgba(245,197,66,0.3);
  transform: translateY(-1px);
}
.pending-review-student strong {
  color: #333;
  font-size: 12px;
}
.pr-badge {
  background: #ff6b35;
  color: var(--surface);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

.student-push-card {
  display: flex;
  min-height: 88px;
  padding: 13px 8px;
  border: 2px solid transparent;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.student-push-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(38, 71, 97, 0.12);
}

.student-push-card strong {
  color: var(--surface);
  font-size: 14px;
}

.student-push-card span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  line-height: 1.45;
}

.push-orange {
  border-color: #d97706;
  color: var(--surface);
  background: #ea8a16;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.24);
}

.push-green {
  border-color: #16834e;
  color: var(--surface);
  background: #1e9b5d;
  box-shadow: 0 3px 10px rgba(22, 131, 78, 0.22);
}

.student-push-card.selected {
  border-color: #155ca7;
  background: #2374c5;
  box-shadow: 0 0 0 3px rgba(35, 116, 197, 0.2), 0 5px 14px rgba(21, 92, 167, 0.26);
}

/* ── 推送工作台：左右分栏（左学生分组列表 / 右推送详情）── */
.push-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 16px;
  align-items: start;
  margin-top: 14px;
}

.push-left-col {
  max-height: 74vh;
  overflow-y: auto;
  padding-right: 6px;
}

.push-right-col {
  position: sticky;
  top: 10px;
  max-height: 74vh;
  overflow-y: auto;
}

.push-group {
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid var(--fill-2);
  border-radius: 12px;
  background: #fafcfd;
}

.push-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.push-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--sidebar-ink);
  letter-spacing: 0.4px;
}

.push-group-count {
  display: inline-block;
  min-width: 20px;
  height: 18px;
  padding: 0 7px;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 11px;
  background: #e1eef6;
  color: var(--cyan-2);
}

.push-group-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 学历子组：专业大类内按本科/专科/硕士分开 */
.degree-subgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.degree-subgroup-label {
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  padding: 2px 0 4px 4px;
  border-bottom: 1px dashed var(--fill-3);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.student-push-card {
  min-height: 78px;
  padding: 10px 8px;
  gap: 5px;
  border-radius: 10px;
}

.spc-meta {
  display: flex;
  gap: 4px;
}

.spc-tag {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 10px;
}

.spc-major {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
}

.spc-status {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
}

.push-detail-card {
  background: var(--surface);
  border: 1px solid var(--fill-2);
  border-radius: 12px;
  padding: 14px 16px;
}

.push-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--fill-1);
  padding-bottom: 10px;
}

.push-detail-head h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--sidebar-ink);
}

.push-detail-head p {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
}

.push-left-col::-webkit-scrollbar,
.push-right-col::-webkit-scrollbar {
  width: 6px;
}

.push-left-col::-webkit-scrollbar-thumb,
.push-right-col::-webkit-scrollbar-thumb {
  background: #d5e1ec;
  border-radius: 3px;
}

/* ── 二级审核：左右分栏 + 统计徽章 ── */
.match-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 16px;
  align-items: start;
}

.match-left-col {
  max-height: 74vh;
  overflow-y: auto;
  padding-right: 6px;
}

.match-right-col {
  max-height: 74vh;
  overflow-y: auto;
}

.match-stat-bar {
  display: flex;
  gap: 10px;
  align-items: center;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  box-shadow: 0 2px 8px rgba(30, 50, 70, 0.12);
}

.stat-chip b {
  font-size: 16px;
  font-weight: 800;
}

.stat-need {
  background: #ea8a16;
}

.stat-done {
  background: #1e9b5d;
}

.stat-none {
  background: #8a99a8;
}

@media (max-width: 1150px) {
  .match-layout {
    grid-template-columns: 1fr;
  }

  .match-left-col {
    max-height: 46vh;
  }

  .match-right-col {
    max-height: none;
  }
}

.push-detail-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid;
  border-radius: 12px;
  font-weight: 800;
}

/* 推送详情 Tab 切换 */
.push-tabs {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d5e1ec;
  flex-shrink: 0;
}

.push-tab-btn {
  padding: 7px 14px;
  border: none;
  background: #f5f8fb;
  color: #5a7a94;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.push-tab-btn:hover:not(:disabled) {
  background: #e8f0f7;
  color: #3a5a74;
}

.push-tab-btn.push-tab-active {
  background: #1677ff;
  color: var(--surface);
}

.push-tab-btn.push-tab-active:hover {
  background: #0e6cdb;
}

.push-tab-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.push-selection-toolbar,
.push-send-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #f8fbfd;
}

.push-selection-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
}

.push-send-bar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 14px;
  box-shadow: 0 -6px 20px rgba(38, 71, 97, 0.07);
}

.push-candidate-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.push-candidate {
  display: grid;
  grid-template-columns: 22px 32px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.push-candidate.removing {
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
}

.push-candidate-del {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  padding: 0;
  margin: 0;
  color: #a32d2d;
  background: transparent;
  border: 1px solid #f09595;
  border-radius: 7px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.push-candidate-del:hover {
  opacity: 1;
  background: #a32d2d;
  color: #fff;
}

.push-candidate.checked {
  border-color: #78aee0;
  background: #f2f8fd;
}

.push-candidate input {
  width: 18px;
  height: 18px;
}

.push-candidate-index {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  place-items: center;
  color: #31536b;
  background: #eaf3fb;
  font-weight: 800;
}

.push-candidate-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.push-candidate-main strong {
  color: #24455d;
}

.push-candidate-main small {
  color: var(--muted);
  line-height: 1.5;
}

.candidate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.candidate-links a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.push-message-preview {
  margin-top: 12px;
  line-height: 1.8;
}

.push-message-stack {
  margin-bottom: 12px;
}

@media (max-width: 1500px) {
  .push-layout {
    grid-template-columns: 36% 64%;
  }
}

@media (max-width: 1150px) {
  .push-layout {
    grid-template-columns: 1fr;
  }

  .push-right-col {
    position: static;
    max-height: none;
  }

  .push-left-col {
    max-height: 46vh;
  }
}

@media (max-width: 820px) {
  .push-candidate {
    grid-template-columns: 22px minmax(0, 1fr) 30px;
  }

  .push-candidate-index {
    display: none;
  }
}

/* ---- 推送卡片删除后的撤销提示条 ---- */
.push-undo-bar {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 18px;
  background: #2c2c2a;
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1200;
}

.push-undo-bar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.push-undo-bar button {
  font-size: 12px;
  padding: 4px 12px;
  background: transparent;
  color: #ffd2d2;
  border: 1px solid #ff9090;
  border-radius: 6px;
  cursor: pointer;
}

.push-undo-bar button:hover {
  background: #a32d2d;
  color: #fff;
  border-color: #a32d2d;
}

/* ---- 推送预览编辑面板 ---- */
.message-edit-stack {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.message-edit-item {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #f8fbfd;
  padding: 14px 16px;
}

.message-edit-item > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.92rem;
}

.push-edit-area {
  width: 100%;
  min-height: 90px;
  padding: 10px 12px;
  border: 1px solid #c4d5e3;
  border-radius: 8px;
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  resize: vertical;
  box-sizing: border-box;
}

.push-edit-area:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 104, 180, 0.12);
}

/* ---- 同城圈扩展推荐 ---- */
.extended-section {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #90b4d6;
  border-radius: 12px;
  background: #f0f6fd;
}

.extended-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #537c9e;
  flex-wrap: wrap;
}

.extended-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--blue);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
}

.extended-candidate {
  background: #f7fafd;
  border-color: #c8dae8;
}

.extended-candidate.checked {
  background: #e8f2fc;
  border-color: var(--blue);
}

/* ---- 分类公告型（登录墙后） ---- */
.classified-section {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #c4a8d6;
  border-radius: 12px;
  background: #f9f4fd;
}

.classified-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #7c5c9e;
  flex-wrap: wrap;
}

.classified-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  background: #7b3fa3;
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
}

.classified-candidate {
  background: #faf7fd;
  border-color: #d4c8e4;
}

.classified-candidate.checked {
  background: #f2e8fc;
  border-color: #7b3fa3;
}

/* ── 学生画像管理：顶部统计卡片 ── */
.student-stats {
  padding: 14px 16px 0;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.stats-bar2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.sc {
  background: var(--surface);
  border: 1px solid var(--fill-2);
  border-radius: 12px;
  padding: 12px 14px;
}

.sc .l {
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 5px;
}

.sc .v {
  font-size: 22px;
  font-weight: 800;
  color: var(--sidebar-ink);
  line-height: 1.1;
}

.sc .v.sub {
  font-size: 17px;
}

.sc .h {
  margin-top: 5px;
  font-size: 11px;
  color: #8a99a8;
}

.sc-active {
  background: #eaf3fb;
  border-color: #b5d4f4;
}

.sc-active .v {
  color: #185fa5;
}

.sc-warn {
  background: #fff5e8;
  border-color: #f5d9b0;
}

.sc-warn .v {
  color: var(--amber);
}

.sc-ok {
  background: #eaf6ee;
  border-color: #c4e3cd;
}

.sc-ok .v {
  color: var(--green);
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted-2);
}

.rank-item .nm {
  flex: 0 0 82px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sidebar-ink);
  font-weight: 600;
}

.rank-item .bar {
  flex: 1;
  height: 8px;
  background: var(--fill-1);
  border-radius: 4px;
  overflow: hidden;
}

.rank-item .bar .f {
  height: 100%;
  background: var(--cyan-2);
  border-radius: 4px;
}

.rank-item .cnt {
  flex: 0 0 24px;
  text-align: right;
  font-weight: 800;
  color: var(--sidebar-ink);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-bar2 {
    grid-template-columns: 1fr;
  }
}

/* ===== 补齐此前缺失的样式类 ===== */
.tag-accent {
  background: #fff3cd;
  color: #8a6d00;
  border: 1px solid #f0d27a;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}
.student-push-groups {
  overflow-y: auto;
  padding-right: 4px;
}
.push-overview-panel {
  border: 1px solid var(--line-strong);
}
.pending-review-icon {
  display: inline-block;
  margin-right: 4px;
}

/* ===== 监测地域缺失警示 ===== */
.warn-badge {
  display: inline-block;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #f5b7b1;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}
.row-no-region {
  background: #fff5f4 !important;
}
.row-no-region:hover {
  background: #ffe9e7 !important;
}
.region-alert {
  border-left: 4px solid var(--danger);
}
.spc-warn {
  display: block;
  margin-top: 3px;
  color: var(--danger);
  font-weight: 700;
  font-size: 11px;
  background: var(--danger-soft);
  border: 1px solid #f5b7b1;
  border-radius: 4px;
  padding: 1px 6px;
}


/* ═══════════════════════════════════════════════════════════
   岗位检索中心 —— 查岗系统100%仿制样式（V2 精修版）
   ═══════════════════════════════════════════════════════════ */

.sc-panel { max-width:100%; }
.sc-panel .panel-head { margin-bottom:0; }
.sc-panel .panel-head h3 { font-size:18px; color:#1b2a3a; }
.sc-panel .panel-head p { font-size:12px; color:#888; margin-top:2px; }
.sc-banner { background:linear-gradient(135deg,#e8f4fd,#f0f6ff); border:1px solid #b8daf7; border-radius:8px; padding:10px 16px; margin-bottom:14px; font-size:13px; color:#333; display:flex; align-items:center; gap:6px; }
.sc-banner strong { color:#185fa5; font-weight:700; }

/* ── 双栏搜索表单 ── */
.sc-form { display:grid; grid-template-columns:1fr 1fr; gap:16px 24px; padding:18px 20px; background:linear-gradient(180deg,#f7f9fc,#fff); border:1px solid #e6ebf2; border-radius:10px; margin-bottom:14px; }
.sc-form-col { display:flex; flex-direction:column; gap:11px; }
.sc-field { display:flex; flex-direction:column; gap:5px; }
.sc-field > label:first-child,
.sc-field > span.label-text { font-size:13px; color:#3a4a5c; font-weight:600; letter-spacing:.3px; }
.sc-field input,.sc-field select { padding:9px 12px; border:1px solid #c8d4e3; border-radius:6px; font-size:14px; background:#fff; transition:border .2s, box-shadow .2s; height:38px; box-sizing:border-box; }
.sc-field input::placeholder { color:#aaa; }
.sc-field input:focus,.sc-field select:focus { outline:none; border-color:#185fa5; box-shadow:0 0 0 3px rgba(24,95,165,.12); }

/* ── 级联地域多选器 ── */
.cg-trigger-wrap { position:relative; }
.cg-trigger { display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border:1px solid #c8d4e3; border-radius:6px; background:#fff; cursor:pointer; font-size:14px; min-height:38px; transition:border .2s, box-shadow .2s; }
.cg-trigger:hover { border-color:#185fa5; }
.cg-arrow { color:#888; font-size:12px; flex-shrink:0; margin-left:8px; }
.cg-display { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#333; font-size:14px; min-width:0; }
.cg-display:empty::before { content:'点击选择地域'; color:#999; }
.cg-panel { display:none; position:absolute; z-index:1000; top:100%; left:0; width:540px; background:#fff; border:1px solid #c8d4e3; border-radius:10px; box-shadow:0 8px 30px rgba(0,0,0,.14); margin-top:5px; }
.cg-panel.cg-open { display:block; animation:cgFadeIn .15s ease-out; }
@keyframes cgFadeIn { from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:translateY(0);} }
.cg-body { display:flex; border-bottom:1px solid #eee; min-height:240px; }
.cg-left { width:170px; border-right:1px solid #eee; overflow-y:auto; padding:10px 0; max-height:280px; background:#fafbfc; border-radius:10px 0 0 0; }
.cg-left::-webkit-scrollbar { width:4px; }
.cg-left::-webkit-scrollbar-thumb { background:#ccc; border-radius:2px; }
.cg-right { flex:1; overflow-y:auto; padding:10px 12px; max-height:280px; }
.cg-right::-webkit-scrollbar { width:4px; }
.cg-right::-webkit-scrollbar-thumb { background:#ccc; border-radius:2px; }
.cg-province { display:flex; align-items:center; gap:5px; padding:7px 12px; cursor:pointer; font-size:13px; border-radius:5px; transition:background .12s; }
.cg-province:hover { background:#eef3f9; }
.cg-province.cg-checked { background:#dbeaf9; color:#185fa5; font-weight:600; }
.cg-province input[type=checkbox] { accent-color:#185fa5; width:15px; height:15px; flex-shrink:0; }
.cg-province i { margin-left:auto; color:#aaa; font-size:10px; }
.cg-city { display:inline-flex; align-items:center; gap:4px; padding:5px 10px; margin:3px; border-radius:5px; font-size:13px; cursor:pointer; background:#f5f7fa; transition:background .12s; white-space:nowrap; }
.cg-city:hover { background:#dbeaf9; }
.cg-city input[type=checkbox] { accent-color:#185fa5; width:14px; height:14px; }
.cg-city-empty { display:flex; align-items:center; justify-content:center; height:220px; color:#999; font-size:14px; }
.cg-footer { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; gap:10px; flex-wrap:wrap; border-top:1px solid #f0f2f5; }
.cg-tag { display:inline-flex; align-items:center; gap:3px; padding:3px 8px; background:#dbeaf9; color:#185fa5; border-radius:5px; font-size:12px; font-weight:500; }
.cg-tag button { background:none; border:none; cursor:pointer; color:#999; font-size:14px; line-height:1; padding:0 2px; }
.cg-tag button:hover { color:#c00; }

/* ── Checkbox组 + Radio组（放大清晰版）── */
.sc-checkbox-row { display:flex; gap:28px; padding:14px 20px; background:#fbfcfe; border:1px solid #e6ebf2; border-radius:8px; margin-bottom:14px; flex-wrap:wrap; align-items:flex-start; }
.sc-cb-group { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.sc-cb-label { font-size:13px; color:#3a4a5c; font-weight:700; margin-right:6px; white-space:nowrap; padding-top:6px; }
.sc-cb-group label { display:inline-flex; align-items:center; gap:5px; font-size:13px; color:#444; cursor:pointer; padding:6px 12px; border-radius:5px; border:1px solid transparent; transition:all .12s; user-select:none; min-height:28px; }
.sc-cb-group label:hover { background:#eef3f9; border-color:#d4e0ed; }
.sc-cb-group input[type=checkbox] { accent-color:#185fa5; width:18px; height:18px; flex-shrink:0; cursor:pointer; }
.sc-radio-row { align-items:center !important; }
.sc-radio-group { display:flex; gap:16px; align-items:center; }
.sc-radio-group label { display:inline-flex; align-items:center; gap:4px; font-size:13px; cursor:pointer; padding:4px 8px; user-select:none; }
.sc-radio-group input[type=radio] { accent-color:#185fa5; width:16px; height:16px; }

/* ── 更多搜索展开区 ── */
.sc-extra { padding:14px 20px; background:#fbfcfe; border:1px solid #e6ebf2; border-radius:8px; margin-bottom:14px; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.sc-extra.hidden { display:none; }
.sc-extra .sc-field { margin:0; }

/* ── 操作按钮栏 ── */
.sc-toolbar { display:flex; gap:10px; flex-wrap:wrap; padding:12px 0; margin-bottom:12px; align-items:center; }
.sc-toolbar .btn-sm { padding:7px 16px; font-size:13px; border-radius:6px; font-weight:500; }

/* ── Tab栏 ── */
.sc-tabs-bar { margin-bottom:12px; }
.sc-tabs { display:flex; gap:0; background:#f0f2f5; padding:4px; border-radius:8px; width:fit-content; }
.sc-tab { padding:8px 22px; border:none; background:transparent; cursor:pointer; font-size:13px; border-radius:6px; transition:all .15s; color:#666; font-weight:500; }
.sc-tab:hover { background:#e8ecf1; color:#333; }
.sc-tab.active { background:#fff; color:#185fa5; font-weight:700; box-shadow:0 1px 4px rgba(0,0,0,.08); }

/* ── 统计条 ── */
.sc-stats-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.sc-stat { display:flex; flex-direction:column; align-items:center; min-width:72px; padding:10px 14px; border:2px solid #d4dce6; border-radius:10px; background:#fff; cursor:pointer; transition:all .15s; }
.sc-stat:hover { border-color:#185fa5; background:#eef5fc; transform:translateY(-2px); box-shadow:0 3px 10px rgba(24,95,165,.12); }
.sc-stat-active { border-color:#185fa5; background:#e8f4fc; box-shadow:0 2px 8px rgba(24,95,165,.15); }
.sc-stat-active .sc-stat-num { color:#0d469a; }
.sc-stat-name { font-size:12px; color:#666; font-weight:500; }
.sc-stat-num { font-size:19px; font-weight:800; color:#185fa5; }
.sc-stat-all { background:#f5f7fa; }
.sc-stat-all .sc-stat-num { color:#444; }

/* ── 结果栏 ── */
.sc-resultbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; flex-wrap:wrap; gap:8px; padding:8px 0; }
.sc-count { font-size:14px; color:#444; }
.sc-count strong { color:#185fa5; font-size:17px; font-weight:700; }
.sc-viewtoggle { display:flex; gap:6px; }
.sc-viewtoggle .btn-xs { padding:4px 12px; font-size:12px; border-radius:5px; font-weight:500; }

/* ── 表格（确保可见+美化）── */
.sc-table-wrap { overflow-x:auto; border:1px solid #d4dce6; border-radius:10px; background:#fff; }
.sc-table { width:100%; border-collapse:collapse; font-size:13px; table-layout:auto; }
.sc-table th,.sc-table td { padding:10px 14px; border-bottom:1px solid #eef1f5; text-align:left; vertical-align:middle; }
.sc-table thead th { background:linear-gradient(180deg,#f5f7fa,#eef1f5); color:#3a4a5c; font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.5px; position:sticky; top:0; z-index:2; white-space:nowrap; }
.sc-table th[data-col-idx] { white-space:normal; }
/* 列宽控制：编号窄、企业名称宽且加粗、专业可截断 */
.sc-table th:first-child,.sc-table td:first-child { width:40px; text-align:center; }
.sc-company { display:inline-block; font-weight:700; color:#1b2a3a; min-width:200px; max-width:280px; overflow:hidden; text-overflow:ellipsis; }
.sc-title { display:inline-block; font-weight:600; color:#2c3e50; min-width:140px; max-width:200px; overflow:hidden; text-overflow:ellipsis; }
/* 专业列：支持多行+展开收起 */
.sc-major-text { display:inline-block; word-break:break-all; line-height:1.5; }
.sc-major-long { display:inline-block; }
.sc-major-collapsed { display:inline-block; word-break:break-all; line-height:1.5; }
.sc-major-full { display:inline-block; word-break:break-all; line-height:1.6; }
.sc-major-toggle { display:inline-block; margin-left:6px; padding:1px 8px; font-size:11px; color:#185fa5; background:#eaf3fc; border:1px solid #bdd4ed; border-radius:4px; cursor:pointer; transition:all .12s; white-space:nowrap; }
.sc-major-toggle:hover { background:#185fa5; color:#fff; border-color:#185fa5; }
.sc-desc { max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; display:inline-block; color:#666; }
.sc-link { color:#185fa5; cursor:pointer; text-decoration:none; font-size:12px; font-weight:600; padding:2px 8px; border:1px solid #d4e8f7; border-radius:4px; background:#f0f7ff; transition:all .12s; }
.sc-link:hover { text-decoration:none; background:#185fa5; color:#fff; border-color:#185fa5; }
.sc-own-国企,.sc-own-央企 { color:#12835c; font-weight:700; background:#e7f6ef; padding:2px 8px; border-radius:4px; font-size:12px; }
.sc-own-民企,.sc-own-股份公司 { color:#d35400; font-weight:700; background:#fdf0e6; padding:2px 8px; border-radius:4px; font-size:12px; }
.sc-own-外企 { color:#8e44ad; font-weight:700; background:#f3eafb; padding:2px 8px; border-radius:4px; font-size:12px; }
.sc-own-事业单位 { color:#2980b9; font-weight:700; background:#e8f4fc; padding:2px 8px; border-radius:4px; font-size:12px; }
/* 岗位类型/链接列：一行展示不折叠 */
.sc-table td:nth-child(n+8) { white-space:nowrap; }
.sc-jobtype-cell { display:inline-block; min-width:60px; font-size:12px; color:#555; }
/* 企业维度：岗位可点击 */
.sc-cc-item { cursor:pointer; transition:background .12s; padding:6px 10px !important; border-radius:4px; }
.sc-cc-item:hover { background:#f0f6ff; }
.sc-cc-item .sc-title { font-weight:600; color:#185fa5; min-width:auto; max-width:300px; }
.sc-cc-detail { display:none; margin:8px 14px 12px; padding:14px; background:#f8fafc; border:1px solid #e6ebf2; border-radius:8px; border-left:3px solid #185fa5; }
.sc-cc-detail.cc-open { display:block; }
.sc-detail-row { background:#fafbfd; }
.sc-detail-row td { padding:0; vertical-align:top; }
.job-card-wrap { padding:16px 20px; border-top:2px solid #185fa5; }

/* ── 分页 ── */
.sc-pager { display:flex; align-items:center; justify-content:center; gap:14px; padding:16px; border-top:1px solid #eee; background:#fafbfc; }
.sc-pageinfo { font-size:13px; color:#555; font-weight:500; }
.sc-page-size { font-size:13px; padding:5px 10px; border:1px solid #cdd5df; border-radius:5px; background:#fff; cursor:pointer; }

/* ── 自定义列弹窗 ── */
.cc-modal { display:none; position:fixed; z-index:2000; top:50%; left:50%; transform:translate(-50%,-50%); width:440px; max-height:80vh; background:#fff; border-radius:14px; box-shadow:0 16px 56px rgba(0,0,0,.22); overflow:hidden; }
.cc-modal.cc-open { display:flex; flex-direction:column; animation:ccFadeIn .18s ease-out; }
@keyframes ccFadeIn { from{opacity:0; transform:translate(-50%,-48%) scale(.97);} to{opacity:1; transform:translate(-50%,-50%) scale(1);} }
.cc-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid #eee; }
.cc-head strong { font-size:16px; color:#1b2a3a; }
.cc-head small { color:#888; font-size:12px; }
.cc-close { background:none; border:none; font-size:22px; cursor:pointer; color:#bbb; line-height:1; padding:0 4px; border-radius:50%; width:32px; height:32px; display:flex; align-items:center; justify-content:center; transition:all .12s; }
.cc-close:hover { color:#c00; background:#fef0f0; }
.cc-body { overflow-y:auto; padding:6px 0; max-height:52vh; }
.cc-row { display:flex; align-items:center; gap:12px; padding:12px 20px; border-bottom:1px solid #f5f5f5; transition:bg .12s; }
.cc-row:hover { background:#fafbfc; }
.cc-drag { color:#ddd; cursor:grab; font-size:16px; }
.cc-name { flex:1; font-size:14px; color:#333; font-weight:500; }
.cc-toggle { display:flex; align-items:center; cursor:pointer; }
.cc-toggle input { display:none; }
.cc-switch { display:inline-block; width:40px; height:24px; border-radius:12px; background:#ddd; position:relative; transition:background .2s; cursor:pointer; }
.cc-switch::after { content:''; position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,.18); transition:transform .2s; }
.cc-toggle input:checked + .cc-switch { background:#185fa5; }
.cc-toggle input:checked + .cc-switch::after { transform:translateX(16px); }
.cc-foot { padding:14px 20px; border-top:1px solid #eee; text-align:right; }

/* Empty state */
.empty-state { text-align:center; padding:48px 20px; color:#999; font-size:15px; }

/* ═══════════════════════════════════════════════════════════
   学员精准审核 —— 企业性质分组计数（高可见性 V2）
   ═══════════════════════════════════════════════════════════ */

.spc-owns { display:flex; flex-wrap:wrap; margin-top:8px; gap:5px; }
.spc-own { 
  display:inline-flex; align-items:center; gap:3px;
  padding:4px 11px; border-radius:6px;
  font-size:13px; font-weight:700;
  white-space:nowrap; letter-spacing:.3px;
  box-shadow:0 1px 3px rgba(0,0,0,.06);
  transition:transform .12s, box-shadow .12s;
}
.spc-own:hover { transform:translateY(-1px); box-shadow:0 3px 8px rgba(0,0,0,.1); }
.spc-own-国企, .spc-own-央企 { background:linear-gradient(135deg,#d4edda,#c3e6cb); color:#0a582a; border:1px solid#a3d2a3; }
.spc-own-股份公司 { background:linear-gradient(135deg,#d1ecf1,#bee5eb); color:#0c5460; border:1px solid#b6dcef; }
.spc-own-外企 { background:linear-gradient(135deg,#e8daf5,#decefb); color:#5b2c8a; border:1px solid#d0bde8; }
.spc-own-事业单位 { background:linear-gradient(135deg,#fff3cd,#fce8b1); color:#856404; border:1px solid#e0d59a; }
.spc-own-民企, .spc-own-上市公司 { background:linear-gradient(135deg,#f0f0f0,#e2e2e2); color:#555; border:1px solid#ccc; }
.push-own-summary { 
  margin-top:10px; padding:10px 14px; 
  background:#f8f9fa; border:1px solid #e9ecef; border-radius:8px;
  font-size:13px; color:#495057; display:flex; flex-wrap:wrap; gap:6px; align-items:center;
}
.push-own-summary .spc-own { margin:0; font-size:12px; padding:3px 9px; cursor:pointer; }
.push-own-summary .spc-own.clickable:hover { transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,.15); }
.push-own-summary .spc-own-all { background:linear-gradient(135deg,#e9ecef,#dee2e6); color:#495057; border:1px solid #ced4da; }

/* ── 企业维度（按公司聚合）── */
.sc-company-wrap { display:flex; flex-direction:column; gap:14px; padding:16px 0; }
.sc-company-card { border:1px solid #d4dce6; border-radius:12px; overflow:hidden; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.04); transition:box-shadow .15s; }
.sc-company-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); }
.sc-cc-head { display:flex; align-items:center; gap:12px; padding:12px 16px; background:linear-gradient(180deg,#f7f9fc,#fff); border-bottom:1px solid #eef1f5; }
.sc-cc-head .sc-company { font-weight:700; color:#1b2a3a; font-size:15px; }
.sc-cc-count { margin-left:auto; color:#185fa5; font-weight:700; font-size:14px; background:#eef5fc; padding:3px 10px; border-radius:5px; }
.sc-cc-list { padding:8px 16px 14px; display:flex; flex-direction:column; gap:3px; }
.sc-cc-item { display:flex; gap:12px; align-items:baseline; padding:7px 0; border-bottom:1px dashed #eef1f5; font-size:13px; }
.sc-cc-item:last-child { border-bottom:none; }
.sc-cc-item .sc-title { color:#1b2a3a; font-weight:600; min-width:170px; }
.sc-cc-item .sc-meta { color:#777; font-size:12px; }

/* Responsive */
@media(max-width:900px){
  .sc-form{ grid-template-columns:1fr; }
  .sc-form-col{ min-width:unset; }
  .cg-panel{ width:100%; left:0; }
  .cg-body{ flex-direction:column; }
  .cg-left{ width:100%; border-right:none; border-bottom:1px solid #eee; max-height:160px; }
  .cg-right{ max-height:160px; }
  .sc-extra{ grid-template-columns:1fr; }
}

/* ========== 省市级联地域选择器 ========== */
.region-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region-picker-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.region-prov-select {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #d8e4ee;
  border-radius: 9px;
  color: #294a65;
  background: white;
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}
.region-prov-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}
.region-btn-secondary {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.region-btn-secondary:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.region-city-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
  padding: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  max-height: 140px;
  overflow-y: auto;
  align-content: flex-start;
}
.region-city-panel:empty::after {
  content: "请先选择省份";
  color: #94a3b8;
  font-size: 12px;
  font-style: italic;
  line-height: 28px;
}
.region-city-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  cursor: pointer;
  user-select: none;
  transition: all 0.12s;
  line-height: 1.4;
}
.region-city-item:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}
.region-city-item.selected {
  color: #fff;
  background: #3b82f6;
  border-color: #3b82f6;
}
.region-city-item.selected:hover {
  background: #2563eb;
  border-color: #2563eb;
}
.region-selected-area {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.region-selected-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  padding-top: 5px;
}
.region-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px 3px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #1e40af;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 14px;
  line-height: 1.4;
}
.region-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 13px;
  font-weight: 700;
  color: #60a5fa;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin-left: 2px;
}
.region-tag-remove:hover {
  color: #fff;
  background: #ef4444;
  border-radius: 50%;
}
.region-tag-nation {
  color: #fff;
  background: #16a34a;
  border-color: #16a34a;
  font-weight: 700;
}
.region-tag-nation .region-tag-remove {
  color: #bbf7d0;
}
.region-tag-nation .region-tag-remove:hover {
  color: #fff;
  background: #dc2626;
}
/* 选中「全国」后禁用全选省按钮 */
.region-btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
}

/* 【2026-09-04 T5】企业维度分页条与超量岗位提示 */
.sc-company-wrap .sc-pager { justify-content:center; gap:12px; padding:10px 0; background:transparent; border-top:0; }
.sc-pager .sc-pager-info { color:#64748b; font-size:13px; }
.sc-pager .btn[disabled] { opacity:.45; cursor:not-allowed; }
.sc-cc-more { padding:6px 10px; color:#94a3b8; font-size:12px; }

/* ============ 【2026-09-04 T1】单位×城市 聚合卡 ============ */
.agg-title { font-size:16px; color:#0f2a43; }
.agg-sub { font-weight:normal; }
.agg-count { background:#eaf2fb; color:#185fa5; border:1px solid #bcd6ef; font-weight:600; }
.agg-preview { display:flex; flex-direction:column; gap:2px; padding:8px 14px; background:#f8fafc; border-radius:6px; margin:4px 0; }
.agg-preview-row { display:flex; justify-content:space-between; gap:12px; padding:4px 2px; border-bottom:1px dashed #e2e8f0; font-size:13px; cursor:pointer; }
.agg-preview-row:last-child { border-bottom:0; }
.agg-preview-row:hover { background:#eef6ff; }
.agg-prev-title { color:#185fa5; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.agg-prev-dead { color:#64748b; white-space:nowrap; }
.agg-preview-more { color:#94a3b8; font-size:12px; padding:2px; }
.agg-toolbar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; padding:8px 0 0; border-top:1px solid #edf2f7; margin-top:8px; }
.agg-rows { display:flex; flex-direction:column; gap:8px; margin-top:8px; }
.match-mini { padding:8px 12px !important; margin:0 !important; box-shadow:none !important; border:1px solid #e2e8f0 !important; border-radius:8px; }
.mini-title { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mini-job { font-weight:600; color:#0f2a43; }
.mini-meta { color:#64748b; font-size:12px; margin:4px 0; }
.mini-reason { color:#334155; font-size:12px; background:#f8fafc; border-left:3px solid #bcd6ef; padding:4px 8px; border-radius:0 4px 4px 0; }
.mini-actions { display:flex; gap:6px; align-items:center; margin-top:6px; flex-wrap:wrap; }
.match-checkbox-wrap { display:inline-flex; }
.agg-rows .match-mini .btn { padding:2px 8px; font-size:12px; }
