/* 智数量策 · 全局样式 */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff;
  color: #222;
  font-size: 15px;
}

#app { height: 100%; }

/* ---------- 布局 ---------- */
.layout { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 208px;
  flex: 0 0 208px;
  background: #fff;
  border-right: 1px solid #ebeef5;
  display: flex;
  flex-direction: column;
  transition: width .2s;
  overflow: hidden;
}
.sidebar.collapsed { width: 64px; flex-basis: 64px; }

.brand {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 17px;
  font-weight: 600;
  color: #1f2329;
  border-bottom: 1px solid #f2f3f5;
  white-space: nowrap;
}
.brand .logo-dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  flex: 0 0 26px;
}

.nav { flex: 1; padding: 10px 8px; overflow-y: auto; }
.nav-group-title {
  padding: 12px 12px 6px;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  margin: 2px 0;
  border-radius: 8px;
  color: #3f4650;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font: inherit;
}
.nav-item:hover { background: #f2f6fc; color: #1677ff; }
.nav-item.active { background: #e8f1ff; color: #1677ff; font-weight: 500; }
.nav-icon { width: 18px; text-align: center; font-size: 16px; flex: 0 0 18px; }
.nav-label { font-size: 15px; }

.sidebar-footer {
  border-top: 1px solid #f2f3f5;
  padding: 8px;
}
.collapse-btn {
  width: 100%;
  height: 34px;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
}
.collapse-btn:hover { background: #f5f7fa; }

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.up { color: #dc2626; }
.down { color: #15803d; }
.flat { color: #6b7280; }

.content {
  flex: 1;
  overflow: auto;
  padding: 16px 20px 24px;
}

/* ---------- 通用 ---------- */
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}
.card + .card { margin-top: 14px; }
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  letter-spacing: -.5px;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-left: 12px;
}
.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background-color: #1677ff;
}
.muted { color: #6b7280; font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

.grid-2 { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: start; }
@media (max-width: 1000px) { .grid-2 { grid-template-columns: 1fr; } }

/* 行情页 */
.chart-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.chart-box { width: 100%; height: 460px; }
.minute-box { width: 100%; height: 340px; }

/* 图表区浮动信息挂件（富途风：分时/K线通用，悬停联动、移出恢复最新） */
.chart-stage { position: relative; }
.chart-pendant {
  position: absolute; left: 12px; top: 10px; z-index: 6;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid #eef0f3; border-radius: 10px;
  padding: 9px 14px 10px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
  pointer-events: none; font-size: 15px; line-height: 1.8;
  font-variant-numeric: tabular-nums;
  max-width: calc(100% - 100px);
}
/* K线挂件：定宽以容纳 6 列 × 2 行均线网格（窄屏自动收缩）；悬停出现时的淡入动画 */
.kline-pendant { width: 920px; max-width: calc(100% - 90px); animation: pendant-in .16s ease-out; }
@keyframes pendant-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

/* ===== 分时数值行（2026-10-15 二次定稿）=====
   去掉“分时(1分钟K)”标题后，数值行独立成为卡片第一行、前移到卡片左缘；
   右缘不越过居中的“分时图”标题：max-width = 内容区一半 − 居中标题半宽(≈103px)+安全余量
   （大屏单行；窄屏自动换行且不越中线） */
.minute-inline-pendant {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 3px 16px; margin: 0 0 10px;
  max-width: calc(50% - 115px); min-width: 0;
  font-size: 14px; font-weight: 400; color: #6b7280;
  font-variant-numeric: tabular-nums; line-height: 1.5;
}
.minute-inline-pendant .mip-date { font-weight: 700; color: #1f2937; }
.minute-inline-pendant .mip-i b { margin-left: 4px; font-weight: 700; color: #111827; }
.minute-inline-pendant .mip-i b.up { color: #dc2626; }
.minute-inline-pendant .mip-i b.down { color: #15803d; }
.minute-inline-pendant .mip-i b.flat { color: #6b7280; }
.cp-date { font-weight: 700; color: #1f2937; font-size: 16px; margin-bottom: 3px; }
.cp-grid { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.cp-i { color: #6b7280; white-space: nowrap; font-size: 15px; }
.cp-i b { margin-left: 4px; font-weight: 700; color: #111827; }
.cp-i b.up { color: #dc2626; }
.cp-i b.down { color: #15803d; }
.cp-i b.flat { color: #6b7280; }
/* 均线区：6 列 × 2 行网格，每条均线一种颜色（与图上线一致），加大字号便于阅读 */
.cp-ma-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px 14px;
  margin-top: 6px; padding-top: 6px;
  border-top: 1px dashed #e5e7eb;
}
.cp-ma-i { font-size: 16px; font-weight: 700; white-space: nowrap; letter-spacing: .2px; }
.cp-ma-i b { margin-left: 5px; font-weight: 800; }
/* K线周期切换（日K/周K/月K/年K） */
.kline-period-bar { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }

.quote-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.quote-name { font-size: 20px; font-weight: 600; }
.quote-code { color: #6b7280; font-size: 14px; }
.quote-price { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }

.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin-top: 10px; }
.kv .k { color: #6b7280; font-size: 13px; }
.kv .v { font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }

.quote-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.quote-table td { padding: 3px 6px; font-variant-numeric: tabular-nums; }
.quote-table .lbl { color: #6b7280; width: 52px; }

/* AI 页 */
.ai-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; height: 100%; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 6px 2px; }
.ai-msg { display: flex; margin: 10px 0; }
.ai-msg .bubble {
  max-width: 82%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}
.ai-msg.user { justify-content: flex-end; }
.ai-msg.user .bubble { background: #1677ff; color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.assistant .bubble { background: #fff; border: 1px solid #ebeef5; border-bottom-left-radius: 4px; max-width: 96%; }
/* 稳智AI：助手消息纵向排布（分析过程面板在上、答案气泡在下），避免两者在同一 flex 行内互相挤压 */
.ai-msg.assistant { flex-direction: column; align-items: stretch; }
.ai-msg.assistant .ai-steps { width: 100%; }
.ai-msg.assistant .bubble { align-self: flex-start; }
.ai-input-row { display: flex; gap: 10px; padding: 12px 0; }
.ai-hints { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ai-hint {
  border: 1px solid #e3e8ef;
  background: #fff;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
}
.ai-hint:hover { border-color: #1677ff; color: #1677ff; }

/* 大盘情绪页 */
.idx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.idx-card {
  border: 1px solid #e5e5e5; border-radius: 12px; padding: 12px 14px;
  transition: all .2s;
}
.idx-card:hover { border-color: #1677ff; box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.idx-card-name { color: #6b7280; font-size: 13px; }
.idx-card-price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 4px 0; }
.idx-card-chg { font-size: 13px; font-variant-numeric: tabular-nums; }
.mkt-stats { display: flex; gap: 26px; flex-wrap: wrap; padding: 8px 0; }
.mkt-stat { text-align: center; min-width: 56px; }
.mkt-stat .num { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* 大盘情绪页 · 复盘模块 */
.grid-2dash { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 1100px) { .grid-2dash { grid-template-columns: 1fr; } }
.chart-260 { width: 100%; height: 260px; }
.rv-big { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-big small { font-size: 13px; font-weight: 400; color: #6b7280; }

/* 连板梯队 */
.ladder { padding: 6px 2px 2px; }
.ladder-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ladder-label { flex: 0 0 40px; font-size: 14px; color: #6b7280; font-weight: 600; }
.ladder-track { flex: 1; background: #f7f8fa; border-radius: 6px; height: 18px; overflow: hidden; }
.ladder-bar { height: 100%; border-radius: 6px; background: #e5e7eb; transition: width .4s; }
.ladder-bar.has { background: linear-gradient(90deg, #f87171, #dc2626); }
.ladder-count { flex: 0 0 52px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; color: #374151; }
.ladder-sub { margin-top: 6px; font-size: 13px; color: #6b7280; }

/* 市场情绪分析 */
.state-pill {
  display: inline-block; padding: 2px 12px; border-radius: 11px; font-size: 13px; font-weight: 600;
  margin-left: 8px;
}
.state-pill.up { color: #dc2626; background: rgba(239,68,68,.1); }
.state-pill.down { color: #15803d; background: rgba(34,197,94,.1); }
.state-pill.flat { color: #6b7280; background: #f0f1f3; }
.rev-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.rev-item { border: 1px solid #f0f1f3; border-radius: 8px; padding: 10px 12px; }
.rev-item .num { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.disclaimer { font-size: 12px; color: #b0b5bd; border-top: 1px dashed #f0f1f3; padding-top: 10px; }

/* AI 矩阵 */
.aim-input { margin-bottom: 14px; }
.aim-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.aim-tpl {
  border: 1px solid #f0f1f3; border-radius: 10px; padding: 12px 14px; cursor: pointer;
  transition: all .15s;
}
.aim-tpl:hover { border-color: #d6e4ff; background: #fafcff; }
.aim-tpl.active { border-color: #1677ff; background: #f0f7ff; box-shadow: 0 0 0 2px rgba(22,119,255,.12); }
.aim-tpl-name { font-size: 15px; font-weight: 600; color: #1f2937; }
.aim-tpl.active .aim-tpl-name { color: #1677ff; }
.aim-tpl-desc { font-size: 13px; color: #6b7280; margin-top: 4px; line-height: 1.4; }
.aim-conds { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding: 12px 14px; background: #fafbfc; border-radius: 10px; margin-bottom: 14px; }
.aim-cond { display: flex; align-items: center; gap: 8px; }
.aim-actions { display: flex; align-items: center; gap: 14px; }
.aim-steps { display: flex; flex-direction: column; gap: 4px; }
.aim-step { display: flex; align-items: flex-start; gap: 12px; padding: 8px 4px; opacity: .45; transition: opacity .2s; }
.aim-step.running { opacity: 1; }
.aim-step.done { opacity: 1; }
.aim-step.error { opacity: 1; }
.aim-step-num {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; background: #eef0f2; color: #6b7280;
}
.aim-step.running .aim-step-num { background: #1677ff; color: #fff; animation: livePulse 1.2s ease-in-out infinite; }
.aim-step.done .aim-step-num { background: #15803d; color: #fff; }
.aim-step.error .aim-step-num { background: #dc2626; color: #fff; }
.aim-step-name { font-size: 15px; font-weight: 500; color: #374151; }
.aim-step-brief { font-size: 13px; color: #6b7280; margin-top: 2px; }
.aim-concl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.aim-concl-core { font-size: 17px; font-weight: 600; color: #1f2937; flex: 1; }
.aim-conf { padding: 2px 12px; border-radius: 11px; font-size: 13px; font-weight: 600; }
.aim-conf.high { color: #dc2626; background: rgba(239,68,68,.1); }
.aim-conf.mid { color: #d97706; background: rgba(217,119,6,.1); }
.aim-conf.low { color: #15803d; background: rgba(34,197,94,.1); }
.aim-concl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.aim-concl-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #6b7280; }
.aim-concl-title.up { color: #dc2626; }
.aim-concl-title.down { color: #15803d; }
.aim-concl-item { font-size: 14px; color: #374151; line-height: 1.6; margin-bottom: 3px; }
.aim-content { font-size: 15px; line-height: 1.8; color: #1f2937; white-space: pre-wrap; }
.cursor { color: #1677ff; animation: livePulse 1s step-end infinite; }
.aim-sources { display: flex; flex-direction: column; gap: 6px; }
.aim-src { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.aim-src-kind { flex: 0 0 auto; font-size: 12px; padding: 1px 6px; border-radius: 4px; }
.aim-src-kind.news { color: #1677ff; background: rgba(22,119,255,.1); }
.aim-src-kind.notice { color: #d97706; background: rgba(217,119,6,.1); }
.aim-src-title { color: #374151; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aim-src-title:hover { color: #1677ff; }



/* 搜索建议 */
.suggest-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(16,24,40,.12);
  max-height: 260px; overflow-y: auto; margin-top: 4px;
}
.suggest-item {
  padding: 8px 12px; cursor: pointer; display: flex; justify-content: space-between; font-size: 14px;
}
.suggest-item:hover { background: #f2f6fc; }

/* 流式光标 */
.cursor { animation: blink 1s step-start infinite; color: #1677ff; }
@keyframes blink { 50% { opacity: 0; } }

/* 选股器 */
.factor-group { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; }
.fg-title {
  flex: 0 0 56px; font-size: 14px; color: #6b7280; padding-top: 5px; text-align: right;
}
.fg-items { display: flex; flex-wrap: wrap; gap: 8px; }
/* 因子胶囊（对齐原站 factor-pill：默认近乎透明纯文字加粗，hover 才浮起显蓝） */
.filter-chip {
  display: inline-block; padding: 6px 12px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: #222;
  font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; transition: all .2s;
}
.filter-chip:hover {
  transform: translateY(-1px); border-color: #1677ff; color: #1677ff; background: rgba(22, 119, 255, .1);
}
.filter-chip.active { border-color: #1677ff; color: #1677ff; background: rgba(22, 119, 255, .08); }

/* 页面大标题（原站 page-header：居中 28px + 16px 副标题） */
.page-head { text-align: center; margin: 0 0 24px; }
.page-head .ph-title { font-size: 28px; font-weight: 600; color: #222; letter-spacing: -.5px; margin: 0 0 8px; }
.page-head .ph-sub { font-size: 17px; color: #888; margin: 0; }

/* 选股器 · 多因子量化模型四栏布局（对齐原站） */
.screener-head { text-align: center; margin: 2px 0 24px; }
.screener-head .sh-title { font-size: 28px; font-weight: 600; color: #222; letter-spacing: -.5px; margin: 0 0 8px; }
.screener-head .sh-tip { font-size: 17px; color: #888; margin-top: 0; }
.screener-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; align-items: stretch; margin-bottom: 24px;
}
@media (max-width: 1280px) { .screener-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .screener-grid { grid-template-columns: 1fr; } }
/* 卡片：圆角16 + 阴影 + hover 上浮 + 顶部蓝色渐变条（原站效果） */
.factor-card { position: relative; overflow: hidden; height: 100%; transition: all .3s cubic-bezier(.4, 0, .2, 1); }
.factor-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #fecaca, #dc2626, #991b1b); opacity: 0; transition: opacity .3s;
}
.factor-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, .12); }
.factor-card:hover::before { opacity: 1; }
.fc-title {
  text-align: center; font-size: 18px; font-weight: 600; color: #222;
  margin: 0 0 16px; position: relative;
}
.fc-title::after {
  content: ""; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px; border-radius: 2px;
  background: linear-gradient(135deg, #fecaca, #dc2626, #991b1b);
}
.fc-sub { text-align: center; font-size: 15px; font-weight: 500; color: #888; margin: 14px 0 12px; }
.pill-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 10px; }
.pill-grid .filter-chip { text-align: center; padding: 6px 12px; font-size: 14px; font-weight: 500; border-radius: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star-chip { font-weight: 600; }
.cc-field { margin-bottom: 10px; }
.cc-label { font-size: 13px; color: #6b7280; margin-bottom: 4px; display: block; }
.cc-divider { border-top: 1px solid #f0f1f3; margin: 14px 0 12px; }
/* 已选条件条（对齐原站 selected-bar：白卡 + hover 顶部紫条） */
.selected-bar {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 24px 0; padding: 24px; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.selected-bar:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #fecaca, #dc2626, #991b1b); opacity: 0; transition: opacity .3s;
}
.selected-bar:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.selected-bar:hover:before { opacity: 1; }
.selected-bar .title { color: #222; font-size: 17px; font-weight: 600; }
/* 筛选条（对齐原站 filters-bar：单行居中 + hover 顶部橙条） */
.filters-bar {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 20px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px;
  margin-bottom: 24px; padding: 24px; position: relative; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.filters-bar:before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, #fecaca, #dc2626, #991b1b); opacity: 0; transition: opacity .3s;
}
.filters-bar:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.filters-bar:hover:before { opacity: 1; }
.filters-bar .result-count { color: #333; font-weight: 500; font-size: 15px; }
.filter-button {
  background: #1677ff !important; color: #fff !important; box-shadow: none !important;
  border: none !important; border-radius: 12px !important; padding: 10px 24px !important;
  font-size: 15px !important; font-weight: 600 !important; transition: all .2s !important;
}
.filter-button:hover { background: #0051d5 !important; transform: translateY(-1px) !important; }
/* 人气排名 hover 预览（对齐原站 PopularityRankPopover） */
.rank-preview { display: flex; flex-direction: column; gap: 10px; }
.rank-preview-head { display: flex; align-items: baseline; gap: 10px; }
.rank-preview-code { color: #222; font-variant-numeric: tabular-nums; font-weight: 700; }
.rank-preview-title, .rank-preview-tip, .rank-preview-meta, .rank-preview-x { color: #6b7280; font-size: 13px; }
.rank-preview-tip { margin: 20px 0; }
.rank-preview-body { display: flex; align-items: stretch; gap: 12px; }
.rank-preview-axis { display: flex; flex-direction: column; justify-content: space-between; width: 64px; padding: 6px 0; }
.axis-item { color: #6b7280; font-variant-numeric: tabular-nums; font-size: 13px; }
.rank-preview-chart { display: flex; flex-direction: column; flex: 1; gap: 6px; min-width: 0; }
.rank-spark { width: 100%; height: 180px; }
.rank-preview-x { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.rank-preview-meta { display: flex; justify-content: space-between; gap: 10px; }

/* 分时 hover 预览（实时分时状态） */
.minute-preview { display: flex; flex-direction: column; gap: 8px; }
.mp-head { display: flex; align-items: baseline; gap: 10px; }
.mp-code { color: #222; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; }
.mp-name { color: #4b5563; font-size: 14px; }
.mp-price { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.mp-chg { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }
.mp-body { display: flex; flex-direction: column; gap: 4px; }
.mp-svg { width: 100%; height: 190px; display: block; }
.cond-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  background: #f4f6fa; border-radius: 12px; font-size: 13px; color: #4b5563;
}
.cond-chip .x { cursor: pointer; color: #6b7280; font-weight: 600; }
.cond-chip .x:hover { color: #dc2626; }

.pager-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 12px 0 2px;
}

/* 我的策略弹出面板（预置策略库） */
.preset-panel { display: flex; flex-direction: column; gap: 8px; }
.pp-row { display: flex; align-items: center; gap: 8px; }
.pp-list { max-height: 460px; overflow-y: auto; display: flex; flex-direction: column; }
.pp-item { border-bottom: 1px solid #f3f4f6; padding: 8px 4px; }
.pp-item:hover { background: #f8fafc; }
.pp-name { font-size: 14px; font-weight: 600; color: #1f2329; margin-bottom: 4px; }
.pp-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.pp-votes { color: #6b7280; font-variant-numeric: tabular-nums; }
.hit-tag {
  display: inline-block; padding: 1px 8px; margin: 1px 4px 1px 0;
  background: #e8f1ff; color: #1677ff; border-radius: 10px; font-size: 12px;
}

/* 奇门遁甲页 */
.qm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qm-tag {
  background: #f4f6fa; border-radius: 12px; padding: 3px 10px;
  font-size: 13px; color: #4b5563;
}
.qm-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  max-width: 660px;
}
.qm-cell {
  border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 22px 10px 10px; min-height: 108px; position: relative; background: #fff;
}
.qm-cell.center { background: #fafbfc; }
.qm-gong {
  position: absolute; top: 6px; left: 9px; font-size: 12px; color: #6b7280;
}
.qm-men { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.qm-star { font-size: 13.5px; color: #374151; margin-bottom: 2px; }
.qm-shen { font-size: 13.5px; color: #6b7280; margin-bottom: 4px; }
.qm-gan { font-size: 13px; }
.qm-tian { color: #7c3aed; margin-right: 8px; }
.qm-di { color: #0f766e; }
.men-ji { color: #15803d; }
.men-xiong { color: #dc2626; }
.men-ping { color: #6b7280; }
.ai-read {
  white-space: pre-wrap; line-height: 1.8; font-size: 14.5px; color: #1f2329;
  max-height: 640px; overflow-y: auto;
}
.hint-active { background: #1677ff; border-color: #1677ff; color: #fff; }

/* 表格页 */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th {
  text-align: center; padding: 16px 12px; color: #222; font-weight: 600;
  border-bottom: 1px solid #e5e5e5; white-space: nowrap;
}
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td { padding: 12px 8px; text-align: center; border-bottom: 1px solid #f0f1f3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr:hover td { background: #f7f8fa; }
.tbl th.sortable { cursor: pointer; user-select: none; transition: color .15s; }
.tbl th.sortable:hover { color: #1677ff; }
.clickable { cursor: pointer; color: #1677ff; }

/* 数据时效徽标 */
.live-badge {
  display: inline-block; margin: 0 2px; padding: 1px 7px; border-radius: 9px;
  font-size: 12px; color: #fff; background: #dc2626;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.close-badge {
  display: inline-block; margin: 0 2px; padding: 1px 7px; border-radius: 9px;
  font-size: 12px; color: #6b7280; background: #f0f1f3;
}
/* 选股器「新数据已就绪」提醒（点击刷新） */
.new-data-badge {
  display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 9px;
  font-size: 12px; color: #fff; background: #f59e0b; cursor: pointer;
  animation: livePulse 1.6s ease-in-out infinite; text-decoration: none;
}
.new-data-badge:hover { background: #d97706; }
/* 原站字段族（支撑/阻力/江恩）状态徽标 —— 2026-10-17 建，专用类 */
.site-frozen-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9px;
  font-size: 12px; color: #b45309; background: #fef3c7; border: 1px solid #fcd34d;
}
.site-live-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9px;
  font-size: 12px; color: #15803d; background: #ecfdf5; border: 1px solid #a7f3d0;
}
/* 主题页「已自动刷新」时间戳 */
.refresh-stamp { display: inline-block; font-size: 12px; color: #15803d; }
/* 主题页「已检查」静默时间戳（每分钟更新，证明自动检查在工作） */
.check-stamp { display: inline-block; font-size: 12px; color: #6b7280; cursor: default; }

.empty-tip { text-align: center; color: #6b7280; padding: 40px 0; font-size: 14px; }

/* 登录 */
.login-mask {
  position: fixed; inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 42%, rgba(15,23,42,.08) 100%),
    url('/assets/login-bg.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; z-index: 2000;
  overflow: hidden;
}
.login-mask::before {
  content: ""; position: absolute; inset: -10px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
}
.login-card {
  position: relative; z-index: 1;
  width: 360px; background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.82); border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 24px 70px rgba(15,23,42,.20), 0 0 0 1px rgba(255,255,255,.35) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.login-card h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.02em; color: #0f172a; }
.login-card h2 { margin: 0 0 6px; font-size: 18px; }
.login-card p { margin: 0 0 16px; line-height: 1.55; }
@media (max-width: 640px) {
  .login-mask { background-position: 58% center; }
  .login-card { width: calc(100vw - 36px); padding: 24px 20px; }
}

/* 占位页 */
.placeholder { text-align: center; padding: 80px 20px; color: #6b7280; }
.placeholder .ph-title { font-size: 17px; color: #4b5563; margin-bottom: 8px; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #d5d9e0; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

/* 板块全景排序链接 */
.sort-link { cursor: pointer; margin-right: 16px; color: #6b7280; font-size: 13px; user-select: none; }
.sort-link:hover { color: #1677ff; }
.sort-link.on { color: #1677ff; font-weight: 600; }

/* 自动化任务（稳智AI · 个人研究助理）——对齐原站「自动化」页 */
.auto-page { width: 100%; }
.auto-head { margin-bottom: 4px; }
.auto-title { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.auto-sub { color: #6b7280; font-size: 15px; line-height: 1.7; margin-top: 6px; }
.auto-tabs { display: flex; gap: 22px; border-bottom: 1px solid #eef0f3; margin: 16px 0 14px; }
.auto-tab { padding: 8px 2px 10px; font-size: 16px; color: #6b7280; cursor: pointer; position: relative; user-select: none; }
.auto-tab:hover { color: #1677ff; }
.auto-tab.active { color: #1677ff; font-weight: 600; }
.auto-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #1677ff; border-radius: 2px; }
.auto-tab-num { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 9px; background: #eef4ff; color: #1677ff; font-size: 12px; line-height: 17px; }
.auto-note { color: #6b7280; font-size: 13px; line-height: 1.7; background: #fafbfc; border: 1px solid #f0f1f3; border-radius: 8px; padding: 10px 12px; margin-left: 96px; }
@media (max-width: 900px) { .auto-note { margin-left: 0; } }

/* 自动化任务执行报告 */
.auto-run-item { border: 1px solid #f0f1f3; border-radius: 8px; padding: 10px 14px; margin-bottom: 10px; }
.auto-run-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.auto-run-title { font-weight: 600; font-size: 14px; }
.auto-run-prompt { font-size: 12px; margin-bottom: 6px; }
.auto-run-stages { font-size: 12px; margin-bottom: 6px; }
.auto-run-content { font-size: 13px; white-space: pre-wrap; line-height: 1.7; max-height: 240px; overflow-y: auto; }

/* 产业链研报 */
.concept-list { max-height: 420px; overflow-y: auto; border: 1px solid #f0f1f3; border-radius: 8px; }
.concept-item { display: flex; justify-content: space-between; padding: 7px 12px; font-size: 14px; cursor: pointer; border-bottom: 1px solid #f7f8fa; }
.concept-item:hover { background: #fafbfc; }
.concept-item.on { background: #f0f7ff; color: #1677ff; font-weight: 600; }
.chain-ai-box { font-size: 14px; line-height: 1.8; white-space: pre-wrap; border: 1px solid #eef4ff; background: #fafcff; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; max-height: 420px; overflow-y: auto; }

/* ---------- 首页 · 市场情绪分析（对齐原站 Home CSS） ---------- */
.sentiment-page { background: #fff; box-sizing: border-box; min-height: 100vh; padding: 24px; }
.page-header { text-align: center; margin-bottom: 24px; }
.sentiment-page .page-title { color: #1f2329; margin: 0 0 6px; font-size: 24px; font-weight: 600; }
.sentiment-page .page-subtitle { color: #6b7280; margin: 0; font-size: 15px; }

.market-monitor {
  background: #fff; border: 1px solid #ebeef5; border-radius: 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 24px; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.monitor-card { border-right: 1px solid #f0f1f3; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 0 24px; transition: all .3s; }
.monitor-card:last-child { border-right: none; }
.card-header { color: #6b7280; text-align: center; width: 100%; margin-bottom: 16px; font-size: 17px; font-weight: 600; }
.card-body { display: flex; flex-direction: column; flex: 1; justify-content: center; align-items: center; width: 100%; }
.card-body.flex-row { flex-direction: row; justify-content: center; align-items: center; gap: 16px; }
.sentiment-val { color: #1f2329; font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 42px; font-weight: 700; line-height: 1; }
.mini-gauge { width: 80px; height: 50px; }
.sentiment-card.card-strong .sentiment-val { color: #dc2626; }
.sentiment-card.card-neutral .sentiment-val { color: #e6a23c; }
.sentiment-card.card-weak .sentiment-val { color: #15803d; }

.big-val { color: #1f2329; font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 32px; font-weight: 700; line-height: 1.2; }
.sub-val { text-align: center; font-variant-numeric: tabular-nums; color: #6b7280; margin-top: 8px; font-size: 17px; font-weight: 500; }
.sub-val.up { color: #dc2626; }
.sub-val.down { color: #15803d; }
.sub-item { color: #6b7280; font-size: 15px; }
.row-top { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 12px; }
.row-bottom { color: #6b7280; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; }
.row-bottom.flex-nowrap { white-space: nowrap; flex-wrap: nowrap; justify-content: center; gap: 12px; font-size: 15px; font-weight: 500; overflow: hidden; }
.tag-pill { white-space: nowrap; color: #374151; border: 1px solid #e5e7eb; background: #f7f8fa; border-radius: 8px; padding: 4px 8px; font-size: 14px; font-weight: 500; line-height: 1.2; }
.tag-pill.red { color: #dc2626; background: rgba(229,57,53,.08); border-color: rgba(229,57,53,.25); }
.tag-pill.green { color: #15803d; background: rgba(0,166,90,.08); border-color: rgba(0,166,90,.25); }
.highlight-red { color: #dc2626; font-weight: 600; }
.value-red { color: #dc2626; }
.value-green { color: #15803d; }
.date-badge { background: #f2f3f5; color: #6b7280; border-radius: 6px; padding: 2px 8px; font-family: monospace; font-size: 13px; }

/* 盘中实时行情条（大盘情绪页 · market_live.json） */
.live-bar { display: flex; align-items: center; gap: 20px; padding: 10px 16px; background: #fff; border: 1px solid #e8eaed; border-radius: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.live-status { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #1677ff; font-weight: 600; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #1677ff; animation: livePulse 1.6s infinite; }
.live-status.closed { color: #6b7280; }
.live-status.closed .live-dot { background: #6b7280; animation: none; }
@keyframes livePulse { 50% { opacity: .3; } }
.live-indices { display: flex; gap: 24px; flex-wrap: wrap; }
.live-index { display: flex; align-items: baseline; gap: 6px; }
.li-name { font-size: 13px; color: #6b7280; }
.li-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; color: #1f2329; }
.li-pct { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.live-extra { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 13px; color: #4b5563; flex-wrap: wrap; }
.live-breadth { display: inline-flex; gap: 10px; }
.live-breadth .lb-up { color: #dc2626; font-weight: 600; font-variant-numeric: tabular-nums; }
.live-breadth .lb-down { color: #15803d; font-weight: 600; font-variant-numeric: tabular-nums; }
.live-amount { font-variant-numeric: tabular-nums; }
.live-time { color: #6b7280; font-variant-numeric: tabular-nums; }
.live-tag { display: inline-block; margin-left: 6px; padding: 0 6px; height: 16px; line-height: 16px; font-size: 11px; font-weight: 500; color: #fff; background: #1677ff; border-radius: 3px; vertical-align: 2px; }

.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.title { color: #1f2329; font-size: 18px; font-weight: 600; }
.tools { display: flex; align-items: center; gap: 12px; }

.chart-row { display: flex; gap: 16px; flex-wrap: wrap; }
.chart-card { flex: 1; min-width: 300px; padding: 8px 4px; }
.chart-card.full-width { flex-basis: 100%; }
.chart-title { color: #6b7280; text-align: center; margin-bottom: 12px; font-size: 17px; font-weight: 600; }
.chart-hint { margin-left: 8px; font-size: 13px; font-weight: 400; color: #6b7280; }
.chart-body { width: 100%; height: 300px; }
/* 指数快捷链接（指数涨跌幅图 → 行情页 分时/日K） */
.index-links { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.index-link { display: inline-block; padding: 3px 12px; font-size: 13px; color: #1a6fc4; background: #f2f6fc; border: 1px solid #dbe7f5; border-radius: 12px; cursor: pointer; transition: all .15s; user-select: none; }
.index-link:hover { background: #e1edfb; border-color: #b8d4f0; color: #0d5aa7; }

/* ---------- LLM分析（研究室）5 子 Tab ---------- */
.llm-tabs .el-tabs__nav-wrap::after { height: 1px; background: #ebeef5; }
.llm-tabs .el-tabs__item { font-size: 16px; font-weight: 500; color: #6b7280; }
.llm-tabs .el-tabs__item.is-active { color: #1677ff; font-weight: 600; }

.theme-list { display: flex; flex-direction: column; gap: 10px; max-height: 660px; overflow-y: auto; }
.theme-item { border: 1px solid #ebeef5; border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: all .2s; background: #fff; }
.theme-item:hover { border-color: #1677ff; box-shadow: 0 4px 12px rgba(22,119,255,.08); }
.theme-item.on { border-color: #1677ff; background: #f0f7ff; }
.theme-item-head { display: flex; align-items: center; }
.theme-name { font-size: 15px; font-weight: 600; color: #1f2329; }
.heat-badge { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: 13px; font-weight: 600; margin-left: 8px; font-variant-numeric: tabular-nums; }
.heat-badge.high { color: #dc2626; background: rgba(229,57,53,.1); }
.heat-badge.mid { color: #f59e0b; background: rgba(245,158,11,.12); }
.heat-badge.low { color: #15803d; background: rgba(0,166,90,.1); }
.trend-tag { display: inline-block; color: #7f8ea8; font-size: 13px; margin-right: 4px; }
.trend-new { display: inline-block; color: #1677ff; background: rgba(22,119,255,.08); border: 1px solid rgba(22,119,255,.18); border-radius: 4px; padding: 0 4px; font-size: 11px; line-height: 14px; margin-right: 6px; vertical-align: 1px; }
.view-switch { display: inline-flex; border: 1px solid #dcdfe6; border-radius: 6px; overflow: hidden; font-size: 13px; }
.view-switch a { padding: 1px 10px; color: #606266; cursor: pointer; user-select: none; line-height: 20px; }
.view-switch a.on { background: #1677ff; color: #fff; }
.view-switch a + a { border-left: 1px solid #dcdfe6; }
.theme-sub { color: #6b7280; font-size: 13px; margin-top: 5px; }

.theme-detail-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.env-card { border: 1px solid #ffe0d0; background: #fff8f3; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.env-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #1f2329; margin-bottom: 8px; }
.env-badge { border-radius: 6px; padding: 2px 10px; font-size: 14px; font-weight: 600; color: #dc2626; background: rgba(229,57,53,.1); }
.env-text { font-size: 14px; color: #4b5563; line-height: 1.7; }

.th-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.th-stat { border: 1px solid #f0f1f3; border-radius: 10px; padding: 12px; text-align: center; }
.th-stat .lbl { font-size: 13px; color: #6b7280; margin-bottom: 6px; }
.th-stat .val { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

.reason-box { border-left: 3px solid #1677ff; background: #f8fbff; padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.8; color: #374151; margin-bottom: 12px; }
.news-chip { display: inline-block; border: 1px solid #e5e7eb; background: #f7f8fa; border-radius: 6px; padding: 4px 10px; font-size: 13px; color: #4b5563; margin: 0 8px 8px 0; }
.verdict-box { border: 1px solid #f0f1f3; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.verdict-tags { display: flex; gap: 8px; margin-bottom: 10px; }
.verdict-pill { border-radius: 6px; padding: 2px 10px; font-size: 14px; font-weight: 600; }
.verdict-pill.avoid { color: #f59e0b; background: rgba(245,158,11,.12); }
.verdict-pill.hold { color: #1677ff; background: rgba(22,119,255,.1); }
.verdict-pill.buy { color: #dc2626; background: rgba(229,57,53,.1); }
.verdict-text { font-size: 14px; line-height: 1.8; color: #374151; }
.verdict-pos { display: inline-block; border: 1px solid rgba(0,166,90,.3); color: #15803d; background: rgba(0,166,90,.06); border-radius: 6px; padding: 3px 10px; font-size: 13px; margin: 0 6px 6px 0; }
.verdict-neg { display: inline-block; border: 1px solid rgba(229,57,53,.3); color: #dc2626; background: rgba(229,57,53,.06); border-radius: 6px; padding: 3px 10px; font-size: 13px; margin: 0 6px 6px 0; }

.pool-status-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 8px 0; font-size: 14px; color: #6b7280; }
.pool-closed-tip { border: 1px solid #f0f1f3; background: #fafbfc; border-radius: 8px; padding: 8px 14px; font-size: 14px; color: #6b7280; margin: 8px 0; }
.pool-closed-tip a { color: #1677ff; cursor: pointer; margin-left: 8px; }

.board-group { margin-bottom: 18px; }
.board-group-title { font-size: 17px; font-weight: 700; color: #1f2329; margin-bottom: 4px; }
.board-group-sub { font-size: 13px; color: #6b7280; margin-bottom: 10px; }
.board-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.board-card { border: 1px solid #ebeef5; border-radius: 12px; padding: 12px 14px; }
.board-card .bm-name { font-size: 15px; font-weight: 600; color: #1f2329; margin-bottom: 6px; }
.board-card .bm-sub { font-size: 13px; color: #6b7280; line-height: 1.7; }

/* ---------- 稳智AI 对话页 ---------- */
.ai-hero { text-align: center; padding: 22px 0 18px; }
.ai-hero-title { font-size: 26px; font-weight: 600; color: #1f2329; margin-bottom: 8px; }
.ai-hero-sub { font-size: 15px; color: #6b7280; }
.ai-hints-wrap { text-align: center; padding: 8px 0 16px; }
.ai-hints-title { font-size: 16px; font-weight: 600; color: #4b5563; margin-bottom: 14px; }
.ai-hints-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 760px; margin: 0 auto; }
.ai-hint-card { border: 1px solid #ebeef5; border-radius: 12px; padding: 14px 16px; text-align: left; font-size: 15px; color: #374151; cursor: pointer; transition: all .2s; background: #fff; }
.ai-hint-card:hover { border-color: #1677ff; color: #1677ff; box-shadow: 0 4px 12px rgba(22,119,255,.08); }

/* ---------- LLM分析 · 筛选行 & 产业链研报排版 ---------- */
.pool-filter-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 4px 0 12px; border-bottom: 1px solid #f0f1f3; margin-bottom: 12px;
}
.pool-filter-row .el-input, .pool-filter-row .el-select { flex: 0 0 auto; }

/* 研报正式排版（2026-10-17 按原站截图逐元素实测放大：正文 14→18px、小节 17→28px、主标题 22→36px、卡片加宽 900→1200px） */
.report-body { padding: 28px 36px 16px; color: #1f2329; }
.report-en { text-align: center; letter-spacing: 2px; font-size: 14px; color: #1677ff; font-weight: 600; margin-bottom: 22px; }
.report-title { text-align: center; font-size: 36px; line-height: 1.35; font-weight: 700; margin-bottom: 10px; }
.report-sub { text-align: center; font-size: 17px; color: #4b5563; margin-bottom: 8px; }
.report-meta { text-align: center; font-size: 14px; color: #6b7280; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #ebeef5; }
.report-h { font-size: 28px; font-weight: 700; color: #1f2329; margin: 26px 0 16px; padding-left: 14px; border-left: 5px solid #1677ff; }
.report-p .rp-h2 { font-size: 20px; font-weight: 700; color: #1f2329; margin: 18px 0 10px; padding-left: 12px; border-left: 3px solid #1677ff; }
.report-p { font-size: 18px; line-height: 1.9; color: #374151; text-align: justify; }
/* 朗读跟随高亮（产业链研报 TTS，仅本页使用） */
.report-p mark.tts-cur { background: #ffe9a8; color: inherit; border-radius: 4px; box-shadow: 0 0 0 2px #ffe9a8; }
.tts-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 主题详情 · 市场数据可展开 + 结论子项 */
.tdb { border: 1px solid #ebeef5; border-radius: 10px; padding: 10px 14px; margin: 12px 0; background: #fafbfc; }
.tdb-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: #374151; }
.tdb-body { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.verdict-sub { font-size: 13px; color: #6b7280; margin-top: 6px; line-height: 1.6; }

/* 行业页 · 5 统计卡 */
.sector-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px;
}
.ss-item { background: #fff; border: 1px solid #ebeef5; border-radius: 12px; padding: 14px 16px; text-align: center; }
.ss-lbl { font-size: 13px; color: #6b7280; margin-bottom: 6px; }
.ss-val { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .sector-stats { grid-template-columns: repeat(2, 1fr); } }
.ai-hint-emoji { margin-right: 8px; font-size: 16px; }

/* 行情页 · K线工具条 */
.kline-toolbar {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 6px 0 10px; border-bottom: 1px solid #f0f1f3; margin-bottom: 8px;
}

/* ===== 稳智AI · 1:1 对齐原站 AiMatrixHome ===== */
/* 2026-10-17 排版放大（对齐原站稳智AI：内容区铺满 + 正文字号上调），ai-matrix-page 仅本页使用 */
.ai-matrix-page { max-width: 1320px; width: 100%; margin: 0 auto; padding: 0 16px 48px; min-height: 100vh; }
.composer-hero { text-align: center; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 4px; display: flex; }
.composer-hero-title { letter-spacing: -.03em; color: #222; font-size: 36px; font-weight: 800; line-height: 1.2; margin: clamp(70px, 14vh, 140px) 0 40px; }

.input-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px;
  flex-direction: column; transition: all .2s; display: flex; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
}
.input-card:focus-within { border-color: #4b6bff; box-shadow: 0 4px 20px rgba(75,107,255,.1); }
.input-card-body { align-items: center; gap: 10px; padding: 12px 14px; display: flex; }
.input-card-body.inline { gap: 8px; min-height: 74px; padding: 13px 14px 13px 16px; }

.mode-selector {
  height: 38px; color: #4b5563; cursor: pointer; white-space: nowrap;
  background: rgba(148,163,184,.11); border: 0; border-radius: 11px;
  align-items: center; gap: 7px; padding: 0 11px;
  transition: background .18s, color .18s; display: inline-flex;
}
.mode-selector:hover { color: #1f2329; background: rgba(75,107,255,.1); }
.mode-selector-icon { font-size: 14px; }
.mode-selector-label { font-size: 13px; font-weight: 650; }
.mode-search-dot { background: #4b6bff; border-radius: 50%; width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(75,107,255,.1); }
.mode-selector-arrow { color: #9aa1ad; font-size: 12px; }

.attach-btn {
  width: 40px; height: 40px; color: #4b5563; cursor: pointer;
  background: rgba(148,163,184,.12); border: 1px solid rgba(0,0,0,.08); border-radius: 13px;
  flex-shrink: 0; justify-content: center; align-items: center;
  transition: border-color .2s, background .2s, color .2s; display: inline-flex;
}
.attach-btn:hover { color: #4b6bff; border-color: #4b6bff; }
.hidden-file-input { display: none; }

.ask-textarea {
  flex: 1; resize: none; box-shadow: none; color: #1f2329; background: transparent;
  border: 0; outline: none; padding: 0; font-size: 17px; line-height: 1.5; min-height: 26px; font-family: inherit;
}
.ask-textarea::placeholder { color: #b7bdc8; }

.send-btn {
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg,#6886ff 0%,#4b6bff 58%,#5b7bff 100%);
  border: 1px solid rgba(75,107,255,.14); border-radius: 13px;
  flex-shrink: 0; justify-content: center; align-items: center; width: 40px; height: 40px;
  transition: transform .2s, opacity .2s, background .2s, box-shadow .2s;
  display: inline-flex; box-shadow: 0 10px 20px rgba(75,107,255,.24);
}
.send-btn svg { width: 15px; height: 15px; transform: translate(1px) translateY(-1px); filter: drop-shadow(0 1px 1px rgba(40,64,172,.18)); }
.send-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(75,107,255,.3); }
.send-btn:disabled { cursor: not-allowed; box-shadow: none; color: #7d889de6; background: rgba(148,163,184,.18); border-color: rgba(148,163,184,.18); }

.ai-upload-preview { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 10px; }
.ai-upload-item { position: relative; }
.ai-upload-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; display: block; }
.ai-upload-remove { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #dc2626; color: #fff; border: none; font-size: 12px; line-height: 18px; cursor: pointer; padding: 0; }

.prompt-recommend { flex-direction: column; gap: 8px; padding: 0 2px; display: flex; margin-top: 26px; }
.prompt-recommend-head { justify-content: space-between; align-items: center; gap: 12px; display: flex; margin-bottom: 6px; }
.prompt-recommend-title { letter-spacing: .02em; color: #222; font-size: 14px; font-weight: 700; line-height: 1.2; }
.prompt-recommend-toggle {
  color: #9aa1ad; cursor: pointer; background: transparent; border: 0; border-radius: 8px;
  align-items: center; gap: 5px; padding: 4px 7px; font-size: 13px; line-height: 1.2; display: inline-flex;
}
.prompt-recommend-toggle:hover { color: #1f2329; background: rgba(148,163,184,.1); }
.prompt-recommend-toggle-icon { font-size: 15px; transition: transform .2s; display: inline-block; }
.prompt-recommend-toggle-icon.open { transform: rotate(180deg); }

.prompt-recommend-grid { flex-direction: column; gap: 8px; max-height: clamp(220px, 36vh, 320px); padding-right: 4px; display: flex; overflow-y: auto; }
.prompt-recommend-grid.expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-height: none; padding: 0; display: grid; overflow: visible; }

.prompt-recommend-card {
  border: 1px solid rgba(0,0,0,.08); text-align: left; width: 100%; min-width: 0; color: #222;
  background: linear-gradient(rgba(255,255,255,.74) 0%, rgba(247,250,255,.88) 100%);
  border-radius: 14px; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  transition: border-color .22s, box-shadow .22s, background .22s; display: flex;
}
.prompt-recommend-card:hover { border-color: rgba(75,107,255,.34); box-shadow: 0 8px 18px rgba(84,104,158,.08); }
.prompt-recommend-grid.expanded .prompt-recommend-card {
  min-height: 58px; box-shadow: none; background: rgba(255,255,255,.68); border-color: rgba(148,163,184,.22);
  border-radius: 15px; gap: 11px; padding: 13px 15px;
}
.prompt-recommend-grid.expanded .prompt-recommend-card:hover { background: #fff; border-color: rgba(75,107,255,.34); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15,23,42,.06); }

.prompt-recommend-index {
  color: #4b6bff; letter-spacing: .04em; background: rgba(75,107,255,.12); border-radius: 999px;
  flex-shrink: 0; justify-content: center; align-items: center; min-width: 24px; height: 24px;
  padding: 0 6px; font-size: 11px; font-weight: 700; display: inline-flex;
}
.prompt-recommend-grid.expanded .prompt-recommend-index { background: rgba(75,107,255,.08); border-radius: 9px; width: 30px; min-width: 30px; height: 30px; padding: 0; font-size: 15px; }

.prompt-recommend-text {
  min-width: 0; color: #222; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden;
}
.prompt-recommend-grid.expanded .prompt-recommend-text { white-space: normal; font-size: 15px; font-weight: 580; }

/* 模式下拉菜单 */
.ai-mode-dropdown .el-dropdown-menu__item { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 30px; }
.dm-icon { width: 18px; display: inline-block; text-align: center; }
.dm-check { margin-left: auto; color: #4b6bff; font-style: normal; }

/* ============================================================
   原站设计系统 · 1:1 对齐（字体/颜色/卡片/表格/筛选行/统计卡/看板三卡）
   ============================================================ */
:root {
  --bg-primary:#fff; --bg-card:#fff; --bg-secondary:#f7f7f7; --bg-elevated:#fff;
  --bg-hover:#f1f1f1; --bg-soft:#f7f7f8; --border:#e5e5e5; --nav-border:#e5e5e5;
  --text-primary:#222; --text-secondary:#333; --text-muted:#767676;
  --accent-blue:#1677ff; --accent-hover:#0f5fd6; --accent-green:#15803d; --accent-purple:#7c3aed;
  --up-green:#15803d; --down-red:#dc2626;
  --finance-positive:#15803d; --finance-negative:#dc2626; --finance-neutral:#d97706;
  --shadow-card:0 6px 20px #1111110a; --shadow-card-hover:0 10px 28px #11111114;
  --cn-up-color:#dc2626; --cn-down-color:#15803d;
  --el-color-primary:#1677ff; --el-color-primary-light-3:#4c97ff; --el-color-primary-light-5:#7db2ff;
  --el-color-primary-light-7:#a8ccff; --el-color-primary-light-8:#c5ddff; --el-color-primary-light-9:#e8f1ff;
  --el-color-primary-dark-2:#0f5fd6;
}

/* 视觉隐藏（仅屏幕阅读器可读，用于补全页标题语义） */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 苹果风通用卡片 */
.apple-card { background:var(--bg-card); border:1px solid var(--border); box-shadow:var(--shadow-card); border-radius:16px; padding:16px; transition:all .3s cubic-bezier(.4,0,.2,1); }

/* 带蓝色竖条的 section-title */
.section-title { display:flex; align-items:center; color:var(--text-primary); font-size: 17px; font-weight:700; margin:0 0 12px; }
.section-title:before { content:""; background:var(--accent-blue); border-radius:2px; width:4px; height:16px; margin-right:8px; }

/* ===== Element Plus 全局组件默认样式（对齐原站） ===== */
.el-form-item__label { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.el-input__wrapper, .el-select__wrapper {
  background-color: var(--bg-secondary); border: 1px solid var(--border);
  box-shadow: none; border-radius: 12px; transition: all .2s;
}
.el-input__wrapper:hover, .el-select__wrapper:hover { border-color: var(--text-muted); }
.el-input__wrapper.is-focus, .el-input__wrapper:focus-within,
.el-select__wrapper.is-focused { border-color: var(--accent-blue); box-shadow: 0 0 0 3px #007aff1a; }
.el-input__inner { color: var(--text-primary); font-size: 15px; }
.el-input__inner::placeholder { color: var(--text-muted); }
.el-button { font-size: 15px; font-weight: 500; }

/* el-table 定制（对齐原站 pro-table：圆角、边框、表头灰底、字号加大 15px、行高） */
.pro-table { --el-table-border-color:var(--border); --el-table-header-bg-color:var(--bg-secondary); border:1px solid var(--border); border-radius:12px; overflow:hidden; background:var(--bg-card); }
.pro-table th.el-table__cell { background:var(--bg-secondary)!important; color:var(--text-primary)!important; border-bottom:1px solid var(--border)!important; padding:13px 8px!important; font-size: 16px!important; font-weight:700!important; }
.pro-table td.el-table__cell { color:var(--text-primary); font-size: 16px; border-bottom:1px solid var(--border)!important; padding:11px 6px!important; font-variant-numeric: tabular-nums; }
.pro-table .el-table__row:hover>td.el-table__cell { background-color:#f0f6ff!important; }
.pro-table .el-table__row--striped td.el-table__cell { background:#00000005; }

/* 全局 el-table 默认行高（对齐原站 12/10 内边距） */
.el-table th.el-table__cell { padding:11px 6px; font-weight:600; font-size: 15px; font-variant-numeric: tabular-nums; }
.el-table td.el-table__cell { padding:10px 6px; font-size: 15px; font-variant-numeric: tabular-nums; }
.el-table .cell { padding: 0 4px; }
.el-table__cell.is-right .cell { white-space: nowrap; overflow-wrap: normal; }

/* 小号组件字体加大（集合竞价 + 异动监控 等） */
.el-tag { font-size: 14px; }
.el-tag--small { font-size: 13.5px; height: 22px; line-height: 20px; }
.el-button--small { font-size: 14px; }
.el-radio-button--small .el-radio-button__inner { font-size: 14px; }
.el-checkbox--small .el-checkbox__label { font-size: 14px; }
.el-select--small, .el-input--small { font-size: 14px; }
.empty-tip { font-size: 15px; }

/* 涨跌色（红涨绿跌） */
.num-up, .pct-up { color:var(--cn-up-color); font-weight:600; font-variant-numeric:tabular-nums; }
.num-down, .pct-down { color:var(--cn-down-color); font-weight:600; font-variant-numeric:tabular-nums; }
.code-link { cursor:pointer; color:var(--accent-blue); font-weight:600; text-decoration:underline; }

/* 筛选行 */
.filter-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:12px; }
.filter-input { width:min(420px,86vw); }
.filter-select { width:200px; }
.column-select { width:min(260px,86vw); }
.filter-btn { padding:10px 22px; }
.seg { flex-wrap:wrap; align-items:center; gap:10px; display:flex; margin-bottom:12px; }

/* 板块看板三卡 */
.insights-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:10px 0 14px; display:grid; }
.insight-card { border:1px solid var(--border); background:var(--bg-card); border-radius:14px; padding:10px 12px; }
.insight-card.up-card { background:linear-gradient(180deg,#ff9f0a14,var(--bg-card)); border-color:#ff9f0a59; }
.insight-card.flat-card { background:linear-gradient(180deg,#30d15814,var(--bg-card)); border-color:#30d15859; }
.insight-card.risk-card { background:linear-gradient(180deg,#ff375f14,var(--bg-card)); border-color:#ff375f59; }
.insight-title { color:var(--text-primary); font-size: 14px; font-weight:700; }
.insight-sub { color:var(--text-muted); margin-top:4px; font-size: 13px; }
.insight-list { gap:8px; margin-top:10px; display:grid; }
.insight-item { border:1px solid var(--border); background:var(--bg-secondary); border-radius:10px; padding:8px 10px; }
.insight-name { color:var(--text-primary); font-size: 13px; font-weight:600; }
.insight-meta { color:var(--text-secondary); grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:6px; font-size: 12px; display:grid; }

/* 板块全景：涨跌/资金颜色（对齐原站 --cn-up-color/--cn-down-color） */
.pct-up, .num-up { color:#dc2626; }
.pct-down, .num-down { color:#15803d; }
.pct-flat, .num-flat { color:inherit; }
/* 板块全景：展开行全字段明细 */
.pano-expand { padding:6px 8px 8px 48px; }
.pano-expand-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:2px 16px; }
.pano-expand-item { display:flex; justify-content:space-between; gap:8px; font-size: 13px; padding:3px 0; border-bottom:1px dashed var(--border); }
.pano-k { color:var(--text-muted); white-space:nowrap; }
.pano-v { color:var(--text-primary); font-variant-numeric:tabular-nums; }
/* 矩阵展开行：对齐原站「双列卡片」布局；长文本字段（入选理由）整行铺开 + 放大字号（2026-10-17 用户要求） */
.mx-detail { padding:6px 10px 10px 48px; }
.mx-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.mx-detail-item { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:38px;
  padding:8px 12px; border:1px solid var(--border); border-radius:6px; background:var(--bg-card); font-size: 14px; }
.mx-detail-k { flex:0 0 auto; color:var(--text-muted); white-space:nowrap; }
.mx-detail-v { color:var(--text-primary); font-weight:600; text-align:right; font-variant-numeric:tabular-nums; min-width:0; }
.mx-detail-wide { grid-column:1 / -1; align-items:flex-start; }
.mx-detail-wide .mx-detail-k { font-size: 14px; line-height:1.7; }
.mx-detail-wide .mx-detail-v { flex:1 1 auto; min-width:0; font-weight:400; font-size: 15px; line-height:1.7;
  text-align:justify; white-space:normal; word-break:break-word; }
@media (max-width:900px) { .mx-detail-grid { grid-template-columns:1fr; } }
/* 板块全景：分页器 */
.pano-pager { display:flex; justify-content:flex-end; margin-top:12px; }

/* 页面大标题（h1 + 副标题免责） */
.page-title { color:var(--text-primary); font-size:28px; font-weight:700; text-align:center; margin:0 0 6px; }
.page-subtitle { color:var(--text-muted); font-size: 13px; text-align:center; margin:0 0 16px; }

/* ===== 行情页 · 对齐原站 ===== */
.mq-head { text-align:center; margin-bottom:16px; }
.mq-title { color:var(--text-primary); font-size:24px; font-weight:700; margin-bottom:4px; }
.mq-subtitle { color:var(--text-muted); font-size: 14px; }
/* 稳智AI/执行记录 · 轻量 Markdown 渲染（#3 2026-10-17 建，专用类不动公共类） */
.md-h { font-weight: 700; margin: 12px 0 4px; }
.md-h.md-h1 { font-size: 18px; }
.md-h.md-h2 { font-size: 17px; }
.md-h.md-h3 { font-size: 16px; }
.md-tbl { border-collapse: collapse; width: 100%; margin: 8px 0 12px; font-size: 14px; }
.md-tbl th, .md-tbl td { border: 1px solid #e5e7eb; padding: 5px 10px; text-align: left; }
.md-tbl th { background: #f5f7fa; font-weight: 600; white-space: nowrap; }
.md-tbl tr:nth-child(even) td { background: #fafbfc; }
.md-tbl td.num, .md-tbl th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.md-chips { margin: 2px 0; }
.md-ask { display: inline-block; margin: 3px 8px 3px 0; padding: 5px 14px; font-size: 14px; color: #1677ff;
  background: #f2f7ff; border: 1px solid #cfe2ff; border-radius: 16px; cursor: pointer; user-select: none; }
.md-ask:hover { background: #1677ff; color: #fff; border-color: #1677ff; }
.md-ask:active { opacity: .85; }

/* 行情页空态（未找到该代码 / 暂无数据）——2026-10-17 加，专用类 */
.mq-empty-tip { text-align:center; color:#8a919f; font-size: 14px; line-height:1.8; padding:10px 12px; margin:0 0 10px; background:#fafbfc; border:1px dashed #e3e6eb; border-radius:8px; }
.mq-empty-tip .el-button { margin-left:6px; vertical-align:baseline; }
.mq-loading { text-align:center; color:#6b7280; font-size: 13px; padding:4px 0 8px; }
.search-panel .el-form-item { margin-bottom:0; margin-right:18px; }
.name-input { width:200px; }
.code-input { width:160px; }
.autype-toolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 16px; }
.autype-label { color:var(--text-secondary); font-size: 15px; font-weight:600; }
.autype-select { width:130px; }
.market-data { display:flex; gap:28px; margin-bottom:16px; }
.data-item { display:flex; flex-direction:column; gap:2px; }
.data-item label { color:var(--text-muted); font-size: 13px; }
.data-value { color:var(--text-primary); font-size: 17px; font-weight:600; font-variant-numeric:tabular-nums; }
.chart-header { text-align:center; margin-bottom:8px; }
.chart-header h3 { color:var(--text-primary); font-size: 16px; font-weight:600; margin:0 0 2px; }
.chart-header p { color:var(--text-muted); font-size: 13px; margin:0; }

.hq-toolbar { background:var(--bg-card); border:1px solid var(--border); border-radius:12px; align-items:center; gap:12px; padding:12px 16px; display:flex; flex-wrap:wrap; margin-bottom:14px; }
.toolbar-section { flex-wrap:wrap; align-items:center; gap:8px; display:flex; }
.toolbar-control { align-items:center; gap:4px; display:flex; }
.toolbar-label, .toolbar-title { color:var(--text-primary); white-space:nowrap; font-size: 13px; font-weight:600; }
.toolbar-sub-label { color:var(--text-muted); white-space:nowrap; font-size: 13px; }
.toolbar-tools { flex-wrap:wrap; align-items:center; gap:8px; display:flex; }
.toolbar-view { flex-wrap:wrap; align-items:center; gap:8px; display:flex; }
.toolbar-actions { margin-left:auto; flex-wrap:wrap; align-items:center; gap:8px; display:flex; }
.toolbar-group .el-button { margin:0; }
.minute-box { width:100%; height:360px; }
.chart-box { width:100%; }

/* 稳智AI · 弹窗（对齐原站 ai-matrix-stock-horizon-prompt） */
.ai-prompt-dialog .apd-sub { color: #4b5563; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.ai-prompt-dialog .apd-label { color: #374151; font-size: 14px; font-weight: 600; margin: 12px 0 6px; }
.ai-prompt-dialog .el-dialog__header { font-weight: 700; }

/* 稳智AI · 分析步骤面板（对齐原站「AI 正在分析」卡） */
.ai-steps { background: #f7f8fa; border: 1px solid #eef0f3; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; font-size: 15px; }
.ai-steps-head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.ai-steps-title { font-weight: 700; color: #1f2329; }
.ai-steps-toggle { color: #6b7280; }
.ai-steps-body { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; }
.ai-step-group { display: flex; flex-direction: column; gap: 4px; }
.ai-step-row { display: flex; align-items: center; gap: 8px; line-height: 1.6; }
.ai-step-row.sub { padding-left: 18px; color: #6b7280; }
.ai-step-icon { width: 14px; text-align: center; }
.ai-step-icon.done { color: #15803d; }
.ai-step-icon.running { color: #1677ff; animation: pulse 1s infinite; }
.ai-step-icon.error { color: #dc2626; }
.ai-step-name { flex: 1; color: #374151; }
.ai-step-ms { color: #6b7280; font-variant-numeric: tabular-nums; }
@keyframes pulse { 50% { opacity: .4; } }

/* 量化因子选股 · 结果列多选（对齐原站：已选列 = 蓝色胶囊，默认 12 列固定） */
.col-select .el-select__selection .el-tag,
.col-select .el-tag { background: #409eff !important; color: #fff !important; border-color: #409eff !important; }
.col-select .el-tag .el-tag__content,
.col-select .el-tag .el-select__tags-text { color: #fff !important; }
.col-select .el-tag .el-tag__close { color: #fff !important; }
.col-select .el-tag .el-tag__close:hover { background: rgba(255, 255, 255, .3) !important; color: #fff !important; }

/* ============ 市场数据页（龙虎榜 / 严重异动 / 全市场排名）2026-10-15 ============ */
.mini-tag { margin: 1px 3px 1px 0; }
.stock-link { color: #1677ff; cursor: pointer; font-weight: 500; }
.stock-link:hover { text-decoration: underline; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }

/* 龙虎榜 · 席位展开区 */
.seats-wrap { padding: 6px 14px 10px; }
.seats-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .seats-cols { grid-template-columns: 1fr; } }
.seats-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding-left: 8px; border-left: 3px solid #d0d5dd; }
.seats-title.buy { border-left-color: #dc2626; color: #b91c1c; }
.seats-title.sell { border-left-color: #15803d; color: #15803d; }
.seat-row { display: flex; align-items: center; gap: 8px; padding: 4px 2px; font-size: 13.5px; border-bottom: 1px dashed #f1f3f5; }
.seat-row:last-child { border-bottom: none; }
.seat-idx { width: 16px; height: 16px; border-radius: 50%; background: #f2f4f7; color: #667085; font-size: 11.5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.seat-name { flex: 1; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-val { font-variant-numeric: tabular-nums; font-weight: 600; flex: none; }
.dt-reason { font-size: 13.5px; color: #7c3aed; }

/* 龙虎榜 · 游资分组卡片 */
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.hm-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-card); }
.hm-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: linear-gradient(90deg, #fff7f5, #fff); border-bottom: 1px solid var(--border); }
.hm-name { font-weight: 700; font-size: 15px; color: #b91c1c; }
.hm-amt { font-size: 13px; color: #6b7280; font-variant-numeric: tabular-nums; }
.hm-list { max-height: 260px; overflow-y: auto; }
.hm-row { display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 13.5px; border-bottom: 1px dashed #f1f3f5; }
.hm-row:last-child { border-bottom: none; }
.hm-stock { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-chg { width: 68px; text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.hm-net { width: 74px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; flex: none; }

/* 严重异动 · 口径说明 */
.rules-note { border: 1px solid #fde68a; background: #fffbeb; border-radius: 10px; padding: 9px 14px; margin-bottom: 12px; font-size: 13.5px; }
.rules-title { display: flex; justify-content: space-between; cursor: pointer; color: #92400e; font-weight: 600; }
.rules-body { margin: 8px 0 2px; padding-left: 18px; color: #6b7280; line-height: 1.9; }
.reason-kw { font-size: 13px; color: #7c3aed; margin-left: 4px; }
.reason-text { font-size: 13px; color: #6b7280; line-height: 1.6; cursor: pointer; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reason-text:hover { color: #374151; }
.reason-more { color: #1677ff; }
.reason-full { font-size: 14px; }

/* 选股结果表：行业 / K线形态 列加深（对齐原站醒目度——原站为深灰 #333 正常字号） */
.cell-strong { color: #333; font-size: 14px; }

/* ==== 行业页（板块与概念分析）==== */
.ind-stat-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-top:14px; }
.ind-stat { display:flex; align-items:center; gap:10px; background:linear-gradient(135deg,#fafbff,#f4f7fd); border:1px solid #eef1f6; border-radius:12px; padding:14px 16px; }
.ind-stat-icon { font-size:22px; line-height:1; }
.ind-stat-body { min-width:0; }
.ind-stat-val { font-size:18px; font-weight:700; color:#1f2329; }
.ind-stat-label { font-size: 13px; color:#6b7280; margin-top:2px; }
.ind-filter-group { display:flex; align-items:center; gap:6px; }
@media (max-width:1080px) { .ind-stat-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* ============ 集合竞价页（2026-10-17）：Top10 摘要条 + 连板天梯 ============ */
.auc-top10 { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.auc-top10-item {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border: 1px solid var(--line, #e5e7eb); border-radius: 8px; cursor: pointer;
  background: #fff; transition: box-shadow .15s; }
.auc-top10-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auc-rank { font-weight: 700; color: #e11d48; font-size: 13px; }
.auc-name { font-size: 14px; }
.auc-score { font-size: 13px; font-weight: 700; color: #2563eb; }
.auc-badge { display: inline-block; min-width: 30px; padding: 1px 5px; border-radius: 9px;
  background: #eef2ff; color: #4338ca; font-weight: 700; font-size: 12px; }
.lad-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
@media (max-width: 900px) { .lad-grid { grid-template-columns: repeat(3, 1fr); } }
.lad-col { border: 1px solid var(--line, #eef0f4); border-radius: 10px; min-height: 80px; overflow: hidden; }
.lad-head { padding: 6px 10px; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #334155, #475569); display: flex; justify-content: space-between; align-items: center; }
.lad-head.lv2 { background: linear-gradient(90deg, #0e7490, #0891b2); }
.lad-head.lv3 { background: linear-gradient(90deg, #15803d, #15803d); }
.lad-head.lv4 { background: linear-gradient(90deg, #b45309, #d97706); }
.lad-head.lv5 { background: linear-gradient(90deg, #be123c, #e11d48); }
.lad-head.lv6 { background: linear-gradient(90deg, #86198f, #c026d3); }
.lad-head.lv7 { background: linear-gradient(90deg, #7c2d12, #ea580c); }
.lad-cnt { font-weight: 600; opacity: .85; }
.lad-chip { display: flex; align-items: center; gap: 4px; padding: 5px 8px; border-bottom: 1px dashed var(--line, #f1f5f9);
  font-size: 13px; cursor: pointer; }
.lad-chip:hover { background: #f8fafc; }
.lad-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lad-seal { color: #15803d; font-weight: 700; }
.lad-nb { color: #9333ea; font-weight: 700; font-size: 12px; }
.lad-sg { color: #d97706; font-size: 12px; }
.lad-head.lv1 { background: linear-gradient(90deg, #475569, #64748b); }

/* ===== 连板天梯 排版优化（2026-10-17 晚）：列内滚动排板 + 首板时间 + 淘汰原因可读可点 ===== */
.lad-col { display: flex; flex-direction: column; height: 360px; }
.lad-list { flex: 1; overflow-y: auto; }
.lad-list::-webkit-scrollbar { width: 6px; }
.lad-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.lad-name { color: #111827; font-weight: 600; font-size: 13.5px; }
.lad-time { color: #4b5563; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.auc-ladder-empty { padding: 6px 2px 2px; font-size: 13.5px; color: #374151; font-weight: 600; }
.rej-head { font-size: 13.5px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.rej-wrap { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; line-height: 1.6; max-height: 320px; overflow-y: auto; }
.rej-item { cursor: pointer; color: #111827; }
.rej-item:hover b { text-decoration: underline; color: #1d4ed8; }
.rej-item b { font-weight: 700; }
.rej-reason { color: #4b5563; }
.lad-sec { position: sticky; top: 0; z-index: 1; background: #f1f5f9; color: #334155;
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-top: 1px solid #e2e8f0; }
.lad-sec-n { color: #64748b; font-weight: 600; }
.lad-grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lad-grid4 { grid-template-columns: repeat(2, 1fr); } }
.lad-head.fb-main { background: linear-gradient(90deg, #334155, #475569); }
.lad-head.fb-gem { background: linear-gradient(90deg, #0e7490, #0891b2); }
.lad-head.fb-star { background: linear-gradient(90deg, #6d28d9, #7c3aed); }
.lad-head.fb-bj { background: linear-gradient(90deg, #b45309, #d97706); }

/* ===== 天梯卡片化（2026-10-17 夜）：每格悬浮卡 ===== */
.lad-list { background: #f8fafc; padding: 6px 6px 8px; }
.lad-sec { position: sticky; top: 0; z-index: 2; background: #eef2f7; color: #334155;
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; margin: 2px 2px 4px; }
.lad-chip { display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  margin: 4px 2px; padding: 6px 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.lad-chip:hover { box-shadow: 0 6px 16px rgba(15, 23, 42, .14); transform: translateY(-1.5px); border-color: #93c5fd; }
.lad-chip .lad-name { color: #111827; font-weight: 600; font-size: 13.5px; }
.lad-chip .lad-time { color: #64748b; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ===== 天梯 hover 浮卡（2026-10-17 夜） ===== */
.lad-popper { padding: 0 !important; border-radius: 10px !important; box-shadow: 0 10px 30px rgba(15,23,42,.18) !important; }
.lad-pop { padding: 12px 14px; font-size: 13.5px; }
.lad-pop .lp-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eef2f7; }
.lad-pop .lp-head b { font-size: 16px; color: #0f172a; }
.lp-code { color: #64748b; font-size: 12.5px; }
.lp-mk { margin-left: auto; font-size: 12px; color: #1d4ed8; background: #eff6ff; border-radius: 6px; padding: 1px 6px; }
.lp-row { display: flex; align-items: baseline; gap: 8px; line-height: 1.9; }
.lp-row span { color: #64748b; min-width: 62px; }
.lp-row b { color: #0f172a; font-weight: 700; }
.lp-row b.up { color: #e11d48; }
.lp-row b.down { color: #15803d; }
.lp-score { color: #2563eb !important; }
.lp-ok { margin-left: auto; color: #15803d; font-size: 12px; font-weight: 700; }
.lp-sep { margin: 8px 0 4px; padding-top: 8px; border-top: 1px dashed #e2e8f0; font-size: 12.5px; font-weight: 700; color: #334155; }
.lp-sep.muted { font-weight: 600; color: #64748b; }
.lp-reason { margin-top: 8px; color: #475569; font-size: 13px; line-height: 1.6; }
.lp-foot { margin-top: 10px; text-align: right; color: #1d4ed8; font-weight: 700; cursor: pointer; }
.lp-foot:hover { text-decoration: underline; }

/* ===== 自定义悬浮浮卡（跟随鼠标，无 popper 依赖） ===== */
.lad-float { position: fixed; z-index: 3000; width: 300px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .22);
  padding: 12px 14px; font-size: 13.5px; }
.lad-float .lp-head { display: flex; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eef2f7; }
.lad-float .lp-head b { font-size: 16px; color: #0f172a; }
.lad-float .lp-code { color: #64748b; font-size: 12.5px; }
.lad-float .lp-mk { margin-left: auto; font-size: 12px; color: #1d4ed8; background: #eff6ff; border-radius: 6px; padding: 1px 6px; }
.lad-float .lp-row { display: flex; align-items: baseline; gap: 8px; line-height: 1.9; }
.lad-float .lp-row span { color: #64748b; min-width: 64px; }
.lad-float .lp-row b { color: #0f172a; font-weight: 700; }
.lad-float .lp-row b.up { color: #e11d48; }
.lad-float .lp-row b.down { color: #15803d; }
.lad-float .lp-score { color: #2563eb !important; }
.lad-float .lp-sep { margin: 8px 0 4px; padding-top: 8px; border-top: 1px dashed #e2e8f0; font-size: 12.5px; font-weight: 700; color: #334155; }
.lad-float .lp-sep.muted { font-weight: 600; color: #64748b; }
.lad-float .lp-reason { margin-top: 8px; color: #475569; font-size: 13px; line-height: 1.6; }
.lad-float .lp-foot { margin-top: 10px; text-align: right; color: #1d4ed8; font-weight: 700; cursor: pointer; }
.lad-float .lp-foot:hover { text-decoration: underline; }
.lad-chip { cursor: pointer; }

/* ===== 悬浮稳定性修复（2026-10-18）：去掉 hover 位移，避免光标脱离命中区抖动 ===== */
.lad-chip:hover { transform: none !important; box-shadow: 0 6px 16px rgba(15, 23, 42, .14); border-color: #93c5fd; }
/* 悬浮卡自身在光标路径上时保持稳定 */
.lad-float { pointer-events: auto; }

/* ===== 板块大框做成悬浮面板（2026-10-18） ===== */
.lad-col { background: #fff; border: 1px solid #e8edf5; border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07); overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease; }
.lad-col:hover { box-shadow: 0 14px 32px rgba(15, 23, 42, .13); border-color: #dbe4f0; }
/* 面板内部托盘（浅灰），让小卡片层次分明；不做位移避免光标抖动 */
.lad-list { background: #f8fafc; }
.lad-head { border-radius: 0; }
.lad-head.fb-star { background: linear-gradient(90deg, #6d28d9, #7c3aed); }
.lad-head.fb-down { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.lad-sub { font-size: 12px; color: #64748b; padding: 3px 8px; background: #f8fafc;
  border-bottom: 1px solid #eef2f7; font-variant-numeric: tabular-nums; }

/* ===== 涨跌配色（A股惯例：红涨绿跌）2026-10-18 ===== */
.lad-chip .lad-name { color: #e11d48; }              /* 涨停系（板位/首板）红字 */
.lad-down .lad-chip .lad-name { color: #15803d; }     /* 跌停板 绿字 */
.lad-down .lad-chip .lad-time { color: #15803d; }
.lad-float-down .lp-head b { color: #15803d; }        /* 跌停浮卡标题绿字 */
.lad-float-down .lp-mk { color: #15803d; background: #ecfdf5; }
/* 反差票标记：昨涨停 → 今跌停 */
.lad-tag-prev { font-size: 11.5px; font-weight: 700; color: #be123c; background: #fff1f2;
  border: 1px solid #fecdd3; border-radius: 6px; padding: 0 5px; margin-left: 4px; }
.lad-down .lad-chip .lad-name { max-width: 96px; }

/* ===== 国资背景标记（2026-10-19）=====
   身份用「浅金底 + 暗金左边框 + 「国」徽标」表达；涨/跌字体色（涨停红 / 跌停绿）保持不变，
   使"是不是国资"与"涨停/跌停"两套语义并行不打架。 */
.lad-chip.soe { background: #fffbeb; border-left: 3px solid #b45309; }
.lad-chip.soe:hover { background: #fef3c7; }
.soe-badge { display: inline-block; min-width: 18px; height: 18px; line-height: 17px; text-align: center;
  font-size: 13px; font-weight: 700; color: #fff; background: #b45309;
  border: 1px solid #d97706; border-radius: 4px; padding: 0 3px; margin-right: 3px; flex: 0 0 auto; }

/* 天梯浮卡内嵌分时（2026-10-19） */
.lad-float .lp-mini { margin: 2px 0 0; }
.lad-float .lp-mini .mmi-state { font-variant-numeric: tabular-nums; }

/* 点位提醒角标 */
.mq-alert-badge {
  display: inline-block; min-width: 16px; height: 16px; line-height: 16px;
  padding: 0 4px; margin-left: 4px; border-radius: 8px; background: #dc2626;
  color: #fff; font-size: 11px; text-align: center; vertical-align: middle;
}

/* 点位提醒弹窗 · 关键价位列表项（两行式：名称 + 类型小字） */
.alert-level-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.alert-level-item:hover { background: #f1f5f9; }
.alert-level-item.active { background: #e0f2fe; }
.alert-level-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.alert-level-label { font-size: 14px; }
.alert-level-type { font-size: 12px; color: #64748b; }
.alert-level-item b { font-size: 14px; font-weight: 700; margin-left: 8px; }

/* 关键价位 · 图表右上角列表 */
.level-legend {
  position: absolute; right: 12px; top: 10px; z-index: 6;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid #eef0f3; border-radius: 10px;
  padding: 9px 12px 10px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
  max-height: calc(100% - 20px);
  overflow-y: auto;
  max-width: 240px;
  font-variant-numeric: tabular-nums;
}
.level-legend .ll-title { font-weight: 700; color: #1f2937; font-size: 14px; margin-bottom: 5px; }
.level-legend .ll-items { display: flex; flex-direction: column; gap: 2px; }
.level-legend .ll-item { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.5; white-space: nowrap; }
.level-legend .ll-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.level-legend .ll-label { color: #6b7280; }
.level-legend .ll-item b { margin-left: auto; font-weight: 700; padding-left: 10px; }

/* 异动监控 · 盘中统计卡 */
.ab-stat { display: flex; flex-direction: column; align-items: center; min-width: 72px; padding: 10px 14px; border: 1px solid #eef0f3; border-radius: 8px; background: #fff; }
.ab-stat .ab-n { font-size: 22px; font-weight: 800; line-height: 1.2; }
.ab-stat .ab-l { font-size: 13px; color: #6b7280; margin-top: 2px; }
.ab-stat .ab-n.up { color: #dc2626; }
.ab-stat .ab-n.down { color: #15803d; }
.ab-stat .ab-n.flat { color: #6b7280; }
.ab-stat .ab-n.warn { color: #f59e0b; }

/* 连板梯队统计条 */
.ld-stat { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 6px; font-size: 14px; background: #f8fafc; border: 1px solid #eef0f3; }
.ld-stat b { font-weight: 800; }
.ld-stat.up b { color: #dc2626; }
.ld-stat.down b { color: #15803d; }
.ld-stat.warn b { color: #f59e0b; }

/* 连板梯队卡片涨跌幅 */
.lad-chg { font-size: 12px; font-weight: 700; margin-left: 3px; }
.lad-chg.up { color: #dc2626; }
.lad-chg.down { color: #15803d; }

/* ===== 连板梯队 v2（TSP v0.3.9 一比一还原） =====
   bull=hsl(4,87%,60%) bear=hsl(152,67%,45%) accent=hsl(217,91%,60%)
   muted=hsl(240,5%,65%) border=hsl(240,6%,90%) surface=#fff */

/* 头部工具栏 */
.ldv2-head { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin-bottom: 8px; }
.ldv2-pill { display: inline-flex; align-items: center; background: rgba(245,245,247,.6); border-radius: 999px; padding: 2px; }
.ldv2-pill-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; border: 0; background: transparent; color: #71717a; font-size: 15px; cursor: pointer; transition: all .15s; font-variant-numeric: tabular-nums; }
.ldv2-pill-btn.up-on { background: rgba(239,68,68,.15); color: #dc2626; font-weight: 600; }
.ldv2-pill-btn.down-on { background: rgba(38,162,105,.15); color: #26a269; font-weight: 600; }
.ldv2-pill-btn.blue-on { background: rgba(59,130,246,.15); color: #3b82f6; font-weight: 500; }
.ldv2-pill-btn.yellow-on { background: rgba(250,204,21,.15); color: #ca8a04; font-weight: 500; }
.ldv2-pill-btn:hover { color: #555559; }
.ldv2-head-btn { padding: 4px 8px; border: 0; background: transparent; color: #555559; font-size: 15px; cursor: pointer; border-radius: 4px; transition: all .15s; }
.ldv2-head-btn.on { background: rgba(59,130,246,.15); color: #3b82f6; font-weight: 500; }
.ldv2-head-btn.on-yellow { background: rgba(250,204,21,.15); color: #ca8a04; font-weight: 500; }
.ldv2-head-btn.on-blue { background: rgba(59,130,246,.15); color: #3b82f6; font-weight: 500; }
.ldv2-head-btn:hover { color: #18181b; background: #fff; }
.ldv2-sep { width: 1px; height: 16px; background: #e4e4e7; margin: 0 4px; }
.ldv2-head-spacer { margin-left: auto; }

/* 总览条 */
.ldv2-overview { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 8px 0; font-size: 14px; color: #555559; }
.ldv2-overview-item { display: flex; align-items: center; gap: 4px; }
.ldv2-overview-label { font-weight: 500; }
.ldv2-overview-bar { height: 8px; border-radius: 2px; background: rgba(59,130,246,.4); min-width: 8px; }
.ldv2-overview-cnt { color: #71717a; }
.ldv2-overview-broken { color: #a855f7; font-weight: 500; }
.ldv2-overview-failed { color: #ca8a04; font-weight: 500; }

/* 梯队分组 */
.ldv2-tier { border-left: 2px solid #e4e4e7; border-radius: 0 8px 8px 0; background: rgba(255,255,255,.5); margin-bottom: 8px; }
.ldv2-tier.t2 { border-left-color: rgba(202,138,4,.4); }
.ldv2-tier.t3 { border-left-color: rgba(249,115,22,.5); }
.ldv2-tier-head { width: 100%; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; background: transparent; cursor: pointer; transition: background .15s; }
.ldv2-tier-head:hover { background: rgba(255,255,255,.8); }
.ldv2-tier-flame { display: inline-flex; width: 16px; height: 16px; }
.ldv2-tier-flame svg { width: 16px; height: 16px; }
.ldv2-tier-flame.flame-orange { color: #f97316; }
.ldv2-tier-flame.flame-yellow { color: #eab308; }
.ldv2-tier-flame.flame-muted { color: #71717a; }
.ldv2-tier-title { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: #71717a; }
.ldv2-tier-title.t2 { color: #eab308; }
.ldv2-tier-title.t3 { color: #fb923c; }
.tier-text-1 { color: #71717a; }
.tier-text-2 { color: #eab308; }
.tier-text-3 { color: #fb923c; }
.ldv2-tier-dot { color: rgba(165,165,171,.4); margin: 0 4px; }
.ldv2-tier-broken { font-size: 13px; color: #a855f7; }
.ldv2-tier-failed { font-size: 13px; color: rgba(165,165,171,.8); }
.ldv2-tier-chevron { margin-left: auto; color: #71717a; font-size: 13px; transition: transform .15s; }
.ldv2-tier-chevron.open { transform: rotate(180deg); }

/* 股票网格 */
.ldv2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; padding: 0 12px 12px; }

/* 股票卡片（3 行） */
.ldv2-card { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border-radius: 6px; cursor: pointer; transition: box-shadow .15s, opacity .15s; }
.ldv2-card.up { background: linear-gradient(105deg, hsla(4,60%,45%,.14) 0%, hsla(6,50%,30%,.09) 40%, hsla(220,15%,12%,0) 100%); box-shadow: inset 1px 0 0 hsla(4,80%,55%,.12), 0 0 10px -4px hsla(4,80%,50%,.10); border-left: 2px solid hsla(4,87%,60%,.5); }
.ldv2-card.down { background: linear-gradient(105deg, hsla(152,60%,45%,.14) 0%, hsla(150,50%,30%,.09) 40%, hsla(220,15%,12%,0) 100%); box-shadow: inset 1px 0 0 hsla(152,80%,45%,.12), 0 0 10px -4px hsla(152,80%,45%,.10); border-left: 2px solid hsla(152,67%,45%,.5); }
.ldv2-card.broken, .ldv2-card.recovery { opacity: .75; border-left: 1px solid rgba(192,132,252,.3); }
.ldv2-card.failed { opacity: .75; border-left: 1px solid rgba(165,165,171,.25); }
.ldv2-card.up:hover { box-shadow: inset 1px 0 0 hsla(4,80%,55%,.30), 0 0 18px -4px hsla(4,80%,50%,.28); }
.ldv2-card.down:hover { box-shadow: inset 1px 0 0 hsla(152,80%,45%,.30), 0 0 18px -4px hsla(152,80%,45%,.28); }

.ldv2-card-row { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; }
.ldv2-card-row.name { padding-right: 16px; }
.ldv2-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldv2-name.up { color: #881337; font-size: 16px; }
.ldv2-name.down { color: #064e3b; font-size: 16px; }
.ldv2-name.broken, .ldv2-name.recovery, .ldv2-name.failed { color: rgba(24,24,27,.7); font-size: 15px; }
.ldv2-oneword { flex-shrink: 0; border-radius: 2px; border: 1px solid rgba(239,68,68,.25); background: rgba(239,68,68,.1); color: #dc2626; font-size: 12px; padding: 0 2px; line-height: 1.3; }
.ldv2-oneword.down { border-color: rgba(38,162,105,.25); background: rgba(38,162,105,.1); color: #26a269; }
.ldv2-board-tag { flex-shrink: 0; font-size: 12px; padding: 0 4px; border-radius: 999px; border: 1px solid; line-height: 1.4; }
.ldv2-board-tag.chinext { color: #f97316; background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.25); }
.ldv2-board-tag.star { color: #22d3ee; background: rgba(34,211,238,.12); border-color: rgba(34,211,238,.25); }
.ldv2-board-tag.bj { color: #c084fc; background: rgba(192,132,252,.12); border-color: rgba(192,132,252,.25); }
.ldv2-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; letter-spacing: -.05em; color: rgba(165,165,171,.8); }
.ldv2-card-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ldv2-seal { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(59,130,246,.8); }
.ldv2-card-chg { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ldv2-status-badge { font-size: 12px; font-weight: 500; line-height: 1.2; }
.ldv2-status-badge.broken, .ldv2-status-badge.recovery { color: #a855f7; }
.ldv2-status-badge.failed { color: rgba(165,165,171,.8); }
.ldv2-card-tags { display: flex; flex-wrap: wrap; gap: 2px; width: 100%; }
.ldv2-tag { font-size: 13px; padding: 1px 6px; border-radius: 2px; white-space: nowrap; cursor: pointer; }
.ldv2-tag.concept { color: #b45309; background: rgba(234,179,8,.1); }
.ldv2-tag.industry { color: #1d4ed8; background: rgba(59,130,246,.08); }

/* 封单监控铃铛 + 弹窗 */
.ldv2-bell {
  position: absolute; top: 5px; right: 6px; z-index: 3;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #9aa3b0; cursor: pointer; opacity: 0; transition: opacity .12s, color .12s;
}
.ldv2-bell svg { width: 13px; height: 13px; }
.ldv2-card:hover .ldv2-bell { opacity: 1; }
.ldv2-bell.on { opacity: 1; color: #f59e0b; }

.ldv2-monitor-mask {
  position: fixed; inset: 0; z-index: 2000; background: rgba(15, 23, 42, .35);
  display: flex; align-items: center; justify-content: center;
}
.ldv2-monitor {
  width: 280px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(15,23,42,.2);
  overflow: hidden; font-size: 14px;
}
.ldv2-monitor-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid #eef0f3; background: #fafbfc;
}
.ldv2-monitor-title { font-weight: 700; color: #1f2937; }
.ldv2-monitor-x { cursor: pointer; color: #9aa3b0; font-size: 15px; padding: 0 2px; }
.ldv2-monitor-x:hover { color: #1f2937; }
.ldv2-monitor-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.ldv2-monitor-row { display: flex; align-items: center; gap: 8px; }
.ldv2-monitor-label { width: 30px; flex: 0 0 auto; color: #6b7280; font-size: 13px; }
.ldv2-monitor-type {
  padding: 1px 8px; border-radius: 4px; font-size: 13px; font-weight: 600;
}
.ldv2-monitor-type.up { color: #dc2626; background: #fee2e2; }
.ldv2-monitor-type.down { color: #15803d; background: #dcfce7; }
.ldv2-monitor-seg { display: flex; flex: 1; background: #f1f5f9; border-radius: 6px; padding: 2px; }
.ldv2-monitor-seg button {
  flex: 1; padding: 4px 0; border-radius: 5px; border: 0; background: transparent;
  cursor: pointer; color: #6b7280; font-size: 13px; transition: all .12s;
}
.ldv2-monitor-seg button.on { background: #fff; color: #1f2937; box-shadow: 0 1px 3px rgba(15,23,42,.1); font-weight: 600; }
.ldv2-monitor-input {
  flex: 1; min-width: 0; height: 28px; padding: 0 8px; border: 1px solid #e2e8f0;
  border-radius: 6px; text-align: center; font-size: 14px; outline: none;
}
.ldv2-monitor-input:focus { border-color: #3b82f6; }
.ldv2-monitor-unit {
  height: 28px; padding: 0 4px; border: 1px solid #e2e8f0; border-radius: 6px;
  font-size: 13px; color: #64748b; outline: none; cursor: pointer;
}
.ldv2-monitor-channels { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.ldv2-monitor-channels button {
  padding: 3px 10px; border-radius: 999px; border: 1px solid #e2e8f0; background: #fff;
  cursor: pointer; color: #6b7280; font-size: 13px; transition: all .12s;
}
.ldv2-monitor-channels button.on {
  background: #eff6ff; border-color: #3b82f6; color: #2563eb; font-weight: 600;
}
.ldv2-monitor-foot {
  display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid #eef0f3; background: #fafbfc;
}
.ldv2-monitor-remove {
  padding: 6px 12px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff;
  cursor: pointer; color: #6b7280; font-size: 13px;
}
.ldv2-monitor-remove:hover { color: #dc2626; border-color: #fecaca; }
.ldv2-monitor-save {
  flex: 1; padding: 6px 0; border-radius: 6px; border: 0; background: #3b82f6;
  cursor: pointer; color: #fff; font-size: 14px; font-weight: 600;
}
.ldv2-monitor-save:disabled { background: #cbd5e1; cursor: not-allowed; }

/* ===== 问财 · 黄金集录入使用手册弹窗 ===== */
.whelp { font-size: 14px; line-height: 1.85; color: #303133; }
.whelp-lead {
  background: #eef3f8; border-left: 3px solid #3b82f6; padding: 8px 14px;
  border-radius: 4px; margin-bottom: 12px;
}
.whelp h3 { font-size: 15px; margin: 16px 0 6px; color: #1e293b; }
.whelp h3:first-of-type { margin-top: 4px; }
.whelp p { margin: 4px 0; }
.whelp table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.whelp th, .whelp td { border: 1px solid #dcdfe6; padding: 6px 12px; text-align: left; font-size: 13px; }
.whelp th { background: #eef3f8; white-space: nowrap; }
.whelp td code, .whelp .eg {
  background: #f1f5f9; padding: 1px 8px; border-radius: 4px; font-size: 13px;
  font-family: Consolas, Menlo, monospace; white-space: nowrap;
}
.whelp .tip { color: #64748b; font-size: 13px; }
.whelp b.g { color: #2e7d32; }

/* 席位明细弹窗（2026-10-21）：两张表并排；营业部名称换行、数值列定宽，避免撑出弹窗 */
.seat-cols { display: flex; gap: 20px; }
.seat-cols > .seat-col { flex: 1 1 0; min-width: 0; }      /* min-width:0 是关键：允许收缩 */
.seat-tbl { table-layout: fixed; width: 100%; font-size: 13.5px; }
.seat-tbl th, .seat-tbl td { padding: 8px 6px; white-space: normal; word-break: break-all; overflow-wrap: anywhere; }
.seat-tbl th:nth-child(2), .seat-tbl td:nth-child(2),
.seat-tbl th:nth-child(3), .seat-tbl td:nth-child(3),
.seat-tbl th:nth-child(4), .seat-tbl td:nth-child(4) { width: 86px; white-space: nowrap; }
.seat-tbl td:first-child { line-height: 1.5; padding-right: 10px; }
@media (max-width: 900px) { .seat-cols { flex-direction: column; } }

/* ══ 条件信号库（signals.js） ══ */
.sig-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 8px; }
.sig-input { height: 32px; padding: 0 10px; border: 1px solid #e5e7eb; border-radius: 8px;
  font-size: 14px; background: #fff; color: #111; min-width: 160px; }
.sig-input:focus { outline: none; border-color: #1677ff; }
.sig-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.sig-btn { height: 32px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 14px; color: #111; }
.sig-btn:hover { border-color: #1677ff; color: #1677ff; }
.sig-btn-sm { height: 26px; padding: 0 10px; font-size: 13px; }
.sig-tbl td { white-space: normal; }
.sig-row { cursor: pointer; }
.sig-name { text-align: left; }
.sig-name-main { font-weight: 500; }
.sig-id { font-size: 12px; font-family: ui-monospace, Consolas, monospace; }
.sig-detail { padding: 10px 8px 16px; background: #fafbfc; text-align: left;
  max-height: 340px; overflow-y: auto; }
.sig-note { margin-bottom: 8px; }
.sig-syms { display: flex; flex-wrap: wrap; gap: 6px; }
.sig-sym { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.sig-more { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
@media (max-width: 900px) { .sig-tbl th:nth-child(2), .sig-tbl td:nth-child(2),
  .sig-tbl th:nth-child(3), .sig-tbl td:nth-child(3) { display: none; } }

.sig-health { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 10px;
  font-size: 13px; color: #374151; }
.sig-health b { font-variant-numeric: tabular-nums; }
.sig-pos { color: #15803d; }
.sig-neg { color: #b91c1c; }

.sig-pick { display: flex; flex-wrap: wrap; gap: 8px 16px; max-height: 168px; overflow-y: auto;
  padding: 8px 10px; border: 1px solid #eef0f3; border-radius: 10px; background: #fafbfc; }
.sig-pick-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #374151;
  cursor: pointer; }
.sig-pick-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ══ 信号库：滚动区（列表过长时用滑轮，不再把整页拉长） ══ */
.sig-scroll { max-height: calc(100vh - 330px); min-height: 260px;
  overflow-y: auto; overflow-x: hidden; border: 1px solid #eef0f3; border-radius: 10px; }
.sig-scroll .sig-tbl thead th { position: sticky; top: 0; z-index: 3; background: #fff;
  box-shadow: inset 0 -1px 0 #f0f1f3; }
.sig-result { max-height: 132px; overflow-y: auto; }
.sig-scroll, .sig-pick, .sig-detail, .sig-result {
  scrollbar-width: thin; scrollbar-color: #cfd4dc transparent; }
.sig-scroll::-webkit-scrollbar, .sig-pick::-webkit-scrollbar,
.sig-detail::-webkit-scrollbar, .sig-result::-webkit-scrollbar { width: 8px; height: 8px; }
.sig-scroll::-webkit-scrollbar-track, .sig-pick::-webkit-scrollbar-track,
.sig-detail::-webkit-scrollbar-track, .sig-result::-webkit-scrollbar-track { background: transparent; }
.sig-scroll::-webkit-scrollbar-thumb, .sig-pick::-webkit-scrollbar-thumb,
.sig-detail::-webkit-scrollbar-thumb, .sig-result::-webkit-scrollbar-thumb {
  background: #cfd4dc; border-radius: 4px; }
.sig-scroll::-webkit-scrollbar-thumb:hover, .sig-pick::-webkit-scrollbar-thumb:hover,
.sig-detail::-webkit-scrollbar-thumb:hover, .sig-result::-webkit-scrollbar-thumb:hover {
  background: #b6bcc6; }

.sig-pick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.sig-btn-danger, .sig-btn-danger:hover { border-color: #dc2626; color: #dc2626;
  background: rgba(220, 38, 38, .06); }

.sig-del { height: 24px; padding: 0 8px; border: 1px solid #e5e7eb; border-radius: 6px;
  background: #fff; color: #6b7280; font-size: 12px; cursor: pointer; }
.sig-del:hover:not(:disabled) { border-color: #dc2626; color: #dc2626; background: rgba(220,38,38,.05); }
.sig-del:disabled { opacity: .35; cursor: not-allowed; }
.sig-del-armed { border-color: #dc2626; color: #fff; background: #dc2626; }

.sig-add { min-width: 150px; height: 28px; font-size: 13px; }
.sig-pick-x { border: 0; background: transparent; color: #9ca3af; cursor: pointer;
  font-size: 14px; line-height: 1; padding: 0 2px; }
.sig-pick-x:hover { color: #dc2626; }

/* 盘中实时面板：新增命中标记 */
.sig-new { margin-left: 2px; padding: 0 3px; border-radius: 3px; background: rgba(239,68,68,.16); color: #ef4444; font-size: 10px; font-weight: 600; }
/* ===== 稳智AI：模式参数 / 结论卡 / 生成报告 ===== */
.ai-param { height: 28px; width: 92px; padding: 0 8px; font-size: 12px;
  border: 1px solid var(--border, #e5e7eb); border-radius: 8px; background: #fff; color: inherit; outline: none; }
.ai-param:focus { border-color: #2563eb; }
.ai-param-num { width: 64px; text-align: center; }
.ai-param-tip { font-size: 11px; color: #9ca3af; margin-left: 2px; }

.ai-msg-tools { display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; flex-wrap: wrap; }
.ai-tool-btn { border: 1px solid #e5e7eb; background: #fff; color: #374151; font-size: 12px;
  padding: 5px 12px; border-radius: 8px; cursor: pointer; transition: .15s; }
.ai-tool-btn:hover { border-color: #2563eb; color: #2563eb; }
.ai-tool-btn:disabled { opacity: .55; cursor: default; }
.ai-tool-link { font-size: 12px; color: #2563eb; text-decoration: none; }
.ai-tool-link:hover { text-decoration: underline; }
.ai-tool-tip { font-size: 11px; color: #9ca3af; }

.ai-concl { border: 1px solid #dbeafe; background: #f8fbff; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.ai-concl-head { font-size: 12px; font-weight: 600; color: #2563eb; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px; }
.ai-concl-badge { font-size: 10px; font-weight: 500; color: #1d4ed8; background: #e0ecff;
  border-radius: 999px; padding: 1px 8px; }
.ai-concl-row { display: grid; grid-template-columns: 74px 1fr; gap: 8px; font-size: 13px; margin: 4px 0; }
.ai-concl-k { color: #6b7280; }
.ai-concl-v { color: #1f2937; line-height: 1.6; }
.ai-warn { border: 1px solid #fde68a; background: #fffbeb; color: #92400e;
  border-radius: 10px; padding: 8px 12px; font-size: 12px; margin: 0 0 10px; }
/* ===== 稳智AI：历史报告 ===== */
.ai-reports-bar { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.ai-report-link { border: 1px solid #e5e7eb; background: #fff; color: #4b5563; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: .15s; }
.ai-report-link:hover { border-color: #2563eb; color: #2563eb; }
.ai-report-empty { color: #9ca3af; font-size: 13px; padding: 18px 4px; text-align: center; }
.ai-report-list { max-height: 62vh; overflow-y: auto; }
.ai-report-item { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #f1f3f5; }
.ai-report-item:last-child { border-bottom: 0; }
.ai-report-main { min-width: 0; flex: 1; }
.ai-report-name { font-size: 13.5px; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-report-meta { font-size: 11.5px; color: #9ca3af; margin-top: 2px; }
.ai-report-open { font-size: 12.5px; color: #2563eb; text-decoration: none; white-space: nowrap; }
.ai-report-open:hover { text-decoration: underline; }
/* ===== 稳智AI：模式下拉两行说明 ===== */
.dm-menu .el-dropdown-menu__item { padding: 7px 14px; line-height: 1.3; height: auto; }
.dm-menu .dm-hint-item { opacity: 1; cursor: default; font-size: 11px; color: #9ca3af;
  border-bottom: 1px solid #f1f3f5; padding-bottom: 6px; margin-bottom: 2px; }
.dm-menu .dm-hint-item:hover { background: transparent; color: #9ca3af; }
.dm-item { display: flex; align-items: flex-start; gap: 8px; max-width: 268px; }
.dm-item .dm-icon { width: 16px; text-align: center; flex: 0 0 16px; line-height: 1.5; }
.dm-text { min-width: 0; }
.dm-title { font-size: 13px; color: inherit; display: flex; align-items: center; gap: 6px; }
.dm-desc { font-size: 11px; color: #9ca3af; line-height: 1.45; margin-top: 1px; white-space: normal; }
.dm-menu .el-dropdown-menu__item:hover .dm-desc { color: #93a6c4; }
/* 历史报告：删除按钮 */
.ai-report-del { border: 1px solid #e5e7eb; background: #fff; color: #9ca3af; font-size: 11.5px;
  padding: 4px 10px; border-radius: 6px; cursor: pointer; margin-left: 6px; transition: .15s; }
.ai-report-del:hover { border-color: #dc2626; color: #dc2626; }
.ai-report-del.armed { border-color: #dc2626; background: #dc2626; color: #fff; }
/* 历史报告：自动保存开关 */
.ai-auto-report { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; cursor: pointer; margin-right: 10px; }
.ai-auto-report input { width: 14px; height: 14px; accent-color: #2563eb; }

/* 2026-10-27 输入区高度护栏：防止生成报告等状态下被撑高 */
.input-card { max-height: 168px; }
.input-card-body.inline { min-height: 74px; max-height: 132px; overflow: hidden; }
.ask-textarea { min-height: 26px; max-height: 104px; overflow-y: auto; }

/* 连板天梯 · 历史交易日（2026-10-28 新增） */
.ldv2-hist-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #854F0B;
  background: #FAEEDA;
  border: 1px solid #FAC775;
}
.ldv2-hist-note {
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #854F0B;
  background: #FAEEDA;
  border: 1px solid #FAC775;
}

/* ══ 信号库：自定义信号编辑器 ══ */
.sig-editor { display: flex; flex-direction: column; gap: 10px; }
.sig-editor-row { display: flex; align-items: center; gap: 8px; }
.sig-editor-label { width: 70px; flex-shrink: 0; color: #374151; font-size: 13px; }
.sig-editor-sub { color: #6b7280; font-size: 12px; font-weight: 600; margin-top: 4px; }
.sig-editor-when { width: 24px; flex-shrink: 0; color: #9ca3af; font-size: 13px; text-align: center; }
.sig-btn-primary { background: #1677ff; border-color: #1677ff; color: #fff; }
.sig-btn-primary:hover { background: #4096ff; border-color: #4096ff; color: #fff; }
.sig-btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.sig-def-ops { display: flex; align-items: center; gap: 8px; }




/* 左侧导航对齐 */
.nav-group {
  padding: 12px 12px 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  line-height: 1.2;
}
.nav-item.nav-sub {
  height: 36px;
  padding-left: 26px;
}
.nav-item.nav-sub .nav-label { font-size: 14px; color: #4b5563; }
.nav-item.nav-sub.active .nav-label { color: #1677ff; }
.sidebar.collapsed .nav-group {
  padding: 12px 0 6px;
  text-align: center;
  font-size: 12px;
}
.sidebar.collapsed .nav-item.nav-sub {
  padding-left: 12px;
  justify-content: center;
}

/* 连板复盘：横排子页签 */
.lianban-review { padding: 18px 20px 28px; }
.lb-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }
.lb-tabs { display: flex; gap: 2px; border-bottom: 1px solid #e5e7eb; flex: 1 1 auto; }
.lb-tabs button {
  border: 0; background: transparent; padding: 10px 15px; font-size: 14px;
  color: #4b5563; cursor: pointer; border-bottom: 2px solid transparent;
  font-family: inherit; white-space: nowrap;
}
.lb-tabs button:hover { color: #1677ff; }
.lb-tabs button.on { color: #1677ff; border-bottom-color: #1677ff; font-weight: 600; }
.lb-body .page-header,
.lb-body .el-tabs__header,
.lb-body h1.page-title { display: none !important; }
.lb-body .el-tabs__content { padding-top: 0 !important; }
.lb-body .gl-top > div:first-child { display: none !important; }
.lb-body .gl-top { justify-content: flex-end; }


/* 连板复盘标题与页签上下排列 */
.lb-top { display: block; }
.lb-top > div:first-child { margin-bottom: 8px; }
.lb-tabs { margin-top: 8px; }


/* 连板复盘标题颜色 */
.lianban-review .kt-title { color: #1f2329 !important; font-weight: 700; }
.lianban-review .kt-kicker { color: #1677ff !important; }


/* 涨幅梯队 */
.gt-page { display: flex; flex-direction: column; gap: 10px; }
.gt-toolbar { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; }
.gt-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gt-icon { width: 30px; height: 32px; border: 1px solid #e5e7eb; background: #fff; border-radius: 6px; color: #4b5563; cursor: pointer; font-size: 18px; line-height: 1; }
.gt-icon:hover { border-color: #a8ccff; color: #1677ff; }
.gt-date { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; }
.gt-date input { height: 32px; border: 1px solid #e5e7eb; border-radius: 6px; padding: 0 8px; color: #1f2329; font-size: 12px; }
.gt-seg { display: flex; gap: 2px; padding: 3px; border: 1px solid #e5e7eb; border-radius: 7px; background: #f8fafc; }
.gt-seg button { border: 0; background: transparent; padding: 6px 10px; font-size: 12px; border-radius: 5px; color: #4b5563; cursor: pointer; white-space: nowrap; }
.gt-seg button.on { background: #fff; color: #1677ff; font-weight: 600; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
.gt-row select, .gt-search { height: 32px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; color: #1f2329; font-size: 12px; padding: 0 8px; }
.gt-search { width: 180px; }
.gt-btn { height: 32px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; color: #1f2329; font-size: 12px; padding: 0 10px; cursor: pointer; }
.gt-btn:hover { border-color: #a8ccff; color: #1677ff; }
.gt-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #f1f2f4; font-size: 12px; color: #4b5563; }
.gt-options label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.gt-range { margin-left: auto; color: #8a8f98; font-size: 11px; }
.gt-loading { padding: 28px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #6b7280; font-size: 13px; }
.gt-matrix-scroll { max-height: calc(100vh - 290px); overflow: auto; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.gt-matrix { border-collapse: separate; border-spacing: 0; min-width: max-content; width: 100%; }
.gt-matrix th, .gt-matrix td { border-right: 1px solid #f1f2f4; border-bottom: 1px solid #f1f2f4; vertical-align: top; }
.gt-matrix thead th { position: sticky; top: 0; z-index: 3; background: #fafbfc; padding: 8px 10px; text-align: left; min-width: 190px; }
.gt-matrix .gt-band-col { position: sticky; left: 0; z-index: 2; width: 110px; min-width: 110px; background: #fafbfc; padding: 10px; font-size: 13px; }
.gt-matrix thead .gt-band-col { z-index: 4; }
.gt-date-col { min-width: 210px; max-width: 250px; padding: 8px; }
.gt-date-head { font-size: 12.5px; font-weight: 600; color: #1f2329; white-space: nowrap; }
.gt-date-col small { display: block; font-size: 10px; color: #8a8f98; margin-top: 2px; }
.gt-cards { display: flex; flex-direction: column; gap: 5px; }
.gt-card { display: block; width: 100%; box-sizing: border-box; text-align: left; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px 7px; background: #fff; cursor: pointer; font-family: inherit; }
.gt-card:hover { border-color: #a8ccff; }
.gt-card.gt-up { background: #fef2f2; border-color: #fecaca; }
.gt-card.gt-down { background: #f0fdf4; border-color: #bbf7d0; }
.gt-card.tracked { box-shadow: 0 0 0 1px #1677ff inset; }
.gt-card-main { display: flex; align-items: baseline; gap: 5px; }
.gt-ex { flex: 0 0 auto; font-size: 9px; color: #6b7280; border: 1px solid #e5e7eb; border-radius: 3px; padding: 0 2px; }
.gt-card-main strong { flex: 1; min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-card-main b { flex: 0 0 auto; font-size: 12px; font-variant-numeric: tabular-nums; }
.gt-card.gt-up .gt-card-main b { color: #dc2626; }
.gt-card.gt-down .gt-card-main b { color: #15803d; }
.gt-concept { display: block; margin-top: 2px; font-size: 9.5px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt-meta { display: flex; gap: 8px; margin-top: 2px; font-size: 9.5px; color: #6b7280; }
.gt-meta b.gt-up { color: #dc2626; }
.gt-meta b.gt-down { color: #15803d; }
.gt-single { display: flex; flex-direction: column; gap: 12px; }
.gt-tier-section { border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; overflow: hidden; }
.gt-tier-head { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid #f1f2f4; }
.gt-tier-head strong { font-size: 14px; color: #1f2329; }
.gt-tier-head span { font-size: 11px; color: #8a8f98; }
.gt-tier-band { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f5f6f7; }
.gt-tier-band:last-child { border-bottom: 0; }
.gt-tier-label { font-size: 12px; color: #4b5563; font-weight: 600; padding-top: 4px; }
.gt-tier-label b { font-size: 10px; color: #8a8f98; margin-left: 4px; }
.gt-tier-band .gt-cards { flex-direction: row; flex-wrap: wrap; }
.gt-tier-band .gt-card { width: 200px; }
.gt-foot { margin: 0; color: #8a8f98; font-size: 10.5px; line-height: 1.6; }
@media (max-width: 1200px) {
  .gt-search { width: 140px; }
  .gt-matrix-scroll { max-height: calc(100vh - 320px); }
}


/* 涨停原因：题材分组可展开收缩 */
.lr-theme-card { margin-top: 12px; overflow: hidden; }
.lr-theme-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #f1f2f4; cursor: pointer; user-select: none; }
.lr-theme-head:hover { background: #fafbfc; }
.lr-caret { width: 14px; color: #6b7280; font-size: 15px; line-height: 1; text-align: center; }
.lr-theme-head strong { font-size: 14px; color: #1f2329; }
.lr-theme-count { font-size: 12px; color: #6b7280; }
.lr-theme-change { margin-left: auto; font-size: 11px; color: #8a8f98; }
.lr-theme-card .kpl-table-wrap { padding: 0 10px 10px; }
.lr-tags { font-size: 12px; line-height: 1.65; white-space: normal; color: #374151; word-break: break-all; }
.lr-reason { font-size: 12px; line-height: 1.6; white-space: normal; color: #4b5563; }
.lr-foot-note { margin: 8px 2px 0; font-size: 10.5px; color: #8a8f98; line-height: 1.6; }


.lr-theme-card .el-table th .cell { white-space: nowrap; overflow: visible; text-overflow: clip; font-size: 12px; }



/* 免费体验到期遮罩 */
.trial-expired-mask {
  position: fixed; inset: 0; z-index: 2600; background: rgba(15,23,42,.38);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.trial-expired-card {
  width: 430px; max-width: 100%; background: #fff; border-radius: 16px;
  padding: 26px 24px; text-align: center; box-shadow: 0 24px 70px rgba(15,23,42,.24);
}
.trial-expired-card h2 { margin: 0 0 10px; color:#0f172a; font-size:22px; }
.trial-expired-card p { margin: 0 0 18px; color:#64748b; font-size:13.5px; line-height:1.7; }

/* 2026-11-09 备案号页脚 */
.site-footer {
  flex: 0 0 auto;
  text-align: center;
  padding: 6px 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #909399;
  border-top: 1px solid #f0f2f5;
  background: #fff;
}
.site-footer a { color: #909399; text-decoration: none; }
.site-footer a:hover { color: #409eff; }

/* 登录卡片底部备案号 */
.login-icp { margin: 16px 0 0; text-align: center; font-size: 12px; line-height: 1.4; }
.login-icp a { color: #a8abb2; text-decoration: none; }
.login-icp a:hover { color: #409eff; }
