/* Shared top bar for the product pages (ask.html, console.html). */
:root { --app-bar-h: 56px; }
.app-bar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px;
  height: var(--app-bar-h); padding: 0 var(--gutter-r) 0 var(--gutter);
  background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.app-bar .brand img { width: 26px; height: 26px; }
.app-tabs { display: flex; align-self: stretch; gap: 4px; }
.app-tabs a {
  display: inline-flex; align-items: center; padding: 0 14px; margin-bottom: -1px;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  border-bottom: 2px solid transparent; transition: color 160ms ease;
}
.app-tabs a:hover { color: var(--text); }
.app-tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.app-spacer { flex: 1; }
.app-context { font-family: var(--font-mono); font-size: 12px; color: var(--text-body); white-space: nowrap; }
.app-context span { color: var(--faint); margin-left: 10px; }
@media (max-width: 900px) { .app-context { display: none; } }
@media (max-width: 520px) {
  .app-bar { gap: 8px; }
  .app-bar .btn { display: none; }
  .app-tabs a { padding: 0 10px; }
}
