/**
 * Professional ChatGPT/Claude-style composer.
 * Enqueued only on tool pages (not in the runtime CSS concat).
 * @package Teznevise
 */
.tz-ai-chat.tz-gpt {
  --tz-gpt-bg: #f4f7f6;
  --tz-gpt-surface: #ffffff;
  --tz-gpt-ink: #10231d;
  --tz-gpt-muted: #4d655c;
  --tz-gpt-line: rgba(20, 93, 74, 0.12);
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 760px);
  max-width: 880px;
  margin: var(--tz-space-8, 2rem) auto;
  background:
    radial-gradient(1200px 280px at 100% 0%, rgba(130, 216, 185, 0.18), transparent 60%),
    var(--tz-gpt-bg);
  border: 1px solid var(--tz-gpt-line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(9, 40, 32, 0.08);
}
.tz-gpt__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: color-mix(in srgb, #145d4a 94%, #08241c);
  color: #fff;
}
.tz-gpt__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.tz-gpt__dot {
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #82d8b9;
  box-shadow: 0 0 0 6px rgba(130, 216, 185, 0.2);
}
.tz-gpt__brand small {
  display: block;
  font-weight: 500;
  opacity: 0.78;
  font-size: 0.75rem;
}
.tz-gpt__top-actions {
  display: flex;
  gap: 8px;
}
.tz-gpt__iconbtn {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.tz-gpt__iconbtn:hover,
.tz-gpt__iconbtn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}
.tz-gpt__log {
  flex: 1;
  overflow: auto;
  padding: 22px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}
.tz-ai-msg {
  max-width: min(680px, 94%);
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  animation: tzMsgIn 0.28s cubic-bezier(.2, .8, .2, 1);
}
.tz-ai-msg.is-user {
  align-self: flex-start;
}
.tz-ai-msg.is-assistant {
  align-self: stretch;
}
.tz-ai-msg__avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #145d4a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
}
.tz-ai-msg.is-user .tz-ai-msg__avatar {
  background: #1d4ed8;
}
.tz-ai-msg__stack {
  min-width: 0;
}
.tz-ai-msg__meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 0.78rem;
  margin-bottom: 4px;
  color: var(--tz-gpt-muted);
}
.tz-ai-msg__bubble {
  background: var(--tz-gpt-surface);
  border-radius: 4px 18px 18px 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 28px rgba(9, 40, 32, 0.05);
  white-space: pre-wrap;
  line-height: 1.85;
  color: var(--tz-gpt-ink);
  border: 1px solid rgba(20, 93, 74, 0.06);
}
.tz-ai-msg.is-user .tz-ai-msg__bubble {
  background: #145d4a;
  color: #fff;
  border: 0;
  border-radius: 18px 4px 18px 18px;
}
.tz-ai-code {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0f231c;
  color: #d7f5ea;
  overflow: auto;
  font-size: 0.85rem;
  direction: ltr;
  text-align: left;
}
.tz-ai-think {
  margin: 0 0 8px;
  font-size: 0.85rem;
  background: #eef4ff;
  border-radius: 12px;
  padding: 8px 10px;
}
.tz-ai-think pre { white-space: pre-wrap; margin: 8px 0 0; }
.tz-ai-msg .tz-gpt__iconbtn {
  background: #eef6f2;
  color: #145d4a;
  min-height: 32px;
  margin-top: 6px;
  justify-self: start;
}
.tz-gpt-composer {
  padding: 8px 16px 18px;
  background: linear-gradient(180deg, transparent, var(--tz-gpt-bg) 28%);
}
.tz-gpt-box {
  background: var(--tz-gpt-surface);
  border: 1px solid rgba(20, 93, 74, 0.18);
  border-radius: 22px;
  padding: 10px 12px 8px;
  box-shadow: 0 16px 44px rgba(9, 40, 32, 0.1);
}
.tz-gpt-box textarea {
  width: 100%;
  border: 0;
  resize: none;
  outline: none;
  font: inherit;
  line-height: 1.7;
  min-height: 44px;
  max-height: 220px;
  background: transparent;
  padding: 6px 8px;
}
.tz-gpt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.tz-gpt-tools { position: relative; }
.tz-gpt-tools > summary {
  list-style: none;
  cursor: pointer;
  background: #eef6f2;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  color: #145d4a;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.tz-gpt-tools > summary::-webkit-details-marker { display: none; }
.tz-gpt-tools__panel {
  position: absolute;
  inset-inline-start: 0;
  bottom: 48px;
  width: min(300px, 82vw);
  background: #fff;
  border: 1px solid rgba(20, 93, 74, 0.14);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(9, 40, 32, 0.12);
  z-index: 5;
}
.tz-gpt-tools__panel select,
.tz-gpt-tools__panel label {
  width: 100%;
  font-size: 0.88rem;
}
.tz-gpt-send {
  border: 0;
  background: #145d4a;
  color: #fff;
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}
.tz-gpt-send:hover,
.tz-gpt-send:focus-visible {
  background: #0f4a3b;
  transform: translateY(-1px);
}
.tz-ai-chat.is-full {
  position: fixed;
  inset: 0;
  z-index: 80;
  margin: 0;
  border-radius: 0;
  max-width: none;
  height: 100dvh;
  background: var(--tz-gpt-bg);
}
.tz-ai-dots { display: inline-flex; gap: 4px; }
.tz-ai-dots i {
  width: 6px; height: 6px; border-radius: 99px; background: #145d4a;
  animation: tzDot 1s infinite ease-in-out;
}
.tz-ai-dots i:nth-child(2) { animation-delay: .15s; }
.tz-ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tzDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes tzMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.tz-ai-chat__status { margin: 8px 4px 0; font-size: 0.85rem; color: #3d5c54; }
.tz-gpt-send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tz-gpt-hint { margin: 8px 6px 0; font-size: 0.78rem; color: #5a7268; }
.tz-gpt-agents {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px 0;
  scrollbar-width: thin;
}
.tz-gpt-agent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(20, 93, 74, 0.16);
  background: #fff;
  color: #145d4a;
  border-radius: 999px;
  min-height: 40px;
  padding: 4px 12px 4px 4px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
.tz-gpt-agent img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}
.tz-gpt-agent.is-on,
.tz-gpt-agent[aria-selected="true"] {
  background: #145d4a;
  color: #fff;
  border-color: #145d4a;
}
.tz-ai-msg__avatar img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.tz-ai-msg.is-user {
  margin-inline-start: auto;
  grid-template-columns: minmax(0, 1fr) 36px;
}
.tz-ai-msg.is-user .tz-ai-msg__avatar { order: 2; }
@media (prefers-reduced-motion: reduce) {
  .tz-ai-msg, .tz-ai-dots i, .tz-gpt-send { animation: none !important; transition: none !important; }
}

.tz-livechat__note {
  margin: 0;
  padding: 8px 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #4d655c;
  background: #f4faf7;
}
.tz-livechat__handoff {
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(20, 93, 74, .12);
  background: #fff;
}
.tz-livechat__handoff p { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; }
.tz-livechat__handoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.tz-livechat__handoff-grid .full { grid-column: 1 / -1; }
.tz-livechat__handoff label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.tz-livechat__handoff input {
  border: 1px solid #dfe9e5;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
}
.tz-livechat__handoff .btn-tz { width: 100%; }
.tz-ai-chat.tz-livechat__panel {
  min-height: 0;
  max-width: none;
}
.tz-ai-status {
  padding: 6px 14px;
  font-size: 13px;
  color: #145d4a;
}
.tz-ai-collab-label {
  margin: 4px 14px 0;
  font-size: 12px;
  font-weight: 800;
  color: #145d4a;
}
.tz-gpt-bar {
  flex-wrap: wrap;
  gap: 8px;
}

/* 1.9.18 — ChatGPT-style model menu, icon chrome, live thinking */
.tz-gpt-selectors {
  display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto;
}
.tz-gpt-model { position: relative; min-width: 0; flex: 1; }
.tz-gpt-model__btn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  border: 0; background: rgba(255,255,255,.12); color: #fff;
  border-radius: 999px; min-height: 40px; padding: 4px 12px 4px 6px;
  font-weight: 700; cursor: pointer;
}
.tz-gpt-model__btn img { width: 22px; height: 22px; border-radius: 999px; object-fit: cover; }
.tz-gpt-model__btn [data-agent-label] {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42vw;
}
.tz-gpt-model__caret { font-size: 11px; opacity: .8; }
.tz-gpt-model__btn[aria-expanded="true"] .tz-gpt-model__caret { transform: rotate(180deg); }
.tz-gpt-model__list {
  position: absolute; inset-inline-start: 0; top: calc(100% + 8px);
  width: min(320px, 86vw); max-height: min(60vh, 420px); overflow: auto;
  background: #fff; color: #10231d; border: 1px solid rgba(20,93,74,.14);
  border-radius: 16px; box-shadow: 0 18px 48px rgba(9,40,32,.16);
  padding: 6px; z-index: 30; display: grid; gap: 2px;
}
.tz-gpt-model__native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tz-gpt-llm {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  min-height: 40px; padding-inline: 10px 6px; border-radius: 999px;
  color: #fff; background: rgba(255,255,255,.12);
}
.tz-gpt-llm select {
  min-width: 72px; max-width: 92px; min-height: 36px; padding: 0 2px;
  border: 0; outline: 0; background: transparent; color: inherit;
  font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
.tz-gpt-llm select option { color: #10231d; background: #fff; }
.tz-gpt-llm:focus-within { outline: 3px solid #82d8b9; outline-offset: 2px; }
.tz-gpt-agent {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: right;
  border: 0; background: transparent; border-radius: 12px; padding: 8px 10px;
  cursor: pointer; color: inherit;
}
.tz-gpt-agent:hover, .tz-gpt-agent:focus-visible { background: #eef6f2; }
.tz-gpt-agent.is-on { background: #145d4a; color: #fff; }
.tz-gpt-agent__dot { width: 22px; height: 22px; border-radius: 999px; flex: 0 0 22px; }
.tz-gpt-agent__copy { display: flex; flex-direction: column; min-width: 0; }
.tz-gpt-agent__copy strong { font-size: 13.5px; }
.tz-gpt-agent__copy small { font-size: 11px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-gpt__top { gap: 10px; }
.tz-gpt__iconbtn {
  width: 40px; min-width: 40px; min-height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
}
.tz-gpt__iconbtn.is-toggle.is-on,
.tz-gpt__iconbtn[aria-pressed="true"] { background: #fff; color: #145d4a; }
.tz-gpt-toggles { display: inline-flex; gap: 6px; align-items: center; }
.tz-gpt-send { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
.tz-ai-think { background: #f3f6fb; border: 1px solid #e1e7f2; }
.tz-ai-think__sum {
  display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer;
  font-weight: 700; color: #334155; min-height: 36px;
}
.tz-ai-think__sum::-webkit-details-marker { display: none; }
.tz-ai-think__chev { margin-inline-start: auto; font-size: 11px; transition: transform .2s ease; }
.tz-ai-think[open] .tz-ai-think__chev { transform: rotate(180deg); }
.tz-ai-think.is-live .tz-ai-think__label { color: #145d4a; }
.tz-ai-think__stream {
  margin: 0; padding: 4px 2px 6px; white-space: pre-wrap;
  font-size: 12.5px; line-height: 1.7; color: #475569;
}
.tz-ai-msg__bubble--wait { background: transparent; border: 0; box-shadow: none; padding: 4px 0; }
.tz-livechat { position: fixed; right: 22px; bottom: 22px; z-index: 1200; }
.tz-livechat__fab {
  width: 52px; min-width: 52px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 0; border: 0;
  background: #145d4a; color: #fff; border-radius: 999px; min-height: 48px;
  font-weight: 800; box-shadow: 0 12px 28px rgba(20,93,74,.28); cursor: pointer;
}
.tz-livechat__fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tz-livechat__panel {
  position: absolute; right: 0; bottom: 60px;
  width: min(420px, calc(100vw - 24px)); height: min(78vh, 680px);
  max-height: min(78vh, 680px); display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(20,93,74,.12); border-radius: 22px;
  overflow: hidden; box-shadow: 0 24px 64px rgba(9,40,32,.18);
}
.tz-livechat__panel .tz-gpt__log { flex: 1; max-height: none; }
.tz-livechat__panel[hidden], .tz-livechat__handoff[hidden] { display: none !important; }
body.tz-livechat-open { overflow: hidden; }
@media (max-width: 720px) {
  .tz-livechat { right: 16px; bottom: 84px; }
  .tz-livechat__panel {
    position: fixed; inset: 12px 12px 96px; width: auto; height: auto;
    max-height: none; border-radius: 18px;
  }
}
.tz-gpt__iconbtn:focus-visible,
.tz-gpt-model__btn:focus-visible,
.tz-gpt-send:focus-visible,
.tz-livechat__fab:focus-visible {
  outline: 3px solid #82d8b9; outline-offset: 2px;
}
.tz-ai-debate-run { margin: 12px 0; }

.tz-gpt-model__list[hidden],
.tz-gpt-model__scrim[hidden] { display: none !important; }
.tz-gpt__top { position: relative; z-index: 40; }
/* The picker sheet must be sized against the whole chat, not the 70px header. */
.tz-ai-chat.tz-gpt > .tz-gpt__top { position: static; }
.tz-gpt-model { position: static; flex: 1 1 auto; min-width: 0; max-width: none; }
.tz-ai-chat.tz-gpt { position: relative; }
.tz-gpt-model__btn { max-width: 100%; }
.tz-gpt-model__btn [data-agent-label] { max-width: 46vw; }
.tz-gpt-model__scrim {
  position: absolute;
  inset: 56px 0 0;
  border: 0;
  background: rgba(16, 35, 29, .42);
  z-index: 20;
  cursor: pointer;
}
.tz-ai-chat.is-picking { position: relative; }
.tz-gpt-model__list {
  position: absolute;
  inset-inline: 10px;
  top: 58px;
  bottom: 12px;
  width: auto;
  max-width: none;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 25;
}
.tz-gpt-model__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 10px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  border-bottom: 1px solid rgba(20,93,74,.1);
}
.tz-gpt-model__list-head strong { font-size: 13px; color: #145d4a; }
.tz-gpt-model__done {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  background: #145d4a !important;
  color: #fff !important;
}
.tz-gpt-agent { align-items: flex-start; }
.tz-gpt-agent__copy { width: 100%; }
.tz-gpt-agent__copy strong { white-space: normal; }
.tz-gpt-agent__copy small {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tz-gpt-bar { flex-wrap: nowrap !important; }
.tz-gpt-toggles { flex: 1; overflow-x: auto; scrollbar-width: none; }
.tz-livechat__panel { overflow: hidden; }
.tz-livechat__panel.is-picking,
.tz-ai-chat.is-picking .tz-gpt-composer { pointer-events: none; }
.tz-ai-chat.is-picking .tz-gpt__top,
.tz-ai-chat.is-picking .tz-gpt-model__list,
.tz-ai-chat.is-picking .tz-gpt-model__scrim { pointer-events: auto; }
body.tz-livechat-open .tz-livechat__fab {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 520px) {
  .tz-gpt__top { padding-inline: 10px; gap: 6px; }
  .tz-gpt-selectors { gap: 5px; }
  .tz-gpt-model__btn { padding-inline: 8px 5px; gap: 5px; }
  .tz-gpt-model__btn [data-agent-label] { max-width: 30vw; }
  .tz-gpt-llm { padding-inline: 7px 3px; }
  .tz-gpt-llm select { min-width: 62px; max-width: 72px; }
  .tz-gpt__top-actions { gap: 2px; }
  .tz-gpt__top .tz-gpt__iconbtn { width: 38px; min-width: 38px; min-height: 38px; }
}
.tz-ai-thread .tz-ai-quote {
  display: block;
  margin: 8px 0;
  padding: 8px 12px;
  border-inline-start: 3px solid #145d4a;
  background: #f4faf7;
  color: #145d4a;
  font-weight: 600;
}

.tz-gpt-box .tz-gpt__iconbtn {
  background: #eef6f2;
  color: #145d4a;
  width: 40px;
  min-width: 40px;
}
.tz-gpt-box .tz-gpt__iconbtn.is-on,
.tz-gpt-box .tz-gpt__iconbtn[aria-pressed="true"] {
  background: #145d4a;
  color: #fff;
}
.tz-gpt-stop {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #7f1d1d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.tz-gpt-stop[hidden], .tz-gpt-send[hidden] { display: none !important; }
.tz-gpt-send:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.tz-livechat__fab {
  width: 56px;
  min-width: 56px;
  padding: 0;
  justify-content: center;
}
.tz-ai-think.is-live {
  border-color: rgba(20, 93, 74, .28);
  background: linear-gradient(180deg, #f4fbf8, #f3f6fb);
}
.tz-ai-think.is-live .tz-ai-think__stream {
  animation: tzThinkPulse 1.6s ease-in-out infinite;
}
@keyframes tzThinkPulse {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
.tz-gpt-model__list [role="option"]:focus-visible {
  outline: 2px solid #145d4a;
  outline-offset: 1px;
}
.tz-ai-thread .tz-ai-think__sum { font-size: 13px; }
.tz-ai-overview__out.is-error { color: #7f1d1d; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .tz-ai-think.is-live .tz-ai-think__stream { animation: none; }
}

/* 1.9.22 — chat-first chrome: thinking closed, labeled FAB, hints, rate */
.tz-gpt-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 16px 12px;
}
.tz-gpt-hints[hidden] { display: none !important; }
.tz-gpt-hint {
  border: 1px solid rgba(20, 93, 74, .16);
  background: #fff;
  color: #145d4a;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 40px;
  cursor: pointer;
  text-align: right;
  max-width: 100%;
}
.tz-gpt-hint:hover,
.tz-gpt-hint:focus-visible {
  background: #145d4a;
  color: #fff;
  border-color: #145d4a;
  outline: none;
}
.tz-ai-rate {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}
.tz-ai-rate .tz-gpt__iconbtn {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  color: #6b7f76;
  margin-top: 0;
}
.tz-ai-rate .tz-gpt__iconbtn:hover,
.tz-ai-rate .tz-gpt__iconbtn.is-on {
  background: #eef6f2;
  color: #145d4a;
}
.tz-ai-rate.is-sent { opacity: .72; pointer-events: none; }

.tz-ai-think {
  margin: 0 0 8px;
  padding: 0 8px;
  border-radius: 12px;
  background: #f3f6fb;
  border: 1px solid #e1e7f2;
}
.tz-ai-think:not([open]) {
  padding-bottom: 0;
  background: transparent;
  border-color: transparent;
}
.tz-ai-think:not([open]) .tz-ai-think__stream,
.tz-ai-think[hidden] {
  display: none !important;
}
.tz-ai-think__sum {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 12.5px;
  color: #475569;
  min-height: 32px;
  user-select: none;
}
.tz-ai-think__sum::-webkit-details-marker { display: none; }
.tz-ai-think[open] {
  padding: 6px 10px 8px;
  background: #f3f6fb;
  border-color: #e1e7f2;
}

.tz-livechat__fab {
  width: auto !important;
  min-width: 56px;
  min-height: 56px;
  padding: 0 18px 0 16px !important;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(20, 93, 74, .32);
}
.tz-livechat__fab-label {
  display: inline;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
}
.tz-livechat__panel {
  width: min(440px, calc(100vw - 28px));
  height: min(82vh, 720px);
  max-height: min(82vh, 720px);
  bottom: 68px;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(20, 93, 74, .08),
    0 28px 64px rgba(9, 40, 32, .22);
  overflow: hidden;
}
.tz-livechat__panel .tz-gpt__log {
  padding: 16px 14px 8px;
  gap: 14px;
}
.tz-livechat__panel .tz-gpt-composer {
  padding: 8px 12px 14px;
}
.tz-livechat__panel .tz-gpt-box {
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(9, 40, 32, .08);
}
.tz-livechat__note {
  padding: 8px 16px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #4d655c;
  background: linear-gradient(180deg, #eef8f3, #f7fbf9);
  border-bottom: 1px solid rgba(20, 93, 74, .08);
}
body.tz-livechat-open .tz-livechat__fab {
  visibility: hidden;
  pointer-events: none;
}
body.tz-livechat-open .tz-fab-wrap,
body.tz-livechat-open [id^="chaty-"] {
  opacity: .28;
  pointer-events: none;
}
@media (max-width: 720px) {
  .tz-livechat__fab-label { display: none; }
  .tz-livechat__fab {
    width: 56px !important;
    min-width: 56px;
    padding: 0 !important;
  }
  .tz-livechat__panel {
    position: fixed !important;
    inset: 8px 8px 88px !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tz-livechat-open .tz-livechat__panel,
  .tz-ai-msg { animation: none !important; }
}
