.tf71439-decision-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background: rgba(10, 28, 22, .56);
}

.tf71439-decision {
  width: min(560px, 100%);
  max-height: min(720px, calc(100dvh - 36px));
  overflow: auto;
  border: 1px solid #c7d8d0;
  border-radius: 20px;
  padding: clamp(20px, 5vw, 30px);
  background: #fff;
  color: #14251f;
  box-shadow: 0 24px 70px rgba(6, 29, 21, .28);
}

.tf71439-decision h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 6vw, 2rem);
}

.tf71439-decision p {
  margin: 10px 0;
  line-height: 1.48;
}

.tf71439-decision-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.tf71439-decision-actions .btn {
  min-height: 52px;
  white-space: normal;
}

.tf71439-recovered {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.tf71439-pull-indicator {
  --tf71439-pull-distance: 0px;
  position: fixed;
  z-index: 10020;
  top: max(8px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  max-width: calc(100vw - 32px);
  padding: 9px 15px;
  border: 1px solid rgba(10, 108, 78, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  color: #155b46;
  font-weight: 750;
  font-size: .92rem;
  box-shadow: 0 7px 26px rgba(8, 52, 39, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-62px + var(--tf71439-pull-distance)));
  transition: opacity .14s ease, transform .14s ease;
}

.tf71439-pull-indicator[data-state="pulling"],
.tf71439-pull-indicator[data-state="armed"],
.tf71439-pull-indicator[data-state="refreshing"],
.tf71439-pull-indicator[data-state="success"],
.tf71439-pull-indicator[data-state="error"] {
  opacity: 1;
}

.tf71439-pull-indicator[data-state="armed"] .tf71439-pull-icon {
  transform: rotate(180deg);
}

.tf71439-pull-indicator[data-state="refreshing"] .tf71439-pull-icon {
  animation: tf71439-spin .8s linear infinite;
}

.tf71439-pull-indicator[data-state="error"] {
  border-color: #d88f8f;
  color: #9f2424;
}

.tf71439-pull-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transition: transform .15s ease;
}

.tf71439-update-banner {
  position: fixed;
  z-index: 10030;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(720px, calc(100vw - 32px));
  margin-inline: auto;
  padding: 14px;
  border: 1px solid #b9d5c9;
  border-radius: 16px;
  background: #f7fffb;
  color: #153d31;
  box-shadow: 0 12px 38px rgba(8, 52, 39, .2);
}

.tf71439-update-banner span {
  flex: 1 1 auto;
  line-height: 1.4;
}

.tf71439-update-banner .btn {
  flex: 0 0 auto;
  min-height: 46px;
}

.tf71439-toast {
  z-index: 10100;
}

@keyframes tf71439-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 600px) {
  .tf71439-decision-actions,
  .tf71439-update-banner {
    grid-template-columns: 1fr;
  }

  .tf71439-decision-actions {
    display: grid;
  }

  .tf71439-update-banner {
    display: grid;
  }

  .tf71439-update-banner .btn {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .tf71439-pull-indicator {
    display: none;
  }
}
