.billable-widgets-wrapper .billables-subtabs {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 38px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  box-sizing: border-box;
  position: relative;
}

.billable-widgets-wrapper .billables-subtab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--fg-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  cursor: pointer;
  transition:
    color var(--dur-fast) var(--ease-standard);
}

.billable-widgets-wrapper .billables-subtab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-14px - 1px);
  height: 2px;
  background: transparent;
}

.billable-widgets-wrapper .billables-subtab:hover {
  color: var(--fg-1);
  background: transparent;
}

.billable-widgets-wrapper .billables-subtab.is-active,
.billable-widgets-wrapper .billables-subtab[aria-selected='true'] {
  color: var(--fg-1);
  background: transparent;
}

.billable-widgets-wrapper .billables-subtab.is-active::after,
.billable-widgets-wrapper .billables-subtab[aria-selected='true']::after {
  background: var(--primary);
}

.billable-widgets-wrapper .billables-subtab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--neutral-bg);
  color: var(--fg-muted);
  font-size: 10px;
  font-weight: var(--fw-bold);
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}

.billable-widgets-wrapper .billables-subtab.is-active .billables-subtab__count,
.billable-widgets-wrapper .billables-subtab[aria-selected='true'] .billables-subtab__count {
  background: var(--neutral-bg);
  color: var(--fg-1);
}
