.app-dialog-backdrop{z-index:10050;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0f172a8c;justify-content:center;align-items:center;padding:1.25rem;display:flex;position:fixed;inset:0}.app-dialog-panel{color:#0f172a;width:min(420px,100%);max-height:min(85vh,520px);box-shadow:var(--shadow-lg,0 20px 40px #00000059);background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;display:flex;overflow:hidden}.app-dialog-panel--success{border-top:4px solid #16a34a}.app-dialog-panel--error{border-top:4px solid #dc2626}.app-dialog-panel--warning{border-top:4px solid #d97706}.app-dialog-panel--info{border-top:4px solid #2563eb}.app-dialog-header{padding:1rem 1.25rem .35rem}.app-dialog-title{letter-spacing:-.02em;color:#0f172a;margin:0;font-size:1.05rem;font-weight:700;line-height:1.3}.app-dialog-body{color:#1e293b;white-space:pre-wrap;word-break:break-word;padding:.5rem 1.25rem 1.1rem;font-size:.95rem;line-height:1.55;overflow-y:auto}.app-dialog-hint{color:#334155;margin-bottom:.65rem;font-size:.82rem;font-weight:600;display:block}.app-dialog-input{border-radius:8px;width:100%;padding:.55rem .65rem;font-size:.95rem;color:#0f172a!important;background:#fff!important;border:1.5px solid #cbd5e1!important}.app-dialog-input:focus{box-shadow:0 0 0 3px #2563eb33;border-color:#2563eb!important}.app-dialog-body .app-dialog-input{margin-top:.75rem}.app-dialog-body .app-dialog-input:first-child{margin-top:0}.app-dialog-footer{background:#f8fafc;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:flex-end;gap:.5rem;padding:.75rem 1.25rem 1rem;display:flex}.app-dialog-btn{border-radius:8px;padding:.45rem 1rem;font-size:.875rem;font-weight:600;transition:background .15s,color .15s,border-color .15s}.app-dialog-btn--primary{color:#f8fafc;background:#0f172a}.app-dialog-btn--primary:hover{background:#1e293b}.app-dialog-btn--ghost{color:#334155;background:#fff;border:1px solid #cbd5e1}.app-dialog-btn--ghost:hover{background:#f1f5f9}.app-dialog-btn--danger{color:#fff;background:#b91c1c}.app-dialog-btn--danger:hover{background:#991b1b}.app-error-fallback{min-height:40vh;color:var(--color-text,#f5f5f7);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding:2rem;display:flex}.app-error-fallback p{max-width:28rem;color:var(--color-text-secondary,#c5c5cd);margin:0;line-height:1.5}.app-error-fallback button{background:var(--color-accent,#c73939);color:#fff;border-radius:8px;padding:.5rem 1.1rem;font-weight:600}.app-error-fallback button:hover{filter:brightness(1.05)}
