.dh-u2-system-switcher {
  background: var(--dh-color-surface-muted);
  border: 1px solid var(--dh-color-border);
  border-radius: var(--dh-radius-md);
  box-sizing: border-box;
  container-type: inline-size;
  min-width: 0;
  padding: var(--dh-space-3) var(--dh-space-4);
}

.dh-u2-system-switcher[aria-busy="true"] {
  opacity: .72;
}

.dh-u2-system-switcher__layout {
  align-items: center;
  display: grid;
  gap: var(--dh-space-3);
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
}

.dh-u2-system-switcher__identity {
  align-items: center;
  color: var(--dh-color-text);
  display: inline-flex;
  gap: var(--dh-space-2);
  min-width: 0;
  white-space: nowrap;
}

.dh-u2-system-switcher__icon {
  color: var(--dh-color-brand);
  font-size: 1.2rem;
}

.dh-u2-system-switcher__title {
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.25;
}

.dh-u2-system-switcher__controls {
  align-items: center;
  display: grid;
  gap: var(--dh-space-2);
  grid-template-columns: minmax(12rem, 24rem) auto auto;
  justify-content: end;
  justify-self: end;
  max-width: 100%;
  min-width: 0;
}

.dh-u2-system-switcher__select,
.dh-u2-system-switcher__select .joeform_labelbox,
.dh-u2-system-switcher__select .form_select_wrapper {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.dh-u2-system-switcher__select .joeform_label {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.dh-u2-system-switcher__select select {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.dh-u2-system-switcher__create {
  box-sizing: border-box;
  justify-content: center;
  min-width: 2.75rem;
  padding-left: var(--dh-space-3);
  padding-right: var(--dh-space-3);
}

.dh-u2-system-switcher__create .button__label {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.dh-u2-system-switcher__manage {
  white-space: nowrap;
}

.dh-u2-system-switcher__status {
  margin: var(--dh-space-2) 0 0;
  min-height: 0;
}

.dh-u2-system-switcher__status[hidden] {
  display: none;
}

.dh-u2-system-switcher__tenant-url-field {
  min-width: 0;
  position: relative;
}

.dh-u2-system-switcher__tenant-url-prefix {
  bottom: .6rem;
  color: var(--dh-color-text-muted);
  font-size: 1.125rem;
  line-height: 1.4;
  left: 1rem;
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  z-index: 1;
}

.dh-u2-system-switcher__tenant-url-field > .joeform_labelbox {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.dh-u2-system-switcher__tenant-url-field > .joeform_labelbox > input {
  min-width: 0;
  padding-left: 4.85rem !important;
  width: 100%;
}

@container (max-width: 42rem) {
  .dh-u2-system-switcher__layout {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
  }

  .dh-u2-system-switcher__controls {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-self: stretch;
  }

  .dh-u2-system-switcher__manage {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@container (max-width: 25rem) {
  .dh-u2-system-switcher__manage {
    justify-content: center;
    width: 100%;
  }
}
