/* Live chat — startscreen redesign (ROQAgency ink + accent) */
@font-face{font-family:Jost;font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/Jost.woff2") format("woff2")}
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:400 900;font-display:swap;src:url("../fonts/Playfair.woff2") format("woff2")}
@font-face{font-family:"Playfair Display";font-style:italic;font-weight:400 900;font-display:swap;src:url("../fonts/Playfair-Italic.woff2") format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("../fonts/InterVariable.woff2") format("woff2")}

.roq-site-chat{
  --roq-chat-accent:var(--roq-chat-accent-set, var(--accent, #2347e6));
  --roq-chat-accent-2:var(--roq-chat-accent-2-set, var(--accent-2, #f0c9a8));
  --roq-chat-brand:var(--roq-chat-brand-set, var(--roq-chat-accent));
  --roq-chat-ink:#0f1320;
  --roq-chat-ink-700:#2b3040;
  --roq-chat-ink-500:#5b6172;
  --roq-chat-ink-400:#7c8294;
  --roq-chat-ink-200:#e4e6ec;
  --roq-chat-ink-100:#eef0f4;
  --roq-chat-tint:color-mix(in srgb, var(--roq-chat-accent) 12%, #fff);
  --roq-chat-tint-strong:color-mix(in srgb, var(--roq-chat-accent) 20%, #fff);
  --roq-chat-agency:#d4dcff;
  --roq-chat-ok:#4ade80;
  --roq-chat-danger:#b91c1c;
  --roq-chat-font:Inter,ui-sans-serif,system-ui,sans-serif;
  --roq-chat-display:"Playfair Display",Georgia,serif;
  --roq-chat-logo:Jost,Futura,"Century Gothic",sans-serif;
  --roq-chat-shadow:0 18px 48px rgba(15,19,32,.18), 0 2px 8px rgba(15,19,32,.06);
  position:fixed;right:20px;bottom:20px;z-index:2147483500;
  display:flex;flex-direction:column;align-items:flex-end;gap:12px;
  font:400 14px/1.45 var(--roq-chat-font);
  color:var(--roq-chat-ink);
  color-scheme:light;
  -webkit-font-smoothing:antialiased;
}
.roq-site-chat button,.roq-site-chat input,.roq-site-chat textarea{font:inherit}
.roq-site-chat :focus-visible{outline:2px solid var(--roq-chat-accent);outline-offset:2px}

/* Launcher */
.roq-site-chat__launcher{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  height:48px;min-width:108px;padding:0 22px 0 20px;border:0;border-radius:999px;
  background:var(--roq-chat-brand);color:#fff;cursor:pointer;
  box-shadow:0 8px 24px color-mix(in srgb, var(--roq-chat-brand) 35%, transparent);
  font:600 14px/1 var(--roq-chat-font);
  transition:background .15s ease, filter .15s ease;
}
.roq-site-chat__launcher:hover{background:var(--roq-chat-accent);filter:brightness(1.05)}
.roq-site-chat--agency .roq-site-chat__launcher:hover{filter:none}
.roq-site-chat__launcher:focus-visible{outline:2px solid #fff;outline-offset:3px}
.roq-site-chat__launcher-ico{display:flex;width:20px;height:20px;position:relative;z-index:1}
.roq-site-chat__launcher-ico svg{width:20px;height:20px;display:block}
.roq-site-chat__launcher-label{position:relative;z-index:1}
.roq-site-chat__dot{
  position:absolute;top:-1px;left:-1px;width:12px;height:12px;border-radius:50%;
  background:var(--roq-chat-ok);border:2px solid #fff;z-index:2;
  box-sizing:border-box;
  box-shadow:0 0 0 1px rgba(15,19,32,.08);
}
.roq-site-chat--offline .roq-site-chat__dot{background:#94a3b8}
.roq-site-chat__unread{
  position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:#ef4444;color:#fff;font:700 10px/18px var(--roq-chat-font);text-align:center;z-index:2;
  box-shadow:0 2px 8px rgba(239,68,68,.35);
}
.roq-site-chat__unread[hidden]{display:none!important}

/* Panel */
.roq-site-chat__panel{
  position:absolute;right:0;bottom:58px;width:340px;
  max-height:min(640px, calc(100vh - 88px));
  display:flex;flex-direction:column;
  border-radius:18px;background:#fff;color:var(--roq-chat-ink);
  border:1px solid var(--roq-chat-ink-200);
  box-shadow:var(--roq-chat-shadow);overflow:hidden;
}
.roq-site-chat__panel--start{height:auto}
.roq-site-chat__panel:not(.roq-site-chat__panel--start){height:min(480px,68vh)}
.roq-site-chat__panel[hidden]{display:none!important}
.roq-site-chat__handle{display:none}
.roq-site-chat__handle b{
  width:36px;height:4px;border-radius:99px;background:rgba(255,255,255,.28);display:block;
}

/* Head */
.roq-site-chat__head{
  flex:none;
  background:var(--roq-chat-brand);color:#fff;
  padding:12px 12px 14px 14px;
}
.roq-site-chat__panel:not(.roq-site-chat__panel--start) .roq-site-chat__head{padding:10px 10px 10px 14px}
.roq-site-chat__head-top{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.roq-site-chat__brand{display:flex;align-items:center;gap:10px;min-width:0}
.roq-site-chat__mark{
  width:32px;height:32px;border-radius:9px;flex:none;
  background:var(--roq-chat-accent);
  display:grid;place-items:center;overflow:hidden;
  color:#fff;font:700 12px/1 var(--roq-chat-font);
}
.roq-site-chat--agency .roq-site-chat__mark{background:var(--roq-chat-accent)}
.roq-site-chat__mark--logo{background:#fff;padding:4px}
.roq-site-chat__mark--avatar{border-radius:50%;padding:0;background:#dbe1f0}
.roq-site-chat__mark--avatar .roq-site-chat__mark-img{object-fit:cover}
.roq-site-chat__mark svg{width:20px;height:20px;display:block}
.roq-site-chat__mark-img{width:100%;height:100%;object-fit:contain;display:block}
.roq-site-chat__mark-initials{letter-spacing:.02em}
.roq-site-chat__wordmark{display:flex;align-items:baseline;line-height:1;padding-top:1px}
.roq-site-chat__wordmark-roq{
  font-family:var(--roq-chat-logo);
  font-weight:600;font-size:15px;letter-spacing:.14em;text-transform:uppercase;color:#fff;
}
.roq-site-chat__wordmark-agency{
  font-family:var(--roq-chat-display);
  font-weight:500;font-style:italic;font-size:17.5px;color:var(--roq-chat-agency);
  margin-left:.12em;
}
.roq-site-chat__site-name{
  min-width:0;max-width:170px;
  font:600 13.5px/1.25 var(--roq-chat-font);color:#fff;letter-spacing:-.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.roq-site-chat__actions{display:flex;align-items:center;gap:2px;flex-shrink:0}
.roq-site-chat__end{
  border:0;background:transparent;color:rgba(255,255,255,.78);cursor:pointer;
  font:600 12px/1 var(--roq-chat-font);
  padding:7px 9px;border-radius:10px;white-space:nowrap;
  text-decoration:underline;text-underline-offset:2px;
}
.roq-site-chat__end:hover{background:rgba(255,255,255,.1);color:#fff}
.roq-site-chat__end[hidden]{display:none!important}
.roq-site-chat__iconbtn{
  width:34px;height:34px;border:0;border-radius:9px;padding:0;
  background:transparent;color:rgba(255,255,255,.78);cursor:pointer;
  display:inline-grid;place-items:center;
}
.roq-site-chat__iconbtn:hover,.roq-site-chat__iconbtn:focus-visible{
  background:rgba(255,255,255,.1);color:#fff;
}
.roq-site-chat__iconbtn:focus-visible{outline-color:#fff;outline-offset:0}
.roq-site-chat__iconbtn svg{width:17px;height:17px;display:block}
.roq-site-chat__iconbtn svg[hidden]{display:none!important}
.roq-site-chat__iconbtn[data-chat-mute][aria-pressed="true"] [data-ico-sound],
.roq-site-chat__iconbtn[data-chat-mute]:not([aria-pressed="true"]) [data-ico-mute]{display:none!important}
.roq-site-chat__iconbtn[data-chat-mute][aria-pressed="true"] [data-ico-mute]{display:block!important}
.roq-site-chat__iconbtn[aria-pressed="true"]{color:#fff}

.roq-site-chat__greet{margin-top:14px;padding-right:8px}
.roq-site-chat__panel:not(.roq-site-chat__panel--start) .roq-site-chat__greet{display:none}
.roq-site-chat__greet-title{
  margin:0;
  font-family:var(--roq-chat-font);
  font-weight:650;font-size:22px;line-height:1.2;letter-spacing:-.02em;color:#fff;
}
.roq-site-chat--agency .roq-site-chat__greet-title{
  font-family:var(--roq-chat-display);
  font-weight:500;font-size:24px;letter-spacing:-.025em;
}
.roq-site-chat__greet-sub{
  margin:8px 0 0;
  font-size:13.5px;line-height:1.45;font-weight:400;color:rgba(255,255,255,.72);
}
.roq-site-chat__live{
  display:inline-flex;align-items:center;gap:7px;
  margin:12px 0 0;
  font-size:12px;font-weight:500;color:rgba(255,255,255,.7);
}
.roq-site-chat__live i{
  width:8px;height:8px;border-radius:50%;background:var(--roq-chat-ok);
  box-shadow:0 0 0 3px rgba(74,222,128,.22);
  display:inline-block;flex:none;
}
.roq-site-chat__live--off i{background:#94a3b8;box-shadow:none}

/* Start screen */
.roq-site-chat__start{
  flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden;
}
.roq-site-chat__start[hidden],
.roq-site-chat__msgs[hidden],
.roq-site-chat__form[hidden],
.roq-site-chat__emailbar[hidden]{display:none!important}
.roq-site-chat__start-body{
  flex:1;min-height:0;overflow:auto;
  padding:16px 16px 12px;
  display:flex;flex-direction:column;gap:12px;
}
.roq-site-chat__section-label{
  margin:0;
  font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--roq-chat-ink-500);
}
.roq-site-chat__topics{display:flex;flex-direction:column;gap:5px}
.roq-site-chat__topic{
  display:flex;align-items:center;gap:10px;
  width:100%;text-align:left;cursor:pointer;
  min-height:42px;padding:6px 10px 6px 7px;
  border:1px solid var(--roq-chat-ink-200);
  border-radius:11px;background:#fff;color:var(--roq-chat-ink);
  transition:background .15s ease, border-color .15s ease;
}
.roq-site-chat__topic:hover{
  background:var(--roq-chat-tint);
  border-color:color-mix(in srgb, var(--roq-chat-accent) 40%, var(--roq-chat-ink-200));
}
.roq-site-chat__topic:focus-visible{outline-offset:1px}
.roq-site-chat__topic.is-selected{
  background:var(--roq-chat-tint);
  border-color:var(--roq-chat-accent);
}
.roq-site-chat__topic-ico{
  width:32px;height:32px;border-radius:8px;flex:none;
  display:grid;place-items:center;
  background:var(--roq-chat-tint);color:var(--roq-chat-accent);
}
.roq-site-chat__topic:hover .roq-site-chat__topic-ico,
.roq-site-chat__topic.is-selected .roq-site-chat__topic-ico{
  background:var(--roq-chat-tint-strong);color:var(--roq-chat-accent);
}
.roq-site-chat__topic-ico svg{width:16px;height:16px;display:block}
.roq-site-chat__topic-label{
  flex:1;font-size:13.5px;font-weight:550;letter-spacing:-.01em;line-height:1.3;
}
.roq-site-chat__topic-chev{color:var(--roq-chat-ink-400);flex:none;display:grid}
.roq-site-chat__topic-chev svg{width:16px;height:16px}

.roq-site-chat__start-form{display:flex;flex-direction:column;gap:8px;margin:0}
.roq-site-chat__field-block{display:flex;flex-direction:column;gap:6px}
.roq-site-chat__label{
  margin:0;font-size:12.5px;font-weight:600;color:var(--roq-chat-ink-700);
}
.roq-site-chat__opt{font-weight:500;color:var(--roq-chat-ink-400)}
.roq-site-chat__start-err{margin:0;color:var(--roq-chat-danger);font-size:12.5px}
.roq-site-chat__start-err[hidden]{display:none!important}

.roq-site-chat__start-foot{
  flex:none;
  padding:0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background:#fff;
  display:flex;flex-direction:column;gap:8px;
}
.roq-site-chat__cta{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;height:44px;border:0;border-radius:11px;cursor:pointer;
  background:var(--roq-chat-brand);color:#fff;
  font-size:14.5px;font-weight:600;letter-spacing:-.01em;
  transition:background .15s ease, filter .15s ease;
}
.roq-site-chat__cta:hover{background:var(--roq-chat-accent);filter:brightness(1.05)}
.roq-site-chat--agency .roq-site-chat__cta:hover{filter:none}
.roq-site-chat__cta:focus-visible{outline-offset:2px}
.roq-site-chat__cta svg{width:16px;height:16px;display:block}
.roq-site-chat__cta:disabled{opacity:.55;cursor:not-allowed}
.roq-site-chat__legal{
  margin:0;font-size:11px;line-height:1.45;color:var(--roq-chat-ink-400);text-align:center;
}
.roq-site-chat__legal a{
  color:var(--roq-chat-ink-500);text-decoration:underline;text-underline-offset:2px;
}
.roq-site-chat__legal a:hover{color:var(--roq-chat-accent)}
.roq-site-chat__cta--ghost{
  background:#fff;color:var(--roq-chat-ink);border:1px solid var(--roq-chat-ink-200);
}
.roq-site-chat__cta--ghost:hover{background:var(--roq-chat-ink-100);filter:none;border-color:#c5cad6}

/* Result screens (sent / error) */
.roq-site-chat__result{
  flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden;
}
.roq-site-chat__result[hidden]{display:none!important}
.roq-site-chat__panel--result .roq-site-chat__greet-title,
.roq-site-chat__panel--result .roq-site-chat__greet-sub{display:none}
.roq-site-chat__panel--result .roq-site-chat__greet{margin-top:10px}
.roq-site-chat__result-body{
  flex:1;min-height:0;overflow:auto;padding:20px 16px 12px;
  display:flex;flex-direction:column;align-items:stretch;gap:10px;
}
.roq-site-chat__result-ico{
  width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex:none;
}
.roq-site-chat__result-ico svg{width:22px;height:22px;display:block}
.roq-site-chat__result-ico--ok{background:#dcfce7;color:#15803d}
.roq-site-chat__result-ico--err{background:#fef2f2;color:#b91c1c}
.roq-site-chat__result-title{
  margin:4px 0 0;
  font-family:var(--roq-chat-font);font-weight:650;font-size:22px;line-height:1.2;letter-spacing:-.02em;
  color:var(--roq-chat-ink);
}
.roq-site-chat--agency .roq-site-chat__result-title{
  font-family:var(--roq-chat-display);font-weight:500;font-size:24px;letter-spacing:-.025em;
}
.roq-site-chat__result-sub{
  margin:0;font-size:13.5px;line-height:1.45;color:var(--roq-chat-ink-500);
}
.roq-site-chat__result-sub strong{color:var(--roq-chat-ink);font-weight:600}
.roq-site-chat__summary{
  margin-top:6px;padding:12px;border:1px solid var(--roq-chat-ink-200);border-radius:12px;
  display:flex;flex-direction:column;gap:10px;background:#fff;
}
.roq-site-chat__summary-row{display:flex;flex-direction:column;gap:3px}
.roq-site-chat__summary-k{
  font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--roq-chat-ink-400);
}
.roq-site-chat__summary-v{
  font-size:13.5px;line-height:1.4;color:var(--roq-chat-ink);word-break:break-word;
}
.roq-site-chat__ticket{
  margin:2px 0 0;font-size:12.5px;color:var(--roq-chat-ink-500);
}
.roq-site-chat__ticket[hidden],
.roq-site-chat__summary-row[hidden]{display:none!important}
.roq-site-chat__result-foot{
  flex:none;padding:0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  display:flex;flex-direction:column;gap:8px;background:#fff;
}

/* No-answer fallback card inside conversation */
.roq-site-chat__fallback{
  align-self:stretch;margin-top:4px;padding:14px;
  border:1px solid var(--roq-chat-ink-200);border-radius:14px;background:#fff;
  display:flex;flex-direction:column;gap:10px;
}
.roq-site-chat__fallback-flag{
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#b45309;
}
.roq-site-chat__fallback-flag i{
  width:8px;height:8px;border-radius:50%;background:#f59e0b;display:inline-block;flex:none;
}
.roq-site-chat__fallback-text{
  margin:0;font-size:13.5px;line-height:1.45;color:var(--roq-chat-ink);
}
.roq-site-chat__fallback-err{margin:0;color:var(--roq-chat-danger);font-size:12.5px}
.roq-site-chat__fallback-err[hidden]{display:none!important}
.roq-site-chat__fallback-wait{
  border:0;background:none;padding:8px;min-height:44px;cursor:pointer;
  font:600 13px/1.3 var(--roq-chat-font);color:var(--roq-chat-ink-500);
  text-decoration:underline;text-underline-offset:2px;align-self:center;
}
.roq-site-chat__fallback-wait:hover{color:var(--roq-chat-accent)}
.roq-site-chat__fallback-done .roq-site-chat__result-title{font-size:18px}

/* Fields (shared) */
.roq-site-chat .roq-site-chat__field{
  width:100%;border:1px solid var(--roq-chat-ink-200);border-radius:10px;
  padding:0 11px;height:40px;
  font:inherit;font-size:14px;line-height:1.35;color:inherit;background:#fff;
  box-sizing:border-box;box-shadow:none;-webkit-appearance:none;appearance:none;
}
.roq-site-chat .roq-site-chat__field::placeholder{color:#9aa1b0}
.roq-site-chat .roq-site-chat__field:hover{border-color:#c5cad6}
.roq-site-chat .roq-site-chat__field:focus{
  outline:2px solid color-mix(in srgb, var(--roq-chat-accent) 55%, transparent);outline-offset:1px;
  border-color:color-mix(in srgb, var(--roq-chat-accent) 55%, var(--roq-chat-ink-200));
}

/* Conversation */
.roq-site-chat__msgs{
  flex:1;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:#fafbfc;
}
.roq-site-chat__bubble{
  max-width:85%;padding:8px 11px;border-radius:12px;
  font-size:13.5px;line-height:1.45;white-space:pre-wrap;word-break:break-word;
}
.roq-site-chat__bubble--agent,.roq-site-chat__bubble--greeting{
  align-self:flex-start;
  background:var(--roq-chat-tint);
  color:var(--roq-chat-ink);
  border:1px solid color-mix(in srgb, var(--roq-chat-accent) 14%, transparent);
}
.roq-site-chat__bubble--visitor{
  align-self:flex-end;background:var(--roq-chat-accent);color:#fff;border:1px solid transparent;
}
.roq-site-chat__emailbar{
  padding:8px 12px 0;background:#fff;
  border-top:1px solid var(--roq-chat-ink-200);
}
.roq-site-chat__form{
  display:block;padding:10px 12px;
  border-top:1px solid var(--roq-chat-ink-200);background:#fff;
}
.roq-site-chat__emailbar + .roq-site-chat__form{border-top:0;padding-top:8px}
.roq-site-chat__compose{
  display:flex;flex-direction:column;gap:0;overflow:hidden;
  border:1px solid var(--roq-chat-ink-200);border-radius:12px;background:#fff;
}
.roq-site-chat__compose:focus-within{
  border-color:color-mix(in srgb, var(--roq-chat-accent) 40%, #cbd5e1);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--roq-chat-accent) 18%, transparent);
}
.roq-site-chat .roq-site-chat__input{
  display:block;width:100%;min-width:0;resize:none;border:0;border-radius:0;
  margin:0;padding:12px 12px 8px;
  font:inherit;font-size:14px;line-height:1.45;color:inherit;background:transparent;
  min-height:4.5rem;max-height:9rem;box-sizing:border-box;box-shadow:none;
  -webkit-appearance:none;appearance:none;
}
.roq-site-chat .roq-site-chat__input:focus{outline:none;box-shadow:none}
.roq-site-chat .roq-site-chat__input--start{
  min-height:64px;height:auto;width:100%;padding:10px 12px;
  border:1px solid var(--roq-chat-ink-200);border-radius:10px;background:#fff;
}
.roq-site-chat .roq-site-chat__input--start:hover{border-color:#c5cad6}
.roq-site-chat .roq-site-chat__input--start:focus{
  outline:2px solid color-mix(in srgb, var(--roq-chat-accent) 55%, transparent);outline-offset:1px;
  border-color:color-mix(in srgb, var(--roq-chat-accent) 55%, var(--roq-chat-ink-200));
}
.roq-site-chat__compose-bar{
  display:flex;align-items:center;gap:8px;
  padding:6px 8px 8px;
  border-top:1px solid color-mix(in srgb, #e2e8f0 85%, transparent);
}
.roq-site-chat__attach{
  position:relative;flex:none;
  display:inline-grid;place-items:center;
  width:32px;height:32px;border:0;border-radius:8px;
  color:var(--roq-chat-ink-500);background:transparent;cursor:pointer;line-height:0;
}
.roq-site-chat__attach:hover{color:var(--roq-chat-accent);background:var(--roq-chat-tint)}
.roq-site-chat__attach svg{
  width:18px;height:18px;display:block;flex:none;max-width:none;max-height:none;
}
.roq-site-chat__attach input[type="file"]{
  position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;
  font-size:0;border:0;padding:0;margin:0;
}
.roq-site-chat__file-name{
  flex:1;min-width:0;margin:0;padding:0;
  font-size:12px;font-weight:600;color:var(--roq-chat-ink-500);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:transparent;
}
.roq-site-chat__file-name[hidden]{display:none!important}
.roq-site-chat__attach-preview{
  display:block;margin-top:6px;border-radius:8px;overflow:hidden;max-width:220px;
}
.roq-site-chat__attach-preview img{display:block;width:100%;height:auto}
.roq-site-chat .roq-site-chat__send{
  flex:none;margin-left:auto;
  height:34px;min-width:84px;border:0;border-radius:8px;padding:0 16px;
  background:var(--roq-chat-brand);color:#fff;
  font:600 13px/1 var(--roq-chat-font);cursor:pointer;
  box-shadow:none;-webkit-appearance:button;appearance:button;
}
.roq-site-chat .roq-site-chat__send:hover{background:var(--roq-chat-accent);filter:brightness(1.05)}
.roq-site-chat .roq-site-chat__send:disabled{opacity:.55;cursor:not-allowed}
.roq-site-chat__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.roq-site-chat__err{padding:0 14px 8px;color:var(--roq-chat-danger);font-size:12.5px;background:#fff}

@media (max-width:480px){
  .roq-site-chat{
    --roq-kb:0px;
    --roq-vv-top:0px;
    --roq-vv-h:100dvh;
    --roq-kb-gap:62px;
    right:0;bottom:0;left:0;top:auto;align-items:stretch;gap:0;pointer-events:none;
    transform:translate3d(0, var(--roq-vv-top), 0);
  }
  .roq-site-chat > *{pointer-events:auto}
  .roq-site-chat__launcher{
    position:fixed;right:10px;bottom:calc(10px + var(--roq-kb));
    height:44px;min-width:44px;width:44px;padding:0;border-radius:999px;
    justify-content:center;
  }
  .roq-site-chat.is-kb .roq-site-chat__launcher{visibility:hidden;pointer-events:none}
  .roq-site-chat__launcher-label{display:none}
  .roq-site-chat__dot{top:-1px;left:-1px}
  .roq-site-chat__panel{
    position:fixed;left:10px;right:10px;top:auto;
    bottom:calc(var(--roq-kb-gap) + var(--roq-kb));
    width:auto;
    max-height:min(520px, calc(var(--roq-vv-h) - var(--roq-kb-gap) - 16px));
    height:auto;
    border-radius:16px;border:1px solid var(--roq-chat-ink-200);
    box-shadow:var(--roq-chat-shadow);
  }
  .roq-site-chat__panel:not(.roq-site-chat__panel--start){
    height:min(460px, calc(var(--roq-vv-h) - var(--roq-kb-gap) - 16px));
    max-height:calc(var(--roq-vv-h) - var(--roq-kb-gap) - 16px);
  }
  .roq-site-chat.is-kb{
    --roq-kb-gap:8px;
  }
  .roq-site-chat.is-kb .roq-site-chat__panel,
  .roq-site-chat.is-kb .roq-site-chat__panel:not(.roq-site-chat__panel--start){
    height:auto;
    max-height:calc(var(--roq-vv-h) - 16px);
  }
  .roq-site-chat.is-kb .roq-site-chat__start-body{flex:1 1 auto;min-height:0}
  .roq-site-chat__handle{display:none}
  .roq-site-chat__head{padding:12px 12px 12px 14px;flex:none}
  .roq-site-chat__panel:not(.roq-site-chat__panel--start) .roq-site-chat__head{padding:8px 8px 8px 12px}
  .roq-site-chat__greet{margin-top:10px}
  .roq-site-chat__greet-title{font-size:20px}
  .roq-site-chat--agency .roq-site-chat__greet-title{font-size:22px}
  .roq-site-chat__greet-sub{font-size:13px;margin-top:6px}
  .roq-site-chat__live{margin-top:10px}
  .roq-site-chat__start-body{flex:0 1 auto;padding:12px 12px 10px;gap:10px}
  .roq-site-chat__topic{min-height:40px}
  .roq-site-chat__cta{height:42px}
  .roq-site-chat__start-foot{padding:0 12px calc(12px + env(safe-area-inset-bottom, 0px));flex:none}
  .roq-site-chat__form,
  .roq-site-chat__emailbar{flex:none}
}

@media (prefers-reduced-motion:reduce){
  .roq-site-chat__launcher,
  .roq-site-chat__topic,
  .roq-site-chat__cta{transition:none}
}
