/* 机构持仓 /holdings — 焦糖棕杂志风 */
.hd-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(18px, 4vw, 36px) 96px;
}
.hd-kicker {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hd-title {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.hd-lede {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  max-width: 720px;
  margin: 0 0 28px;
}
.hd-sub {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: -8px 0 24px;
}
.hd-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-xs, 4px);
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent-2, var(--accent-secondary));
  margin-right: 8px;
  vertical-align: middle;
}
html[data-theme='dark'] .hd-badge {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}
.hd-badge.warn {
  background: color-mix(in srgb, var(--accent-put, #b85959) 18%, transparent);
  color: var(--accent-put, #b85959);
}

/* summary cards */
.hd-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 32px;
}
.hd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.hd-card-label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.hd-card-value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--text-primary);
  line-height: 1.25;
  word-break: break-word;
}
.hd-card-value.up {
  color: var(--accent-call, #5a8c5a);
}
.hd-card-value.down {
  color: var(--accent-put, #b85959);
}
.hd-card-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* sections */
.hd-section {
  margin: 36px 0 0;
}
.hd-section h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-primary);
}
.hd-section-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -6px 0 14px;
}

/* tables */
.hd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}
.hd-table th,
.hd-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light, var(--border));
  vertical-align: top;
}
.hd-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-secondary);
  white-space: nowrap;
}
.hd-table tr:last-child td {
  border-bottom: none;
}
.hd-table td.num {
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
}
/* 类别列：避免窄列把「股票/债券」挤成竖排 */
.hd-table td.hd-cat,
.hd-table th.hd-cat {
  white-space: nowrap;
  width: 1%;
}

/* 278-T 说明条 */
.hd-notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
  border-radius: var(--radius-xl, 14px);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.hd-notice strong {
  color: var(--accent-2, var(--accent-secondary));
}
.hd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.hd-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light, var(--border));
  color: var(--text-secondary);
}
/* Top 大额买入卡片 */
.hd-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.hd-top-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-sm);
}
.hd-top-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-bottom: 6px;
}
.hd-top-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.hd-top-amt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-call, #5a8c5a);
  margin-bottom: 4px;
}
.hd-top-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.hd-top-bar {
  margin-top: 10px;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-secondary);
  overflow: hidden;
}
.hd-top-bar > span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--grad-line, var(--accent));
}
.hd-subtabs {
  margin-bottom: 12px;
}
.hd-table-foot {
  margin-top: 10px;
}
/* 13F 本季新建/清仓高亮 */
.hd-hl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  box-shadow: var(--shadow-sm);
}
.hd-hl-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hd-chip-new {
  border-color: color-mix(in srgb, var(--accent-call, #5a8c5a) 35%, var(--border));
  color: var(--accent-call, #5a8c5a);
  background: color-mix(in srgb, var(--accent-call, #5a8c5a) 10%, var(--bg-card));
}
.hd-chip-exit {
  border-color: color-mix(in srgb, var(--accent-put, #b85959) 35%, var(--border));
  color: var(--accent-put, #b85959);
  background: color-mix(in srgb, var(--accent-put, #b85959) 10%, var(--bg-card));
}
.hd-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
/* 估算标记：公司只披露增持数量、未披露成交成本，按当日收盘估算，不能与披露值同形 */
.hd-est-tag {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border: 1px solid color-mix(in srgb, var(--text-muted, #786747) 45%, transparent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-muted, #786747);
  vertical-align: 1px;
}
.hd-pill.buy,
.hd-pill.new,
.hd-pill.increased,
.hd-pill.call {
  background: color-mix(in srgb, var(--accent-call, #5a8c5a) 16%, transparent);
  color: var(--accent-call, #5a8c5a);
}
.hd-pill.sell,
.hd-pill.exited,
.hd-pill.decreased,
.hd-pill.put {
  background: color-mix(in srgb, var(--accent-put, #b85959) 16%, transparent);
  color: var(--accent-put, #b85959);
}
.hd-pill.unchanged,
.hd-pill.yield,
.hd-pill.other {
  background: var(--bg-secondary);
  color: var(--text-muted);
}

/* hub grid */
.hd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 0 0 40px;
}
.hd-tile {
  display: block;
  text-decoration: none;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl, 18px);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: inherit;
}
.hd-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.hd-tile-k {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
/* 与数据看板 .db-tip-btn 一致的 ? 按钮 */
.hd-tile-info {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-tertiary, var(--bg-secondary));
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: help;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.hd-tile-info:hover,
.hd-tile-info:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
  outline: none;
}
.hd-tile h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.hd-tile p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.hd-tile-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
}
.hd-tile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light, var(--border));
}
.hd-tile-stats span { min-width: 0; }
.hd-tile-stats small,
.hd-tile-stats strong { display: block; }
.hd-tile-stats small {
  margin-bottom: 3px;
  color: var(--text-muted);
  font-size: 10.5px;
}
.hd-tile-stats strong {
  font: 700 15px/1.25 var(--mono);
  color: var(--text-primary);
}
.hd-tile-stats strong.up { color: var(--accent-call, #5a8c5a); }
.hd-tile-stats strong.down { color: var(--accent-put, #b85959); }
.hd-tile-go {
  margin-top: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12.5px;
}

/* 与数据看板 .db-tip-pop 同构：fixed 挂 body，出现在 ? 下方 */
.hd-tip-pop {
  display: none;
  position: fixed;
  z-index: 200;
  width: min(300px, calc(100vw - 16px));
  max-height: min(50vh, 320px);
  overflow: auto;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow-lg);
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.65;
  text-align: left;
}
.hd-tip-pop.open {
  display: block;
}
.hd-tip-pop .hd-tip-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.hd-tip-style {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-2, var(--accent-secondary));
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 999px;
  margin: 0 0 8px;
}
html[data-theme='dark'] .hd-tip-style {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}
.hd-tip-block {
  margin: 0 0 8px;
}
.hd-tip-block:last-child {
  margin-bottom: 0;
}
.hd-tip-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin: 0 0 3px;
}
.hd-tip-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.hd-tip-caution {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--accent-put, #b85959);
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.hd-group-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 16px;
  color: var(--text-primary);
}

.hd-sources,
.hd-disclaimer {
  margin-top: 36px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.hd-sources a {
  color: var(--accent);
}
.hd-loading,
.hd-error {
  padding: 24px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-secondary);
  margin: 16px 0;
}
.hd-error {
  border-color: color-mix(in srgb, var(--accent-put, #b85959) 40%, var(--border));
  color: var(--accent-put, #b85959);
}
.hd-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.hd-tab {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  cursor: pointer;
  font-family: inherit;
}
.hd-tab[aria-selected='true'] {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
}
.hd-link-row {
  font-size: 13px;
  margin: 0 0 20px;
}
.hd-link-row a {
  color: var(--accent);
  font-weight: 600;
}
.hd-ticker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-right: 4px;
}

/* SEO static hub copy（页尾） */
.hd-seo-intro {
  margin: 28px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card, var(--bg-primary));
}
.hd-seo-h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--text-primary); }
.hd-seo-h3 { font-size: 0.92rem; margin: 14px 0 6px; color: var(--text-secondary); }
.hd-seo-p { font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 8px; }
.hd-seo-list { margin: 0; padding-left: 1.2em; font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); }
.hd-seo-list li { margin-bottom: 4px; }
.hd-seo-intro a { color: var(--accent); }

/* ── K线时间轴（机构持仓）── */
.hd-kline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px 14px;
  margin-bottom: 18px;
}
.hd-kline-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.hd-kline-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
}
.hd-kline-seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.hd-kline-seg-btn:hover { color: var(--text-primary); }
.hd-kline-seg-btn.is-on {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.hd-kline-vol {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-left: auto;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.hd-kline-vol:hover { border-color: var(--accent); color: var(--accent); }
.hd-kline-vol.is-on {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
  background: color-mix(in srgb, var(--accent) 13%, var(--bg-card));
  color: var(--accent);
}
.hd-kline-area { position: relative; }
.hd-kline-box { position: relative; height: 380px; }
.hd-kline-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hd-kline-dot {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 3px 7px;
  border-radius: 8px;
  color: #fff;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s;
}
.hd-kline-dot:hover { transform: translate(-50%, -100%) scale(1.06); box-shadow: var(--shadow-md); }
.hd-kline-dot--buy { background: var(--accent-call); }
.hd-kline-dot--sell { background: var(--accent-put); }
.hd-kline-dot--fin { background: var(--accent); }
.hd-kline-dot.is-sel { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.hd-kline-dot--compact {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  min-width: 0;
}
.hd-kline-dot--compact .hd-kline-dot-main,
.hd-kline-dot--compact .hd-kline-dot-qty,
.hd-kline-dot--compact .hd-kline-dot-amt { display: none; }
.hd-kline-dot-main {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0.95;
}
.hd-kline-dot-qty {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.hd-kline-dot-amt {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0.92;
}
.hd-kline-cluster {
  position: absolute;
  transform: translate(-50%, -100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.hd-kline-cluster:hover { background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); }
.hd-kline-tip {
  position: absolute;
  z-index: 6;
  display: none;
  min-width: 210px;
  max-width: 280px;
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-primary);
  pointer-events: none;
}
.hd-kline-tip.open { display: block; }
.hd-kline-tip--interactive { pointer-events: auto; }
.hd-kline-tip-date {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.hd-kline-tip-row { white-space: nowrap; }
.hd-kline-tip-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
  padding-left: 8px;
}
.hd-kline-tip-note { color: var(--text-secondary); }
.hd-kline-est {
  font-size: 9.5px;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border));
  border-radius: 4px;
  padding: 0 4px;
  margin-left: 2px;
  vertical-align: 1px;
}
.hd-kline-flyout-row {
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px dashed var(--border-light);
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 2px;
  cursor: pointer;
}
.hd-kline-flyout-row:first-child { border-top: 0; }
.hd-kline-flyout-row:hover { color: var(--accent); }
.hd-kline-retry {
  appearance: none;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-top: 10px;
}
.hd-kline-retry:hover { background: color-mix(in srgb, var(--accent) 12%, var(--bg-card)); }
.hd-table tr.is-hk-target {
  animation: hd-hk-flash 2.6s ease-out;
}
@keyframes hd-hk-flash {
  0% { background: color-mix(in srgb, var(--accent) 26%, var(--bg-card)); }
  100% { background: transparent; }
}
@media (max-width: 640px) {
  .hd-kline-box { height: 280px; }
  .hd-kline-seg-btn { padding: 4px 8px; font-size: 11px; }
  .hd-kline-vol { margin-left: 0; }
}

/* 13F 组合回看与整体动向 */
.hd-feature-link {
  margin: -12px 0 22px;
}
.hd-feature-link a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: var(--radius-xl, 14px);
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-card));
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.hd-feature-link a:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.hd-feature-link b,
.hd-feature-link small { display: block; }
.hd-feature-link b { font-family: var(--serif); font-size: 17px; }
.hd-feature-link small { margin-top: 4px; color: var(--text-muted); font-size: 12px; }
.hd-feature-link strong { color: var(--accent); white-space: nowrap; font-size: 13px; }

.hd-portfolio {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-cards-portfolio { margin-bottom: 20px; }
.hd-return-chart {
  padding: 12px 14px 8px;
  border: 1px solid var(--border-light, var(--border));
  border-radius: var(--radius-lg, 10px);
  background: var(--bg-secondary);
}
.hd-return-chart svg { display: block; width: 100%; height: auto; min-height: 230px; }
.hd-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 4px;
  font: 11px/1.4 var(--mono);
  color: var(--text-muted);
}
.hd-chart-legend span::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  margin: 0 6px 3px 0;
  background: var(--border);
}
.hd-chart-legend .portfolio::before { background: var(--accent); height: 3px; }
.hd-chart-legend .benchmark::before { background: var(--text-muted); }
.hd-chart-legend .disclosure::before {
  width: 1px;
  height: 11px;
  margin-bottom: -2px;
  border-left: 1px dashed var(--accent);
  background: transparent;
}
.hd-chart-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hd-chart-line.portfolio { stroke: var(--accent); stroke-width: 3.2; }
.hd-chart-line.benchmark { stroke: var(--text-muted); stroke-width: 1.7; stroke-dasharray: 7 6; opacity: .86; }
.hd-chart-base { stroke: var(--border); stroke-width: 1; stroke-dasharray: 3 5; }
.hd-chart-disclosure line {
  stroke: color-mix(in srgb, var(--accent) 52%, var(--border));
  stroke-width: 1;
  stroke-dasharray: 4 5;
}
.hd-chart-disclosure circle { fill: var(--accent); }
.hd-chart-disclosure text {
  fill: var(--text-secondary);
  font: 600 10px/1 var(--mono);
  paint-order: stroke;
  stroke: var(--bg-secondary);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.hd-chart-axis {
  display: flex;
  justify-content: space-between;
  font: 10.5px/1.4 var(--mono);
  color: var(--text-muted);
}

.hd-asset-history {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 270px;
  padding: 20px 18px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-asset-bar { display: grid; grid-template-rows: auto 170px auto auto; gap: 5px; text-align: center; }
.hd-asset-bar-value { font: 700 12px/1.3 var(--mono); color: var(--text-primary); }
.hd-asset-bar-track {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 170px;
  border-bottom: 1px solid var(--border);
}
.hd-asset-bar-track span {
  display: block;
  width: min(58px, 72%);
  min-height: 5px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, transparent));
}
.hd-asset-bar-date { font: 10.5px/1.3 var(--mono); color: var(--text-secondary); }
.hd-asset-bar-count { font-size: 10.5px; color: var(--text-muted); }
.hd-coverage {
  margin: -4px 0 20px;
  padding: 16px;
  border: 1px solid var(--border-light, var(--border));
  border-radius: var(--radius-lg, 10px);
  background: var(--bg-secondary);
}
.hd-coverage-title {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
}
.hd-coverage-bar {
  display: flex;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border-light, var(--border));
}
.hd-coverage-seg { display: block; min-width: 1px; }
.hd-coverage-seg.included { background: var(--accent-call, #5a8c5a); }
.hd-coverage-seg.unmapped { background: var(--accent); }
.hd-coverage-seg.unpriced { background: #9a70a8; }
.hd-coverage-seg.capped { background: #888176; }
.hd-coverage-seg.nonPublic { background: #537c8d; }
.hd-coverage-seg.options { background: var(--accent-put, #b85959); }
.hd-coverage-seg.other { background: var(--text-muted); }
.hd-coverage-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  margin-top: 12px;
}
.hd-coverage-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding-left: 12px;
  min-width: 0;
}
.hd-coverage-row::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}
.hd-coverage-row.included::before { background: var(--accent-call, #5a8c5a); }
.hd-coverage-row.unmapped::before { background: var(--accent); }
.hd-coverage-row.unpriced::before { background: #9a70a8; }
.hd-coverage-row.capped::before { background: #888176; }
.hd-coverage-row.nonPublic::before { background: #537c8d; }
.hd-coverage-row.options::before { background: var(--accent-put, #b85959); }
.hd-coverage-key {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-coverage-row strong { font: 700 11px/1.35 var(--mono); }
.hd-coverage-row small {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 10px;
}
.hd-coverage-note { margin: 12px 0 0; }
.hd-disclosure-list { margin-top: 10px; }
.hd-options {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}
.hd-option-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}
.hd-option-insight {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg, 10px) var(--radius-lg, 10px) 0;
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.75;
}
.hd-option-insight strong { color: var(--text-primary); }
.hd-subheading {
  margin: 26px 0 10px;
  color: var(--text-primary);
  font: 700 16px/1.4 var(--serif);
}
.hd-option-table { min-width: 900px; }
.hd-stock-table { min-width: 900px; }
.hd-other-table { min-width: 820px; }
.hd-security-name { min-width: 180px; }
.hd-security-name strong,
.hd-security-name span,
.hd-security-name small { display: block; }
.hd-security-name strong {
  color: var(--text-primary);
  font: 700 13px/1.35 var(--mono);
}
.hd-security-name span {
  max-width: 250px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-security-name small,
.hd-row-sub {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.45;
}
.hd-option-moves {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hd-option-move-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-option-move-panel h4 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font: 700 15px/1.35 var(--serif);
}
.hd-option-move-row {
  display: grid;
  grid-template-columns: minmax(92px, .85fr) minmax(145px, 1.15fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border-light, var(--border));
}
.hd-option-move-row:first-of-type { border-top: 0; }
.hd-option-move-name,
.hd-option-move-action { min-width: 0; }
.hd-option-move-name {
  display: flex;
  gap: 7px;
  align-items: center;
}
.hd-option-move-name strong { font: 700 12px/1.3 var(--mono); }
.hd-option-move-action small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-option-move-row > b {
  color: var(--text-primary);
  font: 700 10.5px/1.4 var(--mono);
  white-space: nowrap;
}
.hd-option-move-row > b.up { color: var(--accent-call, #5a8c5a); }
.hd-option-move-row > b.down { color: var(--accent-put, #b85959); }
.hd-other-securities { margin-top: 26px; }

.hd-quarter-switch {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 2px 0 30px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hd-quarter-switch-label {
  flex: 0 0 auto;
  color: var(--accent);
  font: 700 10px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hd-quarter-switch-list {
  display: flex;
  gap: 3px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.hd-quarter-switch-button {
  appearance: none;
  flex: 0 0 auto;
  padding: 7px 11px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius-sm, 4px) var(--radius-sm, 4px) 0 0;
  background: transparent;
  color: var(--text-muted);
  font: 600 12px/1.4 var(--mono);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.hd-quarter-switch-button:hover {
  color: var(--text-primary);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.hd-quarter-switch-button[aria-pressed='true'] {
  border-bottom-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent);
}
.hd-quarter-switch-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hd-quarter-head span,
.hd-signal-key-head > span,
.hd-guide-live-head > span {
  display: block;
  color: var(--accent);
  font: 700 10px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hd-quarter-head span,
.hd-signal-key-head > span,
.hd-guide-live-head > span { margin-bottom: 4px; }
.hd-guide-live-link a { color: var(--accent); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.hd-quarter-brief { margin: 0 0 34px; }
.hd-quarter-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, .9fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 16px;
}
.hd-quarter-head h2,
.hd-signal-key-head h2,
.hd-guide-live-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}
.hd-quarter-head p,
.hd-guide-live-head p { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.7; }
.hd-quarter-stories {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 12px;
}
.hd-quarter-story {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-quarter-story.primary {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 38px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-card));
}
.hd-quarter-story.is-linked {
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.hd-quarter-story-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.hd-quarter-story.primary .hd-quarter-story-link { justify-content: center; }
.hd-quarter-story.is-linked:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.hd-quarter-story-link:focus-visible,
.hd-stock-link:focus-visible,
.hd-fund-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm, 4px);
}
.hd-quarter-story:last-child { grid-column: 1 / -1; }
.hd-quarter-story-label { color: var(--accent); font: 700 10px/1.3 var(--mono); letter-spacing: .08em; }
.hd-quarter-story h3 { margin: 7px 0 4px; color: var(--text-primary); font: 700 18px/1.45 var(--serif); }
.hd-quarter-story.primary h3 { max-width: 460px; font-size: clamp(23px, 3.2vw, 32px); }
.hd-quarter-story-metric { color: var(--text-primary); font: 700 17px/1.35 var(--mono); }
.hd-quarter-story.primary .hd-quarter-story-metric { margin: 7px 0; color: var(--accent); font-size: clamp(24px, 4vw, 36px); }
.hd-quarter-story p { margin: 8px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.hd-quarter-story small { display: block; margin-top: 9px; color: var(--text-muted); font-size: 10.5px; line-height: 1.55; }
.hd-story-stock-cta {
  display: block;
  margin-top: 13px;
  color: var(--accent);
  font: 700 10px/1.4 var(--sans);
}
.hd-signal-key {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(0, 2.35fr);
  gap: 30px;
  margin: 34px 0 18px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hd-signal-key-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hd-signal-key-grid > div { padding-left: 15px; border-left: 2px solid color-mix(in srgb, var(--accent) 52%, var(--border)); }
.hd-signal-key-grid b { color: var(--accent); font: 700 10px/1 var(--mono); }
.hd-signal-key-grid h3 { margin: 5px 0; color: var(--text-primary); font: 700 15px/1.4 var(--serif); }
.hd-signal-key-grid p { margin: 0; color: var(--text-muted); font-size: 11.5px; line-height: 1.65; }
.hd-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.hd-action-breadth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid var(--border-light, var(--border));
  border-radius: var(--radius-lg, 10px);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 11.5px;
}
.hd-action-breadth > strong { color: var(--text-primary); font-family: var(--serif); }
.hd-action-breadth b {
  margin-right: 3px;
  color: var(--text-primary);
  font: 700 13px/1 var(--mono);
}
.hd-action-breadth small { margin-left: auto; color: var(--text-muted); }
.hd-signal-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-signal-panel h2 {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--serif);
  font-size: 20px;
}
.hd-signal-list { display: grid; gap: 14px; }
.hd-signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-light, var(--border));
}
.hd-signal-row:first-child { padding-top: 0; border-top: 0; }
.hd-signal-main,
.hd-signal-count,
.hd-signal-meta { min-width: 0; }
.hd-stock-link {
  color: inherit;
  text-decoration: none;
}
.hd-signal-stock-link,
.hd-divergence-stock-link { display: block; min-width: 0; }
.hd-signal-stock-link strong::after,
.hd-consensus-chip strong::after,
.hd-divergence-stock-link strong::after {
  content: ' →';
  color: var(--accent);
  font: 700 .78em/1 var(--sans);
}
.hd-signal-main strong,
.hd-signal-main span,
.hd-signal-count b,
.hd-signal-count small { display: block; }
.hd-signal-main strong { font: 700 15px/1.3 var(--mono); color: var(--text-primary); }
.hd-signal-main span {
  overflow: hidden;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-signal-count { text-align: right; }
.hd-signal-count b { font-size: 11.5px; }
.hd-signal-panel.add .hd-signal-count b { color: var(--accent-call, #5a8c5a); }
.hd-signal-panel.trim .hd-signal-count b { color: var(--accent-put, #b85959); }
.hd-signal-count small { margin-top: 2px; color: var(--text-muted); font-size: 9.5px; }
.hd-signal-bar {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--bg-secondary);
}
.hd-signal-bar span { display: block; height: 100%; border-radius: inherit; }
.hd-signal-panel.add .hd-signal-bar span { background: var(--accent-call, #5a8c5a); }
.hd-signal-panel.trim .hd-signal-bar span { background: var(--accent-put, #b85959); }
.hd-signal-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 10px;
}
.hd-signal-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-signal-meta strong { flex: 0 0 auto; color: var(--text-secondary); font: 600 10px/1.4 var(--mono); }
.hd-consensus-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.hd-consensus-chip {
  display: block;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border-light, var(--border));
  border-radius: var(--radius-lg, 10px);
  background: var(--bg-card);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.hd-consensus-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.hd-consensus-chip strong,
.hd-consensus-chip span,
.hd-consensus-chip small { display: block; }
.hd-consensus-chip strong { color: var(--text-primary); font: 700 14px/1.3 var(--mono); }
.hd-consensus-chip span { margin-top: 5px; color: var(--text-secondary); font-size: 11px; }
.hd-consensus-chip small { margin-top: 2px; color: var(--text-muted); font-size: 9.5px; }
.hd-divergence-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-divergence-row {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(360px, 2.3fr) minmax(100px, .55fr);
  gap: 18px;
  align-items: center;
  padding: 15px 17px;
  border-top: 1px solid var(--border-light, var(--border));
}
.hd-divergence-row:first-child { border-top: 0; }
.hd-divergence-name strong,
.hd-divergence-name span,
.hd-divergence-name small,
.hd-divergence-change span,
.hd-divergence-change b { display: block; }
.hd-divergence-name strong { color: var(--text-primary); font: 700 15px/1.3 var(--mono); }
.hd-divergence-name span { overflow: hidden; margin-top: 2px; color: var(--text-secondary); font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.hd-divergence-name small { margin-top: 4px; color: var(--text-muted); font-size: 9.5px; }
.hd-divergence-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hd-divergence-side div { min-height: 44px; }
.hd-divergence-side b { display: block; font-size: 10.5px; }
.hd-divergence-side.add b { color: var(--accent-call, #5a8c5a); }
.hd-divergence-side.trim b { color: var(--accent-put, #b85959); }
.hd-divergence-side span { display: block; margin-top: 3px; color: var(--text-muted); font-size: 9.5px; line-height: 1.45; }
.hd-divergence-side i { display: block; height: 4px; overflow: hidden; border-radius: 99px; background: var(--bg-secondary); }
.hd-divergence-side em { display: block; height: 100%; border-radius: inherit; }
.hd-divergence-side.add em { background: var(--accent-call, #5a8c5a); }
.hd-divergence-side.trim em { background: var(--accent-put, #b85959); }
.hd-divergence-change { text-align: right; }
.hd-divergence-change span { color: var(--text-muted); font-size: 9.5px; }
.hd-divergence-change b { margin-top: 4px; color: var(--text-primary); font: 700 11px/1.4 var(--mono); }
.hd-divergence-change.up b { color: var(--accent-call, #5a8c5a); }
.hd-divergence-change.down b { color: var(--accent-put, #b85959); }
.hd-overview-table { min-width: 860px; }
.hd-fund-moves { min-width: 760px; }
.hd-fund-link {
  display: block;
  min-width: 165px;
  margin: -5px -7px;
  padding: 5px 7px;
  border-radius: var(--radius-md, 6px);
  color: inherit;
  text-decoration: none;
  transition: background .16s ease;
}
.hd-fund-link strong,
.hd-fund-link span,
.hd-fund-link small { display: block; }
.hd-fund-link small {
  margin-top: 4px;
  color: var(--accent);
  font-size: 9.5px;
  font-weight: 700;
}
.hd-fund-link:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.hd-muted { color: var(--text-muted); font-size: 11px; }
.hd-table td.up { color: var(--accent-call, #5a8c5a); font-weight: 700; }
.hd-table td.down { color: var(--accent-put, #b85959); font-weight: 700; }

.hd-trump-quarter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.hd-trump-quarter-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-trump-quarter-head,
.hd-trump-quarter-proxy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.hd-trump-quarter-head strong { color: var(--text-primary); font: 700 15px/1.3 var(--serif); }
.hd-trump-quarter-head span { color: var(--text-muted); font: 9.5px/1.4 var(--mono); }
.hd-trump-quarter-net { margin-top: 18px; }
.hd-trump-quarter-net small,
.hd-trump-quarter-net b { display: block; }
.hd-trump-quarter-net small { color: var(--text-muted); font-size: 10px; }
.hd-trump-quarter-net b { margin-top: 3px; font: 700 20px/1.3 var(--serif); }
.hd-trump-quarter-net.up b { color: var(--accent-call, #5a8c5a); }
.hd-trump-quarter-net.down b { color: var(--accent-put, #b85959); }
.hd-trump-quarter-proxy { margin-top: 15px; color: var(--text-secondary); font-size: 10.5px; }
.hd-trump-quarter-proxy b { color: var(--text-primary); font: 700 11px/1.4 var(--mono); }
.hd-trump-quarter-bar { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 99px; background: var(--bg-secondary); }
.hd-trump-quarter-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.hd-trump-quarter-card p { margin: 13px 0 0; color: var(--text-muted); font-size: 10px; line-height: 1.55; }
.hd-trump-quarter-card .hd-trump-quarter-movers { color: var(--text-secondary); }
.hd-trump-quarter-card footer { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border-light, var(--border)); color: var(--text-muted); font-size: 9.5px; }
.hd-trump-quarter-card.is-empty { background: color-mix(in srgb, var(--bg-card) 88%, var(--bg-secondary)); }
.hd-trump-quarter-empty { min-height: 118px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.hd-trump-quarter-empty strong { color: var(--text-secondary); font: 700 14px/1.4 var(--serif); }
.hd-trump-quarter-empty span { color: var(--text-muted); font-size: 10px; line-height: 1.65; }

.hd-trump-perf-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hd-trump-summary-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hd-trump-position-table { min-width: 780px; }
.hd-trump-movers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: -8px 0 18px;
}
.hd-trump-mover-block {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.hd-trump-mover-block h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font: 700 15px/1.3 var(--serif);
}
.hd-trump-mover-row {
  display: grid;
  grid-template-columns: minmax(52px, 74px) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--border-light, var(--border));
  font-size: 11px;
}
.hd-trump-mover-row strong { font-family: var(--mono); color: var(--text-primary); }
.hd-trump-mover-row span {
  overflow: hidden;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-trump-mover-row b { font-family: var(--mono); }
.hd-trump-mover-row b.up { color: var(--accent-call, #5a8c5a); }
.hd-trump-mover-row b.down { color: var(--accent-put, #b85959); }
.hd-raw-details {
  margin: 20px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 14px);
  background: var(--bg-card);
}
.hd-raw-details summary {
  padding: 16px 18px;
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
}
.hd-raw-details[open] summary { border-bottom: 1px solid var(--border-light, var(--border)); }
.hd-raw-body { padding: 0 16px 16px; }
.hd-raw-body .hd-section { margin: 16px 0 0; }

/* 如何看 13F */
.hd-guide-verdict {
  max-width: 850px;
  margin: 6px 0 34px;
  padding: 5px 0 5px 18px;
  border-left: 3px solid var(--accent);
}
.hd-guide-verdict strong { display: block; margin-bottom: 7px; color: var(--text-primary); font: 700 20px/1.45 var(--serif); }
.hd-guide-verdict p { margin: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.hd-lag-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0 42px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hd-lag-step { position: relative; min-height: 138px; padding: 22px 18px; border-left: 1px solid var(--border); }
.hd-lag-step:first-child { border-left: 0; }
.hd-lag-step b { color: var(--accent); font: 700 10px/1 var(--mono); }
.hd-lag-step h2 { margin: 8px 0 5px; color: var(--text-primary); font: 700 16px/1.4 var(--serif); }
.hd-lag-step p { margin: 0; color: var(--text-muted); font-size: 11.5px; line-height: 1.65; }
.hd-guide-section { margin: 46px 0 0; }
.hd-guide-section > h2 { margin: 0 0 8px; color: var(--text-primary); font: 700 clamp(22px, 3vw, 29px)/1.4 var(--serif); }
.hd-guide-section > p { max-width: 760px; margin: 0 0 18px; color: var(--text-secondary); font-size: 13px; line-height: 1.8; }
.hd-five-step { border-top: 1px solid var(--border); }
.hd-guide-step {
  display: grid;
  grid-template-columns: 56px minmax(260px, 1fr) minmax(220px, .7fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.hd-guide-step > b { color: var(--accent); font: 700 22px/1 var(--mono); }
.hd-guide-step h3 { margin: 0 0 7px; color: var(--text-primary); font: 700 18px/1.45 var(--serif); }
.hd-guide-step p { margin: 0; color: var(--text-secondary); font-size: 12.5px; line-height: 1.75; }
.hd-guide-step ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 11.5px; line-height: 1.75; }
.hd-guide-question { align-self: start; padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--accent) 52%, var(--border)); }
.hd-guide-question span { display: block; margin-bottom: 5px; color: var(--accent); font: 700 9.5px/1.3 var(--mono); letter-spacing: .08em; }
.hd-guide-question p { color: var(--text-muted); font-size: 11.5px; }
.hd-mistake-grid,
.hd-guide-two-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hd-guide-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hd-mistake,
.hd-guide-panel { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-xl, 14px); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.hd-mistake b { color: var(--accent); font: 700 11px/1 var(--mono); }
.hd-mistake h3,
.hd-guide-panel h3 { margin: 8px 0 7px; color: var(--text-primary); font: 700 16px/1.45 var(--serif); }
.hd-mistake p,
.hd-guide-panel p,
.hd-guide-panel li { color: var(--text-secondary); font-size: 12px; line-height: 1.7; }
.hd-mistake p,
.hd-guide-panel p { margin: 0; }
.hd-guide-panel ul { margin: 8px 0 0; padding-left: 18px; }
.hd-guide-checklist { margin: 18px 0 0; padding: 20px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border)); border-radius: var(--radius-xl, 14px); background: color-mix(in srgb, var(--accent) 7%, var(--bg-card)); }
.hd-guide-checklist li { margin: 5px 0; color: var(--text-secondary); font-size: 12.5px; line-height: 1.65; }
.hd-guide-live { margin: 48px 0 0; }
.hd-guide-live-head { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(220px, .65fr); gap: 22px; align-items: end; margin-bottom: 16px; }
.hd-guide-live-head > span { grid-column: 1 / -1; margin-bottom: -14px; }
.hd-guide-live-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hd-guide-live-link { margin: 14px 0 0; text-align: right; }
.hd-guide-sources { margin: 42px 0 0; padding-top: 18px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 11.5px; line-height: 1.75; }
.hd-guide-sources a { color: var(--accent); }

@media (max-width: 640px) {
  .hd-feature-link a { align-items: flex-start; }
  .hd-feature-link strong { font-size: 0; }
  .hd-feature-link strong::after { content: '查看 →'; font-size: 12px; }
  .hd-portfolio { padding: 16px 12px; }
  .hd-return-chart { padding: 10px 6px 6px; }
  .hd-return-chart svg { min-height: 190px; }
  .hd-chart-disclosure text { display: none; }
  .hd-coverage { padding: 14px 12px; }
  .hd-coverage-legend { grid-template-columns: 1fr; }
  .hd-option-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-option-moves { grid-template-columns: 1fr; }
  .hd-option-move-row {
    grid-template-columns: minmax(85px, .8fr) minmax(0, 1.2fr);
    gap: 8px 10px;
  }
  .hd-option-move-row > b {
    grid-column: 1 / -1;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .hd-asset-history { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .hd-asset-bar { grid-template-rows: auto 120px auto auto; }
  .hd-asset-bar-track { height: 120px; }
  .hd-quarter-head,
  .hd-quarter-stories,
  .hd-signal-key,
  .hd-guide-live-head { grid-template-columns: 1fr; }
  .hd-quarter-switch { gap: 10px; margin-bottom: 24px; }
  .hd-quarter-story.primary { grid-row: auto; }
  .hd-quarter-story:last-child { grid-column: auto; }
  .hd-signal-key-grid,
  .hd-guide-live-grid,
  .hd-mistake-grid,
  .hd-guide-two-col { grid-template-columns: 1fr; }
  .hd-divergence-row { grid-template-columns: 1fr; gap: 10px; }
  .hd-divergence-change { text-align: left; }
  .hd-lag-timeline { grid-template-columns: 1fr; border-top: 0; }
  .hd-lag-step { min-height: 0; border-top: 1px solid var(--border); border-left: 0; }
  .hd-guide-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .hd-guide-step > ul,
  .hd-guide-question { grid-column: 2; }
  .hd-guide-live-head > span { grid-column: auto; margin-bottom: -12px; }
  .hd-overview-grid { grid-template-columns: 1fr; }
  .hd-action-breadth { gap: 8px 12px; }
  .hd-action-breadth small { width: 100%; margin-left: 0; }
  .hd-signal-panel { padding: 16px 14px; }
  .hd-consensus-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-trump-quarter-grid { grid-template-columns: 1fr; }
  .hd-trump-perf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-trump-summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-trump-movers { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .hd-quarter-stories { grid-template-columns: 1fr; }
  .hd-quarter-story.primary { grid-row: auto; }
  .hd-quarter-story:last-child { grid-column: auto; }
  .hd-signal-key { grid-template-columns: 1fr; }
  .hd-divergence-row { grid-template-columns: minmax(110px, .6fr) minmax(360px, 2fr); }
  .hd-divergence-change { grid-column: 2; text-align: left; }
  .hd-guide-step { grid-template-columns: 48px minmax(0, 1fr); }
  .hd-guide-question { grid-column: 2; }
  .hd-guide-live-grid { grid-template-columns: 1fr; }
  .hd-coverage-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-option-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-option-moves { grid-template-columns: 1fr; }
  .hd-consensus-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd-trump-quarter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-trump-perf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-trump-summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
