/* Announce settled results without moving the page or repeating visible counts. */
.live-search-status:not([data-error]) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Keep the hub invitation phrase together where the search uses two columns. */
@media (min-width:56rem){#ontology-search-heading-catalogue{max-width:10em;text-wrap:wrap}}

/* Results appear below a stationary search panel, using existing card roles. */
.live-search-results[hidden],main [data-live-browse][hidden]{display:none!important}
.live-search-results{margin-block:1.5rem;line-height:1.7}
.live-results-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.live-results-heading .ontology-search-status{margin:0;font-weight:400}
.live-search-results .topic-title{font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:500;letter-spacing:-.015em;line-height:1.4}
.live-search-results .topic-question{line-height:1.7}
.live-search-results [data-result-kind=quality] .topic-title{display:inline-flex;align-items:center;background:#174e44;color:#fffdf8;border-radius:999px;text-decoration:none;font:400 .82rem/1.3 var(--font-body);letter-spacing:normal;padding:.48rem .8rem}
.live-search-results nav[aria-label="Search result pages"]{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
@media(prefers-reduced-motion:no-preference){.live-results-content{animation:live-results-reveal 140ms ease-out}}
@keyframes live-results-reveal{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}
