/* chess-search: the one search field (icon plus a native search input), shared by the sidebars and the table filter. Token-driven, so every theme draws it. */
chess-search { display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: min(420px, 100%); min-width: 120px; min-height: 44px; flex: 0 1 auto; padding: 0 14px; border: 1px solid var(--panel-border); border-radius: 12px; background: var(--surface-raised); color: var(--muted); }
chess-search > svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
/* `body` lifts it above the page-wide input[type=search] and themed input rules: the field's box is the chess-search itself. */
body chess-search > input[type="search"] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font: inherit; font-size: .9rem; }
body chess-search > input[type="search"]::placeholder { color: var(--muted); }
body chess-search > input[type="search"]:focus-visible { outline: none; }
chess-search:focus-within { border-color: var(--accent); }
@media (max-width: 600px) { chess-search { width: 100%; } }
