.app-titlebar {
  display: none;
}

.iridex-app-chrome .app-titlebar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 158px 0 20px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)), #08080a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 34px -26px #000;
  -webkit-app-region: drag;
  user-select: none;
}

.iridex-app-chrome .app-titlebar > *:not(.app-titlebar-name) {
  -webkit-app-region: no-drag;
}

.iridex-app-chrome .app-titlebar #navUser {
  margin-left: auto;
}

.iridex-app-chrome .app-titlebar-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f4f4f5;
  pointer-events: none;
}

.iridex-app-chrome body {
  padding-top: 56px;
}

.iridex-app-chrome .site-header {
  top: 56px;
}

.iridex-app-chrome .site-header,
.iridex-app-chrome .site-header * {
  user-select: none;
}

.iridex-app-chrome .app-titlebar > .brand-menu,
.iridex-app-chrome .app-titlebar > .nav-brand {
  order: 0;
}

.iridex-app-chrome .app-titlebar > .app-switch {
  order: 1;
}

.iridex-app-chrome .app-titlebar > #themeToggle {
  order: 2;
}

.iridex-app-chrome .app-titlebar > #navUser {
  order: 3;
}

.app-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.app-switch a {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a9aa4;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.app-switch a:hover {
  color: #f4f4f5;
}

.app-switch a.is-active {
  background: #f4f4f5;
  color: #08080a;
}

.iridex-app-chrome .site-header.ed-nav .nav-links,
.iridex-app-chrome .site-header.ed-nav .nav-toggle,
.iridex-app-chrome .site-header.ed-nav .ed-login,
.iridex-app-chrome .site-header.ed-nav .ed-dash,
.iridex-app-chrome .mk-foot,
.iridex-app-chrome .page-loader-overlay {
  display: none !important;
}

.iridex-app-chrome.studio-app {
  overflow: hidden;
}

.iridex-app-chrome.studio-app .site-header.ed-nav {
  display: none !important;
}

.iridex-app-chrome.studio-app .mk-foot {
  display: none !important;
}

@media (max-width: 640px) {
  .app-switch a {
    padding: 5px 10px;
  }
}