/* mpr-checker.css -- VA MPR Property Checker, scoped under .mpr2
   Derived from afford.css structure. Explicit font-size/line-height on every text child.
   Resets only on p, ul, li, label, h3, h4, input, select, button.
   details, summary, button transparent at 0-2-1. */

.mpr2 { max-width: 649px; }

/* ── Doubled-class overrides: beat .vlnPage selectors ── */
.mpr2.mpr2 summary { padding: 0; margin: 0; font-size: 12px; line-height: 1.4; min-height: 0; display: flex; }
.mpr2.mpr2 details { padding: 0; margin: 0; border: none; background: transparent; }
.mpr2.mpr2 label { padding: 0; margin: 0; font-size: 10px; line-height: 1.3; }
.mpr2.mpr2 p { font-size: 13px; line-height: 1.5; margin: 0; padding: 0; }
.mpr2.mpr2 li { font-size: 13px; line-height: 1.5; }
.mpr2.mpr2 select { font-size: 14px; line-height: 1.45; }
.mpr2.mpr2 button { font-size: 13px; line-height: 1.45; padding: 0; margin: 0; }
.mpr2.mpr2 .mpr2-item-head { padding: 6px 0; font-size: 12px; line-height: 1.4; }
.mpr2.mpr2 .mpr2-check { padding: 11px 16px; margin-top: 14px; font-size: 14px; }
.mpr2.mpr2 .mpr2-count-label { font-size: 9px; line-height: 1.3; }
.mpr2.mpr2 .mpr2-count-num { font-size: 24px; line-height: 1.2; }
.mpr2.mpr2 .mpr2-item-reason { font-size: 12px; line-height: 1.5; }
.mpr2.mpr2 .mpr2-item-next { font-size: 11px; line-height: 1.4; }
.mpr2.mpr2 .mpr2-item-next strong { font-size: 11px; line-height: 1.4; }
.mpr2.mpr2 .mpr2-item-status { font-size: 10px; line-height: 1.3; }
.mpr2.mpr2 .mpr2-item-title { font-size: 12px; line-height: 1.3; }
.mpr2.mpr2 .mpr2-note { font-size: 11px; line-height: 1.5; }
.mpr2.mpr2 .mpr2-lead-title { font-size: 12px; line-height: 1.4; }
.mpr2.mpr2 .mpr2-lead-submit { padding: 10px 16px; font-size: 13px; }
.mpr2.mpr2 .mpr2-badge { font-size: 9px; line-height: 1.3; }

.mpr2 {
  --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;
  --red-soft: #f87171;
  --orange: #F59E0B;
  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;
}
.mpr2 *, .mpr2 *::before, .mpr2 *::after { box-sizing: border-box; }

/* ── Scoped resets ── */
.mpr2 p { margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
.mpr2 ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.5; }
.mpr2 li { margin: 0; padding: 0; font-size: 13px; line-height: 1.5; }
.mpr2 label { margin: 0; padding: 0; font-size: 10px; line-height: 1.3; }
.mpr2 h3 { margin: 0; padding: 0; font-size: 15px; line-height: 1.3; font-weight: 700; }
.mpr2 h4 { margin: 0; padding: 0; font-size: 12px; line-height: 1.3; font-weight: 700; }
.mpr2 input { margin: 0; padding: 0; font-size: 14px; line-height: 1.45; }
.mpr2 select { margin: 0; padding: 0; font-size: 14px; line-height: 1.45; }
.mpr2 button { margin: 0; padding: 0; font-size: 13px; line-height: 1.45; }

/* ── details/summary transparent at 0-2-1 ── */
.mpr2 details { margin: 0; padding: 0; border: none; background: transparent; }
.mpr2 summary { margin: 0; padding: 0; border: none; background: transparent; cursor: pointer; list-style: none; font-size: 12px; line-height: 1.4; }
.mpr2 summary::-webkit-details-marker { display: none; }
.mpr2 button { border: none; background: transparent; cursor: pointer; }

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

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

.mpr2-inputs { min-width: 0; }
.mpr2-results { position: sticky; top: 20px; min-width: 0; }

/* ── Row structure (from 833) ── */
.mpr2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mpr2-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; }
@media (max-width: 480px) { .mpr2-row, .mpr2-row-3 { grid-template-columns: 1fr; } }
.mpr2-field { margin-bottom: 10px; }
.mpr2-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; line-height: 1.3; }
.mpr2-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; line-height: 1.45; font-family: inherit; outline: none; transition: border-color 0.15s; }
.mpr2-input:focus { border-color: var(--blue); }
select.mpr2-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.mpr2-input option { background: var(--navy-deep); color: var(--white); }

/* ── Expander (More detail) ── */
.mpr2-expander { margin: 12px 0 6px; }
.mpr2-expander summary { font-size: 11px; font-weight: 600; color: var(--blue-bright); letter-spacing: 0.03em; line-height: 1.4; }
.mpr2-expander summary::before { content: '+ '; }
.mpr2-expander[open] summary::before { content: '\2212  '; }
.mpr2-expander-body { padding-top: 10px; }

/* ── Check button ── */
.mpr2-check { display: block; width: 100%; padding: 11px 16px; background: var(--gold); color: var(--navy); font-size: 14px; line-height: 1.45; font-weight: 700; border-radius: 8px; margin-top: 14px; transition: background 0.15s; }
.mpr2-check:hover { background: var(--gold-soft); }

/* ── Results panel ── */
.mpr2-res { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 14px; }

.mpr2-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; margin-bottom: 16px; }
.mpr2-count-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; padding: 8px 6px; text-align: center; }
.mpr2-count-num { font-size: 24px; line-height: 1.2; font-weight: 700; }
.mpr2-count-label { font-size: 9px; line-height: 1.3; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* ── Status colors ── */
.mpr2-status-concern { color: var(--red-soft); }
.mpr2-status-doc { color: var(--orange); }
.mpr2-status-conditional { color: var(--gold-soft); }
.mpr2-status-cosmetic { color: var(--green-soft); }
.mpr2-status-confirm { color: var(--blue-bright); }

/* ── Item list ── */
.mpr2-item { border-bottom: 1px solid rgba(255,255,255,0.06); margin: 0; padding: 0; border: none; background: transparent; }
.mpr2-item:last-child { border-bottom: none; }
.mpr2-item-head { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; list-style: none; font-size: 12px; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mpr2-item-head::-webkit-details-marker { display: none; }
.mpr2-item-head::before { content: '+'; font-size: 10px; line-height: 1; color: var(--gray-400); width: 10px; flex-shrink: 0; }
.mpr2-item[open] .mpr2-item-head::before { content: '\2212'; }
.mpr2-item-title { font-size: 12px; line-height: 1.3; color: rgba(255,255,255,0.8); text-transform: capitalize; }
.mpr2-item-body { padding: 6px 0 10px 18px; }
.mpr2-item-status { font-size: 10px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.mpr2-badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 9px; line-height: 1.3; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.mpr2-badge-va { background: rgba(43,127,255,0.15); color: var(--blue-bright); border: 1px solid rgba(43,127,255,0.3); }
.mpr2-badge-prop { background: rgba(255,184,0,0.15); color: var(--gold-soft); border: 1px solid rgba(255,184,0,0.3); }
.mpr2-badge-lender { background: rgba(148,163,184,0.15); color: var(--gray-400); border: 1px solid rgba(148,163,184,0.3); }
.mpr2-badge-dilig { background: rgba(16,185,129,0.15); color: var(--green-soft); border: 1px solid rgba(16,185,129,0.3); }

.mpr2-item-reason { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.mpr2-item-next { font-size: 11px; line-height: 1.4; color: rgba(255,255,255,0.55); }
.mpr2-item-next strong { color: rgba(255,255,255,0.8); font-size: 11px; line-height: 1.4; }

/* ── Appraisal note ── */
.mpr2-note { font-size: 11px; line-height: 1.5; color: rgba(255,255,255,0.5); padding: 10px 12px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; margin-top: 14px; }

/* ── Lead form ── */
.mpr2-lead-expander { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.mpr2-lead-title { font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--blue-bright); cursor: pointer; list-style: none; }
.mpr2-lead-title::-webkit-details-marker { display: none; }
.mpr2-lead-title::before { content: '+ '; }
.mpr2-lead-expander[open] .mpr2-lead-title::before { content: '\2212  '; }
.mpr2-lead-expander[open] .mpr2-lead-title { margin-bottom: 8px; }
.mpr2-lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
@media (max-width: 480px) { .mpr2-lead-row { grid-template-columns: 1fr; } }
.mpr2-lead-submit { display: block; width: 100%; padding: 10px 16px; background: var(--blue); color: var(--white); font-size: 13px; line-height: 1.45; font-weight: 600; border-radius: 6px; margin-top: 8px; transition: background 0.15s; }
.mpr2-lead-submit:hover { background: var(--blue-bright); }
.mpr2-lead-status { font-size: 11px; line-height: 1.4; color: var(--gold-soft); margin-top: 6px; min-height: 16px; }
.mpr2-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Empty state ── */
.mpr2-empty { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.4); text-align: center; padding: 24px 0; }

/* ── Full list expander ── */
.mpr2-full-expander { margin-top: 12px; }
.mpr2-full-expander summary { font-size: 11px; font-weight: 600; color: var(--blue-bright); line-height: 1.4; }
.mpr2-full-expander summary::before { content: '+ '; }
.mpr2-full-expander[open] summary::before { content: '\2212  '; }
