/* Member controls stay in normal flow below the site header. */
#hub > .member-navigation { position: static; top: auto; z-index: auto; }
.hub-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.hub-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hub-top-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.hub-top .demo-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #b8d9cf; border-radius: 20px; background: #e9f5ef; color: #245849; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.hub-top .demo-pill::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #32755f; }
.hub-top .member-sign-out { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 2px solid #006579; border-radius: 8px; background: #006579; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.hub-top .member-sign-out:hover { background: #004b5c; border-color: #004b5c; color: #fff; }
.hub-top .member-sign-out:focus-visible { outline: 3px solid #c57500; outline-offset: 4px; }
.hub-top-controls .textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.community-entry-note { max-width: 60ch; }
@media (max-width: 700px) {
  .hub-top { align-items: flex-start; gap: 14px; }
  .hub-top-controls { width: 100%; justify-content: flex-start; margin-left: 0; gap: 8px 14px; }
  .hub-top .member-sign-out { margin-left: auto; padding: 10px 16px; }
  .hub-top .demo-pill { font-size: 11px; }
  #hub > .workspace { padding-top: 20px; }
}
