/* ============================================================================
   Capture — Library view ("Tactile Chips" redesign)     par/capture-redesign

   The consolidated browse/search surface (OneDay + Pärls + All). Only the new
   primary NATURE segmented control needs fresh styling; the toolbar grammar
   (category pills, search box, facets, sort) reuses the existing views.css
   classes, re-themed by theme.css. Load after theme.css.
   ========================================================================== */

.lib-seg {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px;
  border-radius: var(--r-pill); background: var(--strip-bg);
}
.lib-seg-btn {
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border: none; border-radius: var(--r-pill);
  background: transparent; color: var(--dim); cursor: pointer;
  transition: color .14s ease, background .14s ease;
}
.lib-seg-btn:hover { color: var(--text-body); }
.lib-seg-btn.active { background: var(--nav-active-bg); color: var(--nav-active-text); }

@media (max-width: 600px) {
  .lib-seg { display: flex; width: 100%; }
  .lib-seg-btn { flex: 1; padding: 8px 6px; text-align: center; }
}
