/* credit-router.css -- VA Credit Qualification Router (.cqr2) */
.cqr2 {
  --navy: #0A2540;
  --navy-deep: #061829;
  --navy-mid: #143256;
  --navy-light: #1E4470;
  --gold: #FFB800;
  --gold-soft: #FFC733;
  --blue: #2B7FFF;
  --blue-bright: #4A96FF;
  --white: #FFFFFF;
  --gray-400: #94A3B8;
  --green: #10B981;
  --green-soft: #34D399;
  --red: #E41E3F;
  max-width: 649px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
.cqr2 *, .cqr2 *::before, .cqr2 *::after { box-sizing: border-box; }

.cqr2 .cqr-wrap {
  background: radial-gradient(circle at 15% 0%, rgba(43,127,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 100%, rgba(255,184,0,0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 12px;
  padding: 10px 14px 8px;
  font-size: 14px;
  line-height: 1.35;
}

.cqr2 .cqr-topstrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,184,0,0.2);
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 6px;
}
.cqr2 .cqr-topstrip-label { color: var(--gold); font-weight: 600; }

/* Inputs */
.cqr2 .cqr-field { margin-bottom: 5px; }
.cqr2 .cqr-field label { display: block; font-size: 12px; color: var(--gray-400); margin-bottom: 1px; font-weight: 500; }
.cqr2 p { font-size: 14px; line-height: 1.35; color: var(--white); }
.cqr2 ul, .cqr2 li { font-size: 14px; line-height: 1.35; color: var(--white); background: transparent; }
.cqr2 h3 { font-size: 16px; font-weight: 700; color: var(--white); }
.cqr2 h4 { font-size: 14px; font-weight: 600; color: var(--white); }
.cqr2 label { font-size: 12px; color: var(--gray-400); }
.cqr2 input,
.cqr2 select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.cqr2 input:focus,
.cqr2 select:focus { border-color: var(--gold); }
.cqr2 input::placeholder { color: rgba(255,255,255,0.55); opacity: 1; }

.cqr2 .cqr-row { display: flex; gap: 8px; }
.cqr2 .cqr-row .cqr-field { flex: 1; }

.cqr2 .cqr-score-display {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  margin: 2px 0;
}

.cqr2 .cqr-range {
  width: 100%;
  accent-color: var(--gold);
  margin: 0;
}

/* More Detail collapse -- Divi resets at 0-2-1 */
.cqr2 details { background: transparent; border: none; overflow: visible; border-radius: 0; }
.cqr2 details > summary { background: transparent; }
.cqr2 details > :not(summary) { background: transparent; }
.cqr2 summary { display: block; justify-content: normal; list-style: none; background: transparent; }
.cqr2 summary::after { content: none; display: none; }
.cqr2 button { background: transparent; border: none; font-family: inherit; cursor: pointer; }

.cqr2 .cqr-more { margin: 4px 0; }
.cqr2 .cqr-more summary {
  font-size: 12px;
  color: var(--blue-bright);
  cursor: pointer;
  padding: 4px 0;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cqr2 .cqr-more summary::before { content: '+ '; }
.cqr2 .cqr-more[open] summary::before { content: '- '; }

/* Results */
.cqr2 .cqr-results { margin-top: 6px; }
.cqr2 .cqr-result-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 5px;
}
.cqr2 .cqr-result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.cqr2 .cqr-result-value { font-size: 14px; font-weight: 600; }
.cqr2 .cqr-result-value.green { color: var(--green); }
.cqr2 .cqr-result-value.gold { color: var(--gold); }
.cqr2 .cqr-result-value.red { color: var(--red); }

.cqr2 .cqr-residual-bar {
  height: 5px;
  background: var(--navy-light);
  border-radius: 3px;
  margin-top: 6px;
  position: relative;
}
.cqr2 .cqr-residual-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s;
}
.cqr2 .cqr-residual-fill.green { background: var(--green); }
.cqr2 .cqr-residual-fill.gold { background: var(--gold); }
.cqr2 .cqr-residual-fill.red { background: var(--red); }

/* CTA / Lead Form */
.cqr2 .cqr-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  font-family: inherit;
}
.cqr2 .cqr-cta:hover { transform: scale(0.98); }

.cqr2 .cqr-form { display: none; margin-top: 10px; }
.cqr2 .cqr-form.visible { display: block; }
.cqr2 .cqr-form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 6px;
}
.cqr2 .cqr-form-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}
.cqr2 .cqr-hp { position: absolute; left: -9999px; }

@media (max-width: 767px) {
  .cqr2 .cqr-row { flex-direction: column; gap: 0; }
}
