.buttonIcon {
  display: inline-flex;
  flex: 0 0 auto;
  column-gap: .5em;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);

  &:disabled,
  &[aria-disabled="true"] {
    cursor: default;
    opacity: .33;
    pointer-events: none;
  }

  & svg {
    width: 24px;
    height: 24px;
  }

  & u-icon {
    color: var(--color-dim);
  }

  &[aria-pressed="true"],
  &[aria-expanded="true"],
  &:hover {
    background-color: var(--color-line-light);
  }
}

a.buttonIcon {
  color: var(--color-foreground);
}