/* Стили поиска. Владелец — по карте слотов 00-plan §4; цвета только из theme.css. */

.srch { display: flex; flex-direction: column; gap: 16px; }
.srch-form { display: flex; gap: 8px; align-items: center; }
.srch-box { flex: 1; min-width: 0; max-width: 560px; } /* the field gives way, «Найти» stays on the screen */
.srch-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-body { display: flex; flex-direction: column; gap: 20px; }
.srch-group { display: flex; flex-direction: column; gap: 4px; }
.srch-row { flex-direction: column; align-items: stretch; gap: 2px; min-width: 0; }
.srch-text { font-size: 14px; line-height: 22px; color: var(--foreground); min-width: 0; overflow-wrap: anywhere; }
.srch-hit { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.srch-lock { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; line-height: 18px; color: var(--muted-foreground); }
.srch-lock .w-i { width: 12px; height: 12px; }

/* The item of the summary and the short summary a result of the search opens (?item=): lit until the page is left. */
.w-item.is-found, .w-short.is-found { background: var(--accent-soft); }

@media (max-width: 720px) {
  .srch-box { max-width: none; }
  .srch-filter { flex: 1 1 160px; min-width: 0; } /* two in a row from 390 px; at 320 one, so «За всё время» is not cut */
}
