/* ARVEN Calculator */
#scenario-conservative,
#scenario-expected,
#scenario-optimistic,
#horizon-5,
#horizon-10,
#horizon-15,
#horizon-20,
#fraction-minus,
#fraction-plus {
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

#scenario-conservative:hover,
#scenario-expected:hover,
#scenario-optimistic:hover,
#horizon-5:hover,
#horizon-10:hover,
#horizon-15:hover,
#horizon-20:hover,
#fraction-minus:hover,
#fraction-plus:hover {
  transform: translateY(-2px);
}

.arven-selected {
  border: 2px solid #bd7742 !important;
  background: #f8eadb !important;
  box-shadow: 0 10px 25px rgba(189, 119, 66, .18) !important;
  transform: translateY(-2px);
}

.arven-selected h1,
.arven-selected h2,
.arven-selected h3,
.arven-selected h4,
.arven-selected p,
.arven-selected span,
.arven-selected .hfe-infocard-title,
.arven-selected .hfe-infocard-text {
  color: #9a582c !important;
}

.arven-disabled {
  opacity: .42;
  pointer-events: none;
}

#investment-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
}

.arven-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 0 16px;
  color: #68748a;
  font-size: 14px;
}

.arven-chart-key::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 3px;
  margin-right: 7px;
  vertical-align: middle;
  background: var(--key-color);
}

#projection-table table {
  width: 100%;
}

#projection-table tbody tr {
  transition: background-color .15s ease;
}

#projection-table tbody tr:hover {
  background: #fbf4ea;
}

@media (max-width: 767px) {
  #investment-chart svg { min-height: 240px; }
  #projection-table { overflow-x: auto; }
  #projection-table table { min-width: 620px; }
}
