.app-editor-dialog{border:1px solid var(--app-line);background:var(--app-surface);width:min(560px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--app-text);box-shadow:var(--app-shadow-lg);border-radius:12px;margin:auto;padding:0;scroll-padding-block:100px;overflow:auto}.app-editor-dialog::backdrop{background:#05140f6b}.app-editor-dialog--panel{border-radius:12px 0 0 12px;width:min(560px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto}.app-editor-dialog__head{z-index:2;background:var(--app-surface);border-bottom:1px solid var(--app-line);justify-content:space-between;align-items:flex-start;gap:16px;padding:24px;display:flex;position:sticky;top:0}.app-editor-dialog__head h2{margin:0;font-size:20px;line-height:1.35}.app-editor-dialog__head p{color:var(--app-muted);margin:8px 0 0;font-size:14px;line-height:1.6}.app-editor-dialog__head .button.icon{flex-shrink:0;width:44px;height:44px;padding:0}.app-editor-dialog__body{padding:24px}.app-editor-dialog__footer{background:var(--app-surface);border-top:1px solid var(--app-line);padding:16px 24px;position:sticky;bottom:0}.app-editor-dialog input,.app-editor-dialog select,.app-editor-dialog textarea{max-width:100%}@media (max-width:699px){.app-editor-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.app-editor-dialog--panel{border-radius:0;width:100vw;max-height:100dvh}.app-editor-dialog__head,.app-editor-dialog__body{padding:20px}}@media (prefers-reduced-motion:reduce){.app-editor-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
