.amevel-editor-open{overflow:hidden}
.amevel-editor-dialog{position:fixed;inset:0;width:calc(100vw - 48px);max-width:1600px;height:calc(100dvh - 48px);max-height:none;padding:0;border:1px solid #d8dfdf;border-radius:12px;color:#071b32;background:#fff;overflow:hidden;font-family:inherit}
.amevel-editor-dialog::backdrop{background:rgb(4 21 41 / 65%)}
.amevel-editor-dialog[open]{display:flex;flex-direction:column}
.amevel-editor-dialog__bar{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:4px 12px;border-bottom:1px solid #d8dfdf;flex:none}
.amevel-editor-dialog__bar h2{margin:0 auto 0 0;font-size:20px;font-weight:500;line-height:1.3;color:inherit}
.amevel-editor-dialog__bar a{color:#12846f;text-underline-offset:4px}
.amevel-editor-dialog__bar [hidden]{display:none}
.amevel-editor-dialog__close{min-height:44px;padding:8px 16px;color:#071b32;background:white;border:1px solid #859797;border-radius:6px;font:inherit;cursor:pointer}
.amevel-editor-dialog :focus-visible{outline:3px solid #12846f;outline-offset:3px}
.amevel-editor-dialog__status{margin:0;padding:10px 20px;background:#f4f2ec;font-size:14px;line-height:1.5;flex:none}
.amevel-editor-dialog iframe{display:block;border:0;width:100%;min-height:0;flex:1;background:#f5f7f8}
.amevel-editor-dialog iframe[hidden]{display:none}
@media(max-width:767px){.amevel-editor-dialog{width:100vw;height:100dvh;border:0;border-radius:0;margin:0}.amevel-editor-dialog__bar{padding:10px 12px;gap:10px;flex-wrap:wrap}.amevel-editor-dialog__bar h2{font-size:17px;flex:1}.amevel-editor-dialog__bar a{order:3;width:100%;padding:6px 0}.amevel-editor-dialog__close{padding:8px 10px;font-size:14px}.amevel-editor-dialog__status{padding:8px 12px;font-size:13px}}

.amevel-editor-dialog__bar[hidden]{display:none}
