@import url("/static/fonts/noto-sans-sc.css");
.app-dialog { position:fixed; inset:0; margin:auto; height:max-content; width:min(440px,calc(100vw - 32px)); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); box-sizing:border-box; overflow:auto; padding:26px; border:1px solid #e4e7ec; border-radius:8px; background:#fff; color:#17202e; box-shadow:0 24px 80px #10182833; font:inherit; }
.app-dialog::backdrop { background:rgba(16,24,40,.32); }
.app-dialog h2 { margin:0 0 14px; font-size:20px; }
.app-dialog-message { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; margin:0 0 20px; }
.app-dialog-input { display:block; width:100%; min-height:46px; box-sizing:border-box; border:1px solid #98a2b3; border-radius:6px; padding:10px 12px; font:inherit; background:#fff; color:#17202e; margin-bottom:18px; }
.app-dialog-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.app-dialog-actions button,.app-dialog-actions a { min-height:44px; padding:10px 20px; border:1px solid #d0d5dd; border-radius:6px; background:#fff; color:#344054; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; box-sizing:border-box; }
.app-dialog-actions .app-dialog-primary { background:var(--brand,#1677ff); color:white; border-color:var(--brand,#1677ff); }
.app-dialog :focus-visible { outline:3px solid #93c5fd; outline-offset:2px; }
.app-dialog-error-code { color:#667085; font-size:12px; overflow-wrap:anywhere; }
.app-error-page { margin:0; min-height:100vh; background:#f4f6f8; font:16px/1.6 "Noto Sans SC",sans-serif; }
.app-error-page .app-dialog { display:block; height:max-content; }
@media(max-width:480px){.app-dialog{padding:22px 18px}.app-dialog-actions>*{flex:1;text-align:center}}

.app-dialog-backdrop { position:fixed; inset:0; z-index:100000; background:rgba(16,24,40,.32); }
