.appDialogBackdrop {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0,0,0,.8);
}
.appDialogCard {
  width: 100%; max-width: 420px; max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px); overflow-y: auto;
  margin: 0; padding: 24px; border: 1px solid var(--line);
  border-radius: 20px; background: var(--surface); color: var(--text1);
  box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: center;
}
.appDialogCard h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }
.appDialogCard p { margin: 0 0 20px; color: var(--text2); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.appDialogCard input {
  display: block; width: 100%; min-width: 0; min-height: 48px;
  margin-bottom: 20px; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--panel); color: var(--text1); font: inherit;
}
.appDialogActions { display: flex; gap: 12px; justify-content: center; }
.appDialogActions button {
  flex: 1; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--panel); color: var(--text1); font: inherit; cursor: pointer;
}
.appDialogActions .appDialogAccept { background: var(--primary); border-color: var(--primary); }
.appDialogCard input:focus, .appDialogActions button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
