.app-identity {
  min-width: 0;
}

.app-identity img {
  display: inline-block;
  width: 200px;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

header .app-identity img {
  width: 160px;
}

header .eyebrow.app-identity img {
  width: 130px;
}

header.app-header-split {
  --app-header-side-pad: clamp(8px, 2.5vw, 28px);
  --app-header-seam-pad: 0px;
  padding: 0;
  gap: 0;
  background: #fff;
  align-items: stretch;
}

header.app-header-split.app-header-no-gap {
  --app-header-seam-pad: 0px;
}

header.app-header-split > .brand {
  flex: 0 1 231.41px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 13px var(--app-header-seam-pad) 13px var(--app-header-side-pad);
  background: #fff;
}

header.app-header-split .app-header-logo-line {
  min-width: 0;
}

header.app-header-split .app-header-logo-line::before {
  content: "";
  display: inline-block;
  width: 160px;
  aspect-ratio: 906 / 334;
  vertical-align: middle;
}

header.app-header-split .app-identity img {
  position: absolute;
  display: block;
  top: 50%;
  left: var(--app-header-side-pad);
  transform: translateY(-50%);
  width: auto;
  height: auto;
  max-width: calc(100% - var(--app-header-side-pad) - var(--app-header-seam-pad));
  max-height: calc(100% - 10px);
  object-fit: contain;
}

header.app-header-split > .app-header-blue {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 13px var(--app-header-side-pad) 13px var(--app-header-seam-pad);
  background: #0b2a6f;
  border-radius: 0 0 0 22px;
}

header.app-header-split :is(#back-button, #settings-button, #logout-button, #home-button) {
  font-size: revert;
}

header.app-header-split :is(#back-button, #settings-button, #logout-button, #home-button)::before {
  content: "Déconnexion";
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  white-space: nowrap;
}

.app-identity-card {
  display: block;
  width: 300px;
  max-width: 100%;
  margin-left: auto;
  margin-bottom: 30px;
}

.app-identity-card img {
  display: block;
  width: 100%;
  height: auto;
}
