/* The all-books page (books.php): search and series chips above the shelf. Page-only styles; colours from the shared tokens. */
.shelf-find { display: grid; gap: 12px; margin: 4px 0 22px; }
.shelf-search { position: relative; display: block; max-width: 520px; }
.shelf-search .icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.shelf-search .input { padding-left: 46px; border-radius: 999px; min-height: 50px; }
.shelf-find .chip-n { font-size: .76rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.shelf-find .chip[aria-pressed="true"] .chip-n { color: inherit; opacity: .75; }
.shelf-count { margin: 0; min-height: 1.4em; }
.products > [data-shelf-off] { display: none; }
@media (min-width: 900px) { .shelf-find { grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); align-items: center; } .shelf-find .chips { margin: 0; padding-inline: 2px; } .shelf-count { grid-column: 1 / -1; } }
