/* Scoped authenticated header controls. Desktop positions follow the retained
   1728px reference capture; smaller layouts keep every control reachable. */
.gh-controls{position:absolute;top:12px;right:15px;display:flex;align-items:flex-start;pointer-events:none;z-index:7}
.gh-controls :is(a,button){pointer-events:auto}
.gh-controls button{border:0;cursor:pointer}
.gh-controls img{display:block;max-width:100%;max-height:100%}
.gh-shortcuts{position:relative;flex:none;width:148px;height:34px;margin-right:10px;padding:2px 14px;border-radius:20px;background:#2c2c39}
.gh-whats-new{position:absolute;top:-5.5px;left:8.5px;display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#faaf1b}
.gh-whats-new img{width:27px;height:27px}
.gh-bookmark,.gh-help{position:absolute;top:2px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#5a5a61}
.gh-bookmark{left:56px}.gh-help{left:96px}
.gh-bookmark img,.gh-help img{width:18px;height:18px}
.gh-year{display:grid;place-items:center;flex:none;width:106.3828px;height:31.5px;margin-right:4px;padding:6px 10px;border-radius:20px;background:#f1e5fb;color:#be85e7;font:300 13px/19.5px Lexend,sans-serif;white-space:nowrap}
.gh-search{display:grid;place-items:center;flex:none;width:31px;height:17.5px;margin-top:1.5px;margin-right:4px;padding:0;background:transparent}
.gh-search img{width:21px;height:21px}
.gh-explorer{display:grid;grid-template-columns:20px 56px 16px;align-items:center;justify-content:center;gap:1px;flex:none;width:104px;height:34px;margin-right:4px;padding:0 5px;border:1px solid #2f8b72!important;border-radius:9px;background:#e7f1ed;color:#364656;white-space:nowrap}
.gh-module-icon{display:grid;place-items:center;width:20px}.gh-explorer img{width:12px;height:12px}
.gh-module-text{display:block;overflow:hidden;width:56px;color:#364656;font:500 16px/24px Lexend,sans-serif}
.gh-module-title{display:block;overflow:hidden;width:50px;text-overflow:ellipsis;white-space:nowrap;font:700 12px/13.8px Lexend,sans-serif}
.gh-chevron{justify-self:center;width:7px;height:7px;border-right:2px solid #364656;border-bottom:2px solid #364656;transform:rotate(45deg) translateY(-2px)}
.gh-profile{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;flex:none;width:40px;height:42px;padding:0;background:transparent;color:#1f2937;font:300 10px/12px Lexend,sans-serif}
.gh-profile img{width:30px;height:30px;border-radius:50%}
.gh-profile span{overflow:hidden;max-width:52px;white-space:nowrap;text-overflow:ellipsis}
.gh-controls :is(a,button):focus-visible{outline:2px solid #005be8;outline-offset:2px}
.gh-menu{position:absolute;z-index:9;top:48px;width:190px;padding:4px 0;border:1px solid #e4e7e3;border-radius:3px;background:#fff;box-shadow:0 5px 16px #14202c24;pointer-events:auto}
.gh-menu[hidden],.gh-profile-panel[hidden],.gh-profile-backdrop[hidden]{display:none}
.gh-search-menu{right:167px}.gh-help-menu{right:337px;width:230px}
.gh-menu button{display:block;width:100%;min-height:39px;padding:8px 13px;border:0;background:#fff;color:#364656;text-align:left;font:300 14px/21px Lexend,sans-serif}
.gh-menu button:hover,.gh-menu button:focus-visible{background:#f1f3f0}
.gh-menu p{margin:5px 10px;color:#a12731;font-size:12px}
.gh-profile-backdrop{position:fixed;inset:0;z-index:18;background:#0005;pointer-events:auto}
.gh-profile-panel{position:fixed;z-index:19;top:0;right:12px;width:min(425px,100vw);max-height:100vh;overflow-y:auto;padding:18px 18px 24px;background:#fff;box-shadow:-5px 0 24px #17223a33;color:#364656;pointer-events:auto}
.gh-profile-close{position:absolute;top:8px;right:10px;border:0;background:transparent;color:#4b5967;font:300 26px/30px Lexend,sans-serif}
.gh-profile-identity{display:flex;align-items:center;gap:10px;margin:16px 0 18px;font-size:15px}
.gh-profile-identity img{width:42px;height:42px;border-radius:50%}
.gh-profile-group{display:flex;flex-direction:column;padding:9px 0;border-top:1px solid #e4e7e3}
.gh-profile-group :is(span,button){display:block;width:100%;padding:8px 12px;border:0;background:transparent;color:#364656;text-align:left;font:300 14px/21px Lexend,sans-serif}
.gh-profile-group button:hover{background:#f1f3f0}
html:has(.gh-link-search[open]){overflow-y:hidden;scrollbar-gutter:auto}
.gh-link-search{position:fixed;top:28px;left:50vw;transform:translateX(-50%);width:80vw;max-width:none;height:calc(100vh - 102px);max-height:calc(100vh - 56px);margin:0;padding:0;border:1px solid transparent;border-radius:20px;box-sizing:border-box;background:#fff;color:#676a6c;font:300 14px/21px Lexend,sans-serif;pointer-events:auto}
.gh-link-search::backdrop{background:#0006}
.gh-link-search-head{display:flex;align-items:flex-start;justify-content:space-between;height:37px;padding:10px 15px 0;box-sizing:border-box}
.gh-link-search-head h2{margin:0;color:#000;font:600 18px/27px Lexend,sans-serif}
.gh-link-search-head button{position:absolute;top:8.5px;right:8px;width:30px;height:30px;padding:0;border:0;background:transparent;color:#364656;font:300 24px/30px Lexend,sans-serif;cursor:pointer}
.gh-link-search-body{height:calc(100% - 37px);padding:20px 30px 30px;box-sizing:border-box}
.gh-link-search-container{display:flex;flex-direction:column;width:100%;height:100%;min-height:0}
.gh-search-header{flex:none;height:75px;padding:15px;box-sizing:border-box}
.gh-search-field{display:block}.gh-search-field input{width:100%;height:44px;padding:6px 12px 6px 40px;border:1px solid #e1e3e6;border-radius:20px;box-sizing:border-box;background:#f6f7f9;color:#212529;font:300 14px/21px Lexend,sans-serif}
.gh-search-body{position:relative;flex:1;min-height:0}
.gh-link-search h3{position:absolute;top:13px;left:18px;margin:0;font:300 12px/16.8px Lexend,sans-serif}
.gh-link-search [data-gh-link-status]{position:absolute;top:13px;right:18px;margin:0;color:#a12731;font-size:13px}
.gh-link-results{position:absolute;top:37.8px;right:10px;bottom:10px;left:10px;overflow-y:auto}
.gh-link-results button{display:flex;align-items:flex-start;gap:4px;width:calc(100% - 12px);min-height:65px;margin:0 0 -1px;padding:12px 14px;border:1px solid #e4e7e3;background:#fff;text-align:left}
.gh-link-results button:hover,.gh-link-results button:focus-visible{background:#f5f7fb}
.gh-link-results .gh-link-bars{flex:none;width:14px;height:14px;margin:4px 4px 0 0;background:linear-gradient(#212529,#212529) center 2px/12px 2px no-repeat,linear-gradient(#212529,#212529) center 6px/12px 2px no-repeat,linear-gradient(#212529,#212529) center 10px/12px 2px no-repeat}
.gh-link-results .gh-result-copy{display:grid;flex:1;min-width:0;color:#212529}
.gh-link-results button strong{display:block;color:#212529;font:400 14px/21px Lexend,sans-serif}
.gh-link-results button strong em{float:right;margin:0 4px;padding:3.85px 6px 4px;background:#f0ad4e;color:#fff;font:600 11px/11px "Open Sans",Arial,sans-serif;font-style:normal}
.gh-link-results button small{display:block;color:#676a6c;font:300 12.25px/18.375px Lexend,sans-serif}
.gh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1250px){.gh-controls{right:12px}.gh-shortcuts{margin-right:6px}.gh-explorer{width:auto;min-width:104px}}
@media(max-width:850px){.gh-controls{position:relative;right:auto;top:auto;flex-wrap:wrap;gap:6px;margin-left:auto}.gh-shortcuts{margin-right:0}.gh-year,.gh-search,.gh-explorer{margin-right:0}.gh-year{height:34px}.gh-search-menu,.gh-help-menu{right:12px;top:74px}}
@media(max-width:850px){.gh-link-search{left:16px;transform:none;width:calc(100vw - 32px);height:calc(100vh - 56px)}.gh-link-search-body{padding:12px}.gh-link-results button{padding:8px 10px}}
