.ou-tree-row {
  user-select: none;
  font-size: 1rem;
  line-height: 1.9;
}
.ou-tree-title {
  font-weight: 500;
}
.ou-tree-checkbox {
  margin-right: 0; /* убираем отступ */
}
.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0px !important;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
  margin-right: 0;
}
.custom-checkbox input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.custom-checkbox .checkmark {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--input-bg, #222b3c);
  border: 2px solid var(--btn-outline-border, #555a65);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  margin-right: 0; /* убираем зазор после чекбокса */
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark {
  background: var(--btn-primary-bg, #22304A);
  border-color: var(--btn-primary-bg, #22304A);
}
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox .checkmark:after {
  left: 6px;
  top: 2px;
  width: 8px;
  height: 14px;
  border: solid var(--btn-primary-text, #fff);
  border-width: 0 3px 3px 0;
  border-radius: 1px;
  transform: rotate(45deg);
  content: "";
}
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark:after {
  animation: checkmark-fade-in 0.2s;
}
@keyframes checkmark-fade-in {
  0% { opacity: 0; transform: scale(0.7) rotate(45deg);}
  100% { opacity: 1; transform: scale(1) rotate(45deg);}
}
.ou-tree-checkbox-label .label-text {
  font-size: 1rem;
  color: var(--main-text, #fff);
}