/* ============ 全局：简约专业风格（蓝白灰） ============ */
:root {
  --primary: #1f4e8c;
  --primary-light: #3a6bb5;
  --accent: #2b8a6e;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #2c3e50;
  --text-light: #7f8c9b;
  --border: #e4e9f0;
  --chong: #d64545;
  --wen: #e6a23c;
  --bao: #2b8a6e;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}
a { text-decoration: none; color: var(--primary); }

.page-header {
  background: linear-gradient(135deg, #1f4e8c 0%, #2e6db4 100%);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-header .logo { font-size: 20px; font-weight: 600; letter-spacing: 1px; }
.page-header .logo span { font-size: 13px; font-weight: 300; opacity: .85; margin-left: 12px; }
.page-header .user-area { display: flex; align-items: center; gap: 10px; color: #dce9f7; }

.page-body { max-width: 1200px; margin: 18px auto; padding: 0 16px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(31,78,140,.06);
}
.card-title { font-size: 16px; font-weight: 600; color: var(--primary); margin: 0 0 14px; }
.muted { color: var(--text-light); font-size: 12px; }

/* ============ 管理端-数据管理：工具块统一样式（从上到下规范整齐、靠左摆放） ============ */
.data-tool {
  margin-top: 20px;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}
.data-tool-title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.data-desc { color: var(--text-light); font-size: 12px; line-height: 1.6; margin-bottom: 10px; }
.data-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.data-tool-result {
  white-space: pre-wrap; line-height: 1.7; font-size: 13px;
  background: #f8fbf8; border: 1px solid #d7e8d7; border-radius: 8px; padding: 10px;
  margin-top: 10px;
}

/* 标签 */
.tag-chip { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; margin-right: 6px; }
.tag-chong { background: #fbeaea; color: var(--chong); }
.tag-wen   { background: #fdf3e0; color: var(--wen); }
.tag-bao   { background: #e4f3ed; color: var(--bao); }
.tag-none  { background: #eceff3; color: #8a94a3; }

/* 统计条 */
.stat-bar { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 120px; text-align: center; padding: 12px; border-radius: 8px; }
.stat-item .num { font-size: 26px; font-weight: 700; }
.stat-item .label { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.stat-chong { background: #fbeaea; } .stat-chong .num { color: var(--chong); }
.stat-wen   { background: #fdf3e0; } .stat-wen .num { color: var(--wen); }
.stat-bao   { background: #e4f3ed; } .stat-bao .num { color: var(--bao); }

/* 偏好已选窗口 */
.pref-window {
  border: 1px dashed var(--primary-light);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  background: #f8fbff;
}
.pref-item {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 3px 8px 3px 12px; margin: 4px 6px 4px 0;
}
.pref-item .del { cursor: pointer; color: var(--chong); margin-left: 6px; font-weight: 700; }
.pref-item .up, .pref-item .down { cursor: pointer; color: var(--primary-light); margin-left: 4px; }

/* 登录页 */
.login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #16375f 0%, #1f4e8c 55%, #2e6db4 100%);
}
.login-card {
  width: 420px;
  max-width: 92vw;
  background: #fff;
  border-radius: 14px;
  padding: 40px 38px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.login-title { font-size: 22px; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 6px; }
.login-sub { text-align: center; color: var(--text-light); font-size: 12px; margin-bottom: 22px; }
/* 登录输入框更清晰：加大字号，保证输入内容/占位符可见 */
.login-card .el-input__inner {
  font-size: 16px;
}
.login-card .el-input__wrapper {
  padding: 4px 14px;
}
.login-card .el-form-item__label {
  font-size: 15px;
}
/* 注册链接 hover 变色效果 */
.login-card .el-link {
  font-size: 14px;
  transition: color .2s ease, transform .2s ease;
}
.login-card .el-link:hover {
  color: #e6a23c !important;
  font-weight: 600;
  transform: scale(1.05);
}
/* 登录书签：小程序登录（默认）/ 用户名登录 */
.login-tabs {
  display: flex;
  border-bottom: 1px solid #e5eaf1;
  margin: 0 0 18px;
}
.login-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0 12px;
  font-size: 15px;
  color: #7a8699;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  user-select: none;
}
.login-tab:hover { color: var(--primary); }
.login-tab.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
/* 注册页面（全屏，高级感） */
.reg-card {
  width: 520px;
  max-width: 94vw;
  max-height: 88vh;
  overflow-y: auto;
}
.reg-wrap {
  background: linear-gradient(160deg, #12304f 0%, #1f4e8c 45%, #256a9c 100%);
}
.reg-card .el-form-item { margin-bottom: 16px; }
.reg-card .el-form-item__label { font-weight: 500; }
/* 注册页输入框更大更清晰（含验证码输入框），便于输入 */
.reg-card .el-input__inner {
  font-size: 16px;
}
.reg-card .login-title { font-size: 24px; }
.reg-card::-webkit-scrollbar { width: 6px; }
.reg-card::-webkit-scrollbar-thumb { background: #c6d2e2; border-radius: 3px; }

/* 登录表单元素居中：标签居中、输入框与按钮统一宽度并水平居中 */
.login-card .el-form { width: 100%; }
.login-card .el-form-item { margin-bottom: 20px; }
.login-card .el-form-item__label {
  justify-content: center;
  text-align: center;
  width: 100%;
  font-weight: 500;
  color: var(--text);
}
.login-card .el-form-item__content {
  justify-content: center;
  width: 100%;
}
.login-card .el-input {
  width: 100%;
}
.login-card .el-button {
  width: 100%;
  margin-top: 4px;
}

/* 微信一键登录按钮 */
.login-card .el-button--success { letter-spacing: 2px; font-weight: 600; }
/* “或使用账号密码登录”分隔线 */
.login-divider {
  display: flex; align-items: center; gap: 12px;
  color: #a0a8b5; font-size: 12px; margin: 12px 0 4px;
}
.login-divider::before, .login-divider::after {
  content: ''; flex: 1; height: 1px; background: #e5eaf1;
}
/* 登录页 ICP 备案号公示 */
.login-icp { text-align: center; margin-top: 16px; }
.login-icp a {
  color: #8a97a8; font-size: 12px; text-decoration: none;
}
.login-icp a:hover { color: var(--primary); }

/* 注册页微信授权卡片 */
.reg-wx-card {
  background: #f7fafd; border: 1px dashed #b7d4f2; border-radius: 10px;
  padding: 16px; text-align: center;
}
.reg-wx-ok {
  background: #eefaf3; border: 1px solid #b7e3cd; border-radius: 10px;
  padding: 14px 16px;
}

/* 表格优化 */
.el-table { border-radius: 6px; }
.el-table th { background: #f0f4f9 !important; color: var(--primary) !important; }

/* 移动端适配 */
@media (max-width: 768px) {
  .page-header { padding: 12px 14px; }
  .page-header .logo { font-size: 16px; }
  .page-body { padding: 0 8px; }
  .card { padding: 14px; }
}

/* 隐藏横向滚动条优化 */
.el-table__body-wrapper::-webkit-scrollbar { height: 6px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #c6d2e2; border-radius: 4px; }

/* ============ 首页测评入口卡片 ============ */
.test-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.test-entry {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s ease;
}
.test-entry:hover {
  border-color: var(--primary-light);
  background: #eef4fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(31, 78, 140, .12);
}
.test-entry-icon { font-size: 34px; margin-bottom: 8px; }
.test-entry-name { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 4px; }
.test-entry-desc { font-size: 12px; color: var(--text-light); }
.test-entry-pro {
  background: linear-gradient(135deg, #eef4fc 0%, #fdf3e0 100%);
  border-color: #e6c37a;
}
.test-entry-pro:hover { border-color: #e6a23c; background: #fdf3e0; }

/* 功能导航卡：整体高度压缩约 1/3 */
.nav-card .test-entry-grid { gap: 10px; }
.nav-card .test-entry {
  padding: 12px 12px;
}
.nav-card .test-entry-icon { font-size: 22px; margin-bottom: 4px; }
.nav-card .test-entry-name { font-size: 14px; margin-bottom: 2px; }
.nav-card .test-entry-desc { font-size: 11px; }

/* ============ 用户下拉信息面板（不透明） ============ */
.user-trigger {
  cursor: pointer;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  user-select: none;
}
.user-trigger:hover { background: rgba(255, 255, 255, .15); }
.user-dropdown {
  background: #ffffff !important;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  padding: 14px 16px;
  min-width: 220px;
  opacity: 1 !important;
}
.user-dropdown-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.user-dropdown-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
}
.user-dropdown-row .k { color: var(--text-light); }
.user-dropdown-tip {
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px dashed var(--border);
  margin-top: 8px;
  padding-top: 8px;
}

/* ============ 所有提交按钮水平居中 ============ */
.el-form .el-form-item:last-child .el-form-item__content {
  display: flex !important;
  justify-content: center !important;
}
.center-btn-row { text-align: center !important; position: relative; z-index: 10; }
.center-btn-row .el-button { margin: 0 4px; }

/* 候选院校专业表：外层容器接管滚动（浏览器原生滚动条，规避 EP el-scrollbar 在横向滚动下的渲染缺陷） */
.screening-table-scroll {
  max-height: 560px;
  overflow: auto;
}
.screening-table-scroll .el-table,
.screening-table-scroll .el-table table {
  table-layout: fixed; /* 列宽严格按 width 渲染，长内容不再撑破表格 */
}
/* 纵向滚动时表头吸顶，横向滚动时表头随表体移动（与表格同宽） */
.screening-table-scroll .el-table__header-wrapper {
  position: sticky;
  top: 0;
  z-index: 2;
}
/* 行间细线：每一行之间用细线分隔（配合 border 属性显示完整表格线） */
.screening-table-scroll .el-table__body tr.el-table__row > td {
  border-bottom: 1px solid #e4e9f0;
}
.screening-table-scroll .el-table__body tr.el-table__row:last-child > td {
  border-bottom: 1px solid #e4e9f0;
}
.screening-table-scroll .el-table__cell .cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screening-table-scroll .el-table__cell .cell .muted {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0;
}
.lang-option {
  border: 2px solid #2b8a6e;
  border-radius: 6px;
  padding: 6px 16px;
  min-width: 120px;
  text-align: center;
  color: #2b8a6e;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: all .15s ease;
}
.lang-option:hover {
  background: #e4f3ed;
}
.lang-option.active {
  background: #2b8a6e;
  color: #fff;
  font-weight: 600;
}


/* ============ 志愿生成方式弹窗 ============ */
.gen-mode-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gen-mode {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gen-mode:hover {
  border-color: var(--primary-light);
  background: #eef4fc;
  transform: translateX(3px);
}
.gen-mode-icon { font-size: 26px; }
.gen-mode-name { font-size: 15px; font-weight: 600; color: var(--primary); min-width: 140px; }
.gen-mode-desc { font-size: 12px; color: var(--text-light); flex: 1; }
/* 智能生成志愿：右侧弹出的方式选择面板 */
.gen-popover-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}
.gen-popover .gen-mode {
  padding: 12px 14px;
}

/* el-link 链接：可点击，光标显示为手指 */
.el-link {
  cursor: pointer !important;
}
.el-link:hover {
  opacity: 0.85;
}
/* 首页"我的测试报告"链接 */
.report-link {
  font-size: 14px;
  cursor: pointer !important;
}
.report-link:hover {
  color: #2b8a6e !important;
  font-weight: 600;
}

/* ============ 全局可点击光标策略：所有交互元素显示手指 ============ */
.el-link, .el-button, .el-radio, .el-radio-button, .el-checkbox, .el-checkbox-button,
.el-select, .el-cascader, .el-dropdown, .el-dropdown-menu__item,
.el-pagination li, .el-pagination button, .el-tabs__item, .el-tag, .el-badge,
.el-switch, .el-dialog__headerbtn, .el-message-box__headerbtn, .el-drawer__close-btn,
.el-card, .el-breadcrumb__inner, .el-upload, .el-tooltip, .el-popover,
.el-menu-item, .el-sub-menu__title,
.test-entry, .gen-mode, .lang-option, .user-trigger,
.score-actions .el-button, .back-home-bar .el-button,
.center-btn-row .el-button, .filter-option {
  cursor: pointer;
}

/* ============ 返回按钮统一位置：右上角 + 右下角 ============ */
.back-home-bar {
  display: flex;
  justify-content: flex-end;   /* 右上角 */
  margin-bottom: 12px;
}
.back-home-bar .el-button {
  margin: 0;
}
/* 右下角固定悬浮返回按钮 */
.float-back-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(31, 78, 140, .3);
}
/* 弹窗右上角关闭按钮 */
.el-dialog__headerbtn i, .el-message-box__headerbtn i, .el-drawer__close-btn i {
  cursor: pointer;
}

/* 招生高校筛选面板 */
.filter-panel {
  background: #f8fafd;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.filter-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.filter-panel-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
}
.filter-panel-count {
  font-size: 12px;
  color: var(--text-light);
  background: #eef3fa;
  padding: 2px 12px;
  border-radius: 12px;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  padding: 6px 0;
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}
.filter-divider {
  width: 1px;
  height: 26px;
  background: var(--border);
}
.filter-spacer {
  flex: 1;
}
/* 选项框（带边框、可滚动、选中显示在框上方） */
.filter-block-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}
.filter-block {
  flex: 1 1 240px;
  min-width: 220px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.filter-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.filter-selected {
  font-size: 12px;
  color: var(--primary);
  background: #e8f0fb;
  padding: 1px 10px;
  border-radius: 10px;
  max-width: 130px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 96px;
  overflow-y: auto;
  padding: 4px 2px;
}
.filter-options-scroll {
  max-height: 96px;
}
.filter-option {
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
  color: var(--text);
  user-select: none;
  transition: all .15s;
  white-space: nowrap;
}
.filter-option:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-option.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.school-tip {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* 专业分类分层展示 */
.major-crumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
  padding: 8px 12px;
  background: #f6f9fd;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.crumb-sep { color: var(--text-light); margin: 0 4px; }
.crumb-current { font-weight: 600; color: var(--primary); }
.major-level-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 14px;
}
.major-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.major-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .2s ease;
  background: #f8fbff;
}
.major-card:hover {
  border-color: var(--primary-light);
  background: #eef4fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(31, 78, 140, .1);
}
/* 该层级下已有选中记录时卡片变色 */
.major-card.selected {
  border-color: #2b8a6e;
  background: #eefaf4;
  box-shadow: inset 0 0 0 1px rgba(43, 138, 110, .35);
}
.major-card.selected:hover {
  background: #e4f5ec;
}
.major-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.major-card-desc {
  font-size: 11px;
  color: var(--text-light);
}
.major-card-code {
  font-size: 11px;
  font-weight: 400;
  color: #a0a6b2;
  margin-left: 4px;
  white-space: nowrap;
}
/* 文/理/工分组 */
.major-group-block {
  margin-bottom: 16px;
}
.major-group-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
}
.grp-文科 { background: #fdeaea; color: #c05a5a; border: 1px solid #f0c9c9; }
.grp-理科 { background: #e8effb; color: #2c6fce; border: 1px solid #c5d8f5; }
.grp-工科 { background: #e4f3ed; color: #2b8a6e; border: 1px solid #b7e0cf; }
.grp-其他 { background: #f5f2e8; color: #a08a3a; border: 1px solid #e5d8b8; }

/* 招生学校原生表格 */
.table-scroll {
  max-height: 540px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.plain-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}
.plain-table th {
  background: #f2f6fb;
  color: var(--text);
  font-weight: 600;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 1;
}
.plain-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f2f5;
}
.plain-table tbody tr:hover {
  background: #f6f9fd;
}
.plain-table tbody tr:nth-child(even) {
  background: #fafbfd;
}
.plain-table tbody tr:nth-child(even):hover {
  background: #f2f6fb;
}
.plain-table-empty {
  text-align: center;
  color: var(--text-light);
  padding: 24px !important;
}

.school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.school-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  transition: all .2s ease;
}
.school-card.checked {
  border-color: #2b8a6e;
  background: #f2faf6;
  box-shadow: 0 2px 8px rgba(43, 138, 110, .15);
}
.school-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.school-name { font-size: 15px; font-weight: 600; color: var(--primary); flex: 1; }
.school-city { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.uni-type-tag {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
  background: #f0f4f9;
  color: var(--text-light);
}
.ut-普通本科 { background: #e4f3ed; color: #2b8a6e; }
.ut-职业本科 { background: #e6f4f7; color: #1e88b8; }
.ut-高职专科 { background: #fdf3e0; color: #c07f1a; }
.ut-艺术类 { background: #f6e8f5; color: #a55ca5; }
.ut-公务员 { background: #e8f0fb; color: #2f6bc1; }
.ut-军士 { background: #fdf3e0; color: #a05c1a; }
/* 办学性质标签 */
.pp-tag {
  font-size: 12px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-block;
}
.pp-gong { background: #e4f3ed; color: #2b8a6e; border: 1px solid #b7e0cf; }
.pp-min  { background: #fdf0e6; color: #c07f1a; border: 1px solid #f0d5b8; }
.pp-wai  { background: #e8effb; color: #2c6fce; border: 1px solid #c5d8f5; }

/* 高考成绩提交后信息展示 */
.score-panel {
  display: flex;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  align-items: flex-start;
}
.score-form-col {
  flex: 1 1 44%;
  min-width: 260px;
}
.score-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}
.score-actions .el-button {
  flex: 0 0 auto;
  margin: 0;
}
.score-result-col {
  flex: 1 1 56%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}
.score-submitted {
  padding: 14px 18px;
  background: #f0f9f4;
  border: 1px solid #b7e0cf;
  border-radius: 8px;
}
.score-submitted-empty {
  background: #fafbfc;
  border: 1px dashed #d5d9de;
}
.score-submitted-title {
  font-weight: 600;
  color: #2b8a6e;
  margin-bottom: 8px;
}
.score-submitted-row {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  font-size: 13px;
}
.score-submitted-row .k {
  color: var(--text-light);
  min-width: 70px;
}
@media (max-width: 768px) {
  .score-panel { flex-direction: column; }
  .score-form-col, .score-result-col { width: 100%; min-width: 0; }
}
.school-row {
  display: flex;
  gap: 6px;
  padding: 3px 0;
  font-size: 12px;
  line-height: 1.6;
}
.school-row .k { color: var(--text-light); min-width: 72px; flex-shrink: 0; }
.school-row .v { color: var(--text); }
.jobinfo-title .k {
  color: var(--primary);
  font-weight: 600;
  width: 100%;
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 4px;
}
.school-row a.link { color: var(--primary); text-decoration: underline; }
.major-config-row {
  cursor: pointer;
  align-items: center;
}
.major-config-row:hover .v { color: var(--primary); }
.major-config-arrow {
  font-size: 11px;
  color: var(--primary);
  margin-left: 6px;
}
.school-majors {
  margin: 6px 0 8px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  background: #fafcff;
}
.school-majors .plain-table th { font-size: 11px; }
.school-majors .plain-table td { font-size: 12px; }
.school-foot {
  margin-top: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  text-align: right;
}

/* ============ 学校卡片横向标签（特色重点班 / 校园招聘情况） ============ */
.card-tabs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  flex-wrap: wrap;
}
.card-tab {
  cursor: pointer;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 14px;
  background: #f0f4f9;
  color: var(--text-light);
  border: 1px solid transparent;
  transition: all .15s ease;
  user-select: none;
  white-space: nowrap;
}
.card-tab:hover {
  background: #e6eef8;
  color: var(--primary);
}
.card-tab.active {
  background: #e8f0fb;
  border-color: #c5d8f5;
  color: var(--primary);
  font-weight: 600;
}
.card-tab-panel {
  margin-top: 6px;
}
/* ============ 特色重点班（学校卡片内） ============ */
.sc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.sc-item {
  border: 1px solid #e3ebf6;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fbfdff;
}
.sc-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-item-name {
  font-weight: 600;
  color: #1f4e8c;
  font-size: 13px;
}
.sc-item-summary {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.sc-item-foot {
  margin-top: 4px;
}
.sc-item-detail {
  margin-top: 6px;
  border-top: 1px dashed #e3ebf6;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-detail-row {
  font-size: 12px;
  color: #444;
  line-height: 1.7;
  word-break: break-word;
  white-space: pre-wrap;
}

/* ============ 校园招聘情况（学校卡片内） ============ */
.job-block {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.job-stat {
  background: #f4f8fd;
  border: 1px solid #e3ebf6;
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  min-width: 0;
}
.job-stat-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-stat-label {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-row {
  display: flex;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
}
.job-row-k {
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 76px;
}
.job-row-v {
  color: var(--text);
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.job-anns {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px dashed var(--border);
  padding-top: 5px;
}
.job-ann {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  color: #3a6bb5;
  text-decoration: none;
  min-width: 0;
}
.job-ann:hover { color: var(--primary); text-decoration: underline; }
.job-ann-date {
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 11px;
  white-space: nowrap;
}
.job-ann-title {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
@media (max-width: 480px) {
  .job-stats { grid-template-columns: repeat(2, 1fr); }
}


/* ============ 消息提示框：屏幕中央显示 + 关闭按钮 ============ */
.el-message {
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-top: 0 !important;
}
.el-message__closeBtn {
  margin-left: 10px;
}

/* 筛选条件已选标签（可点击移除） */
.sel-chip {
  display: inline-block;
  background: #1f4e8c;
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  padding: 1px 6px;
  margin: 1px 4px 1px 0;
  cursor: pointer;
}
.sel-chip:hover {
  background: #d64545;
}



/* ============ 整表排序：优先级策略列表 ============ */
.plan-sort-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-sort-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  padding: 12px 14px;
  transition: all .2s;
}
.plan-sort-row.sort-disabled {
  opacity: .6;
  background: #fafbfc;
}
.sort-rank {
  flex: 0 0 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #eaf2ff;
  color: #2f6fd6;
  border-radius: 50%;
  font-weight: 700;

.sort-params-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

  font-size: 14px;
  margin-top: 2px;
}
.sort-body {
  flex: 1;
  min-width: 0;
}
.sort-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.sort-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sort-title b {
  font-size: 14px;
}
.sort-title .muted {
  font-size: 12px;
}
.sort-arrows {
  display: flex;
  gap: 0;
  flex: 0 0 auto;
}
.sort-arrows .el-button {
  margin-left: 0;
  font-size: 12px;
}
.sort-params {
  margin-top: 8px;
}



/* ============ 志愿表编辑区表格滚动条增强（固定列横向滚动可见） ============ */
.plan-edit-table .el-table__body-wrapper::-webkit-scrollbar {
  height: 14px;
  width: 14px;
}
.plan-edit-table .el-table__body-wrapper::-webkit-scrollbar-thumb {
  background: #b6c4d8;
  border-radius: 7px;
  border: 3px solid #fff;
}
.plan-edit-table .el-table__body-wrapper::-webkit-scrollbar-thumb:hover {
  background: #8fa4c0;
}
.plan-edit-table .el-table__body-wrapper::-webkit-scrollbar-track {
  background: #f1f4f9;
}
.plan-edit-table .el-table__body-wrapper::-webkit-scrollbar-corner {
  background: #f1f4f9;
}

/* ============ 移动端适配（手机 / 平板） ============ */
@media (max-width: 768px) {
  /* 页面主体 */
  body { overflow-x: hidden; }
  .page-body { padding: 0 6px; margin: 10px auto; }
  .card { padding: 12px; margin-bottom: 10px; }

  /* 页头：紧凑布局，可换行 */
  .page-header { flex-wrap: wrap; gap: 4px 8px; padding: 10px 12px; }
  .page-header .logo { font-size: 15px; }
  .page-header .logo span { display: none; }
  .page-header .user-area { font-size: 12px; gap: 6px; }

  /* 登录 / 注册卡片 */
  .login-card, .reg-card { padding: 24px 16px; }
  .login-title { font-size: 19px; }

  /* 对话框：窄屏几乎全宽 + 内容可滚动 */
  .el-dialog { width: 94vw !important; }
  .el-dialog__body { max-height: 72vh; overflow-y: auto; }

  /* 网格：手机优先单列 / 两列 */
  .test-entry-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nav-card .test-entry { padding: 10px 6px; }
  .school-grid { grid-template-columns: 1fr; }
  .major-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-bar { gap: 8px; }
  .stat-item { min-width: 90px; padding: 8px 4px; }
  .stat-item .num { font-size: 20px; }

  /* 表格：父容器防止横向溢出，表格自适应宽度 */
  .el-table { width: 100%; }
  .card .el-table__body-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* 内联表单（筛选条 / 查询条）：窄屏逐行堆叠 */
  .el-form--inline .el-form-item {
    display: flex;
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }
  .el-form--inline .el-form-item__content { flex: 1; }
  .el-form--inline .el-select { width: 100% !important; max-width: none !important; }

  /* 按钮组：允许换行，避免挤压 */
  .center-btn-row .el-button, .score-actions { margin-bottom: 6px; }
  .center-btn-row .el-button { margin-left: 2px; margin-right: 2px; }

  /* 描述列表：允许横向滚动 */
  .el-descriptions__body { overflow-x: auto; }

  /* 后台横向菜单：允许横向滑动 */
  .el-menu--horizontal { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }

  /* 志愿表操作列 / 表格列多的场景：最小宽度保证可读，允许横向滚动 */
  .el-table .el-table__cell { white-space: normal; }

  /* 下拉面板 */
  .user-dropdown { min-width: 180px; }

  /* 悬浮返回按钮大小 */
  .float-back-btn { width: 40px; height: 40px; line-height: 40px; font-size: 18px; }
}

@media (max-width: 480px) {
  .test-entry-grid { grid-template-columns: 1fr 1fr; }
  .test-entry-icon { font-size: 24px; }
  .test-entry-name { font-size: 13px; }
  .test-entry-desc { font-size: 11px; }
  .card-title { font-size: 15px; margin-bottom: 10px; }
  .major-grid { grid-template-columns: 1fr; }
  .page-header .user-trigger { padding: 4px 6px; font-size: 13px; }
  .page-header .el-button { font-size: 12px; padding: 4px 8px; }
  .el-tag { font-size: 11px !important; }
}

/* ============ 项目进度页（考生端） ============ */
.pt-teacher { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; padding: 8px 12px; background: #f0f7ff; border: 1px dashed #b7d4f2; border-radius: 8px; }
.pt-t-name { font-size: 14px; font-weight: 600; color: #1f4e8c; }
.pt-t-phone { font-size: 13px; color: #c05b2d; }
.ms-tags { display: flex; gap: 6px; overflow-x: auto; padding: 4px 2px 12px; }
.ms-tag { flex: 0 0 auto; font-size: 11px; color: #4a6b8f; background: #f4f9ff; border: 1px solid #dbe7f5; border-radius: 12px; padding: 2px 9px; white-space: nowrap; }
.ms-tag-done { color: #8a93a0; background: #f0f4f9; opacity: .75; }
.pt-head-row { margin: 4px 0 10px; font-size: 14px; font-weight: 600; color: #17375f; }
.milestone-row { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 10px; }
.milestone { flex: 0 0 auto; width: 138px; border: 1px solid #b7d4f2; border-radius: 8px; padding: 10px 8px; background: #f4f9ff; text-align: center; }
.milestone.ms-done { background: #eef7ee; border-color: #a8d8a8; opacity: .72; }
.ms-date { font-size: 15px; font-weight: 700; color: #1f4e8c; }
.ms-done .ms-date { color: #2b8a4e; }
.ms-name { font-size: 12px; color: #4a6b8f; margin: 4px 0; }
.ms-flag { font-size: 11px; color: #8a93a0; }
.pt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e4e9f0; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: #fbfdff; }
.pt-main { flex: 1; min-width: 0; }
.pt-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pt-phase { font-size: 12px; color: #8a6d3b; background: #fdf3e0; border: 1px solid #f0d9a8; border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.pt-name { font-size: 15px; font-weight: 600; color: #17375f; }
.pt-sub { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 5px; font-size: 12px; color: #5b6b7f; }
.pt-deadline { color: #c05b2d; font-weight: 500; }
.pt-left { color: #2b8a6e; font-weight: 500; }
.pt-left.overdue-text { color: #d64545; }
.pt-summary { color: #8a93a0; }
.pt-link { flex: 0 0 auto; }
@media (max-width: 560px) {
  .pt-row { flex-direction: column; align-items: stretch; }
  .pt-link { text-align: right; }
}
