/* le-review.css — VA Loan Estimate Review, rescoped from afford.css under .ler2 */
.ler2 {
  --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: #C8102E;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--white);
  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: 28px 24px 24px;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
.ler2 *, .ler2 *::before, .ler2 *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Layout */
.ler2-head { margin-bottom: 20px; }
.ler2-title { font-family: 'Source Serif 4', Georgia, serif; font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.ler2-subtitle { font-size: 12px; color: rgba(255,255,255,0.5); }

.ler2-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) { .ler2-layout { grid-template-columns: 1fr; } }

.ler2-left { min-width: 0; }
.ler2-right { position: sticky; top: 20px; min-width: 0; }

/* Inputs */
.ler2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 480px) { .ler2-row { grid-template-columns: 1fr; } }
.ler2-field { margin-bottom: 10px; }
.ler2-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.ler2-input { width: 100%; padding: 8px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: var(--white); font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.15s; }
.ler2-input:focus { border-color: var(--blue); }
.ler2-hint { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 2px; }
select.ler2-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; }
select.ler2-input option { background: var(--navy-deep); color: var(--white); }

/* Seg toggles */
.ler2-seg { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; overflow: hidden; }
.ler2-seg label { flex: 1; text-align: center; padding: 7px 4px; font-size: 11px; font-weight: 600; cursor: pointer; transition: background 0.15s; border-right: 1px solid rgba(255,255,255,0.08); }
.ler2-seg label:last-child { border-right: none; }
.ler2-seg input { display: none; }
.ler2-seg label:has(input:checked) { background: var(--gold); color: var(--navy); }

/* Expander (More options, table toggle, lead form) */
.ler2-expander { margin: 12px 0 6px; }
.ler2-expander summary { font-size: 11px; font-weight: 600; color: var(--blue-bright); cursor: pointer; letter-spacing: 0.03em; list-style: none; }
.ler2-expander summary::-webkit-details-marker { display: none; }
.ler2-expander summary::before { content: '+ '; }
.ler2-expander[open] summary::before { content: '\2212  '; }
.ler2-expander-body { padding-top: 10px; }

/* CTA button */
.ler2-cta { display: block; text-align: center; margin-top: 14px; padding: 12px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--navy); border: none; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; transition: transform 0.1s; cursor: pointer; }
.ler2-cta:hover { transform: scale(0.98); }

/* Disclaimer */
.ler2-disclaimer { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 14px; line-height: 1.5; }

/* ── LE-specific: offer cards ── */
.ler2-offers { display: flex; flex-direction: column; gap: 10px; }
.ler2-offer { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 14px 8px; }
.ler2-offer[hidden] { display: none; }
.ler2-offer-head { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }

/* ── LE-specific: shared holding period ── */
.ler2-shared { margin: 10px 0; padding: 8px 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; }
.ler2-shared label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); }
.ler2-shared select { margin-left: 6px; padding: 4px 8px; font-size: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; color: var(--white); }

/* ── LE-specific: results panel ── */
.ler2-results { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 16px 14px; }
.ler2-results h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }

/* Headlines */
.ler2-headlines { margin-bottom: 8px; }
.ler2-headline { font-size: 12px; padding: 3px 0; line-height: 1.45; }
.ler2-headline strong { color: var(--gold-soft); }

/* Checks/flags */
.ler2-checks { margin-bottom: 6px; }
.ler2-check { font-size: 11px; padding: 2px 0; color: rgba(255,255,255,0.6); line-height: 1.4; }
.ler2-check-warn { color: #f87171; }

/* Comparison table */
.ler2-table { width: 100%; font-size: 11px; border-collapse: collapse; margin: 6px 0; }
.ler2-table th, .ler2-table td { padding: 4px 6px; text-align: right; border-bottom: 1px solid rgba(255,255,255,0.05); }
.ler2-table th:first-child, .ler2-table td:first-child { text-align: left; }
.ler2-table th { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); }
.ler2-table .ler2-lowest { color: var(--green-soft); font-weight: 700; }

/* Lead form */
.ler2-lead { margin-top: 14px; }
.ler2-lead summary { font-size: 11px; font-weight: 600; color: var(--blue-bright); cursor: pointer; list-style: none; }
.ler2-lead summary::-webkit-details-marker { display: none; }
.ler2-lead summary::before { content: '+ '; }
.ler2-lead[open] summary::before { content: '\2212  '; }
.ler2-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ler2-lead-grid input { width: 100%; padding: 8px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: var(--white); font-size: 14px; font-family: inherit; outline: none; }
.ler2-lead-grid input:focus { border-color: var(--blue); }
.ler2-lead-submit { display: block; width: 100%; text-align: center; margin-top: 10px; padding: 12px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%); color: var(--navy); border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.ler2-lead-msg { font-size: 11px; color: var(--green-soft); margin-top: 6px; display: none; }
@media (max-width: 480px) { .ler2-lead-grid { grid-template-columns: 1fr; } }

/* ── vlnPage theme resets (tool-theme-resets.css template, TOOLID=ler2-tool) ── */
#ler2-tool #ler2-results a { color: #4A96FF !important; text-decoration: none !important; }
#ler2-tool #ler2-results a:hover { text-decoration: underline !important; }
#ler2-tool div[class*="bullet-section"] { background: transparent !important; padding: 0 !important; margin: 0 !important; border: none !important; border-radius: 0 !important; }
#ler2-tool ul, #ler2-tool li { background-color: transparent !important; }
#ler2-tool summary::after { content: none; display: none; }
#ler2-tool summary { display: block; justify-content: normal; }
#ler2-tool details { background: transparent; border: none; overflow: visible; border-radius: 0; }
#ler2-tool details > summary { background: transparent; }
#ler2-tool details > :not(summary) { background: transparent; }
#ler2-tool input:not([type="checkbox"]):not([type="radio"]) { background: rgba(255,255,255,0.06) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.12) !important; }
#ler2-tool input::placeholder { color: rgba(255,255,255,0.55); opacity: 1; }
#ler2-tool .ler2-lead-submit { background: linear-gradient(135deg, #FFB800 0%, #FFC733 100%) !important; color: #0A2540 !important; }
#ler2-tool h3 { color: #fff !important; }
#ler2-tool .ler2-table th { color: #94A3B8 !important; }
