.ch-gh-source{--gh-line:var(--border,#333);--gh-muted:var(--app-muted,#929292)}
.ch-gh-source button,.ch-gh-source input,.ch-gh-source select{font:inherit}
.ch-gh-source .ch-app-button{font-size:12px}
.ch-gh-source .ch-app-note{margin:0 0 16px}
.ch-gh-source .ch-app-note>.ch-app-button{margin:10px 0 0;display:flex}
.ch-gh-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:46px 16px;color:var(--gh-muted);font-size:13px}
.ch-gh-connect{display:flex;align-items:center;gap:17px;padding:24px;border:1px solid var(--gh-line);border-radius:12px;background:linear-gradient(115deg,#ffffff04,transparent)}
.ch-gh-connect-icon{width:56px;height:56px;display:grid;place-items:center;flex:none;background:#ffffff04;border:1px solid #ffffff12;border-radius:15px;color:#d6d6d6}
.ch-gh-connect>div{flex:1;min-width:0}.ch-gh-connect h3{font-size:15px;line-height:1.5;letter-spacing:-.2px}.ch-gh-connect p{font-size:12px;margin:7px 0 0;max-width:450px}
.ch-gh-account{display:flex;align-items:center;gap:11px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--gh-line)}
.ch-gh-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #ffffff1a;border-radius:10px;background:#ffffff05;overflow:hidden;color:#c7c7c7}.ch-gh-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.ch-gh-account>div{flex:1;min-width:0}.ch-gh-account strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.ch-gh-account small{display:block;font-size:10px;margin-top:4px}
.ch-gh-connected{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:#b3b3b3;white-space:nowrap}.ch-gh-account .ch-app-button{font-size:11px;min-height:32px;padding:6px 10px}
.ch-gh-tools{display:flex;gap:10px;margin-bottom:12px}.ch-gh-search{position:relative;flex:1;min-width:0}.ch-gh-search>svg{position:absolute;top:13px;left:12px;color:#7f7f7f;pointer-events:none}.ch-gh-search input{box-sizing:border-box;height:42px;width:100%;padding:10px 12px 10px 38px!important;border:1px solid var(--gh-line);border-radius:8px;background:#111;color:#ddd;font-size:12px;outline:none}.ch-gh-search input:focus{border-color:#777;box-shadow:0 0 0 2px #ffffff06}.ch-gh-search input::placeholder{color:#777}
.ch-gh-owner{max-width:210px;min-width:150px}.ch-gh-owner select{width:100%}.ch-gh-sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.ch-gh-repos{max-height:390px;overflow:auto;border:1px solid var(--gh-line);border-radius:11px;scrollbar-width:thin;scrollbar-color:#494949 transparent;overscroll-behavior:contain}
.ch-gh-repo{display:flex;align-items:center;gap:13px;width:100%;padding:17px;text-align:left;cursor:pointer;color:inherit;background:#ffffff01;border:0;border-bottom:1px solid var(--gh-line);transition:background .15s}
.ch-gh-repo:last-child{border-bottom:0}.ch-gh-repo:hover{background:#ffffff06}.ch-gh-repo:focus-visible{outline:2px solid #858585;outline-offset:-3px;background:#ffffff06}.ch-gh-repo[aria-pressed=true]{background:#ffffff08}.ch-gh-repo>svg{color:#838383;flex:none}.ch-gh-repo .ch-gh-avatar{align-self:flex-start;margin-top:2px}
.ch-gh-repo-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.ch-gh-repo-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ch-gh-repo-title strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.ch-gh-visibility{display:inline-flex;align-items:center;gap:4px;font-size:9px;padding:1px 6px;border:1px solid #ffffff14;border-radius:5px;color:#a1a1a1;line-height:1.6}
.ch-gh-repo-owner{font-size:10px;color:#818181;overflow-wrap:anywhere}.ch-gh-description{font-size:11px;line-height:1.7;color:#a3a3a3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.ch-gh-repo-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:5px;font-size:9px;color:#828282}.ch-gh-repo-meta>span{display:inline-flex;align-items:center;gap:5px}.ch-gh-repo-meta i{height:6px;width:6px;border-radius:50%;background:#969696}.ch-gh-repo-meta i[data-language=JavaScript]{background:#d9ca69}.ch-gh-repo-meta i[data-language=TypeScript]{background:#709bbb}.ch-gh-repo-meta i[data-language=Python]{background:#81a2bd}.ch-gh-repo-meta i[data-language=HTML]{background:#bd8a79}
.ch-gh-list-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 17px}.ch-gh-list-footer small{font-size:10px}.ch-gh-list-footer .ch-app-button{font-size:10px;min-height:29px;padding:5px 9px}
.ch-gh-permissions{display:flex;align-items:center;gap:14px;padding:12px 0 0;border-top:1px solid var(--gh-line)}.ch-gh-permissions p{font-size:11px;flex:1;margin:0}.ch-gh-permissions .ch-app-button{font-size:11px;min-height:32px;padding:6px 10px}
.ch-gh-empty{text-align:center;display:flex;align-items:center;flex-direction:column;gap:9px;padding:36px 20px;color:#999}.ch-gh-empty strong{font-size:12px;color:#c7c7c7}.ch-gh-empty p{font-size:11px;max-width:350px;margin:0}
.ch-gh-selected{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--gh-line);border-radius:11px;background:#ffffff03}.ch-gh-selected>div{flex:1;min-width:0}.ch-gh-selected small{display:block;font-size:10px}.ch-gh-selected strong{display:block;font-size:14px;margin:4px 0;overflow-wrap:anywhere}.ch-gh-selected div>span{font-size:10px;color:#999}.ch-gh-selected .ch-app-button{min-height:32px;font-size:11px;padding:6px 10px}
.ch-gh-options{margin:20px 0 4px}.ch-gh-options .ch-app-field>span{display:flex;align-items:center;gap:7px}.ch-gh-options .ch-app-field small{font-size:10px;line-height:1.7}.ch-gh-options+.ch-app-note{margin-top:15px}.ch-gh-error-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.ch-gh-alternative{margin-top:18px;padding-top:12px;border-top:1px solid var(--gh-line)}.ch-gh-text-button.ch-app-button{padding:5px 0;border:0;background:transparent;font-size:11px;color:#9a9a9a;min-height:28px}.ch-gh-text-button.ch-app-button:hover{background:transparent;color:#ddd}.ch-gh-text-button svg{width:13px;height:13px}
.ch-gh-manual{margin-top:17px}.ch-gh-manual>p{font-size:12px;margin:0 0 16px}
@media(max-width:700px){.ch-gh-connect{flex-wrap:wrap;padding:18px;gap:12px}.ch-gh-connect>div{min-width:180px}.ch-gh-connect>.ch-app-button{margin-left:68px}.ch-gh-permissions{align-items:flex-start;flex-direction:column;gap:10px}.ch-gh-connected{display:none}}
@media(max-width:460px){.ch-gh-tools{flex-direction:column}.ch-gh-owner{max-width:none}.ch-gh-account{gap:9px}.ch-gh-account small{font-size:9px}.ch-gh-account .ch-app-button{font-size:10px;padding:6px 8px;gap:5px}.ch-gh-repo{gap:10px;padding:14px 12px}.ch-gh-repo .ch-gh-avatar{width:30px;height:30px;border-radius:8px}.ch-gh-repo>svg{width:13px}.ch-gh-selected{flex-wrap:wrap;padding:14px}.ch-gh-selected strong{font-size:12px}.ch-gh-selected>.ch-app-button{margin-left:50px}.ch-gh-connect-icon{width:44px;height:44px;border-radius:12px}.ch-gh-connect>.ch-app-button{margin-left:56px}.ch-gh-connect h3{font-size:14px}.ch-gh-connect>div{min-width:150px}.ch-gh-repos{max-height:390px}}
@media(prefers-reduced-motion:reduce){.ch-gh-repo{transition:none}}

.ch-app-config-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;margin:0 0 20px;border:1px solid var(--border,#292929);border-radius:10px;background:#ffffff03;color:var(--muted-foreground,#aaa);font-size:12px;line-height:1.6}.ch-app-config-note a{color:#8bbaff;text-decoration:none}.ch-app-config-note a:hover{text-decoration:underline}.ch-account-github{display:flex;align-items:center;gap:16px;margin:22px 0}.ch-account-github>svg{flex-shrink:0}.ch-account-github>div{flex:1}.ch-account-github p{margin:5px 0 0!important}.ch-account-github button{flex-shrink:0}@media(max-width:600px){.ch-account-github{flex-wrap:wrap}.ch-account-github>div{min-width:200px}}
