/* ========== 基础 ========== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: #333;
  background: #f0f2f5;
  -webkit-font-smoothing: antialiased;
}

/* ========== 手机外框（桌面浏览器） ========== */
.phone-frame {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  margin: 0 auto;
  background: #f5f6f8;
  position: relative;
  box-shadow: 0 0 30px rgba(0,0,0,0.05);
  overflow: hidden;
}
@media (min-width: 600px) {
  body { padding: 20px 0; }
  .phone-frame {
    min-height: calc(100vh - 40px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  }
}

.app-container {
  width: 100%;
  min-height: 100vh;
  background: #f5f6f8;
}

/* ========== 颜色变量 ========== */
:root {
  --primary: #407eff;
  --primary-light: #ecf2ff;
  --success: #2ecc71;
  --warning: #ff9500;
  --danger: #ff4d4f;
  --info: #909399;
  --text-1: #333;
  --text-2: #666;
  --text-3: #999;
  --bg-card: #fff;
  --bg-page: #f5f6f8;
  --border: #f0f0f0;
}

/* ========== 通用工具类 ========== */
.text-center { text-align: center; }
.text-bold { font-weight: 600; }
.text-light { color: var(--text-3); }
.text-link { color: var(--primary); cursor: pointer; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }
.danger { color: var(--danger) !important; }

/* ========== 页面容器 ========== */
.app-page {
  min-height: 100vh;
  background: var(--bg-page);
  padding-bottom: 20px;
}
.has-tabbar { padding-bottom: 70px !important; }
.content { padding: 12px 16px; }

/* ========== 顶部导航 ========== */
.nav-bar {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-back {
  font-size: 28px;
  cursor: pointer;
  width: 32px;
  color: var(--text-1);
  line-height: 1;
}
.nav-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.nav-action {
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
  min-width: 32px;
  text-align: right;
}

/* ========== 卡片 ========== */
.card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.menu-card {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: #f5f6f8; }
.menu-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 12px;
}
.menu-text { flex: 1; font-size: 15px; }
.menu-value { color: var(--text-3); font-size: 13px; }
.menu-arrow { color: #ccc; font-size: 18px; }

/* ========== 表单 ========== */
.form-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.form-row:last-child { border-bottom: none; }
.form-row-clickable { cursor: pointer; }
.form-label {
  width: 80px;
  font-size: 14px;
  color: var(--text-1);
  flex-shrink: 0;
}
.form-label.required::before {
  content: '*';
  color: var(--danger);
  margin-right: 2px;
}
.form-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-1);
  padding: 0;
}
.form-input::placeholder { color: #c0c4cc; }
.form-value { flex: 1; font-size: 14px; color: var(--text-1); }
.form-arrow { color: #ccc; font-size: 18px; }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-item {
  padding: 6px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
}
.radio-item.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.checkbox {
  width: 16px; height: 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox.checked {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox.checked::after {
  content: '✓';
  color: #fff;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
}

.agreement {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-2);
  margin: 12px 0;
  padding: 0 16px;
  gap: 6px;
}
.agreement-text { color: var(--text-2); }
.agreement-link { color: var(--primary); cursor: pointer; }

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: var(--text-1);
  text-align: center;
}
.btn:active { opacity: 0.8; }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-default {
  background: #f5f6f8;
  color: var(--text-1);
}
.btn-block {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
}
.btn-plain {
  background: transparent;
  color: var(--primary);
  border: none;
  padding: 4px 8px;
  font-size: 13px;
}

/* ========== Toast & Modal ========== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 80%;
  text-align: center;
}
.toast.show { opacity: 1; }
.toast.success { background: rgba(46,204,113,0.95); }
.toast.warning { background: rgba(255,149,0,0.95); }
.toast.danger { background: rgba(255,77,79,0.95); }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 360px;
  max-height: 80vh;
  overflow: auto;
  padding: 20px;
}
.modal-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}
.modal-text {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.6;
}
.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.modal-actions .btn { flex: 1; }

.agreement-content {
  max-height: 50vh;
  overflow-y: auto;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}
.agreement-content h4 { color: var(--text-1); margin: 12px 0 6px; }
.agreement-content p { margin: 6px 0; }

/* ========== 列表项 ========== */
.list {
  padding: 0 12px;
}
.list-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  cursor: pointer;
}
.list-item:active { background: #fafbfc; }
.list-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.list-item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  flex: 1;
}
.list-item-info {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 4px;
  gap: 6px;
  flex-wrap: wrap;
}

/* ========== 状态标签 ========== */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  background: #f0f2f5;
  color: var(--text-2);
  white-space: nowrap;
}
.tag-primary { background: var(--primary-light); color: var(--primary); }
.tag-success { background: #e8f9ee; color: var(--success); }
.tag-warning { background: #fff4e6; color: var(--warning); }
.tag-danger { background: #ffece8; color: var(--danger); }
.tag-info { background: #f0f2f5; color: var(--text-2); }

/* ========== 空状态 ========== */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
}
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-text { font-size: 14px; }
.empty-sub { font-size: 12px; margin-top: 6px; }

/* ========== 提示信息 ========== */
.tip-info {
  background: var(--primary-light);
  border: 1px solid #d6e4ff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-2);
  margin: 0 12px 12px;
  line-height: 1.6;
}

/* ========== Portal 入口页 ========== */
.portal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #407eff 0%, #6ba0ff 50%, #f5f6f8 100%);
  position: relative;
  padding: 60px 20px 40px;
}
.portal-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><circle cx='50' cy='50' r='2' fill='%23ffffff' opacity='0.1'/><circle cx='150' cy='80' r='1.5' fill='%23ffffff' opacity='0.1'/><circle cx='100' cy='150' r='2' fill='%23ffffff' opacity='0.1'/></svg>") repeat;
}
.portal-content { position: relative; z-index: 1; }
.portal-logo {
  width: 70px; height: 70px;
  background: #fff;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: bold;
  color: var(--primary);
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.portal-name {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}
.portal-slogan {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 6px;
  margin-bottom: 40px;
}
.portal-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portal-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s;
}
.portal-card:active { transform: scale(0.98); }
.portal-card-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}
.portal-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
}
.portal-card-desc {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.portal-card-arrow {
  margin-left: auto;
  color: var(--text-3);
  font-size: 14px;
}
.portal-footer {
  text-align: center;
  margin-top: 40px;
  color: var(--text-3);
  font-size: 12px;
}
.portal-footer-link {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  color: var(--text-2);
}
.portal-footer-text { color: var(--text-3); }

/* ========== 首页 top-section ========== */
.top-section {
  position: relative;
  background: linear-gradient(180deg, #407eff 0%, #6ba0ff 100%);
  color: #fff;
  padding: 0 0 30px;
}
.top-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><circle cx='20' cy='20' r='1.5' fill='%23ffffff' opacity='0.1'/><circle cx='70' cy='60' r='1' fill='%23ffffff' opacity='0.1'/></svg>") repeat;
}
.top-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
}
.search-bar {
  position: relative;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  margin: 0 16px;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.search-icon { color: var(--text-3); margin-right: 6px; }
.search-placeholder { color: var(--text-3); font-size: 13px; }
.banner {
  position: relative;
  padding: 14px 16px 0;
}
.banner-item {
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.category-section {
  background: #fff;
  border-radius: 16px 16px 0 0;
  margin-top: -16px;
  padding: 16px 0;
  position: relative;
  z-index: 2;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 12px;
}
.category-item { text-align: center; cursor: pointer; }
.category-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
  font-size: 22px;
}
.category-name { font-size: 12px; color: var(--text-2); }

.notice-bar {
  display: flex;
  align-items: center;
  background: #fff7e6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 12px;
  font-size: 13px;
  color: #ad6800;
  cursor: pointer;
}
.notice-icon { margin-right: 6px; }
.notice-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-arrow { color: #ad6800; }

.section {
  background: #fff;
  margin: 12px 0;
  padding: 14px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 10px;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
}
.section-more {
  font-size: 13px;
  color: var(--text-3);
  cursor: pointer;
}

/* ========== 岗位卡片 ========== */
.job-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 12px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  cursor: pointer;
  border: 1px solid var(--border);
}
.job-card:active { background: #fafbfc; }
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.job-card-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  margin-right: 8px;
}
.job-card-salary {
  color: #f56c6c;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.job-card-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 8px;
}
.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.job-card-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
}
.job-card-company {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========== 过滤器 ========== */
.filter-bar {
  display: flex;
  background: #fff;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 44px;
  z-index: 50;
}
.filter-item {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  position: relative;
}
.filter-item.active {
  color: var(--primary);
  font-weight: 600;
}
.filter-item.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ========== 流程条 ========== */
.process-bar {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 8px 0;
  position: relative;
}
.process-step {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}
.process-step .step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 auto 4px;
}
.process-step.active .step-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.process-step.active { color: var(--primary); font-weight: 600; }
.process-step::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #ddd;
  z-index: -1;
}
.process-step:last-child::after { display: none; }
.process-step.active::after { background: var(--primary); }

.cand-interview-tip {
  background: #fff7e6;
  border: 1px solid #ffe58f;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: #ad6800;
  margin-top: 8px;
}

/* ========== 顶部用户卡 ========== */
.user-card {
  position: relative;
  background: linear-gradient(135deg, #407eff 0%, #6ba0ff 100%);
  padding: 30px 16px 50px;
  color: #fff;
  overflow: hidden;
}
.user-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><circle cx='40' cy='40' r='1.5' fill='%23ffffff' opacity='0.15'/><circle cx='160' cy='100' r='1' fill='%23ffffff' opacity='0.15'/></svg>") repeat;
}
.user-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.user-avatar {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}
.user-name {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-auth-tag {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: normal;
}
.user-phone {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 4px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  margin: -30px 12px 12px;
  display: flex;
  padding: 16px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}
.stat-item {
  flex: 1;
  text-align: center;
  cursor: pointer;
}
.stat-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
}
.stat-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ========== 消息项 ========== */
.msg-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}
.msg-item.unread { background: #fffbf0; }
.msg-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.msg-icon.warning { background: #fff4e6; }
.msg-icon.success { background: #e8f9ee; }
.msg-icon.info { background: var(--primary-light); }
.msg-content { flex: 1; min-width: 0; }
.msg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.msg-title {
  font-size: 14px;
  font-weight: 600;
}
.msg-time {
  font-size: 11px;
  color: var(--text-3);
}
.msg-summary {
  font-size: 13px;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unread-dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  position: absolute;
  top: 14px; right: 14px;
}

/* ========== 底部 TabBar ========== */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 420px;
  margin: 0 auto;
  height: 56px;
  background: #fff;
  display: flex;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  z-index: 90;
  border-top: 1px solid var(--border);
}
.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px 0;
  transition: all 0.2s;
}
.tabbar-item:active { background: #f5f6f8; }
.tabbar-icon {
  font-size: 22px;
  margin-bottom: 2px;
  opacity: 0.5;
  transition: all 0.2s;
}
.tabbar-text {
  font-size: 11px;
  color: #999;
  transition: all 0.2s;
}
.tabbar-item.active .tabbar-icon {
  opacity: 1;
  transform: scale(1.1);
}
.tabbar-item.active .tabbar-text {
  color: var(--primary);
  font-weight: 600;
}
.tabbar-item.ent.active .tabbar-text { color: var(--success); }

/* ========== 企业端样式 ========== */
.dash-header {
  background: linear-gradient(135deg, #2ecc71 0%, #5dd39e 100%);
  color: #fff;
  padding: 30px 16px 20px;
}
.dash-title {
  font-size: 18px;
  font-weight: 600;
}
.dash-subtitle {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}
.dash-stat-row {
  background: #fff;
  border-radius: 12px;
  margin: -10px 12px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 14px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}
.dash-stat-card {
  text-align: center;
  border-right: 1px solid var(--border);
}
.dash-stat-card:last-child { border-right: none; }
.dash-stat-num {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
}
.dash-stat-num.text-primary { color: var(--primary); }
.dash-stat-num.text-warning { color: var(--warning); }
.dash-stat-num.text-success { color: var(--success); }
.dash-stat-label {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 0;
  margin: 0 12px 12px;
}
.quick-item {
  text-align: center;
  cursor: pointer;
}
.quick-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
  font-size: 20px;
}
.quick-name {
  font-size: 12px;
  color: var(--text-2);
}

.add-btn {
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: 50px; height: 50px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(46,204,113,0.4);
  cursor: pointer;
  z-index: 80;
}

/* ========== 详情页 ========== */
.detail-hero {
  background: linear-gradient(135deg, #407eff 0%, #6ba0ff 100%);
  color: #fff;
  padding: 16px;
}
.detail-title { font-size: 20px; font-weight: 600; }
.detail-salary {
  font-size: 24px;
  color: #ffd84d;
  font-weight: 700;
  margin: 8px 0;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.detail-tag {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
}
.detail-section {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px;
}
.detail-section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-1);
  border-left: 3px solid var(--primary);
  padding-left: 8px;
}
.detail-info-row {
  display: flex;
  padding: 6px 0;
  font-size: 13px;
}
.detail-info-label {
  width: 80px;
  color: var(--text-3);
  flex-shrink: 0;
}
.detail-info-value {
  flex: 1;
  color: var(--text-1);
}

.action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  display: flex;
  padding: 8px 12px;
  gap: 8px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  z-index: 80;
}
.action-bar .btn { flex: 1; padding: 10px 0; }

/* ========== 数据统计 ========== */
.step-bar-row {
  display: flex;
  align-items: center;
  padding: 6px 0;
}
.step-bar-label {
  width: 80px;
  font-size: 13px;
  color: var(--text-2);
}
.step-bar-track {
  flex: 1;
  height: 24px;
  background: #f5f6f8;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.step-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  min-width: 32px;
  transition: width 0.4s;
}
.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.data-item {
  text-align: center;
  background: #f5f6f8;
  border-radius: 8px;
  padding: 12px;
}
.data-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-1);
}
.data-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ========== 候选人卡片 ========== */
.cand-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin: 0 12px 10px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.cand-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.cand-avatar {
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 600;
  margin-right: 12px;
}
.cand-info { flex: 1; }
.cand-name {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cand-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.cand-source {
  font-size: 11px;
  color: var(--warning);
  background: #fff7e6;
  padding: 1px 6px;
  border-radius: 8px;
  display: inline-block;
}
.cand-job {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
}
.cand-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  margin-top: 8px;
}

/* ========== 时间线 ========== */
.timeline {
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 16px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ddd;
}
.timeline-item.active::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-time { font-size: 11px; color: var(--text-3); }
.timeline-action { font-size: 13px; color: var(--text-1); margin-top: 2px; }
.timeline-operator { font-size: 11px; color: var(--text-3); }

/* ========== 通用选择器 ========== */
select.form-input {
  cursor: pointer;
  appearance: none;
  background: #f8f8f8 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.5'/></svg>") no-repeat right 12px center;
  padding-right: 30px;
}

/* ========== 推广中心 ========== */
.promo-hero {
  position: relative;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  color: #fff;
  padding: 30px 16px 50px;
  overflow: hidden;
}
.promo-hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><circle cx='40' cy='40' r='2' fill='%23ffffff' opacity='0.15'/><circle cx='160' cy='100' r='1.5' fill='%23ffffff' opacity='0.15'/><circle cx='100' cy='160' r='1' fill='%23ffffff' opacity='0.15'/></svg>") repeat;
}
.promo-hero-content { position: relative; z-index: 1; }
.promo-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}
.promo-subtitle {
  font-size: 13px;
  text-align: center;
  margin-top: 6px;
  opacity: 0.95;
}
.promo-coin {
  font-size: 18px;
  font-weight: 700;
  color: #ffd84d;
  margin: 0 2px;
}
.promo-stat-row {
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 16px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}
.promo-stat {
  flex: 1;
  text-align: center;
}
.promo-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.3);
}
.promo-stat-num {
  font-size: 20px;
  font-weight: 700;
}
.promo-stat-label {
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
}

.promo-balance-card {
  margin-top: -30px;
  position: relative;
  z-index: 2;
  background: #fff;
}
.promo-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-balance-label {
  font-size: 12px;
  color: var(--text-3);
}
.promo-balance-num {
  font-size: 26px;
  font-weight: 700;
  color: #f56c6c;
  margin-top: 4px;
}
.promo-balance-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.promo-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  margin: 0 12px 12px;
}
.promo-share-btn {
  text-align: center;
  cursor: pointer;
}
.promo-share-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
  font-size: 24px;
}
.promo-share-text {
  font-size: 12px;
  color: var(--text-2);
}

.promo-rule-card {
  background: #fff;
  margin: 0 12px 12px;
}
.promo-rule-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.promo-rule-content {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.promo-rule-list {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.8;
}
.promo-rule-item {
  padding: 2px 0;
}

/* 推广海报 */
.promo-poster {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  color: #fff;
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><circle cx='20' cy='20' r='1' fill='%23ffffff' opacity='0.2'/><circle cx='70' cy='50' r='1.5' fill='%23ffffff' opacity='0.2'/></svg>") repeat;
}
.promo-poster-top,
.promo-poster-title,
.promo-poster-subtitle,
.promo-poster-icon,
.promo-poster-msg,
.promo-poster-from,
.promo-poster-code,
.promo-poster-qr,
.promo-poster-link {
  position: relative;
  z-index: 1;
}
.promo-poster-top {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}
.promo-poster-title {
  font-size: 24px;
  font-weight: 700;
  margin: 12px 0 6px;
}
.promo-poster-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 16px;
}
.promo-poster-icon { font-size: 48px; margin: 16px 0; }
.promo-poster-msg {
  font-size: 14px;
  line-height: 1.6;
  margin: 12px 0;
}
.promo-poster-from {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 16px;
}
.promo-poster-code {
  background: #fff;
  color: #ff6b6b;
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
}
.promo-poster-code-label {
  font-size: 12px;
  color: var(--text-3);
}
.promo-poster-code-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 4px;
}
.promo-poster-qr {
  margin: 16px 0;
}
.promo-poster-qr-img {
  width: 100px; height: 100px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.promo-poster-qr-tip {
  font-size: 11px;
  opacity: 0.9;
}
.promo-poster-link {
  font-size: 10px;
  opacity: 0.7;
  word-break: break-all;
  padding: 0 8px;
}

/* 提现 */
.withdraw-amount-card {
  background: linear-gradient(135deg, #fff8e1 0%, #fffbf2 100%);
  border: 1px solid #ffe58f;
}
.withdraw-amount-label {
  font-size: 12px;
  color: var(--text-3);
}
.withdraw-amount-input {
  display: flex;
  align-items: center;
  margin-top: 8px;
  border-bottom: 1px solid #ffe58f;
  padding-bottom: 8px;
}
.withdraw-amount-symbol {
  font-size: 24px;
  color: #f56c6c;
  margin-right: 6px;
}
.withdraw-amount-input input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 28px;
  font-weight: 700;
  color: #f56c6c;
  padding: 0;
}
.withdraw-amount-tip {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
}

/* 邀请人横幅（登录页） */
.invite-banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}
.invite-banner-icon {
  font-size: 28px;
}
.invite-banner-content { flex: 1; }
.invite-banner-title {
  font-size: 14px;
  font-weight: 600;
}
.invite-banner-sub {
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
}

/* 佣金相关列表 */
.list-item-title .text-light { font-weight: normal; }
