* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  background: #f2f4f8;
  color: #1f2d3d;
}

.layout { height: 100%; }

.sidebar {
  background: linear-gradient(180deg, #1b2a4a 0%, #13203a 100%);
  color: #fff;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 20px 18px; }
.logo-dot { width: 12px; height: 12px; border-radius: 50%; background: #36c6ff; box-shadow: 0 0 12px #36c6ff; }
.logo-title { font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.logo-sub { font-size: 11px; color: #8fa3c4; margin-top: 2px; }

.side-menu { border-right: none; padding-top: 10px; }
.side-menu .el-menu-item { border-radius: 8px; margin: 4px 10px; }
.side-menu .el-menu-item.is-active { background: rgba(54, 198, 255, 0.16); }

.topbar {
  background: #fff; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #eaeef5;
}
.crumb { font-size: 16px; font-weight: 600; }
.top-right { display: flex; gap: 10px; align-items: center; }

.main-body { background: #f2f4f8; padding: 18px; }

.stat-label { color: #7a8aa0; font-size: 13px; margin-bottom: 8px; }
.stat-num { font-size: 26px; font-weight: 700; color: #1b2a4a; }
.stat-num.warn { color: #e6564c; }

.block-card { margin-top: 16px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.tip { color: #93a1b5; font-size: 12px; }

.cat-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px dashed #eef1f6; }

.strategy-form { max-width: 560px; margin-top: 20px; }

/* ===== 启动加载 ===== */
.boot-loading {
  height: 100vh; display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; color: #7a8aa0; font-size: 14px;
}

/* ===== 落地介绍首页 ===== */
.landing { min-height: 100vh; background: #f2f4f8; }
.landing-nav {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; background: #fff; border-bottom: 1px solid #eaeef5;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-title { font-size: 16px; font-weight: 700; color: #1b2a4a; }
.nav-sub { font-size: 11px; color: #8fa3c4; margin-top: 2px; }

.hero {
  background: linear-gradient(135deg, #1b2a4a 0%, #1f3b6b 55%, #264f8f 100%);
  color: #fff; padding: 90px 24px 100px;
}
.hero-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.hero-badges { display: flex; gap: 10px; justify-content: center; margin-bottom: 26px; }
.hero-title { font-size: 40px; font-weight: 800; letter-spacing: 2px; margin: 0 0 18px; }
.hero-sub { font-size: 17px; color: #c6d4ec; line-height: 1.8; max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

.feature-grid {
  max-width: 1080px; margin: -50px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.feature-card {
  background: #fff; border-radius: 14px; padding: 24px 18px;
  box-shadow: 0 8px 24px rgba(27, 42, 74, 0.08);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(27, 42, 74, 0.14); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; color: #368cff;
  background: rgba(54, 140, 255, 0.1); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-title { font-size: 16px; font-weight: 700; color: #1b2a4a; margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: #7a8aa0; line-height: 1.7; }

.landing-footer {
  max-width: 1080px; margin: 60px auto 0; padding: 22px 24px;
  display: flex; justify-content: space-between; color: #93a1b5; font-size: 13px;
  border-top: 1px solid #eaeef5;
}

/* ===== 登录页 ===== */
.login-wrap {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1b2a4a 0%, #1f3b6b 55%, #264f8f 100%);
}
.login-card {
  width: 400px; background: #fff; border-radius: 18px; padding: 38px 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.login-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.login-title { font-size: 20px; font-weight: 700; color: #1b2a4a; }
.login-sub { font-size: 12px; color: #8fa3c4; margin-top: 3px; }
.login-btn { width: 100%; margin-top: 8px; }
.login-tip { margin-top: 18px; text-align: center; color: #93a1b5; font-size: 12px; }

/* ===== 管理台：用户菜单 / 总览面板 ===== */
.user-chip { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: #4a5a72; }
.panel-title { font-size: 15px; font-weight: 700; color: #1b2a4a; margin-bottom: 14px; }
.log-line {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-bottom: 1px dashed #eef1f6;
}
.log-content { flex: 1; font-size: 13px; color: #3a485e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-time { color: #93a1b5; font-size: 12px; white-space: nowrap; }

@media (max-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
