/* High specificity keeps the same dialog layout in every workspace. */
html body dialog.redimus-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(480px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--studio-strong-line,#46596e);border-radius:12px;background:var(--studio-surface,#1b2430);color:var(--studio-text,#edf3f8);box-shadow:0 24px 80px #0008;font:15px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;text-align:left;overflow:auto}
html body dialog.redimus-dialog::backdrop{background:#050a12b8;backdrop-filter:blur(4px)}
html body dialog.redimus-dialog form{display:block;margin:0;padding:0}
html body dialog.redimus-dialog h2{font:650 18px/1.4 system-ui,sans-serif;margin:0 0 12px;color:inherit}
html body dialog.redimus-dialog p{margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}
html body dialog.redimus-dialog input{box-sizing:border-box;display:block;width:100%;min-width:0;padding:10px 12px;margin:0 0 20px;border:1px solid var(--studio-strong-line,#46596e);border-radius:6px;background:var(--studio-inset,#111b26);color:inherit;font:inherit}
html body dialog.redimus-dialog .redimus-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0}
html body dialog.redimus-dialog button{display:inline-flex;justify-content:center;align-items:center;width:auto;height:auto;min-width:88px;min-height:42px;padding:9px 16px;border:1px solid var(--studio-strong-line,#46596e);border-radius:6px;background:var(--studio-button,#28384a);color:inherit;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
html body dialog.redimus-dialog button.redimus-dialog-primary{background:var(--studio-primary,#267b69);border-color:var(--studio-primary-line,#409e89);color:#fff}
html body dialog.redimus-dialog :is(button,input):focus-visible{outline:2px solid var(--studio-accent,#72ddc3);outline-offset:3px}
