.editor-dialog-backdrop { position: fixed; inset: 0; z-index: 1500; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: #03070bc9; backdrop-filter: blur(5px); display: none; place-items: center; padding: 24px; }
.editor-dialog-backdrop[open] { display: grid; }
.editor-dialog-backdrop::backdrop { background: transparent; }
.editor-dialog { background: #121d23; color: #e0e6e4; border: 1px solid #7f6945; width: min(100%, 540px); max-height: 88dvh; overflow: auto; padding: 24px; box-shadow: 0 24px 100px #0009; scrollbar-width: thin; }
.editor-dialog--wide { width: min(1100px, 100%); }
.editor-dialog > header { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--editor-line, #2d3a40); }
.editor-dialog h2 { margin: 0; font: 600 20px/1.3 var(--font-body, sans-serif); }
.editor-dialog .angular-button.editor-dialog__close { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; padding: 0; }
.editor-dialog__close .editor-icon { width: 18px; height: 18px; }
.editor-dialog > button { margin: 10px 8px 0 0; }

@media (max-width: 760px) {
    .editor-dialog-backdrop { padding: 12px; }
    .editor-dialog { padding: 16px; }
}
