:root {
  --ink: #1f2733;
  --ink-soft: #5b6675;
  --ink-faint: #8a95a5;
  --panel: #ffffff;
  --bg: #f4f6f9;
  --line: #e3e8ef;
  --brand: #1f6feb;
  --brand-soft: #e8f0fe;
  --blue-bg: #eef5ff;
  --blue-bd: #b9d4ff;
  --blue-accent: #1f6feb;
  --amber-bg: #fff7ec;
  --amber-bd: #f3d9a8;
  --amber-accent: #c47f12;
  --neutral-bg: #f6f7f9;
  --neutral-bd: #dfe3ea;
  --danger: #c0392b;
  --ok: #1e8e5a;
  --accent-amber: #F59E0B;
  --title: #1F2937;
  --body: #4B5563;
  --muted: #9CA3AF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(37,99,235,0.15);
  --radius: 12px;
  --shadow: 0 1px 3px rgba(20,30,50,.08), 0 6px 18px rgba(20,30,50,.05);
  --maxw: 980px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 14.5px;
}
h1, h2, h3 { margin: 0 0 8px; line-height: 1.3; }
button { font-family: inherit; cursor: pointer; }

/* ===== 顶栏（摄影风航拍横幅） ===== */
.topbar {
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 20;
  /* 墨蓝渐变蒙版 + 航拍底图 */
  background-image: linear-gradient(135deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.78) 50%, rgba(47,107,255,.55) 100%), url('assets/hero.jpg');
  background-size: cover;
  background-position: center 30%;
}
.topbar-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.brand { font-weight: 700; font-size: 16px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.brand-sub { color: rgba(255,255,255,.75); font-size: 12px; }
.topbar-spacer { flex: 1; }
.link-btn { background: none; border: none; color: rgba(255,255,255,.88); font-size: 13px; padding: 4px 10px; border-radius: 6px; transition: background .15s; }
.link-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
/* 位于白底容器内的返回按钮（话术/单块详情/方向发现）：改用深色文字，避免白字压白底看不见 */
#btn-talk-back, #btn-block-back, #discover-back { color: var(--ink-soft); }
#btn-talk-back:hover, #btn-block-back:hover, #discover-back:hover { background: rgba(31,39,51,.06); color: var(--ink); }
.account-chip { position: relative; font-size: 12px; color: rgba(255,255,255,.8); }
.account-trigger { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 3px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap; backdrop-filter: blur(4px); }
.account-trigger:hover { border-color: rgba(255,255,255,.45); color: #fff; }
.account-trigger[aria-expanded="true"] { border-color: rgba(255,255,255,.45); color: #fff; }
.account-ava { font-size: 12px; }
.account-caret { font-size: 9px; opacity: .7; transform: translateY(1px); }
.account-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 6px; z-index: 1200; }
.account-menu-head { font-size: 11px; color: var(--ink-faint); padding: 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.account-menu-item { display: block; width: 100%; text-align: left; background: none; border: none; font-size: 13px; color: var(--ink); padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.account-menu-item:hover { background: var(--brand-soft); color: var(--brand); }

/* 顶栏汉堡菜单（移动端） */
.topbar-hamburger { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border: none; border-radius: 9px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.topbar-hamburger:hover { background: rgba(255,255,255,.22); }
.topbar-hamburger svg { display: block; }
.topbar-nav { display: flex; align-items: center; gap: 10px; }

.screen { max-width: var(--maxw); margin: 0 auto; padding: 22px 16px 60px; }
.screen-guide { max-width: 1100px; }

/* ===== 引导页 ===== */
.guide-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 26px 24px; margin-top: 14px; }
.guide-wrap h1 { font-size: 28px; }
.guide-lead { color: var(--ink-soft); font-size: 15px; margin: 6px 0 18px; }
.guide-mod { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.gm-icon { font-size: 26px; grid-row: 1 / span 2; }
.guide-mod h3 { font-size: 15px; grid-column: 2; }
.guide-mod p { margin: 0; color: var(--ink-soft); font-size: 13.5px; grid-column: 2; }
.guide-actions { display: flex; gap: 12px; margin-top: 20px; }
.guide-note { margin-top: 14px; font-size: 12px; color: var(--ink-soft); background: var(--neutral-bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }

/* ===== 按钮 ===== */
.btn-primary { background: var(--brand); color: #fff; border: none; padding: 10px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; }
.btn-primary:hover { background: #1a5fce; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); padding: 9px 16px; border-radius: 9px; font-size: 14px; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ===== 上一步 / 下一步 统一导航按钮（复用同一类名，保证尺寸/视觉/hover 完全一致） ===== */
.btn-step-nav {
  /* 尺寸：固定高度 + 统一内边距 + 盒模型，确保两个按钮完全一致 */
  min-width: 132px;
  height: 46px;
  padding: 0 24px;
  box-sizing: border-box;
  /* 字体 */
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  /* 视觉样式：背景 / 边框 / 圆角 */
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 10px;
  /* 交互：光标 + 过渡 */
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
/* 悬停反馈：背景变深 + 阴影 + 轻微上浮，两个按钮完全一致 */
.btn-step-nav:hover:not([disabled]) {
  background: #1a5fce;
  border-color: #1a5fce;
  box-shadow: 0 4px 12px rgba(31, 111, 235, .28);
  transform: translateY(-1px);
}
/* 按下反馈 */
.btn-step-nav:active:not([disabled]) {
  background: #174fb0;
  box-shadow: 0 2px 6px rgba(31, 111, 235, .22);
  transform: translateY(0);
}
/* 禁用态：视觉与光标统一，仅降低不透明度 */
.btn-step-nav[disabled] {
  opacity: .5;
  cursor: not-allowed;
  background: var(--brand);
  border-color: var(--brand);
}
/* 键盘聚焦可达性 */
.btn-step-nav:focus-visible {
  outline: 2px solid #1a5fce;
  outline-offset: 2px;
}

/* ===== 首页工作台（输入你的情况） ===== */
.home-head { margin-bottom: 8px; }
.home-head h2 { font-size: 24px; font-weight: 700; color: var(--title); margin-bottom: 6px; }
.home-sub { color: var(--body); font-size: 14px; margin: 0; }

/* 步骤指示器（首页 3 步与 wizard 5 步共用） */
.stepper { display: flex; align-items: center; margin: 24px 0 32px; }
.step-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--neutral-bg); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: .15s; flex-shrink: 0; }
.step-item.active .step-no { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-item.done .step-no { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-label { font-size: 14px; color: var(--muted); transition: .15s; }
.step-item.active .step-label, .step-item.done .step-label { color: var(--title); font-weight: 600; }
.step-line { flex: 1; height: 2px; background: var(--line); margin: 0 12px; min-width: 16px; }
.step-item:not(.active):not(.done):hover .step-label { color: var(--ink-soft); }
.home-step-body { margin-top: 4px; min-height: 200px; }

/* 步骤块通用 */
.step-block { margin-bottom: 32px; }
.step-block-title { font-size: 16px; font-weight: 600; color: var(--title); margin-bottom: 14px; }

/* 城市选择 */
.city-search input { width: 100%; padding: 11px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; }
.city-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.city-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.city-tag { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--body); cursor: pointer; transition: .15s; }
.city-tag:hover { border-color: var(--brand); color: var(--brand); }
.city-tag.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.city-empty { font-size: 13px; color: var(--muted); }
.city-echo { font-size: 14px; color: var(--body); }
.city-echo b { color: var(--title); }
.city-open { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.city-open-label { font-size: 13px; color: var(--muted); margin-right: 4px; }

/* 处境三卡片 */
.l0-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.l0-card { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: .15s; }
.l0-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand); }
.l0-card.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.l0-ico { color: var(--brand); display: inline-flex; width: 32px; height: 32px; }
.l0-ico svg { width: 32px; height: 32px; }
.l0-h { font-weight: 600; font-size: 15px; color: var(--title); margin: 12px 0 6px; }
.l0-d { color: var(--body); font-size: 14px; line-height: 1.5; }
.l0-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; display: none; align-items: center; justify-content: center; }
.l0-card.selected .l0-check { display: flex; }

/* 目标企业 / 方向面板 */
.target-hint { font-size: 13px; color: var(--muted); background: var(--neutral-bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.ent-search { display: flex; gap: 8px; margin-bottom: 14px; }
.ent-search input { flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; }
.ent-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ent-list { display: flex; flex-direction: column; gap: 10px; }
.ent-item { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-sm); transition: .15s; cursor: pointer; }
.ent-item:hover { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.ent-item.auto-selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.ent-name { font-weight: 600; font-size: 15px; color: var(--title); }
.ent-meta { font-size: 13px; color: var(--body); margin-top: 4px; }
.ent-role-tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin-left: 8px; }
.ent-auto { font-size: 12px; color: var(--brand); margin-top: 6px; }
.chosen-info { font-size: 14px; color: var(--body); background: var(--brand-soft); border: 1px solid var(--blue-bd); border-radius: 10px; padding: 12px 14px; }
.chosen-info b { color: var(--title); }
.chosen-note { font-size: 12px; color: var(--muted); margin-top: 6px; }
.chosen-confirm { font-size: 14px; color: var(--body); margin-top: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--blue-bd); border-left: 3px solid var(--brand); border-radius: 8px; }
.chosen-confirm b { color: var(--brand); }
.chosen-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--brand-soft); border: 1px solid var(--blue-bd); border-radius: 10px; padding: 12px 14px; }
.chosen-card .chosen-info { background: none; border: none; padding: 0; flex: 1; }
.chosen-card .btn-ghost { white-space: nowrap; flex-shrink: 0; }

/* 方向卡片 */
.dir-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dir-card { display: flex; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: .15s; cursor: pointer; }
.dir-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.dir-card.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.dir-ico { color: var(--brand); flex: 0 0 auto; width: 30px; height: 30px; }
.dir-ico svg { width: 30px; height: 30px; }
.dir-name { font-weight: 600; font-size: 15px; color: var(--title); }
.dir-desc { font-size: 13px; color: var(--body); margin: 6px 0; line-height: 1.5; }
.dir-count { font-size: 12px; color: var(--muted); }
.dir-count-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--brand); text-decoration: none; margin-top: 8px; padding: 4px 0; transition: color 0.2s ease; }
.dir-count-link:hover { color: #1D4ED8; text-decoration: underline; }
.dir-count-link::after { content: '→'; }

/* ===== 向导第1步：业务方向大卡片 ===== */
.dir-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; margin-top: 4px; }
.dir-opt {
  position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left;
  background: #fff; border: 1px solid var(--border, #E5E7EB); border-radius: 12px; padding: 20px;
  cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0;
  animation: dirFade 0.42s ease forwards;
  transition: background .2s ease, border-color .2s ease, top .15s ease, box-shadow .2s ease, filter .12s ease;
}
.dir-opt:hover { border-color: var(--brand); background: #F8FAFF; box-shadow: var(--shadow-md); }
.dir-opt:hover .dir-opt-ico { background: var(--brand-soft); color: var(--brand); }
.dir-opt.selected { border: 2px solid var(--brand); background: var(--brand-soft); top: -2px; box-shadow: 0 4px 12px rgba(37,99,235,0.12); }
.dir-opt:active { filter: brightness(0.97); }
.dir-opt-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--neutral-bg, #F3F4F6); color: #6B7280; display: flex; align-items: center; justify-content: center; transition: all .2s ease; margin-bottom: 14px; }
.dir-opt-ico svg { width: 28px; height: 28px; }
.dir-opt.selected .dir-opt-ico { background: var(--brand-soft); color: var(--brand); }
.dir-opt-main { display: flex; flex-direction: column; flex: 1; }
.dir-opt-head { display: flex; align-items: center; }
.dir-opt-name { font-size: 16px; font-weight: 600; color: #111827; }
.dir-opt-badge-row { display: flex; align-items: center; margin: 6px 0 10px; }
.dir-opt-badge { font-size: 11px; line-height: 1; padding: 3px 8px; border-radius: 4px; font-weight: 600; color: #fff; }
.dir-opt-badge.hot { background: #DC2626; }
.dir-opt-badge.rec { background: #2563EB; }
.dir-opt-badge.new { background: #F3F4F6; color: #6B7280; }
.dir-opt-desc { font-size: 13px; color: #6B7280; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.dir-opt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dir-opt-tag { font-size: 11px; color: #6B7280; background: #F3F4F6; border-radius: 4px; padding: 2px 8px; }
.dir-opt-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--brand); text-decoration: none; margin-top: auto; transition: color .2s ease; }
.dir-opt-link:hover { color: #1D4ED8; text-decoration: underline; }
.dir-opt-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; transform: scale(0); }
.dir-opt.selected .dir-opt-check { animation: checkPop 0.25s ease forwards; }
.dir-opt-help { font-size: 12px; color: #9CA3AF; margin-top: 16px; }
@keyframes dirFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes checkPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dir-opt { animation: none; opacity: 1; } }
/* 平板：保持3列，缩小内边距，描述精简1行 */
@media (max-width: 1023px) {
  .dir-opts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .dir-opt { padding: 16px; }
  .dir-opt-desc { /* 完整换行，不省略 */ }
}
/* 移动端：单列堆叠，图标在左、文字在右 */
@media (max-width: 767px) {
  .dir-opts { grid-template-columns: 1fr; }
  .dir-opt { flex-direction: row; align-items: flex-start; gap: 14px; }
  .dir-opt-ico { margin-bottom: 0; flex: 0 0 48px; }
}

/* 方向代表企业选择弹窗（专业版） */
.ep-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; animation: ep-fade 0.2s ease; }
.ep-modal { width: 680px; max-width: calc(100vw - 40px); max-height: min(640px, 80vh); background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; animation: ep-pop 0.2s ease; }
@keyframes ep-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes ep-pop { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }

/* 标题栏 */
.ep-header { height: 56px; flex: 0 0 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #E5E7EB; }
.ep-head-text { min-width: 0; }
.ep-title { font-size: 16px; font-weight: 700; color: #1F2937; margin: 0; line-height: 1.2; }
.ep-close { background: none; border: none; font-size: 24px; line-height: 1; color: #9CA3AF; cursor: pointer; width: 32px; height: 32px; border-radius: 6px; transition: background 0.15s ease, color 0.15s ease; }
.ep-close:hover { background: #F3F4F6; color: #4B5563; }

/* 搜索框 */
.ep-search-wrap { position: relative; padding: 16px 24px; }
.ep-search { width: 100%; height: 40px; padding: 0 14px; border: 1px solid #D1D5DB; border-radius: 8px; font-size: 14px; color: #1F2937; box-sizing: border-box; outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.ep-search::placeholder { color: #9CA3AF; }
.ep-search:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* 内容区（可滚动） */
.ep-body { flex: 1 1 auto; overflow-y: auto; padding: 0 24px; }
.ep-body::-webkit-scrollbar { width: 8px; }
.ep-body::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }
.ep-body::-webkit-scrollbar-track { background: transparent; }

/* 城市分组（可折叠） */
.ep-group { margin-bottom: 20px; }
.ep-group-head { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: none; padding: 4px 0; cursor: pointer; font: inherit; }
.ep-group-bar { width: 4px; height: 16px; border-radius: 2px; background: #2563EB; flex: 0 0 4px; }
.ep-group-title { font-size: 14px; font-weight: 700; color: #374151; }
.ep-group-count { font-size: 12px; color: #9CA3AF; background: #F3F4F6; border-radius: 999px; padding: 1px 8px; }
.ep-group-arrow { margin-left: auto; color: #9CA3AF; font-size: 12px; transition: transform 0.15s ease; }
.ep-group.collapsed .ep-group-arrow { transform: rotate(-90deg); }
.ep-group.collapsed .ep-group-body { display: none; }
.ep-group-body { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }

/* 企业项（默认 / hover / 选中 三态） */
.ep-item { position: relative; background: #fff; border: 1px solid #E5E7EB; border-radius: 8px; padding: 14px 16px 14px 16px; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.ep-item:hover { border-color: #93C5FD; background: #F8FAFC; }
.ep-item:focus-visible { outline: 2px solid #2563EB; outline-offset: 1px; }
.ep-item-name { font-size: 15px; font-weight: 700; color: #1F2937; padding-right: 32px; }
.ep-role { display: inline-block; font-size: 12px; font-weight: 500; color: #fff; border-radius: 4px; padding: 2px 8px; white-space: nowrap; margin-top: 6px; }
.ep-role-platform { background: #2563EB; }
.ep-role-device { background: #F59E0B; }
.ep-role-integrator { background: #8B5CF6; }
.ep-role-isv { background: #14B8A6; }
.ep-role-other { background: #6B7280; }
.ep-item-desc { font-size: 13px; color: #6B7280; line-height: 1.5; margin-top: 6px; word-break: break-word; }
.ep-check { position: absolute; top: 14px; right: 16px; width: 20px; height: 20px; border-radius: 50%; background: #2563EB; color: #fff; font-size: 12px; line-height: 20px; text-align: center; opacity: 0; transition: opacity 0.15s ease; z-index: 2; }
.ep-item.checked { border-color: #2563EB; background: #EFF6FF; }
.ep-item.checked .ep-item-name { color: #2563EB; }
.ep-item.checked .ep-check { opacity: 1; }

.ep-empty { text-align: center; color: #9CA3AF; font-size: 14px; padding: 32px 0; }
.ep-noresult { text-align: center; color: #9CA3AF; font-size: 14px; padding: 24px 0; }

/* 底部操作栏 */
.ep-footer { height: 64px; flex: 0 0 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-top: 1px solid #E5E7EB; gap: 12px; }
.ep-selected { font-size: 14px; color: #6B7280; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-selected strong { color: #2563EB; font-weight: 700; }
.ep-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.ep-btn { font-size: 14px; border-radius: 8px; padding: 8px 18px; cursor: pointer; border: 1px solid transparent; transition: background 0.15s ease, opacity 0.15s ease; }
.ep-btn-cancel { background: #fff; border-color: #D1D5DB; color: #374151; }
.ep-btn-cancel:hover { background: #F3F4F6; }
.ep-btn-confirm { background: #2563EB; color: #fff; font-weight: 700; }
.ep-btn-confirm:hover:not([disabled]) { background: #1D4ED8; }
.ep-btn-confirm[disabled] { opacity: 0.5; cursor: not-allowed; }

/* 响应式：移动端弹窗占满，操作栏纵向堆叠 */
@media (max-width: 767px) {
  .ep-modal { width: 92vw; max-width: 92vw; min-width: 320px; max-height: 86vh; }
  .ep-item { padding: 12px 14px 12px 14px; }
  .ep-item-name { font-size: 14px; padding-right: 28px; }
  .ep-role { font-size: 11px; padding: 2px 6px; }
  .ep-check { top: 12px; right: 14px; }
  .ep-header { padding: 0 16px; }
  .ep-search-wrap { padding: 12px 16px; }
  .ep-body { padding: 0 16px; }
  .ep-footer { flex-direction: column; align-items: stretch; gap: 8px; height: auto; flex: 0 0 auto; padding: 12px 16px; }
  .ep-actions { justify-content: stretch; }
  .ep-actions .ep-btn { flex: 1; }
  .ep-selected { text-align: center; }
}

/* 分隔线 + 底部导航 */
.link-text { background: none; border: none; color: var(--brand); font-weight: 700; text-decoration: underline; font-size: 14px; cursor: pointer; padding: 0; }
.link-text:hover { color: var(--accent-amber); }
.home-nav { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ===== 向导 ===== */
.wizard-head { display: flex; align-items: center; margin-bottom: 10px; }
.wizard-page-title { font-size: 20px; font-weight: 700; color: var(--ink); margin: 2px 0; }
.wizard-head .back-link { font-size: 13px; color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.wizard-head .back-link:hover { color: var(--brand); background: var(--brand-soft); }

/* ===== 方向发现页（还在了解前置学习页） ===== */
.screen-discover { background: var(--bg, #f6f8fb); }
.discover-wrap { max-width: 880px; margin: 0 auto; padding: 28px 20px 40px; }
.discover-head { margin-bottom: 22px; }
.discover-title { font-size: 22px; font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.discover-sub { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.discover-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.discover-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line, #e6eaf0); border-radius: 14px; padding: 18px; box-shadow: 0 1px 3px rgba(20,40,80,.04); transition: border-color .15s, box-shadow .15s, transform .12s; }
.discover-card:hover { border-color: var(--brand, #2f6bff); box-shadow: 0 6px 18px rgba(47,107,255,.12); transform: translateY(-2px); }
.discover-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft, #eaf0ff); color: var(--brand, #2f6bff); font-size: 20px; }
.discover-card-body { min-width: 0; }
.discover-card-name { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.discover-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.discover-count-link { font-size: 13px; font-weight: 600; color: var(--brand, #2f6bff); cursor: pointer; }
.discover-count-link:hover { text-decoration: underline; }
.discover-cta { margin-top: 26px; display: flex; justify-content: flex-end; }
@media (max-width: 640px) { .discover-cards { grid-template-columns: 1fr; } }

/* 上下文面包屑 */
.wizard-context-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; }
.wizard-back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563EB;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}
.wizard-back-link:hover { color: #1d4ed8; text-decoration: underline; }
.wizard-crumb-sep { color: #9CA3AF; }
.wizard-crumb-text { color: #6B7280; }

/* 步骤指示器区域（wizard 页复用 .stepper） */
.wizard-stepper-area { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
#wizard-steps.stepper { flex: 1; margin: 0; }

.wizard-body { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.step-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.step-desc { color: var(--ink-soft); font-size: 13px; margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; }
.hint { font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; user-select: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .05s; }
.chip:hover { border-color: var(--brand); }
.chip:active { transform: scale(0.97); }
.chip.selected { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip-check { width: 12px; height: 12px; flex-shrink: 0; }

/* 行业选择卡片网格（2×4） */
.industry-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-card { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow-sm); transition: .15s; cursor: pointer; min-height: 120px; display: flex; flex-direction: column; align-items: flex-start; }
.industry-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.industry-card.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.industry-card.selected .sel-check { display: flex; }
.industry-card.placeholder { background: var(--neutral-bg); border-style: dashed; cursor: default; box-shadow: none; justify-content: center; align-items: center; }
.industry-card.placeholder:hover { border-color: var(--neutral-bd); box-shadow: none; }
.ic-ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 8px; }
.ic-ico svg { width: 100%; height: 100%; }
.ic-name { font-weight: 600; font-size: 15px; color: var(--title); line-height: 1.3; }
.ic-placeholder { color: var(--muted); font-weight: 400; }
.ic-badge-hot { font-size: 11px; color: #fff; background: var(--accent-amber); border-radius: 999px; padding: 1px 7px; font-weight: 600; white-space: nowrap; margin-top: 4px; }
.ic-count { font-size: 12px; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--blue-bd); border-radius: 999px; padding: 1px 8px; margin-top: 8px; font-weight: 600; }
.ic-desc { font-size: 12px; color: var(--body); margin-top: 8px; line-height: 1.5; }

/* 场景选择卡片（2×2 大卡片） */
.scene-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scene-card { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: .15s; cursor: pointer; min-height: 160px; display: flex; flex-direction: column; align-items: flex-start; }
.scene-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.scene-card.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow-md); }
.scene-card.selected .sel-check { display: flex; }
.sc-ico { width: 30px; height: 30px; color: var(--brand); margin-bottom: 10px; }
.sc-ico svg { width: 100%; height: 100%; }
.sc-name { font-weight: 700; font-size: 16px; color: var(--title); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sc-badge-rec { font-size: 11px; color: #fff; background: var(--accent-amber); border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.sc-level { font-size: 12px; color: var(--brand); background: var(--brand-soft); border: 1px solid var(--blue-bd); border-radius: 999px; padding: 1px 8px; font-weight: 600; margin-bottom: 10px; }
.sc-use { font-size: 13px; color: var(--body); line-height: 1.6; }

.toggle-group { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.tg-opt { padding: 8px 22px; background: #fff; font-size: 14px; }
.tg-opt.selected { background: var(--brand); color: #fff; }
input[type=number], input[type=text], textarea, select { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; }

/* 向导底部导航 */
.wizard-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 18px; }

/* 选择链路回显（防止用户断片） */
.wizard-chain { font-size: 13px; color: var(--muted); background: var(--neutral-bg); border: 1px solid var(--neutral-bd); border-radius: 8px; padding: 8px 14px; margin-bottom: 16px; }
.wizard-chain b { color: var(--body); }
.chain-arrow { color: var(--brand); margin: 0 2px; font-weight: 700; }

/* 选中态角标（城市/阶段卡片共用） */
.sel-check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; display: none; align-items: center; justify-content: center; }

/* 项目参数页（第 4 步）：城市 / 阶段 / 预算卡片 */
.param-fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.param-legend { display: block; font-size: 15px; font-weight: 600; color: var(--title); margin-bottom: 10px; }

.radio-group { display: grid; gap: 10px; }
.city-cards { grid-template-columns: repeat(4, 1fr); }
.stage-cards { grid-template-columns: repeat(3, 1fr); }

.city-card,
.stage-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 92px;
  display: flex;
  flex-direction: column;
}
.city-card:hover,
.stage-card:hover {
  border-color: var(--brand);
  background: #F8FAFF;
  transform: translateY(-1px);
}
.city-card:active,
.stage-card:active {
  transform: scale(0.98);
}
.city-card.selected,
.stage-card.selected {
  border: 2px solid var(--brand);
  background: #EFF6FF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.city-card.selected .sel-check,
.stage-card.selected .sel-check { display: flex; }

.cc-name,
.sc-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--title);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 22px;
}
.cc-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  flex-shrink: 0;
}
.cc-badge.rec { background: #DC2626; color: #fff; }
.cc-badge.gen { background: #F3F4F6; color: #6B7280; }
.cc-desc,
.sc-desc {
  font-size: 12.5px;
  color: #6B7280;
  margin-top: 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.sc-time {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 8px;
}

/* 预算区：输入框在上，快捷选项在下一行 */
.budget-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 10px;
}
.budget-input-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  max-width: 100%;
}
.budget-input {
  width: 100%;
  height: 40px;
  padding: 0 52px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--title);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.budget-input:hover { border-color: #D1D5DB; }
.budget-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.budget-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #9CA3AF;
  pointer-events: none;
}
.budget-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.bq-tag {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.bq-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.bq-tag.selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.budget-ref {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 8px;
}

/* 信息提示条 */
.info-bar {
  font-size: 13px;
  color: var(--body);
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: 10px 14px;
}
.param-info-bar { margin-top: 14px; }
.wizard-nav-hint { font-size: 12px; color: var(--muted); text-align: right; margin-top: 8px; min-height: 18px; }

/* 参数复核页（第 5 步） */
.param-toolbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.btn-text { background: none; border: none; color: var(--brand); font-size: 13px; cursor: pointer; padding: 6px 10px; border-radius: 6px; transition: background 0.15s ease; }
.btn-text:hover { background: var(--brand-soft); }

.param-group { margin-bottom: 28px; }
.param-group-title { font-size: 15px; font-weight: 700; color: var(--title); margin-bottom: 14px; padding-left: 10px; border-left: 4px solid var(--brand); }
.param-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.param-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; transition: border-color 0.2s ease, background 0.2s ease; }
.param-item.touched { border-color: #F59E0B; background: #FFFBEB; }
.param-label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--title); margin-bottom: 10px; }
.touched-badge { font-size: 11px; color: #B45309; background: #FDE68A; border-radius: 999px; padding: 1px 7px; font-weight: 600; }
.help-i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #E5E7EB; color: #6B7280; font-size: 11px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; user-select: none; }
.help-i:hover, .help-i:focus { background: var(--brand); color: #fff; outline: none; }
.help-pop { position: fixed; z-index: 1200; max-width: 280px; background: #1F2937; color: #F9FAFB; font-size: 12.5px; line-height: 1.55; padding: 10px 12px; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.help-pop::after { content: ''; position: absolute; top: -5px; left: 14px; width: 10px; height: 10px; background: #1F2937; transform: rotate(45deg); border-radius: 2px; }
.help-pop-text { position: relative; }
.field-help { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.param-hint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; display: flex; align-items: center; gap: 5px; }
.param-hint::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.val .chips { margin-top: 2px; }

.site-row { display: flex; gap: 10px; flex-wrap: wrap; }
.site-sub { display: none; align-items: center; gap: 6px; }
.site-sub.active { display: flex; }
.site-sub label { font-size: 12px; color: var(--body); white-space: nowrap; }
.site-sub input { width: 90px; padding: 7px 10px; }
.site-sub i { font-size: 12px; color: var(--muted); font-style: normal; }

.num-wrap { display: flex; align-items: center; gap: 8px; }
.num-wrap input { flex: 1; max-width: 160px; }
.num-unit { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* 企业信息确认卡 */
/* 企业确认卡片 v2 */
.enterprise-confirm-card.v2 {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.ec-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ec-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.18);
}
.ec-logo svg { width: 32px; height: 32px; }
.ec-title-block { flex: 1; min-width: 0; }
.ec-name {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
  line-height: 1.2;
}
.ec-top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ec-top-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: 3px 10px;
}
.ec-change-top {
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 8px;
  flex-shrink: 0;
}
.ec-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 24px 0;
}
.ec-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
}
.ec-section-title {
  font-size: 14px;
  font-weight: 500;
  color: #9CA3AF;
  margin-bottom: 14px;
}
.ec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #1F2937;
}
.ec-row b {
  color: #1F2937;
  font-weight: 700;
  min-width: 64px;
}
.ec-value { color: #1F2937; }
.ec-help {
  color: #2563EB;
  cursor: help;
  font-size: 13px;
  font-weight: 700;
}
.ec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.ec-tag {
  display: inline-block;
  font-size: 12px;
  color: #2563EB;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 500;
}
.ec-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
}
.ec-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.ec-detail-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  cursor: pointer;
}
.ec-detail-link:hover { color: #1d4ed8; }
.ec-detail-link--none { color: #9aa0a6; cursor: help; font-weight: 500; }
.ec-detail-link--none:hover { color: #9aa0a6; }

/* 项目参数聚合页（城市 / 阶段 / 预算 纵向排列） */
.params-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 4px;
}

/* 蓝色信息条（替代黄色警告） */
.info-bar { background: var(--brand-soft); border: 1px solid var(--blue-bd); border-radius: 8px; padding: 10px 14px; font-size: 13px; color: var(--body); }
.info-bar b { color: var(--title); }

/* 参数复核页（B 类 11 项） */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.review-item { border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: var(--neutral-bg); }
.review-item label { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.review-item .val { font-weight: 600; }
.cf-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
.cf-blue { background: var(--blue-accent); }
.cf-inferred { background: var(--amber-accent); }
.cf-example { background: #d9534f; }
.cf-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.cf-tag.blue { background: var(--blue-bg); color: var(--blue-accent); border: 1px solid var(--blue-bd); }
.cf-tag.inferred { background: var(--amber-bg); color: var(--amber-accent); border: 1px solid var(--amber-bd); }
.cf-tag.example { background: #fdecec; color: var(--danger); border: 1px solid #f3c0c0; }

/* ===== 结果页 / 纵览 ===== */
.bp-head { margin-bottom: 14px; }
.bp-head h2 { font-size: 22px; }
.bp-meta { color: var(--ink-soft); font-size: 13px; }
.summary-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.sc-head { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.sc-meta { color: var(--ink-soft); font-size: 12.5px; margin-bottom: 12px; }
.sc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.sc-stat { background: var(--neutral-bg); border: 1px solid var(--line); border-radius: 9px; padding: 12px; text-align: center; }
.sc-stat b { display: block; font-size: 22px; color: var(--brand); }
.sc-stat span { font-size: 12px; color: var(--ink-soft); }
.sc-verdict { background: var(--blue-bg); border: 1px solid var(--blue-bd); border-radius: 9px; padding: 10px 12px; font-size: 13.5px; }
.bp-tag-example { background: #fdecec; color: var(--danger); font-size: 11px; padding: 1px 7px; border-radius: 999px; }

.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ov-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; cursor: pointer; transition: .15s; border-left: 4px solid var(--neutral-bd); }
.ov-card:hover { transform: translateY(-2px); }
.ov-card.c-blue { border-left-color: var(--blue-accent); }
.ov-card.c-amber { border-left-color: var(--amber-accent); }
.ov-card.c-mix { border-left-color: #8e5bd0; }
.ov-num { font-size: 12px; color: var(--ink-soft); }
.ov-title { font-weight: 700; font-size: 14.5px; margin: 2px 0 6px; }
.ov-brief { font-size: 12.5px; color: var(--ink-soft); }
.ov-badge { font-size: 11px; padding: 1px 8px; border-radius: 999px; }
.ov-badge.blue { background: var(--blue-bg); color: var(--blue-accent); }
.ov-badge.amber { background: var(--amber-bg); color: var(--amber-accent); }
.ov-badge.mix { background: #f1e9fb; color: #8e5bd0; }

.talk-entry { display: inline-flex; align-items: center; gap: 6px; background: #f1e9fb; color: #8e5bd0; border: 1px solid #ddd0f0; padding: 8px 16px; border-radius: 999px; font-weight: 600; margin-bottom: 16px; }
.review-bar { background: #fffbe9; border: 1px solid var(--amber-bd); border-radius: 9px; padding: 12px 14px; font-size: 13px; margin-top: 18px; }
.bp-footer { margin-top: 14px; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ===== 块详情 / 话术 ===== */
.block-detail-wrap, .talk-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-top: 12px; }
.block { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.block.blue { background: var(--blue-bg); border-color: var(--blue-bd); }
.block.amber { background: var(--amber-bg); border-color: var(--amber-bd); }
.block.mix { background: #f8f4fd; border-color: #ddd0f0; }
.block.neutral { background: var(--neutral-bg); border-color: var(--neutral-bd); }
.block-title { font-weight: 700; font-size: 15.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.badge { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: 999px; }
.badge.blue { background: #dbeafe; color: var(--blue-accent); }
.badge.amber { background: #fce7c8; color: var(--amber-accent); }
.badge.mix { background: #efe3fb; color: #8e5bd0; }
.item { margin-bottom: 10px; }
.concl { font-size: 14px; }
.src { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.vk { color: var(--blue-accent); }
.subhead { font-weight: 600; font-size: 13px; margin: 12px 0 6px; color: var(--ink); }
.empty { color: var(--ink-soft); font-size: 13px; padding: 10px; background: var(--neutral-bg); border-radius: 8px; }

/* 表 */
table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 6px 0; }
th, td { text-align: left; padding: 7px 9px; border-bottom: 1px solid var(--line); }
th { background: var(--neutral-bg); font-weight: 600; color: var(--ink-soft); }
.kpi-src, .cc-src { color: var(--ink-soft); font-size: 12px; }
.flag-demo { font-size: 11px; color: var(--amber-accent); background: var(--amber-bg); border: 1px solid var(--amber-bd); padding: 0 6px; border-radius: 999px; }

/* 硬件卡 */
.hw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hw-card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; }
.hw-name { font-weight: 700; font-size: 13.5px; }
.hw-role { font-size: 11px; color: var(--brand); background: var(--brand-soft); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }
.hw-spec { display: flex; justify-content: space-between; font-size: 12.5px; padding: 2px 0; }
.hw-note { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.hw-caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cap { font-size: 12px; background: var(--neutral-bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.badge-blue { font-size: 11px; background: var(--blue-bg); color: var(--blue-accent); border: 1px solid var(--blue-bd); padding: 1px 7px; border-radius: 999px; margin-left: 6px; }

/* 风险矩阵 */
.matrix { display: grid; grid-template-columns: 60px repeat(3, 1fr); gap: 4px; margin: 6px 0; }
.matrix .axis { display: flex; align-items: center; justify-content: center; font-size: 11.5px; color: var(--ink-soft); }
.matrix .cell { height: 46px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; border: 1px solid var(--line); }
.matrix .cell.high { background: #fcebeb; border-color: #e0a0a0; color: var(--danger); }
.matrix .cell.mid { background: #fce7c8; border-color: var(--amber-bd); color: var(--amber-accent); }
.matrix .cell.low { background: var(--neutral-bg); border-color: var(--neutral-bd); color: var(--ink-soft); }
.matrix-legend { display: flex; gap: 16px; font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.matrix-legend .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.risk-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.r-name { font-weight: 600; font-size: 13.5px; }
.r-mit { font-size: 12.5px; color: var(--ink-soft); }
.r-ref { font-size: 11.5px; color: var(--ink-soft); }

/* 报价表 */
.quote-table th, .quote-table td { font-size: 12.5px; }
.q-name { font-weight: 600; }
.q-num { text-align: right; white-space: nowrap; }
.q-src { color: var(--ink-soft); font-size: 12px; }
.cf-src { color: var(--blue-accent); text-decoration: none; }
.quote-meta { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 8px; }
.quote-total { margin-top: 10px; }
.qt-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); }
.qt-grand { font-weight: 700; font-size: 15px; }
.quote-anchor { background: var(--blue-bg); border: 1px solid var(--blue-bd); border-radius: 8px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 10px; }
.quote-legend { font-size: 12px; color: var(--ink-soft); }

/* 话术模块 */
.talk-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.talk-block h4 { margin: 0 0 8px; font-size: 14.5px; }
.talk-q { font-size: 13px; color: var(--ink); margin: 8px 0 4px; }
.talk-q::before { content: "Q "; color: var(--brand); font-weight: 700; }
.talk-a { font-size: 13px; color: var(--ink-soft); background: var(--neutral-bg); border-radius: 8px; padding: 8px 12px; }
.talk-a::before { content: "A "; color: var(--ok); font-weight: 700; }

/* ===== 浮层 ===== */
.modal { position: fixed; inset: 0; background: rgba(20,30,50,.4); display: flex; align-items: center; justify-content: center; z-index: 40; }
.modal-card { background: #fff; border-radius: 14px; padding: 22px; width: 320px; box-shadow: var(--shadow); }
.modal-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.modal-sub { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 14px; }
.modal-card label { display: block; font-size: 13px; margin-bottom: 12px; }
.modal-card input { margin-top: 4px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ===== 意见反馈：悬浮入口 + 弹窗 ===== */
.feedback-fab {
  position: fixed; right: 22px; bottom: 88px; z-index: 45;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: #2F6BFF; border: 1px solid #e2e8f0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 31, 58, .16);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.feedback-fab:hover { transform: translateY(-2px) scale(1.05); border-color: #cdd9ec; box-shadow: 0 10px 24px rgba(11, 31, 58, .22); }
.feedback-fab:active { transform: translateY(0) scale(1); }


/* 我的方案列表 */
.plan-card { width: 520px; max-width: 92vw; }
.plan-count { font-size: 12px; color: #9CA3AF; font-weight: 500; margin-left: 6px; }
.plan-list { max-height: 56vh; overflow-y: auto; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.plan-empty { font-size: 13px; color: #9CA3AF; text-align: center; padding: 26px 10px; background: #F9FAFB; border-radius: 10px; }
.plan-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #E5E7EB; border-radius: 10px;
  padding: 10px 12px;
}
.plan-item:hover { border-color: #BFDBFE; box-shadow: 0 2px 8px rgba(37,99,235,0.08); }
.plan-info { flex: 1; min-width: 0; }
.plan-title { font-size: 14px; font-weight: 600; color: #1F2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-meta { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.plan-actions { display: flex; gap: 6px; flex-shrink: 0; }
.btn-danger {
  border: 1px solid #FECACA; background: #FEF2F2; color: #DC2626;
  padding: 6px 12px; font-size: 13px; border-radius: 8px; cursor: pointer; transition: all .15s;
}
.btn-danger:hover { background: #FEE2E2; border-color: #F87171; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .params-form { grid-template-columns: 1fr; }
  .stage-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 760px) {
  .l0-cards { grid-template-columns: 1fr; }
  .dir-cards { grid-template-columns: 1fr; }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .scene-cards { grid-template-columns: 1fr; }
  .city-cards { grid-template-columns: repeat(2, 1fr); }
  .stage-cards { grid-template-columns: 1fr; }
  .budget-row { flex-direction: column; }
  .budget-quick { flex-wrap: wrap; width: 100%; }
  .overview-grid { grid-template-columns: 1fr; }
  .sc-stats { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .hw-grid { grid-template-columns: 1fr; }
  .browse-dirs { grid-template-columns: 1fr; }
  .guide-actions { flex-direction: column; }
  .wizard-body { padding: 16px 14px; }
  .screen { padding: 14px 12px 40px; }
  .bp-head.v2 { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bp-head-actions { width: 100%; justify-content: flex-start; }
  .sc-stats { grid-template-columns: repeat(2, 1fr); }
  .accordion-header { align-items: flex-start; }
  .accordion-title { font-size: 15px; }
  .accordion-side { margin-left: 6px; gap: 6px; }
  .accordion-badge { font-size: 10px; padding: 2px 7px; }
  .enterprise-confirm-card.v2 { padding: 20px; }
  .ec-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ec-grid { grid-template-columns: 1fr; gap: 24px; }
  .ec-change-top { align-self: flex-start; }
  .params-form { grid-template-columns: 1fr; }
  /* 步骤指示器移动端：恢复连线、当前步统一空心蓝圈（3 步单行 / 5 步 U 型由 JS 触发） */
  .stepper { flex-wrap: nowrap; justify-content: center; gap: 0; position: relative; align-items: flex-start; }
  .step-line { display: block; flex: 1 1 auto; min-width: 10px; max-width: 64px; height: 2px; background: var(--line); margin: 12px 4px 0; align-self: flex-start; }
  .step-item { flex: 0 0 auto; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
  .step-no { width: 26px; height: 26px; font-size: 12px; }
  .step-label { font-size: 12px; white-space: normal; }
  /* 当前步：统一空心蓝圈（白底 + 蓝描边 + 蓝字） */
  .step-item.active .step-no { background: #fff; border: 2px solid var(--brand); color: var(--brand); }
  /* 待完成：空心灰圈 */
  .step-item:not(.active):not(.done) .step-no { background: #fff; border: 1px solid var(--line); color: var(--muted); }
  /* 5 步 U 型布局（仅 wizard 窄屏由 JS 加 .uturn 触发，连线改用 SVG） */
  .stepper.uturn { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; row-gap: 44px; column-gap: 4px; align-items: start; justify-items: center; margin: 6px 0 22px; }
  .stepper.uturn .step-line { display: none; }
  .stepper.uturn .step-item { align-self: start; }
  .stepper .step-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
  .stepper.uturn .step-item, .stepper.uturn .step-no { position: relative; z-index: 1; }
  .wizard-stepper-area { flex-direction: column; align-items: stretch; gap: 6px; }
}

/* ===== 结果页 v2.2 高保真 redesign ===== */
.screen-result { max-width: 1200px; }

/* ===== 登录页 / 用户信息页 ===== */
.screen-userinfo { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.ui-wrap {
  width: 400px; max-width: 92vw;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  padding: 32px 30px; text-align: center;
}
.ui-wrap h1 { font-size: 22px; margin: 0 0 8px; color: #1F2937; }
.ui-lead { font-size: 13px; color: #6B7280; line-height: 1.6; margin: 0 0 20px; }
.ui-field { display: block; text-align: left; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 14px; }
.ui-field input {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 10px;
  font-size: 15px; color: #1F2937; outline: none; transition: border-color .15s;
}
.ui-field input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.ui-note { font-size: 12px; color: #9CA3AF; margin: 0 0 16px; }
.ui-enter { width: 100%; padding: 12px; font-size: 15px; }
.ui-skip { margin-top: 12px; font-size: 13px; color: #2563EB; }
.ui-skip:hover { color: #1D4ED8; }

/* ---------- 屏 2.5：填写前说明卡（一次性引导 A） ---------- */
.screen-intro { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 24px; }
.intro-wrap { width: 460px; max-width: 94vw; }
.intro-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 18px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.07);
  padding: 30px 28px 26px; text-align: center;
}
.intro-emoji { font-size: 34px; line-height: 1; }
.intro-title { font-size: 21px; margin: 10px 0 8px; color: #1F2937; }
.intro-lead { font-size: 13px; color: #6B7280; line-height: 1.6; margin: 0 0 18px; }
.intro-lead b { color: #2563EB; }
.intro-part {
  text-align: left; border-radius: 12px; padding: 13px 14px; margin-bottom: 12px;
  background: #F8FAFF; border: 1px solid #E8EEFb;
}
.intro-part.part-b { background: #FFF8EC; border-color: #FCEBCF; }
.ip-head { font-weight: 700; font-size: 13.5px; margin-bottom: 10px; color: #1F2937; }
.part-a .ip-head { color: #2563EB; }
.part-b .ip-head { color: #D97706; }
.ip-no { display: inline-block; margin-right: 6px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: #EEF2F7; color: #6B7280; border: 1px solid #E5E7EB;
}
.intro-start { width: 100%; padding: 12px; font-size: 15px; margin-top: 4px; }
.intro-foot { font-size: 11.5px; color: #9CA3AF; margin: 12px 0 0; line-height: 1.5; }

.bp-head.v2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.bp-head.v2 .bp-head-main { flex: 1; min-width: 0; }
.bp-head.v2 h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1F2937;
  margin: 0 0 8px;
  line-height: 1.25;
}
.bp-head.v2 .bp-meta {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}
.bp-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.bp-head-actions .btn-ghost,
.bp-head-actions .btn-primary {
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.summary-card.v2 {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 24px;
  margin-bottom: 20px;
}
.summary-card.v2 .sc-head {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 18px;
}
.summary-card.v2 .sc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.summary-card.v2 .sc-stat {
  text-align: center;
  padding: 14px 10px;
  background: #F9FAFB;
  border-radius: 10px;
}
.summary-card.v2 .sc-stat b {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #2563EB;
  line-height: 1.1;
  margin-bottom: 6px;
}
.summary-card.v2 .sc-stat span {
  font-size: 13px;
  color: #6B7280;
}
.summary-card.v2 .sc-verdict {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1E40AF;
  line-height: 1.5;
}

.talk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
  border: 1px solid #C4B5FD;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.talk-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(139,92,246,0.12);
}
.talk-info { flex: 1; min-width: 0; }
.talk-title {
  font-size: 18px;
  font-weight: 700;
  color: #5B21B6;
  margin-bottom: 4px;
}
.talk-sub {
  font-size: 13px;
  color: #7C3AED;
}
.btn-purple {
  background: #8B5CF6;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.btn-purple:hover { background: #7C3AED; }

.blocks-section { margin-bottom: 24px; }
.blocks-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.blocks-title {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
}
.blocks-hint {
  font-size: 13px;
  color: #9CA3AF;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: box-shadow .15s;
}
.accordion-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.accordion-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
}
.accordion-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2563EB;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.accordion-main { flex: 1; min-width: 0; }
.accordion-title {
  font-size: 16px;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.accordion-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 10px;
}
.accordion-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.accordion-badge.blue { background: #DBEAFE; color: #2563EB; }
.accordion-badge.amber { background: #FEF3C7; color: #B45309; }
.accordion-badge.mix { background: #F3E8FF; color: #7C3AED; }
.accordion-brief {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.accordion-arrow {
  color: #9CA3AF;
  flex-shrink: 0;
  transition: transform .2s;
}
.accordion-item.expanded .accordion-arrow { transform: rotate(180deg); }
.accordion-item.expanded .accordion-brief { display: none; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion-item.expanded .accordion-body { max-height: 2000px; }
.accordion-body-inner {
  padding: 0 18px 20px 64px;
  background: #F9FAFB;
  border-top: 1px solid #F3F4F6;
}
.accordion-body-inner .subhead { margin-top: 16px; }

.bp-footer.v2 {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 8px;
  line-height: 1.5;
}
.bp-copyright {
  text-align: center;
  font-size: 11px;
  color: #9CA3AF;
  margin-bottom: 20px;
}

/* 结果页底部「推演新方案」行动条 */
.result-actions.v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
  padding: 16px 18px;
  background: var(--neutral-bg, #f8fafc);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
}
.result-actions-hint { font-size: 13px; color: var(--ink-soft, #6b7280); }

/* 首页「我的方案」默认视图 */
.home-plans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 8px;
}
.home-plans-head h2 { font-size: 22px; margin: 0 0 6px; color: var(--title, #111827); }
.home-plans-head .home-sub { font-size: 13px; color: var(--ink-soft, #6b7280); margin: 0 0 4px; }
.home-plans > .btn-primary { align-self: flex-start; padding: 11px 22px; font-size: 15px; }

/* ===== 结果页 B 版：左侧目录 + 分组 Tab + 紧凑手风琴 ===== */
.result-layout { display: flex; gap: 20px; align-items: flex-start; }
.result-toc {
  position: sticky;
  top: 16px;
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.toc-title { font-size: 13px; font-weight: 700; color: #1F2937; margin-bottom: 10px; }
.toc-group { margin-bottom: 12px; }
.toc-gtitle { font-size: 11px; font-weight: 600; color: #9CA3AF; margin: 8px 0 4px; }
.toc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4B5563;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.toc-item:hover { background: #F3F4F6; color: #2563EB; }
.toc-num {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.result-mask { display: none; }
.result-main { flex: 1; min-width: 0; }
.toc-toggle { display: none; }

.result-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 14px;
}
.rtab {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.rtab.active { background: #2563EB; color: #fff; }
.rtab:not(.active):hover { background: #F3F4F6; color: #1F2937; }
.result-tabs .ai-auto {
  display: none !important; /* 2026-08-26 用户要求先隐藏「自动 AI」勾选项；恢复时删本行即可 */
  margin-left: auto;
  font-size: 12px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

.accordion-ai {
  border: none;
  background: #FEF3C7;
  color: #B45309;
  width: 100%;
  height: 38px;
  margin-top: 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all .15s;
}
.accordion-ai:hover { background: #FDE68A; }
.accordion-ai:disabled { opacity: .6; cursor: not-allowed; }

.a-sec { margin-top: 14px; }
.a-sec:first-child { margin-top: 0; }
.a-sec-title {
  font-size: 11px;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: .05em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.a-sec-title::before { content: ''; width: 3px; height: 12px; background: #2563EB; border-radius: 2px; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #2563EB;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
  z-index: 60;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.accordion-item.flash { box-shadow: 0 0 0 2px #2563EB, 0 4px 12px rgba(37,99,235,0.2); }

/* print support for PDF export */
@media print {
  .topbar, .bp-head-actions, .talk-card, .accordion-arrow, .result-toc, .result-tabs, .back-top, .toc-toggle, .accordion-ai { display: none !important; }
  .result-layout { display: block; }
  .result-mask { display: none !important; }
  .accordion-body { max-height: none !important; }
  .accordion-item { break-inside: avoid; }
}

/* PDF 导出提示弹窗 */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pdf-modal-card {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.pdf-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  font-weight: 600;
  font-size: 16px;
}
.pdf-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #6B7280;
  cursor: pointer;
}
.pdf-modal-body {
  padding: 20px;
}
.pdf-modal-tip {
  color: #374151;
  font-size: 14px;
  margin-bottom: 8px;
}
.pdf-modal-steps {
  color: #6B7280;
  font-size: 13px;
  padding-left: 18px;
  margin-bottom: 18px;
}
.pdf-modal-steps li {
  margin-bottom: 6px;
  line-height: 1.5;
}
.pdf-modal-action {
  width: 100%;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  box-sizing: border-box;
}
.pdf-modal-action:last-child {
  margin-bottom: 0;
}

/* 手机端：目录收成抽屉，Tab 吸顶 */
@media (max-width: 760px) {
  .result-layout { display: block; }
  .result-toc {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    max-width: 80vw;
    z-index: 80;
    border-radius: 0 12px 12px 0;
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 8px 0 24px rgba(0,0,0,0.12);
  }
  .result-toc.open { transform: translateX(0); }
  .result-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,0.45);
    z-index: 70;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s;
  }
  .result-mask.show { opacity: 1; visibility: visible; }
  .toc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #2563EB;
    border: 1px solid #E5E7EB;
    background: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    margin-bottom: 8px;
  }
  .result-tabs { position: sticky; top: 0; z-index: 50; border-radius: 10px; }
  .result-tabs .ai-auto { margin-left: 0; }
  .accordion-body-inner { padding-left: 18px; }
  .accordion-header { padding: 12px 14px; gap: 10px; }
  .accordion-num { width: 26px; height: 26px; font-size: 12px; }
  .accordion-title { font-size: 14px; }
  .back-top { right: 16px; bottom: 22px; }
  .feedback-fab { right: 16px; bottom: 82px; }
}

/* ===== 摄影风 §新增 2026-08-25（英雄区 / 向导带 / 结果横幅） ===== */

/* —— 引导页英雄区 —— */
.hero {
  position: relative;
  min-height: 480px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(11,31,58,.28);
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,.10) 0%, rgba(11,31,58,.32) 44%, rgba(11,31,58,.86) 100%); }
.hero-scrim-left { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.80) 0%, rgba(11,31,58,.28) 55%, rgba(11,31,58,0) 100%); }
.hero-content { position: relative; padding: 36px 50px; max-width: 760px; color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 2px; color: #7dd3fc; font-weight: 600; }
.hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: #7dd3fc; display: inline-block; }
.hero-title { font-size: 40px; line-height: 1.16; margin: 14px 0 14px; font-weight: 800; text-shadow: 0 2px 16px rgba(0,0,0,.42); }
.hero-lead { font-size: 15.5px; color: rgba(255,255,255,.88); margin-bottom: 22px; text-shadow: 0 1px 8px rgba(0,0,0,.42); max-width: 580px; }
.hero-values { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-values .hval { flex: 1 1 0; justify-content: center; text-align: center; }
.hval { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 10px; padding: 8px 12px; white-space: nowrap; backdrop-filter: blur(4px); }
.hval b { color: #7dd3fc; font-weight: 700; }
.hval i { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #7dd3fc; color: #0B1F3A; font-size: 11px; font-weight: 800; align-items: center; justify-content: center; font-style: normal; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-hero-primary { background: linear-gradient(135deg,#2F6BFF,#38BDF8); color: #fff; border: none; padding: 13px 26px; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(47,107,255,.45); }
.btn-hero-primary:hover { filter: brightness(1.06); }
.btn-hero-ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.42); padding: 13px 22px; border-radius: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.20); }
.hero-note { font-size: 12.5px; color: rgba(255,255,255,.72); }
.hero-disclaimer { margin-top: 14px; font-size: 12px; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }

/* —— 向导页（已移除左侧航拍带） —— */
.screen-wizard { display: block; }
.wizard-wrap { min-width: 0; }

/* —— 结果页顶部航拍横幅 —— */
.result-hero-banner { position: relative; height: 210px; border-radius: 16px; overflow: hidden; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(11,31,58,.20); }
.rb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rb-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.90), rgba(11,31,58,.32)); }
.rb-cap { position: absolute; left: 32px; bottom: 24px; color: #fff; }
.rb-loc { font-size: 12.5px; letter-spacing: 2px; color: #7dd3fc; font-weight: 600; }
.rb-title { font-size: 26px; font-weight: 800; margin: 6px 0; text-shadow: 0 2px 12px rgba(0,0,0,.42); }
.rb-meta { font-size: 13px; color: rgba(255,255,255,.84); }

/* —— 摄影风响应式 —— */
@media (max-width: 760px) {
  .screen-wizard { display: block; }
  .hero { min-height: 430px; align-items: flex-start; }
  .hero-title { font-size: 28px; }
  .hero-content { padding: 48px 22px 24px; }
  .hero-values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-values .hval { justify-content: flex-start; text-align: left; }
  .result-hero-banner { height: 150px; }
  .rb-cap { left: 20px; bottom: 16px; }
  .rb-title { font-size: 21px; }
  /* 顶栏移动端：汉堡 + 下拉菜单 */
  .topbar-hamburger { display: inline-flex; }
  .topbar-nav {
    display: none; position: absolute; top: calc(100% + 6px); right: 10px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(11,31,58,.97); border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px; padding: 6px; min-width: 168px;
    box-shadow: 0 14px 36px rgba(0,0,0,.34); backdrop-filter: blur(8px);
  }
  .topbar-nav.open { display: flex; }
  .topbar-nav .link-btn { width: 100%; justify-content: flex-start; text-align: left; padding: 11px 12px; font-size: 14px; }
  .topbar-nav .account-chip { width: 100%; padding: 6px 4px; }
}
