/* 高新区就业 · 管理后台（PC 浅色风 · 彩色渐变统计卡） */
:root {
  --primary: #2f7bff;
  --primary-dark: #1d63e8;
  --primary-soft: #e8f1ff;
  --bg: #eef2f8;
  --card: #ffffff;
  --border: #e6ebf3;
  --text: #1c2536;
  --text-2: #5d6b82;
  --text-3: #96a1b5;
  --danger: #e5484d;
  --success: #16a34a;
  --warning: #d97706;
  --radius: 16px;
  --sidebar-w: 232px;
  --shadow-sm: 0 1px 3px rgba(23, 43, 84, .06);
  --shadow: 0 6px 20px rgba(23, 43, 84, .08);
  --shadow-lg: 0 24px 60px rgba(23, 43, 84, .18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f2f5fb 0%, #e9eef7 100%);
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #cdd6e4; border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #b4c1d6; background-clip: content-box; }

/* ================= 登录页（左右分屏） ================= */
.login-view {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(47, 123, 255, .18), transparent 60%),
    radial-gradient(700px 420px at -8% 106%, rgba(124, 92, 240, .14), transparent 60%),
    linear-gradient(135deg, #eef3fb 0%, #e4ecf9 100%);
}
.login-card {
  display: flex; width: 880px; max-width: 100%; min-height: 560px;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.login-side {
  width: 42%; flex-shrink: 0; position: relative; overflow: hidden;
  padding: 46px 38px;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, #2f7bff 0%, #5f6cf5 55%, #8b5cf6 100%);
  color: #fff;
}
.login-side::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.login-side::after {
  content: ""; position: absolute; left: -60px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
}
.login-logo {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 40, 100, .25);
  position: relative; z-index: 1;
}
.login-side h1 { margin: 22px 0 6px; font-size: 23px; letter-spacing: .5px; position: relative; z-index: 1; }
.login-sub { margin: 0; color: rgba(255, 255, 255, .82); font-size: 13.5px; position: relative; z-index: 1; }
.login-points { list-style: none; margin: 34px 0 0; padding: 0; position: relative; z-index: 1; }
.login-points li {
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 15px; font-size: 13.5px; color: rgba(255, 255, 255, .95);
}
.login-points li svg {
  width: 18px; height: 18px; padding: 3.5px; box-sizing: content-box;
  border-radius: 50%; background: rgba(255, 255, 255, .2); flex-shrink: 0;
}
.login-side-foot { margin-top: auto; font-size: 12px; color: rgba(255, 255, 255, .68); position: relative; z-index: 1; }
.login-main { flex: 1; padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.login-title { margin: 0 0 4px; font-size: 23px; font-weight: 700; color: var(--text); }
.login-welcome { margin: 0 0 26px; color: var(--text-3); font-size: 13.5px; }
.login-bootstrap { margin-top: 18px; }
.env-tip {
  margin-top: 16px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.5;
  background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa;
}
.divider { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 12px; margin: 20px 0 10px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
@media (max-width: 860px) { .login-side { display: none; } .login-card { width: 460px; } }

/* ================= 表单 ================= */
.form-item { margin-bottom: 16px; }
.form-item > label, .field > label {
  display: block; margin-bottom: 8px;
  font-size: 15.5px; font-weight: 600; color: #55647f; letter-spacing: .2px;
}
.form-item > input, .form-item > select, .form-item > textarea,
.captcha-row > input,
.field > input, .field > select, .field > textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid #dce3ee; border-radius: 10px;
  background: #fff; color: var(--text); font-size: 17px; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.form-item > input:hover, .form-item > select:hover, .form-item > textarea:hover,
.captcha-row > input:hover,
.field > input:hover, .field > select:hover, .field > textarea:hover { border-color: #b9c6da; }
.form-item > input:focus, .form-item > select:focus, .form-item > textarea:focus,
.captcha-row > input:focus,
.field > input:focus, .field > select:focus, .field > textarea:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3.5px rgba(47, 123, 255, .16);
}
.form-item > input::placeholder, .field > input::placeholder, .captcha-row > input::placeholder,
.form-item > textarea::placeholder, .field > textarea::placeholder { color: #b6c0cf; }
/* 统一 select 下拉箭头 */
.form-item > select, .field > select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a97ab' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer;
}
.form-item > textarea, .field > textarea { min-height: 88px; resize: vertical; line-height: 1.6; }
.form-actions { margin-top: 8px; }

/* 登录图形验证码 */
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row > input { flex: 1; min-width: 0; }
#login-captcha {
  width: 110px; height: 42px; flex: none;
  border: 1px solid #d8dee9; border-radius: 8px;
  background: #f4f6fa; cursor: pointer; display: block;
}
#login-captcha:hover { border-color: #2563eb; }

/* 用户协议弹窗 */
.proto-body {
  max-height: 56vh; overflow-y: auto; padding: 2px 10px 2px 2px;
  font-size: 13.5px; line-height: 1.95; color: var(--text-2);
}
.proto-body .proto-intro { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.proto-body .proto-p { margin: 4px 0; text-align: justify; }
.proto-body .proto-h {
  font-size: 14.5px; font-weight: 700; color: var(--text);
  margin: 16px 0 4px; padding-left: 9px; border-left: 3px solid var(--primary); line-height: 1.5;
}
.proto-body .proto-sub { font-size: 13.5px; font-weight: 600; color: var(--text); margin: 10px 0 2px; }
.proto-check {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 13.5px; color: var(--text); cursor: pointer; user-select: none;
}
.proto-check input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; flex: none; }
.proto-check:hover span { color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .field-full { grid-column: 1 / -1; }
.form-grid .field { min-width: 0; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 17px; font-weight: 500; letter-spacing: .2px;
  transition: all .18s ease; white-space: nowrap; user-select: none;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(47, 123, 255, .25); }
.btn-primary {
  background: linear-gradient(135deg, #3b86ff 0%, #1d63e8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 123, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 7px 18px rgba(47, 123, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:active { transform: translateY(0); filter: brightness(.97); }
.btn-ghost {
  background: #fff; color: #42506a; border-color: #d9e0ec;
  box-shadow: 0 1px 2px rgba(23, 43, 84, .05);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(47, 123, 255, .16); }
.btn-ghost:active { transform: translateY(0); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f7c6c8; }
.btn-danger:hover { background: linear-gradient(135deg, #f0525f, #d73743); color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: 0 5px 14px rgba(229, 72, 77, .32); }
.btn-success {
  background: linear-gradient(135deg, #2cc085 0%, #16a34a 100%);
  color: #fff; box-shadow: 0 4px 12px rgba(22, 163, 74, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-success:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-sm { padding: 7px 16px; font-size: 15px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }

/* 表格内操作按钮：紧凑统一 */
.data-table .actions { display: flex; gap: 6px; }
.data-table .actions .btn { padding: 4px 11px; font-size: 12px; border-radius: 8px; box-shadow: none; }
.data-table .actions .btn:hover { transform: none; }

/* ================= 整体布局 ================= */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid var(--border);
  color: #3d4a5f;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar-head { padding: 20px 18px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-badge {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg, #2f7bff, #7c5cf0);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 6px 16px rgba(47, 123, 255, .35);
}
.brand-text { color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: .3px; }

.sidebar-nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 15px; margin-bottom: 5px; border-radius: 12px;
  color: #4a5872; font-size: 18px; font-weight: 500;
  position: relative; transition: background .14s, color .14s;
}
.sidebar-nav a:hover { background: #f1f5fc; color: var(--primary); }
.sidebar-nav a.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.sidebar-nav .nav-icon {
  width: 26px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.sidebar-nav .nav-icon svg { display: block; }

.sidebar-foot { padding: 14px 16px; border-top: 1px solid var(--border); }
.user-mini { display: flex; align-items: center; gap: 11px; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2f7bff, #7c5cf0);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 15px;
}
.user-meta { line-height: 1.25; min-width: 0; }
.user-name { color: var(--text); font-weight: 500; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-phone { color: var(--text-3); font-size: 13.5px; }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topbar {
  height: 62px;
  background: linear-gradient(90deg, #1d63e8 0%, #2f7bff 42%, rgba(47, 123, 255, .55) 74%, rgba(47, 123, 255, .06) 100%);
  display: flex; align-items: center; gap: 14px; padding: 0 24px;
  position: sticky; top: 0; z-index: 20;
}
.page-title { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 600; color: #fff; }
.page-crumb { color: rgba(255, 255, 255, .8); font-size: 16px; font-weight: 400; }
.crumb-sep { color: rgba(255, 255, 255, .55); font-size: 12px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.role-chip {
  padding: 5px 15px; border-radius: 20px; font-size: 15px; font-weight: 500;
  background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
}
.user-btn {
  display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35);
  padding: 5px 10px; border-radius: 12px; color: #fff;
}
.user-btn:hover { background: rgba(255, 255, 255, .28); }
.user-avatar-sm {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .28); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px;
}
.user-name-sm { font-size: 16px; font-weight: 500; color: #fff; }
.caret { color: rgba(255, 255, 255, .8); font-size: 11px; }

.content { flex: 1; padding: 26px 32px; width: 100%; }

/* ================= 下拉菜单 ================= */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 7px);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); min-width: 170px; padding: 6px;
  display: none; z-index: 50;
}
.dropdown-menu.open { display: block; }
.dropdown-item { display: block; padding: 9px 13px; border-radius: 8px; color: var(--text); font-size: 13.5px; cursor: pointer; }
.dropdown-item:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown-item.danger { color: var(--danger); }
.dropdown-item.danger:hover { background: #fdecec; color: var(--danger); }

/* ================= 卡片 ================= */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px; overflow: hidden;
}
.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.card-head h2 { margin: 0; font-size: 21px; font-weight: 600; }
.card-head .spacer { flex: 1; }
.card-body { padding: 20px; }
.card-foot { padding: 13px 20px; border-top: 1px solid var(--border); }

/* ================= 统计卡（彩色渐变 + 底部大标签） ================= */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card {
  border-radius: 18px; padding: 18px 18px 16px; color: #fff; position: relative;
  box-shadow: 0 10px 24px rgba(31, 74, 156, .22);
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; right: -28px; top: -28px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none;
}
.stat-card::before {
  content: ""; position: absolute; right: 8px; top: 14px; width: 52px; height: 52px;
  border-radius: 50%; background: rgba(255, 255, 255, .12); pointer-events: none;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 74, 156, .3); }
.stat-card.g-ent { background: linear-gradient(135deg, #8b5cf6 0%, #4f7df9 100%); }
.stat-card.g-pos { background: linear-gradient(135deg, #3f8bfa 0%, #6a5cf0 100%); }
.stat-card.g-news { background: linear-gradient(135deg, #6a8bff 0%, #b06cf0 100%); }
.stat-card.g-notice { background: linear-gradient(135deg, #4facfe 0%, #7c6cf5 100%); }
.stat-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.stat-label { color: rgba(255, 255, 255, .92); font-size: 17px; font-weight: 500; }
.stat-icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .22); color: #fff;
}
.stat-icon svg { display: block; }
.stat-value { font-size: 52px; font-weight: 700; margin-top: 10px; letter-spacing: -.5px; position: relative; z-index: 1; }
.stat-hint { color: rgba(255, 255, 255, .75); font-size: 15px; margin-top: 0; position: relative; z-index: 1; }
.stat-bar { height: 6px; border-radius: 4px; margin-top: 12px; overflow: hidden; background: rgba(255, 255, 255, .28); position: relative; z-index: 1; }
.stat-bar i { display: block; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, .95); transition: width .4s ease; }
.stat-foot { margin-top: 10px; font-size: 24px; font-weight: 700; color: #fff; position: relative; z-index: 1; }

/* ================= 工具栏 ================= */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar input, .toolbar select {
  padding: 10px 16px; border: 1px solid #d5dce8; border-radius: 9px;
  font-size: 16px; outline: none; background: #fff; color: var(--text);
}
.toolbar input::placeholder { color: var(--text-3); }
.toolbar input:focus, .toolbar select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47, 123, 255, .15); }
.toolbar .spacer { flex: 1; }
.toolbar .search { min-width: 220px; }

/* ================= 表格 ================= */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 43, 84, .04);
}
table.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17.5px; }
.data-table th, .data-table td { text-align: left; padding: 17px 22px; border-bottom: 1px solid #eef1f7; white-space: nowrap; vertical-align: middle; }
.data-table th {
  color: #55647f; font-weight: 600; font-size: 14px; letter-spacing: .4px;
  background: linear-gradient(180deg, #f5f8fd 0%, #eef3fb 100%);
  border-bottom: 1px solid #e3e9f3;
  position: sticky; top: 0; z-index: 1;
}
.data-table tbody tr { transition: background .14s, box-shadow .14s; }
.data-table tbody tr:nth-child(even) { background: #fafcfe; }
.data-table tbody tr:hover { background: #eff5ff; box-shadow: inset 3px 0 0 var(--primary); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table .ellipsis { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-table td { color: #2a3549; }
.data-table td .badge { margin-right: 4px; }

/* ================= 徽章 ================= */
.badge { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 20px; font-size: 14.5px; font-weight: 500; }
.badge-green { background: #e5f7ee; color: #158a4c; }
.badge-red { background: #fdecec; color: #d13438; }
.badge-orange { background: #fef3e2; color: #c07414; }
.badge-gray { background: #eef1f6; color: #5d6b82; }
.badge-blue { background: var(--primary-soft); color: var(--primary); }
.badge-purple { background: #f1ecfe; color: #7c4fe0; }

/* ================= 分页 ================= */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; width: 100%; margin-top: 18px;
}
.pagination button {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #e4eaf3; background: #fff; color: #42506a;
  font-size: 16.5px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .18s ease;
  box-shadow: 0 1px 2px rgba(23, 43, 84, .05);
}
/* 上一页 / 下一页：带文字的胶囊长按钮 */
.pagination button.pg-nav {
  height: 36px; min-width: 0; padding: 0 16px; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--primary); background: var(--primary-soft); border-color: transparent;
}
.pagination button.pg-nav:hover:not(:disabled) {
  background: linear-gradient(135deg, #3b86ff, #1d63e8); color: #fff;
  transform: translateY(-1px); box-shadow: 0 5px 14px rgba(47, 123, 255, .35);
}
.pagination button.pg-nav:disabled { background: #f2f5fa; color: #b6c2d6; }
/* 页码 */
.pagination button:hover:not(:disabled):not(.pg-nav) { color: var(--primary); border-color: #b9d2ff; background: var(--primary-soft); }
.pagination button.active {
  background: linear-gradient(135deg, #3b86ff, #1d63e8); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(47, 123, 255, .35);
}
.pagination button:disabled { opacity: .8; cursor: not-allowed; box-shadow: none; }
.pagination .pg-info { margin-left: 12px; color: var(--text-3); font-size: 15px; background: transparent; border: none; padding: 0 4px; }
.pagination .pg-dots { color: var(--text-3); font-size: 13px; padding: 0 2px; user-select: none; }

/* ================= 空状态 ================= */
.empty { text-align: center; padding: 56px 20px; color: var(--text-2); font-size: 17px; }
.empty .empty-icon { font-size: 44px; margin-bottom: 12px; opacity: .6; }

/* ================= 弹窗（白底 · 精致） ================= */
.modal-mask {
  position: fixed; inset: 0; background: rgba(23, 43, 84, .45); z-index: 100;
  display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 20px; overflow-y: auto;
  backdrop-filter: blur(3px);
}
.modal {
  position: relative;
  background: #fff; border-radius: 18px; width: 70%; max-width: none;
  box-shadow: 0 30px 70px rgba(23, 43, 84, .28), 0 4px 14px rgba(23, 43, 84, .1);
  animation: modal-in .2s ease; color: var(--text);
  overflow: hidden;
}
/* 顶部渐变饰条 */
.modal::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, #3b86ff, #7c5cf0 55%, #b06cf0);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(-14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px 15px; border-bottom: 1px solid #eef1f7;
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
.modal-head h3 { margin: 0; font-size: 22px; font-weight: 700; color: #1c2536; letter-spacing: .2px; }
.modal-head .icon-btn {
  width: 30px; height: 30px; border-radius: 9px; font-size: 14px;
  color: #8a97ab; background: #f3f6fb; border: 1px solid #e8edf5;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.modal-head .icon-btn:hover { background: #fdecec; color: var(--danger); border-color: #f7c6c8; }
.modal-body { padding: 24px; max-height: 62vh; overflow-y: auto; }
.modal-foot {
  padding: 14px 24px; border-top: 1px solid #eef1f7;
  display: flex; justify-content: flex-end; gap: 10px;
  background: #fafbfd;
}
/* 弹窗内详情行卡片化 */
.modal-body .detail-block {
  background: #f7f9fd; border: 1px solid #eef1f7; border-radius: 11px;
  padding: 10px 14px; margin-bottom: 10px;
}
.modal-body .detail-block.field-full { margin-bottom: 10px; }
.modal-body .detail-label { color: #8a97ab; font-size: 14.5px; margin-bottom: 3px; }
.modal-body .detail-value { font-size: 17px; color: #1c2536; word-break: break-word; }
.modal-body .rich-content { font-size: 13.5px; color: #2a3549; }
.icon-btn { background: transparent; border: none; color: #667; font-size: 16px; width: 32px; height: 32px; border-radius: 8px; }
.icon-btn:hover { background: #f1f4f9; color: var(--text); }
/* 弹窗内附件/字典区与浅灰底协调 */
.modal-body .attachment-panel { background: #f7f9fd; border-color: #eef1f7; }

/* ================= Toast ================= */
.toast-wrap { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 13px 24px; border-radius: 10px; color: #fff; font-size: 16px; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: toast-in .2s ease;
}
.toast-success { background: #16a34a; }
.toast-error { background: #e5484d; }
.toast-info { background: linear-gradient(135deg, #2f7bff, #1d63e8); }
.toast-warn { background: #d97706; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ================= 详情 / 富文本 ================= */
.detail-block { margin-bottom: 16px; }
.detail-label { color: var(--text-3); font-size: 15px; margin-bottom: 5px; }
.detail-value { font-size: 17px; color: var(--text); }
.rich-content { line-height: 1.8; white-space: pre-wrap; word-break: break-word; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--primary-soft); color: var(--primary); border-radius: 6px; padding: 3px 9px; font-size: 12px; }

/* ================= 审核 ================= */
.audit-remark { width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid #cdd7e6; border-radius: 9px; outline: none; }
.audit-remark:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47, 123, 255, .15); }

/* ================= 资讯附件卡片 ================= */
.attachment-panel { margin-top: 4px; padding: 12px; background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 10px; }
.news-attachment { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 9px; margin-bottom: 8px; }
.attachment-icon { font-size: 19px; }
.attachment-info { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.attachment-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: #1a2233; }
.attachment-info small { color: #98a2b3; font-size: 11px; }
.attachment-remove { border: 0; background: #fff1f2; color: #e5484d; border-radius: 7px; padding: 5px 9px; font-size: 12px; cursor: pointer; }
.attachment-remove:hover { background: #ffe4e6; }
.attachment-empty { padding: 10px 0; color: #98a2b3; font-size: 12px; }
.attachment-hint { margin-top: 9px; color: #98a2b3; font-size: 12px; }

/* ================= 数据字典标签 ================= */
.dict-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dict-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-soft); color: var(--primary); border-radius: 20px; padding: 5px 12px; font-size: 13px; }
.dict-tag-del { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; border-radius: 50%; }
.dict-tag-del:hover { color: var(--danger); }

/* 地图选点独立覆盖层 */
.map-picker-overlay { position: fixed; inset: 0; background: rgba(23, 43, 84, .45); z-index: 150; display: flex; align-items: center; justify-content: center; padding: 24px; }
.map-picker-modal { background: #fff; border-radius: 16px; width: 70%; max-width: 100%; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.map-picker-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid var(--border); }
.map-picker-title { font-size: 16px; font-weight: 600; }
.map-picker-close { border: 0; background: #f1f4f9; color: #667; width: 32px; height: 32px; border-radius: 8px; font-size: 16px; cursor: pointer; }
.map-picker-close:hover { background: #e5e9f0; color: var(--text); }
.map-picker-body { padding: 16px 20px; overflow: auto; }
.map-picker-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--border); }
.map-picker-suggest-item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f3f4f6; font-size: 13px; }
.map-picker-suggest-item:hover { background: #f5f7fb; }

/* 岗位富文本编辑器 */
.pos-editor{border:1px solid #dce3ee;border-radius:10px;overflow:hidden;line-height:1.6}
.pos-editor .w-e-toolbar{background:#f8fafc;border-bottom:1px solid #eef1f7!important}
.pos-editor .w-e-text-container{min-height:150px}

/* 仪表盘文字缩小三号（仅作用于仪表盘） */
.dash .stat-label { font-size: 14px; }
.dash .stat-hint { font-size: 12.5px; }
.dash .stat-value { font-size: 44px; }
.dash .stat-foot { font-size: 21px; }
.dash .sec-title { font-size: 18px; }
.dash .card-head h2 { font-size: 19px; }
.dash .data-table { font-size: 16px; }
.dash .data-table th, .dash .data-table td { padding: 14px 18px; }
.dash .detail-label { font-size: 13px; }
.dash .detail-value { font-size: 15px; }
.dash .badge { font-size: 13px; padding: 4px 11px; }
