.ho24-chart-section {
  background: #f2f2f2;
  box-shadow: inset 0 8px 8px -8px rgba(0, 0, 0, 0.08);
  padding: 40px 0 48px;
}

.ho24-chart-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
}

.ho24-chart-title {
  text-align: center;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: #373a3c;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.ho24-chart-title .accent {
  color: #2f80ed;
}

.ho24-chart-controls {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 12px;
}

.ho24-btn-col-left {
  flex: 0 0 57%;
  max-width: 57%;
  padding-right: 7px;
}

.ho24-btn-col-right {
  flex: 0 0 43%;
  max-width: 43%;
  padding-left: 8px;
}

@media (min-width: 400px) {
  .ho24-btn-col-left,
  .ho24-btn-col-right {
    flex: 0 0 50%;
    max-width: 195px;
  }
}

.ho24-btn-box {
  position: relative;
  margin: 0 auto;
  max-width: 380px;
}

.ho24-btn-deselect {
  opacity: 0.6;
}

.ho24-period-btn {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  background: #f2f2f2;
  color: #373a3c;
  font-size: 17px;
  font-weight: 700;
  padding: 13px 10px 13px 13px;
  text-align: left;
  cursor: default;
  line-height: 1.2;
}

.ho24-period-btn-muted {
  justify-content: center;
  padding-left: 10px;
}

.ho24-period-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ho24-chevron {
  flex-shrink: 0;
  margin-left: 6px;
  color: #373a3c;
}

.ho24-chart-height {
  position: relative;
  height: 300px;
  overflow: hidden;
  padding-left: 10px;
  padding-right: 6px;
}

@media (min-height: 640px) {
  .ho24-chart-height {
    height: 340px;
  }
}

.ho24-left-label,
.ho24-right-label,
.ho24-demand-label {
  position: absolute;
  color: #999;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}

.ho24-left-label,
.ho24-right-label {
  top: 5px;
  font-size: 13px;
}

.ho24-left-label {
  left: 6px;
  padding-right: 2px;
  transform: none;
}

.ho24-right-label {
  right: 0;
  padding-left: 2px;
}

.ho24-demand-label {
  left: 6px;
  bottom: 58px;
  transform: none;
  font-size: 10px;
}

@media (min-width: 576px) {
  .ho24-demand-label {
    font-size: 13px;
  }
}

.ho24-chart-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ho24-chart-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  color: #3b961a;
  font-weight: 500;
  text-decoration: underline;
  font-size: 15px;
}

.ho24-chart-more:hover {
  color: #106e06;
}

@media (max-width: 380px) {
  .ho24-chart-wrap {
    padding: 0 10px;
  }

  .ho24-period-btn {
    font-size: 15px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
