/* Explicit sizes reserve space while the supplied artwork loads. */
.rb-panel-brand{display:inline-flex;align-items:center;justify-content:center;max-width:100%;line-height:1}
.rb-panel-brand img{display:block;object-fit:contain;height:auto;background:transparent}
.rb-panel-brand .rb-panel-brand-wide{width:174px;max-width:100%}
.rb-panel-brand .rb-panel-brand-stacked{display:none}
.fi-simple-header .rb-panel-brand{display:flex;margin-inline:auto}
.fi-simple-header .rb-panel-brand .rb-panel-brand-wide{display:none}
.fi-simple-header .rb-panel-brand .rb-panel-brand-stacked{display:block;width:220px;max-width:100%}

/* The customer layout is shared by dashboard, projects, quotes and invoices. */
.rb-portal-logo{display:block;width:174px;max-width:100%;height:auto;background:transparent}
.cp-brand>span{min-width:0}
.cp-brand small{margin-top:8px}
.fi-simple-header .rb-panel-brand-stacked{filter:brightness(.4) saturate(2)}
@media(max-width:760px){.cp-sidebar .rb-portal-logo{width:150px}.cp-sidebar .cp-brand{max-width:calc(100% - 85px)}}
