: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-calendarcard {
  background: var(--nutui-color-background-overlay, #ffffff);
  border-radius: calc(12px * var(--nut-scale-f, 1));
  overflow: hidden;
  font-size: var(--nutui-calendar-base-font-size, var(--nutui-font-size-l, calc(15px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
  color: var(--nutui-color-title, #1a1a1a);
}
.nut-calendarcard-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-weight: normal;
  line-height: var(--nutui-line-height-l, var(--nutui-font-size-l, calc(15px * var(--nut-scale-font, var(--nut-scale-f, 1)))));
}
.nut-calendarcard-header-left, .nut-calendarcard-header-right {
  display: flex;
  flex-direction: row;
  cursor: pointer;
  margin: calc(16px * var(--nut-scale-f, 1));
}
.nut-calendarcard-header-left .left, .nut-calendarcard-header-right .left {
  margin-left: calc(8px * var(--nut-scale-f, 1));
}
.nut-calendarcard-header-left .right, .nut-calendarcard-header-right .right {
  margin-right: calc(8px * var(--nut-scale-f, 1));
}
.nut-calendarcard-icon {
  width: calc(18px * var(--nut-scale-f, 1));
  height: calc(18px * var(--nut-scale-f, 1));
  display: block;
}
.nut-calendarcard-days {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.nut-calendarcard-day {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  width: var(--nutui-calendar-day-width, 14.28%);
  height: calc(48px * var(--nut-scale-f, 1));
  cursor: pointer;
  margin-bottom: calc(4px * var(--nut-scale-f, 1));
  text-align: center;
}
.nut-calendarcard-day-top, .nut-calendarcard-day-inner, .nut-calendarcard-day-bottom {
  color: var(--nutui-color-title, #1a1a1a);
}
.nut-calendarcard-day.header {
  cursor: auto;
}
.nut-calendarcard-day-top, .nut-calendarcard-day-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(12px * var(--nut-scale-f, 1));
  font-size: var(--nutui-font-size-s, calc(12px * var(--nut-scale-font, var(--nut-scale-f, 1))));
  line-height: calc(12px * var(--nut-scale-f, 1));
}
.nut-calendarcard-day.weekend {
  color: var(--nutui-calendar-choose-color, var(--nutui-color-primary, #ff0f23));
}
.nut-calendarcard-day.weekend .nut-calendarcard-day-top,
.nut-calendarcard-day.weekend .nut-calendarcard-day-inner,
.nut-calendarcard-day.weekend .nut-calendarcard-day-bottom {
  color: var(--nutui-calendar-choose-color, var(--nutui-color-primary, #ff0f23));
}
.nut-calendarcard-day.active {
  background-color: var(--nutui-calendar-active-background-color, var(--nutui-color-primary, #ff0f23));
  border-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
}
.nut-calendarcard-day.active .nut-calendarcard-day-top,
.nut-calendarcard-day.active .nut-calendarcard-day-inner,
.nut-calendarcard-day.active .nut-calendarcard-day-bottom {
  color: #ffffff;
}
.nut-calendarcard-day.start, .nut-calendarcard-day.end {
  background-color: var(--nutui-calendar-active-background-color, var(--nutui-color-primary, #ff0f23));
}
.nut-calendarcard-day.start .nut-calendarcard-day-top,
.nut-calendarcard-day.start .nut-calendarcard-day-inner,
.nut-calendarcard-day.start .nut-calendarcard-day-bottom, .nut-calendarcard-day.end .nut-calendarcard-day-top,
.nut-calendarcard-day.end .nut-calendarcard-day-inner,
.nut-calendarcard-day.end .nut-calendarcard-day-bottom {
  color: #ffffff;
}
.nut-calendarcard-day.start {
  border-top-left-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
  border-bottom-left-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
}
.nut-calendarcard-day.end {
  border-top-right-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
  border-bottom-right-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
}
.nut-calendarcard-day.mid {
  background-color: var(--nutui-calendar-choose-background-color, var(--nutui-color-primary-light-pressed, #ffe8ee));
}
.nut-calendarcard-day.mid .nut-calendarcard-day-top,
.nut-calendarcard-day.mid .nut-calendarcard-day-inner,
.nut-calendarcard-day.mid .nut-calendarcard-day-bottom {
  color: var(--nutui-calendar-choose-color, var(--nutui-color-primary, #ff0f23));
}
.nut-calendarcard-day .nut-calendar-day-info {
  color: #ffffff;
}
.nut-calendarcard-day.prev, .nut-calendarcard-day.next, .nut-calendarcard-day.disabled {
  cursor: not-allowed;
}
.nut-calendarcard-day.prev .nut-calendarcard-day-top,
.nut-calendarcard-day.prev .nut-calendarcard-day-inner,
.nut-calendarcard-day.prev .nut-calendarcard-day-bottom, .nut-calendarcard-day.next .nut-calendarcard-day-top,
.nut-calendarcard-day.next .nut-calendarcard-day-inner,
.nut-calendarcard-day.next .nut-calendarcard-day-bottom, .nut-calendarcard-day.disabled .nut-calendarcard-day-top,
.nut-calendarcard-day.disabled .nut-calendarcard-day-inner,
.nut-calendarcard-day.disabled .nut-calendarcard-day-bottom {
  color: var(--nutui-calendar-disable-color, var(--nutui-color-text-disabled, #c2c4cc));
}

[dir=rtl] .nut-calendarcard-header-left .left, [dir=rtl] .nut-calendarcard-header-right .left,
.nut-rtl .nut-calendarcard-header-left .left,
.nut-rtl .nut-calendarcard-header-right .left {
  margin-left: 0;
  margin-right: calc(8px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-calendarcard-header-left .right, [dir=rtl] .nut-calendarcard-header-right .right,
.nut-rtl .nut-calendarcard-header-left .right,
.nut-rtl .nut-calendarcard-header-right .right {
  margin-right: 0;
  margin-left: calc(8px * var(--nut-scale-f, 1));
}
[dir=rtl] .nut-calendarcard-header-left .nut-icon-ArrowLeft,
[dir=rtl] .nut-calendarcard-header-left .nut-icon-ArrowRight,
[dir=rtl] .nut-calendarcard-header-left svg, [dir=rtl] .nut-calendarcard-header-right .nut-icon-ArrowLeft,
[dir=rtl] .nut-calendarcard-header-right .nut-icon-ArrowRight,
[dir=rtl] .nut-calendarcard-header-right svg,
.nut-rtl .nut-calendarcard-header-left .nut-icon-ArrowLeft,
.nut-rtl .nut-calendarcard-header-left .nut-icon-ArrowRight,
.nut-rtl .nut-calendarcard-header-left svg,
.nut-rtl .nut-calendarcard-header-right .nut-icon-ArrowLeft,
.nut-rtl .nut-calendarcard-header-right .nut-icon-ArrowRight,
.nut-rtl .nut-calendarcard-header-right svg {
  transform: rotate(180deg);
}
[dir=rtl] .nut-calendarcard-day.start, [dir=rtl] .nut-calendarcard-day.end,
.nut-rtl .nut-calendarcard-day.start,
.nut-rtl .nut-calendarcard-day.end {
  border-radius: 0;
}
[dir=rtl] .nut-calendarcard-day.start,
.nut-rtl .nut-calendarcard-day.start {
  border-top-right-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
  border-bottom-right-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
}
[dir=rtl] .nut-calendarcard-day.end,
.nut-rtl .nut-calendarcard-day.end {
  border-top-left-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
  border-bottom-left-radius: var(--nutui-calendar-day-active-border-radius, calc(4px * var(--nut-scale-f, 1)));
}