.active-rent-controls .rent-years-trigger {
  white-space: nowrap;
}
.rent-year-options {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  margin: 20px 0 12px;
}
.rent-year-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 51px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.rent-year-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.rent-year-option input {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex: none;
  cursor: pointer;
}
.rent-year-option span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.rent-year-option small {
  font-size: .67rem;
  color: var(--muted);
  font-weight: 600;
}
.rent-years-info {
  font-size: .89rem;
  line-height: 1.5;
  padding: 13px;
  margin: 0 0 14px;
  background: var(--soft);
  border-radius: 12px;
  color: var(--text);
}
.rent-year-chart-note,.rent-years-comparison-note {
  font-size: .81rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 7px 0 10px;
}
@media(max-width:650px) {
  .active-rent-controls .rent-years-trigger {
    white-space: normal;
  }
  .rent-year-options {
    gap: 6px;
  }
  .rent-year-option {
    gap: 5px;
    padding: 8px 5px;
  }
  .rent-year-option small {
    font-size: .61rem;
  }
}
@media print {
  .rent-years-trigger,#rentYearsDialog {
    display: none!important;
  }
}
