.app > header.brand {
  position: relative;
  padding-top: 56px;
}

.app > header.brand > .kc-install-header {
  position: absolute;
  inset-inline-start: 4px;
  top: 2px;
  margin: 0;
  z-index: 3;
}

.top-actions > .kc-install-header {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  z-index: 3;
}

.kc-install-header .orb,
.kc-install-header .orb:hover {
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 5px 8px;
  border-radius: 22px;
  border: 1px solid #436d2d;
  background: #28461c;
  box-shadow: 0 3px 10px #28461c30;
}

.kc-install-header .orb:focus-visible {
  outline: 2px solid #28461c;
  outline-offset: 3px;
}

.kc-install-header .label {
  flex-direction: row;
  gap: 5px;
  padding: 3px 5px;
  border-radius: 16px;
  background: #28461c;
  color: #fff;
  text-shadow: none;
}

.kc-install-header .label b {
  padding: 0;
  background: none;
  font: 700 0.875rem/1.5 Vazirmatn, Tahoma, Arial, sans-serif;
  white-space: nowrap;
}

.kc-install-header .label svg {
  flex: none;
  width: 15px;
  height: 15px;
}

.kc-install-header .medical-orbit .med {
  width: 10px;
  height: 10px;
}

.kc-install-header #kc-install-status:not(:empty) {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: min(240px, 76vw);
  background: #fff;
  border: 1px solid #d9e2ea;
  border-radius: 9px;
  padding: 4px 7px;
  box-shadow: 0 5px 14px #163b5918;
  max-width: none;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  z-index: 6;
}

.kc-install-header #kc-install-cancel:not([hidden]) {
  position: absolute;
  top: calc(100% + 54px);
  right: 0;
  font-size: 12px;
  padding: 4px 8px;
  margin: 0;
}

@media (max-width: 440px) {
  body:has(#login.hidden) .admin-top:has(.kc-install-header:not([hidden])) {
    flex-wrap: wrap;
  }

  body:has(#login.hidden) .admin-top:has(.kc-install-header:not([hidden])) .top-actions {
    flex: 0 1 100%;
    flex-wrap: wrap;
  }
}
