/* Supplied Genie artwork complements the existing title; workflow controls keep their layout. */
.brand:has(.brand-logo) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  column-gap: 14px;
  align-content: center;
}
.brand > .brand-logo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.brand > .eyebrow { grid-column: 1; align-self: end; }
.brand > h1 { grid-column: 1; align-self: start; }
.brand > .subtitle, .brand > .database-selector { grid-column: 1 / -1; }
.account-brand > .brand-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .brand:has(.brand-logo) { grid-template-columns: minmax(0, 1fr) 68px; column-gap: 10px; }
  .brand > .brand-logo { width: 68px; height: 68px; }
  .brand > h1 { font-size: clamp(22px, 6vw, 26px); line-height: 1.2; }
}
@media (max-width: 900px) {
  .account-brand:has(.brand-logo) { padding: 24px; }
}
@media (max-width: 680px) {
  .account-brand:has(.brand-logo) { position: relative; }
  .account-brand > .brand-logo { position: absolute; right: 24px; top: 24px; width: 68px; height: 68px; margin: 0; }
  .account-brand > .eyebrow, .account-brand > h1 { padding-right: 82px; }
}

/* Keep the desktop title and artwork together; phone placement stays unchanged. */
@media (min-width: 761px) {
  .brand:has(.brand-logo) {
    grid-template-columns: minmax(0, max-content) 88px minmax(0, 1fr);
    column-gap: 10px;
  }
  .brand > .brand-logo { justify-self: start; }
}
