/* Site navigation: the top bar (logo + Home / Technology / Apps) and the row of app tabs.
   Kept separate from site.css, with fallbacks for every variable, so the 2015 Eyester page
   (which has its own stylesheet) can use it too. */

.site-header { background: var(--brand-dark, #202020); font: 15px/1.4 var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); }
.site-header .wrap { width: var(--page, min(1100px, calc(100% - 32px))); margin: 0 auto;
                     display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header .brand { display: block; line-height: 0; }
.site-header .brand img { height: 56px; width: auto; max-width: none; display: block; }

.site-nav { display: flex; gap: 6px; }
.site-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
              color: #d6d6d6; text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a[aria-current] { color: #fff; background: rgba(84,192,252,.18); box-shadow: inset 0 -2px 0 var(--brand-blue, #54c0fc); }
.site-nav .icon { width: 22px; height: 22px; flex: none; }
.site-header a:focus-visible, .app-tabs a:focus-visible { outline: 3px solid var(--brand-blue, #54c0fc); outline-offset: 2px; }

/* App tabs: shown on the Apps pages, under the top bar. */
.app-tabs { background: var(--surface, #fff); border-bottom: 1px solid var(--line, #e2e4e3);
            font: 15px/1.4 var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); }
.app-tabs .wrap { width: var(--page, min(1100px, calc(100% - 32px))); margin: 0 auto;
                  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; }
.app-tabs .wrap > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; }
.app-tabs .wrap > ul > li > a { display: flex; align-items: center; gap: 8px; padding: 12px 12px 11px; white-space: nowrap;
                 color: var(--muted, #5b666b); text-decoration: none; border-bottom: 3px solid transparent; }
.app-tabs .wrap > ul > li > a:hover { color: var(--text, #22282b); }
.app-tabs .wrap > ul > li > a[aria-current] { color: var(--text, #22282b); border-bottom-color: var(--brand-blue, #54c0fc); font-weight: 600; }
.app-tabs .wrap > ul > li img { width: 24px; height: 24px; border-radius: 6px; display: block; max-width: none; }

@media (max-width: 760px) {
  .site-header .wrap { min-height: 60px; gap: 8px; }
  .site-header .brand img { height: 40px; }
  .site-nav { gap: 2px; }
  .site-nav a { flex-direction: column; gap: 2px; padding: 6px 10px; font-size: 12px; }
  .app-tabs .wrap > ul > li > a { padding: 10px 8px 9px; }
}
