/* Match the View Week label color to the Selected Store label. */
.week-picker > span {
  color: #807a76 !important;
}

/* Make the visible week range easier to read without changing the control height. */
.week-picker small,
#weekRangeLabel {
  font-size: 12px !important;
  line-height: 1 !important;
  align-self: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .compact-nav-control-row .week-picker small,
  .compact-nav-control-row #weekRangeLabel {
    font-size: 12px !important;
    line-height: 1 !important;
  }
}


/* Align the selected week date directly under the View Week label. */
.week-picker input#weekDate {
  justify-self: start !important;
  margin: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

.week-picker input#weekDate::-webkit-datetime-edit,
.week-picker input#weekDate::-webkit-date-and-time-value {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.week-picker input#weekDate::-webkit-datetime-edit-fields-wrapper {
  padding: 0 !important;
}


/* Keep the date/range chevrons visually attached to the text they control. */
.week-picker {
  grid-template-columns: 124px max-content 24px !important;
  column-gap: 10px !important;
  justify-content: start !important;
}

.week-picker input#weekDate {
  width: 124px !important;
}

.week-picker input#weekDate::-webkit-calendar-picker-indicator {
  width: 14px !important;
  height: 14px !important;
  margin: 0 0 0 4px !important;
  padding: 0 !important;
  cursor: pointer;
}

#weekRangeLabel {
  justify-self: start !important;
}

.week-picker .week-picker-open {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  margin-left: -3px !important;
  align-self: end !important;
  justify-self: start !important;
}

.week-picker .week-picker-open svg {
  width: 15px !important;
  height: 15px !important;
}

@media (max-width: 580px) {
  .week-picker {
    grid-template-columns: 104px minmax(0, 1fr) 22px !important;
    column-gap: 6px !important;
    justify-content: stretch !important;
  }

  .week-picker input#weekDate {
    width: 104px !important;
  }

  .week-picker .week-picker-open {
    width: 22px !important;
    min-width: 22px !important;
    margin-left: -2px !important;
  }
}
