.ash-bitrix-dialog{box-sizing:border-box;border:0;border-radius:8px;padding:0;width:min(980px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;box-shadow:0 12px 50px #0005;color:#26332e;background:#fff;overflow:hidden}
.ash-bitrix-dialog[open]{display:flex;flex-direction:column}
.ash-bitrix-dialog::backdrop{background:rgba(0,0,0,.55)}
.ash-bitrix-header{display:flex;flex:none;justify-content:space-between;align-items:center;padding:12px 20px;border-bottom:1px solid #ddd}
.ash-bitrix-header button{border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:inherit}
.ash-bitrix-dialog iframe{display:block;width:100%;height:calc(100vh - 92px);height:calc(100dvh - 92px);min-height:0;flex:0 1 auto;border:0;background:#fff}
.ash-bitrix-dialog .ash-bitrix-fallback{display:none!important}
@media(max-width:600px){.ash-bitrix-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.ash-bitrix-header{padding:10px 12px}}
