/**
 * Chatbot
 */
.chatbot-window {
  position: fixed;
  bottom: 110px;
  right: 24px;
  z-index: 600;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  height: 380px;
}
.chatbot-window.open { display: flex; }
.cw-header { background: var(--brand); padding: 16px 18px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cw-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.cw-info strong { display: block; color: #fff; font-size: .92rem; }
.cw-info span { font-size: .72rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 4px; }
.cw-info span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #00e676; flex-shrink: 0; }
.cw-close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; font-size: 1.2rem; }
.cw-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: .85rem; line-height: 1.55; }
.msg-bot { background: var(--card2); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; white-space: pre-line; }
.msg-user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg strong { color: var(--brand); }
.msg-bot strong { color: var(--brand); }
.msg-user strong { color: #fff; }
.cw-footer { padding: 12px; border-top: 1px solid var(--border2); display: flex; gap: 8px; flex-shrink: 0; }
.cw-input { flex: 1; background: var(--card); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 14px; color: var(--text); font-family: var(--font-body); font-size: .88rem; }
.cw-input:focus { outline: none; border-color: var(--brand); }
.cw-send { background: var(--brand); color: #fff; border: none; border-radius: 8px; width: 40px; height: 40px; cursor: pointer; font-size: 1rem; transition: background .2s; }
.cw-send:hover { background: var(--brand2); }
.cw-quick { padding: 0 12px 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.cq-btn { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--text2); font-size: .72rem; cursor: pointer; transition: all .2s; font-family: var(--font-body); }
.cq-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
