:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host,
*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
    :host,
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }:host {
  /**
   * @prop --active-color: defaults to var(--nano-color-primary-1000);
   * @prop --active-text-color: defaults to var(--nano-color-base-0);
   * @prop --inactive-color: defaults to var(--nano-color-neutral-300);
   */
  --active-color: var(--nano-color-primary-1000);
  --active-text-color: var(--nano-color-base-0);
  --inactive-color: var(--nano-color-neutral-300);
  display: block;
  font-size: 16px;
  background: var(--nano-color-neutral-50);
}

.duet-date *,
.duet-date *::before,
.duet-date *::after {
  box-sizing: border-box;
  margin: 0;
}

.duet-date {
  box-sizing: border-box;
  color: currentcolor;
  display: block;
  margin: 0;
  position: relative;
  text-align: start;
  inline-size: 100%;
}

.duet-date__dialog {
  display: flex;
  inset-block-start: 100%;
  max-inline-size: 100%;
  inline-size: 100%;
}
.duet-date__dialog.is-left {
  inset-inline: auto 0;
  inline-size: auto;
}

.duet-date__dialog-content {
  min-inline-size: 290px;
  padding: var(--nano-spacing-md);
  position: relative;
  transform: none;
  max-inline-size: 100%;
  inline-size: 100%;
}

.duet-date__table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1em;
  line-height: 1;
  text-align: center;
  inline-size: 100%;
}

.duet-date__table-header {
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  padding-block-end: 8px;
  text-decoration: none;
  text-transform: uppercase;
}

.duet-date__cell {
  text-align: center;
  padding: 0 0 3px;
}

.duet-date__day {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  font-size: 0.875em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  position: relative;
  text-align: center;
  vertical-align: middle;
  z-index: 1;
  block-size: 2.5em;
  inline-size: 2.5em;
}
.duet-date__day.is-today {
  box-shadow: 0 0 0 1px var(--active-color);
  position: relative;
}
.duet-date__day:hover::before, .duet-date__day.is-today::before {
  content: "";
  background: var(--active-color);
  border-radius: 50%;
  opacity: 0.16;
  position: absolute;
  inset: 0;
}
[aria-selected=true] .duet-date__day {
  background: var(--active-color) !important;
  color: var(--active-text-color);
  box-shadow: none;
  outline: 0;
}
.duet-date__day:not(.is-disabled):active {
  background: color-mix(in srgb, var(--active-color), black 20%);
  color: var(--active-text-color);
}
.duet-date__day:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: -1px;
  z-index: 2;
}
.duet-date__day.is-disabled {
  background: transparent;
  box-shadow: none;
  cursor: default;
  opacity: 0.5;
}
.duet-date__day.is-disabled::before {
  display: none;
}
.duet-date__day.is-outside {
  background: var(--inactive-color);
  box-shadow: none;
  cursor: default;
  opacity: 0.8;
  pointer-events: none;
}
.duet-date__day.is-outside::before {
  display: none;
}

.duet-date__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-block-end: var(--nano-spacing-md);
  inline-size: 100%;
}

.duet-date__nav {
  white-space: nowrap;
}

.duet-date__prev,
.duet-date__next {
  background: var(--inactive-color);
  align-items: center;
  appearance: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  justify-content: space-around;
  margin-inline-start: 8px;
  padding: 0;
  font-size: 0.9em;
  block-size: 2.2em;
  inline-size: 2.2em;
}
.duet-date__prev:focus-visible,
.duet-date__next:focus-visible {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}
.duet-date__prev:active,
.duet-date__next:active {
  background: color-mix(in srgb, var(--inactive-color), black 20%);
}
.duet-date__prev:disabled,
.duet-date__next:disabled {
  cursor: default;
  opacity: 0.7;
}
.duet-date__prev .nano-icon,
.duet-date__next .nano-icon {
  margin-block: 0;
  margin-inline: auto;
}

.duet-date__select {
  display: inline-flex;
  margin-block-start: 4px;
  position: relative;
}
.duet-date__select span {
  margin-inline-end: 4px;
}
.duet-date__select select {
  cursor: pointer;
  font-size: 1em;
  block-size: 100%;
  inset-inline-start: 0;
  opacity: 0;
  position: absolute;
  inset-block-start: 0;
  inline-size: 100%;
  z-index: 2;
}
.duet-date__select select:focus-visible:focus + .duet-date__select-label {
  outline: var(--nano-focus-ring);
  outline-offset: var(--nano-focus-ring-offset);
}

.duet-date__select-label {
  align-items: center;
  display: flex;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1;
  padding-block: 0;
  padding-inline: 8px 4px;
  pointer-events: none;
  position: relative;
  inline-size: 100%;
  z-index: 1;
}
.duet-date__select-label .nano-icon {
  font-size: 0.55em;
}

.duet-date__vhidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  block-size: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  inset-block-start: 0;
  inline-size: 1px;
}