
#support-panel {
  box-sizing:border-box;
  max-height:calc(100dvh - 110px);
  overflow-y:auto;
  max-width:calc(100vw - 24px);
}
#support-panel #support-note {display:none!important}
#cn-livechat {
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #36c9ff70;
  color:#eaf2ff;
}
#cn-livechat h3 {color:#62edff;margin:0 0 8px}
#cn-livechat p {font-size:14px}
#cn-livechat label {display:block;margin:10px 0;color:#c9e2f6}
#cn-livechat input,#cn-livechat textarea {
  box-sizing:border-box;
  display:block;
  width:100%;
  padding:10px;
  margin-top:5px;
  color:#f5f9ff;
  background:#122d45;
  border:1px solid #6b9fbe;
  border-radius:8px;
  font:inherit;
}
#cn-livechat textarea {resize:vertical}
#cn-livechat button {
  padding:10px 16px;
  border:1px solid #33c4ff;
  border-radius:9px;
  background:linear-gradient(110deg,#009bff,#0076ec);
  color:white;
  font:inherit;
  cursor:pointer;
}
#cn-livechat button:disabled {opacity:.5;cursor:wait}
#cn-livechat .cn-chat-log {
  max-height:220px;
  overflow-y:auto;
  overflow-wrap:anywhere;
}
#cn-livechat .cn-chat-log p {
  padding:9px;
  background:#122d4580;
  border-radius:8px;
  white-space:pre-wrap;
}
#cn-livechat .cn-chat-status {color:#b7d8ee;font-size:12px}
#cn-livechat [hidden] {display:none!important}

/* CN_CHAT_WIDGET_V2 */
#cn-chat-bubble{
  position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));
  z-index:2147483001;border:1px solid #62edff;border-radius:30px;
  padding:14px 20px;background:#087fca;color:white;
  font:600 16px system-ui;cursor:pointer;
  box-shadow:0 6px 24px #0008;
}
#cn-livechat{
  box-sizing:border-box;position:fixed;right:16px;
  bottom:calc(82px + env(safe-area-inset-bottom));
  width:360px;max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 110px - env(safe-area-inset-bottom));
  overflow-y:auto;margin:0;padding:16px;
  z-index:2147483000;background:#071e30;
  border:1px solid #36c9ff;border-radius:18px;
  box-shadow:0 12px 40px #0009;font:14px system-ui;
}
#cn-livechat .cn-chat-tools{
  display:flex;justify-content:space-between;gap:8px;margin-bottom:12px;
}
#cn-livechat .cn-chat-tools button{
  padding:7px 9px;font-size:12px;background:#16384f;
}
#cn-livechat .cn-chat-log{max-height:180px}
#cn-livechat textarea{min-height:64px}
#cn-livechat [hidden]{display:none!important}
#cn-chat-bubble:focus-visible,#cn-livechat button:focus-visible{
  outline:3px solid #fff;outline-offset:3px;
}

/* CN_CHAT_COMPACTO */
#support-panel{
  position:fixed!important;
  top:auto!important;
  left:auto!important;
  right:12px!important;
  bottom:80px!important;
  width:340px!important;
  max-width:calc(100vw - 24px)!important;
  height:auto!important;
  max-height:min(440px, calc(100dvh - 110px))!important;
  padding:14px!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
}
#cn-livechat{
  width:340px!important;
  max-width:calc(100vw - 24px)!important;
  max-height:min(440px, calc(100dvh - 110px))!important;
  box-sizing:border-box!important;
}
#support-panel #cn-livechat{
  position:static!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:10px!important;
  padding:10px 0 0!important;
}
#cn-livechat .cn-chat-log{
  max-height:140px!important;
  overflow-y:auto!important;
}
#cn-livechat textarea{
  min-height:60px!important;
  height:60px!important;
}
