body:has(dialog.editor-dialog[open]){overflow:hidden}dialog.editor-dialog{border-radius:var(--radius);background:var(--surface);width:min(520px,100% - 24px);max-height:calc(100dvh - 24px);color:var(--ink);box-shadow:var(--shadow-lift);border:0;margin:auto;padding:0;overflow:hidden}dialog.editor-dialog[open]{flex-direction:column;display:flex}dialog.editor-dialog::backdrop{background:#1d1b1a8c}.editor-dialog__head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 20px;display:flex}.editor-dialog__head h2{font:500 1.125rem/1.3 var(--sans);letter-spacing:0;margin:0}.editor-dialog__close{width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.editor-dialog__close:hover{background:var(--tint)}.editor-dialog__close:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.editor-dialog__body{flex:auto;min-height:0;padding:16px 20px 20px;font-size:.875rem;line-height:1.65;overflow-y:auto}
