/* Tenant branding is rendered from tenant-owned API data. No customer slug is hard-coded here. */
.df-topbar > .df-brand.df-tenant-brand {
  display: inline-flex;
  min-width: 0;
  max-width: 280px;
  height: 52px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.df-tenant-logo-custom {
  display: block;
  width: auto;
  max-width: 240px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}

.df-tenant-logo-default-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--df-secondary, #0b4f7c), var(--df-primary, #00aeef));
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.df-tenant-logo-default-copy {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

.df-tenant-logo-default-copy strong {
  overflow: hidden;
  color: #122433;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-tenant-logo-default-copy small {
  margin-top: 5px;
  overflow: hidden;
  color: #708092;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .df-topbar > .df-brand.df-tenant-brand {
    max-width: 190px;
    height: 44px;
  }

  .df-tenant-logo-custom {
    max-width: 180px;
    max-height: 36px;
  }

  .df-tenant-logo-default-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
    font-size: 17px;
  }

  .df-tenant-logo-default-copy strong { font-size: 15px; }
  .df-tenant-logo-default-copy small { font-size: 8px; }
}
