.sidebar .sidebar-logout-button {
  position: relative;
  margin-top: 7px;
  border-top: 1px solid rgba(44, 92, 158, .10);
  border-radius: 12px;
  font-weight: 800;
}

.sidebar .sidebar-logout-button::before {
  content: "↪";
  display: inline-grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  color: currentColor;
  font-size: 17px;
  line-height: 1;
}

.topbar {
  min-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.top-actions .logout-button,
.top-actions [data-logout] {
  display: none !important;
}

@media (max-width: 760px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 6px;
    min-height: 50px;
    padding: 6px 9px;
  }

  .topbar-leading {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
  }

  .topbar-leading > div {
    min-width: 0;
  }

  .topbar h1 {
    margin: 0;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar p,
  .top-actions .user-label,
  .top-actions .avatar {
    display: none !important;
  }

  .top-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
    margin: 0;
  }

  .top-actions > .print-sta-language-host,
  .topbar > .print-sta-language-host {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    margin: 0 !important;
  }

  .menu-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
  }

  .sidebar .sidebar-logout-button {
    min-height: 42px;
    margin-top: 6px;
  }
}

@media (max-width: 430px) {
  .topbar {
    min-height: 48px;
    padding: 5px 7px;
    gap: 5px;
  }

  .topbar-leading {
    gap: 5px;
  }

  .topbar h1 {
    font-size: 15px;
  }

  .menu-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .topbar .print-sta-language-host {
    transform: scale(.94);
    transform-origin: right center;
  }
}
