.rentbuy-shell .rentbuy-layout {
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
}

.rentbuy-shell .rentbuy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rentbuy-group-title {
  margin: 20px 0 10px;
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
}

.rentbuy-shell .adcalc-field small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.rentbuy-shell .adcalc-validation:empty {
  margin: 0;
  min-height: 0;
}

.rentbuy-shell .adcalc-validation:not(:empty) {
  margin-top: 12px;
  min-height: 20px;
}

.rentbuy-affix-suffix {
  grid-template-columns: 1fr auto;
}

.rentbuy-shell .rentbuy-suffix {
  min-width: 48px;
  border-right: 0;
  border-left: 1px solid #bcc8df;
}

.rentbuy-results {
  display: grid;
  align-content: start;
}

.rentbuy-shell .rentbuy-kpis {
  grid-template-columns: 1fr;
}

.rentbuy-positive {
  color: #047857;
}

.rentbuy-negative {
  color: #b91c1c;
}

.rentbuy-chart-card {
  padding: 22px;
}

.rentbuy-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.rentbuy-chart-head h2 {
  margin: 0 0 6px;
}

.rentbuy-chart-head p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.rentbuy-chart {
  min-height: 360px;
}

.rentbuy-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.rentbuy-chart-axis {
  stroke: #d7e2f4;
  stroke-width: 1;
}

.rentbuy-chart-grid {
  stroke: #e8eef8;
  stroke-width: 1;
}

.rentbuy-chart-buy {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rentbuy-chart-rent {
  fill: none;
  stroke: #14b8a6;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rentbuy-chart-label {
  fill: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.rentbuy-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
  color: #475569;
  font-size: 13px;
  white-space: nowrap;
}

.rentbuy-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rentbuy-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.rentbuy-dot-buy {
  background: #2563eb;
}

.rentbuy-dot-rent {
  background: #14b8a6;
}

.rentbuy-yearly h2 {
  margin: 0 0 8px;
}

.rentbuy-yearly p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.6;
}

.rentbuy-table-wrap {
  overflow-x: auto;
}

.rentbuy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rentbuy-table th,
.rentbuy-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: right;
  white-space: nowrap;
}

.rentbuy-table th:first-child,
.rentbuy-table td:first-child,
.rentbuy-table th:last-child,
.rentbuy-table td:last-child {
  text-align: left;
}

.rentbuy-table th {
  color: #475569;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 980px) {
  .rentbuy-shell .rentbuy-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rentbuy-shell .rentbuy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rentbuy-chart-head {
    display: grid;
  }

  .rentbuy-chart {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .rentbuy-shell .rentbuy-grid {
    grid-template-columns: 1fr;
  }
}
