:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--font-sans:ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-mono:ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;--bg:#0d1117;--surface:#161b22;--surface-raised:#21262d;--surface-hover:#1f242c;--surface-active:#1c2538;--border:#30363d;--border-subtle:#21262d;--text:#f0f6fc;--text-muted:#8b949e;--text-subtle:#8b949e;--accent:#58a6ff;--accent-subtle:#58a6ff1f;--accent-text:#79c0ff;--ev-evaluated:#238636;--ev-tested:#d29922;--ev-used:#1f6feb;--ev-reviewed:#6e7681;--host-claude:#d97706;--host-codex:#10b981;--host-any:#8b5cf6;--type-skill:#388bfd;--type-rule:#a371f7;--type-workflow:#f0883e;--type-hook:#f85149;--type-subagent:#56d364;--type-mcp:#2ea043;--type-plugin:#db61a2;--type-collection:#8b949e}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (prefers-color-scheme:light){:root{--bg:#f6f8fa;--surface:#fff;--surface-raised:#f3f4f6;--surface-hover:#f6f8fa;--surface-active:#edf5fd;--border:#d0d7de;--border-subtle:#e7eaf0;--text:#1f2328;--text-muted:#656d76;--text-subtle:#656d76;--accent:#0969da;--accent-subtle:#0969da14;--accent-text:#0550ae;--ev-evaluated:#1a7f37;--ev-tested:#9a6700;--ev-used:#0969da;--ev-reviewed:#656d76}}*{box-sizing:border-box}[hidden]{display:none!important}:where(button,a,input,summary,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}button:disabled{opacity:.6;cursor:wait}.skip-link{z-index:100;background:var(--surface);color:var(--accent);border:1px solid var(--accent);border-radius:5px;padding:.6rem 1rem;position:fixed;top:.5rem;left:.5rem;transform:translateY(-200%)}.skip-link:focus{transform:none}.browse-toggle{display:none}html,body{background:var(--bg);height:100dvh;color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;margin:0;padding:0;font-size:13.5px;line-height:1.5;overflow:hidden}body{flex-direction:column;display:flex}.command-trigger{border:1px solid var(--border);background:var(--bg);color:var(--text-muted);font:inherit;cursor:pointer;white-space:nowrap;border-radius:5px;align-items:center;gap:.6rem;padding:.35rem .6rem;display:flex}.command-trigger:hover{color:var(--text);border-color:var(--accent)}.command-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.command-palette{width:min(42rem,100vw - 2rem);max-height:80dvh;margin:min(12vh,6rem) auto auto;overflow:hidden}.command-search-row{border-bottom:1px solid var(--border);align-items:center;gap:.6rem;padding:.8rem 1rem;display:flex}.command-search-symbol{color:var(--accent);font-size:1.8rem;line-height:1}.command-input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;flex:1;padding:.5rem}.command-input:focus{outline:2px solid var(--accent);outline-offset:-2px;border-radius:4px}.command-results{overscroll-behavior:contain;max-height:52dvh;padding:.4rem;overflow-y:auto}.command-group{color:var(--text-muted);font:.72rem var(--font-mono);text-transform:uppercase;letter-spacing:.06em;padding:.55rem .65rem .3rem}.command-option{cursor:pointer;border:1px solid #0000;border-radius:5px;padding:.6rem .7rem}.command-option[aria-selected=true]{background:var(--surface-active);border-color:var(--accent)}.command-title,.command-detail{display:block}.command-title{font-weight:600}.command-detail{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.command-empty{color:var(--text-muted);padding:1.5rem 1rem}.command-footer{border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;gap:.5rem;padding:.65rem 1rem;font-size:.75rem;display:flex}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-header{background:var(--surface);border-bottom:1px solid var(--border);z-index:10;flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;height:48px;min-height:48px;padding:0 1rem;display:flex}.brand{color:inherit;flex-shrink:0;align-items:center;gap:.45rem;text-decoration:none;display:flex}.brand:hover h1{color:var(--accent-text)}.brand-icon{object-fit:contain;flex:none;width:26px;height:26px;display:block}.empty-logo{object-fit:contain;width:64px;height:64px}.brand h1{letter-spacing:-.01em;white-space:nowrap;margin:0;font-size:1rem;font-weight:700}.badge-count{background:var(--surface-raised);border:1px solid var(--border);color:var(--text-muted);font-size:.72rem;font-weight:500;font-family:var(--font-mono);font-variant-numeric:tabular-nums;border-radius:999px;padding:.1rem .45rem}.search-box{flex:1;align-items:center;min-width:14rem;max-width:26rem;display:flex;position:relative}.search-icon{opacity:.6;pointer-events:none;font-size:.8rem;position:absolute;left:.55rem}input[type=search]{background:var(--bg);border:1px solid var(--border);width:100%;height:30px;color:var(--text);border-radius:5px;outline:none;padding:0 1.8rem;font-family:inherit;font-size:.82rem;transition:border-color .15s,box-shadow .15s}input[type=search]:focus{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-subtle)}.btn-clear{color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0 .25rem;font-size:1rem;line-height:1;position:absolute;right:.4rem}.btn-clear:hover{color:var(--text)}.header-filters{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:.65rem;display:flex}.filter-cluster{align-items:center;gap:.25rem;display:inline-flex}.filter-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-subtle);font-size:.7rem;font-weight:600}.chips-group{gap:.2rem;display:inline-flex}.chip{border:1px solid var(--border);background:var(--surface-raised);color:var(--text-muted);cursor:pointer;white-space:nowrap;border-radius:4px;padding:.12rem .48rem;font-family:inherit;font-size:.72rem;transition:all .15s}.chip:hover{color:var(--text);border-color:var(--text-muted)}.chip[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:500}.match-count{font-size:.75rem;font-family:var(--font-mono);font-variant-numeric:tabular-nums;color:var(--text-subtle)}.btn-reset-filters{border:1px solid var(--border);color:var(--accent);cursor:pointer;background:0 0;border-radius:4px;padding:.12rem .45rem;font-family:inherit;font-size:.72rem}.btn-reset-filters:hover{background:var(--accent-subtle);border-color:var(--accent)}.btn-subtle{background:var(--surface-raised);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:4px;padding:.2rem .55rem;font-family:inherit;font-size:.75rem;transition:all .15s}.btn-subtle:hover{background:var(--surface-hover);color:var(--text);border-color:var(--text-muted)}.dialog-modal{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;width:90vw;max-width:44rem;padding:0;box-shadow:0 12px 32px #0006}.dialog-modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0009}.dialog-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.85rem 1.25rem;display:flex}.dialog-header h2{margin:0;font-size:1.05rem;font-weight:700}.btn-dialog-close{color:var(--text-muted);cursor:pointer;background:0 0;border:none;font-size:1.25rem;line-height:1}.btn-dialog-close:hover{color:var(--text)}.dialog-body{grid-template-columns:1fr 1fr;gap:1.5rem;padding:1.25rem;font-size:.85rem;line-height:1.5;display:grid}.dialog-col h3{margin:0 0 .4rem;font-size:.88rem;font-weight:600}.dialog-col p,.dialog-col ul{color:var(--text-muted);margin:0}.dialog-col ul{margin-top:.35rem;padding-left:1.25rem}.dialog-col li{margin-bottom:.25rem}.shortcuts-legend{color:var(--text-muted);margin-top:.75rem;font-size:.75rem}kbd{font-family:var(--font-mono);background:var(--surface-raised);border:1px solid var(--border);color:var(--text);border-radius:3px;padding:.08rem .3rem;font-size:.72rem}.layout{flex:1;grid-template-columns:minmax(260px,340px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.sidebar-wrapper{border-right:1px solid var(--border);background:var(--surface);flex-direction:column;min-height:0;display:flex;overflow:hidden}.sidebar-toolbar{border-bottom:1px solid var(--border-subtle);background:var(--surface);justify-content:space-between;align-items:center;height:32px;min-height:32px;padding:0 .75rem;display:flex}.sidebar-title{text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle);font-size:.72rem;font-weight:700}.btn-tree-action{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:3px;padding:.1rem .35rem;font-family:inherit;font-size:.7rem}.btn-tree-action:hover{color:var(--text);background:var(--surface-raised)}.sidebar-controls{border-bottom:1px solid var(--border-subtle);background:var(--surface);flex-direction:column;gap:.4rem;padding:.45rem .75rem;display:flex;position:relative}.combo-row{gap:.4rem;display:flex}.combo{flex:1;min-width:0}.combo-trigger{border:1px solid var(--border);background:var(--surface-raised);width:100%;color:var(--text);cursor:pointer;border-radius:6px;align-items:center;gap:.35rem;padding:.28rem .5rem;font-family:inherit;font-size:.74rem;transition:border-color .12s,background .12s;display:flex}.combo-trigger:hover{border-color:var(--text-subtle)}.combo-trigger:focus-visible,.combo-search:focus-visible,.combo-list:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.combo-trigger[aria-expanded=true]{border-color:var(--accent)}.combo-trigger.is-active{border-color:var(--accent);background:var(--accent-subtle)}.combo-trigger-label{color:var(--text-subtle);text-transform:uppercase;letter-spacing:.04em;font-size:.64rem;font-weight:600}.combo-trigger-value{text-align:left;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.combo-badge{background:var(--accent);min-width:1.1rem;color:var(--bg);text-align:center;border-radius:999px;padding:0 .3rem;font-size:.64rem;font-weight:700;line-height:1.1rem}.combo-chevron{color:var(--text-subtle);font-size:.7rem}.combo-pop{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-direction:column;max-height:min(22rem,60vh);display:flex;position:absolute;top:calc(100% - .1rem);left:.75rem;right:.75rem;overflow:hidden;box-shadow:0 8px 24px #00000059}.combo-pop[hidden]{display:none}.combo-search{border:none;border-bottom:1px solid var(--border-subtle);color:var(--text);outline-offset:-2px;background:0 0;padding:.5rem .65rem;font-family:inherit;font-size:.78rem}.combo-list{outline-offset:-2px;padding:.25rem;overflow-y:auto}.combo-group{text-transform:uppercase;letter-spacing:.05em;color:var(--text-subtle);padding:.4rem .5rem .2rem;font-size:.62rem;font-weight:700}.combo-option{color:var(--text);cursor:pointer;border-radius:5px;align-items:center;gap:.5rem;padding:.3rem .5rem;font-size:.78rem;display:flex}.combo-option.is-active{background:var(--surface-raised)}.combo-option[aria-selected=true]{color:var(--accent-text)}.combo-check,.combo-dot{text-align:center;flex:none;width:.9rem;font-size:.72rem;font-weight:700}.combo-option-label{flex:1}.combo-option-count{color:var(--text-subtle);font-variant-numeric:tabular-nums;font-size:.68rem}.combo-empty{text-align:center;color:var(--text-subtle);padding:.75rem;font-size:.75rem}.combo-footer{border-top:1px solid var(--border-subtle);justify-content:flex-end;padding:.25rem .4rem;display:flex}.combo-clear{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:3px;padding:.15rem .35rem;font-family:inherit;font-size:.7rem}.combo-clear:hover{color:var(--text);background:var(--surface-raised)}.filter-tokens{flex-wrap:wrap;gap:.25rem;display:flex}.filter-tokens[hidden]{display:none}.filter-token{border:1px solid var(--accent);background:var(--accent-subtle);color:var(--accent-text);cursor:pointer;border-radius:999px;align-items:center;gap:.3rem;padding:.1rem .2rem .1rem .5rem;font-family:inherit;font-size:.68rem;display:inline-flex}.filter-token-x{opacity:.7;padding:0 .2rem;font-size:.85rem;line-height:1}.filter-token:hover .filter-token-x{opacity:1}.tree-pane{flex-direction:column;flex:1;gap:.15rem;padding:.4rem .35rem;display:flex;overflow-y:auto}.tree-group{margin:0;padding:0}.tree-group-summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--text-muted);border-radius:4px;align-items:center;gap:.35rem;padding:.28rem .5rem;font-size:.78rem;font-weight:600;list-style:none;transition:background .12s,color .12s;display:flex}.tree-group-summary::-webkit-details-marker{display:none}.tree-group-summary:hover{background:var(--surface-hover);color:var(--text)}.tree-chevron{text-align:center;width:12px;color:var(--text-subtle);flex-shrink:0;font-size:.65rem;transition:transform .15s;display:inline-block}.tree-group[open]>.tree-group-summary .tree-chevron{transform:rotate(90deg)}.tree-group-title{text-transform:capitalize;flex:1}.catalog-icon{vertical-align:middle;flex:none;width:16px;height:16px;display:inline-block}.tree-group-summary>.catalog-icon{color:var(--accent-text);margin-right:.15rem}.tree-item>.catalog-icon{color:var(--text-muted);width:15px;height:15px}.tree-item[aria-current=true]>.catalog-icon{color:var(--accent)}.badge>.catalog-icon{width:13px;height:13px}.tree-group-count{font-family:var(--font-mono);color:var(--text-subtle);font-variant-numeric:tabular-nums;font-size:.7rem}.tree-items{border-left:1px solid var(--border-subtle);flex-direction:column;gap:1px;margin-left:.95rem;padding-left:.45rem;display:flex}.tree-item{color:var(--text);border-radius:4px;align-items:center;gap:.45rem;padding:.26rem .45rem;font-size:.8rem;line-height:1.3;text-decoration:none;transition:background .1s,color .1s;display:flex;position:relative}.tree-item:hover{background:var(--surface-hover)}.tree-item[aria-current=true]{background:var(--surface-active);color:var(--accent);font-weight:500}.tree-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.tree-dot-claude{background:var(--host-claude)}.tree-dot-codex{background:var(--host-codex)}.tree-dot-any{background:var(--host-any)}.tree-dot-collection{background:var(--type-collection)}.tree-item-title{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.tree-item-score{font-family:var(--font-mono);color:var(--text-muted);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:.72rem}.tree-item[aria-current=true] .tree-item-score{color:var(--accent);font-weight:600}.viewer-pane{background:var(--bg);flex-direction:column;gap:1.25rem;min-width:0;min-height:0;padding:1.5rem 2rem;display:flex;overflow-y:auto}.viewer-pane .empty-state{height:60%;color:var(--text-subtle);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;display:flex}.empty-icon{font-size:2.5rem}.catalog-landing{width:100%;max-width:76rem;margin-inline:auto;padding-block:1.25rem 2.5rem}.landing-hero{border-bottom:1px solid var(--border);margin-bottom:2rem;padding-bottom:2rem}.landing-eyebrow{color:var(--accent-text);font:.75rem var(--font-mono);letter-spacing:.07em;text-transform:uppercase;margin:0 0 1.1rem}.landing-hero h2{letter-spacing:-.035em;text-wrap:balance;margin:0;font-size:clamp(2rem,3.2vw,3.25rem);font-weight:700;line-height:1.12}.landing-lead{max-width:65ch;color:var(--text-muted);margin:1.25rem 0 1rem;font-size:1.05rem;line-height:1.65}.landing-inventory{font:.76rem/1.6 var(--font-mono);color:var(--text-subtle);margin:0 0 1.5rem}.landing-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.landing-actions .btn-action{min-height:38px}.catalog-landing .landing-caption{color:var(--text-muted);margin:.75rem 0 0;font-size:.82rem;line-height:1.65}.landing-section-title{letter-spacing:.055em;text-transform:uppercase;color:var(--text-muted);margin:0 0 1.25rem;font-size:.8rem}.landing-steps{margin:0;padding:0;list-style:none}.landing-steps>li{border-top:1px solid var(--border-subtle);grid-template-columns:7rem minmax(0,1fr);gap:1rem;padding:1.5rem 0;display:grid}.landing-steps>li:first-child{border-top:none;padding-top:0}.landing-step-label>span{color:var(--accent-text);font:.75rem var(--font-mono)}.landing-step-label h4{margin:.25rem 0 0;font-size:1.15rem;font-weight:650}.landing-steps p{color:var(--text-muted);margin:0 0 .85rem;font-size:.95rem;line-height:1.7}.landing-steps p:last-child{margin-bottom:0}.landing-steps strong{color:var(--text);font-weight:600}.landing-searches{flex-wrap:wrap;gap:.4rem;display:flex}.landing-search{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--accent-text);font:.82rem var(--font-mono);cursor:pointer;border-radius:5px;padding:.35rem .65rem}.landing-search:hover{background:var(--accent-subtle);border-color:var(--accent)}.landing-steps .landing-caption{margin-bottom:.85rem}.landing-inline-button{color:var(--accent-text);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.landing-reference{border-top:1px solid var(--border);grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:2rem;margin-top:1rem;padding-top:1.75rem;display:grid}.landing-evidence{margin:0}.landing-evidence>div{grid-template-columns:6rem minmax(0,1fr);gap:.5rem;margin-bottom:.65rem;font-size:.86rem;display:grid}.landing-evidence dt{color:var(--text);font-weight:600}.landing-evidence dd{color:var(--text-muted);margin:0}.landing-links{margin:0;padding:0;list-style:none}.landing-links li{margin-bottom:.8rem}.catalog-landing a:not(.btn-source){color:var(--accent-text);text-underline-offset:3px}.landing-links a{font-size:.9rem}@media (width<=700px){.catalog-landing{padding-top:.5rem}.landing-hero h2{font-size:2.15rem}.landing-steps>li{grid-template-columns:minmax(0,1fr);gap:.75rem}.landing-step-label{align-items:baseline;gap:.6rem;display:flex}.landing-step-label h4{margin:0}}.card-badges{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.badge{text-transform:uppercase;letter-spacing:.03em;border-radius:4px;align-items:center;gap:.25rem;padding:.1rem .45rem;font-size:.7rem;font-weight:600;line-height:1.2;display:inline-flex}.badge-skill{color:#58a6ff;background:#388bfd26}.badge-rule{color:#bc8cff;background:#a371f726}.badge-workflow{color:#f0883e;background:#f0883e26}.badge-hook{color:#ff7b72;background:#f8514926}.badge-subagent{color:#56d364;background:#56d36426}.badge-mcp{color:#3fb950;background:#2ea04326}.badge-plugin{color:#d2a8ff;background:#db61a226}.badge-collection{color:#8b949e;background:#8b949e26}.badge-tool{background:var(--accent-subtle);color:var(--accent-text)}.badge-custom{color:#a371f7;background:#a371f726;border:1px solid #a371f773}.badge-featured{color:#d29922;background:#d2992226;border:1px solid #d2992273}.badge-experimental{color:#db6d28;background:#db6d2826;border:1px dashed #db6d2880}.badge-host-claude{color:#fbbf24;background:#d9770626;border:1px solid #d977064d}.badge-host-codex{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.badge-host-any{color:#a78bfa;background:#8b5cf626;border:1px solid #8b5cf64d}.badge-ev-evaluated{color:#3fb950;background:#23863633;border:1px solid #23863666}.badge-ev-tested{color:#d29922;background:#d2992233;border:1px solid #d2992266}.badge-ev-used{color:#58a6ff;background:#1f6feb33;border:1px solid #1f6feb66}.badge-ev-reviewed{color:#8b949e;background:#6e768133;border:1px solid #6e768166}@media (prefers-color-scheme:light){.badge-skill,.badge-ev-used{color:#0550ae}.badge-rule,.badge-plugin,.badge-custom,.badge-host-any{color:#6639ba}.badge-workflow,.badge-experimental,.badge-host-claude{color:#8a4600}.badge-hook{color:#a40e26}.badge-subagent,.badge-mcp,.badge-ev-evaluated,.badge-host-codex{color:#116329}.badge-collection,.badge-ev-reviewed{color:#424a53}.badge-featured,.badge-ev-tested{color:#7d4e00}}.score-pill{font-family:var(--font-mono);font-variant-numeric:tabular-nums;background:var(--surface-raised);border:1px solid var(--border);color:var(--accent);border-radius:4px;padding:.1rem .4rem;font-size:.75rem;font-weight:700}.viewer-header{border-bottom:1px solid var(--border);flex-direction:column;gap:.75rem;padding-bottom:1rem;display:flex}.viewer-title-row{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.viewer-title-left{flex-direction:column;gap:.4rem;min-width:0;display:flex}.viewer-title-row h2{margin:0;font-size:1.45rem;font-weight:700;line-height:1.2}.viewer-actions{flex-wrap:wrap;flex-shrink:1;align-items:center;gap:.5rem;display:flex}.llm-copy-body{padding:1.5rem}.section-shortcuts{flex-wrap:wrap;gap:.4rem;display:flex}.section-shortcuts .btn-subtle{min-height:28px}#entry-install,#entry-files,#entry-review{scroll-margin-top:1rem}:is(#entry-install,#entry-files,#entry-review):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.file-status{color:var(--text-muted);margin:0;font-size:.82rem}.file-status:empty{display:none}.llm-copy-text{box-sizing:border-box;background:var(--surface);width:100%;min-height:45vh;color:var(--text);border:1px solid var(--border);resize:vertical;border-radius:5px;padding:.75rem}.btn-action{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:5px;align-items:center;gap:.35rem;padding:.35rem .7rem;font-family:inherit;font-size:.8rem;font-weight:500;text-decoration:none;transition:all .15s;display:inline-flex}.btn-action:hover{background:var(--surface-hover);border-color:var(--text-muted)}.viewer-retrieved{color:var(--text-muted);margin:.35rem 0 0;font-size:.8rem}.viewer-retrieved time{color:var(--text);font-weight:600}.viewer-retrieved code,.file-retrieved code{font-family:var(--font-mono);font-size:.92em}.file-retrieved{color:var(--text-muted);background:var(--accent-subtle);border-radius:4px;margin:0;padding:.35rem .75rem;font-size:.75rem}.btn-source{border:1px solid var(--accent);background:var(--accent);color:var(--bg);white-space:nowrap;box-shadow:0 1px 0 #0000001a, 0 0 0 3px var(--accent-subtle);border-radius:6px;align-items:center;gap:.5rem;padding:.6rem 1.1rem;font-family:inherit;font-size:.92rem;font-weight:600;text-decoration:none;transition:filter .15s,box-shadow .15s;display:inline-flex}.btn-source svg{flex-shrink:0;width:1.1rem;height:1.1rem}.btn-source:hover{filter:brightness(1.1);box-shadow:0 1px 0 #0000001a, 0 0 0 4px var(--accent-subtle)}.btn-source:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.btn-source-arrow{opacity:.8;font-size:.85em}.callout-when{background:var(--accent-subtle);border-left:4px solid var(--accent);border-radius:0 6px 6px 0;padding:.85rem 1.15rem}.callout-title{text-transform:uppercase;letter-spacing:.05em;color:var(--accent-text);margin-bottom:.25rem;font-size:.75rem;font-weight:700}.callout-body{color:var(--text);margin:0;font-size:.95rem;line-height:1.45}.inspector-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1.25rem;display:grid}.inspector-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:.75rem;min-width:0;padding:1rem 1.25rem;display:flex}.inspector-card h4{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);justify-content:space-between;align-items:center;margin:0;font-size:.82rem;font-weight:700;display:flex}.rubric-meter{flex-direction:column;gap:.45rem;display:flex}.rubric-row{grid-template-columns:minmax(100px,145px) minmax(24px,1fr) 30px;align-items:center;gap:.65rem;font-size:.78rem;display:grid}.rubric-label{color:var(--text-muted)}.rubric-bar-track{background:var(--surface-raised);border-radius:999px;height:6px;overflow:hidden}.rubric-bar-fill{background:var(--accent);border-radius:999px;height:100%}.rubric-val{font-family:var(--font-mono);text-align:right;color:var(--text);font-weight:600}.review-notes{color:var(--text-muted);background:var(--bg);border:1px solid var(--border-subtle);border-radius:6px;margin-top:.25rem;padding:.65rem .85rem;font-size:.85rem;line-height:1.45}.meta-row{flex-direction:column;gap:.2rem;font-size:.82rem;display:flex}.meta-label{text-transform:uppercase;color:var(--text-subtle);font-size:.72rem;font-weight:600}.meta-val{color:var(--text);overflow-wrap:anywhere}.meta-val a{color:var(--accent);text-decoration:none}.meta-val a:hover{text-decoration:underline}.related-chips{flex-wrap:wrap;gap:.35rem;margin-top:.15rem;display:flex}.related-chip{overflow-wrap:anywhere;max-width:100%;font-family:var(--font-mono);background:var(--surface-raised);border:1px solid var(--border);color:var(--accent);cursor:pointer;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;text-decoration:none}.related-chip:hover{background:var(--accent-subtle)}.install-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:.75rem;padding:1rem 1.25rem;display:flex}.install-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.install-header h4{margin:0}.install-tabs{flex-wrap:wrap;gap:.35rem;display:flex}.install-tab-btn{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:4px;padding:.2rem .6rem;font-family:inherit;font-size:.75rem}.install-tab-btn:is([aria-pressed=true],[aria-selected=true]){background:var(--surface-raised);border-color:var(--accent);color:var(--accent);font-weight:600}.item-tabs .install-tab-btn{min-height:32px;padding-inline:.8rem;font-size:.8rem}.item-panel{flex-direction:column;gap:1.25rem;display:flex}.code-snippet-box{background:var(--bg);border:1px solid var(--border);font-family:var(--font-mono);color:var(--text);border-radius:6px;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .85rem;font-size:.8rem;line-height:1.45;display:flex;position:relative}.code-snippet-text{white-space:pre;min-width:0;overflow-x:auto}.btn-snippet-copy{background:var(--surface-raised);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:4px;flex-shrink:0;padding:.2rem .5rem;font-family:inherit;font-size:.72rem}.btn-snippet-copy:hover{color:var(--text);border-color:var(--text-muted)}.syntax-heading{color:#79c0ff;font-weight:650}.syntax-marker{color:#a5b4c8}.syntax-code,.syntax-string{color:#a5d6a7}.syntax-strong{color:var(--text);font-weight:700}.syntax-link,.syntax-key{color:#79c0ff}.syntax-comment{color:#929daa;font-style:italic}.syntax-literal{color:#e3b68b}.syntax-keyword{color:#d2a8ff}.syntax-variable{color:#ffa657}.syntax-builtin{color:#79c0ff}@media (prefers-color-scheme:light){.syntax-heading,.syntax-link,.syntax-key{color:#0550ae}.syntax-marker{color:#576579}.syntax-code,.syntax-string{color:#236638}.syntax-comment{color:#656d76}.syntax-literal{color:#8a4600}.syntax-keyword{color:#6639ba}.syntax-variable{color:#8a4600}.syntax-builtin{color:#0550ae}}@media (forced-colors:active){[class^=syntax-]{color:canvastext}}.file-viewer-section{flex-direction:column;gap:.5rem;display:flex}.file-tabs-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding-bottom:.4rem;display:flex}.file-tabs-list{gap:.35rem;max-width:100%;display:flex;overflow-x:auto}.file-tab{font-family:var(--font-mono);border:1px solid var(--border);background:var(--surface);color:var(--text-muted);cursor:pointer;white-space:nowrap;border-radius:4px;padding:.25rem .65rem;font-size:.75rem}.file-tab[aria-pressed=true]{background:var(--accent-subtle);border-color:var(--accent);color:var(--accent);font-weight:600}.code-view{white-space:pre-wrap;word-break:break-word;font-family:var(--font-mono);background:var(--surface);border:1px solid var(--border);border-radius:8px;margin:0;padding:1.25rem;font-size:.82rem;line-height:1.5;overflow-x:auto}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;display:grid}.collection-member-card{background:var(--surface);border:1px solid var(--border);color:inherit;cursor:pointer;border-radius:8px;flex-direction:column;gap:.4rem;padding:1rem;text-decoration:none;transition:transform .15s,border-color .15s;display:flex}.collection-member-card:hover{border-color:var(--accent);transform:translateY(-2px)}.tree-row{align-items:center;gap:.15rem;display:flex}.tree-row>.tree-item{flex:1;min-width:0}.tree-check{width:13px;height:13px;accent-color:var(--accent);cursor:pointer;flex-shrink:0;margin:0 0 0 .1rem}.selection-bar{border-top:1px solid var(--border);background:var(--surface-raised);align-items:center;gap:.35rem;padding:.45rem .6rem;display:flex}.selection-bar[hidden]{display:none}.selection-count{font-variant-numeric:tabular-nums;flex:1;font-size:.78rem;font-weight:600}.btn-primary{border:1px solid var(--accent);background:var(--accent);color:var(--bg);cursor:pointer;border-radius:4px;padding:.25rem .7rem;font-family:inherit;font-size:.78rem;font-weight:600}.btn-primary:hover{filter:brightness(1.1)}.btn-primary:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}.dialog-wide{max-width:56rem;max-height:90dvh}.bulk-body{flex-direction:column;gap:.75rem;max-height:calc(90dvh - 3.5rem);padding:1rem 1.25rem 1.25rem;font-size:.85rem;display:flex;overflow-y:auto}.bulk-settings{flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;display:flex}.bulk-settings .install-tab-btn[aria-pressed=true]{background:var(--surface-raised);border-color:var(--accent);color:var(--accent);font-weight:600}.bulk-check{color:var(--text-muted);cursor:pointer;align-items:center;gap:.35rem;display:inline-flex}.bulk-scope{border-left:2px solid var(--accent);background:var(--accent-subtle);color:var(--text-muted);border-radius:0 4px 4px 0;margin:0;padding:.5rem .75rem;font-size:.8rem}.bulk-meta{color:var(--text-muted);margin:0;font-size:.8rem}.bulk-error,.bulk-warnings{border-radius:6px;margin:0;padding:.5rem .75rem;font-size:.8rem}.bulk-error{border:1px solid var(--type-hook);color:var(--text)}.bulk-warnings{border:1px solid var(--ev-tested);padding-left:1.75rem}.bulk-plan{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.75rem;display:grid}.bulk-plan-group h3{margin:0 0 .3rem;font-size:.8rem;font-weight:600}.bulk-plan-group ul{flex-direction:column;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.bulk-plan-group li{justify-content:space-between;gap:.5rem;font-size:.78rem;display:flex}.bulk-plan-id{font-weight:500}.bulk-plan-where{color:var(--text-muted);font-family:var(--font-mono);text-align:right;overflow-wrap:anywhere;font-size:.72rem}.bulk-output{flex-direction:column;gap:.4rem;min-width:0;display:flex}.bulk-output-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.bulk-output-actions{gap:.35rem;display:flex}.bulk-code{max-height:40dvh;padding:.85rem 1rem;overflow-y:auto}@media (width<=1250px){.app-header{grid-template-columns:auto minmax(14rem,1fr) auto;gap:.5rem 1rem;height:auto;padding:.5rem .75rem;display:grid}.search-box{min-width:0;max-width:none}.header-filters{grid-column:1/-1;justify-content:flex-end}}@media (width<=700px){.app-header{grid-template-columns:1fr auto}.search-box{grid-area:2/1/auto/-1}.header-filters{justify-content:flex-start;gap:.5rem}.command-trigger kbd{display:none}.layout{flex-direction:column;display:flex}.sidebar-wrapper{border-right:none;border-bottom:1px solid var(--border);flex:none;max-height:45%}.browse-toggle{display:inline-flex}.sidebar-wrapper.is-collapsed :is(.sidebar-controls,.tree-pane,.selection-bar,.sidebar-actions){display:none}.sidebar-toolbar{flex-wrap:wrap;flex-shrink:0;gap:.4rem;height:auto;min-height:38px}.sidebar-title{margin-right:auto}.sidebar-actions{width:100%;padding-bottom:.3rem}.viewer-pane{flex:1;padding:1.25rem}.inspector-grid{grid-template-columns:1fr}.viewer-title-row{flex-wrap:wrap}.dialog-body{grid-template-columns:1fr}.file-tab,.install-tab-btn,.btn-action,.btn-tree-action,.btn-snippet-copy,.chip{min-height:30px}.tree-item,.tree-group-summary{min-height:32px}.tree-check{width:20px;height:20px;margin-inline:.35rem}.tree-pane{flex:auto;min-height:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.rating-context{color:var(--text-muted);font-size:.82rem;line-height:1.5}.rating-blocker{border:1px solid;border-radius:4px;margin-top:.75rem;padding:.75rem;font-size:.85rem}:root{--scrollbar-thumb:#637287;--scrollbar-thumb-hover:#91a4bc;--scrollbar-thumb-active:var(--accent);--scrollbar-track:#19212c;--scrollbar-size:14px}@media (prefers-color-scheme:light){:root{--scrollbar-thumb:#748297;--scrollbar-thumb-hover:#53647c;--scrollbar-track:#e9eef5}}:where(.tree-pane,.viewer-pane,.combo-list,.command-results,.bulk-body,.bulk-code,.llm-copy-text){scrollbar-gutter:stable;overscroll-behavior-y:contain}:where(.file-tabs-list,.code-snippet-text){overscroll-behavior-x:contain;padding-block:3px}.code-snippet-text:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:2px}@media (any-pointer:fine) and (forced-colors:none){:root{scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}:where(.tree-pane,.viewer-pane,.combo-list,.command-results,.bulk-body,.bulk-code,.llm-copy-text):focus-within{scrollbar-color:var(--scrollbar-thumb-hover) var(--scrollbar-track)}@supports selector(::-webkit-scrollbar){*{scrollbar-color:auto;scrollbar-width:auto}:where(.tree-pane,.viewer-pane,.combo-list,.command-results,.bulk-body,.bulk-code,.llm-copy-text):focus-within{scrollbar-color:auto}::-webkit-scrollbar{width:var(--scrollbar-size);height:var(--scrollbar-size);background:0 0}::-webkit-scrollbar-track{background:0 0;border-radius:999px;margin-block:5px}::-webkit-scrollbar-track:horizontal{margin:0 5px}::-webkit-scrollbar-track:hover{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);background-clip:padding-box;border:4px solid #0000;border-radius:999px;min-width:44px;min-height:44px}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover);border-width:2px}::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active);border-width:2px}::-webkit-scrollbar-corner{background:0 0}}}
