.aia-wrap{position:relative;display:inline-block;max-width:100%;line-height:0;vertical-align:top}
.aia-wrap>img{display:block;max-width:100%;height:auto}
.aia-overlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}
.aia-overlay g{pointer-events:auto}
.aia-editor .aia-bar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px;align-items:center}
.aia-editor .aia-btn{display:inline-flex;align-items:center;gap:6px}
.aia-editor .aia-btn svg{flex:none}
.aia-editor .aia-group{display:inline-flex;flex-wrap:wrap}
.aia-editor .aia-group .aia-btn{border-radius:0;margin:0 0 0 -1px}
.aia-editor .aia-group .aia-btn:first-child{border-radius:3px 0 0 3px;margin-left:0}
.aia-editor .aia-group .aia-btn:last-child{border-radius:0 3px 3px 0}
.aia-editor .aia-group .aia-btn:focus{position:relative;z-index:1}
.aia-editor .aia-group .active,.aia-editor .aia-group .active:hover,.aia-editor .aia-group .active:focus{background:#2271b1;color:#fff;border-color:#2271b1;position:relative;z-index:2}
.aia-editor .aia-color{display:inline-flex;width:32px;height:32px;border:1px solid #8c8f94;border-radius:50%;overflow:hidden;cursor:pointer;box-sizing:border-box}
.aia-editor .aia-color input{width:48px;height:48px;margin:-8px;padding:0;border:0;cursor:pointer;background:none}
.aia-editor .aia-spacer{flex:1}
.aia-editor .aia-bar{position:relative}
.aia-editor .aia-status{position:absolute;right:0;top:100%;z-index:3;margin-top:4px;padding:2px 8px;border-radius:3px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);color:#646970;line-height:1.6}
.aia-editor .aia-status.aia-ok{color:#008a20}
.aia-editor .aia-status.aia-err{color:#d63638}
.aia-editor .aia-delete:not(:disabled){color:#b32d2e;border-color:#b32d2e}
.aia-editor .aia-stage{position:relative;display:inline-block;max-width:100%;line-height:0;user-select:none}
.aia-editor .aia-stage img{max-width:100%;height:auto;display:block}
.aia-editor .aia-stage svg{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair}
.aia-editor .aia-stage svg.aia-select{cursor:default}
.aia-editor .aia-stage svg.aia-select g[data-id]{cursor:move}
.aia-editor{container-type:inline-size}
.aia-editor .aia-status:empty{display:none}
@container (max-width:1040px){.aia-editor .aia-group .aia-btn span{display:none}.aia-editor .aia-group .aia-btn{padding:0 9px}}
.aia-dialog{width:min(1200px,94vw);max-height:92vh;padding:0;border:0;border-radius:4px;box-shadow:0 5px 25px rgba(0,0,0,.35);overflow:auto}
.aia-dialog::backdrop{background:rgba(0,0,0,.6)}
.aia-dialog-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:0 8px 0 16px;background:#fff;border-bottom:1px solid #dcdcde}
.aia-dialog-head h2{margin:0;font-size:1.3em;line-height:50px}
.aia-dialog-close{width:40px;height:40px;border:0;background:none;cursor:pointer;color:#646970}
.aia-dialog-close:hover{color:#135e96}
.aia-dialog-close .dashicons{font-size:24px;width:24px;height:24px}
.aia-dialog .aia-editor{padding:16px;outline:0}
.aia-err{color:#d63638}
.aia-editor .aia-icon-only{padding:0 7px}
.aia-editor .aia-icon-only span{display:none}
.aia-editor:focus{outline:0}
