/* lux-extra: what the johnweaver-preview2 design needs for the review's fixes (RS-v10.551).
   The robot trap field stays hidden; rail payments wait for the visitor's first move and say
   "ask John" above a loan limit; the rail keeps its gutter on phones. No em dashes. */
.reach .hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.lx-sec[hidden],.lx-arrows[hidden]{display:none}
.lx-pay.wait b,.lx-pay.wait span,.lx-pay.ask b,.lx-pay.ask span{display:none}
.lx-pay.wait::after{content:attr(data-wait);font:600 12.5px/1.35 var(--sans)}
.lx-pay.ask::after{content:attr(data-ask);font:600 12.5px/1.35 var(--sans)}
.lx-rail{scroll-padding-inline:var(--gutter)}
.lx-specs{font-size:14px;color:var(--text)}

/* Calculator: amounts never break across lines; after a loan tap before any slider move, the
   first slider glows twice so the visitor sees where to start. */
.split-k b{white-space:nowrap}
.split-k li[hidden]{display:none}
.sl.nudge{animation:jw-nudge 1.1s ease-out 2;border-radius:12px}
@keyframes jw-nudge{0%{box-shadow:0 0 0 0 rgba(192,78,47,.45)}100%{box-shadow:0 0 0 12px rgba(192,78,47,0)}}
@media (prefers-reduced-motion:reduce){.sl.nudge{animation:none}}

/* 20% down: the PMI row turns to "None at 20% down" with a short glow. */
.split-k li.gone b{color:var(--ok,#2F6B4F)}
.split-k li.glow{animation:jw-gone 1.4s ease-out}
@keyframes jw-gone{0%{background:rgba(47,107,79,.18)}100%{background:transparent}}
@media (prefers-reduced-motion:reduce){.split-k li.glow{animation:none}}

/* The two tags on a home card never overlap (longer Spanish badge on small phones). */
.lx-fit{max-width:calc(100% - 128px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nowrap{white-space:nowrap}
/* Where the lender lends: every licensed state by name when there are more than three (self-built lender pages). */
.lx-states{display:flex;flex-wrap:wrap;gap:8px 10px;margin:24px 0 0;padding:0;list-style:none;max-width:1120px}
.lx-states li{padding:8px 15px;border:1px solid var(--line2);border-radius:999px;background:#FFFFFF;color:var(--ink);font-size:14px;font-weight:600;letter-spacing:.02em;line-height:1.2}
@media (max-width:599px){.lx-states li{font-size:13px;padding:7px 12px}}
/* Live lender pages show no advertised rate (Nov 18 2026): the "ask for your rate" box stands alone, one full row. */
.rates.rates-ask{grid-template-columns:1fr}
.rates-ask .rate-x{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.rates-ask .rate-x p{flex:1 1 320px;max-width:62ch}
