#aquiles-chat-launcher,
#aquiles-chat-panel {
  font-family: system-ui, sans-serif;
  box-sizing: border-box;
}

#aquiles-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #18181b;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

#aquiles-chat-panel {
  position: fixed;
  right: 16px;
  bottom: 86px;
  z-index: 999999;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100dvh - 120px));
  display: none;
  flex-direction: column;
  background: #fff;
  color: #18181b;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

#aquiles-chat-panel.is-open {
  display: flex;
}

#aquiles-chat-panel header {
  padding: 14px 16px;
  background: #18181b;
  color: #fff;
  font-weight: 600;
}

#aquiles-chat-log {
  flex: 1;
  overflow: auto;
  padding: 12px;
  background: #fafafa;
}

#aquiles-chat-log p {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 14px;
}

#aquiles-chat-log .aquiles-user {
  background: #18181b;
  color: #fff;
  margin-left: 28px;
}

#aquiles-chat-log .aquiles-bot {
  background: #fff;
  border: 1px solid #e4e4e7;
  margin-right: 28px;
}

#aquiles-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e4e4e7;
}

#aquiles-chat-form input {
  flex: 1;
  border: 1px solid #d4d4d8;
  border-radius: 10px;
  padding: 10px 12px;
}

#aquiles-chat-form button {
  border: 0;
  border-radius: 10px;
  background: #18181b;
  color: #fff;
  padding: 0 14px;
  font-weight: 600;
  cursor: pointer;
}
