/* A list's heading with its count, "Visits (32)": a short hairline, the text, and a
   hairline that runs to the end of the row. From the Inbox design's group heading. */
.list-count {
  display: flex;
  align-items: center;
  gap: var(--rem-8);
  margin-bottom: var(--rem-12);

  &::before,
  &::after {
    content: "";
    height: 1px;
    background: var(--border-secondary);
  }

  &::before {
    flex: none;
    width: var(--rem-16);
  }

  &::after {
    flex: 1 0 0;
    min-width: 1px;
  }
}

.list-count--label {
  flex: none;
  font-size: var(--rem-13);
  font-variation-settings: 'wght' var(--text-medium);
  color: var(--text-label);
  white-space: nowrap;
}
