.month-calendar {
  container-type: inline-size;
}
.month-nav {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 6px;
  margin: 14px 0 8px;
  text-align: center;
}
.month-nav h3 {
  margin: 0;
  font-size: .99rem;
  letter-spacing: -.025em;
}
.month-arrow, .month-day {
  display: grid;
  min-width: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}
.month-arrow {
  min-height: 36px;
  background: #e9f4ef;
  color: #155344;
  font-size: 1.65rem;
  line-height: 1;
}
.month-arrow[aria-disabled] {
  background: #f3f6f4;
  color: #768781;
}
.month-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}
.month-weekday {
  padding: 3px 0;
  color: #526e64;
  font-size: .7rem;
  font-weight: 650;
}
.month-day {
  min-height: 30px;
  color: #6b8079;
  font-size: .82rem;
}
a.month-day {
  background: #e4f2eb;
  color: #154e40;
  font-weight: 750;
}
.month-day.is-today {
  border-color: #399675;
}
.month-day[aria-current="date"] {
  border-color: #0c4036;
  background: #0c4036;
  color: #fff;
  font-weight: 750;
}
a.month-day:not([aria-current]):hover, a.month-arrow:hover {
  background: #cfeade;
  text-decoration: none;
}
.month-today {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 12px;
  padding: 0 12px;
  color: #155344;
  border: 1px solid #bddcd0;
  border-radius: 7px;
  background: #f5faf7;
  font-size: .84rem;
  font-weight: 700;
}
.month-calendar a:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid #19755b;
  outline-offset: 2px;
}
@container (min-width: 272px) {
  .month-day, .month-arrow { min-height: 40px; }
  .month-nav { grid-template-columns: 40px minmax(0, 1fr) 40px; }
}
