.action-bar { /* ACTIONS on the left, COUNTER on the right (do not change) */
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  width: 100%;

  & > .action-bar-left { /* ACTIONS & COUNTER on the left */
    margin-left: auto;
  }

  & > .action-bar-right { /* ACTIONS & COUNTER on the right */
    margin-right: auto;
  }
}

counter { /* Default COUNTER styling (do not change) */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-bottom: 0.25rem;
  width: 100%;

  & > p {
    color: var(--ink-gray);
    white-space: nowrap;
  }

  & > p {
    font-size: 0.875rem;
    line-height: 1rem;
  }
  
  & > :not(:first-child) {
    &:before {
      content: '|';
      color: var(--light-gray);
      margin-right: 0.5rem;
      height: 1rem;
      width: 1px;
    }
  }

  &:is([type="inline"]) {
    justify-content: flex-start;
    margin-bottom: 0;
    width: fit-content;
  }
}

counter#audience-counter {
  & > :not(:first-child) {
    &:before {
      content: '';
      margin-right: unset;
      height: unset;
      width: unset;
    }
  }

  [data-audiences-target="sitesDepartmentsCounter"] {
    & > span:not(:first-child):before {
      content: '|';
      color: var(--light-gray);
      margin-right: 0.5rem;
      height: 1rem;
      width: 1px;
    }
  }
}
