.member-header { position: relative; z-index: 1100; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 74px; padding: 12px max(20px,calc((100vw - 1232px)/2)); box-sizing: border-box; border-bottom: 1px solid #dce5de; background: #fffefa; color: #173b37; font-family: system-ui,-apple-system,"Segoe UI",sans-serif; }
.member-header * { box-sizing: border-box; }
.member-brand { display: flex; align-items: center; gap: 10px; color: #173b37; text-decoration: none; white-space: nowrap; }
.member-brand img { width: 44px; height: 44px; object-fit: contain; }
.member-brand strong { font: 800 1.1rem system-ui,-apple-system,"Segoe UI",sans-serif; letter-spacing: -.02em; }
.member-brand sup { padding-left: 2px; color: #9a7c45; font: 700 .6em Georgia,serif; vertical-align: super; }
.member-header-actions { display: flex; align-items: center; gap: 10px; }
.member-header .member-primary,.member-header .member-menu > summary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #d2dfd6; border-radius: 11px; font: 700 .95rem system-ui,-apple-system,"Segoe UI",sans-serif; text-decoration: none; cursor: pointer; }
.member-header .member-primary { background: #187a50; border-color: #187a50; color: white; }
.member-header .member-menu > summary { background: #fff; color: #173b37; list-style: none; }
.member-menu > summary::-webkit-details-marker { display: none; }
.member-menu { position: relative; }
.member-menu-panel { position: absolute; top: calc(100% + 9px); right: 0; width: 270px; max-width: calc(100vw - 28px); max-height: calc(100dvh - 92px); overflow: auto; border: 1px solid #d3e0d7; border-radius: 15px; background: #fff; box-shadow: 0 12px 35px #173b3728; }
.member-header-nav { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 10px; }
.member-header-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 43px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: #173b37; font: 650 .95rem system-ui,-apple-system,"Segoe UI",sans-serif; }
.member-header-nav a:hover,.member-header-nav a[aria-current="page"] { color: #175537; background: #e8f4eb; }
.member-header-nav .member-logout { margin-top: 5px; border-top: 1px solid #e2e9e4; border-radius: 0; }
header.member-header .pilot-testing-note { margin: 0; padding: 12px 20px; border: 0; border-top: 1px solid #e2e9e4; background: #fafbf8; color: #62746a; font: 400 .73rem/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
header.member-header .pilot-testing-note strong { font-weight: 650; }
.member-header [hidden] { display: none !important; }
.member-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip: rect(0,0,0,0); white-space: nowrap; }
.member-header a:focus-visible,.member-header summary:focus-visible { outline: 3px solid #d7aa3a; outline-offset: 3px; }
.account-settings { padding: 12px 0; }
.account-settings summary { cursor: pointer; font-weight: 750; }
.account-settings a { display: block; padding: 10px 0; color: inherit; }
@media (max-width: 600px) { .member-header { min-height: 68px; padding: 10px 14px; gap: 8px; } .member-brand { gap: 7px; } .member-brand img { width: 35px; height: 35px; } .member-brand strong { font-size: .95rem; } .member-header .member-primary,.member-header .member-menu > summary { min-height: 42px; padding: 9px 11px; font-size: .84rem; } .member-header-actions { gap: 7px; } }

/* Keep legacy sidebar disclosure styles out of the shared Explore button. */
.member-header .member-menu { margin-top: 0; padding-top: 0; border-top: 0; }
.member-header .member-menu > summary > span { float: none; color: inherit; }
.member-header .member-menu[open] > summary > .member-menu-label { transform: none; }
.member-header .member-menu > summary > [aria-hidden="true"] { display: inline-block; transition: transform .18s ease; }
.member-header .member-menu[open] > summary > [aria-hidden="true"] { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .member-header .member-menu > summary > [aria-hidden="true"] { transition: none; } }
