/* The scrolling header retains the browsing row without the full brand masthead. */
.compact-header{position:fixed;inset:0 0 auto;z-index:100;background:var(--wine);color:var(--cream);box-shadow:0 5px 20px #42102326;padding-top:env(safe-area-inset-top,0px)}
.compact-header[hidden],.compact-header [hidden]{display:none!important}
body .compact-header nav.wrap{position:relative;display:block;width:min(1160px,calc(100% - 24px));min-height:48px;padding:0;margin:auto}
.compact-browse-row{display:flex;align-items:center;justify-content:space-between;gap:clamp(6px,2vw,24px);min-height:48px;overflow-x:auto;scrollbar-width:none}
.compact-browse-row::-webkit-scrollbar{display:none}
body .compact-header .compact-browse-row>a,body .compact-header .compact-browse-row>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:500 clamp(11px,2.9vw,14px)/1.4 'DM Sans',sans-serif;letter-spacing:normal;text-decoration:none;white-space:nowrap}
body .compact-header .compact-browse-row>.compact-resource-link{color:var(--gold);font-weight:700}
body .compact-header .compact-browse-row>.compact-member-login{font-weight:600}
.compact-browse-row>button{cursor:pointer}
.compact-browse-row>a:hover{text-decoration:underline;text-underline-offset:4px}
body .compact-header .compact-links{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:12px 16px 16px;background:var(--wine);border-top:1px solid #ffffff25;box-shadow:0 12px 20px #42102326;max-height:calc(100dvh - 70px - env(safe-area-inset-top,0px));overflow:auto}
.compact-links>a{display:flex;align-items:center;min-height:44px;padding:8px 0;color:inherit;font-size:14px;text-decoration:none}
.compact-links>a:hover{text-decoration:underline;text-underline-offset:4px}
