/* Session exit is independent of the signup artwork and light-flow presentation. */
.auth-page .auth-exit {
  grid-column: 3;
  justify-self: end;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-button, 8px);
  background: transparent;
  color: var(--text);
  font: 500 12px/1.4 var(--font-ui);
  cursor: pointer;
}
.auth-page .auth-exit:hover:not(:disabled) { background: var(--surface-hover); }
.auth-page .auth-exit:focus-visible { outline: 3px solid var(--focus, var(--text)); outline-offset: 3px; }
.auth-page .auth-exit:disabled { cursor: wait; background: var(--surface-2); color: var(--text-2); }
/* A fixed pixel offset cannot hide an enlarged skip link reliably. */
html:has(.auth-page .auth-exit) .skip-link { top: 0; max-width: calc(100vw - 32px); transform: translateY(calc(-100% - 8px)); }
html:has(.auth-page .auth-exit) .skip-link:focus { top: 12px; transform: none; }
@media (min-width: 541px) and (max-width: 999px) {
  .auth-page .public-masthead:has(.auth-exit) { grid-template-columns: max-content minmax(0, 1fr) max-content; }
}
@media (max-width: 540px) {
  .auth-page .public-masthead:has(.auth-exit) { display: flex; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; }
  .auth-page .public-masthead:has(.auth-exit) .wordmark { flex: none; max-width: 100%; white-space: normal; }
  .auth-page .public-masthead:has(.auth-exit) .masthead-note { order: 3; flex: 1 0 100%; }
  .auth-page .auth-exit { margin-left: auto; max-width: 130px; padding: 6px 10px; }
}
