/* Use one responsive viewing frame; small originals may upscale without cropping. */
.quote-market-image-overlay{box-sizing:border-box}
.quote-market-image-dialog{box-sizing:border-box;width:min(1000px,100%);min-width:0;max-width:100%;height:min(800px,calc(100vh - 48px));height:min(800px,calc(100dvh - 48px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}
.quote-market-image-dialog header{box-sizing:border-box;flex:0 0 40px;min-height:40px;max-height:40px}
.quote-market-image-dialog header strong{min-width:0;max-height:40px;overflow:auto;overflow-wrap:anywhere;line-height:20px}
.quote-market-image-dialog header button{flex-shrink:0;white-space:nowrap}
.quote-market-image-dialog>img{box-sizing:border-box;display:block;width:100%!important;max-width:100%;height:0!important;min-height:0;max-height:none!important;flex:1 1 0px!important;align-self:stretch;object-fit:contain;object-position:center}
@media(max-width:900px){.quote-market-image-dialog{height:min(800px,calc(100vh - 24px));height:min(800px,calc(100dvh - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}}
