/* Account actions belong below the profile, not in its narrow third grid cell. */
#sidebar {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
}
#sidebar > .brand,
#sidebar > .company-switch {
  flex-shrink: 0;
}
#sidebar > .nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  align-content: start;
}
#sidebar > .sidebar-footer {
  grid-template-columns: 38px minmax(0, 1fr);
  flex-shrink: 0;
}
#sidebar .user-details {
  min-width: 0;
}
#sidebar .user-details strong,
#sidebar .user-details small {
  white-space: normal;
  overflow-wrap: anywhere;
}
#sidebar .sidebar-account-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
#sidebar .sidebar-account-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: inherit;
}
#sidebar .sidebar-password {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
#sidebar .sidebar-account-actions .sign-out {
  flex: 0 0 44px;
}
#sidebar .sidebar-account-actions a:hover {
  background: rgba(255, 255, 255, .16);
}
#sidebar .sidebar-account-actions a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
