.app-dialog {
    box-sizing: border-box; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
    margin: auto; padding: 28px; overflow: auto; border: 1px solid var(--agency-border, #dbe7e1);
    border-radius: 22px; color: var(--agency-text, #18231f); background: #fff;
    box-shadow: 0 24px 80px rgba(18, 45, 33, .22); font-family: inherit;
}
.app-dialog::backdrop { background: rgba(15, 31, 24, .42); backdrop-filter: blur(3px); }
.app-dialog__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: #edf7f1; color: var(--agency-green, var(--web-primary, #3f916a)); font-size: 23px; font-weight: 800; }
.app-dialog h2 { margin: 0 0 10px; color: inherit; font-size: 20px; font-weight: 750; line-height: 1.35; }
.app-dialog p { margin: 0; color: var(--agency-muted, #66756c); font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.app-dialog__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.app-dialog__button { appearance: none; min-height: 44px; padding: 10px 20px; border: 1px solid #dbe7e1; border-radius: 11px; background: #fff; color: #42654f; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.app-dialog__button:hover { background: #f0f7f3; }
.app-dialog__button--primary { border-color: transparent; background: var(--agency-green, var(--web-primary, #3f916a)); color: #fff; }
.app-dialog__button--primary:hover { background: var(--agency-green, var(--web-primary, #3f916a)); filter: brightness(.94); }
.app-dialog__button:focus-visible { outline: 3px solid #87bfa1; outline-offset: 3px; }
@media (max-width: 480px) { .app-dialog { padding: 22px; } .app-dialog__button { flex: 1; } }
