/* =====================================================================
   Where are we? · 设计系统
   研究型金融终端：思源宋体标题、发丝线分组、克制的红涨绿跌
   ===================================================================== */
@font-face {
  font-family: "Noto Serif SC";
  src: url("fonts/noto-serif-sc.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F6F4EF;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #141313;
  --ink-2: #37342F;
  --muted: #635D53;
  --faint: #7A7367;
  --navy: #0E1F35;
  --navy-2: #1B3350;
  --gold: #A8875B;
  --gold-2: #C2A878;
  --gold-soft: #EDE4D2;
  --hairline: #E6E1D6;
  --hairline-strong: #D5CFC1;
  /* A股语义：红涨绿跌 */
  --rise: #B8402F;
  --fall: #2E7D5B;
  --up: var(--rise);
  --down: var(--fall);
  --risk: #B8402F;
  --safe: #2E7D5B;
  --live: #2E7D5B;
  --shadow: 0 1px 2px rgba(20,19,19,.04), 0 10px 30px rgba(20,19,19,.05);
  /* 正文无衬线；标题思源宋体 */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- 顶部品牌栏 ---------- */
.brand {
  position: fixed; top: 0; left: 0; right: 0; height: 62px; z-index: 60;
  display: flex; align-items: center; gap: 13px; padding: 0 30px;
  background: rgba(246,244,239,.94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.brand .logo { width: 30px; height: 30px; flex: 0 0 30px; }
.brand .name {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  letter-spacing: .3px; color: var(--ink);
}
.brand .name em { font-style: normal; color: var(--gold); }
.brand .divider { width: 1px; height: 18px; background: var(--hairline-strong); margin: 0 2px; }
.brand .tag { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }

/* ---------- 顶部功能栏 + 下拉菜单 ---------- */
.topnav { display: flex; align-items: center; gap: 2px; margin-left: 20px; }
.tn-item {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer;
  border-radius: 3px; letter-spacing: .02em; transition: color .15s, background .15s;
}
.tn-item:hover { color: var(--ink); background: rgba(168,135,91,.08); }
.tn-item.active { color: var(--navy); font-weight: 600; }
.tn-item.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--gold); }
.tn-item .caret { font-size: 12px; color: var(--faint); }
.tn-item.has-menu:hover .caret { color: var(--gold); }

.menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
  min-width: 190px; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 3px; box-shadow: 0 12px 40px rgba(20,19,19,.12);
  padding: 7px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; }
.menu-label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 6px 11px 4px; }
.menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 11px; font-size: 13.5px; color: var(--ink-2); border-radius: 2px; cursor: pointer;
  transition: background .14s, color .14s; position: relative;
}
.menu-item:hover { background: var(--gold-soft); color: var(--ink); }
.menu-item em { font-style: normal; font-size: 11px; color: var(--faint); }
.menu-item.disabled { color: var(--faint); cursor: not-allowed; }
.menu-item.disabled:hover { background: none; color: var(--faint); }
.menu-item .sub-arr { margin-left: auto; color: var(--faint); font-size: 12px; }
.menu-sep { height: 1px; background: var(--hairline); margin: 5px 4px; }

/* 二级菜单（股票 → A股/美股/日股） */
.menu.sub {
  position: absolute; top: -7px; left: calc(100% + 4px);
  opacity: 0; visibility: hidden; transform: translateX(6px);
}
.has-sub:hover .menu.sub { opacity: 1; visibility: visible; transform: none; }

/* ---------- 主区域 ---------- */
.main { margin: 0 auto; padding: 100px 40px 72px; max-width: 1220px; }

.view { display: none; }
.view.active { display: block; }

/* ---------- 全局研究口径栏 ---------- */
.scope-bar {
  position: sticky; top: 62px; z-index: 55;
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 28px;
  padding: 11px 0 12px; margin: 0 0 30px;
  background: var(--bg);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline-strong);
}
body[data-view="intro"] .scope-bar,
body[data-view="academy"] .scope-bar,
/* 当前观察不再需要基准指数切换：状态打分与国家队都固定口径 */
body[data-view="current"] .scope-bar { display: none; }
/* A 股复盘 / 单轮叙事：指数已下放到主图工具栏，顶部只保留牛熊周期 */
body[data-view="history"] .scope-group-index,
body[data-view="cycle"] .scope-group-index { display: none; }
.scope-group { display: flex; align-items: center; gap: 10px; min-width: 0; }
/* 牛熊周期只服务复盘页，切到其他视图时连同标签一起隐藏 */
.scope-cycles { margin-left: auto; }
body:not([data-view="history"]):not([data-view="cycle"]) .scope-cycles { display: none; }
/* 复盘页顶部只剩牛熊周期，左对齐成一条完整的时间轴 */
body[data-view="history"] .scope-cycles,
body[data-view="cycle"] .scope-cycles { margin-left: 0; }
/* 一行放不下两组时，周期页签独占下一行并左对齐 */
@media (max-width: 1219px) {
  .scope-cycles { flex: 1 1 100%; margin-left: 0; }
}
.scope-label {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); white-space: nowrap;
}
.scope-chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
/* 控件原型：有底座的才是可点击项，纯文字是标注 */
.scope-chips button {
  border: 1px solid var(--hairline); background: rgba(255, 255, 255, .55);
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  color: var(--ink-2); padding: 2px 10px; cursor: pointer;
  border-radius: 3px; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.scope-chips button:hover { background: #fff; border-color: var(--gold-2); color: var(--navy); box-shadow: 0 1px 2px rgba(20, 19, 19, .05); }
.scope-chips button.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(14, 31, 53, .18); }
.scope-chips button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }
/* 数据截止：随主图区间控件落在工具栏末端，纯标注不做点击底座 */
.toolbar-asof {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--faint); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.toolbar-asof b { color: var(--ink-2); font-weight: 600; }
.toolbar-asof .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(46,125,91,.12); }

/* ---------- 标题系统 ---------- */
.overline {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: 12px;
}
.page-title {
  font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.22;
  letter-spacing: .01em; color: var(--ink);
}
.section-title {
  font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.3;
  letter-spacing: .01em; color: var(--ink);
}

/* 页头：所有数据页统一模板 */
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline-strong); margin-bottom: 24px;
}
.page-head .overline { margin-bottom: 9px; }
.page-head .page-title { margin: 0; }
.page-meta {
  display: flex; align-items: center; gap: 9px; padding-bottom: 4px;
  font-size: 11.5px; color: var(--faint); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.page-meta b { color: var(--ink-2); font-weight: 600; }
.page-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(46,125,91,.12); }
.page-meta .lag { padding-left: 9px; border-left: 1px solid var(--hairline-strong); color: var(--faint); }

/* 区块头：页内分组 */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-bottom: 2px; border-bottom: 0;
  margin: 46px 0 18px;
}
.sec-head .overline { margin-bottom: 8px; }
.sec-head .section-title { margin: 0; }
.sec-meta { font-size: 11.5px; color: var(--faint); white-space: nowrap; padding-bottom: 3px; }

/* ---------- 首页 Hero ---------- */
.hero {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 38px; align-items: center;
  padding: 26px 0 46px; margin-bottom: 8px;
  border-bottom: 1px solid var(--hairline-strong);
}
.hero-copy .overline { margin-bottom: 18px; font-size: 13px; letter-spacing: .22em; }
.hero-copy h1 {
  font-family: var(--serif); font-size: 58px; line-height: 1.06; font-weight: 600;
  letter-spacing: -.01em; color: var(--ink); margin-bottom: 20px;
}
.hero-copy h1 em { font-style: normal; color: var(--navy); }
.hero-copy .cn-title {
  font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--navy);
  letter-spacing: .02em; margin-bottom: 14px;
}
.hero-copy .sub { font-size: 16px; color: var(--ink-2); max-width: 520px; line-height: 1.85; margin-bottom: 32px; }
.hero-copy .sub b { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 2px; cursor: pointer;
  font-size: 12px; letter-spacing: .14em; font-weight: 600; text-transform: uppercase;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.btn.solid { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.btn.solid:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--hairline-strong); }
.btn.ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arr { font-size: 14px; line-height: 1; }

/* Hero 右侧迷你图：唯一保留画框的研究图 */
.hero-figure {
  background: transparent; border: 1px solid var(--hairline-strong); border-radius: 0;
  box-shadow: none; padding: 16px 18px 14px;
}
.hero-fig-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.hero-fig-head .t { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); }
.hero-fig-head .r { font-size: 11.5px; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }
#hero-chart { width: 100%; height: 320px; }
.hero-chips { margin: 4px 0 6px; }
.hero-fig-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.hero-fig-foot .v { font-size: 24px; font-weight: 700; font-family: var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-fig-foot .chg { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-fig-foot .chg.up { color: var(--up); } .hero-fig-foot .chg.down { color: var(--down); }
.hero-fig-foot .note { margin-left: auto; font-size: 11.5px; color: var(--faint); }

/* ---------- 编辑式分组：发丝线替代卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px; }
.cards.framework { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards.framework .card h3 { white-space: nowrap; }
.cards.framework .card p { font-size: 14px; }
.card { border-top: 1px solid var(--hairline-strong); padding: 20px 0 0; background: transparent; box-shadow: none; }
.card .idx { font-family: var(--sans); font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: .01em; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.card .num { font-size: 30px; font-weight: 700; color: var(--gold); font-family: var(--sans); }

/* ---------- 图表分组（无卡片盒，仅发丝线） ---------- */
.chart-card {
  background: transparent; border: 0; border-top: 1px solid var(--hairline-strong);
  border-radius: 0; box-shadow: none; padding: 18px 0 26px; margin: 0;
}
.page-head + .chart-card { border-top: 0; padding-top: 2px; }
.chart-card h2 {
  font-family: var(--serif); font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: .01em;
}
.chart-card .card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.chart-card .card-head h2 { margin-bottom: 0; }
.chart-card .asof {
  flex: 0 0 auto; font-size: 11.5px; color: var(--faint); letter-spacing: .02em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.chart-card h2 .unit { font-family: var(--sans); font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.chart { width: 100%; height: 460px; }
#chart-history { height: 500px; }
.chart.mid { height: 320px; }
.chart.small { height: 220px; }

/* ---------- 周期功能栏：口径栏内的紧凑页签 ---------- */
.cycle-tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.cycle-tab {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; border: 1px solid var(--hairline); border-radius: 3px;
  background: rgba(255, 255, 255, .55); padding: 4px 10px; min-height: 27px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.3;
  color: var(--ink-2); white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.cycle-tab:hover { background: #fff; border-color: var(--gold-2); color: var(--navy); box-shadow: 0 1px 2px rgba(20, 19, 19, .05); }
.cycle-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(14, 31, 53, .18); }
.cycle-tab:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.cycle-tab .ct-ic { display: inline-flex; color: var(--gold); flex: 0 0 14px; }
.cycle-tab.active .ct-ic { color: var(--gold-2); }
.cycle-tab em { font-style: normal; font-size: 10.5px; font-weight: 400; color: var(--faint); margin-left: 4px; }
.cycle-tab.active em { color: rgba(255, 255, 255, .62); }
.cycle-tab .ct-short { display: none; }

/* ---------- 资产类别：发丝线分栏 ---------- */
.asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 32px; }
.asset-card {
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 16px 0; background: transparent; border: 0;
  border-top: 1px solid var(--hairline-strong); border-radius: 0;
  cursor: pointer; transition: border-color .16s, color .16s;
}
.asset-card svg { width: 20px; height: 20px; stroke: var(--gold); flex: 0 0 20px; }
.asset-card .a-name { font-family: var(--serif); font-size: 17.5px; font-weight: 600; color: var(--ink); }
.asset-card .a-sub { font-size: 11.5px; color: var(--faint); margin-left: auto; white-space: nowrap; }
.asset-card:hover { border-top-color: var(--gold); }
.asset-card.active { border-top-color: var(--navy); }
.asset-card.active .a-sub { color: var(--gold); }
.asset-card.disabled { opacity: .5; cursor: not-allowed; }
.asset-card.disabled:hover { border-top-color: var(--hairline-strong); }

/* ---------- 时间轴内嵌阶段综述 ---------- */
.tl-stage {
  margin: 7px 0 3px; padding: 0 0 0 11px;
  border-left: 2px solid var(--hairline-strong);
}
.tl-stage.bottom { border-left-color: var(--gold-2); }
.tl-stage.bull, .tl-stage.peak { border-left-color: var(--up); }
.tl-stage.bear { border-left-color: var(--down); }
.tl-stage summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 3px 8px; padding: 4px 0;
}
.tl-stage summary::-webkit-details-marker { display: none; }
.st-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: 0 0 6px; align-self: center; }
.tl-stage.bull .st-dot, .tl-stage.peak .st-dot { background: var(--up); }
.tl-stage.bear .st-dot { background: var(--down); }
.st-title { font-family: var(--serif); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.st-date { font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-preview {
  flex: 1 1 180px; min-width: 0; font-size: 11.5px; color: var(--faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-toggle { margin-left: auto; font-size: 10.5px; color: var(--gold); white-space: nowrap; }
.st-toggle .st-close { display: none; }
.tl-stage[open] .st-toggle .st-open { display: none; }
.tl-stage[open] .st-toggle .st-close { display: inline; }
.st-body { padding: 2px 0 9px; border-top: 1px dashed var(--hairline); margin-top: 2px; }
.st-body p { font-size: 12.5px; line-height: 1.8; color: var(--ink-2); margin: 7px 0; }
.st-body b { color: var(--ink); }
.st-body ul { margin: 5px 0 7px 18px; }
.st-body li { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin: 2px 0; }
.st-body h4 {
  font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .05em;
  margin: 11px 0 4px; padding-bottom: 3px; border-bottom: 1px solid var(--hairline);
}

/* ---------- Cycle Snapshot：选中周期后的阶段统计 ---------- */
.cycle-snapshot { border-top: 1px solid var(--hairline-strong); padding: 17px 0 22px; }
.cs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cs-kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.cs-title {
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink);
  letter-spacing: .01em; margin-top: 4px;
}
.cs-title span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: .02em; margin-left: 6px; }
.cs-badge {
  flex: 0 0 auto; font-size: 12px; color: var(--navy); border: 1px solid var(--hairline-strong);
  padding: 3px 8px; border-radius: 2px; white-space: nowrap;
}
.cs-phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 14px; }
.cs-phase { border-top: 1px solid var(--hairline); padding-top: 9px; min-width: 0; }
.cs-phase-h { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.cs-phase-h b { font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cs-phase-h span:last-child {
  margin-left: auto; font-size: 12px; color: var(--faint);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); align-self: center; flex: 0 0 7px; }
.cs-phase.bear .cs-dot { background: var(--down); }
.cs-phase-empty {
  margin-top: 4px; padding: 21px 0 18px; font-size: 11.5px; color: var(--faint);
  border-bottom: 1px solid var(--hairline);
}
.cs-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 4px; }
.cs-metric { padding: 7px 0 8px; border-bottom: 1px solid var(--hairline); min-width: 0; }
.cs-metric span { display: block; font-size: 12px; color: var(--faint); letter-spacing: .03em; }
.cs-metric b {
  display: block; font-size: 24px; font-weight: 700; color: var(--ink);
  line-height: 1.35; font-variant-numeric: tabular-nums;
}
.cs-metric b.up { color: var(--up); } .cs-metric b.down { color: var(--down); }
.cs-metric em {
  display: block; font-style: normal; font-size: 12px; color: var(--faint);
  line-height: 1.55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cs-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 22px; margin-top: 20px; }
.cs-lists.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; margin-top: 8px; }
.cs-list { border-top: 1px solid var(--hairline-strong); padding-top: 9px; min-width: 0; }
.cs-list-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cs-list-h h3 { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.cs-list-h span { font-size: 12px; color: var(--faint); white-space: nowrap; }
.cs-table { margin-top: 3px; }
.cs-row {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: baseline; gap: 7px; padding: 5px 0;
  border-bottom: 1px solid var(--hairline); font-size: 13px;
}
.cs-row.ind { grid-template-columns: 18px minmax(0, 1fr) 44px auto; }
.cs-row.head { padding: 4px 0; font-size: 11px; color: var(--faint); letter-spacing: .04em; }
.cs-row.head span { color: var(--faint); }
.cs-row.head span:last-child { text-align: right; }
.cs-rank { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.cs-name { min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-name em { font-style: normal; font-size: 11px; color: var(--faint); margin-left: 5px; }
.cs-ind { font-size: 11px; color: var(--faint); margin-left: 5px; }
.cs-del {
  font-style: normal; font-size: 9px; color: var(--down);
  border: 1px solid rgba(46,125,91,.35); border-radius: 2px;
  padding: 0 2px; margin-left: 4px; vertical-align: 1px;
}
.cs-n { font-size: 11px; color: var(--faint); text-align: right; white-space: nowrap; }
.cs-ret { font-size: 14px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cs-ret.up { color: var(--up); } .cs-ret.down { color: var(--down); }
.cs-empty { padding: 9px 0; font-size: 13px; color: var(--faint); }
.cs-note {
  margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--hairline);
  font-size: 12px; color: var(--faint); line-height: 1.7;
}

/* ---------- K 线悬浮框：东方财富式 ---------- */
.k-tip { min-width: 152px; font-size: 11.5px; }
.k-tip-d {
  font-weight: 700; color: var(--ink); letter-spacing: .02em;
  padding-bottom: 5px; margin-bottom: 3px; border-bottom: 1px solid var(--hairline);
}
.kt-r { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; line-height: 1.72; }
.kt-r span { color: var(--muted); }
.kt-r b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.kt-r b.kt-up { color: var(--up); }
.kt-r b.kt-down { color: var(--down); }
.kt-r b.kt-flat { color: var(--faint); font-weight: 500; }

/* ---------- 阶段拆分表 ---------- */
.phase-wrap { margin: 10px 0 14px; }
.phase-title { font-size: 11.5px; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin-bottom: 8px; }
.phase-tbl {
  width: 100%; border-collapse: collapse; font-size: 13px;
  background: transparent; border: 0; border-radius: 0; overflow: hidden;
}
.phase-tbl th, .phase-tbl td {
  padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums;
}
.phase-tbl th {
  background: transparent; color: var(--faint); font-weight: 600; font-size: 11px;
  letter-spacing: .06em; border-bottom: 1px solid var(--hairline-strong);
}
.phase-tbl td { color: var(--ink-2); }
.phase-tbl th.num, .phase-tbl td.num { text-align: right; }
.phase-tbl td.up { color: var(--up); font-weight: 600; }
.phase-tbl td.down { color: var(--down); font-weight: 600; }
.phase-tbl tr:last-child td { border-bottom: none; }
.phase-tbl tr[data-si] { cursor: pointer; }
.phase-tbl tr[data-si]:hover, .phase-tbl tr.hl { background: var(--gold-soft); }

/* ---------- 宏观相关性汇总 ---------- */
.corr-concl {
  padding: 2px 0 10px 16px; margin-bottom: 16px;
  background: transparent; border: 0; border-left: 2px solid var(--gold); border-radius: 0;
}
.corr-concl .cc-item { font-size: 13.5px; color: var(--ink-2); padding: 3px 0; }
.corr-tbl-wrap {
  max-height: 420px; overflow: auto;
  border: 0; border-top: 1px solid var(--hairline-strong); border-bottom: 1px solid var(--hairline);
  border-radius: 0;
}
.corr-tbl-wrap .phase-tbl th { position: sticky; top: 0; z-index: 1; background: var(--bg); }
.corr-tbl-wrap td.up { color: var(--up); font-weight: 600; }
.corr-tbl-wrap td.down { color: var(--down); font-weight: 600; }

/* ---------- 事件清单（可点击定位） ---------- */
.ev-list { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.ev-item {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  background: transparent; border: 0; border-bottom: 1px solid transparent;
  border-radius: 0; padding: 3px 0; cursor: pointer; transition: border-color .15s, color .15s;
}
.ev-item:hover { border-bottom-color: var(--gold); background: transparent; }
.ev-item .ev-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.ev-item .ev-dot.bottom { background: var(--up); } .ev-item .ev-dot.top { background: var(--down); } .ev-item .ev-dot.policy { background: var(--gold); } .ev-item .ev-dot.risk { background: #8E6F3E; } .ev-item .ev-dot.up { background: var(--up); } .ev-item .ev-dot.now { background: var(--navy); }
.ev-item .ev-date { color: var(--faint); font-variant-numeric: tabular-nums; }
.ev-item .ev-label { color: var(--ink); }

/* ---------- 牛熊复盘：两月事件时间轴 + 滚动对照 ---------- */
.cycle-sub { font-size: 11.5px; color: var(--faint); margin: -2px 0 14px; letter-spacing: .02em; }
.cycle-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 0 40px; align-items: start; }
.cycle-main { min-width: 0; }
.cycle-aside { position: sticky; top: 124px; align-self: start; min-width: 0; }
/* 口径栏在 1220 以下换成两行，右侧对照图同步下移 */
@media (max-width: 1219px) {
  .cycle-aside { top: 154px; }
}

.tl-group {
  border-top: 1px solid var(--hairline);
  border-left: 2px solid transparent;
  padding: 13px 0 14px 15px; margin-left: -17px;
  transition: border-color .18s, background .18s;
}
.tl-group:first-child { border-top-color: var(--hairline-strong); }
.tl-group.active {
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(168,135,91,.075), rgba(168,135,91,0) 62%);
}
.tl-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.tl-period {
  font-family: var(--serif); font-size: 16px; font-weight: 600;
  color: var(--ink); letter-spacing: .02em; white-space: nowrap;
}
.tl-group.active .tl-period { color: var(--navy); }
.tl-range { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-chg { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl-chg.up { color: var(--up); } .tl-chg.down { color: var(--down); } .tl-chg.flat { color: var(--faint); font-weight: 500; }
.tl-count { margin-left: auto; font-size: 12px; color: var(--faint); letter-spacing: .03em; white-space: nowrap; }
.tl-count.zero { opacity: .72; }
.tl-events .ev-item.sel {
  background: linear-gradient(90deg, rgba(168,135,91,.13), rgba(168,135,91,0) 72%);
}
.tl-events .ev-item.sel .ev-date { color: var(--gold); }
.tl-events { display: flex; flex-direction: column; align-items: stretch; gap: 1px; margin-top: 6px; }
.tl-events .ev-item { display: flex; width: 100%; gap: 8px; padding: 3px 0; }
.tl-events .ev-date { flex: 0 0 50px; font-size: 13px; white-space: nowrap; }
.tl-events .ev-label { min-width: 0; }
.tl-empty { margin-top: 6px; font-size: 13px; color: var(--faint); opacity: .8; }
.tl-spark { display: none; margin: 7px 0 1px; }
.tl-spark svg { display: block; width: 100%; height: 52px; overflow: visible; }

.lens-card { background: var(--bg); border-top: 1px solid var(--hairline-strong); padding: 13px 0 0; }
.lens-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lens-kicker { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.lens-mode {
  display: inline-flex; flex: 0 0 auto; gap: 1px;
  background: #EEE9DF; border: 1px solid #DCD5C7; border-radius: 3px; padding: 1px;
  box-shadow: inset 0 1px 1px rgba(20, 19, 19, .05);
}
.lens-mode button {
  border: 1px solid transparent; background: transparent; font: inherit; font-size: 10.5px; color: var(--ink-2);
  cursor: pointer; padding: 1px 7px; border-radius: 1px; transition: color .15s, background .15s, border-color .15s;
}
.lens-mode button:hover { background: rgba(255, 255, 255, .92); border-color: #D9D2C4; color: var(--navy); }
.lens-mode button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lens-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 2px; }
.lens-period { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.lens-idx { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.lens-stats {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin: 2px 0 3px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.lens-stats b { font-weight: 600; color: var(--ink); }
.lens-stats .up { color: var(--up); font-weight: 700; }
.lens-stats .down { color: var(--down); font-weight: 700; }
.lens-stats .ev { color: var(--faint); font-size: 11px; }
.lens-plot { position: relative; }
.lens-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 18px; text-align: center; font-size: 12px; color: var(--faint);
  pointer-events: none;
}
.lens-empty span { background: rgba(250,249,246,.9); padding: 3px 8px; }
.lens-empty[hidden] { display: none; }
.lens-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--hairline); padding-top: 8px; margin-top: 2px;
}
.lens-note { font-size: 11px; color: var(--faint); }
.lens-hint { font-size: 10.5px; color: var(--faint); line-height: 1.6; margin-top: 8px; }

/* ---------- 图表工具栏 ---------- */
.chart-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0 10px; }
/* 分段控件：凹槽轨道 + 凸起按键，明确“这是一组开关” */
.chart-toolbar .seg {
  display: inline-flex; align-items: center; gap: 2px;
  background: #EEE9DF; border: 1px solid #DCD5C7; border-radius: 4px; padding: 2px;
  box-shadow: inset 0 1px 2px rgba(20, 19, 19, .05);
}
.chart-toolbar .seg button {
  border: 1px solid transparent; background: transparent; cursor: pointer;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  padding: 3px 10px; border-radius: 2px; font-family: var(--sans);
  white-space: nowrap;
  transition: color .14s, background .14s, border-color .14s, box-shadow .14s;
}
.chart-toolbar .seg button:hover {
  background: rgba(255, 255, 255, .92); border-color: #D9D2C4; color: var(--navy);
  box-shadow: 0 1px 1px rgba(20, 19, 19, .05);
}
.chart-toolbar .seg button.active {
  background: var(--navy); border-color: var(--navy); color: #fff;
  box-shadow: 0 1px 2px rgba(14, 31, 53, .22);
}
.chart-toolbar .seg button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }

/* 主图工具栏：最左指数口径 + 图形/周期/区间/牛熊 四个下拉键 */
.tb-drop { position: relative; display: inline-flex; }
.tb-key {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--hairline-strong); border-radius: 3px;
  background: rgba(255, 255, 255, .72); padding: 4px 9px 4px 10px;
  font-family: var(--sans); font-size: 12.5px; line-height: 1.35;
  color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.tb-key:hover { background: #fff; border-color: var(--gold-2); box-shadow: 0 1px 2px rgba(20, 19, 19, .05); }
.tb-drop.open .tb-key { background: #fff; border-color: var(--navy); box-shadow: 0 0 0 1px rgba(14, 31, 53, .07); }
.tb-k { font-size: 10px; letter-spacing: .1em; color: var(--faint); }
.tb-v { font-weight: 600; color: var(--navy); }
.tb-scope .tb-v { color: var(--accentD); }
.tb-caret { color: var(--faint); transition: transform .16s ease; }
.tb-drop.open .tb-caret { transform: rotate(180deg); }
.tb-div { width: 1px; height: 18px; background: var(--hairline-strong); margin: 0 2px; }
.tb-menu {
  display: none; position: absolute; top: calc(100% + 5px); left: 0; z-index: 80;
  min-width: 168px; padding: 4px;
  background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: 4px;
  box-shadow: 0 12px 32px rgba(20, 19, 19, .14), 0 2px 5px rgba(20, 19, 19, .06);
}
.tb-drop.open .tb-menu { display: block; }
.tb-right .tb-menu { left: auto; right: 0; }
.tb-cycle .tb-menu { min-width: 246px; }
.tb-mi {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border: 0; background: transparent; border-radius: 2px;
  padding: 6px 8px; text-align: left; cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; line-height: 1.35; color: var(--ink-2);
  transition: background .12s, color .12s;
}
.tb-mi:hover { background: var(--surface-2); color: var(--navy); }
.tb-mi.active { background: rgba(14, 31, 53, .055); color: var(--navy); font-weight: 600; }
.tb-mi-ic { display: inline-flex; color: var(--gold); flex: 0 0 14px; }
.tb-mi-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tb-mi-t small { font-size: 10px; font-weight: 400; color: var(--faint); white-space: nowrap; margin-top: 1px; }
.tb-mi-ck { flex: 0 0 12px; text-align: right; font-size: 11px; color: var(--gold); }
.tb-mf { border-top: 1px solid var(--hairline); margin-top: 4px; padding: 5px 4px 2px; }
.tb-mf button {
  border: 0; background: transparent; padding: 4px 4px; cursor: pointer;
  font-family: var(--sans); font-size: 11.5px; color: var(--accentD); white-space: nowrap;
}
.tb-mf button:hover { color: var(--navy); }
.tb-mf button[disabled] { color: var(--faint); cursor: default; opacity: .7; }
.tb-key:focus-visible, .tb-mi:focus-visible, .tb-mf button:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }

/* ---------- 指标统计条 ---------- */
.chart-stats {
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline;
  margin: 0 0 9px; font-size: 13.5px; color: var(--ink-2);
}
.chart-stats .stat { display: inline-flex; align-items: baseline; gap: 6px; }
.chart-stats .stat b { color: var(--faint); font-weight: 500; font-size: 12px; letter-spacing: .05em; }
.chart-stats .stat em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart-stats .stat em.up { color: var(--up); } .chart-stats .stat em.down { color: var(--down); }
.chart-stats .stat:first-child { font-size: 14.5px; }
.chart-stats .stat:first-child b { color: var(--gold); }
.chart-stats .stat.p { color: var(--faint); font-size: 12.5px; }

/* ---------- 指标分组 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)); gap: 28px 44px; }
.ind-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.ind-sub {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline);
}
.ind-sub b { font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.ind-sub span { font-size: 10.5px; color: var(--faint); letter-spacing: .03em; }
.ind-grid + .ind-sub { margin-top: 34px; }

@media (max-width: 960px) {
  .ind-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
}
.macro-section-title {
  grid-column: 1 / -1; font-family: var(--serif); font-size: 19px; font-weight: 600;
  color: var(--ink); margin: 24px 0 0; padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline-strong); letter-spacing: .01em;
}

/* ---------- 空状态 ---------- */
.empty { padding: 80px 0; color: var(--muted); }
.empty h2 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin-bottom: 10px; }

/* ---------- 页脚 ---------- */
.foot { margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--hairline-strong); font-size: 12.5px; color: var(--faint); line-height: 1.7; }
.foot b { color: var(--muted); font-weight: 600; }

/* 中等宽度：对比表与相似阶段改为上下堆叠 */
@media (max-width: 1100px) {
  /* 窄屏不吸顶，改为每段内嵌轻量走势 */
  .cycle-layout { grid-template-columns: 1fr; gap: 0; }
  .cycle-aside { display: none; }
  .tl-spark { display: block; }
  .cs-phases { gap: 0 24px; }
  .cs-lists { gap: 18px 14px; }
  .cs-list-h span { display: none; }
  .cs-ind { display: none; }
  .cs-list-h h3 { font-size: 13px; }
  .cs-metric b { font-size: 18px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .main { margin-left: 0; padding: 120px 16px 60px; }
  .topnav { position: fixed; left: 0; right: 0; top: 62px; background: var(--bg); padding: 6px 16px; border-bottom: 1px solid var(--hairline); overflow-x: auto; }
  .brand { height: 62px; }
  .brand .tag { display: none; }
  .scope-bar { top: 105px; gap: 6px 20px; padding: 8px 0; margin-bottom: 24px; }
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy h1 { font-size: 42px; }
  .page-title { font-size: 28px; }
}

@media (max-width: 720px) {
  .topnav { gap: 0; }
  .tn-item { flex: 0 0 auto; white-space: nowrap; padding: 7px 12px; }
  .scope-bar { flex-wrap: wrap; gap: 1px; padding: 6px 0 7px; margin-bottom: 20px; }
  .scope-group { flex: 1 1 100%; gap: 8px; min-width: 0; }
  .scope-label { flex: 0 0 auto; font-size: 10px; letter-spacing: .1em; }
  .scope-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .scope-chips::-webkit-scrollbar { display: none; }
  .scope-chips button { padding: 3px 6px; font-size: 12px; }
  .scope-cycles { flex-wrap: wrap; }
  .scope-cycles .cycle-tabs { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .scope-cycles .cycle-tabs::-webkit-scrollbar { display: none; }
  .cycle-tab { padding: 3px 7px; font-size: 12px; }
  .cycle-tab .ct-full { display: none; }
  .cycle-tab .ct-short { display: inline; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .page-title { font-size: 25px; }
  .page-meta { padding-bottom: 0; white-space: normal; }
  .sec-head { flex-wrap: wrap; align-items: flex-start; gap: 6px 16px; margin-top: 36px; }
  .section-title { font-size: 20px; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .asset-card { gap: 8px 10px; padding: 13px 0; }
  .asset-card .a-name { font-size: 16.5px; }
  .asset-card .a-sub { width: 100%; margin-left: 0; padding-left: 30px; }
  .cards.framework { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .cards.framework .card h3 { white-space: normal; font-size: 18px; }
  .chart { height: 360px; }
  .chart.small { height: 200px; }
  .chart-card { padding: 14px 0 22px; }
  .tl-group { padding: 12px 0 13px 12px; margin-left: -14px; }
  .tl-period { font-size: 14.5px; }
  .tl-count { margin-left: 0; }
  .tl-range { font-size: 11px; }
  .tl-spark svg { height: 46px; }
  .ind-grid { grid-template-columns: 1fr; gap: 22px; }
  .ind-grid.three { grid-template-columns: 1fr; }
  .ind-grid + .ind-sub { margin-top: 28px; }
  .chart-toolbar .seg { flex: 0 1 auto; flex-wrap: wrap; max-width: 100%; }
  .chart-toolbar { gap: 6px; }
  .tb-key { padding: 4px 7px; font-size: 12px; gap: 4px; }
  .tb-k { font-size: 9.5px; letter-spacing: .06em; }
  .tb-menu { min-width: 160px; }
  .tb-cycle .tb-menu { min-width: min(246px, calc(100vw - 32px)); }
  .toolbar-asof { flex: 1 1 100%; margin-left: 0; margin-top: 2px; }
  .hint-hover { display: none; }
  .phase-tbl th, .phase-tbl td { padding-left: 8px; padding-right: 8px; }
  .foot { margin-top: 40px; }

  /* Cycle Snapshot：窄屏上下堆叠 */
  .cs-head { flex-direction: column; gap: 8px; }
  .cs-title { font-size: 17.5px; }
  .cs-badge { align-self: flex-start; }
  .cs-phases { grid-template-columns: 1fr; gap: 14px; margin-top: 10px; }
  .cs-phase.bear { border-top: 1px solid var(--hairline-strong); padding-top: 12px; }
  .cs-lists { grid-template-columns: 1fr; gap: 20px; margin-top: 16px; }
  .cs-metric { padding: 6px 0 7px; }
  .cs-metric b { font-size: 19px; }
  .cs-row { font-size: 12px; }
  .cs-row.ind { grid-template-columns: 16px minmax(0, 1fr) 36px auto; }
  .cs-ind { display: none; }
  .st-preview { display: none; }
  .st-title { font-size: 13px; }
  .st-toggle { margin-left: 0; }
}

/* =====================================================================
   2026-11 信息架构改版：总览统计 + 单轮叙事页 + 悬浮五轮导航
   ===================================================================== */

/* ---------- 复盘主页：整体 + 每轮统计 ---------- */
.cycle-overview { margin-top: 42px; }
.co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.co-kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.co-title { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin-top: 4px; letter-spacing: .01em; }
.co-title span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--faint); margin-left: 8px; }

.co-sec { margin-top: 22px; }
.co-sec-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 9px; border-bottom: 1px solid var(--hairline-strong);
}
.co-sec-h h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); }
.co-sec-h span { font-size: 12.5px; color: var(--faint); text-align: right; line-height: 1.5; }

.co-ix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.co-ix { width: 100%; min-width: 900px; border-collapse: collapse; }
.co-ix th, .co-ix td { padding: 11px 12px; border-bottom: 1px solid var(--hairline); text-align: right; vertical-align: baseline; }
.co-ix thead th { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.co-ix thead th:first-child { text-align: left; color: var(--faint); font-weight: 500; }
.co-ix thead th small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--faint); }
.co-ix tbody th { text-align: left; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.co-ix td { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-ix td span { font-weight: 600; }
.co-ix td .up { color: var(--up); }
.co-ix td .down { color: var(--down); }
.co-ix td .na { color: var(--faint); font-weight: 400; }
.co-ix td small { font-size: 11px; color: var(--faint); font-weight: 400; margin-left: 2px; }
.co-ix tbody tr:hover { background: rgba(168, 135, 91, .045); }
.co-foot { margin-top: 8px; font-size: 12px; color: var(--faint); line-height: 1.6; }

.co-subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; margin-top: 30px; }
.co-panel { border-top: 1px solid var(--hairline-strong); padding-top: 12px; min-width: 0; }
.co-panel .co-sec-h { border-bottom: 0; padding-bottom: 2px; }
.co-kvs { margin-top: 6px; }
.co-kv { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.co-kv:last-child { border-bottom: 0; }
.co-kv span { font-size: 13.5px; color: var(--muted); }
.co-kv b { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-kv b.up { color: var(--up); }
.co-kv b.down { color: var(--down); }
.co-panel .co-foot { margin-top: 10px; }

/* ---------- 单轮叙事页 ---------- */
.cp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); margin-bottom: 15px; }
.cp-back:hover { color: var(--navy); }
.cp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cp-title { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.25; color: var(--ink); letter-spacing: .01em; }
.cp-title span { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--faint); margin-left: 8px; }
.cp-meta { font-size: 13px; color: var(--faint); margin-top: 6px; letter-spacing: .02em; }
.cp-nav { display: flex; gap: 5px; }
.cp-nav a, .cp-nav span {
  border: 1px solid var(--hairline-strong); padding: 5px 10px; border-radius: 2px;
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
}
.cp-nav a:hover { background: #fff; border-color: var(--gold-2); color: var(--navy); }
.cp-nav span.disabled { opacity: .38; }
.cp-lock {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--faint);
  border: 1px solid var(--hairline); padding: 3px 8px; border-radius: 2px; white-space: nowrap;
}
.cp-lock .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
#chart-cycle { width: 100%; height: 480px; }

/* 阶段统计 */
.cycle-stats { margin-top: 36px; border-top: 1px solid var(--hairline-strong); padding-top: 16px; }
.cst-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cst-title { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-top: 4px; }
.cst-title span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--faint); margin-left: 7px; }
.cst-sub { font-size: 13px; color: var(--faint); text-align: right; max-width: 560px; line-height: 1.6; }
.cst-tabs { display: flex; gap: 2px; margin-top: 13px; border-bottom: 1px solid var(--hairline-strong); }
.cst-tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  padding: 9px 15px 10px; border-bottom: 2px solid transparent;
  font-family: var(--sans); font-size: 14px; color: var(--muted); letter-spacing: .02em;
}
.cst-tab:hover { color: var(--navy); }
.cst-tab.active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }
.cst-body { padding-top: 15px; }
.cst-sec + .cst-sec { margin-top: 28px; }
.cst-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--hairline-strong); }
.cst-sec-h h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--ink); }
.cst-sec-h span { font-size: 12px; color: var(--faint); text-align: right; line-height: 1.5; }
.cst-sec-note { font-size: 12px; color: var(--faint); line-height: 1.7; margin-top: 7px; }

/* 全指数对比表 */
.ix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ix-table { min-width: 720px; }
.ix-tr {
  display: grid; grid-template-columns: 124px repeat(6, minmax(82px, 1fr));
  align-items: center; gap: 7px; padding: 9px 0;
  border-bottom: 1px solid var(--hairline);
}
.ix-tr.head { border-bottom: 1px solid var(--hairline-strong); padding-top: 4px; }
.ix-tr.head span { font-size: 11px; color: var(--faint); letter-spacing: .04em; text-align: right; white-space: nowrap; }
.ix-tr.head span:first-child { text-align: left; }
.ix-tr.head.group span { text-align: center; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--hairline); padding-bottom: 3px; }
.ix-tr.grp { grid-template-columns: 118px 1fr 1fr; border-bottom: 0; padding: 8px 0 2px; }
.ix-tr.grp span { font-size: 10px; letter-spacing: .1em; color: var(--faint); }
.ix-tr.grp span.bull { color: var(--up); } .ix-tr.grp span.bear { color: var(--down); }
.ix-name { font-size: 13.5px; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ix-name em { font-style: normal; font-size: 11px; color: var(--faint); font-weight: 400; margin-left: 4px; }
.ix-v { text-align: right; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ix-v.up { color: var(--up); font-weight: 600; } .ix-v.down { color: var(--down); font-weight: 600; }
.ix-v.na { color: var(--faint); opacity: .65; }
.ix-v small { display: block; font-size: 10.5px; color: var(--faint); font-weight: 400; }
.ix-details { border-top: 1px solid var(--hairline); }
.ix-details > summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; font-size: 13.5px; color: var(--ink-2);
}
.ix-details > summary::-webkit-details-marker { display: none; }
.ix-details > summary::before {
  content: "+"; font-family: var(--sans); font-size: 12px; color: var(--gold);
  width: 12px; flex: 0 0 12px; text-align: center;
}
.ix-details[open] > summary::before { content: "−"; }
.ix-details > summary b { font-weight: 600; color: var(--ink); }
.ix-details > summary em { font-style: normal; font-size: 12px; color: var(--faint); margin-left: auto; }
.ix-d-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 4px 30px; padding: 2px 0 14px 22px; align-items: start; }
.ix-d-body.no-chart { grid-template-columns: 1fr; }
.ix-ep-lists { min-width: 0; }
.ix-ep-lists .ep-list + .ep-list { margin-top: 10px; }
.ep-list h4 { font-size: 11.5px; letter-spacing: .08em; color: var(--faint); font-weight: 500; margin: 6px 0 3px; }
.ep-list h4.bull { color: var(--up); } .ep-list h4.bear { color: var(--down); }
.ep-li {
  display: grid; grid-template-columns: 170px 64px 56px minmax(0, 1fr);
  gap: 8px; align-items: baseline; padding: 5px 0;
  border-bottom: 1px solid var(--hairline); font-size: 12.5px; color: var(--muted);
}
.ep-li.ep-pick {
  cursor: pointer; padding-left: 7px; margin-left: -7px;
  border-left: 2px solid transparent;
  transition: background .14s, border-color .14s;
}
.ep-li.ep-pick:hover { background: rgba(168, 135, 91, .06); }
.ep-li.ep-pick.sel { background: rgba(168, 135, 91, .09); border-left-color: var(--gold); }
.ep-li .d { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-li .p { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-li .p.up { color: var(--up); } .ep-li .p.down { color: var(--down); }
.ep-li .n { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.ep-li .t { font-size: 11.5px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 回调 / 反弹右栏小图 */
.ep-chart-side { min-width: 0; border-left: 1px solid var(--hairline); padding-left: 20px; }
.ep-chart-top { display: flex; align-items: center; gap: 8px; }
.ep-chart-k { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; letter-spacing: .04em; color: var(--faint); }
.ep-chart-modes { display: inline-flex; align-items: center; gap: 1px; flex: 0 0 auto; padding: 1px; border: 1px solid var(--hairline); border-radius: 3px; background: rgba(255,255,255,.55); }
.ep-chart-modes button { border: 0; background: transparent; color: var(--muted); font-family: var(--sans); font-size: 12px; line-height: 1; padding: 3px 6px; border-radius: 2px; cursor: pointer; }
.ep-chart-modes button:hover:not(.active) { color: var(--ink); }
.ep-chart-modes button.active { background: var(--navy); color: #fff; }
.ep-chart-v { margin-left: auto; flex: 0 0 auto; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ep-chart-v.up { color: var(--up); } .ep-chart-v.down { color: var(--down); }
.ep-chart-d { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.ep-chart-plot { width: 100%; height: 200px; margin-top: 4px; }
.ep-chart-empty { display: flex; align-items: center; justify-content: center; height: 200px; font-size: 13px; color: var(--faint); line-height: 1.6; padding: 0 14px; text-align: center; }

/* 回调 / 反弹事件卡 */
.ep-block { border-top: 1px solid var(--hairline); }
.ep-block > summary {
  list-style: none; cursor: pointer; display: grid;
  grid-template-columns: 166px 70px 58px minmax(0, 1fr) 14px;
  gap: 9px; align-items: baseline; padding: 10px 0; font-size: 13px; color: var(--ink-2);
}
.ep-block > summary::-webkit-details-marker { display: none; }
.ep-block > summary::after { content: "+"; color: var(--gold); text-align: center; }
.ep-block[open] > summary::after { content: "−"; }
.ep-block > summary .ed { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.ep-block > summary .ep { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.ep-block > summary .ep.up { color: var(--up); } .ep-block > summary .ep.down { color: var(--down); }
.ep-block > summary .en { font-size: 10px; color: var(--faint); white-space: nowrap; }
.ep-block > summary .er { font-size: 10.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 0 30px; align-items: start; padding: 2px 0 14px 0; }
.ep-main { min-width: 0; }
.ep-body .ep-chart-side { padding-top: 10px; }
.ep-read {
  font-size: 11px; color: var(--muted); line-height: 1.65;
  padding: 5px 0 7px; border-bottom: 1px solid var(--hairline);
}
.ep-read b { color: var(--ink); font-weight: 600; }
.ep-tbl-h { display: grid; grid-template-columns: 18px minmax(0, 1fr) 68px auto; gap: 7px; padding: 4px 0 3px; font-size: 9.5px; color: var(--faint); letter-spacing: .04em; border-bottom: 1px solid var(--hairline); }
.ep-tbl-h span:nth-last-child(-n+2) { text-align: right; }
.ep-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 68px auto; gap: 7px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--hairline); font-size: 11.5px; }
.ep-row .r { font-size: 9.5px; color: var(--faint); }
.ep-row .nm { color: var(--ink-2); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-row .nm em { font-style: normal; font-size: 9.5px; color: var(--faint); margin-left: 4px; }
.ep-row .n { font-size: 9.5px; color: var(--faint); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-row .v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ep-row .v.up { color: var(--up); } .ep-row .v.down { color: var(--down); }
.tag { display: inline-block; font-size: 9px; line-height: 1.5; padding: 0 3px; border-radius: 2px; margin-left: 4px; vertical-align: 1px; white-space: nowrap; }
.tag.leader { color: var(--gold); border: 1px solid rgba(168,135,91,.45); }
.tag.worst { color: var(--down); border: 1px solid rgba(46,125,91,.35); }
.avail {
  padding: 24px 0 26px; font-size: 12.5px; color: var(--faint); line-height: 1.7;
  border-bottom: 1px solid var(--hairline);
}
.avail b { color: var(--ink-2); font-weight: 600; }

/* 完整叙事区 */
.cycle-narrative { margin-top: 40px; }
.cn-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline-strong); margin-bottom: 14px; }
.cn-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.cn-head span { font-size: 12.5px; color: var(--faint); }

@media (max-width: 980px) {
  .ix-d-body { grid-template-columns: 1fr; gap: 8px; }
  .ep-body { grid-template-columns: 1fr; gap: 0; }
  .ix-d-body .ep-chart-side,
  .ep-body .ep-chart-side { border-left: 0; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 12px; }
  .co-subgrid { gap: 26px 32px; }
}
@media (max-width: 720px) {
  .co-title { font-size: 22px; }
  .co-title span { display: block; margin: 4px 0 0; }
  .co-subgrid { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .co-sec-h { flex-wrap: wrap; gap: 4px 12px; }
  .co-sec-h span { text-align: left; }
  .co-ix { min-width: 780px; }
  .co-ix th, .co-ix td { padding: 9px 8px; }
  .co-ix thead th, .co-ix tbody th { font-size: 13px; }
  .co-ix td { font-size: 14px; }
  .co-kv span { font-size: 13px; }
  .co-kv b { font-size: 16px; }
  .cp-title { font-size: 26px; }
  .cp-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cp-nav { align-self: flex-start; }
  #chart-history { height: 400px; }
  #chart-cycle { height: 380px; }
  .cst-title { font-size: 21px; }
  .cst-sub { text-align: left; }
  .cst-sec-h { flex-wrap: wrap; gap: 4px 12px; }
  .cst-sec-h span { text-align: left; }
  .cst-tabs { overflow-x: auto; }
  .cst-tab { white-space: nowrap; padding-left: 11px; padding-right: 11px; }
  .ix-table { min-width: 640px; }
  .ix-tr { grid-template-columns: 108px repeat(6, minmax(70px, 1fr)); gap: 6px; }
  .ep-block > summary { grid-template-columns: minmax(0, 1fr) 50px 36px 12px; gap: 6px; }
  .ep-block > summary .ed { overflow: hidden; text-overflow: ellipsis; }
  .ep-block > summary .er { display: none; }
  .ep-li { grid-template-columns: 120px 52px 44px minmax(0, 1fr); gap: 6px; }
  .cn-head { flex-direction: column; gap: 3px; }
  .cycle-overview { margin-top: 30px; }
}

/* 单轮主图无行情提示 */
.chart-empty {
  padding: 70px 0 76px; text-align: center; font-size: 12.5px; color: var(--faint);
  border-top: 1px solid var(--hairline);
}
/* 指数对比双行表头 */
.ix-tr.head.group { padding: 6px 0 4px; border-bottom: 0; }
.ix-tr.head.group span { text-align: center; font-size: 9.5px; letter-spacing: .1em; }
.ix-tr.head.group span.bull { color: var(--up); }
.ix-tr.head.group span.bear { color: var(--down); }
.ix-tr.head.group + .ix-tr.head { padding-top: 2px; }
@media (max-width: 720px) {
  .cs-lists.two { grid-template-columns: 1fr; gap: 18px; }
}

/* =====================================================================
   2026-11 字号统一：正文/标注对齐「牛熊统计」的阅读字号
   —— 正文 13–14px，次级标注 12–12.5px，不再出现 9–11px 的正文
   ===================================================================== */
.brand .tag { font-size: 12px; }
.menu-label { font-size: 12px; }
.menu-item em { font-size: 12px; }
.scope-label { font-size: 12px; letter-spacing: .14em; }
.scope-chips button { font-size: 13px; }
.cycle-tab em { font-size: 12px; }
.page-meta { font-size: 12.5px; }
.sec-meta { font-size: 12.5px; }
.asset-card .a-sub { font-size: 12px; }
.toolbar-asof { font-size: 12.5px; }
.overline { font-size: 12px; letter-spacing: .2em; }
.chart-card .asof { font-size: 12.5px; }
.chart-card h2 .unit { font-size: 12px; }
.hero-fig-head .r { font-size: 12px; }
.hero-fig-foot .note { font-size: 12px; }
.card .idx { font-size: 12.5px; }

/* 总览统计 */
.co-kicker { font-size: 12px; }
.co-title span { font-size: 13.5px; }
.co-sec-h span { font-size: 13px; }
.co-ix thead th small { font-size: 12px; }
.co-ix td small { font-size: 12px; }
.co-foot { font-size: 12.5px; }

/* 单轮统计 */
.cs-kicker { font-size: 12px; }
.cs-title span { font-size: 13.5px; }
.cs-tag { font-size: 12.5px; }
.cs-phase-h span { font-size: 13px; }
.cs-metric-note { font-size: 12.5px; }
.cs-metric span { font-size: 13px; }
.cs-metric small { font-size: 13px; }
.cs-list-h h3 { font-size: 16px; }
.cs-list-h span { font-size: 13px; }
.cs-row { font-size: 14px; }
.cs-row.head { font-size: 12px; }
.cs-rank { font-size: 12px; }
.cs-name em { font-size: 12px; }
.cs-ind { font-size: 12px; }
.cs-new { font-size: 10px; }
.cs-n { font-size: 12px; }
.cs-ret { font-size: 15px; }
.cs-empty { font-size: 14px; }
.cs-note { font-size: 13px; }

/* 阶段 / 时间轴 / 两月对照 */
.st-title { font-size: 14.5px; }
.st-date, .st-toggle { font-size: 12px; }
.st-preview { font-size: 12.5px; }
.st-body p, .st-body li { font-size: 13.5px; }
.st-body h4 { font-size: 12.5px; }
.phase-title { font-size: 12.5px; }
.phase-tbl { font-size: 13.5px; }
.phase-tbl th { font-size: 12px; }
.k-tip { font-size: 12.5px; }
.cycle-sub { font-size: 12.5px; }
.tl-count { font-size: 12.5px; }
.tl-events .ev-date { font-size: 13.5px; }
.tl-empty { font-size: 13.5px; }
.lens-kicker { font-size: 12px; }
.lens-mode button { font-size: 12px; }
.lens-idx { font-size: 12.5px; }
.lens-stats { font-size: 13px; }
.lens-stats .ev { font-size: 12px; }
.lens-empty { font-size: 13px; }
.lens-note { font-size: 12px; }
.lens-hint { font-size: 12px; }

/* 工具栏 / 统计条 */
.tb-k { font-size: 12px; }
.tb-mi-t small { font-size: 11px; }
.tb-mi-ck { font-size: 12px; }
.tb-mf button { font-size: 12px; }
.chart-stats .stat b { font-size: 12.5px; }
.chart-stats .stat.p { font-size: 13px; }

/* 当前观察 */
.ind-sub b { font-size: 14px; }
.ind-sub span { font-size: 12px; }
.foot { font-size: 13px; }

/* 单轮叙事页 */
.cp-back { font-size: 13.5px; }
.cp-title span { font-size: 14px; }
.cp-meta { font-size: 13.5px; }
.cp-nav { font-size: 13px; }
.cst-title span { font-size: 13.5px; }
.cst-sub { font-size: 13.5px; }
.cst-sec-h span { font-size: 13px; }
.cst-sec-note { font-size: 13px; }
.ix-tr.head span { font-size: 12px; }
.ix-tr.head.group span { font-size: 12px; }
.ix-name { font-size: 14px; }
.ix-name em { font-size: 12px; }
.ix-v { font-size: 14px; }
.ix-v small { font-size: 11.5px; }
.ix-details > summary { font-size: 14px; }
.ix-details > summary em { font-size: 12.5px; }
.ep-list h4 { font-size: 12.5px; }
.ep-li { font-size: 13.5px; }
.ep-li .n, .ep-li .t { font-size: 12.5px; }
.ep-block > summary { font-size: 14px; }
.ep-block > summary .en { font-size: 12px; }
.ep-block > summary .er { font-size: 12px; }
.ep-read { font-size: 13px; }
.ep-tbl-h { font-size: 12px; }
.ep-row { font-size: 13px; }
.ep-row .r { font-size: 12px; }
.ep-row .nm em, .ep-row .n { font-size: 12px; }
.tag { font-size: 11px; }
.avail { font-size: 13px; }
.cn-head span { font-size: 13px; }
.chart-empty { font-size: 13px; }

@media (max-width: 720px) {
  .scope-label { font-size: 12px; letter-spacing: .1em; }
  .scope-chips button { font-size: 12.5px; padding: 3px 7px; }
  .cycle-tab { font-size: 12.5px; padding: 4px 8px; }
  .tb-key { font-size: 12.5px; }
  .tb-k { font-size: 12px; }
  .cs-row { font-size: 13px; }
  .tl-range { font-size: 12.5px; }
  .st-title { font-size: 13.5px; }
  .ep-block > summary { font-size: 13.5px; }
  .ix-details > summary em { display: none; }
  .ix-details > summary b { white-space: nowrap; }
  .ep-li {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "d d p" "t t n";
    gap: 2px 8px; padding: 6px 0;
  }
  .ep-li .d { grid-area: d; white-space: nowrap; }
  .ep-li .p { grid-area: p; }
  .ep-li .n { grid-area: n; }
  .ep-li .t { grid-area: t; white-space: normal; overflow: visible; }
}

/* ============ 综合建议 ============ */
.rec { padding: 2px 0 0; }
.rec-kicker {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}
.rec-stance {
  margin-top: 12px; font-family: var(--serif); font-size: 44px; font-weight: 600;
  line-height: 1.08; letter-spacing: .005em; color: var(--ink);
}
.rec-stance.buy { color: var(--up); }
.rec-stance.watch { color: var(--navy); }
.rec-stance.wait { color: var(--muted); }
.rec-sub { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); letter-spacing: .01em; }
.rec-sub b { color: var(--ink); font-weight: 600; }
.rec-sub .dim { color: var(--faint); }

.rec-stats {
  display: flex; flex-wrap: wrap; align-items: stretch;
  margin: 24px 0 0; border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.rec-stat { flex: 1 1 0; min-width: 104px; padding: 13px 18px 14px 0; }
.rec-stat + .rec-stat { padding-left: 20px; border-left: 1px solid var(--hairline); }
.rec-stat span {
  display: block; font-size: 11px; letter-spacing: .12em; color: var(--faint);
  text-transform: uppercase; font-weight: 600;
}
.rec-stat b {
  display: block; margin-top: 6px; font-family: var(--serif); font-size: 25px;
  font-weight: 600; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums;
}
.rec-stat b small { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }

.rec-line { margin: 20px 0 0; font-size: 14.5px; line-height: 1.62; color: var(--ink-2); max-width: 82ch; }
.rec-line b { color: var(--ink); font-weight: 600; }

.rec-ev-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 24px 0 0; padding-bottom: 7px; border-bottom: 1px solid var(--hairline);
}
.rec-ev-h span {
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}
.rec-ev-h em { font-style: normal; font-size: 11.5px; color: var(--faint); }
.rec-ev {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px; margin: 0;
}
.ev { border-bottom: 1px solid var(--hairline); }
.ev > summary {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 14px;
  align-items: baseline; gap: 14px; padding: 12px 0;
  cursor: pointer; list-style: none;
}
.ev > summary::-webkit-details-marker { display: none; }
.ev > summary::after {
  content: "+"; font-size: 15px; line-height: 1; color: var(--faint);
  text-align: right; font-variant-numeric: tabular-nums;
}
.ev[open] > summary::after { content: "−"; }
.ev-k { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--gold); }
.ev-v { font-size: 13.5px; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.5; }
.ev-v b { font-weight: 600; }
.ev > summary:hover .ev-v { color: var(--navy); }
.ev > summary:hover::after { color: var(--gold); }
.ev-d { padding: 0 26px 14px 72px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.ev-d b { color: var(--ink-2); font-weight: 600; }


.rec-do .ev-k { margin-right: 12px; }

/* ---- 两种机制并排 ---- */
.rec-grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  margin: 38px 0 0; border-top: 1px solid var(--ink);
}
.rec-panel { padding: 22px 28px 30px 0; min-width: 0; }
.rec-panel + .rec-panel { padding: 22px 0 30px 30px; border-left: 1px solid var(--hairline); }
.rec-panel-h {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.rph-t {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink);
}
.rph-n {
  display: inline-block; width: 19px; height: 19px; line-height: 19px; text-align: center;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0;
  color: #fff; background: var(--navy); border-radius: 3px;
}
.rph-s { font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

#hist-pane-idx { max-height: none; }
#hist-pane-sec { max-height: 470px; }

.rec-panel .ss-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0 0 20px; }
.rec-panel .ss-dim { padding: 11px 13px 11px; border-radius: 8px; }
.rec-panel .ss-dim .ssv { font-size: 22px; }
.rec-panel .ss-tbl { font-size: 12.5px; }
.rec-panel .ss-tbl th { padding: 8px 7px; font-size: 11.5px; }
.rec-panel .ss-tbl td { padding: 8px 7px; }
.rec-panel .ss-tbl td.ssd b { font-size: 13.5px; }

.rec-panel .ss-tbl .pbar { width: 26px; margin-right: 5px; }
.rec-panel .ss-tbl .ss-idx span { font-size: 11px; }

/* ---- 机器学习面板 ---- */
.ml-top {
  display: flex; align-items: flex-end; gap: 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--hairline);
}
.ml-big b {
  display: block; font-family: var(--serif); font-size: 42px; font-weight: 600;
  line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.ml-big span { display: block; margin-top: 7px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.ml-cells { display: flex; gap: 22px; margin-left: auto; padding-bottom: 2px; }
.ml-cell span {
  display: block; font-size: 10.5px; letter-spacing: .1em; color: var(--faint);
  text-transform: uppercase; font-weight: 600;
}
.ml-cell b {
  display: block; margin-top: 5px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.ml-tabs { display: flex; gap: 2px; margin-top: 18px; border-bottom: 1px solid var(--ink); }
.ml-tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: 8px 14px 7px; margin-bottom: -1px;
  font-family: var(--sans); font-size: 12.5px; color: var(--muted);
  border-bottom: 2px solid transparent; letter-spacing: .04em;
}
.ml-tab em { font-style: normal; font-size: 10.5px; color: var(--faint); margin-left: 4px; }
.ml-tab:hover { color: var(--ink-2); }
.ml-tab.on { color: var(--ink); border-bottom-color: var(--navy); font-weight: 600; }
.ml-tab.on em { color: var(--gold); }
.ml-pane { max-height: 430px; overflow-y: auto; }
.ml-secwrap .ml-pane { max-height: 300px; }
.ml-scap { margin: 4px 2px 14px; font-size: 11.5px; color: var(--faint); line-height: 1.6; }
.ml-note { margin-top: 10px; font-size: 11.5px; color: var(--faint); line-height: 1.6; }
.ml-tbl { margin-top: 16px; border-top: 1px solid var(--ink); }
.ml-pane .ml-tbl { margin-top: 0; border-top: 0; }
.ml-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px; gap: 12px;
  align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--hairline);
  font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.ml-row.four { grid-template-columns: minmax(0, 1fr) 64px 76px 80px; }
.ml-row b { font-weight: 600; color: var(--ink); }
.ml-row span { text-align: right; }
.ml-row span.up { color: var(--up); }
.ml-row span.down { color: var(--down); }
.ml-row.ml-head { font-size: 10.5px; letter-spacing: .1em; color: var(--faint); font-weight: 600; }
.ml-row.ml-head span:first-child { text-align: left; }
.ml-foot { margin-top: 12px; font-size: 11.5px; color: var(--faint); line-height: 1.65; }
.ml-foot b { color: var(--muted); font-weight: 600; }

/* ============ 状态打分 · 历史同档分布 ============ */
.ss-lead { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 2px 0 0; max-width: 76ch; }
.ss-lead b { color: var(--ink-2); font-weight: 600; }
.ss-dims { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.ss-dim { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 10px; padding: 13px 14px 12px; }
.ss-dim .ssn { font-size: 13px; color: var(--ink-2); letter-spacing: .01em; }
.ss-dim .ssv { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--ink); line-height: 1.2; margin-top: 3px; font-variant-numeric: tabular-nums; }
.ss-dim .ssv small { font-family: var(--sans); font-size: 12.5px; font-weight: 400; color: var(--muted); margin-left: 3px; }
.ss-bar { position: relative; height: 4px; background: var(--hairline); border-radius: 2px; margin: 10px 0 7px; }
.ss-bar i { position: absolute; inset: 0 auto 0 0; background: var(--gold-2); border-radius: 2px; }
.ss-bar b { position: absolute; top: -2px; width: 2px; height: 8px; background: var(--navy); border-radius: 1px; }
.ss-dim.ext .ss-bar i { background: var(--rise); }
.ss-dim .ssm { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; line-height: 1.5; }
.ss-dim .sssub { display: block; margin-top: 2px; color: var(--gold); }
.ss-dim .sswarn { display: block; margin-top: 3px; font-size: 12px; color: var(--risk); }

.ss-tbl-wrap { overflow-x: auto; margin-top: 2px; }
.ss-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ss-tbl th { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 9px 10px; border-bottom: 1px solid var(--hairline-strong); text-align: right; white-space: nowrap; letter-spacing: .02em; }
.ss-tbl th.grp { text-align: center; border-bottom: 1px solid var(--hairline); }
.ss-tbl th:first-child, .ss-tbl td:first-child { text-align: left; }
.ss-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--hairline); text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-tbl tr:last-child td { border-bottom: none; }
.ss-tbl .ss-idx b { font-weight: 600; color: var(--ink); }
.ss-tbl .ss-idx span { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.ss-tbl .pbar { display: inline-block; width: 46px; height: 3px; background: var(--hairline); border-radius: 2px; vertical-align: middle; margin-right: 6px; position: relative; }
.ss-tbl .pbar i { position: absolute; inset: 0 auto 0 0; background: var(--gold-2); border-radius: 2px; }
.ss-tbl .none { color: var(--faint); }
.ss-tbl td.ssd b { display: block; font-size: 14px; font-weight: 600; }
.ss-tbl td.ssd b.up { color: var(--up); }
.ss-tbl td.ssd b.down { color: var(--down); }
.ss-tbl td.ssd span { display: block; font-size: 12px; color: var(--faint); margin-top: 2px; }
.ss-tbl td.up { color: var(--up); }
.ss-tbl td.down { color: var(--down); }
.ss-note { margin-top: 12px; font-size: 12.5px; color: var(--faint); line-height: 1.7; }

.ss-tbl span.up, .ss-tbl b.up { color: var(--up); }
.ss-tbl span.down, .ss-tbl b.down { color: var(--down); }
.ss-tbl b { font-weight: 600; }
@media (max-width: 900px) {
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .rec-panel { padding: 22px 0 26px; }
  .rec-panel + .rec-panel { padding: 24px 0 28px; border-left: none; border-top: 1px solid var(--hairline); }
  .rec-ev { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 720px) {
  .rec-stance { font-size: 32px; }
  .rec-sub { font-size: 14.5px; }
  .rec-stat { min-width: 50%; padding: 11px 12px 12px 0; }
  .rec-stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .rec-stat:nth-child(3) { border-left: none; }
  .rec-stat b { font-size: 21px; }
  .ev > summary { grid-template-columns: 46px minmax(0, 1fr) 14px; gap: 10px; }
  .ev-d { padding: 0 10px 13px 56px; }
  .rec-do { font-size: 14px; padding: 13px 14px; }
  .ml-top { gap: 16px; flex-wrap: wrap; }
  .ml-big b { font-size: 34px; }
  .ml-cells { gap: 16px; }
  .ss-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ss-dim .ssv { font-size: 21px; }
  .ss-tbl { font-size: 13px; }
  .ss-tbl th, .ss-tbl td { padding: 7px 6px; }
}

/* ---- 历史统计表 ---- */
.hs-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-top: 4px; }
.hs-tbl th {
  font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .06em;
  padding: 8px 6px; border-bottom: 1px solid var(--hairline-strong); text-align: right;
  white-space: nowrap;
}
.hs-tbl th:first-child, .hs-tbl th:nth-child(2) { text-align: left; }
.hs-tbl td {
  padding: 7px 6px; border-bottom: 1px solid var(--hairline); text-align: right;
  color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hs-tbl tr:last-child td { border-bottom: none; }
.hs-tbl .hs-name { text-align: left; }
.hs-tbl .hs-name b { font-weight: 600; color: var(--ink); font-size: 13px; }
.hs-tbl .hs-name span { display: block; font-size: 10.5px; color: var(--faint); margin-top: 1px; }
.hs-tbl .hs-stage { text-align: left; }
.hs-tbl .hs-stage span { font-size: 11px; font-weight: 600; }
.hs-tbl .hs-stage .up { color: var(--up); }
.hs-tbl .hs-stage .down { color: var(--down); }
.hs-tbl .hs-num { position: relative; }
.hs-tbl .hs-num em { font-style: normal; font-weight: 600; color: var(--ink); font-size: 12.5px; }
.hs-tbl .hs-num .hs-bar {
  display: inline-block; width: 26px; height: 3px; background: var(--hairline);
  border-radius: 2px; margin-right: 6px; vertical-align: middle; overflow: hidden;
}
.hs-tbl .hs-num .hs-bar b { display: block; height: 100%; background: var(--gold-2); border-radius: 2px; }
.hs-tbl .hs-num.none { color: var(--faint); }
.hs-tbl .hs-win b { display: block; font-size: 12.5px; font-weight: 600; }
.hs-tbl .hs-win b.up { color: var(--up); }
.hs-tbl .hs-win b.down { color: var(--down); }
.hs-tbl .hs-win span { display: block; font-size: 10.5px; color: var(--faint); }
.hs-tbl .hs-win.none { color: var(--faint); font-size: 11.5px; }
.hs-tbl .hs-tend { font-size: 11.5px; color: var(--muted); }
.hs-tbl .hs-tend.buy { color: var(--up); font-weight: 600; }
.hs-tbl .hs-tend.sell { color: var(--down); font-weight: 600; }

/* ---- 历史统计展开明细 ---- */
.hs-row { cursor: pointer; }
.hs-row:hover td { background: var(--surface-2); }
.hs-caret {
  display: inline-block; margin-left: 6px; font-style: normal;
  font-size: 9px; color: var(--faint); transition: transform .15s ease;
}
.hs-row.open .hs-caret { transform: rotate(180deg); }
.hs-det > td { padding: 0 !important; background: var(--surface-2); }
.hs-det-in {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px; padding: 14px 14px 16px;
}
.hs-dim h4 {
  margin: 0 0 8px; font-size: 10.5px; letter-spacing: .14em;
  color: var(--gold); font-weight: 600;
}
.hs-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "k v s" "bar bar bar";
  align-items: baseline; gap: 2px 8px; padding: 4px 0;
  font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.hs-item span { grid-area: k; color: var(--muted); white-space: nowrap; }
.hs-item em { grid-area: v; font-style: normal; color: var(--ink-2); }
.hs-item > b { grid-area: s; text-align: right; font-weight: 600; color: var(--ink); font-size: 12px; min-width: 22px; }
.hs-item .hs-bar { grid-area: bar; display: block; width: 100%; height: 3px; margin-top: 3px; background: #E7E0D2; border-radius: 2px; overflow: hidden; }
.hs-item .hs-bar b { display: block; height: 100%; background: var(--gold); border-radius: 2px; }
.hs-item.none { color: var(--faint); }
@media (max-width: 900px) {
  .hs-det-in { grid-template-columns: minmax(0, 1fr); gap: 14px 0; }
}

/* ---- 机器学习：怎么读 ---- */
.ml-how {
  margin-top: 14px; padding: 12px 14px 13px;
  background: var(--surface-2); border-left: 2px solid var(--navy);
}
.ml-how > b {
  display: block; margin-bottom: 6px; font-size: 10.5px;
  letter-spacing: .16em; color: var(--navy); font-weight: 600;
}
.ml-how span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.72; }
.ml-how span b { color: var(--ink); font-weight: 600; }

/* ---- 模型面板 ---- */
.mp-tiles {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 4px 0 26px; border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.mp-tile { padding: 13px 16px 14px 0; min-width: 0; }
.mp-tile + .mp-tile { padding-left: 18px; border-left: 1px solid var(--hairline); }
.mp-tile span {
  display: block; font-size: 11px; letter-spacing: .1em;
  color: var(--faint); font-weight: 600;
}
.mp-tile b {
  display: flex; align-items: baseline; gap: 3px; margin-top: 6px;
  font-family: var(--serif); font-size: 25px; font-weight: 600;
  color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.mp-tile small { font-family: var(--sans); font-size: 11.5px; color: var(--muted); font-weight: 400; }
.mp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.mp-card { min-width: 0; }
.mp-h {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--hairline);
}
.mp-h b { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.mp-h span { font-size: 11.5px; color: var(--faint); }
.hs-tbl .hs-rank { font-weight: 600; color: var(--ink-2); font-size: 12px; }
.hs-tbl .hs-rank.hi { color: var(--up); }
.hs-tbl .hs-rank.lo { color: var(--down); }
@media (max-width: 900px) {
  .mp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-tile:nth-child(odd) { padding-left: 0; border-left: none; }
  .mp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.nsf-scope { margin: 2px 0 14px; }
@media (max-width: 720px) { .nsf-scope { margin-bottom: 10px; } }

/* ---- 综合建议 · 板块建议 ---- */
.rec-sectors {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--hairline);
}
.rs-item { display: inline-flex; align-items: baseline; gap: 6px; cursor: default; }
.rs-item b { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.rs-item em { font-style: normal; font-size: 12px; color: var(--gold); font-variant-numeric: tabular-nums; }
.rs-meta { margin-left: auto; font-size: 11.5px; color: var(--faint); }
@media (max-width: 720px) { .rs-meta { margin-left: 0; width: 100%; } }

/* ---------- 精简「数据截至」：每页只保留大标题旁/工具栏那一处 ---------- */
.card-head .asof,
#concl-asof,
#hist-asof,
#ml-asof,
#nsf-asof,
#mp-asof,
#macro-corr-asof { display: none !important; }

/* ---- 资产走势 ---- */
.asset-flow { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; }
.af-list { border-top: 1px solid var(--hairline); }
.af-group {
  margin: 16px 0 6px; font-size: 10.5px; letter-spacing: .16em;
  color: var(--gold); font-weight: 600;
}
.af-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--hairline);
  font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.af-item:hover { color: var(--navy); }
.af-item.active { color: var(--ink); font-weight: 600; }
.af-item.disabled { color: var(--faint); cursor: default; }
.af-item em { font-style: normal; font-size: 11px; color: var(--faint); }
.af-note { margin-top: 10px; font-size: 12px; color: var(--faint); line-height: 1.6; }
.af-items { margin-bottom: 10px; }
#conclusion-anchor { scroll-margin-top: 90px; }
@media (max-width: 900px) {
  .asset-flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .af-list { border-top: 0; }
}

.rec-placeholder {
  padding: 26px 0 8px; color: var(--muted); font-size: 14px; line-height: 1.7;
}
.rec-placeholder b { color: var(--ink); font-weight: 600; }
.rec-placeholder span { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }

/* ---- 资产走势 · 统计表 ---- */
.af-stats { margin-top: 16px; }
.af-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.af-tbl th {
  font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .06em;
  padding: 8px 8px; border-bottom: 1px solid var(--hairline-strong); text-align: right;
  white-space: nowrap;
}
.af-tbl th:nth-child(1), .af-tbl th:nth-child(2) { text-align: left; }
.af-tbl td {
  padding: 7px 8px; border-bottom: 1px solid var(--hairline);
  text-align: right; color: var(--ink-2); white-space: nowrap;
}
.af-tbl td:nth-child(1), .af-tbl td:nth-child(2) { text-align: left; }
.af-tbl tr.on td { background: var(--surface-2); color: var(--ink); font-weight: 600; }
.af-tbl tr.on td:nth-child(2) { color: var(--navy); }
.af-tbl .cat { color: var(--faint); font-size: 11.5px; }
