.np-checkbox-button input[type="checkbox"] {
  position: absolute;
  inline-size: var(--size-24);
  block-size: var(--size-24);
  opacity: 0;
}
.np-checkbox-button input[type="checkbox"]:not(:disabled) {
  cursor: pointer;
}
.np-checkbox-button .tw-checkbox-check,
.np-checkbox-button .np-tw-checkbox-indeterminate {
  pointer-events: none;
}
.checkbox .np-checkbox-button input[type="checkbox"] {
  inset-block-start: 0;
  inset-inline-start: 0;
  margin: 0;
}
.np-tw-checkbox-indeterminate {
  position: relative;
}
.np-tw-checkbox-indeterminate::after {
  content: "";
  position: absolute;
  inline-size: 12px;
  block-size: 2px;
  inset-block-start: 55%;
  inset-inline-start: 50%;
  background: var(--color-background-screen);
  transform: translate(-50%, -50%);
}
[dir="rtl"] .np-tw-checkbox-indeterminate::after {
  transform: translate(50%, -50%);
}
.np-tw-checkbox-indeterminate .has-error::after {
  background-color: var(--color-interactive-negative);
}
