@define-mixin rs-switcher-size-xs{
  &:not(html){
    --_rs-switcher-border-radius:4px;
    --_rs-switcher-compact-border-radius:var(--_rs-switcher-border-radius);
    --_rs-switcher-option-padding:2px 12px;
    --_rs-switcher-compact-option-padding:2px 8px;
    --_rs-switcher-icon-size:16px;
    --_rs-switcher-icon-offset:4px;
    --_rs-switcher-compact-icon-offset:var(--_rs-switcher-icon-offset);
    --_rs-switcher-icon-margin-vertical:2px;
  }
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-3-line-height,
    20px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:8px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:15px;
    --_rs-typography-list-li-default-left-offset:19px;
    --_rs-typography-list-li-margin-top-from-text:8px;
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
}
@define-mixin rs-switcher-size-s{
  &:not(html){
    --_rs-switcher-border-radius:16px;
    --_rs-switcher-compact-border-radius:4px;
    --_rs-switcher-option-padding:6px 16px;
    --_rs-switcher-compact-option-padding:6px 8px;
    --_rs-switcher-icon-size:20px;
    --_rs-switcher-icon-offset:8px;
    --_rs-switcher-compact-icon-offset:4px;
    --_rs-switcher-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-3-line-height,
    20px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:8px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:15px;
    --_rs-typography-list-li-default-left-offset:19px;
    --_rs-typography-list-li-margin-top-from-text:8px;
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
}
@define-mixin rs-switcher-size-m{
  &:not(html){
    --_rs-switcher-border-radius:20px;
    --_rs-switcher-compact-border-radius:8px;
    --_rs-switcher-option-padding:8px 24px;
    --_rs-switcher-compact-option-padding:8px 12px;
    --_rs-switcher-icon-size:24px;
    --_rs-switcher-icon-offset:12px;
    --_rs-switcher-compact-icon-offset:8px;
    --_rs-switcher-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-2-line-height,
    24px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:16px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:18px;
    --_rs-typography-list-li-default-left-offset:24px;
    --_rs-typography-list-li-margin-top-from-text:var(
    --_rs-typography-text-2-sm-list-li-margin-top-from-text,
    16px
  );
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
    @media screen and (max-width: 640px){
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
  }
  }
}
@define-mixin rs-switcher-size-l{
  &:not(html){
    --_rs-switcher-border-radius:26px;
    --_rs-switcher-compact-border-radius:12px;
    --_rs-switcher-option-padding:12px 32px;
    --_rs-switcher-compact-option-padding:12px 16px;
    --_rs-switcher-icon-size:28px;
    --_rs-switcher-icon-offset:16px;
    --_rs-switcher-compact-icon-offset:12px;
    --_rs-switcher-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-1-line-height,
    28px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:32px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:22px;
    --_rs-typography-list-li-default-left-offset:28px;
    --_rs-typography-list-li-margin-top-from-text:var(
    --_rs-typography-text-1-sm-list-li-margin-top-from-text,
    24px
  );
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
    @media screen and (max-width: 640px){
    &:not(html) [data-rs-internal='switcher__option']{
    --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
  }
  }
}
@define-mixin rs-switcher-mode-classic{
  &:not(html){
    --_rs-switcher-option-hover-background:var(--_rs-color-primary-t-fog);
    --_rs-switcher-mark-border-color:var(--_rs-color-primary);
  }
}
@define-mixin rs-switcher-mode-rock{
  &:not(html){
    --_rs-switcher-option-hover-background:rgba(
    calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227),
    0.1
  );
    --_rs-switcher-mark-border-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
  }
}
@define-mixin rs-switcher-compact-true{
  &:not(html){
    --_rs-switcher-border-radius-from-compact:var(
    --_rs-switcher-compact-border-radius
  );
    --_rs-switcher-option-padding-from-compact:var(
    --_rs-switcher-compact-option-padding
  );
    --_rs-switcher-icon-offset-from-compact:var(
    --_rs-switcher-compact-icon-offset
  );
  }
}
@define-mixin rs-switcher-compact-false{
  &:not(html){
    --_rs-switcher-border-radius-from-compact:initial;
    --_rs-switcher-option-padding-from-compact:initial;
    --_rs-switcher-icon-offset-from-compact:initial;
  }
}
@define-mixin rs-switcher-icon-position-left{
  --_rs-switcher-option-flex-direction:row;
}
@define-mixin rs-switcher-icon-position-right{
  --_rs-switcher-option-flex-direction:row-reverse;
}
@define-mixin rs-vertical-switcher-size-xs{
  &:not(html){
    --_rs-switcher-vertical-border-radius:4px;
    --_rs-switcher-vertical-option-vertical-padding:2px;
    --_rs-switcher-vertical-option-horizontal-padding:8px;
    --_rs-switcher-vertical-icon-size:16px;
    --_rs-switcher-vertical-icon-offset:4px;
    --_rs-switcher-vertical-icon-margin-vertical:2px;
  }
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-3-line-height,
    20px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:8px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:15px;
    --_rs-typography-list-li-default-left-offset:19px;
    --_rs-typography-list-li-margin-top-from-text:8px;
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
}
@define-mixin rs-vertical-switcher-size-s{
  &:not(html){
    --_rs-switcher-vertical-border-radius:4px;
    --_rs-switcher-vertical-option-vertical-padding:6px;
    --_rs-switcher-vertical-option-horizontal-padding:12px;
    --_rs-switcher-vertical-icon-size:20px;
    --_rs-switcher-vertical-icon-offset:4px;
    --_rs-switcher-vertical-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-3-line-height,
    20px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:8px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:15px;
    --_rs-typography-list-li-default-left-offset:19px;
    --_rs-typography-list-li-margin-top-from-text:8px;
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
}
@define-mixin rs-vertical-switcher-size-m{
  &:not(html){
    --_rs-switcher-vertical-border-radius:8px;
    --_rs-switcher-vertical-option-vertical-padding:8px;
    --_rs-switcher-vertical-option-horizontal-padding:16px;
    --_rs-switcher-vertical-icon-size:24px;
    --_rs-switcher-vertical-icon-offset:8px;
    --_rs-switcher-vertical-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-2-line-height,
    24px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:16px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:18px;
    --_rs-typography-list-li-default-left-offset:24px;
    --_rs-typography-list-li-margin-top-from-text:var(
    --_rs-typography-text-2-sm-list-li-margin-top-from-text,
    16px
  );
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
    @media screen and (max-width: 640px){
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
  }
  }
}
@define-mixin rs-vertical-switcher-size-l{
  &:not(html){
    --_rs-switcher-vertical-border-radius:12px;
    --_rs-switcher-vertical-option-vertical-padding:12px;
    --_rs-switcher-vertical-option-horizontal-padding:24px;
    --_rs-switcher-vertical-icon-size:28px;
    --_rs-switcher-vertical-icon-offset:12px;
    --_rs-switcher-vertical-icon-margin-vertical:0px;
  }
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
    --_rs-typography-text-transform:initial;
    --_rs-typography-font-variant-numeric:initial;
    --_rs-typography-font-family:var(
    --rs-font-family-ui,
    var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
  BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
  'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
  );
    --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
    --_rs-typography-font-weight:var(
    --rs-font-weight-regular,
    400
  );
    --_rs-typography-line-height:var(
    --rs-text-1-line-height,
    28px
  );
    --_rs-typography-base-color:var(
    --_rs-typography-hardness-color,
    var(
  --rs-color-average,
  rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7)
)
  );
    --_rs-typography-text-auto-offset:32px;
    --_rs-typography-ul-bullet-offset:2px;
    --_rs-typography-list-li-compact-left-offset:22px;
    --_rs-typography-list-li-default-left-offset:28px;
    --_rs-typography-list-li-margin-top-from-text:var(
    --_rs-typography-text-1-sm-list-li-margin-top-from-text,
    24px
  );
    --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
    --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
    --_rs-typography-link-border-bottom-width-from-text:1px;
  }
    @media screen and (max-width: 640px){
    &:not(html) [data-rs-internal='vertical-switcher__option']{
    --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
  }
  }
}
@define-mixin rs-vertical-switcher-mode-classic{
  &:not(html){
    --_rs-switcher-vertical-option-hover-background:var(
    --_rs-color-primary-t-fog
  );
    --_rs-switcher-vertical-mark-border-color:var(--_rs-color-primary);
  }
}
@define-mixin rs-vertical-switcher-mode-rock{
  &:not(html){
    --_rs-switcher-vertical-option-hover-background:rgba(
    calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227),
    0.1
  );
    --_rs-switcher-vertical-mark-border-color:rgb(
    calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227)
  );
  }
}
@define-mixin rs-vertical-switcher-icon-position-left{
  --_rs-switcher-vertical-option-flex-direction:row;
}
@define-mixin rs-vertical-switcher-icon-position-right{
  --_rs-switcher-vertical-option-flex-direction:row-reverse;
}
