:root { color-scheme: dark; --bg: #080f1e; --card: #0e1e37; --text: #edf3fa; --muted: #9aabc2; --gold: #f2c14e; --blue: #72b7ff; --green: #57d5ad; --red: #ff7d97; --border: #26374f; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
.report { width: min(1160px, 100%); padding: 24px; margin: 0 auto; }
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 46px; }
.brand { color: var(--text); text-decoration: none; font-size: 20px; font-weight: 800; }
.brand span, .report-intro h1 span { color: var(--gold); }
.back-link { color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--gold); }
.eyebrow { color: var(--gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.report-intro h1 { font-family: Georgia, serif; font-size: clamp(28px, 5vw, 42px); line-height: 1.2; margin: 12px 0; }
.report-intro p { color: var(--muted); margin: 0 0 30px; }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 24px; margin: 0 0 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.summary dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.summary dd { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.negative { color: var(--red); }
.chart-panel { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: linear-gradient(180deg, #0e1e37, #080f1e 70%); }
.chart-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.chart-tabs, .chart-ranges { display: flex; flex-wrap: wrap; gap: 5px; }
button { min-height: 40px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
button:hover { border-color: var(--border); color: var(--text); }
button[aria-pressed="true"] { background: #f2c14e1b; color: var(--gold); border-color: #f2c14e50; }
button:focus-visible, a:focus-visible, input:focus-visible, canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.chart-heading h2 { margin: 0 0 3px; font-size: 16px; }
.chart-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.currency { color: var(--muted); font-size: 11px; letter-spacing: .1em; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px 22px; min-height: 24px; margin-bottom: 8px; }
.chart-legend label { display: flex; align-items: center; gap: 7px; cursor: pointer; color: var(--muted); font-size: 12px; }
.chart-legend input { accent-color: var(--gold); width: 15px; height: 15px; margin: 0; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.balance-dot { background: var(--gold); }
.equity-dot { background: var(--blue); }
.canvas-wrap { position: relative; width: 100%; height: 340px; }
canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; border-radius: 4px; }
.chart-readout { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 13px 16px; min-height: 48px; background: #11223a; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.chart-readout strong { color: var(--gold); }
.chart-help, .chart-notes, .disclaimer { color: var(--muted); font-size: 11px; line-height: 1.65; }
.chart-help { margin: 12px 0 4px; }
.chart-notes { margin: 0; }
.disclaimer { margin: 18px 0 0; }
.is-embedded .report-header, .is-embedded .report-intro, .is-embedded .summary, .is-embedded .disclaimer { display: none; }
.is-embedded .report { padding: 18px; }
.is-embedded .chart-panel { padding: 6px; border: 0; border-radius: 0; background: transparent; }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  .report { padding: 18px 14px; }
  .report-header { margin-bottom: 32px; }
  .brand { font-size: 17px; }
  .back-link { font-size: 12px; }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 18px 16px; }
  .chart-panel { padding: 16px 12px; }
  .chart-toolbar { gap: 10px; margin-bottom: 18px; }
  .chart-tabs { width: 100%; }
  .chart-tabs button { flex: 1; padding-inline: 8px; }
  .chart-ranges { width: 100%; }
  .chart-ranges button { flex: 1; }
  .canvas-wrap { height: 300px; }
  .chart-readout { padding: 12px; gap: 5px 12px; }
  .is-embedded .report { padding: 16px 10px; }
}
