/* Keep keyboard focus visible even before a scroll entrance has played. */
.rv-wait:focus-within,.rv-wait:focus-visible{opacity:1}
.rv-in:focus-within,.rv-in:focus-visible{animation:none}
.we-nav .sub-menu a:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}

/* Language links are separate targets, not links in a sentence (WCAG 2.5.8). */
.langs{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.langs a{display:inline-flex;align-items:center;justify-content:center;min-width:24px;min-height:24px}

/* Form boundaries need non-text contrast on white (WCAG 1.4.11). */
.lst-form input,.lst-form textarea{border-color:#858b94}
.lead>*{min-width:0;overflow-wrap:anywhere}
.sec-h{flex-wrap:wrap}

/* Leave room for the fixed contact bar when tabbing through listing content. */
@media(max-width:900px){html:has(body.single-listing){scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
