/*
 * One Support button, bottom-right. The chooser sits above it. The sticky
 * purchase bar measures #ts-chat-stack, which is only this circle, so an
 * open menu does not push the bar sideways.
 */
.ts-chat-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: Montserrat, Muli, "Segoe UI", sans-serif;
}
.ts-chat-stack { display: flex; }
.ts-support-btn {
  appearance: none;
  -webkit-appearance: none;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  padding: 0;
  text-decoration: none;
}
.ts-support-btn svg { width: 32px; height: 32px; display: block; }
.ts-support-btn:hover, .ts-support-btn:focus-visible { background: #1ebe5d; }
.ts-support-menu {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  padding: 12px;
}
.ts-support-menu[hidden] { display: none !important; }
.ts-support-ask {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.ts-support-choice {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 6px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}
.ts-support-choice:last-child { margin-bottom: 0; }
.ts-support-choice:hover, .ts-support-choice:focus-visible {
  border-color: #111;
  background: #f7ffe0;
}
.ts-support-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
}
.ts-support-choice-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.ts-support-choice-title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}
.ts-support-choice-status {
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
}
.ts-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: 320px;
  max-width: calc(100vw - 40px);
  background: #fff;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.ts-chat-panel[hidden] { display: none !important; }
.ts-wa-panel { width: 300px; }
.ts-wa-head, .ts-mcgrath-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #102033;
  color: #fff;
  padding: 12px 14px;
}
.ts-wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #bf0;
  flex: 0 0 auto;
}
.ts-wa-head p, .ts-mcgrath-head p { margin: 0; }
.ts-wa-kicker, .ts-mcgrath-kicker {
  color: #bf0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ts-wa-name, .ts-mcgrath-name { font-size: 16px; font-weight: 700; }
.ts-chat-x {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.ts-wa-body, .ts-mcgrath-log {
  padding: 14px;
  font-size: 14px;
  line-height: 1.45;
}
.ts-wa-greeting { margin: 0 0 12px; }
.ts-wa-go {
  display: block;
  text-align: center;
  background: #25d366;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 12px;
}
.ts-wa-go:hover { background: #1ebe5d; }
.ts-mcgrath-log {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 72px;
}
.ts-mcgrath-line {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}
.ts-mcgrath-line-agent { background: #f3f4f6; }
.ts-mcgrath-line-you { background: #102033; color: #fff; align-self: flex-end; }
.ts-mcgrath-handoff {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
}
.ts-mcgrath-handoff a {
  color: #0b7a32;
  font-weight: 700;
  text-decoration: underline;
}
.ts-mcgrath-turnstile {
  margin: 0 14px;
}
.ts-mcgrath-turnstile:empty { display: none; }
.ts-mcgrath-form {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}
.ts-mcgrath-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 14px;
}
.ts-mcgrath-form button {
  border: 0;
  background: #bf0;
  color: #111;
  font-weight: 800;
  border-radius: 8px;
  padding: 0 12px;
  cursor: pointer;
}
.ts-mcgrath-form button[disabled] { opacity: .6; cursor: default; }
@media (max-width: 767.98px) {
  .ts-wa-label { display: none; }
  .ts-chat-dock { right: 16px; bottom: 16px; }
  .ts-chat-panel { width: calc(100vw - 32px); }
}
@media print {
  .ts-chat-dock { display: none !important; }
}
