.vs-app-switcher {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  z-index: 40;
  font-family: inherit;
}

.vs-app-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.28rem 0.7rem 0.28rem 0.65rem;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 7%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.vs-app-switcher__btn:hover,
.vs-app-switcher.is-open .vs-app-switcher__btn {
  border-color: color-mix(in srgb, currentColor 40%, transparent);
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.vs-app-switcher__kicker {
  opacity: 0.62;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.vs-app-switcher__current {
  font-weight: 750;
}

.vs-app-switcher__chev {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}

.vs-app-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 13.5rem;
  padding: 0.35rem;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 12px;
  background: var(--surface, var(--bg, #121a27));
  color: var(--text, inherit);
  box-shadow: 0 16px 40px rgba(2, 8, 23, 0.28);
}

.vs-app-switcher__item {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.vs-app-switcher__item:hover,
.vs-app-switcher__item.is-current {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.vs-app-switcher__item-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.vs-app-switcher__item-name {
  font-size: 0.72rem;
  opacity: 0.65;
}

html[data-theme='light'] .vs-app-switcher__menu,
html.vb-theme-light .vs-app-switcher__menu,
html.vdr-chrome-light .vs-app-switcher__menu {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.login-brand-cluster .vs-app-switcher,
.brand-cluster .vs-app-switcher,
.shell-brand-cluster .vs-app-switcher,
.shell-apps-slot .vs-app-switcher,
.staff-bar .vs-app-switcher,
.desk-header .vs-app-switcher,
.topbar .vs-app-switcher,
.header__nav .vs-app-switcher,
.header__tools .vs-app-switcher {
  margin-inline: 0.15rem;
}

@media (max-width: 720px) {
  .vs-app-switcher__current {
    display: none;
  }

  .vs-app-switcher__kicker {
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
    font-size: 0.78rem;
    font-weight: 750;
  }

  .vs-app-switcher__btn {
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }

  .vs-app-switcher__menu {
    left: auto;
    right: 0;
    z-index: 80;
  }
}
