.performance-section { background: #edf4f8; scroll-margin-top: 90px; }
.quant-hero .performance-link { color: #a4e9ed; margin-inline-start: 12px; }
.performance-heading { max-width: 750px; margin-bottom: 24px; }
.performance-heading h2 { margin-bottom: 10px; }
.performance-heading p { color: var(--muted); margin: 0; }
.performance-panel { background: #fff; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); border-radius: 12px; }
.performance-controls[hidden], .performance-panel canvas[hidden] { display: none; }
.performance-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.performance-controls label { display: grid; gap: 4px; font-weight: 680; color: var(--muted); }
.performance-controls select { min-height: 42px; padding: 7px 24px 7px 10px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.performance-periods { display: flex; flex-wrap: wrap; gap: 4px; }
.performance-panel button { font: inherit; color: var(--ink); cursor: pointer; }
.performance-periods button { padding: 8px 10px; min-height: 42px; border: 1px solid transparent; border-radius: 6px; background: #f0f4f7; }
.performance-panel button[aria-pressed="true"] { color: #125e53; border-color: #6da99f; background: #e8f6f2; }
.performance-result { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin-top: 14px; }
.performance-result output { font-size: clamp(28px, 5vw, 52px); letter-spacing: -.045em; font-weight: 760; color: #126b62; font-variant-numeric: tabular-nums; }
.performance-date, .performance-status { color: var(--muted); font-size: 14px; }
.performance-status { margin: 8px 0 0; }
.performance-panel canvas { display: block; width: 100%; height: clamp(210px, 32vw, 345px); margin: 14px 0; }
.performance-assets { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 7px; margin-top: 16px; }
.performance-assets button { display: grid; justify-items: start; padding: 8px; min-height: 51px; text-align: left; border: 1px solid var(--line); border-radius: 6px; background: #fafcfd; }
.performance-assets span { font-size: 12px; }
.performance-assets strong { font-size: 13px; color: #126b62; font-variant-numeric: tabular-nums; }
.performance-result [data-negative="true"], .performance-assets [data-negative="true"] { color: #a83647; }
.performance-method { margin-top: 20px; color: var(--muted); }
.performance-method summary { cursor: pointer; color: var(--ink); font-weight: 680; }
.performance-method ul { padding-inline-start: 20px; }
.performance-method li + li { margin-top: 6px; }
.performance-entry { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.performance-entry h2 { margin: 0 0 6px; }
.performance-entry p { margin: 0; color: var(--muted); }
.performance-entry > a { flex-shrink: 0; }

@media (max-width: 640px) {
  .performance-entry { align-items: flex-start; flex-direction: column; gap: 14px; }
  .performance-assets { grid-template-columns: repeat(auto-fit, minmax(89px, 1fr)); }
}
