
.has-editor-dialog,.has-editor-dialog body{overflow:hidden;overscroll-behavior:none}
.editor-popup{box-sizing:border-box;padding:0;border:0;border-radius:20px;max-width:none;max-height:none;width:min(1500px,calc(100vw - 40px));height:calc(100vh - 40px);height:calc(100dvh - 40px);margin:auto;background:#fff;color:#0750bc;box-shadow:0 20px 90px #00245a55;overflow:hidden}
.editor-popup[open]{display:flex;flex-direction:column}
.editor-popup::backdrop{background:rgba(0,25,65,.6)}
.editor-popup-bar{box-sizing:border-box;display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#0750bc;color:#fff}
.editor-popup-bar h2{margin:0;padding:0;font:700 16px/1.5 'Zen Kaku Gothic New',sans-serif;letter-spacing:0;text-align:left}
.editor-popup-close{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:44px;padding:6px 16px;border:2px solid #fff;border-radius:999px;background:#fff;color:#0750bc;font:700 15px/1.4 'Zen Kaku Gothic New',sans-serif;cursor:pointer;white-space:nowrap}
.editor-popup-close span{font-size:25px;line-height:1}
.editor-popup-close:focus-visible{outline:3px solid #ffed00;outline-offset:3px}
.editor-popup iframe{display:block;flex:1 1 auto;min-height:0;width:100%;border:0;background:#fff}
@media(max-width:700px){
 .editor-popup{width:100%;height:100%;height:100dvh;border-radius:0;margin:0;padding-bottom:env(safe-area-inset-bottom,0px)}
 .editor-popup-bar{padding:calc(8px + env(safe-area-inset-top,0px)) 12px 8px;gap:8px}
 .editor-popup-bar h2{font-size:13px;line-height:1.5}
 .editor-popup-close{min-height:44px;padding:4px 12px;font-size:13px}
}
