/* The app's Air Datepicker theme, built here from the tokens (the library brings no CSS of its own here): a month of days in
   seven columns, the months and the years in three, the chosen days on the accent, the first and the last in the brand's
   turquoise. A calendar's wrapper takes `wi-calendar`: the days filter's (DateRangeFilter) and the birth date field's
   (Forms::DatePicker) both do. */
.wi-calendar .air-datepicker-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0;
}
.wi-calendar .air-datepicker-nav--title,
.wi-calendar .air-datepicker-nav--action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-control-sm);
  min-height: var(--size-control-sm);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}
.wi-calendar .air-datepicker-nav--title i {
  margin-inline-start: var(--space-1);
  font-style: normal;
}
.wi-calendar .air-datepicker-nav--action svg {
  width: var(--size-icon-md);
  height: var(--size-icon-md);
}
.wi-calendar .air-datepicker-nav--action path {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--border-2);
}
.wi-calendar .air-datepicker-nav--action.-disabled- {
  visibility: hidden;
}
.wi-calendar .air-datepicker-nav--title:hover,
.wi-calendar .air-datepicker-nav--action:hover,
.wi-calendar .air-datepicker-cell.-focus- {
  background-color: var(--background-sunken);
}
.wi-calendar .air-datepicker-body--day-names,
.wi-calendar .air-datepicker-body--cells {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.wi-calendar .air-datepicker-body--cells {
  grid-auto-rows: var(--size-control-sm);
}
.wi-calendar .air-datepicker-body--cells:not(.-days-) {
  grid-template-columns: repeat(3, 1fr);
}
.wi-calendar .air-datepicker-body.-hidden- {
  display: none;
}
.wi-calendar .air-datepicker-body--day-name {
  padding-block: var(--space-1);
  color: var(--text-tertiary);
  font-size: var(--font-size-xs);
  text-align: center;
  text-transform: uppercase;
}
.wi-calendar .air-datepicker-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.wi-calendar .air-datepicker-cell.-other-month-,
.wi-calendar .air-datepicker-cell.-other-decade- {
  color: var(--text-tertiary);
}
.wi-calendar .air-datepicker-cell.-current- {
  font-weight: var(--font-weight-bold);
}
.wi-calendar .air-datepicker-cell.-disabled- {
  color: var(--text-disabled);
  cursor: default;
}
.wi-calendar .air-datepicker-cell.-in-range- {
  border-radius: 0;
  background-color: var(--background-accent-subtle);
}
.wi-calendar .air-datepicker-cell.-selected- {
  background-color: var(--brand-secondary-bg);
  color: var(--text-on-brand);
}
