[data-metric-list] {
  --section-color: var(--orange);

  display: grid;
  gap: 0.5rem;
  min-width: 0;

  [data-metric-stat] {
    display: grid;
    grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    min-width: 0;

    > span {
      color: var(--section-color);
      font-size: var(--font-size-xs);
      line-height: var(--line-height-xs);
      text-transform: uppercase;
    }

    strong {
      min-width: 0;
      overflow-wrap: anywhere;
      color: var(--white);
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-strong);
      line-height: var(--line-height-sm);
      text-align: right;
    }
  }

  [data-epoch] {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
  }

  [data-epoch-head] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;

    > span {
      min-width: 0;
      overflow-wrap: anywhere;
      color: var(--epoch-color);
      font-size: var(--font-size-xs);
      line-height: var(--line-height-xs);
      text-transform: uppercase;
    }

    strong {
      color: var(--white);
      font-size: var(--font-size-sm);
      font-weight: var(--font-weight-strong);
      line-height: var(--line-height-sm);
      text-align: right;
    }
  }

  [data-epoch-bar] {
    display: flex;
    gap: 0.125rem;
    height: 0.5rem;
    min-width: 0;
  }

  [data-epoch-segment] {
    width: var(--share);
    border-radius: 0.125rem;

    &[data-epoch-segment="done"] {
      background: var(--epoch-color);
    }

    &[data-epoch-segment="remaining"] {
      background: color-mix(in oklch, var(--gray) 35%, transparent);
    }
  }
}
