/* 税联集团内控管理系统 - 亮色主题 */
:root {
  --primary: #1890ff;
  --primary-light: #69c0ff;
  --primary-bg: #e6f7ff;
  --success: #52c41a;
  --success-light: #b7eb8f;
  --warning: #faad14;
  --warning-light: #ffe58f;
  --danger: #ff4d4f;
  --text: #1f2937;
  --text-secondary: #6b7280;
  --border-radius: 12px;
  --card-shadow: 0 1px 8px rgba(0,0,0,.06);
  --card-shadow-hover: 0 4px 16px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f5f8fc; }
#app { min-height: 100vh; }

.layout { min-height: 100vh; }
.aside {
  background: linear-gradient(180deg, #e8f4fd 0%, #d6ebff 100%) !important;
  overflow-x: hidden;
  border-right: 1px solid rgba(24,144,255,.12);
}
.logo {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,.7);
  color: #1e3a5f;
  border-bottom: 1px solid rgba(24,144,255,.15);
}
.logo-icon {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: linear-gradient(135deg, #1890ff 0%, #69c0ff 100%);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 2px 12px rgba(24,144,255,.35);
}
.logo-text { font-size: 15px; font-weight: 600; letter-spacing: 0.5px; color: #1e3a5f; }
.aside-menu { border-right: none !important; padding: 8px 0; }
.aside-menu .el-sub-menu__title,
.aside-menu .el-menu-item { height: 48px; line-height: 48px; color: #2c5282; }
.aside-menu .el-sub-menu__title:hover,
.aside-menu .el-menu-item:hover { background: rgba(24,144,255,.1) !important; color: #1890ff !important; }
.aside-menu .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(24,144,255,.18) 0%, rgba(105,192,255,.2) 100%) !important;
  color: #1890ff !important;
  border-radius: 8px;
  margin: 2px 12px;
  width: calc(100% - 24px);
  font-weight: 600;
}

.main-wrap { display: flex; flex-direction: column; min-height: 100vh; background: #f5f8fc; }
.header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  border-bottom: 1px solid #eef2f7;
}
.header .el-breadcrumb { font-size: 14px; }
.header-right { display: flex; align-items: center; }
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .2s;
}
.user-info:hover { background: #f0f7ff; }
.user-name { font-size: 14px; color: var(--text); font-weight: 500; }
.main-content {
  flex: 1;
  padding: 24px;
  overflow: auto;
}

/* 模块页面通用：横幅 + 内容区（亮色） */
.page-wrap { border-radius: var(--border-radius); overflow: hidden; }
.page-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #bae7ff;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.page-banner::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(230,247,255,.85) 60%, rgba(255,255,255,.7) 100%);
}
.page-banner-title {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 700;
  color: #0c4a6e;
  letter-spacing: 1px;
}
.page-banner-sub {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: #0369a1;
  margin-top: 8px;
}
.page-body { padding: 24px; background: #fff; min-height: 400px; border-radius: 0 0 var(--border-radius) var(--border-radius); box-shadow: 0 1px 8px rgba(0,0,0,.04); }

.page-title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.card-desc { color: var(--text-secondary); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }

/* 表格内链接样式（可点击列） */
.table-link { color: var(--el-color-primary); cursor: pointer; text-decoration: none; }
.table-link:hover { text-decoration: underline; }
.detail-dialog .el-descriptions__label { width: 100px; }
/* 目标拆解等详情弹窗 - 带选项卡 */
.detail-dialog-tabs .detail-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}
.detail-dialog-tabs .detail-dialog-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.detail-dialog-tabs .detail-tabs { margin-top: 0; }
.detail-dialog-tabs .detail-tabs .el-tabs__header { margin-bottom: 16px; }
.detail-dialog-tabs .detail-tabs .el-tabs__content { padding: 0; }
.detail-dialog-tabs .tab-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.detail-dialog-tabs .tab-content-block {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.detail-dialog-tabs .tab-content-block h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--text);
}
.detail-dialog-tabs .tab-content-block h4:first-child { margin-top: 0; }
.detail-dialog-tabs .tab-content-block p { margin: 0 0 8px; color: var(--text-secondary); }
.detail-dialog-tabs .tab-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}
.detail-dialog-tabs .tab-list li { margin-bottom: 4px; }

/* 卡片美化 */
.main-content .el-card {
  border-radius: var(--border-radius);
  border: 1px solid #eef2f7;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s;
  background: #fff;
}
.main-content .el-card:hover { box-shadow: var(--card-shadow-hover); }
.main-content .el-card__header {
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid #f0f2f5;
  padding: 16px 20px;
  background: #fafbfc;
}

/* 统计卡片 - 亮色渐变 */
.stat-card {
  border-radius: var(--border-radius);
  padding: 20px 24px;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.stat-card .stat-label { font-size: 13px; opacity: .95; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 24px; font-weight: 700; }
.stat-card.primary { background: linear-gradient(135deg, #1890ff 0%, #69c0ff 100%); }
.stat-card.success { background: linear-gradient(135deg, #52c41a 0%, #95de64 100%); }
.stat-card.warning { background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%); }
.stat-card.purple { background: linear-gradient(135deg, #597ef7 0%, #85a5ff 100%); }
.stat-card .stat-extra { font-size: 12px; opacity: .9; margin-top: 4px; }

/* 报表中心 - 报表展示样式 */
.report-page .report-toolbar {
  margin-bottom: 20px;
  padding: 16px 20px;
  background: #fafbfc;
  border: 1px solid #eef2f7;
  border-radius: var(--border-radius);
}
.report-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
}
.report-main-title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0; }
.report-meta { font-size: 13px; color: var(--text-secondary); }
.report-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.report-page .report-stats { margin-bottom: 24px; }
.report-chart-card .el-card__header { font-weight: 600; }
.report-table-card .el-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.report-table-desc { font-size: 12px; color: var(--text-secondary); font-weight: normal; }
.report-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #eef2f7;
  font-size: 12px;
  color: var(--text-secondary);
}
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }

/* 推送提醒 */
.notice-channel-form .channel-desc { margin-left: 12px; font-size: 12px; color: var(--text-secondary); }

/* 图表容器 */
.chart-box { width: 100%; height: 320px; margin-top: 12px; }
.chart-box-sm { height: 260px; }

/* 页面主题差异化：卡片左边框/头部色 */
.page-body.theme-home .el-card__header { border-left: 4px solid #1890ff; }
/* 冠军展示卡片 */
.champion-card .card-desc { font-size: 12px; color: #666; margin-bottom: 14px; line-height: 1.5; }
.champion-block { padding: 16px; border-radius: 12px; text-align: center; margin-bottom: 12px; }
.champion-block.champion-primary { background: linear-gradient(135deg, #e6f4ff 0%, #bae0ff 100%); }
.champion-block.champion-success { background: linear-gradient(135deg, #f0f9eb 0%, #c2e7b0 100%); }
.champion-block.champion-warning { background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%); }
.champion-block .champion-name { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.champion-block .champion-value { font-size: 15px; color: #333; margin-bottom: 4px; }
.champion-block .champion-compare, .champion-block .champion-badge { font-size: 12px; color: #666; }
.champion-dynamic { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #eee; }
.champion-dynamic .dynamic-title { font-size: 12px; color: #999; margin-bottom: 8px; }
.champion-dynamic .dynamic-list { margin: 0; padding-left: 18px; font-size: 12px; color: #666; line-height: 1.8; }
.champion-page-single .champion-block-lg { padding: 24px; }
/* 首页概览快捷入口 */
.home-quick-link { padding: 20px; border: 1px solid #e8e8e8; border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.2s; }
.home-quick-link:hover { border-color: #1890ff; background: #f0f8ff; }
.home-quick-link .icon { display: block; font-size: 28px; margin-bottom: 8px; }
.home-quick-link span:not(.icon) { font-weight: 600; color: #1a1a1a; }
.home-quick-link .hint { font-size: 12px; color: #999; margin-top: 6px; }
.recent-announce-title { font-size: 13px; color: #333; margin-bottom: 10px; font-weight: 600; }
.recent-announce-list { list-style: none; margin: 0; padding: 0; }
.recent-announce-list li { padding: 6px 0; border-bottom: 1px dashed #eee; font-size: 13px; }
.recent-announce-list li:last-child { border-bottom: none; }
.recent-announce-date { color: #999; margin-right: 8px; font-size: 12px; }
.recent-announce-link { color: #1890ff; cursor: pointer; }
.recent-announce-link:hover { text-decoration: underline; }
/* 公告富文本渲染 */
.announce-rich {
  line-height: 1.75;
  color: var(--text);
  word-break: break-word;
}
.announce-rich p { margin: 0 0 10px; color: var(--text-secondary); }
.announce-rich h1, .announce-rich h2, .announce-rich h3 {
  margin: 12px 0 10px;
  color: var(--text);
  font-weight: 700;
}
.announce-rich img {
  max-width: 100%;
  border-radius: 10px;
  display: block;
  margin: 10px 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.announce-rich a { color: var(--primary); }
/* 首次登录上月冠军弹窗 */
.champion-popup-dialog .champion-popup-desc { margin-bottom: 16px; color: #666; font-size: 13px; }
.champion-popup-item { padding: 14px; border-radius: 10px; text-align: center; }
.champion-popup-item .label { font-size: 12px; color: #999; margin-bottom: 6px; }
.champion-popup-item .name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.champion-popup-item .extra { font-size: 12px; color: #666; }
.champion-popup-item.primary { background: #e6f4ff; }
.champion-popup-item.success { background: #f0f9eb; }
.champion-popup-item.warning { background: #fffbe6; }
.page-body.theme-target .el-card__header { border-left: 4px solid #52c41a; }
.target-plan-page .target-plan-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.target-plan-page .target-plan-title { font-size: 20px; font-weight: 700; color: #1f2937; }
.target-plan-page .target-plan-sub { margin-top: 6px; font-size: 13px; color: #6b7280; }
.target-plan-page .target-plan-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.target-plan-page .el-calendar-table td.is-selected { background: #e6f7ff; }
.target-plan-page .plan-calendar-cell { margin: 0; font-size: 12px; color: #334155; }
.target-plan-page .plan-calendar-cell.is-selected { color: #1890ff; font-weight: 700; }
.page-body.theme-customer .el-card__header { border-left: 4px solid #13c2c2; }
.page-body.theme-customer .el-table .el-table__cell { padding-top: 12px; padding-bottom: 12px; }
.page-body.theme-customer .el-table .cell { line-height: 20px; }
.page-body.theme-voucher .el-card__header { border-left: 4px solid #faad14; }
.page-body.theme-opportunity .el-card__header { border-left: 4px solid #722ed1; }
.page-body.theme-receipt .el-card__header { border-left: 4px solid #eb2f96; }
.page-body.theme-report .el-card__header { border-left: 4px solid #597ef7; }
.page-body.theme-salary .el-card__header { border-left: 4px solid #fa8c16; }
.page-body.theme-settings .el-card__header { border-left: 4px solid #2f54eb; }
/* 表单页：卡片圆角与背景区分 */
.page-body.theme-form .el-card { border-radius: 16px; background: linear-gradient(180deg, #fafbfc 0%, #fff 100%); }
.page-body.theme-form .el-form-item__label { font-weight: 600; }
/* 列表页：斑马纹加强 */
.page-body.theme-list .el-table .el-table__row:nth-child(even) { background: #fafbfc; }
/* 弹窗表单 */
.el-dialog__header { font-weight: 600; border-bottom: 1px solid #f0f2f5; padding-bottom: 12px; }
.dialog-footer-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.fade-enter-active, .fade-leave-active { transition: opacity 0.2s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* 登录页 - 左侧圆角矩形图片区 + 右侧表单 */
.login-page {
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #f0f9ff 100%);
}

.login-left {
  width: 52%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  z-index: 1;
  margin: 28px 0 28px 28px;
  min-height: calc(100vh - 56px);
  border-radius: 0 40px 40px 0;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80') center/cover no-repeat;
  box-shadow: 0 20px 60px -20px rgba(14,165,233,.25), 0 0 0 1px rgba(255,255,255,.5) inset;
}
.login-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.32) 0%, rgba(186,230,253,.22) 50%, transparent 100%);
  pointer-events: none;
}
.login-left::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0 40px 40px 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
  pointer-events: none;
}
.login-brand { position: relative; z-index: 2; text-align: center; }
.login-logo-icon {
  width: 92px;
  height: 92px;
  line-height: 92px;
  margin: 0 auto 32px;
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(14,165,233,.5), 0 0 0 1px rgba(255,255,255,.2) inset;
}
.login-title {
  font-size: 28px;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 18px;
  letter-spacing: 1px;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(255,255,255,.8);
}
.login-slogan {
  font-size: 15px;
  color: #0369a1;
  margin: 0;
  line-height: 1.75;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}
.login-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.deco-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(14,165,233,.25); }
.deco-1 { width: 380px; height: 380px; left: -100px; bottom: -100px; }
.deco-2 { width: 220px; height: 220px; right: 8%; top: 18%; }
.deco-3 { width: 140px; height: 140px; right: 22%; bottom: 22%; }

.login-right {
  width: 48%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
}
.login-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 35%, #e0e7ff 70%, #f5f3ff 100%);
  z-index: 0;
}
.login-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm0 10c-4 0-8 2-8 6v2h2v-2c0-2 2.5-4 6-4s6 2 6 4v2h2v-2c0-4-4-6-8-6z' fill='%231890ff' fill-opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.8;
  z-index: 0;
}
.login-form-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  padding: 52px 48px;
  background: linear-gradient(145deg, rgba(255,255,255,.95) 0%, rgba(248,250,252,.98) 100%);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(24,144,255,.12), 0 0 0 1px rgba(255,255,255,.9), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
}
.login-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.login-form-header .form-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1890ff 0%, #69c0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(24,144,255,.35);
  color: #fff;
}
.login-form-header .form-title-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.login-form-title { font-size: 26px; font-weight: 700; color: #0f172a; margin: 0; letter-spacing: 0.5px; }
.login-form-desc { font-size: 14px; color: #64748b; margin: 0 0 32px; padding-left: 62px; line-height: 1.5; }
.login-form .el-form-item { margin-bottom: 24px; }
.login-form .el-form-item__label { font-weight: 600; color: #334155; }
.login-form .input-with-icon {
  position: relative;
  display: block;
}
.login-form .input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 20px;
  height: 20px;
  color: #64748b;
  pointer-events: none;
  transition: color .2s;
}
.login-form .input-with-icon .input-icon svg { width: 100%; height: 100%; display: block; }
.login-form .input-with-icon .el-input .el-input__wrapper { padding-left: 44px; }
.login-form .input-with-icon:focus-within .input-icon { color: #1890ff; }
.login-form .el-input__wrapper {
  border-radius: 12px;
  padding: 6px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid #e2e8f0;
  transition: border-color .2s, box-shadow .2s;
}
.login-form .el-input__wrapper:hover { border-color: #94a3b8; box-shadow: 0 0 0 1px rgba(24,144,255,.12); }
.login-form .el-input__wrapper.is-focus { border-color: #1890ff; box-shadow: 0 0 0 3px rgba(24,144,255,.18); }
.login-btn {
  width: 100%;
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 10px;
  background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(24,144,255,.4);
}
.login-btn:hover { opacity: 0.95; box-shadow: 0 6px 20px rgba(24,144,255,.45); }
.login-tip {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.login-tip .tip-icon { width: 14px; height: 14px; opacity: 0.8; }

/* ========== 个人中心 ========== */
.profile-page .profile-banner {
  height: 200px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}
.profile-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-avatar {
  flex-shrink: 0;
  border: 4px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.profile-head-text { color: #0c4a6e; }
.profile-name {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}
.profile-role {
  font-size: 15px;
  color: #0369a1;
  margin: 0 0 4px;
}
.profile-account {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}
.profile-card .card-header-title { font-weight: 600; color: var(--text); }
.profile-card .el-descriptions__label { width: 100px; }
.security-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.security-label { font-weight: 600; color: var(--text); min-width: 80px; }
.security-desc { font-size: 13px; color: var(--text-secondary); flex: 1; }
.quick-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: background .2s, color .2s;
  border: 1px solid #eef2f7;
}
.quick-link:hover {
  background: #e0f2fe;
  color: #1890ff;
  border-color: #bae6fd;
}
.quick-icon { font-size: 18px; }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 13px;
}
.recent-item:last-child { border-bottom: none; }
.recent-time { color: var(--text-secondary); min-width: 72px; }
.recent-text { color: var(--text); flex: 1; }

/* 表格 */
.main-content .el-table { border-radius: 8px; overflow: hidden; }
.main-content .el-table th.el-table__cell { background: #fafbfc !important; font-weight: 600; color: var(--text); }
.main-content .el-table .el-table__row:hover > td { background: #f0f9ff !important; }

/* ========== 移动端适配 ========== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(24,144,255,.12);
  color: #1890ff;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}
.mobile-menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.mobile-menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 999;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .mobile-menu-overlay { display: block; }
  .layout .aside {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    width: 260px;
    max-width: 85vw;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
  }
  .layout.mobile-menu-open .aside { transform: translateX(0); }
  .aside .logo { padding: 0 12px; }
  .aside .logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
  .main-wrap { width: 100%; min-width: 0; }
  .header {
    padding: 0 12px 0 8px;
    height: 52px;
  }
  .header .el-breadcrumb {
    font-size: 13px;
    flex: 1;
    min-width: 0;
  }
  .header .el-breadcrumb__item:last-child .el-breadcrumb__inner { color: var(--text); }
  .header .el-breadcrumb__inner { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
  .main-content { padding: 12px 16px 24px; }
  .page-banner {
    height: 120px;
    padding: 0 20px;
  }
  .page-banner-title { font-size: 20px; }
  .page-banner-sub { font-size: 12px; margin-top: 4px; }
  .page-body { padding: 16px; min-height: 280px; }
  .page-body .el-row { margin-left: -8px !important; margin-right: -8px !important; }
  .page-body .el-col { padding-left: 8px !important; padding-right: 8px !important; }
  .page-body .el-col { max-width: 100%; flex: 0 0 100% !important; }
  .stat-card {
    padding: 16px 20px;
    margin-bottom: 12px;
  }
  .stat-card .stat-value { font-size: 20px; }
  .stat-card .stat-label { font-size: 12px; }
  .chart-box { height: 260px; }
  .chart-box-sm { height: 220px; }
  .main-content .el-card__header { padding: 12px 16px; font-size: 14px; }
  .card-desc { font-size: 12px; margin-bottom: 12px; }
  .main-content .el-card__body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-content .el-table { min-width: 520px; }
  .user-name { display: none; }
  .el-dialog { width: 95% !important; max-width: 100%; margin: 0 !important; }
  .el-dialog__body { padding: 16px; max-height: 70vh; overflow-y: auto; }
  .dialog-footer-actions { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .page-banner { height: 100px; padding: 0 16px; }
  .page-banner-title { font-size: 18px; }
  .page-body { padding: 12px; }
  .stat-card .stat-value { font-size: 18px; }
  .chart-box { height: 220px; }
  .chart-box-sm { height: 200px; }
  .layout .aside { width: 240px; }
  .main-content { padding: 10px 12px 20px; }
  .el-dialog { width: 100% !important; border-radius: 12px 12px 0 0; }
  .el-dialog__body { max-height: 65vh; }
}

/* 登录页移动端 */
@media (max-width: 768px) {
  .login-page { flex-direction: column; min-height: 100vh; }
  .login-left {
    width: 100%;
    min-height: 200px;
    height: 200px;
    margin: 0;
    border-radius: 0 0 24px 24px;
    padding: 24px;
  }
  .login-brand { margin-top: 0; }
  .login-logo-icon { width: 64px; height: 64px; line-height: 64px; font-size: 28px; margin-bottom: 16px; }
  .login-title { font-size: 20px; margin-bottom: 8px; }
  .login-slogan { font-size: 13px; max-width: 100%; }
  .login-right {
    width: 100%;
    padding: 24px 20px 40px;
    flex: 1;
    align-items: flex-start;
  }
  .login-form-wrap { max-width: 100%; padding: 32px 24px; }
  .login-form-title { font-size: 22px; }
  .login-form-desc { padding-left: 0; margin-bottom: 24px; }
}
