/* Performance report: Independent vs Bank-Distributed Equity Funds */
.report-container { max-width: 960px; margin: 0 auto; padding: 0 24px 3rem; }
.report-header { text-align: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 3px solid var(--ink-navy, #1a2744); }
.report-header .report-title { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink-navy); line-height: 1.2; margin-bottom: 0.5rem; }
.report-header .report-subtitle { font-size: 1.15rem; color: var(--slate); margin-bottom: 1rem; }
.report-tag-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.report-tag { display: inline-block; padding: 5px 16px; border: 1.5px solid var(--border); border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--slate); }

.perf-section { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 2rem 1.5rem; margin-bottom: 1.5rem; }
.perf-section h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink-navy); margin-bottom: 1rem; line-height: 1.3; }
.perf-section h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.perf-section p { margin-bottom: 1rem; color: var(--text); }
.perf-section p:last-child { margin-bottom: 0; }

.findings-grid { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.finding-card { flex: 1 1 calc(25% - 0.75rem); min-width: 11rem; border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem 1rem; text-align: center; display: flex; flex-direction: column; min-height: 0; }
.finding-card .finding-metric { display: inline-block; padding: 4px 16px; border: 2px solid #16a34a; border-radius: 20px; color: #16a34a; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; flex-shrink: 0; }
.finding-card .finding-label { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.25rem; flex-shrink: 0; }
.finding-card .finding-desc { font-size: 0.82rem; color: var(--slate); line-height: 1.5; flex: 1; min-height: 0; }

.perf-data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.92rem; }
.perf-data-table thead th { text-align: left; padding: 12px 16px; font-weight: 600; color: var(--slate); border-bottom: 2px solid var(--border); font-size: 0.85rem; }
.perf-data-table thead th:not(:first-child) { text-align: right; }
.perf-data-table tbody td { padding: 10px 16px; border-bottom: 1px solid #f1f5f9; }
.perf-data-table tbody td:not(:first-child) { text-align: right; }
.perf-data-table .row-highlight { background: #f8fafc; font-weight: 600; }
.perf-data-table .row-fidelity { background: #eff6ff; font-weight: 700; }
.perf-data-table .row-ind { background: #f0fdf4; font-weight: 600; }
.perf-data-table .row-ins { background: #fef3c7; font-weight: 600; }
.perf-data-table .best-val { color: #16a34a; font-weight: 700; }
.perf-data-table .worst-val { color: #dc2626; font-weight: 700; }

.comparison-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.comparison-col h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.comparison-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; color: var(--text); }
.comparison-row.total { border-top: 2px solid var(--border); padding-top: 12px; margin-top: 4px; }
.comparison-row.total .label { color: #16a34a; font-weight: 600; }
.comparison-row.total .value { color: #16a34a; font-weight: 700; font-size: 1.05rem; }
.comparison-row .value { font-weight: 600; }

.steps-list { list-style: none; padding: 0; }
.steps-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; font-size: 0.95rem; color: var(--text); }
.step-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; }
.step-num.s1 { background: var(--ink-navy); }
.step-num.s2 { background: #16a34a; }
.step-num.s3 { background: #c8a050; }
.step-num.s4 { background: #7c3aed; }

.milestone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; }
.milestone-card { border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; }
.milestone-card .period { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.milestone-card .amount { font-size: 1.5rem; font-weight: 700; color: #16a34a; margin-bottom: 0.25rem; }
.milestone-card .note { font-size: 0.82rem; color: var(--slate); }

.chart-box { border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; margin-top: 1.25rem; margin-bottom: 1.25rem; min-height: 320px; }
.chart-box .chart-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.chart-box .chart-subtitle { font-size: 0.85rem; color: var(--slate); margin-bottom: 1rem; }
.chart-box canvas { max-height: 360px; min-height: 280px; display: block; }

.scope-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem 1.5rem; margin-top: 1rem; }
.scope-box h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.scope-box ul { padding-left: 20px; font-size: 0.88rem; color: var(--text); }
.scope-box ul li { margin-bottom: 4px; }

.report-footer-note { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--slate); line-height: 1.8; }

@media (max-width: 768px) {
  .finding-card { flex: 1 1 calc(50% - 0.5rem); min-width: 10rem; }
  .comparison-grid-2 { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: 1fr; }
  .perf-section { padding: 1.25rem 1rem; }
}
@media (max-width: 480px) {
  .finding-card { flex: 1 1 100%; min-width: 0; }
}
