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

/* ── CALC WRAPPER ── */
.rh-cp-calc { width: 100%; background: #f7f7f7; }
.rh-cp-calc-wrap { max-width: 1600px; margin: 0 auto; padding: 56px 80px; }
.rh-cp-calc-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }

/* ── LEFT: FORM ── */
.rh-cp-form { background: #ffffff; border-radius: 20px; padding: 36px; color: #262626; }

/* Surface nav dots */
.rh-surface-nav { display: flex; gap: 8px; margin: 0 0 24px 0; align-items: center; }
.rh-surface-dot { width: 8px; height: 8px; border-radius: 50%; background: #E6E6E6; transition: all 0.3s; cursor: default; flex-shrink: 0; }
.rh-surface-dot.done { background: #99AD8F; }
.rh-surface-dot.active { background: #262626; width: 24px; border-radius: 4px; }

/* Signal counter */
.rh-signal-meta { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px 0; }
.rh-signal-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #99AD8F; }
.rh-signal-count { font-size: 11px; font-weight: 600; color: #A3A3A3; }

/* Progress bar */
.rh-cp-progress-bar { height: 3px; background: #f0f0f0; border-radius: 2px; overflow: hidden; margin: 0 0 24px 0; }
.rh-cp-progress-fill { height: 100%; background: linear-gradient(to right, #BFD8B3, #99AD8F); border-radius: 2px; transition: width 0.5s ease; }

/* Surface header */
.rh-surface-header { margin: 0 0 20px 0; }
.rh-surface-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #999999; display: block; margin: 0 0 4px 0; }
.rh-surface-title { font-size: 17px; font-weight: 600; color: #262626; display: block; line-height: 1.3; }
.rh-surface-sub { font-size: 12px; font-weight: 600; color: #585858; display: block; margin-top: 4px; }

/* Section */
.rh-cp-section { display: none; }
.rh-cp-section.active { display: block; animation: fadeSlide 0.25s ease; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Question */
.rh-cp-q { margin: 0 0 18px 0; }
.rh-cp-q:last-child { margin: 0; }
.rh-cp-q-text { font-size: 13px; font-weight: 600; color: #262626; display: block; margin: 0 0 8px 0; line-height: 1.5; }

/* Options */
.rh-cp-options { display: flex; flex-direction: column; gap: 6px; }
.rh-cp-option { display: flex; align-items: center; gap: 10px; background: #f2f2f2; border-radius: 10px; padding: 10px 14px; cursor: pointer; border: 2px solid transparent; transition: all 0.15s; }
.rh-cp-option:hover { background: #DFECD9; border-color: #BFD8B3; }
.rh-cp-option.selected { background: #DFECD9; border-color: #99AD8F; }
.rh-cp-option input { display: none; }
.rh-cp-option-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #CCCCCC; flex-shrink: 0; transition: all 0.15s; display: flex; align-items: center; justify-content: center; }
.rh-cp-option.selected .rh-cp-option-dot { border-color: #99AD8F; background: #99AD8F; }
.rh-cp-option.selected .rh-cp-option-dot::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #fff; display: block; }
.rh-cp-option-text { font-size: 13px; font-weight: 600; color: #333333; }
.rh-cp-option.selected .rh-cp-option-text { color: #262626; }

/* Nav */
.rh-cp-nav { display: flex; gap: 10px; margin-top: 24px; }
.rh-cp-btn-back { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: #f0f0f0; color: #808080; border: none; padding: 12px 20px; border-radius: 100px; cursor: pointer; transition: all 0.15s; }
.rh-cp-btn-back:hover { background: #e0e0e0; }
.rh-cp-btn-next { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: #262626; color: #ffffff; border: none; padding: 12px 28px; border-radius: 100px; cursor: pointer; transition: all 0.15s; flex: 1; }
.rh-cp-btn-next:hover { background: #464646; }
.rh-cp-btn-calc { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: #BFD8B3; color: #262626; border: none; padding: 12px 28px; border-radius: 100px; cursor: pointer; transition: all 0.15s; flex: 1; }
.rh-cp-btn-calc:hover { background: #99AD8F; }

/* ── RIGHT: LIVE PANEL ── */
.rh-cp-result { background: #262626; border-radius: 20px; padding: 32px; position: sticky; top: 24px; }

/* Live scan header */
.rh-live-header { display: flex; justify-content: space-between; align-items: center; margin: 0 0 20px 0; }
.rh-live-title { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #f7f7f7; }
.rh-live-status { display: flex; align-items: center; gap: 6px; }
.rh-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #99AD8F; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.rh-live-status-text { font-size: 11px; font-weight: 600; color: #f7f7f7; }

/* Overall exposure meter */
.rh-exposure-meter { background: rgba(255,255,255,0.04); border-radius: 14px; padding: 18px 20px; margin: 0 0 16px 0; }
.rh-exposure-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #f7f7f7; display: block; margin: 0 0 10px 0; }
.rh-exposure-score-row { display: flex; align-items: baseline; gap: 8px; }
.rh-exposure-num { font-size: 44px; font-weight: 600; line-height: 1; color: #ffffff; transition: color 0.5s; }
.rh-exposure-max { font-size: 14px; font-weight: 600; color: #808080; }
.rh-exposure-status { font-size: 12px; font-weight: 600; color: #808080; display: block; margin-top: 6px; }
.rh-exposure-bar-wrap { margin-top: 12px; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.rh-exposure-bar-fill { height: 100%; border-radius: 3px; background: #464646; transition: width 0.6s ease, background 0.5s; }

/* Surface bars */
.rh-surfaces-list { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px 0; }
.rh-surface-row { display: flex; align-items: center; gap: 10px; }
.rh-surface-row-name { font-size: 11px; font-weight: 600; color: #A3A3A3; width: 108px; flex-shrink: 0; transition: color 0.3s; }
.rh-surface-row-name.scanning { color: #99AD8F; }
.rh-surface-row-name.done-row { color: #808080; }
.rh-surface-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.rh-surface-bar-fill { height: 100%; border-radius: 2px; background: #464646; transition: width 0.6s ease, background 0.5s; }
.rh-surface-row-val { font-size: 11px; font-weight: 600; width: 28px; text-align: right; flex-shrink: 0; color: #808080; transition: color 0.3s; }
.rh-surface-row-icon { font-size: 10px; width: 16px; flex-shrink: 0; text-align: center; }

/* Scan log */
.rh-scan-log { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 14px; }
.rh-scan-log-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #f7f7f7; display: block; margin: 0 0 10px 0; }
.rh-scan-log-item { display: flex; align-items: center; gap: 8px; margin: 0 0 6px 0; font-size: 11px; font-weight: 600; }
.rh-scan-log-item .icon { width: 14px; flex-shrink: 0; text-align: center; }
.rh-scan-log-item.pending { color: #808080; }
.rh-scan-log-item.scanning { color: #99AD8F; }
.rh-scan-log-item.done-log { color: #A3A3A3; }
.rh-scan-log-item.vuln { color: #CB817D; }

/* ── RESULT STATE ── */
.rh-result-final { display: none; }

.rh-result-report-header { margin: 0 0 16px 0; }
.rh-result-report-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #606C59; display: block; margin: 0 0 4px 0; }
.rh-result-report-title { font-size: 16px; font-weight: 600; color: #ffffff; display: block; }

.rh-gauge-wrap { text-align: center; margin: 0 0 16px 0; }
.rh-gauge-svg { display: block; margin: 0 auto; }

.rh-final-dims { margin: 0 0 16px 0; }
.rh-final-dim-row { display: flex; align-items: center; gap: 10px; margin: 0 0 8px 0; }
.rh-final-dim-name { font-size: 11px; font-weight: 600; color: #808080; width: 108px; flex-shrink: 0; }
.rh-final-dim-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.rh-final-dim-fill { height: 100%; border-radius: 2px; }
.rh-final-dim-val { font-size: 11px; font-weight: 600; width: 28px; text-align: right; flex-shrink: 0; }

/* What if simulator */
.rh-whatif { background: rgba(191,216,179,0.06); border: 1px solid rgba(191,216,179,0.12); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px 0; }
.rh-whatif-title { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #606C59; display: block; margin: 0 0 10px 0; }
.rh-whatif-row { display: flex; justify-content: space-between; align-items: center; margin: 0 0 7px 0; padding: 0 0 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.rh-whatif-row:last-child { margin: 0; padding: 0; border: none; }
.rh-whatif-action { font-size: 11px; font-weight: 600; color: #585858; flex: 1; line-height: 1.4; }
.rh-whatif-impact { font-size: 12px; font-weight: 600; color: #99AD8F; flex-shrink: 0; margin-left: 8px; }

/* CTA */
.rh-result-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: 12px 20px; border-radius: 100px; transition: background 0.15s; }
.rh-result-cta-btn:hover { background: #99AD8F; }
.rh-result-cta-sub { font-size: 11px; font-weight: 600; color: #464646; display: block; margin-top: 8px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .rh-cp-calc-wrap { padding-left: 40px; padding-right: 40px; }
  .rh-cp-calc-inner { grid-template-columns: 1fr; }
  .rh-cp-result { position: static; }
}
@media (max-width: 600px) {
  .rh-cp-calc-wrap { padding: 40px 20px; }
  .rh-cp-form, .rh-cp-result { padding: 24px 20px; border-radius: 14px; }
}
