.resources-stage{--res-paper:#fbfbf8;--res-surface:#fff;--res-subtle:#f4f6f5;--res-hover:#f0f6f8;--res-border:#dce4e6;--res-rule:#edf0ee;--res-ink:#243440;--res-muted:#647581;--res-accent:#0369a1;--res-accent-soft:#eaf3f7;--res-red:#a0524b;color:var(--res-ink);background:var(--res-paper);min-height:calc(100svh - 64px);padding:0 28px 72px}.dark .resources-stage{--res-paper:#101923;--res-surface:#15212c;--res-subtle:#1b2934;--res-hover:#1d303d;--res-border:#30414d;--res-rule:#263641;--res-ink:#e0e8ec;--res-muted:#9daeba;--res-accent:#7dc5e8;--res-accent-soft:#1c3444;--res-red:#dfa096}.resources-container{max-width:1260px;margin-inline:auto}.resources-header{justify-content:space-between;align-items:center;gap:16px;padding-block:24px 18px;display:flex}.resources-header h1{font:600 24px/1.5 var(--club-serif);margin:0}.resources-header-actions{align-items:center;gap:14px;display:flex}.resources-node-status{color:var(--res-muted);align-items:center;gap:7px;font-size:11px;display:flex}.resources-status-dot{background:#4b8a75;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.resources-status-dot.is-mock{background:#b58b49}.resources-workspace{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.resources-sidebar{scrollbar-width:thin;min-width:0;max-height:calc(100dvh - 110px);padding:8px 0;position:sticky;top:84px;overflow:auto}.resources-tree-heading{color:var(--res-muted);margin:0 8px 10px;font-size:12px;font-weight:500}.resources-tree,.resources-tree-children{margin:0;padding:0;list-style:none}.resources-tree-children{border-left:1px solid var(--res-border);margin-left:12px;padding-left:8px}.resources-tree-row{border-radius:3px;align-items:flex-start;min-width:0;display:flex}.resources-tree-row:hover{background:var(--res-hover)}.resources-tree-row.is-current{background:var(--res-accent-soft);color:var(--res-accent)}.resources-tree-disclosure,.resources-tree-spacer{flex-shrink:0;place-items:center;width:24px;height:34px;display:grid}.resources-tree-disclosure{color:var(--res-muted);cursor:pointer;background:0 0;border:0}.resources-tree-disclosure svg{width:13px;height:13px;transition:transform .12s}.resources-tree-disclosure[aria-expanded=true] svg{transform:rotate(90deg)}.resources-tree-disclosure:hover{color:var(--res-accent)}.resources-tree-link{min-width:0;min-height:34px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:flex-start;gap:7px;padding:8px 7px 8px 0;font-size:11px;line-height:18px;display:flex}.resources-tree-link svg{width:14px;height:14px;color:var(--res-muted);flex-shrink:0;margin-top:2px}.resources-tree-link[aria-current]{color:var(--res-accent);font-weight:600}.resources-crumb-btn,.resources-tree-link span{overflow-wrap:anywhere}.resources-tree-status{color:var(--res-muted);margin:3px 0 7px 24px;font-size:10px;line-height:1.8}.resources-tree-status button{color:var(--res-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0}.resources-header-actions .resources-tree-toggle{display:none}.resources-detail-heading{color:var(--res-muted);margin:0;font-size:11px}.resources-main{min-width:0}.resources-file-panel{border:1px solid var(--res-border);border-top:2px solid var(--res-accent);background:var(--res-surface);border-radius:5px;overflow:clip}.resources-pathbar{border-bottom:1px solid var(--res-border);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 18px;display:flex}.resources-breadcrumbs{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;display:flex}.resources-crumb-btn{color:var(--res-muted);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:5px 4px;font-size:12px;display:inline-flex}.resources-crumb-btn[aria-current]{color:var(--res-ink);font-weight:500}.resources-crumb-btn:hover{color:var(--res-accent)}.resources-crumb-btn>svg{width:15px;height:15px;color:var(--res-accent)}.resources-crumb-sep{color:var(--res-muted);opacity:.5;font-size:11px}.resources-path-actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.resources-action-btn,.resources-icon-btn,.resources-row-action,.resources-view-tab{color:var(--res-muted);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:7px 9px;font-size:11px;line-height:1.5;text-decoration:none;transition:color .14s,background-color .14s;display:inline-flex}.resources-action-btn>svg,.resources-icon-btn>svg,.resources-view-tab>svg{flex-shrink:0;width:16px;height:16px}.resources-icon-btn,.resources-view-tab{flex-shrink:0;width:36px;padding:7px;font-size:19px}.resources-action-btn:hover,.resources-icon-btn:hover,.resources-row-action:hover,.resources-view-tab:hover{color:var(--res-accent);background:var(--res-accent-soft)}.resources-stage button:disabled{opacity:.45;cursor:default}.resources-toolbar{align-items:center;gap:16px;padding:20px 20px 8px;display:flex}.resources-search{border:1px solid var(--res-border);background:var(--res-subtle);border-radius:4px;flex:1;align-items:center;gap:4px;min-width:0;padding-left:12px;display:flex}.resources-search:focus-within{border-color:var(--res-accent);box-shadow:0 0 0 2px var(--res-accent-soft)}.resources-search-icon{width:16px;height:16px;color:var(--res-muted);flex-shrink:0}.resources-search-input{width:0;min-width:0;min-height:40px;color:var(--res-ink);font:inherit;background:0 0;border:0;outline:none;flex:1;padding:8px 6px;font-size:12px}.resources-search-input::-webkit-search-cancel-button{display:none}.resources-search-input::placeholder{color:var(--res-muted)}.resources-search-scope{border-left:1px solid var(--res-border)}.resources-search-scope select,.resources-sort select{color:var(--res-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:3px;max-width:100%;padding:5px 6px;font-size:11px}.resources-stage option{color:var(--res-ink);background:var(--res-surface)}.resources-search-submit{color:#fff;background:var(--res-accent);cursor:pointer;border:0;border-radius:3px;align-self:stretch;margin:4px;padding:4px 12px;font-size:11px}.dark .resources-search-submit{color:#101923}.resources-view-group{border:1px solid var(--res-border);border-radius:4px;gap:2px;padding:2px;display:flex}.resources-view-tab{width:32px;min-height:32px}.resources-view-tab.is-active{color:var(--res-accent);background:var(--res-accent-soft)}.resources-heading-row{align-items:center;gap:4px;padding:14px 20px 8px;display:flex}.resources-directory-heading{flex:1;align-items:baseline;gap:9px;min-width:0;display:flex}.resources-directory-heading h2{overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:600}.resources-directory-heading>span{color:var(--res-muted);white-space:nowrap;flex-shrink:0;font-size:10px}.resources-type-filters{scrollbar-width:thin;align-items:center;gap:20px;padding-inline:20px;display:flex;overflow-x:auto}.resources-type-filters>button{min-height:37px;color:var(--res-muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;flex-shrink:0;padding:7px 0 10px;font-size:11px}.resources-type-filters>button>span{opacity:.7;margin-left:3px;font:10px ui-monospace,monospace}.resources-type-filters>button[aria-pressed=true]{color:var(--res-accent);border-bottom-color:var(--res-accent);font-weight:600}.resources-type-filters>button:hover{color:var(--res-accent)}.resources-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:12px}.resources-table th{background:var(--res-subtle);border-block:1px solid var(--res-rule);height:40px;color:var(--res-muted);text-align:left;font-weight:400}.resources-table th>button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 0}.resources-table th[aria-sort=ascending],.resources-table th[aria-sort=descending]{color:var(--res-ink)}.resources-table td:first-child,.resources-table th:first-child{padding-left:20px}.resources-table td{border-bottom:1px solid var(--res-rule);vertical-align:middle;padding-block:3px}.resources-table tbody tr:hover{background:var(--res-hover)}.resources-size-col{width:95px}.resources-date-col,.resources-size-col{font-variant-numeric:tabular-nums;color:var(--res-muted);font-size:11px}.resources-date-col{width:118px}.resources-actions-col{width:64px;padding-right:12px}.resources-row-action{gap:4px;padding-inline:4px}.resources-item-main{width:100%;min-width:0;min-height:62px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 16px 10px 0;display:flex}.resources-item-icon{flex-shrink:0;place-items:center;width:32px;height:38px;display:grid}.resource-file-icon{-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;user-select:none;flex-shrink:0;width:28px;height:32px;display:block}.resources-item-text{min-width:0;display:block}.resources-item-title{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.resources-item-name{color:var(--res-ink);overflow-wrap:anywhere;font-size:12px;font-weight:500;line-height:1.7;display:block}.resources-card-main:hover .resources-item-name,.resources-item-main:hover .resources-item-name{color:var(--res-accent)}.resources-item-summary{color:var(--res-muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:10px;line-height:1.7;display:block;overflow:hidden}.resources-version-pill{color:var(--res-muted);border:1px solid var(--res-border);border-radius:3px;padding:1px 4px;font:9px ui-monospace,monospace}.resources-location{max-width:100%;color:var(--res-accent);cursor:pointer;text-align:left;overflow-wrap:anywhere;background:0 0;border:0;margin:-5px 0 9px 44px;padding:3px 0;font-size:10px;display:block}.resources-location:hover{text-decoration:underline}.resources-grid{border-top:1px solid var(--res-rule);grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;padding:20px;display:grid}.resources-card{border:1px solid var(--res-border);border-radius:4px;flex-direction:column;min-width:0;display:flex;overflow:clip}.resources-card:hover{background:var(--res-hover);border-color:var(--res-accent)}.resources-card-main{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;align-items:stretch;gap:6px;width:100%;min-width:0;padding:16px;display:flex}.resources-card-top{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.resources-card .resources-item-icon{width:40px;height:42px}.resources-card .resource-file-icon{width:36px;height:44px}.resources-card-meta,.resources-file-kind{color:var(--res-muted);font-size:9px}.resources-card .resources-item-summary{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:0;display:-webkit-box}.resources-card-meta{border-top:1px solid var(--res-rule);font-variant-numeric:tabular-nums;justify-content:space-between;gap:6px;padding:10px 16px;display:flex}.resources-card .resources-location{margin:0 16px 10px}.resources-list-footer{background:var(--res-subtle);min-height:48px;color:var(--res-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:12px 20px;font-size:10px;display:flex}.resources-list-footer>span:nth-child(2){opacity:.85;font-size:9px}.resources-demo-note{color:var(--res-muted);align-items:baseline;gap:8px;margin:15px 2px 0;font-size:10px;line-height:1.8;display:flex}.resources-demo-note p{margin:0}.resources-readme{border-top:1px solid var(--res-border);margin-top:28px}.resources-readme>header{align-items:center;gap:9px;padding-block:18px 12px;display:flex}.resources-readme>header svg{width:17px;height:17px;color:var(--res-red)}.resources-readme h2{font:500 15px var(--club-serif);margin:0}.resources-readme>header>span{color:var(--res-muted);margin-left:auto;font:10px ui-monospace,monospace}.resources-readme-body{color:var(--res-muted);overflow-wrap:anywhere;padding:0 0 20px;font-size:12px;line-height:1.9}.resources-readme .safe-markdown{color:inherit;word-break:normal;font-family:inherit}.resources-readme .safe-markdown :is(h1,h2,h3,h4){font-family:var(--club-serif);color:var(--res-ink);margin-top:18px;font-size:15px}.resources-readme .safe-markdown li{margin-block:5px}.resources-readme .safe-markdown p{line-height:1.9}.resources-plain-readme{white-space:pre-wrap;margin:0}.resources-state{text-align:center;border-top:1px solid var(--res-rule);flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:280px;padding:36px 24px;display:flex}.resources-state>svg{width:32px;height:32px;color:var(--res-muted);opacity:.6}.resources-state h3{font:500 19px var(--club-serif);margin:3px 0 0}.resources-state p{color:var(--res-muted);margin:0;font-size:12px;line-height:1.8}.resources-state>div{gap:10px;margin-top:8px;display:flex}.resources-loading-mark{border:2px solid var(--res-border);border-top-color:var(--res-accent);border-radius:50%;width:22px;height:22px;animation:.9s linear infinite resources-spin}@keyframes resources-spin{to{transform:rotate(1turn)}}.resources-primary-btn,.resources-secondary-btn{border:1px solid var(--res-accent);background:var(--res-accent);color:#fff;cursor:pointer;border-radius:4px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 16px;font-size:12px;font-weight:500;text-decoration:none;display:inline-flex}.resources-secondary-btn{border-color:var(--res-border);color:var(--res-ink);background:0 0}.dark .resources-primary-btn{color:#101923}.resources-primary-btn:hover{filter:brightness(.92)}.resources-secondary-btn:hover{border-color:var(--res-accent);color:var(--res-accent)}.resources-primary-btn>svg,.resources-secondary-btn>svg{width:16px;height:16px}.resources-toast{z-index:100;border:1px solid var(--res-border);background:var(--res-surface);max-width:calc(100vw - 32px);color:var(--res-ink);border-radius:5px;align-items:center;gap:10px;padding:13px 20px;font-size:12px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 5px 24px #0000001f}.resources-toast svg{width:17px;height:17px;color:var(--res-accent)}.resources-stage :is(button,a,select,input,summary):focus-visible{outline:2px solid var(--res-accent);outline-offset:3px}.resources-stage input.resources-search-input:focus-visible{outline:none}body:has(.resources-drawer[open]){overflow:hidden}.resources-drawer{border:0;border-left:1px solid var(--res-border);background:var(--res-surface);width:min(500px,100%);max-width:100%;height:100dvh;max-height:100dvh;color:var(--res-ink);overscroll-behavior:contain;margin:0 0 0 auto;padding:0;position:fixed;inset:0 0 0 auto;overflow-y:auto;box-shadow:-10px 0 45px #0000001f}.resources-drawer::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#10192366}.resources-drawer-header{border-bottom:1px solid var(--res-border);background:var(--res-surface);z-index:1;justify-content:space-between;align-items:center;padding:16px 24px;display:flex;position:sticky;top:0}.resources-drawer-body{flex-direction:column;gap:20px;padding:28px;display:flex}.resources-detail-icon{background:var(--res-subtle);border:1px solid var(--res-border);border-radius:5px;width:54px;height:54px}.resources-detail-icon .resource-file-icon{width:32px;height:40px}.resources-drawer h2{font:500 21px/1.6 var(--club-serif);overflow-wrap:anywhere;margin:-3px 0 0}.resources-detail-summary{color:var(--res-muted);margin:-10px 0 0;font-size:12px;line-height:1.9}.resources-download-block{border-block:1px solid var(--res-border);padding-block:18px}.resources-detail-state,.resources-download-block>p{color:var(--res-muted);margin:0;font-size:12px;line-height:1.8}.resources-download-actions{flex-wrap:wrap;gap:10px;display:flex}.resources-download-actions>a{flex:1}.resources-download-url{color:var(--res-muted);margin-top:14px;font-size:10px;display:block}.resources-download-url input{border:1px solid var(--res-border);background:var(--res-subtle);width:100%;color:var(--res-muted);border-radius:3px;margin-top:6px;padding:9px;font:10px ui-monospace,monospace;display:block}.resources-detail-state{background:var(--res-subtle);padding:16px}.resources-detail-state button{margin-top:10px}.resources-meta-list{margin:0}.resources-meta-list>div{border-bottom:1px solid var(--res-rule);justify-content:space-between;gap:16px;padding:12px 0;font-size:12px;line-height:1.7;display:flex}.resources-meta-list dt{color:var(--res-muted);white-space:nowrap}.resources-meta-list dd{text-align:right;overflow-wrap:anywhere;margin:0}.resources-meta-list button,.resources-text-preview button{color:var(--res-accent);cursor:pointer;font:inherit;background:0 0;border:0;font-size:11px}.resources-meta-list .resources-hash{display:block}.resources-hash dt{justify-content:space-between;margin-bottom:7px;display:flex}.resources-hash dd{text-align:left;color:var(--res-muted);-webkit-user-select:all;user-select:all;font:10px/1.9 ui-monospace,monospace}.resources-text-preview header{justify-content:space-between;align-items:center;margin-bottom:9px;display:flex}.resources-text-preview h3{margin:0;font-size:12px;font-weight:500}.resources-advanced pre,.resources-text-preview pre{border:1px solid var(--res-border);background:var(--res-subtle);color:var(--res-ink);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:4px;max-height:320px;margin:0;padding:14px;font:11px/1.9 ui-monospace,monospace;overflow:auto}.resources-advanced{border-top:1px solid var(--res-border);padding-top:16px}.resources-advanced summary{color:var(--res-muted);cursor:pointer;font-size:12px}.resources-advanced p{color:var(--res-muted);margin-block:12px;font-size:11px;line-height:1.8}@media (width>=1500px){.resources-container{max-width:1380px}}@media (width<=1000px){.resources-stage{padding-inline:22px}.resources-workspace{grid-template-columns:190px minmax(0,1fr);gap:20px}.resources-date-col{width:100px}.resources-size-col{width:75px}.resources-path-actions .resources-action-btn>span{display:none}.resources-path-actions .resources-action-btn{width:36px}.resources-toolbar{gap:10px;padding-inline:16px}.resources-search-input{font-size:11px}}@media (width<=760px){.resources-stage{padding:0 16px 40px}.resources-header{gap:12px;padding-block:20px 16px}.resources-header h1{font-size:21px}.resources-header-actions .resources-tree-toggle{display:inline-flex}.resources-node-status{white-space:nowrap;font-size:10px}.resources-workspace{display:block}.resources-sidebar{border:1px solid var(--res-border);background:var(--res-surface);border-radius:4px;max-height:300px;margin-bottom:14px;padding:12px;display:none;position:static}.resources-sidebar.is-open{display:block}.resources-pathbar{padding:8px 12px}.resources-toolbar{flex-wrap:wrap;padding:14px 12px 6px}.resources-search{flex-basis:calc(100% - 90px)}.resources-heading-row{padding:10px 12px 6px}.resources-directory-heading{flex-wrap:wrap;gap:2px 6px}.resources-directory-heading h2{font-size:13px}.resources-type-filters{gap:16px;padding-inline:12px}.resources-table td:first-child,.resources-table th:first-child{padding-left:12px}.resources-date-col,.resources-list-footer>span:nth-child(2),.resources-row-action>span:first-child,.resources-version-pill{display:none}.resources-size-col{width:65px;font-size:10px}.resources-actions-col{width:34px;padding-right:5px}.resources-row-action{width:28px;min-height:40px;padding:4px;font-size:16px}.resources-item-main{gap:7px;min-height:64px;padding-right:8px}.resources-item-icon{width:25px}.resources-item-icon .resource-file-icon{width:23px;height:29px}.resources-item-name{font-size:12px}.resources-item-summary{font-size:10px}.resources-item-title{gap:3px}.resources-location{margin-left:32px;padding-right:6px;font-size:9px}.resources-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.resources-card-main{padding:12px}.resources-card-meta{flex-wrap:wrap;padding:9px 12px}.resources-list-footer{padding-inline:12px;font-size:9px}.resources-state{min-height:250px}.resources-drawer-body{padding:22px}}@media (width<=400px){.resources-stage{padding-inline:12px}.resources-toolbar{gap:8px}.resources-search{flex-basis:100%}.resources-view-group{margin-left:auto}.resources-search-scope select{max-width:82px;padding-inline:3px;font-size:10px}.resources-search-submit{padding-inline:8px}}@media (prefers-reduced-motion:reduce){.resources-stage *{transition:none!important;animation:none!important}}
