.tf-confirm[hidden] { display: none; }
.tf-confirm {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.tf-confirm__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 7, 5, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
  animation: tf-confirm-fade .18s ease both;
}
.tf-confirm__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line, #d8ccbc);
  border-radius: 24px;
  background: var(--surface, #fffaf2);
  color: var(--text, #17140f);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  animation: tf-confirm-in .2s ease both;
}
.tf-confirm__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--orange-soft, rgba(231, 71, 18, .1));
  color: var(--orange, #e74712);
}
.tf-confirm__icon svg { width: 22px; height: 22px; }
.tf-confirm__eyebrow { display: block; margin-bottom: 9px; color: var(--orange, #e74712); font: 500 9px var(--mono, monospace); letter-spacing: .15em; text-transform: uppercase; }
.tf-confirm__title { margin: 0; font: 600 22px/1.2 var(--display, sans-serif); letter-spacing: -.025em; }
.tf-confirm__message { margin: 12px 0 0; color: var(--muted, #6f665c); font: 400 13px/1.6 var(--body, sans-serif); }
.tf-confirm__actions { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf-confirm__button { min-height: 46px; padding: 0 16px; border: 1px solid var(--line, #d8ccbc); border-radius: 999px; background: transparent; color: inherit; font: 600 12px var(--body, sans-serif); cursor: pointer; }
.tf-confirm__button--confirm { border-color: var(--orange, #e74712); background: var(--orange, #e74712); color: #fff; }
.tf-confirm__button:focus-visible { outline: 2px solid var(--orange, #e74712); outline-offset: 3px; }
.tf-confirm__button:disabled { opacity: .5; cursor: wait; }
@keyframes tf-confirm-fade { from { opacity: 0; } }
@keyframes tf-confirm-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@media (max-width: 480px) {
  .tf-confirm { align-items: end; padding: 12px; }
  .tf-confirm__dialog { padding: 23px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-confirm__scrim, .tf-confirm__dialog { animation: none; }
}
