/* 税联集团内控管理系统 - 亮色主题 */
: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);
}

/* 桌面端：左侧菜单固定占满视口高度，仅右侧内容区滚动，避免滚动画布时菜单离开视野 */
@media (min-width: 769px) {
  .layout {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    align-items: stretch;
  }
  .layout > .aside {
    height: 100vh;
    max-height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .layout > .aside .logo {
    flex-shrink: 0;
  }
  .layout > .aside .aside-menu {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .layout > .main-wrap {
    flex: 1;
    min-width: 0;
    min-height: 0 !important;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .layout > .main-wrap > .layout-tabs-bar {
    flex-shrink: 0;
  }
  .layout > .main-wrap > .main-content {
    flex: 1;
    min-height: 0 !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
.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; }

/* 主内容区多标签（属性页） */
.layout-tabs-bar {
  flex-shrink: 0;
  background: #f0f4f8;
  border-bottom: 1px solid #e4e7ed;
  padding: 8px 12px 0;
}
.layout-tabs-scroll {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px;
  max-height: 88px;
  overflow-y: auto;
}
.layout-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 200px;
  padding: 7px 12px;
  border: 1px solid #dcdfe6;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #e8edf3;
  color: #606266;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}
.layout-tab-item:hover {
  background: #f5f9ff;
  color: #1890ff;
}
.layout-tab-item.active {
  background: #fff;
  color: #1890ff;
  border-color: #d0e3ff;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: -1px;
  z-index: 1;
}
.layout-tab-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.layout-tab-close {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
  opacity: 0.55;
  padding: 0 2px;
  border-radius: 4px;
}
.layout-tab-close:hover {
  opacity: 1;
  color: #f56c6c;
  background: rgba(245, 108, 108, 0.12);
}

.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-actions > * { flex: 0 0 auto; }
.report-range-period {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.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; }

/* 首页概览 · 幻灯片数据展览 */
.home-showcase-page .page-body.home-showcase-footer { padding-top: 8px; }
.home-showcase-hero {
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 40px rgba(24, 144, 255, 0.22);
}
.home-showcase-hero-inner {
  padding: 28px 32px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}
.home-showcase-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.home-showcase-sub {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.home-showcase-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.home-meta-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.home-showcase-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  flex: 1;
  min-width: 280px;
  max-width: 720px;
}
.home-kpi-card {
  padding: 16px 14px;
  border-radius: 14px;
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}
.home-kpi-card:hover { transform: translateY(-3px); }
.home-kpi-1 { background: linear-gradient(145deg, rgba(255, 107, 107, 0.92), rgba(248, 181, 0, 0.88)); }
.home-kpi-2 { background: linear-gradient(145deg, rgba(78, 205, 196, 0.92), rgba(69, 183, 209, 0.88)); }
.home-kpi-3 { background: linear-gradient(145deg, rgba(108, 92, 231, 0.92), rgba(123, 104, 238, 0.88)); }
.home-kpi-4 { background: linear-gradient(145deg, rgba(24, 144, 255, 0.92), rgba(0, 210, 255, 0.88)); }
.home-kpi-label { font-size: 12px; opacity: 0.92; margin-bottom: 6px; }
.home-kpi-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}
.home-kpi-value small { font-size: 13px; font-weight: 600; margin-left: 2px; opacity: 0.9; }
.home-kpi-value.home-kpi-name { font-size: 20px; }
.home-kpi-extra { font-size: 11px; opacity: 0.88; margin-top: 6px; }

.home-slideshow-wrap {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f7;
  overflow: hidden;
}
.home-slideshow {
  position: relative;
  display: flex;
  align-items: stretch;
}
.home-slides-viewport {
  flex: 1;
  overflow: hidden;
  min-height: 420px;
}
.home-slides-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-slide-panel {
  flex: 0 0 100%;
  width: 100%;
  padding: 24px 56px 28px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #fafcff 0%, #fff 40%);
}
.home-slide-head { margin-bottom: 12px; }
.home-slide-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #6c5ce7;
  background: rgba(108, 92, 231, 0.12);
  margin-bottom: 8px;
}
.home-slide-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}
.home-slide-head p { margin: 0; font-size: 13px; color: #718096; }
.home-slide-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 340px;
}
.home-chart-lg { width: 100%; height: 360px; }
.home-chart-md { width: 100%; height: 340px; min-width: 0; }
.home-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 64px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #4a5568;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: background 0.2s, color 0.2s;
}
.home-slide-nav:hover { background: #1890ff; color: #fff; }
.home-slide-prev { left: 8px; }
.home-slide-next { right: 8px; }
.home-slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 18px;
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
}
.home-slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #cbd5e0;
  transition: transform 0.2s, background 0.2s;
}
.home-slide-dot.active {
  background: linear-gradient(135deg, #4ecdc4, #6c5ce7);
  transform: scale(1.25);
}
.home-empty-hint { color: #a0aec0; font-size: 13px; padding: 8px 0; }

/* 首页双板块：账无忧 + 生态 */
.home-receipt-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.home-receipt-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f7;
  overflow: hidden;
}
.home-section-zw { border-top: 4px solid #1890ff; }
.home-section-eco { border-top: 4px solid #52c41a; }
.home-section-head {
  padding: 16px 20px 8px;
  border-bottom: 1px solid #f0f4f8;
}
.home-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-section-icon { font-size: 20px; }
.home-section-sub { font-size: 12px; color: #718096; margin-top: 4px; }
.home-slideshow-compact .home-slides-viewport { min-height: 340px; }
.home-slide-panel-compact { padding: 12px 44px 16px; }
.home-slide-panel-compact .home-slide-head h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #2d3748;
}
.home-slide-panel-compact .home-slide-head p { margin: 0; font-size: 11px; color: #a0aec0; }
.home-slide-charts-stack { grid-template-columns: 1fr; gap: 8px; min-height: auto; }
.home-chart-sm { width: 100%; height: 150px; }
.home-slide-dots-compact { padding: 10px 0 14px; }
.home-slide-dot-eco.active {
  background: linear-gradient(135deg, #52c41a, #95de64);
}
.home-renewal-section {
  margin-bottom: 20px;
  padding: 16px 20px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid #eef2f7;
  border-top: 4px solid #6c5ce7;
}

/* 首页统计周期切换 */
.home-period-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.home-period-bar-label {
  font-size: 14px;
  font-weight: 700;
  color: #2d3748;
  margin-right: 4px;
}
.home-period-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 4px;
}
.home-period-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #4a5568;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.3;
}
.home-period-pill-year {
  min-width: 108px;
  text-align: center;
}
.home-period-pill:hover {
  border-color: #69c0ff;
  color: #1890ff;
  background: #f0f9ff;
}
.home-period-pill.active {
  background: linear-gradient(135deg, #1890ff, #69c0ff);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.28);
}
.home-period-pill-year.active {
  background: linear-gradient(135deg, #6c5ce7, #45b7d1);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.28);
}
.home-range-period {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

/* 公告富文本渲染 */
.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); }

/* 公告新闻式详情与附件 */
.announce-news-dialog .el-dialog__body { padding-top: 8px; }
.announce-news-detail { padding: 4px 4px 8px; }
.announce-news-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
.announce-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border, #eee);
  font-size: 13px;
  color: var(--text-muted, #6b7280);
}
.announce-news-body { min-height: 80px; }
.announce-attachments {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #dbe3ee;
}
.announce-attachments-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.announce-attachment-list { display: flex; flex-direction: column; gap: 8px; }
.announce-attachment-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8edf3;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
}
.announce-attachment-item:hover {
  border-color: #91caff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, .12);
}
.announce-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.announce-editor-hint {
  font-size: 12px;
  color: #6b7280;
}
.announce-attachment-editor {
  width: 100%;
  margin-top: 4px;
}
.announce-attachment-editor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fafbfc;
}
.announce-attachment-editor-name {
  font-size: 13px;
  color: var(--text);
  word-break: break-all;
}
.announce-scope-block { width: 100%; }
.announce-scope-pickers { margin-top: 10px; }
/* 首次登录上月冠军弹窗 */
.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; }
/* 业绩目标拆解：收紧列宽，尽量避免横向滚动 */
.theme-target .kpi-decompose-table.el-table--small .el-table__cell {
  padding: 5px 3px;
}
.theme-target .kpi-decompose-table .cell {
  padding-left: 4px;
  padding-right: 4px;
  font-size: 12px;
  line-height: 1.35;
}
.theme-target .kpi-decompose-table .kpi-decompose-input {
  width: 100% !important;
}
.theme-target .kpi-decompose-table .kpi-decompose-input .el-input__wrapper {
  padding-left: 5px;
  padding-right: 5px;
}
.theme-target .kpi-decompose-table .kpi-decompose-input .el-input__inner {
  font-size: 12px;
  text-align: right;
}
.theme-target .kpi-decompose-table .kpi-complete-rate-text {
  font-size: 12px;
  white-space: nowrap;
}
.theme-target .kpi-decompose-table th.el-table__cell .cell {
  white-space: normal;
  word-break: break-all;
  line-height: 1.25;
}
/* 工资核算 · 账无忧产品提成规则 */
.salary-zw-commission-rules-card .salary-zw-rule-hint {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.salary-zw-commission-rules-card .salary-zw-rule-block {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.salary-zw-commission-rules-card .salary-zw-rule-block-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  font-size: 14px;
}
.salary-zw-commission-rules-card .salary-zw-rule-item {
  margin-bottom: 10px;
}
.salary-zw-commission-rules-card .salary-zw-rule-item:last-child {
  margin-bottom: 0;
}
.salary-zw-commission-rules-card .salary-zw-rule-item-label {
  font-weight: 600;
  color: #475569;
  font-size: 13px;
  margin-bottom: 6px;
}
.salary-zw-commission-rules-card .salary-zw-rule-item-body {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
}
.salary-zw-commission-rules-card .salary-zw-rule-ol,
.salary-zw-commission-rules-card .salary-zw-rule-ul {
  margin: 0;
  padding-left: 1.25em;
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
}
.salary-zw-commission-rules-card .salary-zw-rule-ol li,
.salary-zw-commission-rules-card .salary-zw-rule-ul li {
  margin-bottom: 6px;
}
.salary-zw-commission-rules-card .salary-zw-rules-form .el-form-item {
  margin-bottom: 12px;
}
.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; }
/* 续费客户列表：表头内层 .cell 默认 nowrap + overflow hidden，会裁切换行表头；此处放开并允许中文在词间断行 */
.page-body.theme-customer .renewal-customers-table th.el-table__cell {
  overflow: visible;
}
.page-body.theme-customer .renewal-customers-table th.el-table__cell .cell {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all;
  line-height: 1.35;
}
.page-body.theme-customer .renewal-customers-table th.el-table__cell.is-sortable .cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.page-body.theme-customer .renewal-customers-table th.el-table__cell.is-sortable .caret-wrapper {
  flex-shrink: 0;
}
.customer-consumption-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.customer-consumption-filter-label {
  font-size: 13px;
  color: #606266;
  white-space: nowrap;
}
.customer-consumption-period-tag {
  font-size: 13px;
  color: #1890ff;
  background: #e6f7ff;
  border: 1px solid #91d5ff;
  border-radius: 4px;
  padding: 4px 10px;
}
.customer-consumption-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.customer-consumption-section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.customer-consumption-section-source {
  font-size: 12px;
  color: #909399;
}
.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-receipt .monthly-receipt-pivot-table .el-table__body tr.pivot-total-row > td.el-table__cell {
  font-weight: 600;
  background: linear-gradient(180deg, #fff5fb 0%, #fce7f3 100%);
}
.page-body.theme-report .el-card__header { border-left: 4px solid #597ef7; }
.page-body.theme-salary .el-card__header { border-left: 4px solid #fa8c16; }
/* 底薪编辑弹窗：姓名、核算月份、底薪前置固定区块 */
.salary-base-form-key-fields {
  margin: 0 0 16px;
  padding: 12px 12px 4px;
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: 8px;
}
.salary-commission-zw-categories {
  margin: 0 0 16px;
  padding: 12px 12px 4px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
}
.dev-progress-menu-in-progress {
  color: #f5222d;
  font-weight: 500;
}
.salary-perf-section {
  margin: 0 0 14px;
  padding: 12px 12px 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.salary-perf-section-title {
  font-weight: 600;
  color: #334155;
  margin: 0 0 10px;
  font-size: 13px;
}
.salary-perf-section-meta {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px;
  line-height: 1.5;
}
.salary-perf-rules-form .salary-perf-section {
  margin-bottom: 12px;
}
/* 工资表：横向滚动由 el-table 内部处理，勿在外层 overflow-x，否则 fixed 列会随滚动条移动 */
.salary-payroll-table-wrap {
  width: 100%;
}
.page-body.theme-salary .salary-payroll-table-wrap .salary-payroll-table {
  width: 100%;
}
.page-body.theme-salary .salary-payroll-table th.el-table__cell.is-sortable .cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  overflow: visible;
}
.page-body.theme-salary .salary-payroll-table th.el-table__cell.is-sortable .caret-wrapper {
  flex-shrink: 0;
}
.salary-payroll-comm-cell {
  line-height: 1.35;
  white-space: nowrap;
}
.salary-payroll-comm-cell-sub {
  font-size: 11px;
  color: #64748b;
}
/* 工资单预览（与 Word 工资条版式一致） */
.salary-payslip-preview-dialog .el-dialog__body {
  padding-top: 8px;
}
.salary-payslip-preview {
  max-width: 860px;
  margin: 0 auto;
}
.salary-payslip-preview-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  letter-spacing: 0.2em;
}
.salary-payslip-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
}
.salary-payslip-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}
.salary-payslip-preview-table th,
.salary-payslip-preview-table td {
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
}
.salary-payslip-preview-table th {
  background: #f1f5f9;
  font-weight: 600;
  color: #334155;
  text-align: center;
}
.salary-payslip-preview-label {
  color: #475569;
  background: #fafbfc;
  width: 28%;
}
.salary-payslip-preview-value {
  text-align: right;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  width: 22%;
}
.salary-payslip-preview-total td {
  background: #fffbeb;
  font-weight: 600;
}
.salary-payslip-preview-net {
  font-size: 15px;
  color: #b45309;
}
.salary-payslip-preview-remark {
  margin: 12px 0 0;
  font-size: 13px;
  color: #64748b;
}
/* 编辑工资表：备注区最小高度约为原 5 行的 120% */
.salary-payroll-form-remark textarea {
  min-height: 144px;
  line-height: 1.5;
}
.page-body.theme-settings .el-card__header { border-left: 4px solid #2f54eb; }
/* 系统设置-客户管理：可排序列表头与上下箭头并排，避免被 cell overflow 裁切 */
.page-body.theme-settings .settings-customers-table th.el-table__cell.is-sortable .cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  overflow: visible;
}
.page-body.theme-settings .settings-customers-table th.el-table__cell.is-sortable .caret-wrapper {
  flex-shrink: 0;
}
/* 客户画像标签：快捷标签面板 */
.customer-profile-tag-panel {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.customer-profile-tag-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.customer-profile-tag-panel-label {
  font-size: 12px;
  color: #64748b;
}
.customer-profile-tag-add {
  display: flex;
  align-items: center;
  gap: 6px;
}
.customer-profile-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.customer-profile-tag-chip {
  cursor: pointer;
  user-select: none;
}
.customer-profile-tag-chip:hover {
  border-color: #409eff;
  color: #409eff;
}
.customer-profile-tag-empty {
  font-size: 12px;
  color: #94a3b8;
}
/* 业务员-我的客户管理：与系统设置客户列表相同的可排序表头 */
.page-body.theme-customer .settings-customers-table th.el-table__cell.is-sortable .cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  overflow: visible;
}
.page-body.theme-customer .settings-customers-table th.el-table__cell.is-sortable .caret-wrapper {
  flex-shrink: 0;
}
/* 表单页：卡片圆角与背景区分 */
.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; }
.renewal-customer-form .el-form-item__label {
  white-space: nowrap;
  overflow: visible;
  line-height: 1.4;
}
.renewal-form-label-nowrap {
  white-space: nowrap;
}
/* 列表页：斑马纹加强 */
.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; }
/* 每月收款录入弹窗：客户联想下拉在 el-dialog 之上，避免被遮挡 */
.monthly-receipt-customer-autocomplete-popper.el-popper {
  z-index: 4000 !important;
}

.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; }
.login-footer {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  line-height: 1.7;
}
.login-footer a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.login-footer a:hover {
  color: #1890ff;
  text-decoration: underline;
}

/* ========== 个人中心 ========== */
.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; }
  .home-showcase-hero-inner { padding: 20px 16px; flex-direction: column; align-items: stretch; }
  .home-showcase-title { font-size: 22px; }
  .home-showcase-kpis { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .home-kpi-value { font-size: 22px; }
  .home-receipt-sections { grid-template-columns: 1fr; }
  .home-period-bar { padding: 10px 12px; gap: 6px; }
  .home-period-pill { padding: 4px 10px; font-size: 12px; }
  .home-period-pill-year { min-width: 112px; }
  .home-range-period { width: 100%; margin-left: 0 !important; }
  .home-slideshow-compact .home-slides-viewport { min-height: 300px; }
  .home-chart-sm { height: 130px; }
  .home-slide-panel-compact { padding: 12px 36px 14px; }
  .home-slide-charts-row { grid-template-columns: 1fr; min-height: auto; }
  .home-chart-lg { height: 280px; }
  .home-chart-md { height: 260px; }
  .home-slides-viewport { min-height: 320px; }
  .home-slide-nav { width: 32px; height: 48px; font-size: 22px; }
  .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; }
}
