
* { box-sizing: border-box; font-family: 'Mont', 'Montserrat', sans-serif; margin: 0; padding: 0; }

.rh-ri { width: 100%; background: #f7f7f7; }
.rh-ri-wrap { max-width: 1600px; margin: 0 auto; padding: 56px 80px; }
.rh-ri-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* LEFT: FORM */
.rh-ri-form { background: #ffffff; border-radius: 20px; padding: 40px; }
.rh-ri-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #99AD8F; display: block; margin: 0 0 6px 0; }
.rh-ri-title { font-size: 19px; font-weight: 700; color: #262626; display: block; margin-bottom: 8px; }
.rh-ri-sub { font-size: 12.5px; font-weight: 600; color: #808080; display: block; margin-bottom: 28px; line-height: 1.55; }

.rh-ri-q { margin: 0 0 24px 0; }
.rh-ri-q:last-of-type { margin-bottom: 10px; }
.rh-ri-q-text { font-size: 13px; font-weight: 700; color: #262626; display: block; margin: 0 0 10px 0; }

.rh-ri-input-row { display: flex; align-items: center; background: #f5f5f5; border-radius: 12px; padding: 4px 16px; }
.rh-ri-input-row input[type="number"] { flex: 1; border: none; background: transparent; font-size: 16px; font-weight: 700; color: #262626; padding: 12px 0; outline: none; font-family: inherit; }
.rh-ri-input-suffix { font-size: 12px; font-weight: 600; color: #a0a0a0; white-space: nowrap; }

.rh-ri-slider-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.rh-ri-slider-val { font-size: 22px; font-weight: 700; color: #262626; }
.rh-ri-slider-hint { font-size: 11px; font-weight: 600; color: #A3A3A3; }
input[type="range"] { width: 100%; height: 6px; border-radius: 3px; background: #f0f0f0; outline: none; -webkit-appearance: none; accent-color: #99AD8F; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #99AD8F; cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px #99AD8F; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #99AD8F; cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px #99AD8F; }
.rh-ri-slider-marks { display: flex; justify-content: space-between; margin-top: 4px; }
.rh-ri-slider-marks span { font-size: 10px; font-weight: 600; color: #c2c2c2; }

.rh-ri-btn-calc { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: #262626; color: #ffffff; border: none; padding: 15px 28px; border-radius: 100px; cursor: pointer; transition: all 0.15s; margin-top: 6px; }
.rh-ri-btn-calc:hover { background: #464646; }

/* RIGHT: RESULT */
.rh-ri-result { background: #262626; border-radius: 20px; padding: 40px; position: sticky; top: 24px; min-height: 520px; display: flex; flex-direction: column; }

.rh-ri-result-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.rh-ri-result-empty-icon { font-size: 28px; opacity: 0.4; }
.rh-ri-result-empty-text { font-size: 12px; font-weight: 600; color: #808080; max-width: 230px; line-height: 1.6; }

.rh-ri-result-filled { display: none; flex-direction: column; height: 100%; }
.rh-ri-result-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #99AD8F; display: block; margin: 0 0 4px 0; }
.rh-ri-result-headline { font-size: 14px; font-weight: 600; color: #f7f7f7; display: block; margin-bottom: 22px; line-height: 1.4; }

.rh-ri-current-box { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 22px; margin-bottom: 16px; }
.rh-ri-current-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #f7f7f7; display: block; margin-bottom: 8px; }
.rh-ri-current-num { font-size: 30px; font-weight: 700; color: #ffffff; }
.rh-ri-current-sub { font-size: 11px; font-weight: 600; color: #808080; display: block; margin-top: 6px; }

.rh-ri-compare-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.rh-ri-compare-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.03); border-radius: 12px; padding: 14px 18px; }
.rh-ri-compare-row.highlight { background: rgba(191,216,179,0.1); border: 1px solid rgba(191,216,179,0.2); }
.rh-ri-compare-label { font-size: 12.5px; font-weight: 700; color: #f7f7f7; }
.rh-ri-compare-label-sub { font-size: 10.5px; font-weight: 600; color: #808080; display: block; margin-top: 2px; }
.rh-ri-compare-val { font-size: 15px; font-weight: 700; color: #99AD8F; text-align: right; }

.rh-ri-loss-box { background: rgba(203,129,125,0.1); border: 1px solid rgba(203,129,125,0.22); border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.rh-ri-loss-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #cb817d; display: block; margin-bottom: 8px; }
.rh-ri-loss-num { font-size: 24px; font-weight: 700; color: #ffffff; }
.rh-ri-loss-sub { font-size: 11.5px; font-weight: 600; color: #A3A3A3; display: block; margin-top: 8px; line-height: 1.55; }

.rh-ri-sources { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.rh-ri-sources-toggle { font-size: 10px; font-weight: 600; color: #585858; cursor: pointer; display: flex; align-items: center; gap: 4px; user-select: none; }
.rh-ri-sources-toggle:hover { color: #808080; }
.rh-ri-sources-list { display: none; font-size: 10px; font-weight: 600; color: #585858; line-height: 1.85; margin-top: 8px; }
.rh-ri-sources-list.open { display: block; }

@media (max-width: 860px) {
  .rh-ri-wrap { padding: 32px 20px; }
  .rh-ri-inner { grid-template-columns: 1fr; }
  .rh-ri-result { position: static; min-height: auto; }
  .rh-ri-form { padding: 28px 22px; }
}
@media (max-width: 960px) {
  .rh-ri-wrap { padding-left: 40px; padding-right: 40px; }
}
