.header-tools .member-header-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}
.member-header-link:hover { text-decoration: underline; text-underline-offset: .24em; }
.member-header-link .member-link-compact { display: none; }
#all-menu .member-rail-actions { display: flex; gap: 8px; margin-bottom: 10px; }
#all-menu .member-rail-actions a {
  flex: 1;
  padding: 10px 5px;
  text-align: center;
  font-size: 13px;
  color: #173de5;
  border: 1px solid #dfe5ee;
  border-radius: 4px;
  background: #f5f7fc;
}
#all-menu .member-rail-actions a:hover { background: #edf2fb; }
.footer-member-policy { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.footer-member-policy a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 700px) {
  .header-tools .member-header-link { min-height: 38px; font-size: 12px; padding-inline: 3px; }
  .member-header-link .member-link-full { display: none; }
  .member-header-link .member-link-compact { display: inline; }
}
@media (max-width: 374px) {
  header:has(.member-header-link) { gap: 8px; }
  header:has(.member-header-link) .header-wordmark { width: 116px; }
  header:has(.member-header-link) .header-tools { gap: 4px; }
}
