/* Rabtafy v5.99 tenant brand rendering */
.tenant-brand-logo{
  object-fit:contain!important;
  object-position:center!important;
  border-radius:12px!important;
}
.tenant-brand-logo--topbar{
  width:auto!important;
  min-width:38px!important;
  height:38px!important;
  max-width:132px!important;
  max-height:38px!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:var(--panel-soft,#f8fafc);
  border:1px solid var(--line,#e6eaf0);
  padding:2px;
}

/* Public Website + Menu/Catalog logo-ratio hardening. Theme-defined logo
   dimensions remain authoritative; Rabtafy only controls image fitting/radius. */
.brand-logo .tenant-brand-logo,
.header-logo .tenant-brand-logo,
.logo-circle .tenant-brand-logo,
.identity-logo .tenant-brand-logo,
.logo .tenant-brand-logo{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Compact public headers (for example Menu/Catalog item detail) do not
   provide a fixed logo container. Keep the business mark deliberately
   compact so wide/tall source logos cannot expand over customer content. */
.brand-mini .tenant-brand-logo{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  flex:0 0 42px!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px!important;
}
