.investor-hero {
  position: relative;
  margin-top: 72px;
}

.investor-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.investor-hero .hero-text {
  position: absolute;
  left: 10%;
  bottom: 18%;
  color: #ffffff;
  background: rgba(10, 46, 99, 0.55);
  padding: 24px 32px;
  border-radius: 8px;
  max-width: 420px;
}

.investor-hero .hero-text .line {
  width: 56px;
  height: 4px;
  background: #ffc000;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .investor-hero img {
    height: 260px;
  }

  .investor-hero .hero-text {
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    text-align: center;
  }
}

.financial-banner {
  position: relative;
  margin-top: 96px;
}

.financial-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.financial-banner .banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 8%;
  color: #fff;
}

.financial-banner .line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #fab900, #006fbc);
  margin-bottom: 16px;
}

.financial-banner h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.financial-banner p {
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.financial-section {
  padding: 0 0 0;
  background: #f7f9fb;
}

.financial-section .tab-header {
  display: flex;
 
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
 
        margin-bottom: 32px;
        border-bottom: 2px solid #E9EAEB;
}

.financial-section .performance-tab {
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  padding: 12px 32px;
  border-bottom: 3px solid transparent;
  color: #6b7280;
  transition: all 0.2s ease;
}

.financial-section .performance-tab.active {
  color: #005caa;
  border-color: #005caa;
}

.financial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(11, 43, 105, 0.08);
  margin-bottom: 32px;
}

.financial-card.is-hidden {
  display: none;
}

/* 确保 is-hidden 类在所有情况下都能隐藏元素 */
.is-hidden {
  display: none !important;
}

/* 确保 data-category 元素的隐藏规则生效 */
[data-category].is-hidden {
  display: none !important;
}

.financial-section [data-category].is-hidden {
  display: none !important;
}

.summary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.period-tabs {
  display: inline-flex;
  gap: 8px;
  border-radius: 999px;
  background: #eff2f7;
  padding: 4px;
}

.period-tabs button {
  border: none;
  background: transparent;
  padding: 8px 24px;
  border-radius: 999px;
  font-weight: 600;
  color: #6b7280;
}

.period-tabs button.active {
  background: #fff;
  color: #0a2e63;
  box-shadow: 0 6px 16px rgba(15, 58, 123, 0.18);
}

.indicator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.indicator-tabs button {
  border: 1px solid #d5dae4;
  border-radius: 12px;
  padding: 10px 20px;
  background: #fff;
  color: #4b5563;
  font-weight: 600;
}

.indicator-tabs button.active {
  border-color: #005caa;
  color: #005caa;
  box-shadow: 0 10px 20px rgba(0, 92, 170, 0.15);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.chart-toolbar h3 {
  font-size: 20px;
  margin: 0;
}

.chart-mode {
  display: inline-flex;
  gap: 8px;
}

.chart-mode button {
  border: 1px solid #d5dae4;
  background: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.chart-mode button.active {
  border-color: #0b62c0;
  color: #0b62c0;
  box-shadow: 0 10px 20px rgba(11, 98, 192, 0.18);
}

.financial-chart {
  border: 1px solid #e2e7f1;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.financial-chart svg {
  width: 100%;
  height: auto;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #5b647b;
}

.chart-legend span {
  position: relative;
  padding-left: 18px;
}

.chart-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-blue::before {
  background: #2f80ed;
}

.legend-green::before {
  background: #27ae60;
}

.legend-orange::before {
  background: #f2994a;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.kpi-card {
  border: 1px solid #ecf0f7;
  border-radius: 16px;
  padding: 20px;
  background: #fdfefe;
}

.kpi-label {
  font-size: 14px;
  color: #6b7280;
}

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #0a2e63;
  margin: 4px 0;
}

.kpi-subtext {
  font-size: 13px;
  color: #27ae60;
}

.rating-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.rating-row {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(7, 30, 78, 0.08);
}

.rating-row td {
  padding: 18px 24px;
  vertical-align: middle;
}

.rating-row td:first-child {
  width: 220px;
}

.agency-logo {
  font-size: 20px;
  font-weight: 700;
  color: #d13239;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #edf5ff;
  color: #0c4fb1;
  font-weight: 600;
}

.dividend-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.dividend-card {
  border: 1px solid #e5eaf4;
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(11, 43, 105, 0.08);
}

.dividend-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.dividend-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dividend-card li {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: #0a2e63;
}

.dividend-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 20px;
}

.dividend-chart {
  border: 1px solid #e2e7f1;
  border-radius: 20px;
  padding: 24px;
  background: #fdfdfd;
}

.dividend-chart svg {
  width: 100%;
  height: auto;
}

.overview-note {
  font-size: 14px;
  color: #6b7280;
  margin-top: 16px;
}

/* 修复分红摘要片段在 financial-card 内的样式冲突 */
.financial-card .dividend-summary {
  padding: 0 !important;
  background-color: transparent !important;
  margin: 0;
}

.financial-card .dividend-summary .container {
  padding: 0 !important;
  max-width: 100%;
  margin: 0;
}

.financial-card .dividend-summary .dividend-header {
  margin-bottom: 24px;
  text-align: left;
}

.financial-card .dividend-summary .dividend-header h2 {
  font-size: 24px;
  text-align: left;
  margin: 0;
}

/* 调整分红卡片在 financial-card 内的样式 */
.financial-card .dividend-summary .dividend-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* 调整分红图表在 financial-card 内的样式 */
.financial-card .dividend-summary .dividend-chart {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #e2e7f1;
  border-radius: 20px;
  padding: 24px;
}

@media (max-width: 768px) {
  .financial-card {
    padding: 24px;
  }

  .summary-filters {
    align-items: flex-start;
  }

  .rating-row td {
    display: block;
  }

  .rating-row td:first-child {
    width: auto;
  }
}

/* Tab pane 样式 */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

