#wk-chat-launcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6b7a4f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
  box-shadow: 0 10px 26px -8px rgba(107, 122, 79, .7);
  border: none;
  cursor: pointer;
  transition: transform .2s ease;
}
#wk-chat-launcher:hover { transform: scale(1.08); }

#wk-chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: #16171c;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.6);
  z-index: 601;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Sora', sans-serif;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#wk-chat-panel.wk-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#wk-chat-header {
  padding: 14px 16px;
  background: #1c1e26;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#wk-chat-header strong { color: #f2f4fa; font-size: 14px; }
#wk-chat-header span { color: #7d859f; font-size: 11.5px; display: block; margin-top: 2px; }
#wk-chat-close {
  background: none; border: none; color: #7d859f; cursor: pointer; font-size: 18px; line-height: 1;
}

#wk-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wk-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.wk-msg-bot { align-self: flex-start; background: #23252e; color: #d6d9e6; border-bottom-left-radius: 3px; }
.wk-msg-user { align-self: flex-end; background: #6b7a4f; color: #eef1e6; border-bottom-right-radius: 3px; }

.wk-typing { display: flex; align-items: center; gap: 4px; padding: 12px; }
.wk-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #7d859f;
  animation: wk-typing-bounce 1s infinite ease-in-out;
}
.wk-typing span:nth-child(2) { animation-delay: .15s; }
.wk-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes wk-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

#wk-chat-input:disabled, #wk-chat-send:disabled { opacity: .6; cursor: not-allowed; }

#wk-chat-form {
  display: flex;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 10px;
  gap: 8px;
}
#wk-chat-input {
  flex: 1;
  background: #1c1e26;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 9px 10px;
  color: #f2f4fa;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
#wk-chat-send {
  background: #6b7a4f;
  color: #10120c;
  border: none;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
#wk-chat-send:hover { filter: brightness(1.08); }
