    .ds-window-pct,
    .ds-history-header-pct {
      font-weight: var(--ds-weight-semibold);
      font-variant-numeric: tabular-nums;
    }
    /* History: good/bad % (assets up / debt down = green) */
    .ds-pct-good { color: var(--ds-brand-hero); }
    .ds-pct-bad { color: var(--ds-amount-negative); }
    .ds-history-title {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.35rem 0.5rem;
      min-width: 0;
    }
    .ds-history-title-label {
      font-weight: var(--ds-weight-semibold);
      color: var(--ds-text);
    }
    .ds-history-value {
      font-weight: var(--ds-weight-medium);
      color: var(--ds-text-muted);
      font-variant-numeric: tabular-nums;
    }
    .portfolio-mode-history .ds-history-header-change-sep {
      color: var(--ds-text-muted);
      font-weight: var(--ds-weight-regular);
      margin: 0 0.1rem;
    }
    .portfolio-mode-history .portfolio-mode-delta--asof .ds-portfolio-header-delta-label {
      color: var(--ds-text-secondary);
    }
