/* ============================================
   南沙零工 · 后台管理系统 样式
   ============================================ */

/* 全局重置（排除 Element Plus 内部元素，避免破坏表格布局） */
:where(html, body, #app, .admin-layout, .admin-aside, .admin-main, .admin-header, h1, h2, h3, h4, h5, h6, p) { margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f0f2f5; min-height: 100vh; }
#app { width: 100%; height: 100vh; }

/* 防止 Vue 挂载前未编译模板闪现 {{ }} */
[v-cloak] { display: none; }

/* ===== 登录页 ===== */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1890ff 0%, #36cfc9 50%, #b37feb 100%);
}
.login-card {
  width: 400px; background: #fff; border-radius: 12px; padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.login-header { text-align: center; margin-bottom: 32px; }
.login-logo {
  display: inline-block;
  width: 56px; height: 56px; border-radius: 12px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.login-header h1 { font-size: 22px; color: #1a1a2e; margin-bottom: 4px; }
.login-header p { font-size: 13px; color: #999; }
.login-actions { display: flex; gap: 12px; margin-top: 8px; }
.login-btn { flex: 1; }
.login-btn-secondary { flex: 1; }
.login-hint { text-align: center; margin-top: 16px; font-size: 12px; color: #bbb; }

/* ===== 管理布局 ===== */
.admin-layout { height: 100vh; }
.admin-aside {
  background: #001529; overflow-y: auto;
  display: flex; flex-direction: column;
}
.aside-brand {
  height: 56px; display: flex; align-items: center; padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand-icon {
  display: inline-block;
  width: 32px; height: 32px; border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  box-sizing: border-box;
  margin-right: 10px;
}
.brand-text { color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.aside-footer {
  margin-top: auto; padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  color: #ffffff80; font-size: 13px;
}

/* 修复 Element Plus menu 图标间距 */
.el-menu-item .el-icon { margin-right: 8px; }

/* Header */
.admin-header {
  background: #fff; border-bottom: 1px solid #e8e8e8;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 20px;
}
.header-left { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 12px; }

/* Main */
.admin-main { background: #f0f2f5; padding: 16px; display: flex; flex-direction: column; overflow-y: auto; flex: 1; min-height: 0; }

/* 确保 el-main 填充宽度 */
.el-main { min-width: 0; }

/* 表格容器：让 el-card 内容充满宽度 */
.admin-main > div > .el-card { width: 100%; }

/* 表格卡片内边距 */
.admin-main .el-card__body { padding: 16px 20px; }

/* 表格表头不换行 */
.admin-main .el-table th > .cell { white-space: nowrap; }

/* ===== 数据看板 ===== */
.stat-cards { margin-bottom: 16px; }
.stat-card { border-radius: 8px; transition: transform 0.2s; }
.stat-card:hover { transform: translateY(-2px); }
.stat-card-inner { display: flex; align-items: center; }
/* 核心数据合并组件块：一块卡片内 3 项并排 */
.stat-block-grid { display: flex; gap: 12px; }
.stat-block-item { flex: 1; min-width: 0; display: flex; align-items: center; }
.stat-block-item .stat-icon { width: 42px; height: 42px; font-size: 20px; margin-right: 10px; }
.stat-block-item .stat-value { font-size: 22px; }
.stat-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-right: 14px; flex-shrink: 0;
}
.stat-info { flex: 1; min-width: 0; }
.stat-value { font-size: 26px; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.stat-label { font-size: 13px; color: #999; margin-top: 2px; }
.stat-delta { font-size: 12px; margin-top: 3px; }
.stat-delta.delta-up { color: #67C23A; }
.stat-delta.delta-down { color: #F56C6C; }
.stat-delta.delta-flat { color: #999; }
.card-title { font-weight: 600; font-size: 14px; color: #333; }
.card-head-flex { display: flex; align-items: center; justify-content: space-between; }
.card-head-sub { font-size: 12px; color: #999; font-weight: 400; }

/* 最近动态：随页面自然滚动，不再限制固定高度，避免被底部任务栏遮挡 */
.activity-card .el-card__body { max-height: none; overflow: visible; }

/* 看板分区标题 */
.dash-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: #1a1a2e;
  margin: 4px 0 12px;
}
.dash-bar { width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg,#FFC174,#F57A2A); }
.dash-block { border-radius: 8px; }

/* 待办 / 今日增量：3 个指标一行 */
.mini-grid { display: flex; gap: 8px; }
.mini-item {
  flex: 1; text-align: center; padding: 16px 8px;
  background: #fafafa; border-radius: 8px;
}
.mini-value { font-size: 26px; font-weight: 700; line-height: 1.2; }
.mini-label { font-size: 13px; color: #888; margin-top: 4px; }

/* 图表容器（canvas 自适应高度） */
.chart-box { position: relative; height: 280px; }

/* 报名转化漏斗 */
.funnel { padding: 6px 0; }
.funnel-row { display: flex; align-items: center; margin-bottom: 16px; }
.funnel-row:last-child { margin-bottom: 0; }
.funnel-label { width: 70px; font-size: 13px; color: #555; flex-shrink: 0; }
.funnel-bar-wrap { flex: 1; background: #f5f5f5; border-radius: 6px; overflow: hidden; height: 30px; }
.funnel-bar {
  height: 100%; border-radius: 6px;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
  transition: width 0.5s ease;
}
.funnel-num { color: #fff; font-size: 12px; font-weight: 600; }
.funnel-value { width: 64px; text-align: right; font-size: 14px; font-weight: 600; color: #1a1a2e; flex-shrink: 0; }
.funnel-rate { width: 60px; text-align: right; font-size: 12px; color: #999; flex-shrink: 0; }

/* 最近动态（行式：时间 + 标签 + 内容） */
.act-list { display: flex; flex-direction: column; }
.act-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px solid #f5f5f5;
}
.act-row:last-child { border-bottom: none; }
.act-time { width: 64px; font-size: 12px; color: #999; flex-shrink: 0; }
.act-tag {
  flex-shrink: 0; font-size: 12px; padding: 1px 8px;
  border-radius: 4px; line-height: 20px;
}
.act-tag-user { color: #409EFF; background: #ecf5ff; }
.act-tag-job { color: #67C23A; background: #f0f9eb; }
.act-tag-app { color: #E6A23C; background: #fdf6ec; }
.act-text {
  flex: 1; min-width: 0; font-size: 13px; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.act-empty { text-align: center; color: #999; font-size: 13px; padding: 24px 0; }

/* ===== 搜索栏 ===== */
.search-bar { margin-bottom: 4px; }
.search-bar .el-col { display: flex; align-items: center; gap: 8px; }
.text-right { justify-content: flex-end !important; }

/* ===== 表格底部 ===== */
.table-footer { display: flex; align-items: center; justify-content: flex-end; margin-top: 16px; }

/* ===== 表头固定（纵向滚动时表头始终可见） ===== */
.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #f5f7fa;
}

/* ===== 名称列固定在最左侧（横向滚动时跟随） ===== */
.admin-table th.col-name,
.admin-table td.col-name {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fff;
}
.admin-table thead th.col-name {
  background: #f5f7fa;
  z-index: 5;
}
.admin-table tbody tr:nth-child(even) td.col-name { background: #fafafa; }
.admin-table tbody tr:hover td.col-name { background: #f0f7ff; }

/* ===== 操作列固定在最右侧 ===== */
.admin-table th:last-child,
.admin-table td:last-child {
  position: sticky;
  right: 0;
  background: #fff;
  z-index: 3;
  box-shadow: -2px 0 4px rgba(0,0,0,0.05);
}
.admin-table thead th:last-child {
  background: #f5f7fa;
  z-index: 6;
}

/* 操作列按钮单行排列（不再上下堆叠） */
.admin-table td:last-child { overflow: visible; white-space: nowrap; }
.op-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; white-space: nowrap; }
.op-actions .el-button { margin: 0; padding-left: 6px; padding-right: 6px; }

/* 工具栏按钮间距 */
.toolbar-btns { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; }
.toolbar-btns .el-upload { display: inline-block; vertical-align: middle; }
.admin-table td.cell-empty {
  position: static;
  box-shadow: none;
}

/* ===== 弹窗内样式 ===== */
.el-dialog .el-select { width: 100%; }
.el-dialog.job-dialog { width: 80vw !important; min-width: 900px !important; max-width: 1200px !important; }
.el-dialog.job-dialog .el-dialog__body { padding-top: 8px; padding-bottom: 8px; }
.el-dialog.job-dialog .el-form-item { margin-bottom: 10px; }
.job-form .el-input-number { width: 100%; }

/* ===== Element Plus 暗色菜单适配 ===== */
.el-menu { border-right: none !important; }
.el-menu-item { font-size: 14px; position: relative; }
.el-menu-item.is-active { background-color: #1890ff !important; }

/* 菜单分组标题 + 缩小菜单项间距 */
.menu-group-title {
  color: #ffffff66;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 14px 20px 6px;
  position: relative;
}
.menu-group-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-aside .el-menu { padding: 4px 0; }
.admin-aside .el-menu-item,
.admin-aside .el-sub-menu__title {
  height: 40px;
  line-height: 40px;
  margin: 1px 8px;
  border-radius: 6px;
  padding-left: 16px !important;
}
.admin-aside .el-sub-menu .el-menu-item { margin-left: 0; padding-left: 32px !important; }

/* ===== 企业认证 ===== */
.ca-detail .el-descriptions__label,
.ca-detail .el-descriptions__cell.is-left {
  min-width: 90px;
  width: 90px;
  white-space: nowrap;
  text-align: right;
  vertical-align: middle;
}
.ca-detail .el-descriptions__content {
  word-break: break-all;
}
.ca-license-wrap { margin-top: 8px; }
.ca-license-img {
  max-width: 100%; max-height: 220px; border: 1px solid #ebeef5; border-radius: 6px;
  cursor: pointer; transition: transform 0.2s;
}
.ca-license-img:hover { transform: scale(1.02); }

/* ===== 原生管理表格 ===== */
.table-wrap { width: 100%; overflow-x: auto; overflow-y: auto; max-height: calc(100vh - 320px); margin-top: 16px; }
.admin-table {
  width: 100%; border-collapse: collapse; table-layout: fixed;
  font-size: 14px; color: #606266; background: #fff;
}
.admin-table thead { background: #f5f7fa; }
.admin-table th {
  padding: 8px 12px; text-align: left; font-weight: 600;
  color: #909399; border-bottom: 1px solid #ebeef5;
  white-space: nowrap; user-select: none; overflow: hidden; text-overflow: ellipsis;
}
.admin-table td {
  padding: 8px 12px; border-bottom: 1px solid #ebeef5;
  vertical-align: middle; overflow: hidden; text-overflow: ellipsis;
}
.admin-table tbody tr:nth-child(even) { background: #fafafa; }
.admin-table tbody tr:hover { background: #f0f7ff; }
.admin-table .ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-table .cell-empty { text-align: center; padding: 40px; color: #909399; font-size: 14px; }

/* ===== 列表所有数据列最小宽度，允许通过表头拖拽调整列宽 ===== */
.admin-table th { min-width: 60px; }
.admin-table th:first-child,
.admin-table td:first-child { min-width: 50px; }

/* ===== 表头拖拽调整列宽 ===== */
.admin-table th { position: relative; }
/* 静止时即显示一条与表格行分隔线同色的浅灰竖线（列与列之间的分隔/拖拽提示） */
.admin-table th .resize-handle {
  position: absolute; right: -4px; top: 0; bottom: 0; width: 8px;
  cursor: col-resize; z-index: 10;
  background: linear-gradient(to right, transparent 3px, #ebeef5 3px, #ebeef5 5px, transparent 5px);
  transition: background 0.15s;
}
.admin-table th .resize-handle:hover {
  background: linear-gradient(to right, transparent 3px, #dcdfe6 3px, #dcdfe6 5px, transparent 5px);
}
.admin-table th .resize-handle.resizing {
  background: linear-gradient(to right, transparent 3px, #c0c4cc 3px, #c0c4cc 5px, transparent 5px);
}

/* 确保主容器链占满视口高度 */
.admin-layout > .el-container { height: 100%; }
.admin-layout > .el-container > .el-main { height: 100%; }

/* ===== 列表页：表格容器向下拉长占满剩余空间，分页贴底 ===== */
.admin-main > .list-page { flex: 1; min-height: 0; height: 100%; display: flex; flex-direction: column; }
.admin-main > .list-page > .el-card { flex: 1; min-height: 0; height: 100%; display: flex; flex-direction: column; width: 100%; }
.admin-main > .list-page > .el-card > .el-card__body { flex: 1; min-height: 0; height: 100%; display: flex; flex-direction: column; padding: 16px 20px; }
.admin-main > .list-page .search-bar { flex-shrink: 0; }
.admin-main > .list-page .table-wrap { flex: 1; min-height: 0; height: 100%; overflow: auto; margin-top: 12px; max-height: none; }
.admin-main > .list-page .table-footer { flex-shrink: 0; margin-top: 16px; }

/* 响应式 */
@media (max-width: 768px) {
  .admin-aside { width: 60px !important; }
  .brand-text, .aside-footer span, .el-menu-item span { display: none; }
}

/* ===== 报名详情弹窗：备注内容展示 ===== */
.app-remark-box {
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
  font-size: 14px;
  color: #303133;
  padding: 8px 12px;
  background: #f7f8fa;
  border-radius: 6px;
  min-height: 40px;
}

/* ===== 左侧菜单：待审核企业红色圆圈提醒 ===== */
.menu-reddot {
  position: absolute;
  top: 8px;
  right: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  background: #f56c6c;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #001529;
  z-index: 2;
  pointer-events: none;
}

/* ===== 删除/录用/拒绝 等确认弹窗：放大并居中 ===== */
.el-message-box.big-confirm {
  width: 460px;
  max-width: 92vw;
}
.el-message-box.big-confirm .el-message-box__title {
  font-size: 18px;
}
.el-message-box.big-confirm .el-message-box__message,
.el-message-box.big-confirm .el-message-box__content {
  font-size: 15px;
  line-height: 1.7;
}
.el-message-box.big-confirm .el-message-box__btns .el-button {
  padding: 9px 20px;
  font-size: 14px;
}

/* ===== 驿站照片上传框 ===== */
.station-uploader .el-upload {
  border: 1px dashed #c0ccda;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
  background: #fafafa;
}
.station-uploader .el-upload:hover { border-color: #409EFF; }
.station-avatar { width: 118px; height: 118px; object-fit: cover; display: block; }
.station-uploader-icon { font-size: 30px; color: #8c939d; }

/* ===== 广告管理 ===== */
.ad-uploader .el-upload {
  border: 1px dashed var(--el-border-color);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--el-transition-duration-fast);
  width: 200px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}
.ad-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}
.ad-uploader-icon {
  font-size: 28px;
  color: #8c939d;
}
.ad-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ad-thumb {
  width: 100px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e4e7ed;
  cursor: pointer;
}

/* ===== 履约详情弹窗：内容内部滚动 ===== */
.fulfill-detail-dialog .el-dialog__body {
  max-height: calc(86vh - 120px);
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 4px;
}

.fulfill-detail-body {
  /* 兜底，确保内容区可被滚动 */
}

/* ===== 评价详情弹窗：标签不换行 ===== */
.ev-descriptions .el-descriptions__label {
  white-space: nowrap;
}
.ev-descriptions .el-descriptions__content {
  word-break: break-all;
}

/* 评价详情弹窗：内容内部滚动（与履约详情一致） */
.ev-detail-dialog .el-dialog__body {
  max-height: calc(86vh - 120px);
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 4px;
}

/* ===== 评价管理：顶部紧凑单行筛选条 ===== */
.ev-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.ev-search-bar .el-input,
.ev-search-bar .el-select {
  /* 宽度通过内联 style 控制，这里仅保证不撑开 */
}
.ev-search-bar .ev-sep {
  color: #909399;
  font-size: 13px;
  line-height: 32px;
}
.ev-search-bar .ev-score-range {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ev-search-bar .ev-export-btn {
  margin-left: auto;
}

/* ============================================================
   全局：详情 / 编辑 弹窗统一为右侧划出抽屉
   （ad-uploader / job-dialog 等原对 el-dialog 的定制需兼容 el-drawer）
   ============================================================ */
.el-drawer { max-width: 100vw; }
.el-drawer .el-select { width: 100%; }
.el-drawer.job-dialog { width: 66.67% !important; }
.el-drawer .el-drawer__header { margin-bottom: 0; padding: 16px 24px; border-bottom: 1px solid #ebeef5; }
.el-drawer .el-drawer__title { font-size: 16px; font-weight: 600; color: #303133; }
.el-drawer .el-drawer__body {
  padding: 20px 24px;
  overflow-y: auto;
}
.el-drawer .drawer-body-inner {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px;
}

/* 抽屉内分区与字段网格（3 个一行） */
.drawer-section { margin-bottom: 14px; }
.drawer-section:last-child { margin-bottom: 8px; }
.drawer-section-title {
  font-size: 15px; font-weight: 600; color: #303133;
  margin-bottom: 10px; padding-left: 10px;
  border-left: 4px solid #F57A2A;
  line-height: 1.3;
}
.drawer-row {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
}
.drawer-field {
  flex: 0 0 calc(33.333% - 11px);
  min-width: 180px;
}
.drawer-field.is-half { flex: 0 0 calc(50% - 8px); min-width: 260px; }
.drawer-label {
  color: #909399; font-size: 13px; margin-bottom: 6px;
}
.drawer-value {
  color: #303133; font-size: 14px; line-height: 1.5;
  word-break: break-all; white-space: pre-wrap;
}
.drawer-value.is-strong { font-weight: 600; }

/* 抽屉底部操作栏：贴底、右对齐 */
.drawer-footer {
  flex-shrink: 0;
  padding: 12px 24px;
  border-top: 1px solid #ebeef5;
  background: #fff;
  text-align: right;
}

/* 抽屉内 el-descriptions 默认改为 3 列，信息更紧凑 */
.el-drawer .el-descriptions { --el-descriptions-item-bordered-label-width: 110px; }
.el-drawer .el-descriptions--border .el-descriptions__body .el-descriptions__table .el-descriptions__cell {
  /* 让多列描述更紧凑 */
}
.el-drawer .el-descriptions:not(.ev-descriptions) { font-size: 14px; }

/* 履约/反馈详情的旧 body 类兜底（已改为抽屉，body 自适应） */
.fulfill-detail-dialog .el-dialog__body,
.ev-detail-dialog .el-dialog__body { max-height: none; overflow: visible; }
.el-drawer .fulfill-detail-body,
.el-drawer .admin-drawer { padding: 0; }

/* 抽屉内图片网格 */
.drawer-img-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.drawer-img-grid .drawer-img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 6px;
  border: 1px solid #ebeef5; cursor: pointer; transition: transform .2s;
}
.drawer-img-grid .drawer-img:hover { transform: scale(1.03); }

/* 图片放大预览弹窗：去白底，图片直接浮在遮罩层上 */
.img-preview-dialog .el-dialog {
  background: transparent;
  box-shadow: none;
  max-width: 90vw;
  min-width: auto;
  width: auto;
}
.img-preview-dialog .el-dialog__header {
  padding: 0;
  margin: 0;
  background: transparent;
  border-bottom: none;
}
.img-preview-dialog .el-dialog__headerbtn {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, .45);
  border-radius: 50%;
  z-index: 1;
}
.img-preview-dialog .el-dialog__headerbtn .el-dialog__close {
  color: #fff;
  font-size: 18px;
}
.img-preview-dialog .el-dialog__body {
  padding: 0;
  text-align: center;
  background: transparent;
}
.img-preview-dialog img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* 抽屉内表单：两列排布更紧凑 */
.el-drawer .el-form-item { margin-bottom: 16px; }
.el-drawer .el-drawer__body .el-form { padding: 4px 0; }

/* 岗位编辑/新增抽屉：3 列表单，分区清爽 */
.drawer-field.is-full { flex: 0 0 100%; }
.job-form .el-form-item__label {
  color: #909399; font-size: 13px; line-height: 1.3; padding-bottom: 3px;
}
.job-form .el-input__wrapper,
.job-form .el-textarea__inner,
.job-form .el-input-number { width: 100%; }
.job-form .el-input-number .el-input__wrapper { width: 100% !important; }
.job-form .el-form-item { margin-bottom: 0; }
.job-form .drawer-field { margin-bottom: 0; }
.job-form .el-select { width: 100%; }

/* ============================================================
   履约详情：双 Tab（当前情况 / 履约记录）
   ============================================================ */
.fulfill-detail-tabs { margin-top: -8px; }
.fulfill-detail-tabs .el-tabs__header { margin-bottom: 16px; }
.fulfill-detail-tabs .el-tabs__content { padding-right: 4px; }

.fulfill-records { padding-bottom: 24px; }

.fr-item {
  border: 1px solid #EBEEF5;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #FFFFFF;
}

.fr-item:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); }

.fr-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #EBEEF5;
  flex-wrap: wrap;
}

.fr-date { font-size: 15px; font-weight: 700; color: #303133; }

.fr-current {
  font-size: 12px;
  color: #F57A2A;
  background: rgba(245, 122, 42, 0.1);
  border: 1px solid rgba(245, 122, 42, 0.3);
  border-radius: 4px;
  padding: 1px 6px;
}

.fr-rows { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.fr-row { flex: 0 0 calc(50% - 12px); display: flex; align-items: baseline; font-size: 13px; }

.fr-k { width: 68px; flex-shrink: 0; color: #909399; }

.fr-v { color: #303133; word-break: break-all; }

.fr-v em { font-style: normal; color: #F57A2A; }

.fr-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #EBEEF5;
}
.fr-photos .drawer-img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 6px;
  border: 1px solid #ebeef5; cursor: pointer; transition: transform .2s;
}
.fr-photos .drawer-img:hover { transform: scale(1.03); }

/* ============================================================
   报名详情 - 简历区块
   ============================================================ */
.app-resume-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.app-resume-intention {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.app-resume-intention span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  color: #303133;
}
.app-resume-intention em {
  font-style: normal;
  color: #909399;
  font-size: 13px;
}

.app-resume-exp { display: flex; flex-direction: column; gap: 10px; }
.are-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  padding: 10px 12px;
  background: #F5F7FA;
  border-radius: 6px;
}
.are-job { font-weight: 600; color: #303133; }
.are-company { color: #606266; }
.are-duration { color: #909399; font-size: 13px; }

/* 抽屉内「无数据 / 历史数据未记录」的灰色提示文案 */
.drawer-value-muted { color: #C0C4CC; font-size: 13px; }

/* ===== 课程详情富文本编辑器（零依赖 contenteditable） ===== */
.rich-editor {
  width: 100%;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  overflow: hidden;
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: #f5f7fa;
  border-bottom: 1px solid #dcdfe6;
}
.rich-btn {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #dcdfe6;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: #303133;
}
.rich-btn:hover { background: #ecf5ff; border-color: #c6e2ff; color: #409eff; }
.rich-content {
  min-height: 200px;
  max-height: 360px;
  overflow-y: auto;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #303133;
  outline: none;
  background: #fff;
}
.rich-content:focus { box-shadow: 0 0 0 2px rgba(64,158,255,0.15) inset; }
.rich-content img { max-width: 100%; height: auto; border-radius: 4px; }
.rich-content a { color: #409eff; }
.rich-content p { margin: 0 0 8px; }
/* 隐藏的原生文件选择器（点击工具栏「图片」触发） */
.rich-file-input { display: none; }
/* 工具栏：分隔线 + 字体/字号下拉 + 颜色选择 */
.rich-divider { width: 1px; height: 20px; background: #dcdfe6; margin: 0 4px; }
.rich-select {
  height: 28px;
  padding: 0 4px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #303133;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.rich-select:hover { border-color: #c6e2ff; }
.rich-select:focus { outline: none; border-color: #FF7A45; }
.rich-color {
  width: 30px;
  height: 28px;
  padding: 1px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.rich-color:hover { border-color: #c6e2ff; }

/* 抽屉内标签行：强制横向排列 + 自动换行（避免被描述表格挤压成竖排） */
.drawer-tag-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.drawer-tag-row .el-tag { margin-right: 0 !important; }

/* ===== 抽屉内「课程详情」富文本只读预览（后台/小程序同源 HTML） ===== */
.rich-preview {
  font-size: 14px;
  line-height: 1.7;
  color: #303133;
  word-break: break-word;
  white-space: normal;
  max-height: 320px;
  overflow-y: auto;
}
.rich-preview p { margin: 0 0 8px; }
.rich-preview ol,
.rich-preview ul { margin: 6px 0; padding-left: 22px; }
.rich-preview li { margin: 3px 0; }
.rich-preview img { max-width: 100%; height: auto; border-radius: 4px; }
.rich-preview a { color: #409eff; }

/* ===== 课程标签：自定义「加标签」编辑器（类似小程序加技能） ===== */
.tag-editor { width: 100%; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; min-height: 24px; align-items: center; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; background: #fff4ec; color: #f57a2a;
  border: 1px solid #ffd9bf; border-radius: 14px; font-size: 13px; line-height: 20px;
}
.tag-chip-close { cursor: pointer; font-style: normal; font-weight: 700; font-size: 14px; color: #f57a2a; }
.tag-chip-close:hover { color: #d9431f; }
.tag-input-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tag-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-suggest-label { color: #909399; font-size: 13px; }
.tag-suggest-item {
  padding: 2px 10px; background: #f4f4f5; color: #606266;
  border: 1px solid #e4e7ed; border-radius: 14px; font-size: 13px; cursor: pointer; line-height: 20px;
}
.tag-suggest-item:hover { background: #ecf5ff; color: #409eff; border-color: #c6e2ff; }

/* 薪资输入框内单位下拉按钮（对齐小程序「元/天」样式） */
.salary-unit-btn {
  color: #F57A2A; font-weight: 600; font-size: 14px;
  cursor: pointer; user-select: none; white-space: nowrap; padding: 0 2px;
}

/* 岗位列表岗位名称：蓝字可点击查看详情 */
.job-title-link {
  color: #1B66FF; cursor: pointer;
}
.job-title-link:hover { text-decoration: underline; }
