.l1337-chat {
  --chat-teal: #075a50;
  position: fixed;
  inset: auto 20px 20px auto;
  z-index: 9998;
  display: grid;
  justify-items: end;
  gap: 10px;
  color: #152525;
  font: 15px/1.45 system-ui, sans-serif;
}
body:has(.site-cookie-notice) .l1337-chat { bottom: 100px; }
.l1337-chat [hidden] { display: none !important; }
.l1337-chat-panel {
  width: min(360px, calc(100vw - 40px));
  max-height: min(635px, calc(100dvh - 100px));
  overflow: auto;
  background: #fff;
  border: 1px solid #bfcac8;
  border-radius: 13px;
  box-shadow: 0 8px 30px #10292333;
}
body:has(.site-cookie-notice) .l1337-chat-panel { max-height: calc(100dvh - 170px); }
.l1337-chat header { display: flex; justify-content: space-between; align-items: start; padding: 14px 16px; background: var(--chat-teal); color: #fff; }
.l1337-chat h2 { font: 650 18px/1.25 system-ui, sans-serif; margin: 0; color: inherit; }
.l1337-chat p { margin: 0; }
.l1337-chat .l1337-chat-status { margin-top: 3px; color: #e3f3ef; font-size: 13px; }
.l1337-chat button { cursor: pointer; font: inherit; }
.l1337-chat-close { border: 0; color: white; background: transparent; min-width: 32px; min-height: 32px; font-size: 23px !important; }
.l1337-chat-intro { padding: 12px 16px 0; }
.l1337-chat-form { display: grid; gap: 7px; padding: 12px 16px 16px; }
.l1337-chat-form label { display: block; color: #152525; font-size: 13px; }
.l1337-chat-form textarea, .l1337-chat-form input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #8d9b98;
  border-radius: 6px;
  color: #152525;
  background: white;
  font: inherit;
  box-sizing: border-box;
}
.l1337-chat-form input { margin-top: 4px; }
.l1337-chat .l1337-chat-feedback { font-size: 13px; min-height: 1em; }
.l1337-chat-send, .l1337-chat-launch {
  background: var(--chat-teal);
  color: white;
  border: 1px solid var(--chat-teal);
  padding: 9px 17px;
  border-radius: 7px;
}
.l1337-chat-launch {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 3px 10px #10292333;
}
.l1337-chat-send:disabled { opacity: .65; cursor: default; }
.l1337-chat-messages { display: grid; gap: 8px; padding: 12px 16px 0; max-height: 200px; overflow: auto; }
.l1337-chat-messages p { width: fit-content; max-width: 90%; padding: 7px 10px; border-radius: 8px; background: #edf1f0; white-space: pre-wrap; overflow-wrap: anywhere; }
.l1337-chat-messages .from-visitor { justify-self: end; background: #dcefeb; }
.l1337-chat :focus-visible { outline: 2px solid #2974ce; outline-offset: 2px; }
