/* ============================================
   环球利率宏观Dash - Dark Financial UI
   ============================================ */

:root {
  /* Background layers */
  --bg-base: #0a0e17;
  --bg-card: #131722;
  --bg-card-hover: #1c2030;
  --bg-elevated: #1e2233;
  --bg-input: #0d1117;

  /* Borders */
  --border: #2a2e39;
  --border-light: #363a45;
  --border-accent: #2962ff;

  /* Text */
  --text-primary: #d1d4dc;
  --text-secondary: #787b86;
  --text-muted: #4d525c;
  --text-bright: #ffffff;

  /* Bond impact colors */
  --bullish: #26a69a;     /* 利好债券 - teal green */
  --bullish-bg: rgba(38, 166, 154, 0.12);
  --bearish: #ef5350;     /* 利淡债券 - red */
  --bearish-bg: rgba(239, 83, 80, 0.12);
  --neutral: #787b86;     /* 中性 - gray */
  --neutral-bg: rgba(120, 123, 134, 0.12);

  /* Accent */
  --accent: #2962ff;
  --accent-soft: rgba(41, 98, 255, 0.15);
  --accent-glow: rgba(41, 98, 255, 0.3);

  /* Region colors */
  --cn: #e53935;     /* China - red */
  --us: #2962ff;     /* US - blue */
  --eu: #ffca28;     /* Eurozone - yellow */
  --jp: #ec407a;     /* Japan - pink */
  --au: #66bb6a;     /* Australia - green */
  --hk: #7e57c2;     /* HK - purple */

  /* Spacing */
  --gap-xs: 4px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --gap-xl: 32px;

  /* Radius */
  --radius: 6px;
  --radius-lg: 10px;

  /* Shadows */
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: "SF Mono", "Fira Code", "Consolas", monospace; }

/* ============================================
   Top Navigation
   ============================================ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 var(--gap-lg);
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-right: var(--gap-xl);
  white-space: nowrap;
}

.nav-brand .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-tabs {
  display: flex;
  gap: 2px;
  list-style: none;
  flex: 1;
}

.nav-tabs li {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.15s;
  white-space: nowrap;
  user-select: none;
}

.nav-tabs li:hover {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.nav-tabs li.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: 12px;
  color: var(--text-secondary);
}

.nav-meta .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bullish);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--gap-lg);
}

.section {
  display: none;
  animation: fadeIn 0.2s ease;
}

.section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Section 1: Overview
   ============================================ */

/* 首屏更新时间 */
.overview-update-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--gap-md);
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(41,98,255,.14), rgba(38,166,154,.08));
  border: 1px solid rgba(41,98,255,.42);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}
.overview-update-icon { color: var(--accent); font-size: 18px; line-height: 1; }
.overview-update-label { color: var(--text-secondary); font-size: 13px; }
.overview-update-banner strong { color: var(--text-bright); font: 600 15px/1.2 var(--font-mono); letter-spacing: .02em; }
.overview-update-note { margin-left: auto; color: var(--text-muted); font-size: 11px; }

@media (max-width: 640px) {
  .overview-update-banner { align-items: flex-start; flex-wrap: wrap; gap: 7px 9px; }
  .overview-update-note { flex-basis: 100%; margin-left: 27px; }
}

/* Rate indicator cards */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
}

.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  transition: border-color 0.15s;
}

.rate-card:hover {
  border-color: var(--border-light);
}

.rate-card .rc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--gap-sm);
}

.rate-card .rc-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.rate-card .rc-region {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

.rate-card .rc-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 2px;
}

.rate-card .rc-source {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.3;
}

.rc-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rc-change.up { color: var(--bearish); }    /* yield up = bearish for bonds */
.rc-change.down { color: var(--bullish); }  /* yield down = bullish for bonds */
.rc-change.flat { color: var(--neutral); }

/* Region tag colors */
.tag-cn { background: rgba(229, 57, 53, 0.15); color: var(--cn); }
.tag-us { background: rgba(41, 98, 255, 0.15); color: var(--us); }
.tag-eu { background: rgba(255, 202, 40, 0.15); color: var(--eu); }
.tag-jp { background: rgba(236, 64, 122, 0.15); color: var(--jp); }
.tag-au { background: rgba(102, 187, 106, 0.15); color: var(--au); }
.tag-hk { background: rgba(126, 87, 194, 0.15); color: var(--hk); }

/* Daily summary */
.overview-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--gap-lg);
  margin-bottom: var(--gap-lg);
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
}

.summary-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: var(--gap-md);
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}

.summary-card h3 .icon {
  font-size: 16px;
}

.summary-content {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-primary);
}

.summary-content p { margin-bottom: var(--gap-sm); }

.summary-content .highlight-bull { color: var(--bullish); font-weight: 600; }
.summary-content .highlight-bear { color: var(--bearish); font-weight: 600; }

/* Event calendar */
.event-list { list-style: none; }

.event-item {
  display: flex;
  gap: var(--gap-md);
  padding: var(--gap-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.event-item:last-child { border-bottom: none; }

.event-time {
  min-width: 70px;
  color: var(--text-secondary);
  font-size: 12px;
}

.event-region {
  min-width: 40px;
  font-weight: 600;
  font-size: 11px;
}

.event-title { color: var(--text-primary); flex: 1; }

.event-impact {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   Section 2: Regional News
   ============================================ */
.region-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.region-tab {
  padding: 8px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: all 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
}

.region-tab:hover { color: var(--text-primary); }

.region-tab.active {
  color: var(--text-bright);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.region-tab .count {
  font-size: 11px;
  background: var(--bg-elevated);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
  color: var(--text-secondary);
}

/* News cards */
.news-list { display: flex; flex-direction: column; gap: var(--gap-md); }

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--neutral);
  border-radius: var(--radius);
  padding: var(--gap-md);
  transition: all 0.15s;
}

.news-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.news-card.impact-bullish { border-left-color: var(--bullish); }
.news-card.impact-bearish { border-left-color: var(--bearish); }
.news-card.impact-neutral { border-left-color: var(--neutral); }

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--gap-sm);
  gap: var(--gap-md);
}

.news-headline {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  flex: 1;
  line-height: 1.5;
}

.news-impact-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.impact-bullish-badge { background: var(--bullish-bg); color: var(--bullish); }
.impact-bearish-badge { background: var(--bearish-bg); color: var(--bearish); }
.impact-neutral-badge { background: var(--neutral-bg); color: var(--neutral); }

.news-meta {
  display: flex;
  gap: var(--gap-md);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--gap-sm);
}

.news-meta .source { color: var(--text-secondary); }
.news-meta .region-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.news-summary {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--gap-sm);
}

.news-logic {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
  border-left: 2px solid var(--border-light);
  line-height: 1.6;
}

.news-logic .logic-label {
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

/* ============================================
   Section 3: Central Banks
   ============================================ */
.cb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--gap-lg);
}

.cb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
  transition: border-color 0.15s;
}

.cb-card:hover { border-color: var(--border-light); }

.cb-header {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}

.cb-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.cb-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
}

.cb-fullname {
  font-size: 11px;
  color: var(--text-secondary);
}

.cb-stance {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: var(--gap-md);
}

.stance-hawkish { background: var(--bearish-bg); color: var(--bearish); }
.stance-dovish { background: var(--bullish-bg); color: var(--bullish); }
.stance-neutral { background: var(--neutral-bg); color: var(--neutral); }

.cb-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
}

.cb-rate-item {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
}

.cb-rate-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.cb-rate-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
}

.cb-timeline {
  font-size: 12px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: var(--gap-sm);
}

.cb-timeline div { margin-bottom: 4px; }

.cb-note {
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
  margin-top: var(--gap-sm);
  line-height: 1.6;
}

/* ============================================
   Section 4: Research Library
   ============================================ */
.research-toolbar {
  display: flex;
  gap: var(--gap-md);
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px 10px 38px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}

.search-box input:focus { border-color: var(--accent); }

.search-box::before {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
}

.filter-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer;
  outline: none;
  min-width: 120px;
}

.filter-select option { background: var(--bg-card); }

.research-list { display: flex; flex-direction: column; gap: var(--gap-md); }

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--gap-md);
  transition: all 0.15s;
}

.report-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--gap-md);
  margin-bottom: var(--gap-sm);
}

.report-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  flex: 1;
}

.report-source {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.report-meta {
  display: flex;
  gap: var(--gap-md);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--gap-sm);
}

.report-view {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--gap-sm);
}

.report-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.report-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
}

.report-card.clickable {
  cursor: pointer;
  border-left: 3px solid var(--accent);
}

.report-card.clickable:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 0 12px rgba(41, 98, 255, 0.15);
}

.report-link-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  text-align: right;
}

/* ============================================
   Section 5: Economic Data
   ============================================ */

/* Sub-tabs: 已公布 / 未来日历 */
.econ-subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--gap-lg);
  border-bottom: 1px solid var(--border);
}

.econ-subtab {
  padding: 8px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
  transition: all 0.15s;
}

.econ-subtab:hover { color: var(--text-primary); }

.econ-subtab.active {
  color: var(--text-bright);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.econ-subtab .count {
  font-size: 11px;
  background: var(--bg-elevated);
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
  color: var(--text-secondary);
}

/* Region filter for econ data */
.econ-region-filter {
  display: flex;
  gap: 6px;
  margin-bottom: var(--gap-lg);
  flex-wrap: wrap;
}

.econ-region-chip {
  padding: 5px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.15s;
  font-weight: 500;
}

.econ-region-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

.econ-region-chip.active {
  color: var(--text-bright);
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Econ data cards */
.econ-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.econ-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--neutral);
  border-radius: var(--radius);
  padding: var(--gap-md);
  transition: all 0.15s;
}

.econ-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.econ-card.impact-bullish { border-left-color: var(--bullish); }
.econ-card.impact-bearish { border-left-color: var(--bearish); }
.econ-card.impact-neutral { border-left-color: var(--neutral); }

.econ-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--gap-sm);
  gap: var(--gap-md);
}

.econ-indicator-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-bright);
  flex: 1;
  line-height: 1.5;
}

.econ-date-badge {
  font-size: 11px;
  color: var(--text-secondary);
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  white-space: nowrap;
}

.econ-meta {
  display: flex;
  gap: var(--gap-md);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--gap-sm);
  flex-wrap: wrap;
  align-items: center;
}

.econ-meta .region-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 600;
}

.econ-surprise {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.surprise-beat { background: var(--bullish-bg); color: var(--bullish); }
.surprise-miss { background: var(--bearish-bg); color: var(--bearish); }
.surprise-inline { background: var(--neutral-bg); color: var(--neutral); }

/* Data values table */
.econ-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
  margin-bottom: var(--gap-sm);
}

.econ-value-item {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
}

.econ-value-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.econ-value-num {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
}

/* Impact analysis */
.econ-impact {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
  border-left: 2px solid var(--border-light);
  line-height: 1.6;
}

.econ-impact .impact-label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-right: 6px;
  text-transform: uppercase;
}

.econ-impact .impact-label.bullish { color: var(--bullish); }
.econ-impact .impact-label.bearish { color: var(--bearish); }
.econ-impact .impact-label.neutral { color: var(--neutral); }

/* Upcoming data card */
.econ-upcoming-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--gap-md);
  transition: all 0.15s;
}

.econ-upcoming-card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.econ-upcoming-card.high-imp {
  border-left-color: var(--bearish);
}

.econ-impact-scenario {
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: var(--gap-sm) var(--gap-md);
  border-left: 2px solid var(--accent);
  line-height: 1.7;
  margin-top: var(--gap-sm);
}

.econ-impact-scenario .scenario-label {
  font-weight: 700;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-right: 6px;
  text-transform: uppercase;
}

.econ-importance {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.importance-high { background: var(--bearish-bg); color: var(--bearish); }
.importance-medium { background: var(--neutral-bg); color: var(--neutral); }

@media (max-width: 640px) {
  .econ-values { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.dash-footer {
  text-align: center;
  padding: var(--gap-lg);
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: var(--gap-xl);
  line-height: 1.8;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
  text-align: center;
  padding: var(--gap-xl) var(--gap-lg);
  color: var(--text-muted);
}

.empty-state .icon { font-size: 32px; margin-bottom: var(--gap-sm); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .overview-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-tabs { overflow-x: auto; }
  .nav-tabs li { padding: 8px 12px; font-size: 12px; }
  .nav-brand { font-size: 14px; margin-right: var(--gap-md); }
  .rate-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .cb-grid { grid-template-columns: 1fr; }
  .main-content { padding: var(--gap-md); }
}

/* ============================================
   Section 6: Spreads
   ============================================ */
.spread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.spread-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  border-left: 3px solid var(--border-light);
}
.spread-card.impact-bullish { border-left-color: var(--bullish); }
.spread-card.impact-bearish { border-left-color: var(--bearish); }
.spread-card.impact-neutral { border-left-color: var(--neutral); }
.spread-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.spread-value-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.spread-value {
  font-size: 22px;
  font-weight: 700;
}
.spread-widen { color: var(--bearish); }
.spread-narrow { color: var(--bullish); }
.spread-stable { color: var(--neutral); }
.spread-change {
  font-size: 12px;
  font-weight: 600;
}
.spread-logic {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Curve slopes */
.curve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.curve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.curve-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.curve-label {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
}
.curve-slope {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.curve-detail {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.curve-change {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.curve-steep { color: var(--bearish); }
.curve-flat { color: var(--bullish); }
.curve-stable { color: var(--neutral); }
.curve-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Spread trend table */
.spread-trend-table-inner {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spread-trend-table-inner th {
  background: var(--bg-elevated);
  padding: 10px 8px;
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}
.spread-trend-table-inner td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}
.spread-trend-table-inner tr:hover td {
  background: var(--bg-card-hover);
}
.trend-pair { font-weight: 600; color: var(--text-primary); }
.trend-widen { color: var(--bearish); }
.trend-narrow { color: var(--bullish); }
.trend-stable { color: var(--neutral); }

/* ============================================
   Section 7: Sentiment
   ============================================ */
.sentiment-gauge-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.gauge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.gauge-score {
  font-size: 28px;
  font-weight: 700;
}
.gauge-num {
  font-size: 36px;
  font-weight: 800;
}
.gauge-bar-wrap {
  margin-bottom: 16px;
}
.gauge-bar-bg {
  position: relative;
  height: 24px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}
.gauge-bar-zone {
  height: 100%;
}
.gauge-bull-zone {
  width: 33.33%;
  background: rgba(38, 166, 154, 0.2);
}
.gauge-neutral-zone {
  width: 33.34%;
  background: rgba(120, 123, 134, 0.15);
}
.gauge-bear-zone {
  width: 33.33%;
  background: rgba(239, 83, 80, 0.2);
}
.gauge-pointer {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 32px;
  background: var(--text-bright);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  transition: left 0.3s ease;
}
.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
}
.gauge-summary {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 16px 0;
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: 8px;
}
.sent-drivers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sent-driver {
  display: grid;
  grid-template-columns: 24px 160px 40px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sent-driver-dir {
  font-size: 16px;
  font-weight: 700;
}
.sent-bull { color: var(--bullish); }
.sent-bear { color: var(--bearish); }
.sent-neutral { color: var(--neutral); }
.sent-driver-name {
  font-weight: 600;
  color: var(--text-primary);
}
.sent-driver-weight {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 2px 8px;
  border-radius: 4px;
  text-align: center;
}
.sent-driver-detail {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Regional sentiment */
.regional-sentiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.reg-sent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.reg-sent-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.reg-sent-label {
  font-size: 13px;
  font-weight: 600;
}
.reg-sent-score {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.reg-sent-news {
  display: flex;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.reg-sent-driver {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.reg-sent-risk {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Bull/Bear drivers */
.bull-bear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bull-column, .bear-column {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.bb-col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.driver-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.driver-item:last-child {
  border-bottom: none;
}
.driver-icon {
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.driver-high {
  font-weight: 600;
}
.driver-high .driver-icon {
  font-size: 14px;
}

/* FedWatch */
.fw-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.fw-meeting {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.fw-bars {
  display: flex;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-base);
}
.fw-bar-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-bright);
}
.fw-hold { background: var(--bullish); }
.fw-hike25 { background: var(--warning, #ffca28); }
.fw-hike50 { background: var(--bearish); }
.fw-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Risk events */
.risk-event-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.risk-event-item:last-child {
  border-bottom: none;
}
.risk-date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-right: 8px;
}
.risk-event-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.risk-imp {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 600;
}
.event-high {
  background: var(--bearish-bg);
  color: var(--bearish);
}
.event-mid {
  background: var(--neutral-bg);
  color: var(--neutral);
}
.risk-scenario {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .spread-grid, .curve-grid, .regional-sentiment-grid {
    grid-template-columns: 1fr;
  }
  .bull-bear-grid {
    grid-template-columns: 1fr;
  }
  .sent-driver {
    grid-template-columns: 24px 1fr;
  }
  .sent-driver-weight, .sent-driver-detail {
    grid-column: 2;
  }
  .fw-row {
    grid-template-columns: 70px 1fr;
  }
  .fw-note {
    grid-column: 2;
  }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

/* ============================================
   Section 8: Eurozone Deep Dive
   ============================================ */
.ez-rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.ez-rate-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.ez-rate-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ez-rate-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}
.ez-ecb-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.ez-info-label {
  color: var(--text-secondary);
  font-size: 12px;
}
.ez-stance {
  color: var(--bearish);
  font-weight: 600;
}
.ez-note {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: 8px;
  margin-top: 8px;
}

/* Rate path timeline */
.ez-path-timeline {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.ez-path-item {
  min-width: 130px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  border-top: 3px solid var(--border-light);
}
.ez-path-hike { border-top-color: var(--bearish); }
.ez-path-cut { border-top-color: var(--bullish); }
.ez-path-hold { border-top-color: var(--neutral); }
.ez-path-date {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.ez-path-action {
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.ez-path-rate {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}

/* Market pricing bars */
.ez-pricing-section {
  margin-top: 12px;
}
.ez-pricing-row {
  display: grid;
  grid-template-columns: 100px 1fr 200px;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.ez-pricing-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.ez-pricing-bars {
  display: flex;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-base);
}
.ez-bar {
  height: 100%;
  transition: width 0.3s ease;
}
.ez-bar-cut { background: var(--bullish); }
.ez-bar-hold { background: var(--neutral); opacity: 0.5; }
.ez-bar-hike { background: var(--bearish); }
.ez-pricing-legend {
  display: flex;
  gap: 8px;
  font-size: 11px;
}

/* Inflation */
.ez-inf-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.ez-inf-headline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ez-inf-label {
  font-size: 12px;
  color: var(--text-secondary);
}
.ez-inf-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}
.ez-inf-prev {
  font-size: 12px;
  color: var(--text-muted);
}
.ez-inf-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 11px;
}
.ez-inf-table td {
  border-bottom: 1px solid var(--border);
}
.ez-proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.ez-proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.ez-proj-year {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ez-proj-hicp {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}
.ez-proj-core {
  font-size: 13px;
  color: var(--text-primary);
  margin: 4px 0;
}
.ez-proj-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.ez-country-inf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.ez-country-inf {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ez-country-name {
  font-size: 12px;
  color: var(--text-secondary);
}
.ez-country-val {
  font-size: 18px;
  font-weight: 700;
  font-family: monospace;
}
.ez-country-note {
  font-size: 10px;
  color: var(--text-muted);
}

/* Bond matrix */
.ez-flag {
  display: inline-block;
  background: var(--bg-elevated);
  color: var(--text-bright);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 4px;
}

/* Fiscal */
.ez-fiscal-header {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.ez-fiscal-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.ez-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.ez-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}
.ez-risk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.ez-fiscal-risk {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.ez-risk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ez-risk-country {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.ez-risk-level {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.ez-risk-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ez-fiscal-extra {
  margin-top: 8px;
}
.ez-fiscal-item {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 8px;
  background: var(--bg-elevated);
  border-radius: 6px;
  margin-bottom: 6px;
}

/* Middle East */
.ez-me-oil {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.ez-oil-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.ez-me-impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.ez-impact-stat {
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.ez-me-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ez-me-tl-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  border-left: 3px solid var(--bearish);
}
.ez-me-tl-date {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}
.ez-me-tl-event {
  font-size: 13px;
  color: var(--text-primary);
}
.ez-trans-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.ez-trans-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}
.ez-trans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ez-trans-channel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.ez-trans-strength {
  font-size: 11px;
  font-weight: 600;
}
.ez-trans-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Economy */
.ez-econ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.ez-econ-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.ez-gdp-grid {
  display: flex;
  gap: 8px;
}
.ez-gdp-card {
  flex: 1;
  background: var(--bg-elevated);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
}
.ez-gdp-period {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.ez-gdp-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-bright);
  font-family: monospace;
}
.ez-gdp-note {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ez-pmi-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.ez-pmi-row:last-child {
  border-bottom: none;
}

/* Drivers */
.ez-driver-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.ez-driver-item {
  border-radius: 8px;
  padding: 14px;
}
.ez-driver-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.ez-driver-factor {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.ez-driver-weight {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
  font-weight: 600;
}
.ez-driver-direction {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.ez-driver-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Assessment */
.ez-assess-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.ez-assess-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.ez-assess-row:last-child {
  border-bottom: none;
}
.ez-assess-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}
.ez-assess-value {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ez-rate-grid, .ez-proj-grid, .ez-risk-grid, .ez-trans-list, .ez-driver-grid {
    grid-template-columns: 1fr;
  }
  .ez-inf-header {
    grid-template-columns: 1fr;
  }
  .ez-me-oil {
    grid-template-columns: repeat(2, 1fr);
  }
  .ez-me-impact-stats {
    grid-template-columns: 1fr;
  }
  .ez-pricing-row {
    grid-template-columns: 80px 1fr;
  }
  .ez-pricing-legend {
    grid-column: 2;
  }
}

/* 欧元区深度已整合至研报区域（2026-08-11）：随 research section 显示，不再独立 tab */
.section.eurozone-inside { display: block; }

/* ===== 首页近期宏观研报（2026-08-11 置顶） ===== */
.home-reports { margin-bottom: var(--gap-lg); }
.home-reports-more {
  float: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--us);
  cursor: pointer;
  text-decoration: none;
}
.home-reports-more:hover { text-decoration: underline; }
.home-reports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2×3 六格（2026-08-11：同日多篇研报，4篇扩至6篇） */
  gap: var(--gap-md);
}
.home-report-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
.home-report-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.hr-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.hr-date { font-size: 11px; color: #8f97ad; }
.hr-new {
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hr-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hr-abs {
  font-size: 12px;
  color: #aab2c8; /* 2026-08-11 调亮：原 --text-muted(#4d525c) 对比度不足 */
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 768px) {
  .home-reports-grid { grid-template-columns: 1fr; }
  .home-reports-more { float: none; display: inline-block; margin-left: 8px; }
}

/* ===== 利率卡弱化 + WTD/MTD（2026-08-11 下调弱化） ===== */
.rate-card { opacity: 0.94; }
.rc-change-day { font-size: 11px; color: var(--text-muted); opacity: 0.85; }
.rc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 7px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.rc-metric-label { font-size: 10px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.5px; }
.rc-metric-val { font-size: 13px; font-weight: 600; }
.rc-metric-val.up { color: var(--bearish); }
.rc-metric-val.down { color: var(--bullish); }
.rc-metric-val.flat { color: var(--neutral); }

/* ===== 利差/曲线 YTD·MTD（2026-08-11 新增） ===== */
.spread-metrics {
  display: flex;
  gap: 16px;
  margin: 10px 0 2px;
  padding: 7px 0;
  border-top: 1px dashed var(--border);
  flex-wrap: wrap;
}
.spread-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spread-metric-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.spread-metric-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-bright);
}
.curve-card .spread-metrics { margin-top: 4px; }

/* ===== 期限利差分析（2026-08-11 改版：同币种曲线内期限对比） ===== */
.term-spread-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-md);
}
.term-market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.term-market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--border);
}
.term-tenors {
  font-size: 11px;
  color: var(--text-muted);
}
.term-pair-item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.term-pair-item:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.term-pair-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.term-pair-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-bright);
  min-width: 76px;
}
.term-pair-vals {
  font-size: 11px;
  color: var(--text-muted);
}
.term-pair-spread {
  font-size: 15px;
  font-weight: 700;
}
.term-pair-chg {
  font-size: 11px;
  margin-left: auto;
}
.term-pair-note {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 6px;
}
.term-market-card .spread-metrics {
  margin: 6px 0 0;
  padding-top: 6px;
}
@media (max-width: 900px) {
  .term-spread-grid { grid-template-columns: 1fr; }
}
