.gh-menu { margin-left: auto; position: relative; font-family: Inter, system-ui, sans-serif; }
.gh-menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid rgba(5,171,206,.58); background: #05090c; color: #05abce; box-shadow: 0 0 0 3px rgba(5,171,206,.10); cursor: pointer; }
.gh-menu-toggle span { width: 22px; height: 2px; background: currentColor; transition: transform .16s, opacity .16s; }
.gh-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.gh-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gh-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.gh-menu-panel { position: absolute; top: calc(100% + 24px); right: 0; width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 115px); overflow-y: auto; padding: 10px; border: 1px solid rgba(5,171,206,.28); border-radius: 12px; background: #05090c; color: #f8fafc; box-shadow: 0 12px 28px rgba(0,0,0,.36); z-index: 1100; }
.gh-menu-panel[hidden] { display: none; }
.gh-menu-apps { display: none; }
@media (min-width: 992px) {
  body.home-page .gh-menu-panel { display: none; }
}
.gh-auth-phone { display: none; }
.gh-menu-panel a, .gh-menu-panel summary { display: flex; align-items: center; min-height: 38px; padding: 9px 8px; margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: #f8fafc; border-radius: 6px; text-decoration: none; cursor: pointer; list-style: none; }
.gh-menu-panel summary::-webkit-details-marker { display: none; }
.gh-menu-panel summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: auto; margin-right: 4px; }
.gh-menu-panel details[open] summary::after { transform: rotate(225deg); }
.gh-menu-panel details div { padding-left: 12px; }
.gh-menu-panel details a { font-size: 12px; color: #cbd5e1; }
.gh-menu-panel a:hover, .gh-menu-panel summary:hover { background: rgba(5,171,206,.12); color: #05abce; }
.gh-menu :focus-visible { outline: 2px solid #05abce; outline-offset: 2px; }
.gh-public-header { position: sticky; top: 0; z-index: 1000; width: 100%; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: rgba(2,6,10,.95); border-bottom: 1px solid rgba(5,171,206,.58); }
.gh-public-brand { display: inline-flex; align-items: center; gap: 9px; color: #f8fafc; font-size: 17px; font-weight: 650; text-decoration: none; }
.gh-public-brand img { width: 34px; height: 34px; object-fit: contain; }
body.home-page .header-toolbar { min-height: 62px; }

@media (max-width: 575.98px) {
  body.home-page.gh-navigation-open { overflow: hidden; }
  body.home-page.gh-navigation-open .promo-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1102;
  }
  body.home-page.gh-navigation-open .dashboard-header {
    position: fixed;
    top: var(--gh-ticker-height, 44px);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1102;
  }
  body.home-page .gh-menu-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--gh-menu-top, 63px);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - var(--gh-menu-top, 63px));
    max-height: none;
    padding: 20px 20px max(24px, env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(5, 212, 242, .25);
    border-radius: 0;
    overscroll-behavior: contain;
    animation: gh-menu-slide-in .28s ease-out both;
  }
  @keyframes gh-menu-slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }
  body.home-page .gh-menu-panel :focus-visible { outline: 2px solid #05D4F2; outline-offset: 2px; }
  body.home-page .gh-menu-panel > a,
  body.home-page .gh-menu-panel summary {
    min-height: 52px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
  }
  body.home-page .gh-menu-panel details a { min-height: 46px; font-size: 15px; }
  body.home-page .gh-auth-desktop { display: none; }
  body.home-page .gh-auth-phone { display: inline; }
  body.home-page .gh-menu-panel > .gh-menu-login,
  body.home-page .gh-menu-panel > .gh-menu-signup {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid #05D4F2;
    border-radius: 8px;
    background: #151a22;
    color: #05D4F2;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }
  body.home-page .gh-menu-panel > .gh-menu-signup {
    border-color: #05D4F2;
    background: #05D4F2;
    color: #000;
  }
  body.home-page .gh-menu-panel[hidden] { display: none; }
  body.home-page .gh-menu-panel > * { flex-shrink: 0; }
  body.home-page .gh-menu-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 14px;
    width: 100%;
    margin-top: auto;
    padding-top: 28px;
  }
  body.home-page .gh-menu-apps > a {
    display: block;
    flex: 0 0 calc((100vw - 54px) / 2);
    width: calc((100vw - 54px) / 2);
    max-width: 230px;
    min-width: 0;
    line-height: 0;
  }
  body.home-page .gh-menu-apps img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 52px;
    object-fit: contain;
  }
  body.home-page .dashboard-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .gh-menu-panel { animation: none; }
}

/* Full wordmark supplied for the public headers. */
body .dashboard-header .gh-header-logo,
body .gh-public-header .gh-header-logo {
  display: block;
  width: 220px;
  max-width: calc(100vw - 96px);
  height: auto;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  body .dashboard-header .gh-header-logo,
  body .gh-public-header .gh-header-logo { width: 190px; }
}

/* Bring the phone header controls closer to the screen edges. */
@media (max-width: 575.98px) {
  body.home-page .dashboard-header > .container {
    width: 100%;
    max-width: none;
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }

  body .gh-public-header {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }

  body.home-page .header-toolbar {
    flex-wrap: nowrap;
  }
}
