/* Page: /tools/ — tool directory */
.tsearch { position: relative; display: flex; align-items: center; gap: 10px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 18px; width: min(380px, 100%); }
.tsearch:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(47, 110, 166, .2); }
.tsearch > svg.i { color: var(--soft); }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; min-height: 44px; font-size: 15.5px; }
.tsearch input::-webkit-search-cancel-button { display: none; }
#tabs { margin-bottom: 8px; }
.tools-results { display: flex; flex-direction: column; gap: 8px; }
.cat-sec { padding-top: 28px; }
.cat-sec .cat-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cat-sec .cat-h h2 { font-size: 22px; font-weight: 600; }
.cat-sec .cat-h small { font-size: 13px; color: var(--muted); background: rgba(0,0,0,.05); padding: 1px 10px; border-radius: var(--pill); }
.cat-sec .cat-h .ic { width: 38px; height: 38px; border-radius: 12px; }
.tools-results > .tools-grid { margin-top: 20px; }
.tools-results > .empty { margin-top: 20px; }
.privacy-note { margin-top: 40px; }
@media (max-width: 640px) {
  .tsearch { width: 100%; }
  .tsearch kbd { display: none; }
  .cat-sec { padding-top: 22px; }
  .cat-sec .cat-h h2 { font-size: 19px; }
}
