.scocarte-brand-mark {
  position:relative;
  display:block;
  flex:none;
  box-sizing:content-box;
  width:158px;
  max-width:100%;
  aspect-ratio:2021 / 373;
}
.scocarte-brand-mark img,
.scocarte-brand-mark canvas {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
}
.scocarte-brand-mark img {
  object-fit:contain;
}
.scocarte-brand-mark canvas {pointer-events:none}
.scocarte-brand-mark:is(.is-waiting,.is-assembling) img {visibility:hidden}
.scocarte-brand-mark.is-waiting::before {
  content:"";
  position:absolute;
  inset:0;
  background:url('/scocarte-monogram.png') left 42% / 29.6% auto no-repeat;
}
.sidebar-brand .is-waiting::before,.portal-header .is-waiting::before {inset:5px 8px}
.login-wordmark .scocarte-brand-mark {width:212px}
.sidebar-brand .scocarte-brand-mark,
.portal-header .scocarte-brand-mark {
  padding:5px 8px;
  border-radius:8px;
  background:#fffdf8;
}
.sidebar-brand .scocarte-brand-mark :is(canvas,img),
.portal-header .scocarte-brand-mark :is(canvas,img) {
  inset:5px 8px;
  width:calc(100% - 16px);
  height:calc(100% - 10px);
}
[data-navigation-layout="top"] .sidebar-brand .scocarte-brand-mark {width:130px}
.portal-header .scocarte-brand-mark {width:140px}
@media(max-width:640px){
  .sidebar-brand .scocarte-brand-mark {width:124px}
  .login-wordmark .scocarte-brand-mark {width:170px}
}
