/* Leave each portal's own artwork visible until its replacement has loaded. */
html.hp-brand-wallpaper body,
html.hp-brand-wallpaper #hb-business {
  background-image: var(--hp-portal-background);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
html.hp-brand-wallpaper .fx-grid,
html.hp-brand-wallpaper .fx-streak {
  display: none;
}
#hb-business .hb-head [data-partner-wordmark] { color: inherit; }
.hp-business-brand img[data-partner-logo] {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  max-width: min(28vw, 150px);
  height: 2em;
  object-fit: contain;
}
.hp-business-brand [hidden] { display: none !important; }
/* Preserve the complete uploaded mark in the portal's fixed-size logo boxes. */
img.hp-brand-image { object-fit: contain !important; }
/* The promotional screenshots retain their controls, captions and outer artwork. */
.hp-brand-demo { position: relative; }
.hp-demo-overlay { display: block; position: absolute; box-sizing: border-box; overflow: hidden; }
.hp-demo-overlay[hidden] { display: none !important; }
.hp-brand-demo .hp-demo-overlay img {
  display: block; width: 100%; height: 100%; margin: 0; padding: 2%;
  object-fit: contain; aspect-ratio: auto; border-radius: 0;
}
.hp-demo-dashboard .hp-demo-main {
  left: 3%; top: 1%; width: 24.5%; height: 14.5%;
  background: linear-gradient(108deg, #2a0308, #130509 75%, #18050a);
}
.hp-demo-dashboard .hp-demo-signature {
  left: 78.7%; top: 91.5%; width: 18.1%; height: 4.8%;
  background: #110406; border: 1px solid #57222c; border-radius: 12px;
}
.hp-demo-configuracoes .hp-demo-main {
  left: 4.5%; top: 0; width: 18.5%; height: 18.8%;
  background: linear-gradient(145deg, #170406, #070506 65%, #0d0507);
}
.hp-demo-carregamento .hp-demo-main {
  left: 23.6%; top: 5.7%; width: 52.5%; height: 65.9%; border-radius: 15%;
  background: radial-gradient(ellipse, #120405, #0a0304 78%, #0b0303);
}
