.app-dialog-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(20, 32, 51, .32);
}
.app-dialog {
  box-sizing: border-box; width: 100%; max-width: 360px;
  max-height: 85vh; overflow-y: auto; padding: 24px;
  border: 1px solid rgba(30, 58, 95, .1); border-radius: 18px;
  background: #fff; color: #142033;
  box-shadow: 0 16px 48px rgba(20, 32, 51, .15);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.app-dialog h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.app-dialog p { margin: 0; font-size: 15px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.app-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.app-dialog-actions button {
  min-width: 80px; min-height: 44px; padding: 10px 18px;
  border: 1px solid #e1e6ed; border-radius: 10px;
  background: #f7f9fc; color: #66758a; font: inherit; font-size: 14px; cursor: pointer;
}
.app-dialog-actions .app-dialog-primary { background: #0a84ff; color: #fff; border-color: #0a84ff; }
.app-dialog-actions button:focus-visible { outline: 3px solid rgba(10, 132, 255, .35); outline-offset: 2px; }
.app-dialog-actions [hidden] { display: none; }
