@charset "UTF-8";
.yc-switch {
  position: relative;
  display: inline-flex;
  font-family: var(--yc-text-body-font-family);
  font-weight: normal;
  color: var(--yc-color-text-primary);
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}
.yc-switch__control {
  opacity: 0;
  cursor: pointer;
}
.yc-switch__indicator {
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}
.yc-switch__indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--yc-color-base-generic-medium);
  transition: background 0.1s linear;
}
.yc-switch__indicator::after {
  content: " ";
  visibility: hidden;
}
.yc-switch__slider {
  position: absolute;
  content: "";
  border-radius: 50%;
  background-color: var(--yc-color-base-background);
  transition: transform 0.15s ease-out;
}
.yc-switch__outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
}
.yc-switch__control:focus + .yc-switch__outline {
  box-shadow: 0 0 0 2px var(--yc-color-line-misc);
}
.yc-switch__control:focus:not(:focus-visible) + .yc-switch__outline {
  box-shadow: none;
}
.yc-switch__text {
  white-space: normal;
}
.yc-switch_size_m {
  font-size: 13px;
  line-height: 15px;
}
.yc-switch_size_m .yc-switch__indicator,
.yc-switch_size_m .yc-switch__indicator::before,
.yc-switch_size_m .yc-switch__outline {
  width: 36px;
  height: 20px;
  border-radius: 10px;
}
.yc-switch_size_m .yc-switch__slider {
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
}
.yc-switch_size_m .yc-switch__text {
  margin-left: 5px;
  margin-top: 3px;
}
.yc-switch_size_l {
  font-size: 15px;
  line-height: 18px;
}
.yc-switch_size_l .yc-switch__indicator,
.yc-switch_size_l .yc-switch__indicator::before,
.yc-switch_size_l .yc-switch__outline {
  width: 42px;
  height: 24px;
  border-radius: 12px;
}
.yc-switch_size_l .yc-switch__slider {
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
}
.yc-switch_size_l .yc-switch__text {
  margin-left: 7px;
  margin-top: 4px;
}
.yc-switch:hover .yc-switch__indicator::before {
  background-color: var(--yc-color-base-generic-medium-hover);
}
.yc-switch_checked .yc-switch__slider {
  transform: translateX(100%);
}
.yc-switch_checked .yc-switch__indicator::before, .yc-switch_checked:hover .yc-switch__indicator::before {
  background-color: var(--yc-color-base-special);
}
.yc-switch_disabled {
  cursor: default;
  pointer-events: none;
}
.yc-switch_disabled .yc-switch__text {
  opacity: 0.6;
}
.yc-switch_disabled .yc-switch__indicator::before {
  background-color: var(--yc-color-base-generic-accent-disabled);
}
.yc-switch_disabled.yc-switch_checked .yc-switch__indicator::before {
  background-color: var(--yc-color-base-special);
  opacity: 0.5;
}