.ch-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  padding: 0;
  user-select: none;
  position: relative;
}
.ch-picker .ch-picker-nav-btn {
  position: absolute;
  top: 0;
  font-size: 2em;
  background: none;
  border: none;
  cursor: pointer;
}
.ch-picker .ch-picker-nav-btn.ch-picker-nav-prev {
  left: 0;
}
.ch-picker .ch-picker-nav-btn.ch-picker-nav-next {
  right: 0;
}
.ch-picker-month {
  flex: 1 1 310px;
  max-width: 350px;
  min-width: 270px;
}
.ch-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}
.ch-picker-title {
  flex-grow: 1;
  text-align: center;
  font-weight: 600;
  font-size: 1.3rem;
  user-select: none;
}
.ch-picker-nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  padding: 0.1rem 0.3rem;
  transition: color 0.2s;
}
.ch-picker-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.ch-picker-nav-btn:hover:not(:disabled) {
  color: #333;
}
.ch-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 5px;
  column-gap: 0;
}
.ch-picker-day-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  user-select: none;
  padding-top: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 5px;
}
.ch-picker-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  border-radius: 0;
  user-select: none;
  transition: background-color 0.2s ease;
  color: inherit;
}
.ch-picker-day:hover {
  background-color: #f2f2f2;
}
.ch-picker-day[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
@supports not (aspect-ratio: 1 / 1) {
  .ch-picker-day::before {
    content: "";
    float: left;
    padding-top: 100%;
  }
  .ch-picker-day > * {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}
.ch-picker-day .ch-picker-rate {
  font-size: 0.7rem;
  line-height: 1em;
  color: #999;
  margin-top: 0;
  user-select: none;
  min-height: 18px;
  transition: color 0.3s ease;
}
.ch-picker-day .ch-picker-rate.loading {
  color: #ddd;
  font-style: italic;
}
.ch-picker-day.ch-picker-selected-start,
.ch-picker-day.ch-picker-selected-end {
  background-color: #333;
  color: #fff;
}
.ch-picker-day.ch-picker-selected-start .ch-picker-rate,
.ch-picker-day.ch-picker-selected-end .ch-picker-rate {
  color: #fff;
}
.ch-picker-day.ch-picker-selected-start {
  border-radius: 0.4rem 0 0 0.4rem;
}
.ch-picker-day.ch-picker-selected-end {
  border-radius: 0 0.4rem 0.4rem 0;
}
.ch-picker-day.ch-picker-in-range {
  background-color: #f2f2f2;
}
@media (max-width: 768px) {
  .ch-picker {
    flex-direction: column;
    align-items: center;
  }
  .ch-picker-month {
    max-width: 100%;
  }
}
.ch-picker-tip {
  margin-top: 5px;
  padding: 5px 20px;
}
