.chat-widget-btn {
  position: fixed; bottom: 20px; right: 20px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--attendry-blue-700, #1d4ed8); color: #fff; font-size: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;
}
.chat-widget-panel {
  position: fixed; bottom: 88px; right: 20px; z-index: 1000;
  width: 340px; max-width: calc(100vw - 40px); height: 460px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: none; flex-direction: column; overflow: hidden; font-family: inherit;
}
.chat-widget-panel.open { display: flex; }
.chat-widget-header {
  padding: 12px 16px; background: var(--attendry-blue-700, #1d4ed8); color: #fff;
  display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px;
}
.chat-widget-header button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.chat-widget-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chat-widget-msg { max-width: 85%; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
.chat-widget-msg.user { align-self: flex-end; background: var(--attendry-blue-700, #1d4ed8); color: #fff; }
.chat-widget-msg.assistant { align-self: flex-start; background: #f1f3f5; color: #111; }
.chat-widget-msg.error { align-self: flex-start; background: #fdecea; color: #a12622; }
.chat-widget-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid #eee; }
.chat-widget-form input {
  flex: 1; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; font-family: inherit;
}
.chat-widget-form button {
  padding: 8px 14px; border: none; border-radius: 8px; background: var(--attendry-blue-700, #1d4ed8);
  color: #fff; font-size: 13px; cursor: pointer;
}
.chat-widget-form button:disabled { opacity: 0.6; cursor: default; }
