.hp-live-chat{position:fixed;right:22px;bottom:22px;z-index:99999;font-family:Inter,Arial,sans-serif;color:#061b44}.hp-chat-launcher{min-height:54px;display:flex;align-items:center;gap:10px;border:0;border-radius:999px;padding:0 20px;background:linear-gradient(135deg,#0061d4,#0b79f7);color:#fff;box-shadow:0 16px 40px rgba(0,52,130,.28);cursor:pointer;font-weight:900}.hp-chat-launcher span{font-size:22px}.hp-chat-launcher em{min-width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#e3263e;color:#fff;font-size:10px;font-style:normal}.hp-chat-window{position:absolute;right:0;bottom:70px;width:min(390px,calc(100vw - 28px));height:min(590px,calc(100vh - 110px));overflow:hidden;border:1px solid #dbe6f2;border-radius:22px;background:#fff;box-shadow:0 26px 80px rgba(1,15,56,.25)}.hp-chat-window>header{height:82px;display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:linear-gradient(135deg,#061b44,#0061d4);color:#fff}.hp-chat-window header strong,.hp-chat-window header small{display:block}.hp-chat-window header small{margin-top:5px;color:#dbeafe;font-size:11px}.hp-chat-window header i{width:8px;height:8px;display:inline-block;margin-right:6px;border-radius:50%;background:#28d17c}.hp-chat-window header button{width:35px;height:35px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:24px;cursor:pointer}.hp-chat-body{height:calc(100% - 82px)}.hp-chat-intro{height:100%;overflow:auto;padding:22px}.hp-chat-intro h3{margin:0 0 18px;font-size:20px;line-height:1.35}.hp-chat-intro label{display:grid;gap:6px;margin-bottom:12px;font-size:11px;font-weight:800}.hp-chat-intro input,.hp-chat-intro textarea,.hp-chat-compose textarea{width:100%;border:1px solid #d8e3ef;border-radius:11px;padding:11px 12px;outline:none;resize:none}.hp-chat-intro input:focus,.hp-chat-intro textarea:focus,.hp-chat-compose textarea:focus{border-color:#0061d4;box-shadow:0 0 0 3px rgba(0,97,212,.09)}.hp-chat-intro button{width:100%;min-height:44px;border:0;border-radius:11px;background:#0061d4;color:#fff;font-weight:900;cursor:pointer}.hp-chat-intro p{min-height:16px;margin:8px 0 0;color:#c03232;font-size:11px}.hp-chat-conversation{height:100%;display:grid;grid-template-rows:1fr auto auto}.hp-chat-messages{overflow:auto;padding:18px;display:flex;flex-direction:column;gap:9px;background:#f5f8fc}.hp-chat-message{max-width:82%;padding:10px 12px;border-radius:14px;background:#fff;box-shadow:0 3px 10px rgba(6,27,68,.06);font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.hp-chat-message.visitor{align-self:flex-end;background:#0867e8;color:#fff;border-bottom-right-radius:4px}.hp-chat-message.admin{align-self:flex-start;border-bottom-left-radius:4px}.hp-chat-message small{display:block;margin-top:5px;font-size:9px;opacity:.7}.hp-chat-compose{display:grid;grid-template-columns:1fr 44px;gap:8px;padding:12px;border-top:1px solid #e4ebf3;background:#fff}.hp-chat-compose button{border:0;border-radius:11px;background:#0061d4;color:#fff;font-size:18px;cursor:pointer}.hp-chat-new{margin:0 12px 12px;border:0;background:transparent;color:#0061d4;font-weight:800;cursor:pointer}.hp-live-chat [hidden]{display:none!important}@media(max-width:520px){.hp-live-chat{right:14px;bottom:14px}.hp-chat-launcher b{display:none}.hp-chat-launcher{width:56px;padding:0;justify-content:center}.hp-chat-window{position:fixed;inset:10px;width:auto;height:auto;border-radius:18px}}

.hp-chat-agent-head{display:flex;align-items:center;min-width:0}
.hp-chat-agent-head>img{width:42px;height:42px;flex:0 0 42px;margin-right:10px;border:2px solid rgba(255,255,255,.5);border-radius:50%;object-fit:cover}
.hp-chat-intro select{width:100%;border:1px solid #d8e3ef;border-radius:11px;padding:11px 12px;background:#fff;color:#061b44;outline:none}
.hp-chat-intro select:focus{border-color:#0061d4;box-shadow:0 0 0 3px rgba(0,97,212,.09)}


/* FIX widget et compose */
.hp-chat-conversation,.hp-chat-messages{min-height:0}
.hp-chat-compose.hp-chat-compose-visible:not(.is-archived){display:grid!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:8;background:#fff}
.hp-chat-launcher{width:auto!important;height:54px!important;min-width:0!important;max-width:none!important;font-size:14px!important;line-height:1!important;transform:none!important}
.hp-chat-launcher span{font-size:22px!important;line-height:1!important}
.hp-chat-launcher b{font-size:14px!important;line-height:1!important}
@media(max-width:520px){.hp-chat-launcher{width:56px!important;height:56px!important}}

.hp-chat-message.system{
  align-self:center;
  max-width:92%;
  background:#eaf3ff;
  color:#34516f;
  border:1px solid #cfe0f3;
  box-shadow:none;
  text-align:center;
  font-size:11px;
  font-weight:800;
}
