.nodedc-ui-date-field {
  display: block;
  width: 100%;
}

.nodedc-ui-date-trigger {
  display: inline-flex;
  width: 100%;
  min-height: 2.08rem;
  align-items: center;
  justify-content: flex-start;
  gap: 0.42rem;
  border: 0;
  border-radius: var(--launcher-radius-circle);
  background: rgba(255, 255, 255, 0.052);
  color: var(--text-secondary);
  padding: 0 0.7rem;
  font-size: 0.74rem;
  font-weight: 760;
}

.nodedc-ui-date-trigger:hover,
.nodedc-ui-date-trigger:focus-visible,
.nodedc-ui-date-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.085);
  color: var(--text-primary);
  outline: none;
}

.nodedc-ui-calendar-popover {
  padding: 0;
}

.nodedc-ui-calendar-frame {
  display: grid;
  gap: 0.18rem;
  padding: 1.05rem 1.5rem 0.75rem;
  border-radius: 1.18rem;
  background: transparent;
}

.nodedc-ui-calendar.rdp-root {
  position: relative;
  box-sizing: border-box;
  width: calc(var(--rdp-cell-size) * 7);
  padding: 0;
  --rdp-accent-color: rgb(var(--nodedc-accent-rgb));
  --rdp-background-color: rgba(var(--nodedc-accent-rgb), 0.16);
  --rdp-dark-background-color: color-mix(in srgb, rgb(var(--nodedc-accent-rgb)) 82%, white);
  --rdp-range-background-color: var(--rdp-accent-color);
  --rdp-selected-color: rgb(var(--nodedc-on-accent-rgb));
  --rdp-today-outline-color: rgb(var(--nodedc-on-accent-rgb));
  --rdp-outline: 0;
  --rdp-cell-size: 2.5rem;
  --rdp-caption-font-size: 1rem;
  --rdp-caption-navigation-size: 1.25rem;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 650;
}

.nodedc-ui-calendar .rdp-root,
.nodedc-ui-calendar .rdp-months,
.nodedc-ui-calendar .rdp-month {
  background: transparent;
}

.nodedc-ui-calendar .rdp-month_grid {
  border-collapse: collapse;
  border-spacing: 0;
}

.nodedc-ui-calendar .rdp-month_caption {
  min-height: 2.1rem;
  display: flex;
  align-items: center;
}

.nodedc-ui-calendar .rdp-dropdowns {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.nodedc-ui-calendar .rdp-dropdown_root {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.nodedc-ui-calendar .rdp-dropdown {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font: inherit;
  opacity: 0;
  appearance: none;
}

.nodedc-ui-calendar .rdp-dropdown:focus-visible {
  outline: none;
}

.nodedc-ui-calendar .rdp-caption_label {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  margin: 0;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--text-primary);
  padding: 0 0.12rem;
  font-family: inherit;
  font-size: var(--rdp-caption-font-size);
  font-weight: 780;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.nodedc-ui-calendar .rdp-dropdown_icon {
  margin: 0 0 0 0.18rem;
}

.nodedc-ui-calendar .rdp-nav {
  position: absolute;
  top: 0.42rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.34rem;
}

.nodedc-ui-calendar .rdp-button_previous,
.nodedc-ui-calendar .rdp-button_next,
.nodedc-ui-calendar .rdp-dropdown_root {
  border: 0;
  border-radius: 0.95rem;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.nodedc-ui-calendar .rdp-button_previous,
.nodedc-ui-calendar .rdp-button_next {
  display: inline-flex;
  width: var(--rdp-caption-navigation-size);
  height: var(--rdp-caption-navigation-size);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  appearance: none;
}

.nodedc-ui-calendar .rdp-button_previous:hover,
.nodedc-ui-calendar .rdp-button_next:hover,
.nodedc-ui-calendar .rdp-button_previous:focus-visible,
.nodedc-ui-calendar .rdp-button_next:focus-visible {
  background: rgba(255, 255, 255, 0.075);
}

.nodedc-ui-calendar__chevron {
  width: 0.75rem;
  height: 0.75rem;
  color: currentColor;
}

.nodedc-ui-calendar__chevron--right {
  transform: rotate(180deg);
}

.nodedc-ui-calendar__chevron--down {
  transform: rotate(-90deg);
}

.nodedc-ui-calendar .rdp-weekdays,
.nodedc-ui-calendar .rdp-week {
  display: grid;
  grid-template-columns: repeat(7, var(--rdp-cell-size));
}

.nodedc-ui-calendar .rdp-weekdays,
.nodedc-ui-calendar .rdp-week,
.nodedc-ui-calendar .rdp-weekday,
.nodedc-ui-calendar .rdp-day {
  border: 0;
}

.nodedc-ui-calendar .rdp-week {
  height: var(--rdp-cell-size);
  margin: 0;
  padding: 0;
}

.nodedc-ui-calendar .rdp-weekday {
  height: var(--rdp-cell-size);
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75em;
  font-weight: 720;
  line-height: var(--rdp-cell-size);
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}

.nodedc-ui-calendar .rdp-day {
  position: relative;
  padding: 0;
}

.nodedc-ui-calendar .rdp-day_button {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--rdp-cell-size);
  max-width: var(--rdp-cell-size);
  height: var(--rdp-cell-size);
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  line-height: 1;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.nodedc-ui-calendar .rdp-day.rdp-outside:not(.rdp-selected) .rdp-day_button {
  opacity: 0.34;
}

.nodedc-ui-calendar .rdp-day.rdp-disabled:not(.rdp-selected) .rdp-day_button {
  opacity: 0.25;
}

.nodedc-ui-calendar .rdp-day:not(.rdp-selected, .rdp-disabled) .rdp-day_button:hover,
.nodedc-ui-calendar .rdp-day:not(.rdp-selected, .rdp-disabled) .rdp-day_button:focus-visible {
  background: var(--rdp-background-color);
  outline: none;
}

.nodedc-ui-calendar .rdp-selected .rdp-day_button {
  z-index: 1;
  border-radius: 50%;
  background: var(--rdp-accent-color);
  color: var(--rdp-selected-color);
  font-weight: 650;
}

.nodedc-ui-calendar .rdp-selected .rdp-day_button:hover,
.nodedc-ui-calendar .rdp-selected .rdp-day_button:focus-visible {
  background: var(--rdp-accent-color);
  color: var(--rdp-selected-color);
  outline: none;
}

.nodedc-ui-calendar .rdp-today:not(.rdp-outside) .rdp-day_button {
  border-radius: 999px;
  box-shadow: none;
}

.nodedc-ui-calendar .rdp-today:not(.rdp-outside) .rdp-day_button::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid var(--rdp-today-outline-color);
  border-radius: 999px;
  pointer-events: none;
}

.nodedc-ui-calendar .rdp-today.rdp-selected .rdp-day_button::after {
  border-color: var(--rdp-today-outline-color);
}

.nodedc-ui-calendar .rdp-range_start,
.nodedc-ui-calendar .rdp-range_middle,
.nodedc-ui-calendar .rdp-range_end {
  position: relative;
}

.nodedc-ui-calendar .rdp-range_start::before,
.nodedc-ui-calendar .rdp-range_middle::before,
.nodedc-ui-calendar .rdp-range_end::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  z-index: 0;
  width: 100%;
  border-radius: 0;
  background: var(--rdp-range-background-color);
}

.nodedc-ui-calendar .rdp-range_start::before {
  border-radius: 999px 0 0 999px;
}

.nodedc-ui-calendar .rdp-week .rdp-range_middle:first-child::before {
  border-radius: 999px 0 0 999px;
}

.nodedc-ui-calendar .rdp-week .rdp-range_end:first-child::before {
  border-radius: 999px;
}

.nodedc-ui-calendar .rdp-range_end::before {
  border-radius: 0 999px 999px 0;
}

.nodedc-ui-calendar .rdp-week .rdp-range_middle:last-child::before {
  border-radius: 0 999px 999px 0;
}

.nodedc-ui-calendar .rdp-week .rdp-range_start:last-child::before {
  border-radius: 999px;
}

.nodedc-ui-calendar .rdp-range_start.rdp-range_end::before {
  border-radius: 999px;
}

.nodedc-ui-calendar .rdp-range_start .rdp-day_button,
.nodedc-ui-calendar .rdp-range_middle .rdp-day_button,
.nodedc-ui-calendar .rdp-range_end .rdp-day_button {
  background: transparent;
  color: var(--rdp-selected-color);
  font-weight: 650;
}

.nodedc-ui-calendar .rdp-day.rdp-range_middle .rdp-day_button:hover,
.nodedc-ui-calendar .rdp-day.rdp-range_middle .rdp-day_button:focus-visible {
  background: transparent;
  color: var(--rdp-selected-color);
}

.nodedc-ui-calendar__reset {
  min-height: 2.1rem;
  justify-self: start;
  border: 0;
  border-radius: var(--launcher-radius-circle);
  background: transparent;
  color: var(--text-secondary);
  padding: 0 0.76rem;
  font-size: 0.72rem;
  font-weight: 760;
}

.nodedc-ui-calendar__reset:hover {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text-primary);
}
