/* PatDraftix online consult bubble */
.lp-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #0b1426; color: #fff; flex-shrink: 0; }
.lp-chat-head-id { display: flex; align-items: center; gap: 10px; }
.lp-chat-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-primary); color: var(--accent-orange-light); display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.lp-chat-title { font-size: 14px; font-weight: 700; color: #fff; }
.lp-chat-sub { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.lp-chat-close { background: none; border: none; color: #94a3b8; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; margin-left: auto; }
.lp-chat-close:hover { color: #fff; }
.lp-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg-page); }
.lp-chat-msg { display: flex; gap: 8px; }
.lp-chat-msg.user { flex-direction: row-reverse; }
.lp-chat-m-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-primary); color: var(--accent-orange-light); display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.lp-chat-bub { background: #fff; border: 1px solid var(--border-1); border-radius: 12px; padding: 9px 12px; font-size: 13px; line-height: 1.65; color: var(--text-2); max-width: 78%; }
.lp-chat-msg.user .lp-chat-bub { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.lp-chat-sug { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 14px 8px; flex-shrink: 0; }
.lp-chat-chip { font-size: 12px; color: var(--brand-primary); background: var(--brand-primary-soft); border: 1px solid var(--ai-accent-border); border-radius: 999px; padding: 4px 10px; cursor: pointer; }
.lp-chat-chip:hover { background: var(--ai-accent-border); }
.lp-chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border-1); flex-shrink: 0; }
.lp-chat-input input { flex: 1; border: 1px solid var(--border-2); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-family: inherit; outline: none; }
.lp-chat-input input:focus { border-color: var(--brand-primary); }
.lp-chat-send { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--brand-primary); color: #fff; font-size: 16px; cursor: pointer; flex-shrink: 0; }
.lp-chat-send:hover { background: var(--brand-primary-hover); }
.lp-chat-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 0; flex-shrink: 0; }
.lp-chat-act { font-size: 12px; color: #fff; background: var(--brand-primary); border: none; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-family: inherit; }
.lp-chat-act:hover { background: var(--brand-primary-hover); }
.lp-chat-confirm { background: #fff; border: 1px solid var(--ai-accent-border); border-radius: 12px; padding: 11px 13px; max-width: 78%; }
.lp-chat-confirm .cc-label { font-size: 13px; font-weight: 700; color: var(--text-1); }
.lp-chat-confirm .cc-effect { font-size: 12px; color: var(--text-3); margin: 4px 0 10px; line-height: 1.5; }
.lp-chat-confirm .cc-btns { display: flex; gap: 8px; }
.lp-chat-confirm .cc-ok { font-size: 12px; color: #fff; background: var(--accent-orange); border: none; border-radius: 8px; padding: 6px 14px; cursor: pointer; }
.lp-chat-confirm .cc-ok:hover { background: var(--accent-orange-hover); }
.lp-chat-confirm .cc-cancel { font-size: 12px; color: var(--text-3); background: var(--bg-soft); border: 1px solid var(--border-1); border-radius: 8px; padding: 6px 14px; cursor: pointer; }
.lp-chat-confirm .cc-done { font-size: 12px; color: var(--status-green); font-weight: 600; }
.lp-chat-nudge { display: none; position: relative; width: 290px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--border-1); border-radius: 14px; box-shadow: 0 16px 40px rgba(10,10,10,0.22); padding: 14px 14px 14px 12px; gap: 10px; animation: lpNudgeIn .3s ease; }
.lp-chat-nudge.show { display: flex; }
@keyframes lpNudgeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.lp-nudge-x { position: absolute; top: 6px; right: 8px; background: none; border: none; color: var(--text-4); font-size: 18px; line-height: 1; cursor: pointer; }
.lp-nudge-x:hover { color: var(--text-2); }
.lp-nudge-ava { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-primary); color: var(--accent-orange-light); display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.lp-nudge-body { flex: 1; }
.lp-nudge-txt { font-size: 13px; line-height: 1.5; color: var(--text-1); margin-bottom: 9px; padding-right: 10px; }
.lp-nudge-go { font-size: 12px; font-weight: 600; color: #fff; background: var(--brand-primary); border: none; border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.lp-nudge-go:hover { background: var(--brand-primary-hover); }
@media (max-width: 480px) { .lp-chat-panel { height: calc(100vh - 32px); } }
