/**
 * 药伙伴 APP 嵌入 H5 · 设计规范
 * 对齐 h5-battle-plan（#app max-width:414px + PilotTabBar 居中固定）
 */
:root {
  --yh-primary: #1677ff;
  --yh-primary-light: #4096ff;
  --yh-primary-dark: #0958d9;
  --yh-success: #52c41a;
  --yh-warning: #faad14;
  --yh-danger: #ff4d4f;
  --yh-text: #1f1f1f;
  --yh-text-secondary: #666;
  --yh-text-placeholder: #999;
  --yh-border: #e8e8e8;
  --yh-divider: #f0f0f0;
  --yh-bg: #f5f5f5;
  --yh-card: #fff;
  --yh-radius-xl: 12px;
  --yh-radius-round: 18px;
  --yh-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05);
  --yh-nav-h: 44px;
  --yh-tab-h: 56px;
  --yh-safe-top: env(safe-area-inset-top, 0px);
  --yh-safe-bottom: env(safe-area-inset-bottom, 0px);
  /* 药伙伴 WebView 设计宽度，与 h5-battle-plan/index.html 一致 */
  --yh-design-width: 414px;
  --yh-content-max: 414px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* 以 375 宽为基准 16px，小屏缩小、大屏封顶（适配 iPhone SE ~ Pro Max） */
  font-size: clamp(14px, 4.27vw, 17px);
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 0.8125rem;
  color: var(--yh-text);
  background: #e8e8e8;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* clip 不阻断 position:sticky；hidden 会让顶栏滑动时跟着滚走 */
  overflow-x: clip;
  min-height: 100%;
  min-height: -webkit-fill-available;
}

/* 手机全宽时外圈与内容区同色，避免两侧灰边 */
@media (max-width: 414px) {
  body { background: var(--yh-bg); }
}

.app-shell {
  width: 100%;
  max-width: var(--yh-content-max);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  background: var(--yh-bg);
  position: relative;
  overflow-x: clip;
}

/* 宽屏预览（桌面打开 HTML）时模拟手机卡片 */
@media (min-width: 415px) {
  .app-shell {
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
  }
}

.index-shell {
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  display: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--yh-tab-h) + var(--yh-safe-bottom) + 12px);
}

.page.active { display: block; }

.page--sub {
  padding-bottom: calc(72px + var(--yh-safe-bottom));
}

/* 药伙伴原生顶栏：隐藏 H5 导航，预留状态栏安全区 */
body.native-nav .nav-bar--h5 { display: none; }
body.native-nav .app-shell { padding-top: var(--yh-safe-top); }
body.native-nav .nav-bar--sticky { top: var(--yh-safe-top); }
body.native-nav .page { padding-top: 0; }
body.native-nav .product-category-tabs { top: 0 !important; }

/* 索引页（9 BD 入口） */
.index-page {
  padding: calc(12px + var(--yh-safe-top)) 12px calc(24px + var(--yh-safe-bottom));
}

.index-hero {
  background: linear-gradient(135deg, var(--yh-primary), var(--yh-primary-light));
  color: #fff;
  border-radius: var(--yh-radius-xl);
  padding: 20px 16px;
  margin-bottom: 16px;
}

.index-hero h1 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.index-hero p {
  font-size: 0.8125rem;
  opacity: 0.9;
  line-height: 1.5;
}

.bd-link {
  display: block;
  background: var(--yh-card);
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: var(--yh-radius-xl);
  text-decoration: none;
  color: var(--yh-primary);
  font-weight: 600;
  box-shadow: var(--yh-shadow-card);
}

.bd-link:active { background: #fafafa; }

.bd-link span {
  display: block;
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  font-weight: 400;
  margin-top: 4px;
}

.index-foot {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  margin-top: 24px;
  text-align: center;
  line-height: 1.6;
}

/* 导航栏 */
.nav-bar {
  display: flex;
  align-items: center;
  min-height: var(--yh-nav-h);
  padding: 0 16px;
  padding-top: var(--yh-safe-top);
}

.nav-bar--blue {
  background: var(--yh-primary);
  color: #fff;
}

/* 顶栏置顶：所有页面顶栏滑动时始终贴顶（fixed，适配药伙伴 WebView）
   !important：覆盖各 BD 页内联的 position:sticky */
.page > .nav-bar,
.nav-bar--sticky,
.nav-bar:has(.back) {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--yh-content-max);
  margin-left: auto;
  margin-right: auto;
  z-index: 200 !important;
  background: var(--yh-card);
  color: var(--yh-text);
  border-bottom: 1px solid var(--yh-border);
  padding-top: calc(8px + var(--yh-safe-top));
  padding-bottom: 8px;
  box-sizing: border-box;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* fixed 后脱离文档流：页面顶部预留顶栏高度 */
.page {
  padding-top: calc(var(--yh-nav-h) + var(--yh-safe-top) + 16px);
}

/* 品类 Tab 原先 sticky top:0，改为贴在固定顶栏下方 */
.product-category-tabs {
  top: calc(var(--yh-nav-h) + var(--yh-safe-top) + 16px) !important;
}

.nav-bar .back {
  font-size: 1.25rem;
  color: var(--yh-primary);
  cursor: pointer;
  margin-right: 12px;
  min-width: 28px;
  line-height: 1;
}

.nav-bar--blue .back { color: #fff; }

.nav-bar .title {
  flex: 1;
  font-size: 1.0625rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-bar .nav-action {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* 日期栏 */
.date-bar {
  background: var(--yh-card);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--yh-divider);
}

.date-bar .date-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.date-bar .week-text {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
}

/* 首页统计 */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 12px;
}

.summary-card {
  background: var(--yh-card);
  border-radius: var(--yh-radius-xl);
  padding: 16px;
  box-shadow: var(--yh-shadow-card);
  cursor: pointer;
  transition: transform 0.15s;
}

.summary-card:active { transform: scale(0.98); }

.summary-card .label {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  margin-bottom: 6px;
}

.summary-card .value {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.summary-card .sub {
  font-size: 0.6875rem;
  color: var(--yh-text-placeholder);
}

.summary-card.highlight {
  background: linear-gradient(135deg, var(--yh-primary), var(--yh-primary-light));
}

.summary-card.highlight .label,
.summary-card.highlight .value,
.summary-card.highlight .sub {
  color: #fff;
}

.summary-card.highlight .sub { opacity: 0.85; }

.section-title {
  padding: 12px 16px 8px;
  font-size: 0.8125rem;
  color: var(--yh-text-placeholder);
  font-weight: 600;
}

.quick-actions { padding: 0 12px 12px; }

.action-card {
  background: var(--yh-card);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  box-shadow: var(--yh-shadow-card);
  cursor: pointer;
}

.action-card:active { background: #fafafa; }

.action-card .emoji { font-size: 1.25rem; margin-right: 10px; }
.action-card .text { flex: 1; font-size: 0.9375rem; }
.action-card .arrow { color: #ccc; font-size: 1.125rem; }

.bd-info {
  text-align: center;
  padding: 16px;
  color: var(--yh-text-placeholder);
  font-size: 0.75rem;
}

/* 筛选 */
.filter-bar {
  background: var(--yh-card);
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--yh-divider);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar { display: none; }

.chip {
  padding: 6px 14px;
  border-radius: var(--yh-radius-round);
  font-size: 0.8125rem;
  white-space: nowrap;
  border: 1.5px solid var(--yh-border);
  color: var(--yh-text-secondary);
  cursor: pointer;
  flex-shrink: 0;
}

.chip.active {
  background: var(--yh-primary);
  color: #fff;
  border-color: var(--yh-primary);
}

.search-box {
  padding: 10px 12px;
  background: var(--yh-card);
  border-bottom: 1px solid var(--yh-divider);
}

.search-box input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--yh-divider);
  border-radius: 8px;
  font-size: 0.875rem;
  background: var(--yh-bg);
  outline: none;
}

.search-box input:focus {
  border-color: var(--yh-primary);
  background: #fff;
}

/* 机会列表卡 */
.list { padding: 8px 0; }

.opp-card {
  background: var(--yh-card);
  margin: 8px 12px;
  border-radius: var(--yh-radius-xl);
  box-shadow: var(--yh-shadow-card);
  overflow: hidden;
}

.opp-header {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.store-name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
  word-break: break-all;
}

.meta {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
}

.badge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.badge.high { background: #f6ffed; color: #389e0d; }
.badge.medium { background: #fff7e6; color: #d48806; }
.badge.low { background: #f5f5f5; color: #666; }

.tags {
  padding: 0 14px 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.6875rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.tag.replace { background: #fff0f6; color: #c41d7f; }
.tag.ready { background: #e6f4ff; color: var(--yh-primary); }
.tag.llm { background: #f6ffed; color: #389e0d; }

.ai-summary {
  margin: 0 14px 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f0f5ff, #e6f4ff);
  border-radius: 8px;
  border-left: 3px solid var(--yh-primary);
}

.ai-summary .label {
  font-size: 0.625rem;
  color: var(--yh-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.ai-summary .text {
  font-size: 0.8125rem;
  color: var(--yh-text);
  line-height: 1.5;
}

.key-data {
  display: flex;
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--yh-divider);
}

.data-item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.data-item .val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--yh-primary);
}

.data-item .lbl {
  font-size: 0.6875rem;
  color: var(--yh-text-placeholder);
  margin-top: 2px;
}

.actions {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}

.btn-outline,
.btn-primary {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: var(--yh-bg);
  color: var(--yh-text);
}

.btn-primary {
  background: var(--yh-primary);
  color: #fff;
}

.btn-primary:active { background: var(--yh-primary-dark); }

/* 详情页 hero */
.store-hero {
  background: linear-gradient(135deg, var(--yh-primary), var(--yh-primary-light));
  padding: 20px 16px;
  color: #fff;
}

.store-hero .name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-all;
}

.store-hero .meta {
  font-size: 0.8125rem;
  opacity: 0.85;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #fff;
}

.store-hero .stats {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.store-hero .stat {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  min-width: 0;
}

.store-hero .stat .value {
  font-size: 1.125rem;
  font-weight: 800;
}

.store-hero .stat .label {
  font-size: 0.6875rem;
  opacity: 0.8;
  margin-top: 2px;
}

.ai-card {
  margin: 12px;
  background: var(--yh-card);
  border-radius: var(--yh-radius-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e6f4ff;
}

.ai-card .ai-header {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--yh-primary-dark);
}

.ai-card .ai-body { padding: 16px; }

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.verdict-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.verdict-badge.high {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.verdict-badge.high .dot { background: var(--yh-success); }

.verdict-badge.medium {
  background: #fff7e6;
  color: #d48806;
  border: 1px solid #ffd591;
}

.verdict-badge.medium .dot { background: var(--yh-warning); }

.verdict-badge.low {
  background: #fff1f0;
  color: #cf1322;
  border: 1px solid #ffa39e;
}

.verdict-badge.low .dot { background: var(--yh-danger); }

.cached-tag {
  font-size: 0.625rem;
  background: #e6f4ff;
  color: var(--yh-primary);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 600;
}

.ai-logic {
  font-size: 0.875rem;
  color: var(--yh-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.facts-list {
  padding-left: 16px;
  font-size: 0.8125rem;
  color: var(--yh-text-secondary);
  line-height: 1.8;
}

.section-block {
  margin: 12px;
  background: var(--yh-card);
  border-radius: var(--yh-radius-xl);
  box-shadow: var(--yh-shadow-card);
  overflow: hidden;
}

.section-block .section-header {
  padding: 14px 16px 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-bottom: 1px solid var(--yh-divider);
}

.section-block .section-body {
  padding: 12px 16px 16px;
  font-size: 0.8125rem;
  color: var(--yh-text-secondary);
  line-height: 1.8;
}

.target-sku {
  background: #f6ffed;
  border-radius: 8px;
  padding: 12px !important;
}

.target-sku .sku-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--yh-text);
  margin-bottom: 6px;
}

.target-sku .sku-meta {
  font-size: 0.75rem;
  color: var(--yh-text-secondary);
}

/* 作战页 */
.ai-status {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 8px 16px;
  font-size: 0.75rem;
  color: var(--yh-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ai-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yh-success);
}

.bp-card {
  background: var(--yh-card);
  margin: 12px;
  border-radius: var(--yh-radius-xl);
  box-shadow: var(--yh-shadow-card);
  overflow: hidden;
}

.bp-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.bp-card-hd .left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.bp-card-hd .toggle {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  transition: transform 0.3s;
}

.bp-card-hd.collapsed .toggle { transform: rotate(-90deg); }

.bp-card-body {
  padding: 0 16px 16px;
}

.bp-card-body.hidden { display: none; }

.core-logic {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--yh-text);
  margin-bottom: 12px;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid var(--yh-primary);
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.sub-card {
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
}

.sub-card .st {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  margin-bottom: 4px;
}

.q-item {
  border-left: 3px solid var(--yh-primary);
  padding-left: 10px;
  margin: 10px 0;
}

.q-item .qi {
  font-size: 0.8125rem;
  color: var(--yh-text-placeholder);
  margin-top: 4px;
}

.script-box {
  background: #f6ffed;
  border-radius: 8px;
  padding: 12px;
  margin: 8px 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.script-box.soft { background: #fff7e6; }

.script-scenario {
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  margin-top: 8px;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.plan-item {
  background: #fafafa;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.plan-item .pv {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--yh-primary);
}

.plan-item .pl {
  font-size: 0.6875rem;
  color: var(--yh-text-placeholder);
}

.objection {
  border: 1px solid var(--yh-divider);
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
}

.objection .ot { font-weight: 600; margin-bottom: 6px; font-size: 0.875rem; }
.objection .or { color: var(--yh-text-secondary); font-size: 0.8125rem; line-height: 1.5; }

/* 回写 */
.store-header {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 14px 16px;
  border-bottom: 1px solid #d6e4ff;
}

.store-header .name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--yh-primary-dark);
}

.store-header .meta {
  font-size: 0.75rem;
  color: var(--yh-text-secondary);
  margin-top: 4px;
}

.section-divider {
  padding: 12px 16px 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yh-text-placeholder);
  letter-spacing: 1px;
}

.form-section {
  background: var(--yh-card);
  margin: 8px 12px;
  border-radius: var(--yh-radius-xl);
  box-shadow: var(--yh-shadow-card);
  padding: 16px;
}

.form-section .section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--yh-text);
}

.form-section .num {
  width: 22px;
  height: 22px;
  background: var(--yh-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--yh-text-placeholder);
  margin-bottom: 6px;
}

.form-group select,
.form-group textarea,
.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--yh-border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: inherit;
  background: #fff;
  outline: none;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
  border-color: var(--yh-primary);
}

/* 底部栏 — 药伙伴 PilotTabBar 同款（414px 居中固定） */
.pilot-tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--yh-content-max);
  background: var(--yh-card);
  border-top: 1px solid var(--yh-border);
  display: flex;
  padding: 8px 0 calc(8px + var(--yh-safe-bottom));
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.pilot-tab-bar.hidden { display: none; }

.tab-item {
  flex: 1;
  text-align: center;
  color: var(--yh-text-placeholder);
  cursor: pointer;
  padding: 4px 0;
}

.tab-item.active {
  color: var(--yh-primary);
}

.tab-item.active .label { font-weight: 600; }

.tab-item .icon {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.tab-item .label {
  font-size: 0.6875rem;
  margin-top: 2px;
}

.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--yh-content-max);
  padding: 12px 16px calc(12px + var(--yh-safe-bottom));
  background: var(--yh-card);
  border-top: 1px solid var(--yh-border);
  z-index: 150;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.bottom-cta.hidden { display: none; }

.btn-block {
  width: 100%;
  padding: 14px;
  background: var(--yh-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-block:active { background: var(--yh-primary-dark); }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 16px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--yh-text-secondary);
  flex-wrap: wrap;
  text-align: center;
}

.pagination span {
  line-height: 1.4;
  max-width: 100%;
}

.pagination button {
  padding: 6px 14px;
  border: 1px solid var(--yh-border);
  background: var(--yh-card);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8125rem;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.empty, .loading-hint {
  text-align: center;
  padding: 40px 16px;
  color: var(--yh-text-placeholder);
  font-size: 0.875rem;
}

/* 小屏手机适配（iPhone SE / 窄屏 Android） */
@media (max-width: 360px) {
  .summary-grid {
    gap: 8px;
    padding: 10px 8px;
  }

  .summary-card {
    padding: 12px;
  }

  .summary-card .value {
    font-size: 1.5rem;
  }

  .opp-card {
    margin: 6px 8px;
  }

  .store-hero .name {
    font-size: 1.125rem;
  }

  .store-hero .stat .value {
    font-size: 1rem;
  }

  .chip {
    padding: 5px 12px;
    font-size: 0.75rem;
  }

  .btn-outline,
  .btn-primary {
    padding: 9px 8px;
    font-size: 0.8125rem;
  }
}

/* 横屏时保持竖屏阅读宽度，避免拉得过宽 */
@media (orientation: landscape) and (max-height: 500px) {
  .app-shell {
    max-width: min(var(--yh-content-max), 100vh * 0.562);
  }
}

/* ===== DEMO 对齐：BD智能助手-场景1竞品替换版 ===== */
.demo-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.demo-toast.show { opacity: 1; }

.dbar {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f0f0;
}

.psec {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--yh-shadow-card);
}

.phd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.phd .t { font-size: 15px; font-weight: 700; }
.phd .r { font-size: 13px; color: var(--yh-primary); font-weight: 600; }

.pbar {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.pfill {
  height: 100%;
  background: linear-gradient(90deg, var(--yh-primary), var(--yh-primary-light));
  border-radius: 4px;
}

.psts { display: flex; justify-content: space-between; }
.pst { text-align: center; }
.pst .v { font-size: 18px; font-weight: 700; }
.pst .l { font-size: 11px; color: #999; margin-top: 2px; }

.sgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 12px 12px;
}

.sc {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--yh-shadow-card);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sc:active { transform: scale(0.97); }
.sc .lb { font-size: 12px; color: #999; margin-bottom: 6px; }
.sc .vl { font-size: 32px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.sc .sb { font-size: 11px; color: #999; }
.sc .bd {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.sc.hl {
  background: linear-gradient(135deg, var(--yh-primary), var(--yh-primary-light));
}

.sc.hl .lb, .sc.hl .sb { color: rgba(255, 255, 255, 0.8); }
.sc.hl .vl { color: #fff; }

.fbn {
  margin: 0 12px 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff7e6, #fffbe6);
  border-radius: 12px;
  border: 1px solid #ffe58f;
  cursor: pointer;
}

.fbn:active { transform: scale(0.98); }
.fbn .t { font-size: 13px; font-weight: 700; color: #d48806; margin-bottom: 6px; }
.fbn .c { font-size: 13px; color: #666; line-height: 1.6; }
.fbn .h { color: #fa541c; font-weight: 600; }

.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}

.sh .t { font-size: 16px; font-weight: 700; }

.qes { padding: 0 12px 12px; display: flex; gap: 10px; }

.qe {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 16px 10px;
  box-shadow: var(--yh-shadow-card);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qe:active { transform: scale(0.96); }
.qe .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
}

.qe .ic.bl { background: #e6f4ff; }
.qe .ic.or { background: #fff7e6; }
.qe .ic.gn { background: #f6ffed; }
.qe .lb { font-size: 13px; font-weight: 600; color: #333; }
.qe .ct { font-size: 11px; color: #999; margin-top: 4px; }

.fbar {
  background: #fff;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #f0f0f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fbar::-webkit-scrollbar { display: none; }

.fc {
  padding: 6px 14px;
  border-radius: 18px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid #e8e8e8;
  background: #fff;
  color: #666;
  flex-shrink: 0;
}

.fc.on { background: var(--yh-primary); color: #fff; border-color: var(--yh-primary); }
.fc .cn { font-size: 11px; font-weight: 600; margin-left: 4px; opacity: 0.8; }

.sbar {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.so.on { color: var(--yh-primary); font-weight: 600; }

.oc {
  background: #fff;
  margin: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--yh-shadow-card);
  overflow: hidden;
}

.oh {
  padding: 14px 14px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.onm {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  word-break: break-all;
}

.omt { font-size: 12px; color: #999; display: flex; gap: 8px; flex-wrap: wrap; }

.pb {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.pb.hi { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.pb.md { background: #fff7e6; color: #d48806; border: 1px solid #ffd591; }
.pb.lo { background: #f5f5f5; color: #666; border: 1px solid #e8e8e8; }

.trs {
  padding: 0 14px 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.opp-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  font-size: 11px;
  line-height: 1;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  box-sizing: border-box;
  flex: 0 0 auto;
}

.opp-tag--rp { background: #fff0f6; color: #c41d7f; }
.opp-tag--ex { background: #f0f5ff; color: #2f54eb; }
.opp-tag--ai { background: #f6ffed; color: #389e0d; }

/* 原型/DEMO 列表标签（非 opp-tag 场景保留） */
.st.rp { background: #fff0f6; color: #c41d7f; }
.st.ex { background: #f0f5ff; color: #2f54eb; }
.st.ch { background: #f6ffed; color: #389e0d; }

.as {
  margin: 0 14px 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f0f5ff, #e6f4ff);
  border-radius: 8px;
  border-left: 3px solid var(--yh-primary);
}

.as .l { font-size: 10px; color: var(--yh-primary); font-weight: 700; margin-bottom: 4px; }
.as .t { font-size: 13px; color: #333; line-height: 1.6; }

.kd { padding: 0 14px 10px; display: flex; }

.ki {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  border-right: 1px solid #f0f0f0;
  min-width: 0;
}

.ki:last-child { border-right: none; }
.ki .v { font-size: 16px; font-weight: 700; }
.ki .l { font-size: 11px; color: #999; margin-top: 2px; }

.oas { display: flex; border-top: 1px solid #f0f0f0; }

.oa {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-right: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.oa:last-child { border-right: none; }
.oa:active { background: #f5f5f5; }
.oa.p { color: var(--yh-primary); }
.oa.s { color: #666; }

.hero {
  background: linear-gradient(135deg, var(--yh-primary), var(--yh-primary-light));
  padding: 20px 16px;
  color: #fff;
}

.hero .nm {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-all;
}

.hero .mt {
  font-size: 13px;
  opacity: 0.85;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero .sts {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}

.hero .st { flex: 1; text-align: center; padding: 10px 6px; min-width: 0; }
.hero .st .v { font-size: 20px; font-weight: 800; }
.hero .st .l { font-size: 11px; opacity: 0.8; margin-top: 2px; }

.aoc {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e6f4ff;
}

.aoc-h {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--yh-primary-dark);
}

.aoc-b { padding: 16px; }

.vb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.vb .dt { width: 8px; height: 8px; border-radius: 50%; background: #52c41a; }

.ei {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.55;
  border-bottom: 1px solid #f5f5f5;
  color: #595959;
}

.ei:last-child { border-bottom: none; }
.eb { width: 6px; height: 6px; border-radius: 50%; background: var(--yh-primary); flex-shrink: 0; margin-top: 8px; }
.ei-text {
  flex: 1;
  min-width: 0;
}

/* 关键事实数字强调：浅橙底 + 加粗，扫一眼能抓到量价 */
.fact-num,
.ei-text .fact-num,
.fi-text .fact-num,
.aoc .fact-num {
  display: inline;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #d4380d;
  background: linear-gradient(180deg, #fff7e6 0%, #ffe7ba 100%);
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 4px;
  font-size: 1.06em;
  line-height: 1.35;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.sec {
  margin: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--yh-shadow-card);
  overflow: hidden;
}

.sec-h {
  padding: 14px 16px 10px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid #f5f5f5;
}

.sec-b { padding: 12px 16px 16px; }

.tsku {
  padding: 14px;
  background: #f6ffed;
  border-radius: 10px;
  border: 1px solid #d9f7be;
}

.tsku .sl { font-size: 11px; font-weight: 700; color: #389e0d; margin-bottom: 8px; }
.tsku .sn { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.tsku .ss { font-size: 12px; color: #666; margin-bottom: 10px; }

.pg { display: flex; background: #fff; border-radius: 8px; overflow: hidden; }

.pc { flex: 1; text-align: center; padding: 8px 4px; min-width: 0; }
.pc .v { font-size: 16px; font-weight: 700; }
.pc .v.g { color: #389e0d; }
.pc .l { font-size: 10px; color: #999; margin-top: 2px; }

.sps { margin-top: 10px; }

.sp {
  font-size: 12px;
  color: #333;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp::before { content: '✓'; color: #389e0d; font-weight: 700; flex-shrink: 0; }

.cc {
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 14px;
  position: relative;
}

.cc.hl { border-color: #ffa39e; background: #fff8f6; }
.ct {
  position: absolute;
  top: -1px;
  right: 12px;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0 0 6px 6px;
}

.cn { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cb { font-size: 12px; color: #999; margin-bottom: 10px; }

.cbt {
  width: 100%;
  padding: 10px;
  background: var(--yh-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cbt:active { background: var(--yh-primary-dark); }

.ais {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--yh-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ais .dt { width: 6px; height: 6px; border-radius: 50%; background: #52c41a; }

.cd {
  background: #fff;
  margin: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.ch .lf { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.ch .ic { font-size: 18px; }
.ch .tg { font-size: 12px; color: #999; transition: transform 0.3s; }
.ch .tg.cl { transform: rotate(-90deg); }

.cb2 {
  padding: 0 16px 16px;
  max-height: 3000px;
  overflow: hidden;
  transition: max-height 0.4s, padding 0.3s, opacity 0.3s;
  opacity: 1;
}

.cb2.cl { max-height: 0; padding: 0 16px 0; opacity: 0; }

.cs { padding: 0 16px 12px; font-size: 13px; color: #666; display: none; }
.cs.vi { display: block; }

.vb2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #b7eb8f;
}

.vb2.hi .dt { width: 8px; height: 8px; border-radius: 50%; background: #52c41a; }

.clg {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid var(--yh-primary);
}

.sl { font-size: 12px; color: #999; font-weight: 500; margin-bottom: 8px; }

.fi {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
}

.fi-text {
  flex: 1;
  min-width: 0;
  line-height: 1.6;
}

.fi-text .fact-num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #d4380d;
  background: linear-gradient(180deg, #fff7e6 0%, #ffe7ba 100%);
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 4px;
  font-size: 1.06em;
  line-height: 1.35;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.vx {
  margin-top: 12px;
  padding: 10px 12px;
  background: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

.gl {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.gl.be { background: #f6ffed; border: 1px solid #d9f7be; }
.gl.go { background: #fffbe6; border: 1px solid #ffe58f; }
.gl.mi { background: #e6f4ff; border: 1px solid #91caff; }
.gl .gll { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.gl .gd { font-size: 13px; color: #333; }
.gl .gp {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}

.gl.be .gp { background: #d9f7be; color: #389e0d; }
.gl.go .gp { background: #ffe58f; color: #d48806; }
.gl.mi .gp { background: #91caff; color: #0958d9; }

.gai { display: flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 0; }
.gcb {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d9d9d9;
  border-radius: 3px;
  flex-shrink: 0;
}

.dn {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff1f0;
  border-radius: 8px;
  font-size: 12px;
  color: #ff4d4f;
}

.pin {
  font-size: 13px;
  color: #666;
  padding: 8px 12px;
  background: #e6f4ff;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pq {
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
}

.pql {
  font-size: 12px;
  font-weight: 600;
  color: var(--yh-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pqt {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #e6f4ff;
  color: var(--yh-primary);
  font-weight: 500;
}

.pqx {
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  margin-bottom: 8px;
  cursor: pointer;
}

.pqx:active { background: #f5f5f5; }
.pqi { font-size: 12px; color: #666; margin-bottom: 6px; }
.pqs { display: flex; gap: 8px; flex-wrap: wrap; }

.pqg {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
}

.pqg.po { background: #f6ffed; color: #389e0d; border: 1px solid #d9f7be; }
.pqg.ne { background: #fff1f0; color: #cf1322; border: 1px solid #ffa39e; }

.sts2 {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  margin-bottom: 12px;
}

.stb {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #666;
  border-right: 1px solid #e8e8e8;
}

.stb:last-child { border-right: none; }
.stb.on { background: var(--yh-primary); color: #fff; }

.ssc {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  display: inline-block;
}

.stx {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  padding: 14px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  margin-bottom: 10px;
  cursor: pointer;
}

.stx:active { background: #f0f0f0; }

.stx--full { font-size: 13px; color: #666; margin-bottom: 8px; }

/* 开口话术：进店先记关键点 */
.sk-box {
  background: linear-gradient(135deg, #fffbe6, #fff7e6);
  border: 1px solid #ffe58f;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
}

.sk-hd {
  font-size: 13px;
  font-weight: 700;
  color: #d48806;
  margin-bottom: 10px;
}

.sk-list { display: flex; flex-direction: column; gap: 8px; }

.sk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid var(--yh-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.sk-item:active { background: #fafafa; }

.sk-n {
  width: 22px;
  height: 22px;
  background: var(--yh-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sk-t {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: #1f1f1f;
  flex: 1;
}

.sk-tip {
  font-size: 11px;
  color: #999;
  margin-top: 8px;
  text-align: center;
}

.sk-full-toggle {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 8px;
  background: #f5f5f5;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  text-align: center;
}

.sk-full-toggle:active { background: #ebebeb; }

.sk-full {
  max-height: 800px;
  overflow: hidden;
  transition: max-height 0.35s, opacity 0.25s;
  opacity: 1;
  margin-bottom: 10px;
}

.sk-full.cl { max-height: 0; opacity: 0; margin-bottom: 0; overflow: hidden; }

.sk-lines {
  padding: 8px 0 0;
  border-top: 1px dashed #f0f0f0;
  margin-top: 4px;
}

.sk-line {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

.sk-ln {
  width: 18px;
  height: 18px;
  background: #f0f0f0;
  color: #999;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sk-lt { flex: 1; }

.sas { display: flex; gap: 10px; }

.sbn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-align: center;
}

.sbn.co { background: #f5f5f5; color: #333; }
.sbn.us { background: #f6ffed; color: #389e0d; border: 1px solid #d9f7be; }
.sbn.us.ac { background: #52c41a; color: #fff; }

.rp { border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.rp.mn { background: #f6ffed; border: 1px solid #d9f7be; }
.rp.fb { background: #fffbe6; border: 1px solid #ffe58f; }
.rpl { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.rp.mn .rpl { color: #389e0d; }
.rp.fb .rpl { color: #d48806; }
.rpn { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.rpt { font-size: 13px; color: #666; margin-bottom: 6px; }
/* 推荐方案：三句话卖点优先展示在品名下方、价格上方 */
.rec-selling-points {
  margin: 0 0 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
}
.rec-selling-points .vpi:last-child { margin-bottom: 0; }

.qr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
}

.qr .l { font-size: 13px; color: #666; }
.qr .v { font-size: 15px; font-weight: 700; color: var(--yh-primary); }

.vpi {
  font-size: 13px;
  color: #333;
  padding: 4px 0;
  display: flex;
  gap: 6px;
}

.vpi::before { content: '💡'; font-size: 12px; flex-shrink: 0; }

.oi { border: 1px solid #f0f0f0; border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.ohd { padding: 12px; background: #fffbe6; cursor: pointer; }

.ofq {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.ofq.hi { background: #ff4d4f; color: #fff; }
.ofq.md { background: #faad14; color: #fff; }

.otx { font-size: 15px; font-weight: 600; font-style: italic; margin-top: 6px; }

.obd {
  padding: 12px;
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}

.obd.cl { max-height: 0; padding: 0 12px; }

.ost {
  font-size: 12px;
  color: var(--yh-primary);
  padding: 4px 8px;
  background: #e6f4ff;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.osc {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.odt {
  font-size: 12px;
  color: #ff4d4f;
  padding: 6px 8px;
  background: #fff1f0;
  border-radius: 6px;
  margin-bottom: 6px;
}

.ofb {
  font-size: 12px;
  color: #666;
  padding: 6px 8px;
  background: #f5f5f5;
  border-radius: 6px;
  margin-bottom: 10px;
}

.oas2 { display: flex; gap: 8px; }

.obn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
}

.obn.co { background: #f5f5f5; color: #333; }
.obn.en { background: #fff7e6; color: #d48806; border: 1px solid #ffd591; }
.obn.en.ac { background: #faad14; color: #fff; }

.sbar2 {
  background: linear-gradient(135deg, #e6f4ff, #f0f5ff);
  padding: 14px 16px;
  border-bottom: 1px solid #d6e4ff;
}

.sbar2 .nm { font-size: 16px; font-weight: 700; color: var(--yh-primary-dark); }
.sbar2 .mt { font-size: 12px; color: #666; margin-top: 4px; }

.sdv {
  padding: 12px 16px 4px;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.5px;
}

.sdv--soft {
  color: #b0b8c4;
  font-weight: 500;
}

.progress-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 4px;
  gap: 8px;
}

.progress-hint__label {
  font-size: 13px;
  font-weight: 600;
  color: #1677ff;
}

.progress-hint__step {
  font-size: 12px;
  color: #6b7280;
}

.fs {
  background: #fff;
  margin: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--yh-shadow-card);
  padding: 16px;
}

.fst {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fsn {
  width: 22px;
  height: 22px;
  background: var(--yh-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ni {
  width: 100%;
  min-height: 60px;
  padding: 10px 12px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  outline: none;
}

.ni:focus { border-color: var(--yh-primary); }

.bcta {
  width: 100%;
}

.bcta.fl { display: flex; gap: 10px; }

.cta {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta.p { background: var(--yh-primary); color: #fff; }
.cta.p:active { background: var(--yh-primary-dark); }
.cta.s { background: #f5f5f5; color: #333; }
.cta.h { flex: 1; width: auto; }

.bottom-cta .bcta { padding: 0; }
