.report { padding: 0 var(--space-4) var(--space-5); }

#reportSection > h2 { display: flex; align-items: center; gap: var(--space-2); }
#reportSection #reportAge {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-mono);
}

.report-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-3);
}
.report-totals .stat { display: flex; flex-direction: column; gap: 2px; font-variant-numeric: tabular-nums; }
.report-totals .stat .label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}
.report-totals .stat .value {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text);
  line-height: 1.15;
}
.report-totals .stat .value.pos { color: var(--up); }
.report-totals .stat .value.neg { color: var(--down); }
.report-totals .stat .sub { font-size: 11px; color: var(--muted); }

.report-hint {
  margin: 0 0 var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.report-hint strong { color: var(--text); font-weight: 600; }
.report-hint em { color: var(--text); font-style: normal; font-family: var(--font-mono); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; cursor: pointer; user-select: none; white-space: nowrap; }
th.num { text-align: right; }
th[data-sort] .arrow { opacity: 0; margin-left: 4px; display: inline-block; width: 8px; }
th[aria-sort="asc"]  .arrow::before { content: '▲'; opacity: 1; }
th[aria-sort="desc"] .arrow::before { content: '▼'; opacity: 1; }
td.num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
tr.sym-row:hover { background: var(--surface-2); cursor: pointer; }
.microtags { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.microtag { font-size: 10px; padding: 1px 5px; background: var(--surface-2); border-radius: 3px; color: var(--muted); font-family: var(--font-mono); }
