.sistemit-chatbot { position: fixed; right: 18px; bottom: 18px; z-index: 99999; font-family: Arial, sans-serif; }
.sistemit-chatbot__fab {
  width: 54px; height: 54px; border-radius: 999px; border: 0;
  background: #111; color: #fff; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.sistemit-chatbot__fabIcon { font-size: 22px; line-height: 54px; display: inline-block; }

.sistemit-chatbot__panel {
  position: absolute; right: 0; bottom: 66px;
  width: 340px; max-width: 92vw;
  background: #fff; border: 1px solid #e9e9e9; border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  display: none;
}
.sistemit-chatbot__panel.is-open { display: block; }

.sistemit-chatbot__header {
  background: #111; color: #fff; padding: 12px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.sistemit-chatbot__tagline { font-size: 12px; opacity: .85; margin-top: 2px; }
.sistemit-chatbot__it { color: #4d7cff; }
.sistemit-chatbot__close {
  border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 16px;
  width: 34px; height: 34px; border-radius: 10px;
}
.sistemit-chatbot__close:hover { background: rgba(255,255,255,.12); }

.sistemit-chatbot__msgs {
  height: 320px; overflow: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.sistemit-chatbot__msg {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: pre-wrap;
  line-height: 1.35;
  border: 1px solid #eee;
}
.sistemit-chatbot__msg.is-user { align-self: flex-end; background: #eef3ff; }
.sistemit-chatbot__msg.is-assistant { align-self: flex-start; background: #f6f6f6; }

.sistemit-chatbot__composer {
  display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eee;
}
.sistemit-chatbot__input {
  flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 10px; outline: none;
}
.sistemit-chatbot__send {
  padding: 10px 12px; border-radius: 10px; border: 0; background: #111; color: #fff; cursor: pointer;
}
.sistemit-chatbot__hint {
  padding: 8px 10px; font-size: 12px; opacity: .75; background: #fafafa; border-top: 1px solid #eee;
}
.sistemit-chatbot__fab {
  display: none;
}
.sistemit-chatbot__panel.is-open + .sistemit-chatbot__fab {
  display: none;
}
