[hidden]{display:none!important}.resource-wrap{flex-direction:column;flex:1;gap:20px;width:100%;max-width:860px;margin:0 auto;padding:32px 20px 60px;display:flex}.resource-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.resource-head h1{font-size:24px;font-weight:800}.res-search{border:1px solid var(--border);background:var(--card);min-width:200px;max-width:360px;color:var(--text);border-radius:8px;outline:none;flex:1;padding:10px 14px;font-size:14px}.res-search:focus{border-color:var(--text)}.tree{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);padding:12px 16px}.tree-group{margin:0;padding-left:0;list-style:none}.tree-group .tree-group{border-left:1px dashed var(--border);margin-left:8px;padding-left:20px}.tree-item{padding:2px 0}.tree-toggle{width:100%;color:var(--text);text-align:left;cursor:pointer;transition:var(--transition);background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:6px 8px;font-size:14px;font-weight:600;display:flex}.tree-toggle:hover{background:var(--bg-soft)}.tree-caret{fill:currentColor;flex-shrink:0;width:12px;height:12px;transition:transform .2s}.tree-item.open>.tree-toggle .tree-caret{transform:rotate(90deg)}.tree-item:not(.open)>.tree-group{display:none}.tree-link{color:var(--text-soft);transition:var(--transition);word-break:break-all;border-radius:6px;align-items:center;gap:6px;padding:6px 8px 6px 26px;font-size:14px;text-decoration:none;display:flex}.tree-link:hover{color:var(--text);background:var(--bg-soft);text-decoration:underline}.tree-link .icon{fill:currentColor;opacity:.7;flex-shrink:0;width:14px;height:14px}.tree-empty{text-align:center;color:var(--text-soft);padding:32px 16px;font-size:14px}@media (width<=640px){.resource-head{flex-direction:column;align-items:stretch}.res-search{max-width:none}}
