/* Session controls belong to the signed-in header, independent of discovery.
   The legacy <=700px rule hides every secondary identity button. Restore only
   the existing normal Sign out control; never alter auth/session behavior. */
@media (max-width:700px) {
  html.has-saved-session body:not(.public-entry) header #identity {
    flex:0 0 auto;
    min-width:0;
    max-width:100%;
    overflow:visible;
  }
  html.has-saved-session body:not(.public-entry) header #identity #out {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:44px!important;
    min-width:76px;
    flex:0 0 auto;
    white-space:nowrap;
  }
  html.has-saved-session body:not(.public-entry) header #identity #out:focus-visible {
    outline:3px solid #102641;
    outline-offset:2px;
  }
}
@media (max-width:420px) {
  /* Keep the action, not the decorative greeting, when width is tight. */
  html.has-saved-session body:not(.public-entry) header #identity #greeting {
    display:none;
  }
}
