:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --ink: #18212b;
  --muted: #60707d;
  --line: #d9e0de;
  --accent: #0f766e;
  --accent-2: #b45309;
  --accent-3: #365486;
  --up: #c24132;
  --down: #0f8a5f;
  --shadow: 0 12px 30px rgba(24, 33, 43, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 64px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.topnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
}

.topnav a {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
}

.topnav a.is-active,
.topnav a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.topbar-report-slot {
  display: flex;
  min-width: 0;
  margin-left: auto;
}

.topbar-report-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.topbar-report-select select {
  width: 148px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  padding: 0 10px;
}

.topbar-report-select select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.page {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 22px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.report-select-box {
  min-width: 160px;
}

.report-select-box select {
  height: 36px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.subtle {
  color: var(--muted);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.search-box,
.select-box {
  display: grid;
  gap: 6px;
  min-width: 180px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.search-box input,
.select-box select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  outline: none;
  padding: 0 12px;
}

.search-box input:focus,
.select-box select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card,
.fund-card,
.chart-band,
.table-section,
.detail-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 16px;
  min-height: 106px;
}

.metric-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.metric-value {
  font-size: 28px;
  font-weight: 750;
  line-height: 1.1;
}

.metric-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.filter-row {
  display: flex;
  margin-bottom: 20px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button,
.pill-link {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  padding: 7px 12px;
}

.segmented button.is-active,
.segmented button:hover,
.pill-link:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: var(--surface-2);
  color: var(--accent);
}

.chart-band {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  margin-bottom: 20px;
}

.chart {
  width: 100%;
  min-width: 0;
}

.chart-md {
  height: 320px;
}

.chart-index-donut {
  height: 300px;
}

.chart-xl {
  height: 420px;
}

.chart-lg {
  height: 380px;
}

.industry-chart-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.industry-chart-scroll .chart-lg {
  min-width: 1180px;
  height: 480px;
}

.chart-donut {
  height: 380px;
}

.chart-holdings {
  height: 360px;
}

.chart-barra {
  height: 500px;
}

.chart-barra-radar {
  height: 480px;
}

.fund-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.fund-card {
  display: flex;
  min-height: 252px;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.fund-card:hover {
  border-color: rgba(15, 118, 110, 0.45);
  transform: translateY(-2px);
}

.fund-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fund-title strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.tag {
  display: inline-flex;
  height: 26px;
  align-items: center;
  white-space: nowrap;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  padding: 0 8px;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.mini-metric strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.positive {
  color: var(--up);
}

.negative {
  color: var(--down);
}

.card-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.table-section,
.detail-panel {
  padding: 18px;
  margin-bottom: 20px;
}

.core-chart-panel {
  overflow: hidden;
}

.core-tabs {
  display: flex;
  gap: 24px;
  min-width: 0;
  margin: -18px -18px 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.core-tabs button {
  height: 52px;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
  padding: 0 0 1px;
}

.core-tabs button.is-active,
.core-tabs button:hover {
  border-bottom-color: #155bd5;
  color: #155bd5;
}

.core-chart-title {
  margin-bottom: 8px;
}

.core-chart-title p {
  margin-bottom: 0;
}

.core-chart-stage {
  position: relative;
  min-height: 420px;
}

.core-chart-view {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.core-chart-view.is-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.index-distribution-title h2 {
  position: relative;
  margin-bottom: 0;
  padding-left: 16px;
  color: #1d4ec9;
}

.industry-donut-title h2 {
  position: relative;
  margin-bottom: 0;
  padding-left: 16px;
  color: #1d4ec9;
}

.index-distribution-title h2::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: #155bd5;
  content: "";
}

.industry-donut-title h2::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: #155bd5;
  content: "";
}

.index-distribution-body {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.82fr);
  gap: 28px;
  align-items: center;
}

.index-donut-block {
  min-width: 0;
}

.distribution-table-wrap {
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.distribution-table {
  min-width: 0;
}

.distribution-table th,
.distribution-table td {
  border-bottom: 0;
  padding: 10px 12px;
  font-weight: 750;
  text-align: right;
}

.distribution-table th:first-child,
.distribution-table td:first-child {
  text-align: left;
}

.distribution-table thead th {
  border-bottom: 1px solid var(--line);
  color: #7a5b38;
  font-size: 13px;
}

.distribution-table tbody tr:first-child td {
  padding-top: 14px;
}

.distribution-table tbody tr:last-child td {
  padding-bottom: 14px;
}

.barra-title {
  align-items: center;
}

.barra-radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(600px, 1.05fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.barra-radar-pane,
.barra-reading-pane {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfa;
}

.barra-radar-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.barra-radar-heading,
.barra-reading-title {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  text-align: center;
}

.barra-radar-heading strong,
.barra-reading-title strong {
  color: var(--ink);
  font-size: 16px;
}

.barra-radar-heading span,
.barra-reading-title span {
  color: var(--muted);
  font-size: 12px;
}

.barra-reading-title b {
  color: #365486;
}

.barra-reading-header,
.barra-reading-row {
  display: grid;
  grid-template-columns: 62px minmax(105px, 0.75fr) minmax(230px, 1.35fr) minmax(105px, 0.75fr);
  gap: 10px;
  align-items: center;
}

.barra-reading-header {
  min-height: 32px;
  border-bottom: 1px solid var(--line);
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.barra-reading-header span:first-child {
  text-align: left;
}

.barra-reading-body {
  padding: 0 12px;
}

.barra-reading-row {
  min-height: 44px;
  border-bottom: 1px solid #e7ebe9;
}

.barra-reading-row:last-child {
  border-bottom: 0;
}

.barra-reading-factor {
  color: var(--ink);
  font-size: 13px;
}

.barra-reading-meaning {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
  text-align: center;
}

.barra-reading-scale-wrap {
  min-width: 0;
}

.barra-reading-scale {
  position: relative;
  height: 20px;
  border: 1px solid #d6ddda;
  border-radius: 7px;
  background: linear-gradient(90deg, #e8f2eb 0%, #f5f7f4 50%, #f6e8e5 100%);
}

.barra-scale-zero {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 50%;
  border-left: 1px dashed #9aa7a0;
}

.barra-benchmark-mark {
  position: absolute;
  z-index: 2;
  top: -4px;
  bottom: -4px;
  width: 2px;
  border-radius: 2px;
  background: #365486;
  transform: translateX(-50%);
}

.barra-benchmark-mark::after {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid #365486;
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateX(-50%);
}

.barra-fund-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  min-width: 58px;
  min-height: 30px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: 0 2px 7px rgba(24, 33, 43, 0.18);
  color: #fff;
  line-height: 1;
  padding: 3px 7px;
  transform: translate(-50%, -50%);
}

.barra-fund-mark b {
  font-size: 11px;
}

.barra-fund-mark small {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 700;
}

.barra-fund-mark.is-positive {
  background: var(--up);
}

.barra-fund-mark.is-negative {
  background: var(--down);
}

.barra-fund-mark.is-neutral {
  background: #788691;
}

.barra-scale-axis {
  display: flex;
  justify-content: space-between;
  color: #8a969d;
  font-size: 8px;
  line-height: 1;
  padding: 2px 3px 0;
}

.barra-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.barra-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.barra-chart-pane,
.barra-table-pane {
  display: grid;
  min-width: 0;
  grid-template-rows: 44px minmax(0, 1fr);
  border-top: 2px solid var(--ink);
}

.barra-subhead {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.barra-subhead strong {
  color: var(--ink);
  font-size: 14px;
}

.barra-meta-line {
  display: flex;
  flex-wrap: wrap;
  min-width: 210px;
  align-content: center;
  align-items: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding-right: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.barra-meta-line span {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 8px;
}

.barra-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.barra-profile-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.barra-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.barra-chip {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 9px;
}

.barra-chip.is-high strong {
  color: var(--up);
}

.barra-chip.is-low strong {
  color: var(--down);
}

.barra-table-wrap {
  height: 500px;
  border-top: 1px solid var(--line);
  overflow: auto;
}

.barra-table {
  height: 100%;
  min-width: 0;
  table-layout: fixed;
}

.barra-table th:first-child,
.barra-table td:first-child {
  width: 34%;
}

.barra-table th,
.barra-table td {
  padding: 10px 12px;
  text-align: right;
  white-space: nowrap;
}

.barra-table th:first-child,
.barra-table td:first-child {
  text-align: left;
}

.barra-table th:last-child,
.barra-table td:last-child {
  background: rgba(15, 118, 110, 0.045);
  font-weight: 750;
}

.barra-table tbody tr:hover td {
  background: var(--surface-2);
}

.analysis-report-panel {
  margin-top: 20px;
}

.analysis-report-title {
  align-items: flex-start;
  margin-bottom: 18px;
}

.analysis-report-title h2 {
  margin-bottom: 5px;
}

.analysis-report-title p {
  margin-bottom: 0;
  font-size: 13px;
}

.analysis-report-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.analysis-report-badge {
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  padding: 4px 8px;
}

.analysis-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.analysis-report-grid.is-single {
  grid-template-columns: 1fr;
}

.analysis-report-section {
  min-width: 0;
  padding: 2px 24px 0 0;
}

.analysis-report-section + .analysis-report-section {
  border-left: 1px solid var(--line);
  padding-right: 0;
  padding-left: 24px;
}

.analysis-report-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.analysis-report-section h3::before {
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
}

.analysis-report-preview {
  min-height: 112px;
  margin-bottom: 12px;
  color: #33424c;
  font-size: 14px;
  line-height: 1.85;
  text-align: justify;
}

.analysis-report-details {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.analysis-report-details summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  list-style-position: inside;
}

.analysis-report-details[open] summary {
  margin-bottom: 14px;
}

.analysis-report-copy {
  max-height: 420px;
  overflow-y: auto;
  border-left: 2px solid var(--line);
  padding: 0 14px;
  color: #33424c;
  font-size: 14px;
  line-height: 1.85;
  text-align: justify;
}

.analysis-report-copy p {
  margin-bottom: 12px;
}

.analysis-report-copy p:last-child {
  margin-bottom: 0;
}

.analysis-report-disclaimer {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  padding-top: 12px;
}

.analysis-report-empty {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0 10px;
}

.info-dot {
  display: inline-grid;
  width: 15px;
  height: 15px;
  margin-left: 4px;
  place-items: center;
  border-radius: 50%;
  background: #cbd5e1;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  vertical-align: 1px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.periodic-title {
  align-items: flex-start;
}

.periodic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.periodic-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 7px;
  background: #eff6ff;
  color: #155bd5;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
}

.return-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.check-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.periodic-table-wrap {
  border-top: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.periodic-table {
  min-width: 1180px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

td {
  font-size: 14px;
}

.periodic-table th,
.periodic-table td {
  text-align: center;
  white-space: nowrap;
}

.periodic-table th:first-child,
.periodic-table th:nth-child(2),
.periodic-table td:first-child,
.periodic-table td:nth-child(2) {
  text-align: left;
}

.periodic-year,
.return-name {
  color: var(--ink);
  font-weight: 700;
}

.dash {
  color: #8a98a3;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.detail-grid > *,
.barra-radar-layout > *,
.barra-layout > *,
.info-distribution-layout > *,
.two-col > *,
.drawdown-distribution > *,
.industry-layout > * {
  min-width: 0;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-distribution-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
}

.drawdown-distribution {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.holdings-charts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.holdings-charts > * {
  min-width: 0;
}

.data-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.data-list div {
  min-height: 60px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.data-list dt {
  color: var(--muted);
  font-size: 12px;
}

.data-list dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.loading-state,
.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .summary-grid,
  .fund-grid,
  .detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .two-col,
  .chart-band {
    grid-template-columns: 1fr;
  }

  .holdings-charts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .barra-radar-layout {
    grid-template-columns: 1fr;
  }

  .analysis-report-grid {
    grid-template-columns: 1fr;
  }

  .analysis-report-section {
    padding-right: 0;
  }

  .analysis-report-section + .analysis-report-section {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }
}

@media (max-width: 920px) {
  .barra-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 58px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 18px;
  }

  .topbar-report-slot,
  .topbar-report-select,
  .topbar-report-select select {
    width: 100%;
  }

  .topbar-report-slot {
    margin-left: 0;
  }

  .topbar-report-select {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .page {
    width: min(100% - 28px, 1440px);
    padding-top: 22px;
  }

  .page-head,
  .detail-head {
    grid-template-columns: 1fr;
  }

  .detail-actions {
    justify-content: stretch;
  }

  .detail-actions .pill-link {
    width: 100%;
    text-align: center;
  }

  .toolbar {
    justify-content: stretch;
  }

  .search-box,
  .select-box {
    min-width: 100%;
  }

  .summary-grid,
  .fund-grid,
  .detail-metrics,
  .data-list {
    grid-template-columns: 1fr;
  }

  .chart-md,
  .chart-index-donut,
  .chart-xl,
  .chart-lg,
  .chart-donut,
  .chart-barra-radar,
  .chart-barra,
  .chart-holdings {
    height: 300px;
  }

  .barra-radar-heading,
  .barra-reading-title {
    min-height: 62px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .barra-reading-header {
    display: none;
  }

  .barra-reading-body {
    padding: 0 10px;
  }

  .barra-reading-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    min-height: 96px;
    padding: 10px 0;
  }

  .barra-reading-factor {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .barra-reading-scale-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .barra-reading-meaning.is-negative {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }

  .barra-reading-meaning.is-positive {
    grid-column: 2;
    grid-row: 3;
    text-align: right;
  }

  .barra-overview,
  .barra-profile {
    grid-template-columns: 1fr;
  }

  .barra-meta-line {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .barra-table-wrap {
    height: auto;
  }

  .analysis-report-preview {
    min-height: 0;
    text-align: left;
  }

  .analysis-report-copy {
    max-height: 360px;
    text-align: left;
  }

  .core-chart-stage {
    min-height: 300px;
  }

  .fund-card {
    min-height: 220px;
  }

  .card-metrics {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .drawdown-distribution,
  .barra-layout,
  .info-distribution-layout,
  .index-distribution-body,
  .industry-layout,
  .holdings-charts {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }
}
