#argus-source-editor { position: fixed; inset: 0; z-index: 10000; }
.argus-source-editor__backdrop { position: absolute; inset: 0; background: rgba(3, 5, 15, .78); backdrop-filter: blur(6px); }
.argus-source-editor__dialog { position: relative; width: min(680px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; margin: 16px auto; padding: 28px; border: 1px solid #293b7c; border-radius: 12px; background: #151a38; box-shadow: 0 28px 90px rgba(0,0,0,.55); color: #eef1ff; }
.argus-source-editor__dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.argus-source-editor__dialog h2 { margin: 0; font-size: 24px; }
.argus-source-editor__close { width: 40px; height: 40px; border: 1px solid #34457f; border-radius: 50%; background: transparent; color: #edf0ff; font-size: 30px; line-height: 1; cursor: pointer; }
.argus-source-editor__note { margin: 14px 0 22px; color: #9fa9d0; line-height: 1.45; }
.argus-source-editor__dialog label { display: grid; gap: 8px; margin-top: 14px; color: #c4cbea; font-weight: 650; }
.argus-source-editor__dialog input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 12px; border: 1px solid #2b3970; border-radius: 9px; background: #101632; color: #f6f7ff; font: inherit; }
.argus-source-editor__password-row { display: flex; gap: 10px; }
.argus-source-editor__password-toggle { min-width: 76px; border: 1px solid #3c77b7; border-radius: 9px; background: #142848; color: #7bdcff; font: inherit; font-weight: 750; cursor: pointer; }
.argus-source-editor__types { display: flex; gap: 10px; margin-top: 20px; }
.argus-source-editor__types button, .argus-source-editor__cancel { min-height: 42px; padding: 0 16px; border: 1px solid #34457f; border-radius: 9px; background: transparent; color: #edf0ff; font: inherit; font-weight: 700; cursor: pointer; }
.argus-source-editor__types button.is-active, .argus-source-editor__save { border: 0; background: linear-gradient(100deg, #7861ff, #20c6df); color: white; box-shadow: 0 8px 24px rgba(54, 125, 235, .25); }
.argus-source-editor__error { min-height: 20px; margin: 16px 0 0; color: #ff879c; font-weight: 650; }
.argus-source-editor__dialog footer { display: flex; gap: 12px; margin-top: 18px; }
.argus-source-editor__save { min-height: 44px; padding: 0 18px; border-radius: 9px; font: inherit; font-weight: 750; cursor: pointer; }
.argus-source-editor__save:disabled { opacity: .6; cursor: wait; }
@media (max-width: 560px) { .argus-source-editor__dialog { padding: 20px; } .argus-source-editor__dialog footer { flex-direction: column; } .argus-source-editor__password-row { flex-direction: column; } .argus-source-editor__password-toggle { min-height: 42px; } }
