/* ============================================================
   LakayHub IA (v2.8.0) — chat patnè, Ekri Pwòp, bil vizitè.
   Koulè ofisyèl yo: navy #0A2472, ble #1B5BD7, pal #F5F9FF.
   ============================================================ */

/* ---------- Zòn chat (komen: paj patnè + bil vizitè) ---------- */
.lkhed-ai-msgs{display:flex;flex-direction:column;gap:8px;max-height:420px;overflow-y:auto;padding:14px;background:#F5F9FF;border:1px solid #D9E4FA;border-radius:14px;margin-bottom:12px}
.lkhed-ai-msg{max-width:85%;padding:10px 14px;border-radius:14px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:14.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.lkhed-ai-msg-ai{align-self:flex-start;background:#fff;border:1px solid #D9E4FA;color:#0F1E3C;border-bottom-left-radius:4px}
.lkhed-ai-msg-me{align-self:flex-end;background:#0A2472;color:#fff;border-bottom-right-radius:4px}
.lkhed-ai-form{display:flex;gap:8px;align-items:flex-end}
.lkhed-ai-form textarea{flex:1 1 auto;padding:12px;border:1px solid #D9E4FA;border-radius:12px;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:14.5px;resize:vertical}
.lkhed-ai-form .lkhed-cta{flex:0 0 auto}
.lkhed-ai-quota{font-size:13px;color:#44557A;margin-top:8px}

/* ---------- Ekri Pwòp: rezilta ---------- */
.lkhed-ai-result{margin-top:18px;background:#F5F9FF;border:1px solid #D9E4FA;border-radius:14px;padding:16px}
.lkhed-ai-result h3{margin:0 0 10px;color:#0A2472}
.lkhed-ai-result-text{white-space:pre-wrap;word-break:break-word;font-size:15px;line-height:1.55;color:#0F1E3C;background:#fff;border:1px solid #D9E4FA;border-radius:10px;padding:14px;margin-bottom:12px}
.lkhed-ai-copied{font-weight:700;color:#15803D;margin-left:8px}

/* ---------- Bouton flotan « Asistan IA » (patnè) ----------
   Anwo bouton zouti kategori yo (.lkhed-propbtn bottom:76px,
   .lkhed-propbtn2 bottom:128px) — li rete andedan sifas
   aplikasyon patnè a, kidonk li respekte mòd aplikasyon an. */
.lkhed-aibtn{position:fixed;right:20px;bottom:184px;z-index:9998;background:#1B5BD7;color:#fff!important;padding:10px 16px;border-radius:999px;font-weight:700;font-size:14px;text-decoration:none;box-shadow:0 4px 14px rgba(10,36,114,.35);font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.lkhed-aibtn:hover{background:#0A2472;color:#fff!important}

/* ---------- Bil chat vizitè (paj piblik yo) ---------- */
.lkhed-aichat{position:fixed;right:18px;bottom:18px;z-index:99998;font-family:"Plus Jakarta Sans",system-ui,sans-serif}
.lkhed-aichat-btn{background:#0A2472;color:#fff;border:none;padding:13px 20px;border-radius:999px;font-weight:700;font-size:14.5px;cursor:pointer;box-shadow:0 6px 18px rgba(10,36,114,.35);font-family:inherit}
.lkhed-aichat-btn:hover{background:#1B5BD7}
.lkhed-aichat-panel{width:min(340px,calc(100vw - 32px));background:#fff;border:1px solid #D9E4FA;border-radius:16px;box-shadow:0 12px 34px rgba(10,36,114,.28);padding:12px;margin-bottom:10px}
.lkhed-aichat-head{display:flex;justify-content:space-between;align-items:center;color:#0A2472;margin-bottom:10px}
.lkhed-aichat-x{background:none;border:none;font-size:22px;line-height:1;cursor:pointer;color:#0A2472;padding:2px 8px}
.lkhed-aichat-msgs{max-height:300px;margin-bottom:10px}
.lkhed-aichat-note{font-size:12px;color:#44557A;margin:8px 0 0}
@media (max-width:480px){
  .lkhed-aibtn{bottom:178px}
  .lkhed-ai-msg{max-width:92%}
}
