* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
#app { height: 100%; }

/* 登录页 */
.login-wrap {
  height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}
.login-card {
  width: 400px; background: #fff; border-radius: 16px; padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.login-title { font-size: 24px; font-weight: 700; color: #1e3a8a; margin-bottom: 4px; }
.login-sub { font-size: 13px; color: #94a3b8; margin-bottom: 28px; }
.login-tip { font-size: 12px; color: #94a3b8; margin-top: 16px; text-align: center; }

/* 布局 */
.layout { height: 100vh; display: flex; }
.sidebar {
  width: 220px; background: #1e293b; color: #cbd5e1; display: flex; flex-direction: column;
  transition: width .2s;
}
.sidebar.collapsed { width: 64px; }
.logo {
  height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 18px;
  color: #fff; font-weight: 700; font-size: 16px; border-bottom: 1px solid #334155; white-space: nowrap;
}
.logo .badge { font-size: 11px; background: #3b82f6; padding: 2px 6px; border-radius: 4px; }
.nav { flex: 1; padding: 12px 0; overflow-y: auto; }
.nav-group-title { font-size: 11px; color: #64748b; padding: 14px 18px 6px; letter-spacing: 1px; }
.sidebar.collapsed .nav-group-title { display: none; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; cursor: pointer;
  color: #cbd5e1; font-size: 14px; white-space: nowrap; transition: all .15s;
}
.nav-item:hover { background: #334155; color: #fff; }
.nav-item.active { background: #2563eb; color: #fff; border-left: 3px solid #60a5fa; }
.nav-item .el-icon { font-size: 18px; flex-shrink: 0; }
.sidebar.collapsed .nav-text, .sidebar.collapsed .logo-text { display: none; }

.main { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #f1f5f9; }
.topbar {
  height: 60px; background: #fff; border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; padding: 0 24px; gap: 16px;
}
.topbar .title { font-size: 17px; font-weight: 600; color: #1e293b; flex: 1; }
.topbar .user { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #475569; }
.topbar .tip-bar {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 13px; color: #475569; overflow: hidden;
}
.topbar .tip-bar .tip-text {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar .tip-bar .tip-badge {
  flex-shrink: 0; font-size: 11px; background: #eff6ff; color: #2563eb;
  border: 1px solid #bfdbfe; padding: 1px 7px; border-radius: 10px;
}
/* 登录页 tips 条 */
.login-tip .tip-text { color: #64748b; font-size: 12px; }
.content { flex: 1; overflow-y: auto; padding: 20px; }

/* 卡片 */
.page-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.stat-card .label { font-size: 13px; color: #64748b; }
.stat-card .value { font-size: 28px; font-weight: 700; color: #1e293b; margin-top: 8px; }
.stat-card .value.blue { color: #2563eb; }
.stat-card .value.green { color: #16a34a; }
.stat-card .value.orange { color: #ea580c; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }

/* 评分环 */
.score-ring { display: flex; flex-direction: column; align-items: center; }
.score-num { font-size: 44px; font-weight: 800; }
.score-label { font-size: 13px; color: #64748b; }

/* 报告 */
.report-hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6); color: #fff;
  border-radius: 12px; padding: 28px; margin-bottom: 20px;
}
.report-hero h1 { margin: 0 0 6px; font-size: 24px; }
.report-hero .sub { opacity: .85; font-size: 14px; }
.report-score { font-size: 56px; font-weight: 800; }
.tag-ok { color: #16a34a; }
.tag-bad { color: #dc2626; }
.qa-item { border-bottom: 1px solid #f1f5f9; padding: 12px 0; }
.qa-q { font-weight: 600; color: #1e293b; margin-bottom: 4px; }
.qa-a { color: #475569; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }

.empty { text-align: center; color: #94a3b8; padding: 60px 0; }
.mt16 { margin-top: 16px; }
.mb16 { margin-bottom: 16px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* 响应式 */
@media (max-width: 768px) {
  .sidebar { width: 64px; }
  .sidebar .nav-text, .sidebar .logo-text { display: none; }
  .content { padding: 12px; }
  .login-card { width: 92%; padding: 28px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 美时美客：工作台 / 知识库 / 工单 ===== */
.card-title { font-weight: 600; font-size: 15px; color: #1e293b; margin-bottom: 12px; }
.muted { color: #94a3b8; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: 10px; padding: 18px 20px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.stat-card .stat-num { font-size: 26px; font-weight: 700; color: #1d4ed8; }
.stat-card .stat-label { font-size: 13px; color: #64748b; margin-top: 4px; }

.kb-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.kb-tabs { background: transparent; }
.row-item { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; }
.row-item.col { flex-direction: column; border: 1px dashed #e2e8f0; border-radius: 8px; padding: 10px; }
.img-row { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb { position: relative; width: 72px; height: 72px; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.add { color: #94a3b8; font-size: 12px; cursor: pointer; }
.thumb .del { position: absolute; top: 0; right: 0; background: rgba(0,0,0,.5); color: #fff; width: 18px; height: 18px; line-height: 16px; text-align: center; cursor: pointer; font-size: 14px; }

.wo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wo-head h3 { margin: 0; font-size: 16px; }
.wo-sec { margin-top: 14px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.wo-btns { display: flex; justify-content: space-between; align-items: center; }
.wo-guide, .wo-body { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 8px; padding: 10px 12px; white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 13px; line-height: 1.7; color: #334155; max-height: 320px; overflow: auto; }
.wo-art { margin-top: 10px; }
.wo-art-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: #1e293b; margin-bottom: 4px; }

/* ===== 知识库成长体系 ===== */
.growth-card { padding: 18px 20px; }
.growth-head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed #e2e8f0; }
.growth-badge { font-size: 40px; line-height: 1; }
.growth-lv { min-width: 150px; }
.growth-lv-t { font-size: 18px; font-weight: 700; color: #1e293b; }
.growth-bar { flex: 1; }
.growth-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: 14px; }
.growth-todo, .growth-unlock { font-size: 13px; }
.growth-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #f1f5f9; }
.growth-row .g-label { flex: 1; color: #334155; }
.growth-row .g-pts { color: #dc2626; font-weight: 600; font-size: 12px; }
.unlock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; margin-top: 8px; border-radius: 8px; background: #f8fafc; color: #94a3b8; border: 1px solid #eef2f7; }
.unlock-row.on { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }

/* ===== 基建清单 ===== */
.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 10px; }
.fd-item { border: 1px solid #eef2f7; border-radius: 10px; padding: 12px 14px; background: #fff; transition: .15s; }
.fd-item.core { border-left: 3px solid #dc2626; }
.fd-item.done { background: #f0fdf4; }
.fd-head { display: flex; align-items: center; gap: 8px; }
.fd-head b { font-size: 14px; color: #1e293b; }
.fd-st { margin-left: auto; font-size: 12px; color: #64748b; }
.fd-exam { font-size: 11px; color: #0369a1; background: #e0f2fe; border-radius: 4px; padding: 3px 6px; margin: 4px 0 2px; line-height: 1.4; }
.fd-item.exam { border-left: 3px solid #0ea5e9; }
.fd-guide { font-size: 12px; color: #94a3b8; margin: 6px 0 8px; line-height: 1.5; min-height: 32px; }

/* ===== 成长中心 ===== */
.hero-card { display: flex; align-items: center; gap: 20px; }
.hero-badge { font-size: 52px; line-height: 1; }
.hero-main { min-width: 200px; }
.hero-title { font-size: 24px; font-weight: 800; color: #1e293b; }
.hero-next { margin-left: auto; text-align: right; max-width: 460px; }
.dim-row { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.dim-name { width: 120px; font-size: 13px; color: #334155; }
.todo-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #f1f5f9; font-size: 13px; }
.todo-row .todo-title { flex: 1; color: #334155; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .hero-next { text-align: left; margin-left: 0; } .hero-card { flex-wrap: wrap; } }

/* 基建清单：徽章 / 操作 / 指引 */
.fd-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:6px 0}
.fd-actions{display:flex;gap:8px;margin-top:8px}
.fd-steps{padding-left:20px;line-height:2;color:#334155;font-size:13px}
.fd-block{margin-top:14px;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;padding:10px 12px}

/* 发起体检：费用预览 */
.run-cost{margin-top:14px;background:#f8fafc;border:1px solid #eef2f7;border-radius:8px;padding:10px 12px}
.run-cost-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:13px;color:#475569}
.run-cost-row.total{border-top:1px dashed #e2e8f0;margin-top:6px;padding-top:8px;font-size:14px}
.run-cost-row.total b{font-size:19px}

/* P6 内容闭环 */
.pub-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:8px; }
pre.qa-a { white-space:pre-wrap; margin:6px 0 0; font-family:inherit; font-size:13px; color:#475569; line-height:1.7; }
pre.wo-body, pre.wo-guide { white-space:pre-wrap; font-family:inherit; }

/* 通知铃铛（B-03） */
.topbar .bell { position: relative; }
.topbar .bell-dot {
  position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: #ef4444; color: #fff;
  font-size: 11px; line-height: 16px; text-align: center; font-weight: 600;
}
.notif-item { display: flex; gap: 12px; padding: 12px 14px; border-radius: 8px; cursor: pointer; }
.notif-item:hover { background: #f8fafc; }
.notif-item.unread { background: #eff6ff; }
.notif-icon { font-size: 20px; line-height: 1.2; }
.notif-main { flex: 1; min-width: 0; }
.notif-title { font-size: 14px; font-weight: 600; color: #1e293b; }
.notif-body { font-size: 13px; color: #64748b; margin-top: 2px; }
.notif-time { font-size: 12px; color: #94a3b8; white-space: nowrap; }

/* 授权到期横幅（B-04） */
.expiry-banner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 10px 16px; border-radius: 8px; margin-bottom: 14px;
  font-size: 14px; line-height: 1.5;
}
.expiry-banner.readonly { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.expiry-banner.warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ===== 工作台「下一步」引导卡 ===== */
.next-step-card { border-left: 4px solid #2563eb; }
.next-step-card.ns-foundation { border-left-color: #dc2626; }
.next-step-card.ns-content { border-left-color: #7c3aed; }
.next-step-card.ns-done { border-left-color: #16a34a; }
.ns-head { display: flex; align-items: flex-start; gap: 14px; }
.ns-icon { font-size: 30px; line-height: 1; flex-shrink: 0; }
.ns-main { flex: 1; min-width: 0; }
.ns-label { font-size: 11px; color: #94a3b8; letter-spacing: 1px; margin-bottom: 4px; }
.ns-title { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.ns-desc { font-size: 13px; color: #64748b; line-height: 1.6; }
.ns-action { flex-shrink: 0; align-self: center; }
.ns-steps { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.ns-stage { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 4px 12px 4px 6px; }
.ns-stage .ns-dot { width: 18px; height: 18px; border-radius: 50%; background: #e2e8f0; color: #94a3b8;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.ns-stage.done { color: #16a34a; border-color: #bbf7d0; background: #f0fdf4; }
.ns-stage.done .ns-dot { background: #16a34a; color: #fff; }
.ns-stage.active { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; font-weight: 600; }
.ns-stage.active .ns-dot { background: #2563eb; color: #fff; }
@media (max-width: 700px) { .ns-head { flex-wrap: wrap; } .ns-action { width: 100%; } .ns-action .el-button { width: 100%; } }

/* ============ 认识 AI 搜索优化（指南栏目）============ */
.guide-toc { display: flex; flex-direction: column; }
.guide-toc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-bottom: 1px dashed #eef2f7;
  cursor: pointer; transition: background .15s;
}
.guide-toc-item:hover { background: #f8fafc; }
.guide-ch { color: #0f766e; font-size: 12px; font-weight: 600; flex: 0 0 56px; }
.guide-tt { color: #1e293b; font-size: 14px; flex: 1; }
.guide-arrow { color: #94a3b8; font-size: 14px; }
.guide-body { font-size: 14px; color: #334155; }
.guide-body table {
  width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px;
}
.guide-body th, .guide-body td {
  border: 1px solid #e2e8f0; padding: 8px 10px; text-align: left;
}
.guide-body th { background: #f8fafc; font-weight: 600; color: #1e293b; }

/* ============ 基建清单：成本分层标签 ============ */
.fd-cost { display: flex; align-items: center; gap: 6px; margin: 6px 0 4px; flex-wrap: wrap; }
.cost-chip {
  display: inline-block; padding: 1px 7px; border-radius: 4px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.cost-chip.cost-free { background: #dcfce7; color: #15803d; }
.cost-chip.cost-low  { background: #fef3c7; color: #b45309; }
.cost-chip.cost-paid { background: #fee2e2; color: #b91c1c; }
.cost-note { font-size: 11.5px; color: #94a3b8; line-height: 1.5; }
.fd-alt {
  font-size: 11.5px; color: #0369a1; background: #f0f9ff;
  border-radius: 4px; padding: 4px 8px; margin: 4px 0 6px; line-height: 1.55;
}

/* ============ 站点页脚（全局品牌区） ============ */
.site-footer {
  margin-top: 24px; padding: 18px 4px 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px; color: #94a3b8; line-height: 1.9;
}
.site-footer .sf-main { font-size: 13px; color: #64748b; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-footer .sf-product { font-weight: 600; color: #475569; }
.site-footer .sf-sep { color: #cbd5e1; }
.site-footer .sf-slogan { color: #94a3b8; }
.site-footer .sf-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.site-footer .sf-links b { color: #475569; font-weight: 600; }
.site-footer .sf-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; color: #a8b3c2; }
.site-footer .sf-icp { color: #94a3b8; text-decoration: none; }
.site-footer .sf-icp:hover { color: #2563eb; text-decoration: underline; }

/* 登录页品牌区 */
.login-brand {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed #e5e7eb;
  font-size: 12px; color: #94a3b8; line-height: 1.9; text-align: center;
}
.login-brand .lb-line { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.login-brand b { color: #475569; font-size: 13px; }
.login-brand .lb-contact { color: #64748b; margin-top: 2px; }
.login-brand .lb-icp a { color: #94a3b8; text-decoration: none; }
.login-brand .lb-icp a:hover { color: #2563eb; text-decoration: underline; }

/* 付费确认处的服务方说明 */
.pay-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 8px 12px; border-radius: 6px;
  background: #f8fafc; border: 1px solid #eef2f7;
  font-size: 12px; color: #64748b; flex-wrap: wrap;
}
.pay-notice .pn-contact { color: #94a3b8; }

/* ===== AI 美化简介 三版选择 ===== */
.polish-box { border:1px solid #e2e8f0; border-radius:8px; padding:10px 12px; margin-bottom:10px; cursor:pointer; transition:all .15s; }
.polish-box:hover { border-color:#93c5fd; background:#f8fafc; }
.polish-box.on { border-color:#2563eb; background:#eff6ff; box-shadow:0 0 0 1px #2563eb inset; }
.polish-head { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.polish-body { font-size:13px; line-height:1.75; color:#334155; white-space:pre-wrap; word-break:break-word; }

/* ===== 基建页 统一简介 ===== */
.intro-copy-box { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:12px 14px; font-size:13px; line-height:1.8; color:#334155; white-space:pre-wrap; word-break:break-word; max-height:220px; overflow-y:auto; }

/* ===== AI 美化 版本切换条 ===== */
.ver-switch { margin-top:10px; padding-top:8px; border-top:1px dashed #e2e8f0; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

/* ===== 体检改进待办清单 ===== */
.todo-card .todo-list { margin-top:6px; }
.todo-list { display:flex; flex-direction:column; gap:8px; }
.todo-item {
  display:flex; align-items:flex-start; gap:10px;
  background:#f8fafc; border:1px solid #e2e8f0; border-left:3px solid #16a34a;
  border-radius:8px; padding:10px 12px;
}
.todo-item.paid { border-left-color:#f59e0b; background:#fffbeb; }
.todo-num {
  flex:0 0 auto; width:22px; height:22px; border-radius:50%;
  background:#16a34a; color:#fff; font-size:12px; font-weight:600;
  display:flex; align-items:center; justify-content:center; margin-top:2px;
}
.todo-item.paid .todo-num { background:#f59e0b; }
.todo-main { flex:1; min-width:0; }
.todo-title { font-size:13.5px; font-weight:600; color:#1e293b; }
.todo-desc { font-size:12.5px; color:#64748b; margin-top:3px; line-height:1.6; }

/* 体检信源缺口 → 媒介发文 */
.todo-src-head { font-size:13.5px; font-weight:600; color:#0369a1; margin-bottom:4px; }
.todo-src-tip { font-size:12px; color:#64748b; margin-bottom:8px; }
.todo-src-list { display:flex; flex-direction:column; gap:6px; }
.todo-src {
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  background:#f0f9ff; border:1px solid #bae6fd; border-left:3px solid #0284c7;
  border-radius:8px; padding:8px 12px; flex-wrap:wrap;
}
.todo-src-l { display:flex; flex-direction:column; gap:2px; min-width:0; }
.todo-src-l b { font-size:13.5px; color:#0c4a6e; }
.todo-src-l .muted { font-size:12px; }
.todo-src-r { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.todo-src-r .muted { font-size:12px; }

/* ===== 内容计划进度 ===== */
.plan-progress { margin-top:12px; padding-top:12px; border-top:1px dashed #e2e8f0; }
.plan-head { display:flex; justify-content:space-between; align-items:center; font-size:13px; font-weight:600; color:#334155; margin-bottom:8px; }
.plan-num { font-size:12.5px; font-weight:400; color:#64748b; }
.plan-num b { color:#16a34a; font-size:15px; font-weight:700; }
.plan-num .ok { color:#16a34a; }
.plan-tip { margin-top:8px; font-size:12.5px; color:#64748b; }
.plan-tip b { color:#f59e0b; }
.plan-tip.ok { color:#16a34a; }
.plan-tip.ok b { color:#16a34a; }

/* ===== 按篇生成弹窗 ===== */
.gen-item { border:1px solid #e2e8f0; border-left:3px solid #6366f1; border-radius:8px; padding:10px 12px; margin-bottom:8px; background:#f8fafc; }
.gen-item-head { display:flex; align-items:baseline; gap:8px; }
.gen-seq { flex:0 0 auto; font-size:11.5px; font-weight:600; color:#fff; background:#6366f1; border-radius:4px; padding:2px 7px; }
.gen-title { font-size:13.5px; font-weight:600; color:#1e293b; line-height:1.5; }
.gen-plat { margin-top:6px; font-size:12.5px; display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
.gen-cost { margin-top:12px; padding:10px 12px; background:#fef2f2; border:1px solid #fecaca; border-radius:8px; font-size:13.5px; display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
.gen-cost .gen-total { color:#dc2626; font-size:19px; margin-left:6px; }

/* ===== 成长中心：内容计划进度 ===== */
.plan-stats { display:flex; flex-wrap:wrap; gap:16px; align-items:baseline; margin:4px 0 2px; }
.plan-stat { font-size:13px; color:#475569; }
.plan-stat b { font-size:17px; color:#1e293b; margin-right:3px; }
.plan-stat.ok b { color:#16a34a; }
.plan-stat.doing b { color:#d97706; }
.plan-stat.muted2 { color:#94a3b8; }
.running-row { display:flex; align-items:center; gap:8px; font-size:13px; color:#334155; padding:4px 0; }

/* ============ 新用户引导建档页 ============ */
.layout-plain .main { margin-left: 0; }
.setup-wrap { display:flex; justify-content:center; padding: 28px 16px 60px; }
.setup-card { width: 100%; max-width: 620px; background:#fff; border-radius:14px;
  box-shadow: 0 6px 28px rgba(15,23,42,.08); padding: 30px 32px 26px; }
.setup-head { text-align:center; margin-bottom: 14px; }
.setup-logo { font-size: 42px; line-height: 1; }
.setup-title { font-size: 21px; font-weight: 700; margin: 10px 0 6px; color:#0f172a; }
.setup-sub { font-size: 13px; color:#64748b; line-height: 1.7; max-width: 460px; margin: 0 auto; }
.setup-hint { font-size: 12px; color:#94a3b8; margin-top: 4px; line-height: 1.5; }
.setup-actions { display:flex; gap: 12px; justify-content:center; align-items:center; margin-top: 22px; }
.setup-actions .el-button { flex: 0 0 auto; }
@media (max-width: 640px) {
  .setup-card { padding: 22px 18px 20px; }
  .setup-actions { flex-direction: column-reverse; }
  .setup-actions .el-button { width: 100%; margin-left: 0 !important; }
}

/* ============ 经营模式选择（成长中心弹窗） ============ */
.mode-opt { border:1px solid #e2e8f0; border-radius:10px; padding:10px 14px; margin-bottom:10px;
  transition: all .15s; cursor:pointer; }
.mode-opt:hover { border-color:#93c5fd; background:#f8fafc; }
.mode-opt.on { border-color:#2563eb; background:#eff6ff; box-shadow: 0 0 0 2px rgba(37,99,235,.08); }
.mode-opt .el-radio { display:flex; align-items:flex-start; height:auto; white-space:normal; margin-right:0; }
.mode-opt .el-radio__label { line-height:1.6; padding-left:6px; }

/* ============ 建档页：经营模式选择 ============ */
.setup-mode-row { display:flex; gap:10px; width:100%; }
.setup-mode { flex:1; border:1.5px solid #e2e8f0; border-radius:10px; padding:10px 12px;
  cursor:pointer; transition: all .15s; background:#fff; }
.setup-mode:hover { border-color:#93c5fd; background:#f8fafc; }
.setup-mode.on { border-color:#2563eb; background:#eff6ff; box-shadow:0 0 0 2px rgba(37,99,235,.08); }
.setup-mode-t { font-size:13px; font-weight:600; color:#0f172a; margin-bottom:4px; }
.setup-mode-d { font-size:11px; color:#64748b; line-height:1.5; }
@media (max-width: 640px) {
  .setup-mode-row { flex-direction: column; }
}

/* ============ 知识库质量提醒（废内容） ============ */
.kb-bad .el-textarea__inner,
textarea.kb-bad,
.kb-bad input {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
}
.kb-q-issue {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fafbfc;
}
.kb-q-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.kb-q-head b { color: #0f172a; }
.kb-q-body { margin-top: 6px; font-size: 12.5px; line-height: 1.7; }
.kb-q-now {
  color: #b45309;
  background: #fef3c7;
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-block;
  word-break: break-all;
}
.kb-q-tip { color: #16a34a; margin-top: 4px; }

/* 知识库必填软门禁 */
.kb-ready-tip { font-size:12.5px; margin: 0 0 12px; color:#16a34a; }

/* 报告策略试算预览 */
.preview-box { background:#f8fafc; border-radius:10px; padding:16px 18px; }
.aivo-line { font-size:15px; color:#334155; }
.aivo-line b { font-size:30px; margin:0 6px; }
.aivo-line .lv {
  background:#eff6ff; color:#1d4ed8; font-size:12px;
  padding:2px 10px; border-radius:20px;
}

/* ---- 工作台：流程进度条（方案A，替代 200px 挤 7 步的 el-steps）---- */
.flow-cell { display:flex; flex-direction:column; gap:5px; }
.flow-bar {
  height:6px; border-radius:4px; background:#e2e8f0; overflow:hidden;
}
.flow-bar > i {
  display:block; height:100%; border-radius:4px;
  background:linear-gradient(90deg,#3b82f6,#2563eb);
  transition:width .3s ease;
}
.flow-now {
  display:flex; align-items:center; gap:4px;
  font-size:12.5px; color:#1e293b; font-weight:600; line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.flow-ico { font-size:12px; }

/* ---- 企业报告：竞品尽调卡 ---- */
.cmp-card{border:1px solid #e2e8f0;border-radius:10px;padding:10px 13px;margin-bottom:8px}
.cmp-card.me{border-color:#2563eb;background:#f8fbff}
.cmp-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cmp-h b{font-size:13.5px}
.cmp-me{background:#2563eb;color:#fff;font-size:11px;padding:1px 7px;border-radius:6px}
.cmp-cnt{margin-left:auto;font-size:12px;color:#64748b}
.cmp-m{font-size:12.5px;color:#475569;margin:6px 0}
.cmp-risk{margin:4px 0 0;padding-left:18px;font-size:12.5px;color:#b91c1c}
.cmp-none{font-size:12.5px;color:#94a3b8;margin-top:4px}

/* ---- 知识库示范弹窗（看别人的示范）---- */
.kb-sample-sec{margin-bottom:16px;padding-bottom:14px;border-bottom:1px dashed #e2e8f0}
.kb-sample-sec:last-child{border-bottom:none;margin-bottom:0}
.kb-sample-sec > b{font-size:14px;display:block;margin-bottom:8px;color:#1e293b}
.kb-sample-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;font-size:13px;color:#334155}
.kb-sample-grid > div{display:flex;gap:8px;line-height:1.7}
.kb-sample-row{display:flex;gap:8px;font-size:13px;color:#334155;line-height:1.7;margin-top:6px}
.kb-sample-grid .k,.kb-sample-row .k{color:#94a3b8;flex-shrink:0;min-width:66px}
.kb-sample-intro{white-space:pre-wrap;color:#334155}
.kb-sample-prod{padding:8px 10px;background:#f8fafc;border-radius:8px;margin-bottom:6px}
.kb-sample-prod b{font-size:13.5px}
.kb-sample-prod .price{color:#dc2626;font-weight:600;margin-left:10px;font-size:13px}
.kb-sample-pre{font-size:13px;color:#334155;line-height:1.9;white-space:pre-wrap;background:#f8fafc;padding:10px 12px;border-radius:8px}
.kb-sample-qa{padding:8px 0;border-bottom:1px dashed #eef2f7}
.kb-sample-qa:last-child{border-bottom:none}
.kb-sample-qa .q{font-weight:600;font-size:13px;color:#1e293b}
.kb-sample-qa .a{font-size:13px;color:#475569;margin-top:3px;line-height:1.7}
.kb-sample-item{padding:8px 0;border-bottom:1px dashed #eef2f7}
.kb-sample-item:last-child{border-bottom:none}
.kb-sample-item .t{font-weight:600;font-size:13px;color:#1e293b}
.kb-sample-item .c{font-size:13px;color:#475569;margin-top:3px;line-height:1.7}

/* ===== 使用指南：操作步骤时间线 ===== */
.help-steps{position:relative;padding:6px 0}
.help-step{position:relative;display:flex;gap:14px;padding-bottom:16px}
.help-step:last-child{padding-bottom:0}
.help-step-line{position:absolute;left:15px;top:34px;bottom:-2px;width:2px;background:linear-gradient(#c7d7f5,#e8eefb)}
.help-step-dot{flex:0 0 32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(30,58,138,.28);z-index:1}
.help-step-body{flex:1;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:10px 14px;transition:.18s}
.help-step-body:hover{background:#f1f6ff;border-color:#c7d7f5}
.help-step-title{font-weight:600;color:#1e293b;font-size:14px}
.help-step-desc{color:#475569;font-size:13px;margin-top:5px;line-height:1.75}
.help-step-desc b{color:#1e3a8a}

/* ===== 使用指南：服务与收费卡片 ===== */
.fee-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:6px}
.fee-item{display:flex;gap:10px;align-items:flex-start;background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:12px 14px;transition:.18s}
.fee-item:hover{background:#f1f6ff;border-color:#c7d7f5}
.fee-ico{font-size:20px;line-height:1.2}
.fee-item b{color:#1e293b;font-size:13px}
.fee-sub{color:#64748b;font-size:12px;margin-top:3px;line-height:1.6}
.fee-vision{margin-top:12px;background:#eff6ff;border-left:3px solid #3b82f6;border-radius:6px;padding:10px 14px;color:#1e40af;font-size:13px;line-height:1.7}

/* ===== 选题中心：素材勾选列表 ===== */
.mat-item{padding:6px 0;border-bottom:1px dashed #eef2f7}
.mat-item:last-child{border-bottom:none}
.mat-item .el-checkbox{display:flex;align-items:flex-start;white-space:normal;height:auto}
.mat-item .el-checkbox__label{white-space:normal;line-height:1.5}

/* ===== 选题中心：勾选列表滚动区（靶子/素材多时不撑爆页面）===== */
.mat-scroll{max-height:270px;overflow-y:auto;padding-right:6px;border:1px solid #eef2f7;border-radius:8px;padding:6px 10px}
.mat-scroll::-webkit-scrollbar{width:8px}
.mat-scroll::-webkit-scrollbar-thumb{background:#dbe3ee;border-radius:4px}
.mat-scroll::-webkit-scrollbar-thumb:hover{background:#c3cfdd}
