/* Diálogo de confirmação (confirm-dialog.js). */
dialog.cdlg { border: 0; padding: 0; border-radius: var(--r-lg, 12px); width: min(440px, calc(100vw - 32px)); max-width: none; background: #fff; color: var(--ink, #000); box-shadow: var(--shadow-pop, 0 8px 28px rgba(0,0,0,.16)); }
dialog.cdlg::backdrop { background: rgba(0, 0, 0, .5); }
dialog.cdlg[open]:not(:modal) { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 200; }
.cdlg-box { padding: var(--s6, 24px); display: grid; gap: var(--s3, 12px); }
.cdlg-title { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0; }
.cdlg-text { margin: 0; color: var(--gray-700, #545454); white-space: pre-line; }
.cdlg-field { display: grid; gap: var(--s1, 4px); font-weight: 500; }
.cdlg-field textarea, .cdlg-field input { width: 100%; border: 1px solid var(--gray-300, #cbcbcb); border-radius: var(--r, 8px); padding: 10px 12px; background: var(--gray-150, #f3f3f3); font-weight: 400; }
.cdlg-field textarea:focus, .cdlg-field input:focus { outline: 2px solid var(--ink, #000); outline-offset: 1px; }
.cdlg-err { margin: 0; color: var(--negative-ink, #ab1300); }
.cdlg-actions { display: flex; justify-content: space-between; gap: var(--s3, 12px); margin-top: var(--s2, 8px); }
.cdlg-actions .act { min-width: 120px; }
.cdlg-actions .act[disabled] { opacity: .5; cursor: not-allowed; }
.cdlg-actions .act[data-busy] { cursor: progress; }
@media (max-width: 480px) {
  .cdlg-actions .act { flex: 1; min-width: 0; }
}
