anj-column-sizer {
  background-color: var(--anj-border);
  cursor: col-resize;
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  opacity: 0;
  top: 0;
  transition: opacity 0.3s ease;
  width: 0.25rem;
  z-index: 3;
}
anj-column-sizer:active {
  background-color: var(--anj-highlight);
  opacity: 0.5;
}

anj-table .anj-header-cell:last-child:not(.anj-pinned-right) anj-column-sizer {
  display: none;
}
anj-table .anj-header-cell:hover anj-column-sizer {
  opacity: 0.5;
}
anj-table .anj-header-cell.anj-pinned-right anj-column-sizer {
  left: 0;
  right: auto;
}
anj-table .anj-header-cell.anj-pinned-right ~ .anj-pinned-right {
  right: 0;
}