/* Visible search beside Interests; existing hash search, no new storage. */
body>nav .nav-links{flex:1 1 0;min-width:0;overflow-x:auto}
body>nav>a[href="#interests"]{flex-shrink:0;white-space:nowrap}
body>nav>.header-search{display:flex;align-items:center;gap:6px;flex:0 1 240px;min-width:180px;margin:0;background:transparent;border:0;border-bottom:1px solid #657870;border-radius:0}
.header-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body>nav>.header-search input{width:100%;min-width:0;min-height:44px;padding:8px 4px;background:transparent;color:#173c31;border:0;border-radius:0;font:inherit;font-size:15px;box-shadow:none}
body>nav>.header-search input::placeholder{color:#52665e;opacity:1}
body>nav>.header-search button{min-width:44px;min-height:44px;padding:8px 6px;background:transparent;color:#173c31;border:0;border-radius:0;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
body>nav>.header-search :focus-visible{outline:2px solid #a74719;outline-offset:2px}
@media(max-width:700px){body>nav{display:flex;flex-wrap:wrap;overflow:visible;gap:8px 12px}body>nav .nav-links{flex:1 0 100%;width:100%;order:0}body>nav>a[href="#interests"]{order:1}body>nav>.header-search{order:2;flex:1 1 180px;min-width:0;max-width:none}}

/* Compact search; retain an accessible label and mobile touch targets. */
html body>nav .header-search .header-search-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;grid-column:auto!important}
html body>nav>.header-search.header-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;flex:0 1 220px!important;width:220px!important;max-width:100%!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
html body>nav>.header-search.header-search input{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:6px 8px!important;font-size:14px!important;line-height:20px!important}
html body>nav>.header-search.header-search button{box-sizing:border-box!important;min-width:44px!important;min-height:36px!important;height:36px!important;padding:6px 10px!important;font-size:14px!important;line-height:20px!important}
@media(max-width:700px){html body>nav>.header-search.header-search{width:280px!important;max-width:100%!important;min-height:44px!important}html body>nav>.header-search.header-search input,html body>nav>.header-search.header-search button{height:44px!important;min-height:44px!important;font-size:14px!important;padding-top:8px!important;padding-bottom:8px!important}}
