: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 --focus-shadow: defaults to var(--nano-control-focus-shadow, 0 0 0 0.1875rem  var(--nano-control-focus-color, rgba(144, 198, 231, 0.8)));
   * @prop --open-btn-color: defaults to var(--nano-button-color, #f0efed);
   * @prop --open-btn-border: defaults to none;
   * @prop --close-btn-color: defaults to #f0efed;
   * @prop --picker-base-size: Base font size of the date picker component. Defaults to 16px;
   */
  display: inline-block;
  inline-size: 100%;
  --focus-shadow: var(--nano-control-focus-shadow, 0 0 0 0.1875rem  var(--nano-control-focus-color, rgba(144, 198, 231, 0.8)));
  --open-btn-color: var(--nano-button-color, #f0efed);
  --open-btn-border: none;
  --close-btn-color: var(--nano-button-color, #f0efed);
  --picker-base-size: 16px;
}

:host(.nano-color) {
  --focus-shadow: 0 0 0 0.1875rem rgb(var(--nano-color-tint-rgb)/0.56);
}

.nano-icon {
  pointer-events: none;
}

.date-field {
  display: flex;
  flex-direction: column;
  position: relative;
}
.date-field__dropdown {
  --padding: 0;
  --overflow: visible;
  padding: 0 !important;
  inline-size: 0 !important;
  inline-size: 100%;
  z-index: var(--nano-layer-index-dropdown, 300) !important;
}
.date-field__close-bar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  margin: 0;
  overflow: visible;
  padding: 0;
  position: absolute;
  inset-inline-end: -8px;
  inset-block-start: -8px;
  inline-size: auto;
  z-index: 1;
}
.date-field__open {
  background: var(--open-btn-color);
  border: var(--open-btn-border);
  margin: 0;
  appearance: none;
}
.date-field__open:focus {
  box-shadow: var(--focus-shadow);
  outline: none;
}
.date-field__close {
  align-items: center;
  appearance: none;
  background: var(--close-btn-color);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  block-size: 24px;
  justify-content: center;
  padding: 0;
  inline-size: 24px;
}
@media (width >= 36em) {
  .date-field__close {
    opacity: 0;
  }
}
.date-field__close:focus {
  box-shadow: var(--focus-shadow);
  outline: none;
}
@media (width >= 36em) {
  .date-field__close:focus {
    opacity: 1;
  }
}
.date-field__close .nano-icon {
  margin-block: 0;
  margin-inline: auto;
}
.date-field .nano-date-picker {
  font-size: var(--picker-base-size);
}

.vhidden {
  clip-path: inset(50%);
  block-size: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  inline-size: 1px;
}