@font-face{font-family:GalleryEditorSans;src:url('/review-ui/editor-font.otf')}
.mg-dialog,.mg-public-note,.mg-edit-button,.mg-toast{font-family:GalleryEditorSans,sans-serif}
.mg-dialog{color:#e7edf5;background:#101923;border:1px solid #53687f;border-radius:12px;width:min(1200px,96vw);max-width:96vw;max-height:94vh;max-height:94dvh;box-sizing:border-box;padding:16px;overflow:auto}
.mg-dialog::backdrop{background:#000b}.mg-dialog button,.mg-edit-button,.mg-dialog input,.mg-dialog textarea{font:inherit;color:inherit;background:#1b2a3d;border:1px solid #546a87;border-radius:6px;padding:7px 10px;box-sizing:border-box}
.mg-dialog button,.mg-edit-button{cursor:pointer;min-height:36px}.mg-dialog button:disabled{opacity:.45;cursor:default}.mg-dialog .mg-primary{background:#1a614d}
.mg-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:sticky;top:-10px;z-index:2;background:#101923;padding:4px 0}.mg-heading h2{margin:0}.mg-heading small{font-size:14px;font-weight:400;display:block;margin-top:4px}
.mg-dialog p{font-size:14px;margin:7px 0;overflow-wrap:anywhere}.mg-warning{color:#f4cb84}.mg-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0}.mg-toolbar a{font-size:14px;color:#77ceff}
.mg-viewport{height:52vh;min-height:230px;max-height:560px;border:1px solid #425269;background:#0b121c;border-radius:6px;overflow:hidden}.mg-viewport canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-3px}
.mg-form-row{display:flex;gap:12px;flex-wrap:wrap}.mg-form-row label{display:flex;flex-direction:column;gap:4px;font-size:14px}.mg-form-row input{width:180px;max-width:100%}.mg-note-label{flex:1;min-width:220px}.mg-note-label textarea{resize:vertical;width:100%}
#mgTarget{color:#9ed5ee}#mgState{font-size:13px}#mgHistory{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}#mgHistory button{font-size:13px}#mgPan[aria-pressed=true]{background:#315a77}.mg-login{width:420px}.mg-login label{display:flex;flex-direction:column;gap:6px}.mg-login input{width:100%}.mg-login h2{margin-top:0}
.mg-toast{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:2147483647;color:#fff;background:#28405a;border:1px solid #7c96b5;border-radius:8px;padding:10px 14px;max-width:90vw;box-sizing:border-box;overflow-wrap:anywhere}.mg-public-note{padding:12px;border:1px solid #425269;border-radius:8px}.mg-edit-button{margin:6px 0;background:#245444;color:#fff}.mg-dialog .mg-help{color:#adc0d4;font-size:12px}
[hidden]{display:none!important}.mg-dialog a[aria-disabled=true]{pointer-events:none;opacity:.4}
.mg-linked-target{outline:3px solid #55ceff;outline-offset:3px}
@media(max-width:600px){.mg-dialog{padding:10px;width:98vw;max-width:98vw;max-height:96vh;max-height:96dvh}.mg-heading{gap:6px}.mg-heading h2{font-size:18px}.mg-heading small{font-size:12px}.mg-dialog button{font-size:13px;padding:6px 8px;min-height:36px}.mg-heading #mgClose{flex-shrink:0;max-width:100px}.mg-viewport{height:43vh;min-height:225px}.mg-note-label{min-width:150px}.mg-form-row input{width:130px}.mg-toolbar{gap:5px}.mg-dialog p{font-size:12px}.mg-login{width:94vw}}
