:root,
page {
  --nut-scale-f: 1;
  --nut-scale-font: var(--nut-scale-f, 1);
  --nut-scale-icon: var(--nut-scale-f, 1);
  --nut-icon-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-width: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
  --nut-icon-line-height: calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1))) !important;
}

/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-radiogroup .nut-radio {
  margin: 0 var(--nutui-radiogroup-radio-margin, calc(20px * var(--nut-scale-f, 1))) var(--nutui-radiogroup-radio-margin-bottom, calc(5px * var(--nut-scale-f, 1))) 0;
}
.nut-radiogroup .nut-radio-label {
  margin: var(--nutui-radiogroup-radio-label-margin, 0 calc(5px * var(--nut-scale-f, 1)));
}
.nut-radiogroup .nut-radio-button {
  background-color: var(--nutui-radio-button-background, rgba(250, 44, 25, 0.05));
}
.nut-radiogroup .nut-radio:last-child {
  margin: 0;
}
.nut-radiogroup-vertical .nut-radio.nut-radio-reverse {
  width: 100%;
  justify-content: space-between;
}
.nut-radiogroup-vertical .nut-radio-button {
  border: 1px solid var(--nutui-radio-button-background, rgba(250, 44, 25, 0.05));
}
.nut-radiogroup-vertical .nut-radio-button-active {
  border: var(--nutui-radio-button-active-border, calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-primary, #ff0f23));
  background-color: var(--nutui-color-primary-light-pressed, #ffe8ee);
}
.nut-radiogroup-horizontal {
  display: flex;
}
.nut-radiogroup-horizontal .nut-radio-button {
  border: 1px solid #ffffff;
}
.nut-radiogroup-horizontal .nut-radio-button-active {
  border: var(--nutui-radio-button-active-border, calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-primary, #ff0f23));
  background-color: var(--nutui-color-primary-light-pressed, #ffe8ee);
}
.nut-radiogroup-horizontal .nut-radio:last-child {
  margin: 0 var(--nutui-radiogroup-radio-margin, calc(20px * var(--nut-scale-f, 1))) var(--nutui-radiogroup-radio-margin-bottom, calc(5px * var(--nut-scale-f, 1))) 0;
}
.nut-radiogroup .nut-radio-button-active.nut-radio-button-disabled {
  background: var(--nutui-color-text-disabled, #c2c4cc);
  color: #ffffff;
  border: 1px solid var(--nutui-color-text-disabled, #c2c4cc);
}

[dir=rtl] .nut-radiogroup .nut-radio,
.nut-rtl .nut-radiogroup .nut-radio {
  margin-left: var(--nutui-radiogroup-radio-margin, calc(20px * var(--nut-scale-f, 1)));
  margin-right: 0;
}

.nut-radio {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: calc(32px * var(--nut-scale-f, 1));
}
.nut-radio.nut-radio-reverse {
  flex-direction: row-reverse;
}
.nut-radio.nut-radio-reverse .nut-radio-label {
  margin-right: var(--nutui-radio-label-margin-left, calc(4px * var(--nut-scale-f, 1)));
  margin-left: 0;
}
.nut-radio.nut-radio-nolabel {
  min-width: calc(32px * var(--nut-scale-f, 1));
  justify-content: center;
}
.nut-radio-label {
  margin-left: var(--nutui-radio-label-margin-left, calc(4px * var(--nut-scale-f, 1)));
  font-size: var(--nutui-radio-label-font-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  color: var(--nutui-radio-label-color, var(--nutui-color-title, #1a1a1a));
}
.nut-radio-label-disabled {
  color: var(--nutui-radio-label-disable-color, var(--nutui-color-text-disabled, #c2c4cc));
}
.nut-radio-icon {
  color: var(--nutui-color-text-disabled, #c2c4cc);
  background-color: var(--nutui-color-background-overlay, #ffffff);
  transition-duration: 0.3s;
  transition-property: color, border-color, background-color;
  font-size: var(--nutui-radio-icon-font-size, var(--nutui-font-size-icon, calc(16px * var(--nut-scale-icon, var(--nut-scale-f, 1)))));
  border-radius: 50%;
}
.nut-radio-icon-checked {
  color: var(--nutui-color-primary, #ff0f23);
  background-color: #ffffff;
  box-shadow: none;
  border-radius: 50%;
}
.nut-radio-icon-checked.nut-radio-icon-disabled {
  color: var(--nutui-color-primary-disabled-special, #ff91a5);
  background-color: var(--nutui-color-background-overlay, #ffffff);
  box-shadow: none;
  border-radius: 50%;
}
.nut-radio-icon-disabled {
  color: var(--nutui-color-text-disabled, #c2c4cc);
}
.nut-radio-button {
  /* #ifdef dynamic*/
  display: flex;
  /* #endif */
  /* #ifndef dynamic*/
  display: inline-flex;
  /* #endif */
  align-items: center;
  min-height: calc(30px * var(--nut-scale-f, 1));
  padding: var(--nutui-radio-button-padding, calc(5px * var(--nut-scale-f, 1)) calc(18px * var(--nut-scale-f, 1)));
  font-size: var(--nutui-radio-button-font-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  background: var(--nutui-radio-button-background, rgba(250, 44, 25, 0.05));
  border-radius: var(--nutui-radio-button-border-radius, calc(15px * var(--nut-scale-f, 1)));
  color: var(--nutui-radio-label-color, var(--nutui-color-title, #1a1a1a));
  box-sizing: border-box;
  border: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-radio-button-background, rgba(250, 44, 25, 0.05));
}
.nut-radio-button-active {
  background: var(--nutui-color-primary-light-pressed, #ffe8ee);
  color: var(--nutui-color-primary, #ff0f23);
  border: var(--nutui-radio-button-active-border, calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-primary, #ff0f23));
}
.nut-radio-button-disabled {
  color: var(--nutui-color-text-disabled, #c2c4cc);
  border: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-radio-button-background, rgba(250, 44, 25, 0.05));
}
.nut-radio .nut-radio-button-active.nut-radio-button-disabled {
  background: var(--nutui-color-text-disabled, #c2c4cc);
  color: #ffffff;
  border: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-text-disabled, #c2c4cc);
}

[dir=rtl] .nut-radio:last-child,
.nut-rtl .nut-radio:last-child {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
[dir=rtl] .nut-radio.nut-radio-reverse .nut-radio-label,
.nut-rtl .nut-radio.nut-radio-reverse .nut-radio-label {
  margin-left: var(--nutui-radio-label-margin-left, calc(4px * var(--nut-scale-f, 1)));
  margin-right: 0;
}
[dir=rtl] .nut-radio-label,
.nut-rtl .nut-radio-label {
  margin-left: 0;
  margin-right: var(--nutui-radio-label-margin-left, calc(4px * var(--nut-scale-f, 1)));
}