: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-checkboxgroup .nut-checkbox-button {
  background-color: var(--nutui-color-background, #f2f3f5);
}
.nut-checkboxgroup-vertical {
  display: flex;
  flex-direction: column;
}
.nut-checkboxgroup-vertical .nut-checkbox {
  margin-bottom: calc(5px * var(--nut-scale-f, 1));
}
.nut-checkboxgroup-vertical .nut-checkbox.nut-checkbox-reverse {
  width: 100%;
  justify-content: space-between;
}
.nut-checkboxgroup-vertical .nut-checkbox-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-checkboxgroup-horizontal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.nut-checkboxgroup-horizontal .nut-checkbox {
  /* #ifdef dynamic*/
  display: flex;
  /* #endif */
  /* #ifndef dynamic*/
  display: inline-flex;
  /* #endif */
  flex: 1;
  margin-right: calc(20px * var(--nut-scale-f, 1));
}
.nut-checkboxgroup-horizontal .nut-checkbox-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-checkboxgroup-list {
  flex-grow: 1;
  border-bottom: var(--nutui-checkbox-list-item-border, calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
  border-top: var(--nutui-checkbox-list-item-border, calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
  padding: var(--nutui-checkbox-list-padding, 0 0 0 calc(12px * var(--nut-scale-f, 1)));
  background: var(--nutui-checkbox-list-background-color, #ffffff);
  box-sizing: border-box;
}
.nut-checkboxgroup-list .nut-checkbox {
  margin-bottom: calc(5px * var(--nut-scale-f, 1));
}
.nut-checkboxgroup-list .nut-checkbox.nut-checkbox-reverse {
  width: auto;
  flex-grow: 1;
  justify-content: space-between;
}
.nut-checkboxgroup-list .nut-checkbox-list-item:first-child {
  border-top: none;
}

[dir=rtl] .nut-checkboxgroup .nut-checkbox-label,
.nut-rtl .nut-checkboxgroup .nut-checkbox-label {
  margin-right: calc(5px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-checkboxgroup-vertical .nut-checkbox-label,
.nut-rtl .nut-checkboxgroup-vertical .nut-checkbox-label {
  margin-right: calc(5px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-checkboxgroup-horizontal .nut-checkbox,
.nut-rtl .nut-checkboxgroup-horizontal .nut-checkbox {
  margin-right: 0;
  margin-left: calc(20px * var(--nut-scale-f, 1));
}