/* Library workspace navigation refinements; mobile picker stays in workspace-ui.css. */
body .workspace:has(#folder-shortcuts) .folder-shortcut-icon {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  color: currentColor;
}
body .workspace:has(#folder-shortcuts) .folder-shortcut-icon .folder-svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}
body .workspace:has(#folder-shortcuts) .folder-shortcut > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
body .workspace:has(#folder-shortcuts) .sidebar-folder-search-toggle {
  transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
body .workspace:has(#folder-shortcuts) .sidebar-folder-search-toggle:is(:hover,.is-active) {
  color: #5f4ab8;
  border-color: #e5def5;
  background: #f5f2fc;
}
body .workspace:has(#folder-shortcuts) .sidebar-folder-search-status {
  display: block;
  min-height: 1.2em;
  margin-top: 4px;
  color: #625b70;
  font-size: 10px;
  font-weight: 500;
}
@media (min-width: 761px) {
  body .workspace:has(#folder-shortcuts) .sidebar-folder-search {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-2px);
    visibility: hidden;
    transition: opacity .14s ease, transform .14s ease, max-height .16s ease, visibility 0s linear .16s;
  }
  body .workspace:has(#folder-shortcuts) .sidebar.folder-search-open .sidebar-folder-search {
    max-height: 96px;
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .workspace:has(#folder-shortcuts) .sidebar-folder-search-toggle,
  body .workspace:has(#folder-shortcuts) .sidebar-folder-search { transition: none; }
}
