/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-segmented {
  /* #ifdef dynamic*/
  display: flex;
  /* #endif */
  /* #ifndef dynamic*/
  display: inline-flex;
  /* #endif */
  height: var(--nutui-segmented-height, 24px);
  min-width: scale-px(24px);
  padding: var(--nutui-segmented-padding, var(--nutui-spacing-xxxs));
  align-items: center;
  border-radius: var(--nutui-segmented-radius, var(--nutui-radius-xs));
  background: var(--nutui-black-2, rgba(0, 0, 0, 0.02));
  box-sizing: border-box;
}

.nut-segmented-item {
  display: flex;
  height: var(--nutui-segmented-height, 20px);
  align-items: center;
  justify-content: center;
  padding: var(--nutui-segmented-item-padding, 0 var(--nutui-spacing-xs));
  border-radius: var(--nutui-segmented-item-radius, var(--nutui-radius-xs));
  color: var(--nutui-segmented-item-color, var(--nutui-color-text-dark));
  font-size: var(--nutui-segmented-item-fontsize, var(--nutui-font-text-small));
  line-height: var(--nutui-line-height-s, var(--nutui-font-text-small));
  box-sizing: border-box;
}

.nut-segmented-item-active {
  background: var(--nutui-segmented-active-background, var(--nutui-black-2, rgba(0, 0, 0, 0.02)));
}

.nut-segmented-icon {
  display: flex;
  align-items: center;
  height: scale-px(10px);
  width: scale-px(10px);
  margin-right: var(--nutui-segmented-icon-margin-right, var(--nutui-spacing-xxxs));
}
.nut-segmented-icon .nut-icon {
  height: scale-px(10px);
  width: scale-px(10px);
  font-size: var(--nutui-font-text-mini);
}