/* Contact channels and support chat. Original routes and channel settings stay intact. */
html.site-pearl body.public-ui { --support-panel:#fff; --support-soft:#f2f6fc; --support-line:#dce6f2; --support-text:#243b59; --support-muted:#6b7e98; --support-input-hover:#bacce5; --support-input-focus:#729de0; --support-input-ring:#3475df14; --support-tool-hover:#e4edfb; --support-tool-ink:#3968af; --support-send-hover:#2865cb; }
html.site-pearl.site-dark body.public-ui { --support-panel:#172330; --support-soft:#203145; --support-line:#31475f; --support-text:#e4eefb; --support-muted:#a0b6d1; --support-input-hover:#526d8e; --support-input-focus:#7daaf0; --support-input-ring:#7daaf019; --support-tool-hover:#2c4360; --support-tool-ink:#b4d1ff; --support-send-hover:#2865cb; }
html.site-pearl body.public-ui .global-contact-float { right:20px; bottom:94px; gap:8px; padding:7px; border:1px solid var(--support-line); border-radius:24px; background:var(--support-panel); box-shadow:0 8px 30px #0b1d3924; align-items:center; max-height:calc(100dvh - 180px); pointer-events:auto; }
html.site-pearl body.public-ui .gcf-links { display:flex; flex-direction:column; gap:7px; max-height:calc(100dvh - 240px); overflow-y:auto; overflow-x:clip; scrollbar-width:none; padding:2px; }
html.site-pearl body.public-ui .gcf-links[hidden] { display:none; }
html.site-pearl body.public-ui .gcf-toggle { appearance:none; display:grid; place-items:center; width:36px; height:32px; padding:0; border:0; border-radius:12px; background:transparent; color:var(--support-muted); cursor:pointer; }
html.site-pearl body.public-ui .gcf-toggle[aria-expanded="false"] { width:40px; height:40px; color:#679df3; background:var(--support-soft); }
html.site-pearl body.public-ui .global-contact-float a { width:38px; height:38px; border-radius:13px; border:1px solid color-mix(in srgb,var(--contact-color) 26%,transparent); background:color-mix(in srgb,var(--contact-color) 12%,var(--support-panel)); color:var(--contact-color); box-shadow:none; font-size:17px; transition:transform .2s ease,background-color .2s ease; }
html.site-pearl body.public-ui .global-contact-float a > span { display:none; }
html.site-pearl body.public-ui .global-contact-float a:hover { background:var(--contact-color); color:#fff; transform:translateY(-2px); filter:none; }
html.site-pearl body.public-ui .global-contact-float b { display:grid; place-items:center; width:22px; height:22px; border-radius:8px; background:#0068ff; color:#fff; font-size:12px; font-weight:800; }
html.site-pearl body.public-ui .global-contact-float :is(a,button):focus-visible { outline:3px solid #82adf3; outline-offset:1px; }
html.site-pearl body.public-ui .ct2-page .ct2-layout .ct2-channel-section .ct2-channels { grid-template-columns:repeat(auto-fit,minmax(min(148px,100%),1fr))!important; gap:12px!important; }
html.site-pearl body.public-ui .ct2-page .ct2-layout .ct2-ch-card { position:relative; flex-direction:column!important; align-items:flex-start!important; gap:13px!important; min-width:0; padding:18px!important; border:1px solid var(--support-line)!important; border-radius:17px!important; background:linear-gradient(145deg,color-mix(in srgb,var(--channel-accent,#548bf0) 5%,var(--support-panel)),var(--support-panel))!important; box-shadow:0 4px 15px #17345606!important; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-icon { width:45px!important; height:45px!important; border-radius:14px!important; font-size:22px!important; box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--channel-accent,#548bf0) 18%,transparent)!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-platform { font-size:8px!important; letter-spacing:1px; color:var(--support-muted)!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-name { margin:4px 0 6px; font-size:17px!important; color:var(--support-text)!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-desc { font-size:11px!important; line-height:1.6!important; color:var(--support-muted)!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-tags { margin-top:12px; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-tags span { padding:0!important; border:0!important; background:transparent!important; font-size:9px!important; color:var(--support-muted)!important; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-arrow { position:absolute; right:15px; top:20px; background:transparent; color:var(--support-muted); font-size:11px; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-badge-row { display:flex; flex-wrap:wrap; gap:9px; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-badge { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:8px 14px; border:1px solid var(--support-line)!important; border-radius:14px; background:var(--support-panel); color:var(--support-text)!important; font-size:12px; font-weight:650; box-shadow:0 2px 8px #17345606; transition:transform .2s ease,border-color .2s ease; }
html.site-pearl body.public-ui .ct2-page .ct2-ch-badge > :is(i,span) { display:grid; place-items:center; width:26px; height:26px; border-radius:8px; background:color-mix(in srgb,var(--channel-accent) 12%,transparent); color:var(--channel-accent); font-size:14px; }
html.site-pearl body.public-ui .ct2-page .tiktok-embed-handle { color:var(--support-muted)!important; }
@media(hover:hover) { html.site-pearl body.public-ui .ct2-page :is(.ct2-ch-card,.ct2-ch-badge):hover { transform:translateY(-3px); border-color:color-mix(in srgb,var(--channel-accent,#548bf0) 45%,var(--support-line))!important; box-shadow:0 8px 22px #17345612!important; } }
/* Launcher: a crisp vector mark rather than a floating unframed icon. */
html.site-pearl body.public-ui #acTrigger.ac-trigger { width:54px!important; height:54px!important; right:20px; bottom:20px; padding:0!important; border:1px solid #92b9ff59!important; border-radius:19px!important; background:linear-gradient(145deg,#4088f7,#2856b1)!important; box-shadow:0 8px 25px #17479150,inset 0 1px #ffffff40!important; animation:none!important; transition:transform .2s ease,box-shadow .2s ease!important; color:#fff!important; }
html.site-pearl body.public-ui #acTrigger.ac-trigger::before,
html.site-pearl body.public-ui #acTrigger.ac-trigger::after { content:none!important; display:none!important; }
html.site-pearl body.public-ui #acTrigger .ac-modern-mark { width:30px!important; height:30px!important; display:grid!important; place-items:center; position:static!important; transform:none!important; filter:none!important; color:#fff; }
html.site-pearl body.public-ui #acTrigger .ac-modern-mark svg { display:block; width:27px; height:27px; }
html.site-pearl body.public-ui #acTrigger.ac-agent-active .ac-modern-mark { display:none!important; }
html.site-pearl body.public-ui #acTrigger .ac-agent-stage { display:none!important; }
html.site-pearl body.public-ui #acTrigger.ac-agent-active .ac-agent-stage { display:grid!important; place-items:center; position:relative; width:28px; height:28px; font-size:23px; color:#fff; }
html.site-pearl body.public-ui #acTrigger .ac-agent-headset { position:absolute; right:-5px; bottom:-3px; display:grid; place-items:center; width:17px; height:17px; border:2px solid #366acb; border-radius:7px; background:#e6f0ff; color:#3263bc; font-size:9px; }
html.site-pearl body.public-ui #acTrigger.ac-pos-left { left:20px; right:auto; }
html.site-pearl body.public-ui #acTrigger:hover { transform:translateY(-3px)!important; box-shadow:0 12px 28px #17479165!important; }
html.site-pearl body.public-ui #acTrigger .ac-badge { top:-5px; right:-4px; width:19px; height:19px; border:2px solid var(--support-panel); font-size:9px; }
/* Chat shell. Colors follow the user's appearance choice; media keeps its colors. */
html.site-pearl body.public-ui #acWindow.ac-window { right:20px; bottom:86px; width:min(var(--ac-w,390px),calc(100vw - 28px))!important; height:min(var(--ac-h,590px),calc(100dvh - 110px))!important; max-height:calc(100dvh - 110px)!important; border:1px solid var(--support-line)!important; border-radius:23px!important; background:var(--support-panel)!important; color:var(--support-text)!important; box-shadow:0 22px 70px #07172e3d,0 3px 12px #07172e12!important; overflow:hidden!important; }
html.site-pearl body.public-ui #acWindow.ac-pos-left { left:20px; right:auto; }
html.site-pearl body.public-ui #acWindow .ac-header { min-height:74px; padding:15px 16px!important; gap:11px; border-bottom:1px solid var(--support-line)!important; background:linear-gradient(115deg,color-mix(in srgb,#4c88eb 9%,var(--support-panel)),var(--support-panel))!important; }
html.site-pearl body.public-ui #acWindow .ac-header-avatar { width:41px; height:41px; flex:0 0 41px; border-radius:14px; background:linear-gradient(140deg,#458cf5,#385bc3)!important; box-shadow:0 3px 9px #3464c523; color:#fff!important; }
html.site-pearl body.public-ui #acWindow .ac-header-name { color:var(--support-text)!important; font-size:15px!important; letter-spacing:-.3px; line-height:1.4; font-weight:750; }
html.site-pearl body.public-ui #acWindow .ac-header-status { margin-top:3px; color:var(--support-muted)!important; font-size:10px!important; line-height:1.4; }
html.site-pearl body.public-ui #acWindow .ac-header-close { width:33px; height:33px; border:1px solid var(--support-line); border-radius:10px; background:var(--support-panel)!important; color:var(--support-muted)!important; }
html.site-pearl body.public-ui #acWindow .ac-messages { padding:18px 15px!important; gap:13px; background:radial-gradient(circle at 0 0,color-mix(in srgb,#6098ee 5%,transparent),transparent 50%),var(--support-panel)!important; scrollbar-color:var(--support-line) transparent; }
html.site-pearl body.public-ui #acWindow .ac-msg-av { width:26px; height:26px; border:1px solid var(--support-line); border-radius:9px; background:var(--support-soft); color:var(--support-muted); }
html.site-pearl body.public-ui #acWindow .ac-bubble { max-width:85%; padding:11px 13px; font-size:12px!important; line-height:1.7; border-radius:16px; box-shadow:none; overflow-wrap:anywhere; }
html.site-pearl body.public-ui #acWindow :is(.ac-msg-row--bot,.ac-msg-row--admin) .ac-bubble { border:1px solid var(--support-line)!important; border-top-left-radius:5px; background:var(--support-soft)!important; color:var(--support-text)!important; }
html.site-pearl body.public-ui #acWindow .ac-msg-row--user .ac-bubble { border:0!important; border-top-right-radius:5px; background:linear-gradient(130deg,#3475df,#2b5ab9)!important; color:#fff!important; }
html.site-pearl body.public-ui #acWindow .ac-user-stack { min-width:0; max-width:85%; display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
html.site-pearl body.public-ui #acWindow .ac-user-stack .ac-bubble { max-width:100%; }
html.site-pearl body.public-ui #acWindow .ac-receipt { padding:0 3px; color:var(--support-muted); font-size:9px; line-height:1.5; }
html.site-pearl body.public-ui #acWindow .ac-receipt[data-state="read"] { color:#518de5; }
html.site-pearl body.public-ui #acWindow .ac-receipt[data-state="failed"] { color:#d76c7b; }
html.site-pearl body.public-ui #acWindow .ac-bubble :is(strong,a) { color:inherit; }
html.site-pearl body.public-ui #acWindow .ac-chat-file { background:var(--support-panel)!important; border-color:var(--support-line); color:var(--support-text); }
html.site-pearl body.public-ui #acWindow .ac-bubble--system { padding:6px 9px; font-size:10px!important; background:var(--support-soft)!important; color:var(--support-muted)!important; }
html.site-pearl body.public-ui #acWindow .ac-input-row { flex-shrink:0; margin:0; padding:12px 12px 6px!important; gap:8px; border:0; border-top:1px solid var(--support-line); border-radius:0; background:var(--support-panel)!important; box-shadow:none; }
html.site-pearl body.public-ui #acWindow .ac-suggestions { display:flex; gap:6px; flex-wrap:wrap; max-height:88px; overflow-y:auto; padding:0 0 9px; background:transparent!important; }
html.site-pearl body.public-ui #acWindow .ac-chip { margin:0; padding:6px 9px; border:1px solid var(--support-line)!important; border-radius:10px; background:var(--support-soft)!important; color:var(--support-muted)!important; font-size:10px; line-height:1.45; }
/* One focus boundary for the entire composer, with stable button geometry. */
html.site-pearl body.public-ui #acWindow .ac-input-line { display:flex!important; align-items:flex-end; gap:4px; min-height:52px; padding:5px; border:1px solid var(--support-line)!important; border-radius:16px!important; background:var(--support-soft)!important; box-shadow:none!important; overflow:visible; transition:border-color .18s ease,box-shadow .18s ease!important; }
html.site-pearl body.public-ui #acWindow .ac-input-line:focus-within { border-color:var(--support-input-focus)!important; box-shadow:0 0 0 3px var(--support-input-ring)!important; }
html.site-pearl body.public-ui #acWindow .ac-input-tools { display:flex!important; align-items:center; flex:0 0 auto; gap:2px; padding-bottom:2px; }
html.site-pearl body.public-ui #acWindow .ac-attach-btn { width:36px; height:36px; padding:0; border:0; border-radius:10px; background:transparent!important; color:var(--support-muted)!important; font-size:14px; box-shadow:none; transform:none; transition:background-color .18s ease,color .18s ease; }
html.site-pearl body.public-ui #acWindow textarea.ac-input { flex:1; min-width:0; width:0; min-height:40px; max-height:110px; height:auto; margin:0; padding:9px 5px!important; border:0!important; border-radius:0; outline:none!important; background:transparent!important; box-shadow:none!important; color:var(--support-text)!important; caret-color:var(--support-input-focus); font-size:14px; line-height:22px; resize:none; overflow-y:auto; }
html.site-pearl body.public-ui #acWindow textarea.ac-input::placeholder { color:var(--support-muted)!important; opacity:1; }
html.site-pearl body.public-ui #acWindow .ac-send { width:40px; height:40px; flex:0 0 40px; padding:0; border:0; border-radius:12px; background:#3475df!important; color:#fff!important; font-size:14px; box-shadow:none; transform:none; opacity:1; transition:background-color .18s ease,opacity .18s ease; }
html.site-pearl body.public-ui #acWindow :is(.ac-attach-btn,.ac-send):active:not(:disabled) { transform:none; opacity:.8; }
html.site-pearl body.public-ui #acWindow :is(.ac-attach-btn,.ac-send):disabled { opacity:.4; cursor:not-allowed; box-shadow:none; transform:none; }
@media(hover:hover) {
  html.site-pearl body.public-ui #acWindow .ac-input-line:hover:not(:focus-within) { border-color:var(--support-input-hover)!important; }
  html.site-pearl body.public-ui #acWindow .ac-attach-btn:hover:not(:disabled) { background:var(--support-tool-hover)!important; color:var(--support-tool-ink)!important; }
  html.site-pearl body.public-ui #acWindow .ac-send:hover:not(:disabled) { background:var(--support-send-hover)!important; }
}
@media(pointer:coarse) {
  html.site-pearl body.public-ui #acWindow .ac-attach-btn { width:44px; height:44px; }
  html.site-pearl body.public-ui #acWindow .ac-input-tools { padding-bottom:0; }
  html.site-pearl body.public-ui #acWindow .ac-send { width:44px; height:44px; flex-basis:44px; }
  html.site-pearl body.public-ui #acWindow textarea.ac-input { min-height:44px; padding-block:11px!important; }
}
html.site-pearl body.public-ui #acWindow .ac-watermark { padding:7px 12px 9px; border:0; background:var(--support-panel)!important; color:var(--support-muted); font-size:9px; }
html.site-pearl body.public-ui #acWindow .ac-attachment-preview { border:1px solid var(--support-line); border-radius:12px; background:var(--support-soft)!important; color:var(--support-text); }
html.site-pearl body.public-ui #acWindow :is(button,a):focus-visible { outline:2px solid #82adf3!important; outline-offset:2px!important; }
@media(max-width:700px) {
  html.site-pearl body.public-ui .global-contact-float { right:12px; bottom:85px; padding:5px; border-radius:20px; }
  html.site-pearl body.public-ui .global-contact-float a { width:34px; height:34px; border-radius:11px; font-size:15px; }
  html.site-pearl body.public-ui .gcf-toggle { width:34px; height:28px; }
  html.site-pearl body.public-ui #acTrigger.ac-trigger { right:12px; bottom:16px; width:48px!important; height:48px!important; border-radius:17px!important; }
  html.site-pearl body.public-ui #acWindow.ac-window { left:8px!important; right:8px!important; bottom:max(8px,env(safe-area-inset-bottom))!important; top:auto!important; width:calc(100vw - 16px)!important; height:min(660px,calc(var(--ac-vv-height,100dvh) - 20px))!important; max-height:calc(var(--ac-vv-height,100dvh) - 20px)!important; border-radius:20px!important; }
  html.site-pearl body.public-ui #acWindow textarea.ac-input { font-size:16px!important; }
  html.site-pearl body.public-ui #acWindow .ac-bubble { max-width:86%; font-size:12px!important; }
  html.site-pearl body.public-ui #acWindow .ac-header { min-height:66px; padding:12px!important; }
}
@media(prefers-reduced-motion:reduce) { html.site-pearl body.public-ui :is(#acTrigger,.global-contact-float a,.ct2-ch-card,.ct2-ch-badge),html.site-pearl body.public-ui #acWindow :is(.ac-input-line,.ac-attach-btn,.ac-send) { transition:none!important; animation:none!important; } }
