.admin.perf { max-width: 1100px; }
.perf .kpis { margin: 0 0 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.perf .kpi .note { border: 0; padding: 0; background: none; color: var(--muted); }
.perf .kpi .value { font-size: 20px; }
.perf #daily { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: block; }
.perf #daily .grid { stroke: var(--line); stroke-width: 1; }
.perf #daily .zero { stroke: var(--muted); stroke-width: 1; }
.perf #daily text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.perf #daily .gain { fill: var(--pos-bar); opacity: 0.75; }
.perf #daily .loss { fill: var(--neg-bar); opacity: 0.75; }
.perf #daily .run { fill: none; stroke: var(--accent); stroke-width: 2; }
.perf #daily .hit { fill: transparent; }
.perf .keys { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 8px 0; font-size: 12px; }
.perf .keys li::before { content: ""; display: inline-block; width: 12px; height: 10px; margin-right: 6px; vertical-align: middle; }
.perf .keys .k-gain::before { background: var(--pos-bar); opacity: 0.75; }
.perf .keys .k-loss::before { background: var(--neg-bar); opacity: 0.75; }
.perf .keys .k-run::before { height: 0; border-top: 2px solid var(--accent); }
.perf .keys .k-alloc::before { height: 0; border-top: 2px dashed var(--muted); }
.perf #equity { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; display: block; }
.perf #equity .grid { stroke: var(--line); stroke-width: 1; }
.perf #equity text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.perf #equity .run { fill: none; stroke: var(--accent); stroke-width: 2; }
.perf #equity .alloc { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 4; }
.perf #equity .hit { fill: transparent; }
.perf .notes { color: var(--muted); font-size: 12px; padding-left: 18px; }
.perf .row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; }
.perf td a { color: var(--accent); }
.perf .report-text { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px; font-size: 12px; margin-top: 10px; max-height: 520px; overflow: auto; }
