/* ==========================================================
   后备人才库 · 科技风玻璃拟态中后台设计系统
   - 白色主背景 / 液态玻璃 / 8px 隐形栅格 / 精致圆角 / 微阴影
   - 卡片微交互 / 瀑布流 / 骨架屏 / 空状态
   ========================================================== */

:root {
  /* ---------- 主色：科技蓝（克制的商务冷调） ---------- */
  --brand-500: #3b6ef5;
  --brand-400: #5b87f7;
  --brand-300: #86a6fa;
  --brand-200: #b8c9fd;
  --brand-100: #dde6fe;
  --brand-600: #2b57d6;

  /* 辅助色 */
  --accent-cyan: #22b8cf;
  --accent-violet: #7c69f0;
  --ok: #16a97e;
  --warn: #e5a03c;
  --danger: #e5687d;

  /* ---------- 文字 ---------- */
  --ink-900: #131a2b;
  --ink-700: #333d55;
  --ink-500: #5b6780;
  --ink-400: #7b87a0;
  --ink-300: #9aa5bb;

  /* ---------- 玻璃表面 ---------- */
  --glass-1: rgba(255, 255, 255, .55);
  --glass-2: rgba(255, 255, 255, .68);
  --glass-3: rgba(255, 255, 255, .82);
  --glass-line: rgba(255, 255, 255, .75);
  --glass-edge: rgba(19, 26, 43, .06);
  --glass-blur: saturate(170%) blur(18px);

  /* ---------- 圆角 ---------- */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* ---------- 留白（8px 基线） ---------- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 40px;

  /* ---------- 分层微阴影 ---------- */
  --sh-xs: 0 1px 2px rgba(19, 26, 43, .04), 0 1px 3px rgba(19, 26, 43, .03);
  --sh-sm: 0 2px 6px rgba(19, 26, 43, .05), 0 4px 14px rgba(19, 26, 43, .04);
  --sh-md: 0 4px 12px rgba(19, 26, 43, .06), 0 10px 28px rgba(19, 26, 43, .06);
  --sh-lg: 0 8px 20px rgba(19, 26, 43, .08), 0 22px 56px rgba(19, 26, 43, .10);
  --sh-brand: 0 6px 16px rgba(59, 110, 245, .18), 0 18px 44px rgba(59, 110, 245, .14);

  /* 玻璃内高光（营造厚度与折射） */
  --glass-inner: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* ---------- Element Plus 主题覆盖 ---------- */
  --el-color-primary: #3b6ef5;
  --el-color-primary-light-3: #5b87f7;
  --el-color-primary-light-5: #86a6fa;
  --el-color-primary-light-7: #b8c9fd;
  --el-color-primary-light-8: #d1dcfe;
  --el-color-primary-light-9: #eaf0ff;
  --el-color-primary-dark-2: #2b57d6;
  --el-color-success: #16a97e;
  --el-color-warning: #e5a03c;
  --el-color-danger: #e5687d;
  --el-text-color-primary: #131a2b;
  --el-text-color-regular: #333d55;
  --el-text-color-secondary: #5b6780;
  --el-border-color: rgba(19, 26, 43, .10);
  --el-border-color-light: rgba(19, 26, 43, .07);
  --el-border-radius-base: 10px;
  --el-border-radius-small: 8px;
  --el-fill-color-blank: rgba(255, 255, 255, .6);
  --el-mask-color: rgba(19, 26, 43, .38);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* 白色主背景 + 极淡的冷暖光晕，保证通透不脏 */
  background:
    radial-gradient(1100px 720px at 10% 6%, #f2f6ff 0%, rgba(242, 246, 255, 0) 58%),
    radial-gradient(900px 620px at 96% 12%, #f4f2ff 0%, rgba(244, 242, 255, 0) 55%),
    radial-gradient(1000px 800px at 50% 108%, #eef7ff 0%, rgba(238, 247, 255, 0) 58%),
    #ffffff;
  background-attachment: fixed;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(19, 26, 43, .14); border-radius: var(--r-pill); border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(19, 26, 43, .22); background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

#app { height: 100%; position: relative; z-index: 1; }

/* ============ 液态玻璃背景：柔和光球 + 折射层 ============ */
.tp-aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.tp-aurora .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.tp-aurora .b1 { width: 480px; height: 480px; top: -140px; left: -90px;
  background: radial-gradient(circle at 32% 30%, #b9cdff 0%, #cfd8ff 55%, rgba(207, 216, 255, 0) 72%);
  animation: tpFloat 22s var(--ease) infinite; }
.tp-aurora .b2 { width: 540px; height: 540px; bottom: -190px; right: -130px;
  background: radial-gradient(circle at 60% 40%, #d9cfff 0%, #c9e2ff 58%, rgba(201, 226, 255, 0) 72%);
  animation: tpFloat 27s var(--ease) infinite reverse; }
.tp-aurora .b3 { width: 360px; height: 360px; top: 42%; left: 46%;
  background: radial-gradient(circle at 50% 50%, #cfe9ff 0%, #e4ddff 60%, rgba(228, 221, 255, 0) 72%);
  animation: tpFloat 33s var(--ease) infinite; opacity: .38; }
/* 极淡的网格，提供隐形秩序感 */
.tp-aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(19, 26, 43, .028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(19, 26, 43, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}
@keyframes tpFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  33%  { transform: translate3d(38px, -26px, 0) scale(1.06); }
  66%  { transform: translate3d(-24px, 22px, 0) scale(.97); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* ============ 布局骨架 ============ */
.tp-layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.tp-sidebar {
  width: 240px; min-height: 100vh; flex-shrink: 0;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(247, 249, 255, .66));
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-right: 1px solid var(--glass-line);
  box-shadow: 1px 0 0 var(--glass-edge), 8px 0 32px rgba(19, 26, 43, .05);
  transition: width .26s var(--ease); position: relative; z-index: 3;
}
.tp-sidebar.collapsed { width: 72px; }
.tp-logo {
  height: 68px; display: flex; align-items: center; gap: var(--sp-3); padding: 0 var(--sp-5);
  color: var(--ink-900); font-weight: 700; font-size: 16px; letter-spacing: .3px;
  border-bottom: 1px solid var(--glass-line); white-space: nowrap; overflow: hidden;
}
.tp-logo .dot {
  width: 26px; height: 26px; border-radius: 9px; flex-shrink: 0; position: relative;
  background: linear-gradient(135deg, var(--brand-400), var(--accent-violet));
  box-shadow: 0 4px 12px rgba(59, 110, 245, .35), var(--glass-inner);
}
.tp-logo .dot::after {
  content: ''; position: absolute; inset: 6px; border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, .9); opacity: .9;
}
.tp-menu { padding: var(--sp-4) var(--sp-3); flex: 1; display: flex; flex-direction: column; gap: var(--sp-1); }
.tp-menu-item {
  display: flex; align-items: center; gap: var(--sp-3); padding: 11px var(--sp-4); cursor: pointer;
  color: var(--ink-500); white-space: nowrap; overflow: hidden; position: relative;
  border-radius: var(--r-md); font-size: 14px; font-weight: 500;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.tp-menu-item .ico { width: 22px; text-align: center; flex-shrink: 0; font-size: 15px; }
.tp-menu-item:hover { color: var(--ink-900); background: rgba(255, 255, 255, .7); transform: translateX(2px); }
.tp-menu-item.active {
  color: var(--brand-600); font-weight: 600;
  background: linear-gradient(90deg, rgba(59, 110, 245, .12), rgba(124, 105, 240, .08));
  box-shadow: inset 3px 0 0 var(--brand-500), var(--glass-inner);
}
.tp-menu-item.active:hover { transform: none; }

.tp-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tp-topbar {
  height: 68px;
  display: flex; align-items: center; padding: 0 var(--sp-6); gap: var(--sp-4);
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-line);
  box-shadow: 0 1px 0 var(--glass-edge);
  position: sticky; top: 0; z-index: 2;
}
.tp-topbar .title { font-weight: 600; font-size: 17px; color: var(--ink-900); letter-spacing: .2px; }
.tp-topbar .spacer { flex: 1; }
.tp-user { display: flex; align-items: center; gap: var(--sp-3); color: var(--ink-500); }

.tp-content { padding: var(--sp-7) var(--sp-6) var(--sp-8); flex: 1; overflow: auto; position: relative; z-index: 1; }

/* 页头：8px 栅格下的呼吸感 */
.tp-page-head { margin-bottom: var(--sp-6); }
.tp-page-head h1 { margin: 0; font-size: 22px; font-weight: 600; color: var(--ink-900); letter-spacing: .2px; }
.tp-page-head .desc { margin-top: var(--sp-2); color: var(--ink-400); font-size: 13px; }

/* ============ 隐形栅格工具 ============ */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============ 液态玻璃卡片基类 ============ */
.glass {
  position: relative;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md), var(--glass-inner);
}
.lift { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.lift:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), var(--glass-inner); border-color: rgba(255, 255, 255, .95); }
/* hover 时的一道光晕扫过（微交互） */
.lift::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  opacity: 0; transform: translateX(-30%); transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.lift:hover::after { opacity: .7; transform: translateX(30%); }

/* ============ 瀑布流 ============ */
.masonry { column-count: 3; column-gap: var(--sp-5); }
.masonry > * { break-inside: avoid; margin-bottom: var(--sp-5); display: block; width: 100%; }
@media (max-width: 1280px) { .masonry { column-count: 2; } }
@media (max-width: 860px) { .masonry { column-count: 1; } }

/* ============ 统计卡 ============ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-5); margin-bottom: var(--sp-5); }
.stat-card {
  background: var(--glass-2); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg); padding: var(--sp-6) var(--sp-5);
  position: relative; overflow: hidden; box-shadow: var(--sh-sm), var(--glass-inner);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.stat-card::before {
  content: ''; position: absolute; left: var(--sp-5); right: var(--sp-5); top: 0; height: 3px;
  border-radius: var(--r-pill); background: linear-gradient(90deg, var(--brand-400), var(--accent-violet));
  opacity: .85;
}
.stat-card::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(59, 110, 245, .16), rgba(59, 110, 245, 0) 70%);
  pointer-events: none;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), var(--glass-inner); }
.stat-card .num { font-size: 32px; font-weight: 650; color: var(--ink-900); letter-spacing: .5px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat-card .label { color: var(--ink-400); margin-top: var(--sp-2); font-size: 13px; }
.stat-card.c-blue .num { color: var(--brand-500); }
.stat-card.c-green .num { color: var(--ok); }
.stat-card.c-green::before { background: linear-gradient(90deg, #3fc79b, #16a97e); }
.stat-card.c-orange .num { color: var(--warn); }
.stat-card.c-orange::before { background: linear-gradient(90deg, #f0b45f, #e5a03c); }
.stat-card.c-red .num { color: var(--danger); }
.stat-card.c-red::before { background: linear-gradient(90deg, #ef8496, #e5687d); }
.stat-card.c-violet .num { color: var(--accent-violet); }
.stat-card.c-violet::before { background: linear-gradient(90deg, #9b8bf5, #7c69f0); }

/* 图表容器 */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: var(--sp-5); }
.chart-card {
  background: var(--glass-3); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line); border-radius: var(--r-lg); padding: var(--sp-5);
  box-shadow: var(--sh-sm), var(--glass-inner);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.chart-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md), var(--glass-inner); }
.chart-card h3, .chart-title { margin: 0 0 var(--sp-4); font-size: 14px; color: var(--ink-900); font-weight: 600; }
.chart-box { height: 288px; width: 100%; }
.chart-box.h-sm { height: 232px; }
.chart-box.h-md { height: 300px; }
.chart-box.h-lg { height: 344px; }

.toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); align-items: center; }
.toolbar .spacer { flex: 1; }

/* ============ 骨架屏 ============ */
.sk {
  position: relative; overflow: hidden;
  background: rgba(19, 26, 43, .06);
  border-radius: var(--r-sm);
}
.sk::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  transform: translateX(-100%);
  animation: skShimmer 1.4s infinite;
}
@keyframes skShimmer { 100% { transform: translateX(100%); } }
.sk-text { height: 12px; }
.sk-title { height: 18px; width: 42%; }
.sk-circle { border-radius: 50%; flex-shrink: 0; }
.sk-row { display: flex; align-items: center; gap: var(--sp-3); }
.sk-stack { display: flex; flex-direction: column; gap: var(--sp-3); }
.sk-card { border-radius: var(--r-lg); padding: var(--sp-6); background: var(--glass-2);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line); box-shadow: var(--sh-sm), var(--glass-inner); }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; } }

/* ============ 空状态 ============ */
.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sp-8) var(--sp-6); text-align: center; gap: var(--sp-3);
}
.empty .art { width: 132px; height: 100px; position: relative; }
.empty .art i {
  position: absolute; border-radius: var(--r-md); display: block;
  background: linear-gradient(140deg, rgba(59, 110, 245, .16), rgba(124, 105, 240, .12));
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--sh-xs);
}
.empty .art i:nth-child(1) { width: 92px; height: 62px; left: 0; top: 14px; }
.empty .art i:nth-child(2) { width: 62px; height: 44px; right: 4px; top: 0; opacity: .75; }
.empty .art i:nth-child(3) { width: 46px; height: 10px; left: 14px; bottom: 6px; opacity: .55; }
.empty .art i:nth-child(4) { width: 26px; height: 26px; right: 18px; bottom: 16px; border-radius: 50%; opacity: .6; }
.empty h4 { margin: var(--sp-2) 0 0; font-size: 15px; font-weight: 600; color: var(--ink-900); }
.empty p { margin: 0; color: var(--ink-400); font-size: 13px; max-width: 380px; }
.empty .actions { margin-top: var(--sp-3); display: flex; gap: var(--sp-3); }

/* ============ Element Plus 统一玻璃拟态 ============ */
.el-card {
  background: var(--glass-2) !important;
  border: 1px solid var(--glass-line) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--sh-sm), var(--glass-inner) !important;
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.el-card__header { border-bottom: 1px solid var(--glass-line) !important; padding: var(--sp-4) var(--sp-5) !important; }
.el-card__body { padding: var(--sp-5) !important; }

.el-button { border-radius: var(--r-sm) !important; font-weight: 500 !important; transition: transform .18s var(--ease), box-shadow .18s var(--ease) !important; }
.el-button:not(.is-link):hover { transform: translateY(-1px); box-shadow: var(--sh-sm); }
.el-button--primary { box-shadow: 0 2px 8px rgba(59, 110, 245, .22); }
.el-button--primary:hover { box-shadow: 0 6px 18px rgba(59, 110, 245, .3); }

.el-input__wrapper, .el-textarea__inner, .el-select__wrapper {
  border-radius: var(--r-sm) !important;
  box-shadow: 0 0 0 1px rgba(19, 26, 43, .08) inset !important;
  background: rgba(255, 255, 255, .66) !important;
  transition: box-shadow .2s var(--ease), background .2s var(--ease) !important;
}
.el-input__wrapper:hover, .el-select__wrapper:hover { background: rgba(255, 255, 255, .85) !important; }
.el-input__wrapper.is-focus, .el-select__wrapper.is-focused {
  background: #fff !important;
  box-shadow: 0 0 0 1px var(--brand-400) inset, 0 0 0 3px rgba(59, 110, 245, .12) !important;
}

.el-table {
  --el-table-border-color: rgba(19, 26, 43, .08);
  --el-table-header-bg-color: rgba(255, 255, 255, .55);
  --el-table-row-hover-bg-color: rgba(59, 110, 245, .06);
  background: transparent !important;
  border-radius: var(--r-md) !important;
  overflow: hidden !important;
}
.el-table th.el-table__cell { background: rgba(255, 255, 255, .55) !important; color: var(--ink-500) !important; font-weight: 600 !important; }
.el-table tr { background: transparent !important; }
.el-table td.el-table__cell { border-bottom: 1px solid rgba(19, 26, 43, .06) !important; }
.el-table__body tr:hover > td.el-table__cell { background: rgba(59, 110, 245, .055) !important; }

.el-dialog { border-radius: var(--r-xl) !important; overflow: hidden; }
.el-dialog__header { padding: var(--sp-5) var(--sp-6) var(--sp-3) !important; }
.el-dialog__body { padding: var(--sp-4) var(--sp-6) var(--sp-5) !important; }
.el-dialog__headerbtn { top: var(--sp-4) !important; }
.el-overlay-dialog .el-dialog {
  background: rgba(255, 255, 255, .82) !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-lg), var(--glass-inner) !important;
}

.el-tag { border-radius: var(--r-xs) !important; font-weight: 500 !important; border: none !important; }
.el-pagination { --el-pagination-button-bg-color: rgba(255, 255, 255, .6); }
.el-pagination .el-pager li, .el-pagination .btn-prev, .el-pagination .btn-next {
  border-radius: var(--r-xs) !important; background: rgba(255, 255, 255, .6) !important;
}
.el-pagination.is-background .el-pager li:not(.is-disabled).is-active { box-shadow: 0 2px 8px rgba(59, 110, 245, .25); }

.el-descriptions { --el-descriptions-item-bordered-label-background: rgba(255, 255, 255, .5); }
.el-descriptions__body { background: transparent !important; }
.el-descriptions__label.is-bordered-label { color: var(--ink-500) !important; font-weight: 500 !important; }
.el-tabs__item { font-weight: 500; }
.el-tabs__active-bar { height: 3px; border-radius: var(--r-pill); }
.el-message { border-radius: var(--r-md) !important; }
.el-radio-button__inner { transition: all .2s var(--ease) !important; }

/* ============ 登录页 ============ */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 16% 14%, #eef3ff 0%, rgba(238, 243, 255, 0) 58%),
    radial-gradient(820px 560px at 88% 86%, #f3f0ff 0%, rgba(243, 240, 255, 0) 56%),
    #ffffff;
}
.login-wrap .orb { position: absolute; border-radius: 50%; filter: blur(56px); pointer-events: none; opacity: .55; }
.login-wrap .orb.a { width: 380px; height: 380px; top: -100px; left: -70px;
  background: radial-gradient(circle at 30% 30%, #b9cdff, #cfd8ff 60%, rgba(207, 216, 255, 0) 72%); animation: tpFloat 18s var(--ease) infinite; }
.login-wrap .orb.b { width: 440px; height: 440px; bottom: -130px; right: -100px;
  background: radial-gradient(circle at 60% 40%, #d9cfff, #c9e2ff 60%, rgba(201, 226, 255, 0) 72%); animation: tpFloat 24s var(--ease) infinite reverse; }
.login-card {
  width: 404px; max-width: 92%;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(26px); backdrop-filter: saturate(180%) blur(26px);
  border: 1px solid var(--glass-line); border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-7);
  box-shadow: var(--sh-lg), var(--glass-inner); position: relative; overflow: hidden; z-index: 2;
}
.login-card::before {
  content: ''; position: absolute; top: 0; left: var(--sp-7); right: var(--sp-7); height: 3px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand-400), var(--accent-violet), var(--accent-cyan));
}
.login-card h2 { margin: var(--sp-3) 0 var(--sp-2); font-size: 24px; font-weight: 650; color: var(--ink-900); letter-spacing: .3px; }
.login-card .sub { color: var(--ink-400); font-size: 13px; margin-bottom: var(--sp-6); }

/* ============ 响应式 ============ */
.mask { display: none; }
@media (max-width: 768px) {
  .tp-sidebar { position: fixed; z-index: 50; height: 100vh; box-shadow: 8px 0 32px rgba(19, 26, 43, .18); }
  .tp-sidebar.collapsed { width: 0; overflow: hidden; }
  .tp-sidebar:not(.collapsed) { width: 224px; }
  .tp-content { padding: var(--sp-5) var(--sp-4) var(--sp-7); }
  .tp-topbar { padding: 0 var(--sp-4); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
  .login-card { width: 92%; padding: var(--sp-7) var(--sp-5); }
  .mask.show { display: block; position: fixed; inset: 0; background: rgba(19, 26, 43, .35); z-index: 40;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
}

/* ---------- 兼容旧类名的补充样式 ---------- */
.stat-label { color: var(--ink-400); font-size: 13px; }
.stat-num { font-size: 30px; font-weight: 650; margin-top: var(--sp-1); line-height: 1.15; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.echelon-card { border-radius: var(--r-lg); box-shadow: var(--sh-sm), var(--glass-inner); border: 1px solid var(--glass-line);
  background: var(--glass-2); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.echelon-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), var(--glass-inner); }
.echelon-head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.echelon-name { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nb-show { display: flex; flex-direction: column; gap: var(--sp-3); align-items: flex-start; }
.nb-title { font-weight: 600; font-size: 15px; color: var(--ink-900); }
.nb-sub { color: var(--ink-400); font-size: 13px; }
