/* Studio extras the CMS shell does not include: nav counts and account menu. */

#admin-sidebar .nav-badge {
  margin-inline-start: auto;
  padding: 0 var(--s-1);
  border-radius: var(--r-inset);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--size-caption);
  font-weight: var(--weight-medium);
  font-variant-numeric: tabular-nums;
  line-height: var(--lh-caption);
}

#admin-sidebar .ops-sidebar-version,
#admin-sidebar .sidebar-program-label {
  margin: 0;
  color: var(--text-3);
  font-size: var(--size-caption);
  line-height: var(--lh-caption);
}

.studio-menu {
  position: absolute;
  inset-block-start: calc(100% + var(--s-2));
  inset-inline-end: 0;
  z-index: var(--z-popover);
  min-width: 14rem;
}

.topbar-user-menu,
.theme-switcher-dropdown { position: relative; }

.studio-menu .menu-label {
  margin: 0;
  padding: var(--s-2) var(--s-3) var(--s-1);
  color: var(--text-3);
  font-size: var(--size-caption);
}

.studio-menu .segmented { width: calc(100% - var(--s-2)); margin: var(--s-1); }

#admin-topbar .page-header-title {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: var(--size-page-title);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-page-title);
  letter-spacing: var(--tracking-title);
}

#admin-topbar .page-header-title.is-replaced { display: none; }
