.library-author{display:inline-flex;align-items:center;gap:.3125rem;min-width:0}.library-author .icon{flex:none;width:auto;margin:0;font-size:14px}.library-author .icon.is-team{color:var(--wpide-accent-color)}.library-avatar{position:relative;display:inline-grid;flex:none;place-items:center;width:18px;height:18px;overflow:hidden;border-radius:50%;background:var(--wpide-accent-dim);color:var(--wpide-accent-color);font-size:8px;font-weight:600;line-height:1}.library-avatar img{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.library-author-name{overflow:hidden;color:inherit;text-overflow:ellipsis;white-space:nowrap}.library-author-name:hover,.library-author-name:focus-visible{color:var(--wpide-accent-color);text-decoration:underline}
.snippets-library-view{display:flex;flex-grow:1;min-height:0;flex-shrink:0;align-items:flex-start}.snippets-library-view .library-categories{position:sticky;top:0;flex:none;width:15rem;max-height:calc(var(--wpide-viewport-height) - var(--wpide-header-height) - var(--wpide-adminbar-height) - 59px);overflow-y:auto;overscroll-behavior:contain;padding:1.25rem .75rem;border-right:1px solid var(--wpide-border-light);scrollbar-width:thin;scrollbar-color:rgba(0,0,0,0) rgba(0,0,0,0)}.snippets-library-view .library-categories:hover{scrollbar-color:var(--wpide-light-400) rgba(0,0,0,0)}.snippets-library-view .library-categories::-webkit-scrollbar{width:8px}.snippets-library-view .library-categories::-webkit-scrollbar-track,.snippets-library-view .library-categories::-webkit-scrollbar-corner{background:rgba(0,0,0,0)}.snippets-library-view .library-categories::-webkit-scrollbar-thumb{border:2px solid rgba(0,0,0,0);border-radius:999px;background:rgba(0,0,0,0)}.snippets-library-view .library-categories:hover::-webkit-scrollbar-thumb{background:var(--wpide-light-400)}.snippets-library-view .library-categories::-webkit-scrollbar-thumb:hover{background:var(--wpide-light-600)}.nk-app-root.dark-mode .snippets-library-view .library-categories:hover{scrollbar-color:var(--wpide-light-600) rgba(0,0,0,0)}.nk-app-root.dark-mode .snippets-library-view .library-categories:hover::-webkit-scrollbar-thumb{background:var(--wpide-light-600)}.nk-app-root.dark-mode .snippets-library-view .library-categories::-webkit-scrollbar-thumb:hover{background:var(--wpide-light-500)}.snippets-library-view .library-category-list{margin:0;padding:0;list-style:none}.snippets-library-view .library-category-list a{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.4375rem .75rem;border-radius:var(--wpide-border-radius);color:var(--wpide-base-color);font-size:13px;transition:background-color .15s ease,color .15s ease}.snippets-library-view .library-category-list a:hover{background:var(--wpide-lighter)}.snippets-library-view .library-category-list a.active{background:var(--wpide-accent-dim);color:var(--wpide-accent-color);font-weight:600}.snippets-library-view .library-category-favorites .icon{margin-right:.375rem;color:var(--wpide-warning)}.snippets-library-view .library-category-divider{height:1px;margin:.5rem .75rem;background:var(--wpide-border-light)}.snippets-library-view .library-fav{flex:none;display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin:-0.125rem -0.375rem 0 0;border:0;border-radius:50%;background:none;color:var(--wpide-base-light);font-size:1rem;transition:color .15s ease,background-color .15s ease,transform .15s ease}.snippets-library-view .library-fav:hover{background:var(--wpide-lighter);color:var(--wpide-warning)}.snippets-library-view .library-fav.active{color:var(--wpide-warning)}.snippets-library-view .library-fav.active .icon{animation:library-fav-pop .25s ease}.snippets-library-view .library-fav:focus-visible{outline:2px solid var(--wpide-accent-color);outline-offset:1px}.snippets-library-view .library-fav:disabled{opacity:.6}@keyframes library-fav-pop{50%{transform:scale(1.3)}}@media(prefers-reduced-motion: reduce){.snippets-library-view .library-fav.active .icon{animation:none}}.snippets-library-view .library-category-count{color:var(--wpide-base-light);font-size:12px;font-weight:400;font-variant-numeric:tabular-nums}.snippets-library-view .library-main{flex:1 1 auto;min-width:0}.snippets-library-view .library-views{display:inline-flex;margin-bottom:1.25rem;padding:.1875rem;border-radius:var(--wpide-border-radius);background:var(--wpide-lighter)}.snippets-library-view .library-view{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:0;border-radius:calc(var(--wpide-border-radius) - 1px);background:none;color:var(--wpide-base-light);font-weight:500;transition:background-color .15s ease,color .15s ease}.snippets-library-view .library-view.active{background:var(--wpide-card-bg);color:var(--wpide-accent-color);box-shadow:0 1px 3px rgba(0,0,0,.08)}.snippets-library-view .library-view:focus-visible{outline:2px solid var(--wpide-accent-color);outline-offset:1px}.snippets-library-view .library-toolbar{display:flex;align-items:center;gap:.5rem 1rem;margin-bottom:.75rem}.snippets-library-view .library-search{flex:0 1 26rem}.snippets-library-view .library-author-filter{flex:0 0 auto;width:auto}.snippets-library-view .library-result-count{margin-left:auto;color:var(--wpide-base-light);white-space:nowrap;font-variant-numeric:tabular-nums}.snippets-library-view .library-grid{grid-template-columns:repeat(auto-fill, minmax(17rem, 1fr))}.snippets-library-view .library-card{transition:border-color .15s ease,box-shadow .15s ease}.snippets-library-view .library-card:hover{border-color:var(--wpide-accent-300, var(--wpide-accent-color));box-shadow:0 4px 16px -8px rgba(0,0,0,.18)}.snippets-library-view .library-card .card-inner{padding:1.125rem 1.25rem}.snippets-library-view .library-card-head{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.375rem}.snippets-library-view .library-card-head .badge{flex:none;margin-top:.125rem}.snippets-library-view .library-card-title{flex:1 1 auto;margin:0;font-size:15px;line-height:1.35}.snippets-library-view .library-card-title a{color:var(--wpide-base-color)}.snippets-library-view .library-card-title a:hover{color:var(--wpide-accent-color)}.snippets-library-view .library-card-text{flex:1 1 auto;margin-bottom:.75rem;color:var(--wpide-base-light);font-size:13px;line-height:1.5}.snippets-library-view .library-card-requires{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.75rem}.snippets-library-view .library-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.375rem}.snippets-library-view .library-installed{display:inline-flex;align-items:center;gap:.25rem;margin-right:auto;color:var(--wpide-success);font-size:12px;font-weight:500}.snippets-library-view .library-card-skeleton{pointer-events:none}.snippets-library-view .library-card-skeleton .library-card-head{gap:1rem;margin-bottom:1rem}.snippets-library-view .library-card-skeleton .library-card-head .is-title{flex:1}.snippets-library-view .library-card-skeleton .w-35{margin-bottom:1rem}.snippets-library-view .library-card-skeleton-foot{display:flex;justify-content:flex-end;gap:.5rem;margin-top:auto;padding:.75rem 1.25rem 1.25rem}.snippets-library-view .library-card-skeleton-foot .skeleton-line+.skeleton-line{margin-top:0}.snippets-library-view .library-category-skeleton{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .75rem}.snippets-library-view .library-category-skeleton .skeleton-line+.skeleton-line{margin-top:0}.snippets-library-view .library-empty{padding:3rem 1rem;color:var(--wpide-base-light);text-align:center}.snippets-library-view .library-empty .icon{font-size:2rem}.snippets-library-view .library-empty .btn{margin-top:.25rem}@media(max-width: 767.98px){.snippets-library-view .library-toolbar{flex-wrap:wrap}.snippets-library-view .library-search{flex:1 1 100%}.snippets-library-view .library-toolbar .custom-select{flex:1 1 auto;width:auto}.snippets-library-view .library-grid{grid-template-columns:1fr}}.library-card-author{display:flex;align-items:center;gap:.3125rem;margin-bottom:.5rem;color:var(--wpide-base-light);font-size:12px}.library-card-author .icon{flex:none;width:auto;margin:0;font-size:14px}.library-card-author .icon.is-team{color:var(--wpide-accent-color)}.library-card-author .icon+span{margin-left:0}.library-card-author .library-card-installs::before{content:"·";margin-right:.375rem}
