/* The search wherever its block is shown (the pages of the helpers, a site in any theme), in the colors of the page: its kinds as
   tabs, a search bar for each, its list of results and the detail of the one chosen (w4os-views); its box on the web in
   search.web.css */
.search-topics { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.search-topics a { padding: .4rem .8rem; border: 1px solid transparent; border-bottom: 0; border-radius: .4rem .4rem 0 0; text-decoration: none; color: inherit; opacity: .75; }
.search-topics a:hover { opacity: 1; }
.search-topics a[aria-current=page] { opacity: 1; font-weight: 700; border-color: color-mix(in srgb, currentColor 20%, transparent); background: color-mix(in srgb, currentColor 5%, transparent); }
/* The search bar: one row of its criteria (flex, never a grid of columns), each as wide as it needs, the words taking what is left,
   the button at its end; a narrow screen wraps it */
.block-search .search-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1.25rem; }
.block-search .search-form > * { flex: 0 0 auto; width: auto; margin: 0; }
.block-search .search-form .search-words { flex: 1 1 14rem; min-width: 10rem; }
.block-search .search-form select { width: auto; max-width: 100%; margin: 0; }
.block-search .search-form button { margin: 0; }
.search-checks, .search-when { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
.search-checks label, .search-when label { display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; margin: 0; }
.search-checks input, .search-when input { margin: 0; }
.search-day { display: inline-flex; gap: .5rem; align-items: center; }
.search-day a { text-decoration: none; padding: 0 .35rem; }
.search-date { font-variant-numeric: tabular-nums; }
/* Price and area: their label, their unit inside the frame of the field */
.search-number { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.search-number label { margin: 0; }
.search-affix { position: relative; display: inline-block; }
.block-search .search-affix input { width: 8rem; margin: 0; padding-inline-end: 2.6rem; appearance: textfield; -moz-appearance: textfield; }
.block-search .search-affix input::-webkit-inner-spin-button, .block-search .search-affix input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.search-suffix { position: absolute; inset-inline-end: .6rem; top: 50%; transform: translateY(-50%); opacity: .7; pointer-events: none; }
.search-none { opacity: .8; }
.search-action { display: inline-block; margin: .5rem 0 0; }
.block-search .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
