/* ── Root ───────────────────────────────────────────────────── */
.pe-chat-root { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.pe-chat-root *, .pe-chat-root *::before, .pe-chat-root *::after { box-sizing: inherit; }
/* Appearance knobs (set per-bot via inline custom properties):
   --pe-w width · --pe-h max height · --pe-fs message font size · --pe-radius corners */

/* The `hidden` attribute must actually hide the window. The rules below set
   `display: flex` on .pe-window, and an author declaration beats the UA
   stylesheet's `[hidden] { display: none }` — so without this the toggle and
   the ✕ button flip the attribute but the window never collapses. Higher
   specificity (0,4,0) than the display rules (0,3,0), so it wins. */
.pe-chat-root .pe-widget .pe-window[hidden] { display: none; }

/* Every rule below is scoped under .pe-chat-root. Page builders style all
   buttons and text boxes with rules like `.elementor-kit-927 button` (0,1,1),
   which beat a single widget class and gave the icon buttons, the send arrow
   and the typing box the theme's borders and padding. Two classes win. */
.pe-chat-root button, .pe-chat-root textarea, .pe-chat-root input {
  margin: 0; min-height: 0; min-width: 0; box-shadow: none;
  text-transform: none; letter-spacing: normal; font-family: inherit;
}

/* ── Float mode ────────────────────────────────────────────── */
.pe-chat-root .pe-mode-float .pe-toggle-btn{
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  width: var(--pe-launcher, 56px); height: var(--pe-launcher, 56px); border-radius: 50%;
  background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s; overflow: hidden;
}
.pe-chat-root .pe-mode-float .pe-toggle-btn:hover{ transform: scale(1.08); }
.pe-chat-root .pe-mode-float .pe-toggle-btn:focus-visible{ outline: 3px solid var(--pe-colour, #2271b1); outline-offset: 3px; }

/* Picture launcher: the chatbot's own picture stands in the corner, with no
   coloured circle behind it, and peeks up from the bottom edge on page load. */
.pe-chat-root .pe-launcher-avatar.pe-mode-float .pe-toggle-btn{
  width: var(--pe-launcher, 64px); height: var(--pe-launcher, 64px);
  background: transparent; box-shadow: none; border-radius: 0; overflow: visible;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s;
}
.pe-chat-root .pe-launcher-avatar.pe-mode-float .pe-toggle-btn img{ object-fit: contain; }
/* Round (the default): a square photo or screenshot is cropped to a circle.
   "As it is" keeps a cut-out picture's own shape. */
.pe-chat-root .pe-launcher-round.pe-mode-float .pe-toggle-btn img{ object-fit: cover; border-radius: 50%; background: #fff; }
.pe-chat-root .pe-launcher-avatar.pe-mode-float .pe-toggle-btn:hover{ transform: translateY(-4px) scale(1.05); }
.pe-chat-root .pe-launcher-avatar.pe-mode-float .pe-toggle-btn.pe-peek-start{ transform: translateY(140%); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .pe-chat-root .pe-launcher-avatar.pe-mode-float .pe-toggle-btn{ transition: none; }
}

/* Message bubble beside the corner button */
.pe-chat-root .pe-launcher-tip{
  position: fixed; z-index: 9998; right: calc(24px + var(--pe-launcher, 56px) + 12px); bottom: 32px;
  display: flex; align-items: flex-start; gap: 6px; max-width: 240px;
  background: #fff; color: #1d2327; border-radius: 14px 14px 4px 14px;
  padding: 10px 8px 10px 14px; font-size: 14px; line-height: 1.4;
  box-shadow: 0 6px 24px rgba(0,0,0,.18); animation: pe-tip-in .35s ease-out;
}
.pe-chat-root .pe-launcher-tip[hidden]{ display: none; }
.pe-chat-root .pe-launcher-tip-text{ cursor: pointer; }
.pe-chat-root .pe-launcher-tip-close{ background: none; border: none; padding: 0; color: #787c82; cursor: pointer; line-height: 0; }
.pe-chat-root .pe-pos-left .pe-launcher-tip{ right: auto; left: calc(24px + var(--pe-launcher, 56px) + 12px); border-radius: 14px 14px 14px 4px; }
.pe-chat-root .pe-dark .pe-launcher-tip{ background: #2c3338; color: #e4e6ea; }
@keyframes pe-tip-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pe-chat-root .pe-mode-float .pe-toggle-btn img{ width: 100%; height: 100%; object-fit: cover; }
.pe-chat-root .pe-avatar-initials{ font-size: 18px; font-weight: 700; }

.pe-chat-root .pe-mode-float .pe-window{
  position: fixed; bottom: calc(36px + var(--pe-launcher, 56px)); right: 24px; z-index: 9999;
  width: var(--pe-w, 360px);
  /* Never taller than the screen above the corner button (short laptop screens). */
  max-height: min(var(--pe-h, 520px), calc(100vh - var(--pe-launcher, 56px) - 52px));
  display: flex; flex-direction: column;
  border-radius: var(--pe-radius, 12px); overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  background: #fff;
}

/* Left-side placement (float mode) */
.pe-chat-root .pe-pos-left .pe-toggle-btn{ left: 24px; right: auto; }
.pe-chat-root .pe-pos-left.pe-mode-float .pe-window{ left: 24px; right: auto; }

/* ── Embed mode ────────────────────────────────────────────── */
.pe-chat-root .pe-mode-embed .pe-window{
  position: relative; width: 100%;
  max-height: var(--pe-h, 600px);
  display: flex; flex-direction: column;
  border-radius: var(--pe-radius, 12px); overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  background: #fff;
}

/* ── Full-page view (opened from the full-screen button) ───── */
body.pe-full-page { margin: 0; background: #f6f7f7; }
.pe-chat-root .pe-mode-full .pe-window{
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; background: #fff;
}
.pe-chat-root .pe-mode-full .pe-messages,
.pe-chat-root .pe-mode-full .pe-input-row,
.pe-chat-root .pe-mode-full .pe-footer,
.pe-chat-root .pe-mode-full .pe-compliance,
.pe-chat-root .pe-mode-full .pe-credit{ width: calc(100% - 24px); max-width: 820px; margin-left: auto; margin-right: auto; }
.pe-chat-root .pe-mode-full .pe-messages{ width: 100%; }
.pe-chat-root .pe-mode-full .pe-input-row{ margin-bottom: 8px; }
.pe-chat-root .pe-dark.pe-mode-full .pe-window{ background: #1d2327; }

/* ── Window parts ──────────────────────────────────────────── */
.pe-chat-root .pe-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff);
  font-weight: 600; font-size: 15px; flex-shrink: 0;
}
.pe-chat-root .pe-header-name-wrap{ display: flex; flex-direction: column; min-width: 0; }
.pe-chat-root .pe-header-sub{ font-size: 11px; font-weight: 400; opacity: .85; }
.pe-chat-root .pe-header-actions{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pe-chat-root .pe-icon-btn{
  position: relative; background: none; border: none; padding: 4px;
  color: inherit; cursor: pointer; line-height: 0; border-radius: 6px; opacity: .85;
}
.pe-chat-root .pe-icon-btn:hover, .pe-chat-root .pe-icon-btn:focus-visible{ opacity: 1; background: rgba(127,127,127,.15); }
.pe-chat-root .pe-icon-btn:disabled{ opacity: .35; cursor: not-allowed; background: none; }
/* Themes that style every button would otherwise show hidden ones (✉, 📇). */
.pe-chat-root .pe-icon-btn[hidden]{ display: none; }
.pe-chat-root .pe-header .pe-icon-btn{ color: var(--pe-on-colour, #fff); }
.pe-chat-root .pe-close.pe-done{ opacity: .4; }
/* Small dark label under (header) or over (footer) an icon button */
.pe-chat-root .pe-icon-btn[data-tip]:hover::after, .pe-chat-root .pe-icon-btn[data-tip]:focus-visible::after{
  content: attr(data-tip); position: absolute; top: calc(100% + 6px); right: 0;
  background: #3c434a; color: #fff; font-size: 12px; font-weight: 400; line-height: 1.3;
  padding: 5px 8px; border-radius: 4px; white-space: nowrap; pointer-events: none; z-index: 3;
}
.pe-chat-root .pe-footer .pe-icon-btn[data-tip]:hover::after, .pe-chat-root .pe-footer .pe-icon-btn[data-tip]:focus-visible::after{
  top: auto; bottom: calc(100% + 6px); right: auto; left: 0;
}

.pe-chat-root .pe-messages{
  flex: 1; overflow-y: auto; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
}

.pe-chat-root .pe-compliance{
  font-size: 10px; color: #999; padding: 4px 14px;
  border-top: 1px solid #f0f0f0; text-align: center;
  -webkit-user-select: none; user-select: none; /* a missed tap must not select it */
}
.pe-chat-root .pe-credit{ font-size: 10px; color: #999; padding: 0 14px 4px; text-align: center; }
.pe-chat-root .pe-credit a{ color: inherit; text-decoration: underline; }

/* ── Mode badge + unlock ───────────────────────────────────── */
.pe-chat-root .pe-mode-row{
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 14px; font-size: 11px; color: #666;
  border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.pe-chat-root .pe-mode-badge{
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
}
.pe-chat-root .pe-mode-unlock-toggle{
  background: none; border: none; color: var(--pe-colour, #2271b1);
  font-size: 11px; cursor: pointer; padding: 0; text-decoration: underline;
}
.pe-chat-root .pe-unlock-row{
  display: none; align-items: center; gap: 6px;
  padding: 8px 14px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.pe-chat-root .pe-unlock-row.pe-open{ display: flex; }
.pe-chat-root .pe-unlock-input{
  flex: 1; border: 1px solid #ddd; border-radius: 14px;
  padding: 5px 10px; font-size: 12px; outline: none;
}
.pe-chat-root .pe-unlock-submit{
  border: none; background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff); border-radius: 14px;
  padding: 5px 12px; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.pe-chat-root .pe-unlock-submit:disabled{ opacity: .5; cursor: not-allowed; }
.pe-chat-root .pe-unlock-error{ font-size: 11px; color: #c0392b; padding: 0 14px 6px; display: none; }
.pe-chat-root .pe-unlock-error.pe-open{ display: block; }

.pe-chat-root .pe-input-row{
  display: flex; align-items: flex-end; gap: 4px;
  margin: 10px 12px; padding: 4px 6px 4px 16px; flex-shrink: 0;
  border: 1.5px solid #dcdcde; border-radius: 26px; background: #fff;
  transition: border-color .15s;
}
.pe-chat-root .pe-input-row:focus-within{ border-color: var(--pe-colour, #2271b1); }
.pe-chat-root .pe-input{
  flex: 1; border: none; background: transparent; padding: 9px 0;
  font-size: 15px; resize: none; max-height: 120px; outline: none;
  line-height: 1.4; font-family: inherit; color: inherit;
}
.pe-chat-root .pe-send{
  border: none; background: none; flex-shrink: 0; padding: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--pe-colour, #2271b1); cursor: pointer; transition: opacity .15s, background .15s;
}
.pe-chat-root .pe-send:hover:not(:disabled){ background: color-mix(in srgb, var(--pe-colour, #2271b1) 12%, transparent); }
.pe-chat-root .pe-send:disabled{ opacity: .3; cursor: default; }

/* ── Footer: start over, download, small text ──────────────── */
.pe-chat-root .pe-footer{
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 14px 10px; flex-shrink: 0; color: #787c82;
}
.pe-chat-root .pe-footer-actions{ display: flex; gap: 6px; }
.pe-chat-root .pe-footer-text{ font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-align: right; margin-left: auto; }

/* ── Leave a message form (v2.0.0) ─────────────────────────── */
.pe-chat-root .pe-msgform{
  align-self: stretch; display: flex; flex-direction: column; gap: 8px;
  border: 1px solid color-mix(in srgb, var(--pe-colour, #2271b1) 35%, #dcdcde);
  border-radius: 12px; padding: 12px; background: #fff; color: #1d2327;
  font-size: var(--pe-fs, 14px);
}
.pe-chat-root .pe-msgform-title{ font-weight: 700; }
.pe-chat-root .pe-msgform-intro{ color: #50575e; line-height: 1.5; }
.pe-chat-root .pe-msgform-field{ display: flex; flex-direction: column; gap: 3px; }
.pe-chat-root .pe-msgform-field label{ font-size: 12px; color: #50575e; }
.pe-chat-root .pe-msgform input[type=text], .pe-chat-root .pe-msgform textarea{
  font: inherit; border: 1px solid #c3c4c7; border-radius: 8px; padding: 7px 9px;
  background: #fff; color: inherit; resize: vertical; width: 100%; box-sizing: border-box;
}
.pe-chat-root .pe-msgform input:focus, .pe-chat-root .pe-msgform textarea:focus{
  outline: none; border-color: var(--pe-colour, #2271b1);
}
.pe-chat-root .pe-msgform-hp{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pe-chat-root .pe-msgform-consent{ display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: #50575e; cursor: pointer; }
.pe-chat-root .pe-msgform-consent input{ margin-top: 2px; flex-shrink: 0; }
.pe-chat-root .pe-msgform-error{ color: #b32d2e; font-size: 12px; }
.pe-chat-root .pe-msgform-error:empty{ display: none; }
.pe-chat-root .pe-msgform-actions{ display: flex; justify-content: flex-end; gap: 8px; }
.pe-chat-root .pe-msgform-actions button{ font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 8px; cursor: pointer; }
.pe-chat-root .pe-msgform-cancel{ background: none; color: var(--pe-colour, #2271b1); border: 1px solid var(--pe-colour, #2271b1); }
.pe-chat-root .pe-msgform-send{ background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff); border: 1px solid var(--pe-colour, #2271b1); }
.pe-chat-root .pe-msgform-send:disabled{ opacity: .6; cursor: default; }
.pe-chat-root .pe-msgform-done{
  align-self: stretch; text-align: center; font-size: 13px; color: #1d2327; padding: 10px;
  border-radius: 12px; background: color-mix(in srgb, var(--pe-colour, #2271b1) 12%, #fff);
}

/* ── Welcome block at the top of a new chat ────────────────── */
.pe-chat-root .pe-welcome{ text-align: center; padding: 18px 8px 10px; }
.pe-chat-root .pe-welcome-avatar{
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.pe-chat-root .pe-welcome-initials{ background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff); font-size: 28px; font-weight: 700; }
.pe-chat-root .pe-welcome-title{ margin-top: 12px; font-size: calc(var(--pe-fs, 14px) + 8px); font-weight: 700; line-height: 1.25; color: #1d2327; }

/* ── Confirmation dialog (inside the chat window) ──────────── */
.pe-chat-root .pe-dialog-backdrop{
  position: absolute; inset: 0; z-index: 5; background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.pe-chat-root .pe-dialog-backdrop[hidden]{ display: none; }
.pe-chat-root .pe-dialog{
  position: relative; width: 100%; max-width: 360px; background: #fff; color: #1d2327;
  border-radius: 10px; padding: 20px 20px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
.pe-chat-root .pe-dialog-x{ position: absolute; top: 12px; right: 12px; color: #1d2327; }
.pe-chat-root .pe-dialog-title{ font-size: 17px; font-weight: 700; margin: 0 28px 10px 0; }
.pe-chat-root .pe-dialog-text{ font-size: 14px; line-height: 1.6; color: #3c434a; }
.pe-chat-root .pe-dialog-actions{ display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pe-chat-root .pe-dialog-actions button{
  font: inherit; font-size: 15px; padding: 9px 18px; border-radius: 8px; cursor: pointer;
}
.pe-chat-root .pe-dialog-cancel{ background: #fff; color: var(--pe-colour, #2271b1); border: 1.5px solid var(--pe-colour, #2271b1); }
.pe-chat-root .pe-dialog-ok{ background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff); border: 1.5px solid var(--pe-colour, #2271b1); }

/* ── Starter prompts ───────────────────────────────────────── */
.pe-chat-root .pe-starters{ display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0; }
.pe-chat-root .pe-starter{
  border: 1px solid color-mix(in srgb, var(--pe-colour, #2271b1) 40%, #fff);
  background: none; color: var(--pe-colour, #2271b1);
  border-radius: 14px; padding: 5px 12px; font-size: 12px;
  cursor: pointer; font-family: inherit;
}
.pe-chat-root .pe-starter:hover{ background: color-mix(in srgb, var(--pe-colour, #2271b1) 10%, transparent); }

/* ── Messages ──────────────────────────────────────────────── */
.pe-chat-root .pe-msg{
  max-width: 80%; padding: 8px 12px;
  border-radius: 12px; font-size: var(--pe-fs, 14px); line-height: 1.5;
  white-space: pre-wrap; word-break: break-word;
}
.pe-chat-root .pe-msg-user{
  align-self: flex-end;
  background: var(--pe-colour, #2271b1); color: var(--pe-on-colour, #fff);
  border-bottom-right-radius: 4px;
}
.pe-chat-root .pe-msg-bot{
  align-self: flex-start; background: #f1f1f1; color: #1d2327;
  border-bottom-left-radius: 4px;
}
.pe-chat-root .pe-msg-error{ font-style: italic; opacity: .85; }
.pe-chat-root .pe-msg-bot a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }

/* ── Cursor blink ──────────────────────────────────────────── */
.pe-chat-root .pe-cursor{ animation: pe-blink .8s infinite; }
@keyframes pe-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Dark mode (per-bot: auto / on / off) ──────────────────── */
.pe-chat-root .pe-dark .pe-window{ background: #1d2327; }
.pe-chat-root .pe-dark .pe-msg-bot{ background: #2c3338; color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-messages{ background: #1d2327; }
.pe-chat-root .pe-dark .pe-input-row{ background: #2c3338; border-color: #3c434a; color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-input-row:focus-within{ border-color: var(--pe-colour, #72aee6); }
.pe-chat-root .pe-dark .pe-welcome-title{ color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-footer{ color: #a7aaad; }
.pe-chat-root .pe-dark .pe-dialog{ background: #2c3338; color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-dialog-x{ color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-dialog-text{ color: #c3c4c7; }
.pe-chat-root .pe-dark .pe-dialog-cancel{ background: transparent; }
.pe-chat-root .pe-dark .pe-mode-row, .pe-chat-root .pe-dark .pe-unlock-row{ border-bottom-color: #3c434a; color: #a7aaad; }
.pe-chat-root .pe-dark .pe-unlock-input{ background: #2c3338; border-color: #3c434a; color: #e4e6ea; }
.pe-chat-root .pe-dark .pe-compliance{ border-top-color: #3c434a; color: #787c82; }
.pe-chat-root .pe-dark .pe-credit{ color: #787c82; }
.pe-chat-root .pe-dark .pe-starter{ border-color: #3c434a; color: #72aee6; }
.pe-chat-root .pe-dark .pe-starter:hover{ background: #2c3338; }
.pe-chat-root .pe-dark .pe-msgform{ background: #2c3338; color: #e4e6ea; border-color: #3c434a; }
.pe-chat-root .pe-dark .pe-msgform-intro, .pe-chat-root .pe-dark .pe-msgform-field label, .pe-chat-root .pe-dark .pe-msgform-consent{ color: #a7aaad; }
.pe-chat-root .pe-dark .pe-msgform input[type=text], .pe-chat-root .pe-dark .pe-msgform textarea{ background: #1d2327; border-color: #3c434a; }
.pe-chat-root .pe-dark .pe-msgform-done{ background: #2c3338; color: #e4e6ea; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Open on a phone = a full-screen sheet, like most site chat assistants.
     100dvh is the height Safari actually shows (90vh counted the space under
     its address bar, hiding the header buttons); 100vw ignores anything on
     the page that is wider than the screen. */
  .pe-chat-root .pe-mode-float .pe-window{
    top: 0; bottom: auto; right: auto; left: 0;
    width: 100vw; height: 100vh; height: 100dvh; max-height: none;
    border-radius: 0; box-shadow: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pe-chat-root .pe-mode-float .pe-header{
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  /* Bigger tap targets for minimise / full screen. */
  .pe-chat-root .pe-mode-float .pe-header .pe-icon-btn{ padding: 8px; }
  .pe-chat-root .pe-mode-float .pe-header-actions{ gap: 4px; }
  /* Safari zooms the whole page into any text box under 16px, which pushed
     the window's right edge off screen. */
  .pe-chat-root .pe-input, .pe-chat-root .pe-unlock-input,
  .pe-chat-root .pe-msgform input[type=text], .pe-chat-root .pe-msgform textarea{ font-size: 16px; }
  /* A finger-sized send arrow (Apple's minimum is 44px), and no double-tap zoom on it. */
  .pe-chat-root .pe-send{ width: 44px; height: 44px; touch-action: manipulation; }
  .pe-chat-root .pe-mode-float .pe-toggle-btn.pe-open,
  html.pe-sheet-open .pe-chat-root .pe-launcher-tip{ display: none; }
  html.pe-sheet-open, html.pe-sheet-open body{ overflow: hidden; }
  .pe-chat-root .pe-mode-float .pe-toggle-btn{ bottom: 16px; right: 16px; }
  .pe-chat-root .pe-pos-left.pe-mode-float .pe-toggle-btn{ left: 16px; right: auto; }
  .pe-chat-root .pe-launcher-tip{ right: calc(16px + var(--pe-launcher, 56px) + 10px); bottom: 24px; max-width: 200px; }
}

/* v2.1.0: a link an add-on would not vouch for (linkify policy "plain-note"). */
.pe-link-note { font-size: 0.8em; opacity: 0.7; white-space: nowrap; }
