: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-popover {
  position: absolute;
  display: inline-block;
  word-break: normal;
}
.nut-popover-arrow {
  position: absolute;
  width: calc(8px * var(--nut-scale-f, 1));
  height: calc(4px * var(--nut-scale-f, 1));
}
.nut-popover-arrow .nut-icon-ArrowRadius {
  position: absolute;
  color: var(--nutui-popover-content-background-color, #ffffff);
  width: calc(8px * var(--nut-scale-f, 1));
  height: calc(4px * var(--nut-scale-f, 1));
}
.nut-popover-arrow-top {
  bottom: calc(-4px * var(--nut-scale-f, 1));
}
.nut-popover-arrow-bottom {
  top: calc(-4px * var(--nut-scale-f, 1));
}
.nut-popover-arrow-left {
  right: calc(-6px * var(--nut-scale-f, 1));
  transform-origin: center top;
}
.nut-popover-arrow-left.nut-popover-arrow-left {
  top: 50%;
  transform: rotate(90deg) translateY(-50%);
}
.nut-popover-arrow-left.nut-popover-arrow-left-top {
  top: calc(16px * var(--nut-scale-f, 1));
  right: calc(-8px * var(--nut-scale-f, 1));
  transform: rotate(90deg) translateY(0%);
}
.nut-popover-arrow-left.nut-popover-arrow-left-bottom {
  top: auto;
  bottom: calc(16px * var(--nut-scale-f, 1));
  right: calc(-8px * var(--nut-scale-f, 1));
  transform: rotate(90deg) translateY(0%);
}
.nut-popover-arrow-right {
  transform-origin: center top;
}
.nut-popover-arrow-right.nut-popover-arrow-right {
  top: 50%;
  left: calc(-6px * var(--nut-scale-f, 1));
  transform: rotate(-90deg) translateY(-50%);
}
.nut-popover-arrow-right.nut-popover-arrow-right-top {
  top: calc(16px * var(--nut-scale-f, 1));
  left: calc(-8px * var(--nut-scale-f, 1));
  transform: rotate(-90deg) translateY(0%);
}
.nut-popover-arrow-right.nut-popover-arrow-right-bottom {
  bottom: calc(16px * var(--nut-scale-f, 1));
  left: calc(-8px * var(--nut-scale-f, 1));
  transform: rotate(-90deg) translateY(0%);
}
.nut-popover .nut-popover-content {
  position: absolute;
  background: var(--nutui-popover-content-background-color, #ffffff);
  border-radius: var(--nutui-popover-border-radius, var(--nutui-radius-xs, calc(4px * var(--nut-scale-f, 1))));
  font-size: var(--nutui-popover-font-size, var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  color: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  line-height: calc(28px * var(--nut-scale-f, 1));
  /* #ifndef dynamic*/
  max-height: initial;
  overflow-y: initial;
  /* #endif */
}
.nut-popover .nut-popover-content-group {
  padding: 0 var(--nutui-popover-padding, calc(8px * var(--nut-scale-f, 1)));
}
.nut-popover .nut-popover-content .nut-popover-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: calc(1px * var(--nut-scale-f, 1)) solid var(--nutui-popover-divider-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
  max-width: var(--nutui-popover-item-width, calc(160px * var(--nut-scale-f, 1)));
  word-wrap: break-word;
}
.nut-popover .nut-popover-content .nut-popover-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.nut-popover .nut-popover-content .nut-popover-item-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  height: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  font-size: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
}
.nut-popover .nut-popover-content .nut-popover-item-icon .nut-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon .nut-icon {
  width: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  height: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  font-size: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
}
.nut-popover .nut-popover-content .nut-popover-item-icon {
  margin-right: var(--nutui-spacing-xxs, calc(4px * var(--nut-scale-f, 1)));
}
.nut-popover .nut-popover-content .nut-popover-item-name {
  width: calc(100% - 34px * var(--nut-scale-f, 1));
  word-break: keep-all;
  flex: 1;
}
.nut-popover .nut-popover-content .nut-popover-item-action-icon {
  color: var(--nutui-color-text, #505259);
  margin-left: var(--nutui-spacing-base, calc(8px * var(--nut-scale-f, 1)));
}
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-item-disabled {
  color: var(--nutui-popover-disable-color, var(--nutui-color-text-disabled, #c2c4cc));
  cursor: not-allowed;
}
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-taroitem {
  display: flex;
}
.nut-popover .nut-popover-content-top .nut-popover-arrow-top {
  left: 50%;
  transform-origin: center left;
  transform: rotate(180deg) translateX(-50%);
}
.nut-popover .nut-popover-content-top-right {
  right: 0;
}
.nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
  right: calc(16px * var(--nut-scale-f, 1));
  bottom: calc(-3.5px * var(--nut-scale-f, 1));
  transform: rotate(180deg) translateX(0%);
}
.nut-popover .nut-popover-content-top-left {
  left: 0;
}
.nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
  left: calc(16px * var(--nut-scale-f, 1));
  bottom: calc(-3.5px * var(--nut-scale-f, 1));
  transform: rotate(180deg) translateX(0%);
}
.nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
  left: 50%;
  transform: translateX(-50%);
}
.nut-popover .nut-popover-content-bottom-right {
  right: 0;
}
.nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
  right: calc(16px * var(--nut-scale-f, 1));
  transform: translateX(0%);
}
.nut-popover .nut-popover-content-bottom-left {
  left: 0;
}
.nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
  left: calc(16px * var(--nut-scale-f, 1));
  transform: translateX(0%);
}
.nut-popover .nut-popover-content-left-bottom {
  bottom: 0;
}
.nut-popover .nut-popover-content-left-top {
  top: 0;
}
.nut-popover .nut-popover-content-right-bottom {
  bottom: 0;
}
.nut-popover .nut-popover-content-right-top {
  top: 0;
}

.nut-popover-dark {
  background: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
  color: var(--nutui-popover-content-background-color, #ffffff);
}
.nut-popover-dark .nut-popover-arrow .nut-icon-ArrowRadius {
  color: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
}
.nut-popover-dark .nut-popover-content {
  background: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7))) !important;
  color: var(--nutui-popover-content-background-color, #ffffff) !important;
}
.nut-popover-dark .nut-popover-content .nut-popover-item-action-icon {
  color: rgba(255, 255, 255, 0.8);
}

[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-name,
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-name {
  margin-left: 0;
  margin-right: calc(4px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-action-icon,
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-action-icon {
  right: auto;
}
[dir=rtl] .nut-popover .nut-popover-content-top .nut-popover-arrow-top,
.nut-rtl .nut-popover .nut-popover-content-top .nut-popover-arrow-top {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
[dir=rtl] .nut-popover .nut-popover-content-top-right,
.nut-rtl .nut-popover .nut-popover-content-top-right {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right,
.nut-rtl .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
  right: auto;
  left: calc(16px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-popover .nut-popover-content-top-left,
.nut-rtl .nut-popover .nut-popover-content-top-left {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left,
.nut-rtl .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
  left: auto;
  right: calc(16px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom,
.nut-rtl .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-right,
.nut-rtl .nut-popover .nut-popover-content-bottom-right {
  right: auto;
  left: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right,
.nut-rtl .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
  right: auto;
  left: calc(16px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-left,
.nut-rtl .nut-popover .nut-popover-content-bottom-left {
  left: auto;
  right: 0;
}
[dir=rtl] .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left,
.nut-rtl .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
  left: auto;
  right: calc(16px * var(--nut-scale-f, 1));
}

.nut-popover-enter-from,
.nut-popover-leave-active {
  transform: scale(0.8);
  opacity: 0;
}

.nut-popover-enter-active {
  transition-timing-function: ease-out;
}

.nut-popover-leave-active {
  transition-timing-function: ease-in;
}

.nut-popover-content-bg {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 999;
}

[dir=rtl] .nut-popover-content-bg,
.nut-rtl .nut-popover-content-bg {
  left: auto;
  right: 0;
}

.nut-popover-wrapper {
  display: inline-block;
}

.nut-popover-content-copy {
  position: absolute;
  top: calc(-99999px * var(--nut-scale-f, 1));
}