/* pb_headlook: the site header from the "remaining pages" canvas. Builds on pb-base tokens; drawer and account menu
   keep pb-base's .drawer / .acct-menu rules. */
.hl-bar { position: sticky; top: 0; z-index: 20; background: var(--bar-solid); color: var(--bar-ink); border-bottom: 1px solid var(--line); }
.hl-in { max-width: var(--page-max); margin: 0 auto; padding: 0 16px; height: 56px; display: flex; align-items: center; gap: 18px; }
.hl-logo, a.hl-logo:link, a.hl-logo:visited { display: inline-flex; align-items: center; gap: 10px; color: var(--bar-ink); text-decoration: none; white-space: nowrap; }
.hl-logo img { width: 32px; height: 32px; background: #fff; border-radius: 8px; padding: 3px; display: block; }
.hl-logo b { font: 700 18px/1.3 var(--head-font); }
.hl-nav { display: flex; gap: 16px; font-size: 14px; }
.hl-nav a, .hl-nav a:link, .hl-nav a:visited { color: var(--bar-ink); opacity: .85; white-space: nowrap; line-height: 40px; }
.hl-nav a[aria-current] { opacity: 1; font-weight: 700; }
.hl-grow { flex-grow: 1; }
.hl-me { margin-inline-start: 0; gap: 4px; }
.hl-ib, a.hl-ib:link, a.hl-ib:visited { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: var(--bar-ink); position: relative; border: 0; background: transparent; padding: 0; cursor: pointer; flex: none; }
.hl-ib b { position: absolute; top: 4px; left: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--focus); color: #1f2a24; font-size: 10px; line-height: 16px; text-align: center; }
.hl-who { display: inline-flex; align-items: center; gap: 8px; color: var(--bar-ink); font-size: 14px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.12); white-space: nowrap; }
.acct[open] > summary.hl-who { background: rgba(255,255,255,.22); }
.hl-av { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--link); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; object-fit: cover; }
.hl-who .hl-av { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
@media (hover: hover) and (pointer: fine) {
	.hl-nav a:hover { opacity: 1; text-decoration: none; }
	.hl-ib:hover, .hl-who:hover { background: rgba(255,255,255,.16); text-decoration: none; }
}
.hl-bar a:focus-visible, .hl-bar button:focus-visible, .hl-bar summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Drawer: the member's own links on top (they leave the bar on phones) */
.hl-dacct { display: flex; flex-direction: column; }
.hl-dhi { display: flex; align-items: center; gap: 10px; padding: 12px 20px 6px; font-size: 15px; }
.hl-dhi .hl-av { font-size: 15px; }
.hl-dn { margin-inline-start: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--focus); color: #1f2a24; font-size: 12px; line-height: 20px; text-align: center; }

@media (max-width: 760px) {
	.hl-in { gap: 8px; padding: 0 12px; }
	.hl-nav, .hl-bar a.hl-pm, .hl-acct { display: none; } /* a.hl-pm: must beat a.hl-ib:link */
	.hl-bar .menu-btn { display: inline-flex !important; }
}
