.date-control {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.date-control > .date-editor {
  width: 100%;
  padding-inline-end: 34px;
}

.date-control > .date-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.date-control > .date-picker-button {
  position: absolute;
  inset-block: 4px;
  inset-inline-end: 4px;
  display: grid;
  place-items: center;
  width: 26px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}

.date-control > .date-picker-button::before {
  content: '';
  width: 13px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) 0 3px / 100% 1px no-repeat;
}

.date-control > .date-picker-button:hover:not(:disabled) {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.date-control-native > .date-native {
  opacity: 1;
  pointer-events: auto;
}

.date-control-native > .date-picker-button {
  visibility: hidden;
}

.order-date-range > .date-control,
.people-date-filter > .date-control {
  color: inherit;
  font-size: inherit;
}

.people-date-filter > .date-control {
  flex: 1;
  width: auto;
}
