/* Fixed dimensions prevent layout shifts during the save confirmation. */
html:not([data-desktop="offline"]) body #app .workspace #save{position:relative;overflow:hidden;width:106px;min-width:106px;max-width:106px;height:42px;min-height:42px;flex-shrink:0;padding:10px 12px;transition:background-size .45s ease,color .25s ease,border-color .25s ease;background-image:linear-gradient(#eb5e15,#eb5e15)!important;background-repeat:no-repeat!important;background-position:left center!important;background-size:0% 100%!important}
html:not([data-desktop="offline"]) body #app .workspace #save:hover:not(:disabled),html:not([data-desktop="offline"]) body #app .workspace #save:focus-visible{background-size:100% 100%!important;color:#fff!important;border-color:#eb5e15!important;transform:none}
html:not([data-desktop="offline"]) body #app .workspace #save.save-confirmation{background-size:100% 100%!important;background-color:#eb5e15!important;border-color:#eb5e15!important;color:transparent!important;font-size:0!important}
html:not([data-desktop="offline"]) body #app .workspace #save.save-confirmation:after{content:"";position:absolute;inset:0;margin:auto;width:26px;height:26px;background:#fff;mask:url('save-confirmed.png') center/contain no-repeat;-webkit-mask:url('save-confirmed.png') center/contain no-repeat}
@media(prefers-reduced-motion:reduce){html:not([data-desktop="offline"]) body #app .workspace #save{transition:none}}

/* Confirmation inside the existing PDF button, without changing its box. */
html body :is(#pdf-quote,#export-quote,#barcodes-quote).download-confirmed{position:relative;background:#eb5e15!important;border-color:#eb5e15!important}
html body :is(#pdf-quote,#export-quote,#barcodes-quote).download-confirmed img{opacity:0}
html body :is(#pdf-quote,#export-quote,#barcodes-quote).download-confirmed:after{content:"";position:absolute;inset:0;margin:auto;width:22px;height:22px;background:#fff;mask:url('save-confirmed.png') center/contain no-repeat;-webkit-mask:url('save-confirmed.png') center/contain no-repeat}
.quote-export-feedback img.export-thumb{width:20px;height:20px;object-fit:contain}
