.app-header:has(.mesh74-home-link) .back-to-sources-btn {
  display: none !important;
}

@media (max-width: 640px) {
  .app-header:has(.mesh74-home-link) {
    box-sizing: border-box;
    height: auto;
    min-height: 94px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .app-header:has(.mesh74-home-link) .header-left,
  .app-header:has(.mesh74-home-link) .header-right {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    flex: none;
    overflow: visible;
    justify-content: space-between;
    gap: 8px;
  }

  .app-header:has(.mesh74-home-link) .header-left {
    min-height: 36px;
    justify-content: flex-start;
  }

  .app-header:has(.mesh74-home-link) .header-right {
    min-height: 36px;
  }

  .app-header:has(.mesh74-home-link) .mesh74-home-link {
    box-sizing: border-box;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 8px;
  }

  .app-header:has(.mesh74-home-link) .mesh74-home-link {
    color: #89b4fa;
    border: 1px solid #45475a;
    background: transparent;
  }

  .app-header:has(.mesh74-home-link) .mesh74-home-link:hover {
    background: #313244;
  }

  .app-header:has(.mesh74-home-link) .header-title {
    display: flex;
    margin-left: auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #a6adc8;
  }

  .app-header:has(.mesh74-home-link) .connection-status {
    gap: 5px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #313244;
    font-size: 12px;
  }

  .app-header:has(.mesh74-home-link) .status-indicator {
    width: 10px;
    height: 10px;
  }

  .app-header:has(.mesh74-home-link) .connection-status-label {
    width: auto;
    height: auto;
  }

  .app-header:has(.mesh74-home-link) .status-text {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
  }

  .app-header:has(.mesh74-home-link) .login-button {
    box-sizing: border-box;
    width: auto;
    min-height: 36px;
    padding: 7px 11px;
    margin: 0;
    border-radius: 8px;
    font-size: 13px;
  }

  .app:has(.mesh74-home-link) .app-main {
    padding-top: 94px;
  }
}
