/*
 * The peer table on the Overview (companies/keystats/_peer_table).
 */
@layer components {
  /* The company among its peers (M17-D1): its own row
     bold, the median in the foot over a heavy rule, the figures right. */
  .peer-table {
    & tr[aria-current="true"] {
      font-weight: 600;
    }

    & tfoot th,
    & tfoot td {
      border-block-start: var(--rule-heavy);
      color: var(--color-ink-muted);
    }
  }

  /* A forward P/E's fiscal year after it, as a period note is set. */
  .peer-table__year {
    margin-inline-start: var(--space-3xs);
    color: var(--color-ink-subtle);
    font-size: var(--text-meta-xs);
    font-weight: var(--weight-regular);
    white-space: nowrap;
  }
}
