body.picto-chat-ready .joinchat { display: none !important; }
#picto-live-chat {
  position: fixed; z-index: 9997; inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom), var(--picto-chat-keyboard, 0px));
  color: #242025; font: 15px/1.45 system-ui, sans-serif;
}
#picto-live-chat [hidden], #picto-live-chat[hidden] { display: none !important; }
#picto-live-chat button, #picto-live-chat textarea { font: inherit; margin: 0; box-shadow: none; }
#picto-live-chat :focus-visible { outline: 2px solid #9a1046; outline-offset: 3px; }
#picto-live-chat .picto-chat-trigger {
  --picto-chat-trigger-bg: #ad1452;
  display: flex; align-items: center; gap: 9px; border: 0; border-radius: 30px;
  min-height: 52px; padding: 10px 17px; color: #fff; background: var(--picto-chat-trigger-bg);
  font-weight: 720; text-transform: none; box-shadow: 0 7px 24px #2514204d;
}
.picto-chat-icon { display: block; position: relative; width: 18px; height: 14px; border: 2px solid currentColor; border-radius: 5px; }
.picto-chat-icon::after { content: ""; position: absolute; width: 5px; height: 5px; left: 2px; bottom: -4px; background: var(--picto-chat-trigger-bg); border-left: 2px solid; border-bottom: 2px solid; transform: skewY(-32deg); }
.picto-chat-unread { background: white; color: #9a1046; min-width: 20px; padding: 0 4px; border-radius: 20px; text-align: center; }
#picto-live-chat .picto-chat-label-mobile { display: none; }
@media (max-width: 767px), (max-width: 1000px) and (max-height: 500px) and (pointer: coarse) {
  #picto-live-chat.is-open { z-index: 10051; }
  #picto-live-chat .picto-chat-label-desktop { display: none; }
  #picto-live-chat .picto-chat-label-mobile { display: inline; }
  #picto-live-chat .picto-chat-trigger {
    min-height: 44px; padding: 7px 12px; gap: 7px; font-size: 13px;
    box-shadow: 0 3px 10px #25142030;
  }
}
.picto-chat-panel {
  width: min(390px, calc(100vw - 32px)); max-height: min(570px, calc(100dvh - 32px - var(--picto-chat-keyboard, 0px)));
  margin-bottom: 9px; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #ded5db; border-radius: 17px;
  box-shadow: 0 12px 40px #2514204d;
}
.picto-chat-panel > :not(.picto-chat-log) { flex-shrink: 0; }
.picto-chat-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 6px 2px 12px; background: #252024; color: white; }
#picto-live-chat .picto-chat-title { margin: 0; color: white; font: 700 17px/1.2 system-ui, sans-serif; }
#picto-live-chat .picto-chat-close { flex: 0 0 44px; background: transparent; color: white; border: 0; border-radius: 8px; width: 44px; height: 44px; padding: 0; font-size: 24px; }
#picto-live-chat .picto-chat-close:focus-visible { outline-color: white; }
.picto-chat-log { display: flex; flex-direction: column; flex: 1 1 215px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; gap: 8px; padding: 8px 12px; }
.picto-chat-log > * { flex-shrink: 0; }
#picto-live-chat .picto-chat-log p {
  max-width: 90%; width: fit-content; padding: 8px 11px; margin: 0;
  border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; background: #f0ecf0;
}
#picto-live-chat .picto-chat-log p[data-direction="inbound"] { align-self: flex-end; background: #f9dbe9; }
#picto-live-chat .picto-chat-log p[data-direction] a { color: #75234c; text-decoration: underline; text-underline-offset: .15em; }
#picto-live-chat .picto-chat-log p[data-direction] a:focus-visible { outline: 2px solid #75234c; outline-offset: 2px; }
.picto-chat-turn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.picto-chat-turn[data-direction="inbound"] { align-items: flex-end; }
#picto-live-chat .picto-chat-status { color: #4a3a47; margin: 0; padding: 3px 12px; font-size: 12px; }
#picto-live-chat .picto-chat-status:empty { display: none; }
.picto-chat-form { padding: 6px 12px 3px; border-top: 1px solid #ece6eb; }
.picto-chat-form label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.picto-chat-form div { display: flex; align-items: end; gap: 8px; }
#picto-live-chat textarea { box-sizing: border-box; flex: 1; width: 100%; min-width: 0; height: 48px; resize: none; border: 1px solid #9b8995; padding: 6px 8px; border-radius: 8px; color: #242025; background: white; font-size: 16px; }
#picto-live-chat .picto-chat-form button { border: 0; border-radius: 9px; min-height: 44px; padding: 8px 12px; font-weight: 700; text-transform: none; background: #ad1452; color: white; }
#picto-live-chat .picto-chat-form button:disabled { opacity: .6; cursor: wait; }
#picto-live-chat .webchat-attach-row { justify-content: space-between; align-items: center; gap: 7px; padding-top: 5px; flex-wrap: wrap; }
#picto-live-chat .picto-chat-form .webchat-attach {
  min-height: 38px; border: 1px solid #e8dce4; padding: 4px 8px; background: #fcf9fb; color: #612641;
  font-size: 13px;
}
#picto-live-chat .webchat-attach-row small { color: #5c4d58; font-size: 11px; }
#picto-live-chat .webchat-picked-files,
#picto-live-chat .webchat-message-files { list-style: none; margin: 4px 0; padding: 0; max-width: 100%; }
#picto-live-chat .webchat-picked-files li { display: flex; align-items: center; justify-content: space-between; gap: 6px; overflow-wrap: anywhere; font-size: 12px; }
#picto-live-chat .webchat-picked-files li span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#picto-live-chat .webchat-picked-files button { min-height: 32px; padding: 2px 8px; background: #f7edf3; color: #612641; }
#picto-live-chat .webchat-message-files { min-width: 0; }
#picto-live-chat .webchat-message-files li { background: #fcf9fb; border: 1px solid #e8dce4; border-radius: 9px; margin-bottom: 4px; padding: 8px; overflow-wrap: anywhere; }
#picto-live-chat .webchat-message-files :is(strong,small) { display: block; font-size: 12px; }
#picto-live-chat .webchat-message-files div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
#picto-live-chat .webchat-message-files button {
  min-height: 34px; padding: 4px 6px; border: 0; border-radius: 6px;
  background: #f7edf3; color: #612641; font-size: 12px; font-weight: 650; text-transform: none;
}
#picto-live-chat .webchat-message-files img { display: block; max-width: 100%; max-height: 200px; margin-top: 5px; object-fit: contain; }
#picto-live-chat .webchat-file-error { color: #8a1b50; font-size: 12px; }
.picto-chat-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 9px; }
#picto-live-chat .picto-chat-actions :is(.picto-chat-whatsapp,.picto-chat-contact-open,.picto-chat-contact-saved) {
  display: flex; align-items: center; gap: 6px;
  min-width: 0; min-height: 44px; margin: 0; padding: 4px 8px; box-sizing: border-box;
  border: 1px solid #e8dce4; border-radius: 11px; background: #fcf9fb; color: #3f2a37;
  font: 650 12px/1.2 system-ui, sans-serif; text-decoration: none; text-transform: none;
}
#picto-live-chat .picto-chat-actions :is(.picto-chat-whatsapp,.picto-chat-contact-open):hover {
  background: #f7edf3; border-color: #d7b8c9; color: #612641;
}
#picto-live-chat .picto-chat-whatsapp { flex: 1 1 136px; }
#picto-live-chat .picto-chat-actions :is(.picto-chat-contact-open,.picto-chat-contact-saved) {
  flex: 1 1 110px; justify-content: center; text-align: center;
}
.picto-chat-wa-mark {
  position: relative; flex: 0 0 22px; height: 22px;
  border-radius: 50%; background: #f2e5ed; color: #8d345c;
}
.picto-chat-wa-mark::before,
.picto-chat-wa-mark::after { content: ""; position: absolute; box-sizing: border-box; }
.picto-chat-wa-mark::before { inset: 5px 5px 6px; border: 1.5px solid currentColor; border-radius: 5px; }
.picto-chat-wa-mark::after {
  left: 8px; bottom: 5px; width: 4px; height: 4px; background: #f2e5ed;
  border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: skewY(-32deg);
}
.picto-chat-wa-label { flex: 1; }
.picto-chat-wa-arrow { color: #8d345c; font-size: 16px; }
#picto-live-chat .picto-chat-hours {
  margin: 0; padding: 8px 12px; color: #5e3348; background: #f9edf3; font-size: 12px;
}
.picto-chat-contact {
  position: fixed; inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom), var(--picto-chat-keyboard, 0px)) auto;
  box-sizing: border-box; width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 32px - var(--picto-chat-keyboard, 0px));
  margin: 0; padding: 12px; overflow-y: auto;
  border: 1px solid #e8dce4; border-radius: 12px; color: #4a3041; background: white;
  box-shadow: 0 8px 30px #2514204d; font: 13px/1.35 system-ui, sans-serif;
}
/* The modal is above the site's custom cursor, so it uses the native pointer. */
#picto-live-chat .picto-chat-contact,
#picto-live-chat .picto-chat-contact::backdrop { cursor: default !important; }
.picto-chat-contact::backdrop { background: #25142055; }
#picto-live-chat .picto-chat-contact input { cursor: text !important; }
#picto-live-chat .picto-chat-contact :is(button,select,label) { cursor: pointer !important; }
#picto-live-chat .picto-chat-contact button:disabled { cursor: wait !important; }
.picto-chat-contact-header { display: flex; align-items: center; justify-content: space-between; }
#picto-live-chat #picto-chat-contact-title { margin: 0; font-size: 16px; font-weight: 700; }
#picto-live-chat .picto-chat-contact-close {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; color: #612641; background: #f7edf3; font-size: 21px;
}
.picto-chat-contact :is(p,label) { margin: 3px 0 6px; }
.picto-chat-contact-form label { display: block; font-size: 12px; }
.picto-chat-contact-fields { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 6px; }
#picto-live-chat .picto-chat-contact-fields :is(input,select,button) {
  min-width: 0; min-height: 44px; padding: 4px 7px; border: 1px solid #dacbd5;
  border-radius: 6px; color: #4a3041; background: white; font: inherit; margin: 0;
}
#picto-live-chat .picto-chat-contact-fields input { flex: 1 1 118px; font-size: 16px; }
#picto-live-chat .picto-chat-contact-fields button { background: #f7edf3; font-weight: 650; text-transform: none; }
.picto-chat-contact-status:empty { display: none; }
#picto-live-chat.picto-chat-short .picto-chat-hours { padding-block: 4px; }
#picto-live-chat.picto-chat-short .picto-chat-log { padding-block: 3px; }
#picto-live-chat.picto-chat-short .picto-chat-form label { margin-bottom: 2px; }
#picto-live-chat.picto-chat-short #picto-chat-message { height: 44px; }
#picto-live-chat.picto-chat-short .picto-chat-actions { padding-block: 2px 6px; }
#picto-live-chat.picto-chat-short .webchat-picked-files { display: flex; gap: 5px; }
#picto-live-chat.picto-chat-short .webchat-picked-files li { flex: 1 1 0; min-width: 0; }
#picto-live-chat.is-open .picto-chat-trigger { display: none; }
#picto-live-chat.is-open .picto-chat-panel { margin-bottom: 0; }
