/* The shared top menu (PO 28 Nov 2026: the same top menu on every page). Linked from inside the <header> by
   lib_chrome.mjs topMenuHtml, on every page while homepage v6 renders. These are the homepage v6 top-bar rules, moved here
   unchanged apart from the selector scope (header.site.hv6-header instead of .home-v6-page). Colours are site.css tokens.
   Desktop row from 840 px; below that, the phone menu (logo, Get the app, a <details> menu). */
header.site.hv6-header { position: relative; z-index: 3; background: var(--lowest); border-bottom: 1px solid var(--container-highest); gap: 12px; }
header.site.hv6-header .lockup { margin-right: auto; }
header.site.hv6-header .hv6-nav { display: none; }
header.site.hv6-header .hv6-get { min-height: 40px; padding-inline: 20px; white-space: nowrap; }
@media (min-width: 840px) { header.site.hv6-header .hv6-get { min-height: 44px; padding-inline: 24px; font-size: 1rem; line-height: 24px; } header.site.hv6-header .hv6-get::before { inset: -2px 0; } }
.hv6-menu { position: relative; }
.hv6-menu summary { list-style: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; color: var(--fg); cursor: pointer; }
.hv6-menu summary::-webkit-details-marker { display: none; }
.hv6-menu summary:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.hv6-menu summary svg { width: 28px; height: 28px; fill: currentColor; }
header.site.hv6-header .hv6-menu nav { display: block; position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px 0; background: var(--lowest); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px rgb(8 31 63 / .12); }
.hv6-menu ul { list-style: none; margin: 0; padding: 0; }
header.site.hv6-header .hv6-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 0; font-size: 1rem; }
@media (min-width: 840px) {
  header.site.hv6-header .hv6-nav { display: flex; gap: 12px; margin-right: 32px; }
  .hv6-menu { display: none; }
}
