/* Shared placement for the original Paidion identity artwork. */
.paidion-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.side .brand.paidion-brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 20px;
  padding: 14px 10px 11px;
  border: 1px solid #e5eaef;
  border-radius: 10px;
  background: #fff;
  color: #19334b;
  text-decoration: none;
}

.paidion-brand .brand-caption {
  padding-top: 8px;
  border-top: 1px solid #edf1f5;
  color: #617184;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-align: center;
}

.paidion-brand:focus-visible,
.header-brand:focus-visible {
  outline: 3px solid #00a5df;
  outline-offset: 4px;
}

.box .brand.paidion-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  padding: 2px 0 22px;
  border-bottom: 1px solid #e5eaef;
}

.paidion-auth-brand .paidion-logo {
  max-width: 340px;
}

.paidion-auth-brand .brand-caption {
  color: #617184;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
}

.page-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.header-brand {
  display: none;
  flex: 0 0 auto;
  width: 180px;
  background: #fff;
}

@media (max-width: 900px) {
  .brand-breakpoint-900 .side .brand.paidion-brand { display: none; }
  .brand-breakpoint-900 .header-brand { display: block; }
  .topbar {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 850px) {
  .brand-breakpoint-850 .side .brand.paidion-brand { display: none; }
  .brand-breakpoint-850 .header-brand { display: block; }
}

@media (max-width: 620px) {
  .topbar .page-identity {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .topbar .header-brand {
    width: 188px;
    max-width: 64%;
  }
  .topbar .crumb {
    font-size: 10px;
    text-align: right;
  }
  .topbar .user {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
