/* Document Formatter → Templify handoff button.
   Pinned action shown only in Document Formatter chats (toggled by
   formatter-handoff/handoff.js). Brand red (#D42718) matches custom.css.
   Sits above the message composer, below modals (Templify modal is 99999). */

.tk-fh-btn {
  position: fixed;
  right: 24px;
  bottom: 104px;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: #d42718;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background-color 120ms ease, box-shadow 120ms ease,
    transform 120ms ease, opacity 120ms ease;
}
.tk-fh-btn:hover {
  background: #b81f12;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.tk-fh-btn:active {
  transform: translateY(1px);
}
.tk-fh-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 39, 24, 0.4);
}
.tk-fh-btn:disabled {
  opacity: 0.7;
  cursor: default;
}
.tk-fh-btn svg {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .tk-fh-btn {
    right: 16px;
    bottom: 88px;
    padding: 9px 14px;
    font-size: 13px;
  }
}
