/* Copyright (c) 2026 David DEBIERRE
   kb-search.css - MIA-10: knowledge base search box and results (assets/kb-search.js on the topic index pages).
   Copied to assets/ and linked from <lang>/index.html by scripts/kb_search_index.py. Colours from kb.css. */
.kb-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kb-search { display: flex; gap: 10px; max-width: 560px; margin: 30px auto 0; }
.kb-search input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 10px 18px; border: 1px solid var(--field-line); border-radius: 99px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.kb-search input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.kb-search .button { min-height: 44px; border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.kb-search-results { max-width: var(--text-max); margin: 0 auto clamp(36px, 4vw, 56px); text-align: start; }
.kb-search-results h2 { font-size: 1.5rem; margin: 0 0 16px; }
.kb-search-results h2:focus { outline: none; }
.kb-search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kb-search-list li { padding: 16px 20px; border: 1px solid var(--card-line); border-radius: var(--radius-small); background: var(--paper); }
.kb-search-list a { font-weight: 600; }
.kb-search-list p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.kb-search-none { color: var(--muted); }
