.tf-confirm-dialog:not([open]) { display:none; }
.tf-confirm-dialog {
  background:var(--tf-panel,var(--body-bg,#181b1f));
  border:1px solid var(--tf-border-light,var(--border-color,#596879));
  border-radius:12px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  color:var(--tf-text,var(--body-fg,#edf0f2));
  box-sizing:border-box;
  max-height:calc(100dvh - 2rem);
  max-width:calc(100% - 2rem);
  padding:1.25rem;
  width:27rem;
}
.tf-confirm-dialog::backdrop { background:rgba(17,23,32,.62); }
.tf-confirm-dialog h2 { font-size:1.15rem; font-weight:650; margin:0 0 .55rem; }
.tf-confirm-dialog p { color:var(--tf-muted,var(--body-quiet-color,#a3abb4)); font-size:.95rem; line-height:1.55; margin:0; overflow-wrap:anywhere; }
.tf-confirm-actions { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:flex-end; margin-top:1.25rem; }
.tf-confirm-actions button { min-height:42px; border-radius:6px; cursor:pointer; font:inherit; font-weight:600; padding:.5rem .8rem; }
.tf-confirm-actions button:focus-visible { outline:2px solid var(--tf-link,var(--link-fg,#9bb8ff)); outline-offset:3px; }

.tf-confirm-actions [data-confirm-cancel] { background:transparent; border:1px solid var(--tf-border-light,var(--border-color,#596879)); color:inherit; }
.tf-confirm-actions [data-confirm-accept] { background:var(--tf-accent,#3c5871); border:1px solid transparent; color:#fff; }
