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

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

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

.rh-q { margin: 0 0 22px 0; }
.rh-q:last-of-type { margin-bottom: 8px; }
.rh-q-text { font-size: 13px; font-weight: 600; color: #262626; display: block; margin: 0 0 10px 0; }
.rh-q-hint { font-size: 10.5px; font-weight: 600; color: #b3b3b3; display: block; margin: -4px 0 10px 0; }

/* slider */
.rh-slider-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.rh-slider-val { font-size: 20px; font-weight: 700; color: #262626; }
.rh-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-slider-marks { display: flex; justify-content: space-between; margin-top: 4px; }
.rh-slider-marks span { font-size: 10px; font-weight: 600; color: #c2c2c2; }

/* incident cards (richer than radio list) */
.rh-incident-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rh-incident-card { background: #f2f2f2; border-radius: 12px; padding: 12px 14px; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; position: relative; }
.rh-incident-card:hover { background: #DFECD9; border-color: #BFD8B3; }
.rh-incident-card.selected { background: #DFECD9; border-color: #99AD8F; }
.rh-incident-name { font-size: 12.5px; font-weight: 700; color: #262626; display: block; margin-bottom: 3px; }
.rh-incident-mech { font-size: 10px; font-weight: 600; color: #939393; display: block; line-height: 1.4; }
.rh-incident-card input { display: none; }

/* options (reach) */
.rh-options { display: flex; gap: 6px; }
.rh-option-pill { flex: 1; text-align: center; background: #f2f2f2; border-radius: 10px; padding: 10px 6px; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; font-size: 12px; font-weight: 600; color: #333333; }
.rh-option-pill:hover { background: #DFECD9; border-color: #BFD8B3; }
.rh-option-pill.selected { background: #262626; border-color: #262626; color: #fff; }

/* toggle (yes/no) */
.rh-toggle-row { display: flex; gap: 8px; }
.rh-toggle { flex: 1; text-align: center; background: #f2f2f2; border-radius: 10px; padding: 12px; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; font-size: 13px; font-weight: 600; color: #333333; }
.rh-toggle:hover { background: #DFECD9; border-color: #BFD8B3; }
.rh-toggle.selected { background: #262626; border-color: #262626; color: #fff; }

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

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

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

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

.rh-range-box { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.rh-range-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #f7f7f7; display: block; margin-bottom: 10px; }
.rh-range-nums { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rh-range-num { font-size: 28px; font-weight: 700; color: #ffffff; line-height: 1.1; }
.rh-range-dash { font-size: 16px; color: #585858; }
.rh-range-note { font-size: 10.5px; font-weight: 600; color: #808080; display: block; margin-top: 10px; line-height: 1.5; }

/* comparison bars across incident types */
.rh-compare-box { background: rgba(255,255,255,0.03); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.rh-compare-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #f7f7f7; display: block; margin-bottom: 12px; }
.rh-cmp-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rh-cmp-row:last-child { margin-bottom: 0; }
.rh-cmp-label { font-size: 10.5px; font-weight: 600; color: #A3A3A3; width: 92px; flex-shrink: 0; }
.rh-cmp-label.active { color: #BFD8B3; }
.rh-cmp-track { flex: 1; height: 14px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; position: relative; }
.rh-cmp-fill { height: 100%; border-radius: 4px; background: #585858; transition: width 0.5s ease; }
.rh-cmp-fill.active { background: #99AD8F; }
.rh-cmp-val { font-size: 10.5px; font-weight: 700; color: #808080; width: 70px; text-align: right; flex-shrink: 0; }
.rh-cmp-val.active { color: #fff; }

.rh-breakdown { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.rh-breakdown-row { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.rh-breakdown-row:last-child { border-bottom: none; padding-bottom: 0; }
.rh-breakdown-label { font-size: 12px; font-weight: 600; color: #A3A3A3; }
.rh-breakdown-val { font-size: 12px; font-weight: 700; color: #f7f7f7; text-align: right; }

.rh-compare-cta-text { background: rgba(191,216,179,0.08); border: 1px solid rgba(191,216,179,0.16); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; font-size: 12px; font-weight: 600; color: #BFD8B3; line-height: 1.5; }
.rh-compare-cta-text b { color: #ffffff; }

.rh-cta { margin-top: auto; }
.rh-cta-btn { display: block; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none !important; color: #262626 !important; background: #BFD8B3; padding: 13px 20px; border-radius: 100px; transition: background 0.15s; }
.rh-cta-btn:hover { background: #99AD8F; }

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

@media (max-width: 860px) {
  .rh-calc-wrap { padding: 32px 20px; }
  .rh-calc-inner { grid-template-columns: 1fr; }
  .rh-result { position: static; min-height: auto; }
  .rh-incident-grid { grid-template-columns: 1fr; }
}
