#tw-support-widget,
#tw-support-widget * {
  box-sizing: border-box;
}

#tw-support-widget {
  --twsc-navy: #2d3748;
  --twsc-navy-deep: #182235;
  --twsc-site-header: var(--global-palette3, #2f364c);
  --twsc-blue: #5e9ddf;
  --twsc-blue-dark: #3870b0;
  --twsc-telegram: #2aabee;
  --twsc-text: #343d56;
  --twsc-muted: #6b7280;
  --twsc-line: #e5e7eb;
  --twsc-soft: #f9fafb;
  --twsc-success: #477963;
  --twsc-warning: #916827;
  --twsc-error: #9c4b4b;
  --twsc-avoid-bottom: 20px;
  align-items: flex-end;
  bottom: calc(var(--twsc-avoid-bottom) + env(safe-area-inset-bottom, 0px));
  color: var(--twsc-text);
  display: flex;
  flex-direction: row-reverse;
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 10px;
  line-height: 1.4;
  max-width: calc(100vw - 32px);
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  text-align: left;
  transition: bottom .24s ease;
  z-index: 999999;
}

#tw-support-widget[hidden],
#tw-support-widget [hidden] {
  display: none !important;
}

#tw-support-widget button,
#tw-support-widget textarea,
#tw-support-widget input {
  font: inherit;
}

#tw-support-widget button,
#tw-support-widget a {
  -webkit-tap-highlight-color: transparent;
}

#tw-support-widget button {
  cursor: pointer;
}

#tw-support-widget button:focus-visible,
#tw-support-widget a:focus-visible,
#tw-support-widget textarea:focus-visible {
  outline: 2px solid rgba(94, 157, 223, .44);
  outline-offset: 2px;
}

#tw-support-widget button:focus:not(:focus-visible),
#tw-support-widget a:focus:not(:focus-visible) {
  outline: none;
}

#tw-support-widget .twsc-launcher {
  align-items: center;
  appearance: none;
  background: var(--twsc-navy);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(31, 43, 64, .18);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 56px;
  justify-content: center;
  min-width: 56px;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
  transition: width .32s cubic-bezier(.2, .8, .2, 1),
    border-radius .32s cubic-bezier(.2, .8, .2, 1),
    transform .22s ease,
    background .22s ease,
    box-shadow .22s ease;
  width: 56px;
}

#tw-support-widget .twsc-launcher:hover {
  box-shadow: 0 10px 24px rgba(31, 43, 64, .22);
  transform: translateY(-2px);
}

#tw-support-widget .twsc-launcher .twsc-icon--chat {
  transform-origin: center;
  transition: opacity .18s ease,
    transform .28s cubic-bezier(.2, .8, .2, 1);
}

#tw-support-widget .twsc-launcher::before,
#tw-support-widget .twsc-launcher::after {
  background: #fff;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scale(.65);
  transition: opacity .18s ease,
    transform .32s cubic-bezier(.2, .8, .2, 1);
  width: 19px;
}

#tw-support-widget .twsc-launcher:disabled {
  cursor: wait;
  opacity: .82;
  transform: none;
}

#tw-support-widget .twsc-launcher svg,
#tw-support-widget .twsc-channel svg,
#tw-support-widget .twsc-panel-close svg {
  fill: none;
  flex: 0 0 auto;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 22px;
}

#tw-support-widget .twsc-launcher-label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-left: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease, margin .32s ease;
  white-space: nowrap;
}

#tw-support-widget.is-open .twsc-launcher {
  border-radius: 16px;
  width: 154px;
}

#tw-support-widget.is-open .twsc-launcher-label {
  margin-left: 9px;
  max-width: 105px;
  opacity: 1;
}

#tw-support-widget.is-choices .twsc-launcher {
  background: var(--twsc-blue-dark);
  border-radius: 15px;
  height: 56px;
  min-width: 56px;
  width: 56px;
}

#tw-support-widget.is-choices .twsc-launcher .twsc-icon--chat {
  opacity: 0;
  transform: rotate(-28deg) scale(.62);
}

#tw-support-widget.is-choices .twsc-launcher::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

#tw-support-widget.is-choices .twsc-launcher::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

#tw-support-widget.is-choices .twsc-launcher-label {
  margin-left: 0;
  max-width: 0;
  opacity: 0;
}

#tw-support-widget .twsc-icon--send,
#tw-support-widget .twsc-icon--retry {
  display: none;
}

#tw-support-widget.is-ready .twsc-launcher,
#tw-support-widget.is-retry .twsc-launcher {
  background: var(--twsc-blue-dark);
}

#tw-support-widget.is-ready .twsc-icon--chat,
#tw-support-widget.is-retry .twsc-icon--chat {
  display: none;
}

#tw-support-widget.is-ready .twsc-icon--send {
  display: block;
}

#tw-support-widget.is-retry .twsc-icon--send {
  display: none;
}

#tw-support-widget.is-retry .twsc-icon--retry {
  display: block;
}

#tw-support-widget.is-sending .twsc-launcher {
  background: var(--twsc-blue-dark);
}

#tw-support-widget .twsc-channel-rail {
  align-items: flex-end;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  transform: translateY(18px);
  transition: opacity .22s ease,
    transform .32s cubic-bezier(.2, .8, .2, 1),
    visibility 0s linear .32s;
  visibility: hidden;
}

#tw-support-widget.is-choices .twsc-channel-rail {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

#tw-support-widget .twsc-channel {
  align-items: center;
  appearance: none;
  background: #fff;
  border: 1px solid rgba(45, 55, 72, .12);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(31, 43, 64, .1);
  color: var(--twsc-navy);
  display: inline-flex;
  font-size: 11px;
  font-weight: 650;
  gap: 7px;
  min-height: 46px;
  min-width: 218px;
  padding: 0 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

#tw-support-widget .twsc-channel:hover {
  box-shadow: 0 8px 20px rgba(31, 43, 64, .13);
  transform: translateY(-2px);
}

#tw-support-widget .twsc-channel svg {
  height: 18px;
  width: 18px;
}

#tw-support-widget .twsc-channel--telegram {
  background: var(--twsc-telegram);
  border-color: var(--twsc-telegram);
  color: #fff;
}

#tw-support-widget.is-site-mode .twsc-channel-rail {
  display: none;
}

#tw-support-widget .twsc-panel {
  background: #fff;
  border: 1px solid rgba(45, 55, 72, .11);
  border-radius: 20px;
  bottom: 68px;
  box-shadow: 0 18px 44px rgba(31, 43, 64, .18);
  max-height: min(600px, calc(100vh - var(--twsc-avoid-bottom) - 100px));
  max-height: min(600px, calc(100dvh - var(--twsc-avoid-bottom) - 100px));
  overflow: hidden;
  position: absolute;
  right: 0;
  transform-origin: 92% 100%;
  width: min(380px, calc(100vw - 40px));
}

#tw-support-widget .twsc-panel:not([hidden]) {
  animation: twsc-panel-in .3s cubic-bezier(.2, .8, .2, 1);
}

@keyframes twsc-panel-in {
  from {
    opacity: 0;
    transform: translateY(13px) scale(.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#tw-support-widget .twsc-panel-head {
  align-items: center;
  background: var(--twsc-site-header);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  gap: 11px;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  padding: 17px 18px;
}

#tw-support-widget .twsc-brand {
  align-items: center;
  border: 0;
  border-radius: 0;
  display: flex;
  font-size: 10px;
  font-weight: 750;
  height: 40px;
  justify-content: center;
  overflow: visible;
  width: 40px;
}

#tw-support-widget .twsc-brand-logo {
  display: block;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

#tw-support-widget .twsc-heading {
  min-width: 0;
}

#tw-support-widget .twsc-heading strong,
#tw-support-widget .twsc-heading span {
  display: block;
}

#tw-support-widget .twsc-heading strong {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
}

#tw-support-widget .twsc-heading span {
  color: rgba(255, 255, 255, .66);
  font-size: 9px;
  line-height: 1.35;
  margin-top: 4px;
}

#tw-support-widget .twsc-panel-close {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, .76);
  display: flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  transition: background .2s ease, color .2s ease;
  width: 34px;
}

#tw-support-widget .twsc-panel-close:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

#tw-support-widget .twsc-panel-close svg {
  height: 19px;
  width: 19px;
}

#tw-support-widget .twsc-close-icon--compact {
  display: none;
}

#tw-support-widget .twsc-panel-body {
  background: #fff;
  max-height: calc(min(600px, 100vh - var(--twsc-avoid-bottom) - 100px) - 73px);
  max-height: calc(min(600px, 100dvh - var(--twsc-avoid-bottom) - 100px) - 73px);
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 10px 18px 18px;
}

#tw-support-widget .twsc-dock {
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  background: rgba(249, 250, 251, .82);
  border: 1px solid rgba(229, 231, 235, .72);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  flex: 0 0 auto;
  margin-top: 0;
  padding: 7px 9px 8px;
}

#tw-support-widget .twsc-log {
  align-content: start;
  display: grid;
  gap: 9px;
  grid-auto-rows: max-content;
  max-height: 240px;
  min-height: 78px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 16px 5px 8px;
  scrollbar-color: rgba(107, 114, 128, .34) transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

#tw-support-widget .twsc-log::-webkit-scrollbar {
  width: 5px;
}

#tw-support-widget .twsc-log::-webkit-scrollbar-track {
  background: transparent;
}

#tw-support-widget .twsc-log::-webkit-scrollbar-thumb {
  background: rgba(107, 114, 128, .3);
  border-radius: 999px;
}

#tw-support-widget .twsc-log-shell {
  min-height: 0;
  position: relative;
}

#tw-support-widget .twsc-scroll-indicator {
  display: none;
}

#tw-support-widget .twsc-message {
  align-self: start;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.55;
  max-width: 88%;
  min-height: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  position: relative;
  white-space: pre-wrap;
  width: fit-content;
}

#tw-support-widget .twsc-message--assistant {
  background: #f1f5f9;
  color: var(--twsc-text);
  justify-self: start;
}

#tw-support-widget .twsc-message--user {
  background: var(--twsc-blue-dark);
  color: #fff;
  justify-self: end;
}

#tw-support-widget .twsc-message.is-pending {
  opacity: 1;
}

#tw-support-widget .twsc-message--assistant.is-run-last {
  border-bottom-left-radius: 5px;
}

#tw-support-widget .twsc-message--user.is-run-last {
  border-bottom-right-radius: 5px;
}

#tw-support-widget .twsc-message.is-run-last::after {
  bottom: 0;
  content: "";
  height: 12px;
  position: absolute;
  width: 10px;
}

#tw-support-widget .twsc-message--assistant.is-run-last::after {
  background: #f1f5f9;
  border-bottom-left-radius: 3px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  left: -5px;
}

#tw-support-widget .twsc-message--user.is-run-last::after {
  background: var(--twsc-blue-dark);
  border-bottom-right-radius: 3px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  right: -5px;
}

#tw-support-widget .twsc-system-chip {
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  backdrop-filter: blur(14px) saturate(118%);
  background: rgba(241, 245, 249, .78);
  border: 1px solid rgba(203, 213, 225, .58);
  border-radius: 13px;
  color: var(--twsc-muted);
  display: grid;
  gap: 2px;
  justify-self: center;
  margin: 1px auto 5px;
  max-width: 88%;
  padding: 6px 10px;
  text-align: center;
  width: fit-content;
}

#tw-support-widget .twsc-system-chip .twsc-retention,
#tw-support-widget .twsc-system-chip .twsc-status {
  font-size: 8px;
  line-height: 1.4;
  margin: 0;
  min-height: 0;
}

#tw-support-widget .twsc-system-chip .twsc-retention {
  color: #7c8796;
}

#tw-support-widget .twsc-system-chip .twsc-status[data-tone="progress"]::before {
  height: 5px;
  margin-right: 5px;
  width: 5px;
}

#tw-support-widget .twsc-message.is-failed {
  box-shadow: 0 0 0 2px rgba(156, 75, 75, .28);
}

#tw-support-widget .twsc-status {
  color: var(--twsc-muted);
  font-size: 9px;
  line-height: 1.45;
  margin: 2px 2px 7px;
  min-height: 13px;
}

#tw-support-widget .twsc-status[data-tone="success"] {
  color: var(--twsc-success);
}

#tw-support-widget .twsc-status[data-tone="warning"] {
  color: var(--twsc-warning);
}

#tw-support-widget .twsc-status[data-tone="error"] {
  color: var(--twsc-error);
}

#tw-support-widget .twsc-status[data-tone="progress"]::before {
  animation: twsc-pulse 1s ease-in-out infinite alternate;
  background: currentColor;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 6px;
  margin-right: 6px;
  width: 6px;
}

@keyframes twsc-pulse {
  from { opacity: .35; }
  to { opacity: 1; }
}

#tw-support-widget .twsc-form {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 12px;
  min-width: 0;
  padding: 2px 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

#tw-support-widget .twsc-form:focus-within {
  border-color: rgba(56, 112, 176, .58);
  box-shadow: none;
}

#tw-support-widget .twsc-input {
  appearance: none;
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--twsc-text);
  display: block;
  font-size: 12px;
  line-height: 1.5;
  max-height: 96px;
  min-height: 38px;
  outline: 0 !important;
  padding: 8px 2px;
  resize: none;
  width: 100%;
}

#tw-support-widget .twsc-input::placeholder {
  color: #98a3b2;
}

#tw-support-widget .twsc-composer {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 42px;
}

#tw-support-widget .twsc-submit {
  align-items: center;
  appearance: none;
  background: var(--twsc-blue-dark);
  border: 1px solid var(--twsc-blue-dark);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
  width: 42px;
}

#tw-support-widget .twsc-submit:hover:not(:disabled) {
  background: #2f619a;
  border-color: #2f619a;
  transform: translateY(-1px);
}

#tw-support-widget .twsc-submit:disabled {
  background: #dfe5ec;
  border-color: #dfe5ec;
  color: #8490a0;
  cursor: not-allowed;
  opacity: .82;
}

#tw-support-widget .twsc-submit svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

#tw-support-widget .twsc-submit-icon--retry {
  display: none;
}

#tw-support-widget .twsc-submit.is-retry .twsc-submit-icon--send {
  display: none;
}

#tw-support-widget .twsc-submit.is-retry .twsc-submit-icon--retry {
  display: block;
}

#tw-support-widget .twsc-retention {
  color: #7c8796;
  display: block;
  font-size: 8px;
  line-height: 1.45;
  margin: 0 2px 2px;
}

#tw-support-widget .twsc-privacy {
  color: #8d97a5;
  display: block;
  font-size: 8px;
  line-height: 1.45;
  margin: 5px 3px 0;
  text-align: center;
}

#tw-support-widget .twsc-website {
  height: 1px;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: auto;
  width: 1px;
}

#tw-support-widget .twsc-visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

html.twsc-page-locked,
body.twsc-page-locked {
  overscroll-behavior: none;
}

@media (hover: none), (pointer: coarse) {
  #tw-support-widget .twsc-launcher:hover {
    box-shadow: 0 8px 20px rgba(31, 43, 64, .18);
    transform: none;
  }

  #tw-support-widget .twsc-channel:hover {
    box-shadow: 0 6px 18px rgba(31, 43, 64, .1);
    transform: none;
  }
}

@media (min-width: 769px) {
  #tw-support-widget .twsc-panel {
    display: flex;
    flex-direction: column;
    height: min(600px, calc(100vh - var(--twsc-avoid-bottom) - 100px));
    height: min(600px, calc(100dvh - var(--twsc-avoid-bottom) - 100px));
  }

  #tw-support-widget .twsc-panel-head {
    background: #2e374e;
    background: linear-gradient(135deg, var(--twsc-site-header) 0%, #36415e 100%);
    flex: 0 0 auto;
  }

  #tw-support-widget .twsc-panel-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-height: none;
    min-height: 0;
    padding: 0 18px 18px;
  }

  #tw-support-widget .twsc-log-shell {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
  }

  #tw-support-widget .twsc-log {
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    padding-block: 12px 14px;
  }
}

@media (max-width: 768px) {
  #tw-support-widget .twsc-panel-head {
    background: var(--twsc-site-header);
  }

  #tw-support-widget .twsc-close-icon--desktop {
    display: none;
  }

  #tw-support-widget .twsc-close-icon--compact {
    display: block;
  }
}

@media (max-width: 680px) {
  #tw-support-widget {
    --twsc-avoid-bottom: 16px;
    max-width: calc(100vw - 28px);
    right: max(14px, env(safe-area-inset-right, 0px));
  }

  #tw-support-widget .twsc-channel {
    justify-content: flex-start;
    min-height: 42px;
    min-width: 202px;
  }

  #tw-support-widget .twsc-launcher {
    height: 54px;
    min-width: 54px;
    width: 54px;
  }

  #tw-support-widget.is-open .twsc-launcher {
    width: 148px;
  }

  #tw-support-widget.is-choices .twsc-launcher {
    border-radius: 14px;
    height: 54px;
    min-width: 54px;
    width: 54px;
  }

  #tw-support-widget.is-site-mode .twsc-launcher {
    display: none;
  }

  #tw-support-widget.is-site-mode,
  #tw-support-widget.is-panel-closing {
    bottom: auto;
    height: var(--twsc-vv-height, 100vh);
    height: var(--twsc-vv-height, 100dvh);
    left: var(--twsc-vv-left, 0px);
    max-width: none;
    right: auto;
    top: var(--twsc-vv-top, 0px);
    width: var(--twsc-vv-width, 100vw);
  }

  #tw-support-widget.is-site-mode {
    background: #fff;
  }

  #tw-support-widget.is-panel-closing {
    background: transparent;
  }

  #tw-support-widget.is-panel-closing .twsc-launcher,
  #tw-support-widget.is-panel-closing .twsc-channel-rail {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  #tw-support-widget .twsc-panel {
    animation: none;
    border: 0;
    border-radius: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    height: var(--twsc-vv-height, 100vh);
    height: var(--twsc-vv-height, 100dvh);
    left: var(--twsc-vv-left, 0px);
    max-height: none;
    position: fixed;
    right: auto;
    top: var(--twsc-vv-top, 0px);
    width: var(--twsc-vv-width, 100vw);
  }

  #tw-support-widget .twsc-panel:not([hidden]) {
    animation: twsc-mobile-panel-in .32s cubic-bezier(.22, .78, .24, 1);
  }

  #tw-support-widget .twsc-panel.is-closing {
    animation: twsc-mobile-panel-out .28s cubic-bezier(.55, .08, .68, .53) forwards;
    pointer-events: none;
  }

  #tw-support-widget .twsc-panel-head {
    flex: 0 0 auto;
    padding-top: max(15px, env(safe-area-inset-top, 0px));
    touch-action: none;
  }

  #tw-support-widget .twsc-panel-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  #tw-support-widget.has-visual-keyboard .twsc-panel-body {
    padding-bottom: 10px;
  }

  #tw-support-widget .twsc-log {
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    max-height: none;
    min-height: 0;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 12px;
    padding-top: 12px;
    scrollbar-width: none;
    touch-action: pan-y;
  }

  #tw-support-widget .twsc-message {
    max-width: 86%;
  }

  #tw-support-widget .twsc-log::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  #tw-support-widget .twsc-log-shell {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
  }

  #tw-support-widget .twsc-scroll-indicator {
    bottom: 6px;
    display: block;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: 2px;
    top: 12px;
    transition: opacity .18s ease;
    width: 3px;
    z-index: 3;
  }

  #tw-support-widget .twsc-scroll-indicator.is-visible {
    opacity: 1;
  }

  #tw-support-widget .twsc-scroll-thumb {
    background: rgba(107, 114, 128, .52);
    border-radius: 999px;
    display: block;
    left: 0;
    min-height: 28px;
    position: absolute;
    top: 0;
    width: 100%;
    will-change: transform;
  }

  #tw-support-widget .twsc-dock {
    border-radius: 13px;
    margin: 0 -2px;
    padding: 7px 8px 8px;
  }

  #tw-support-widget .twsc-input {
    font-size: 16px;
    min-height: 38px;
    resize: none;
  }

  #tw-support-widget .twsc-composer {
    flex: 0 0 auto;
    position: relative;
    touch-action: manipulation;
    z-index: 2;
  }
}

@keyframes twsc-mobile-panel-in {
  from {
    opacity: .98;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes twsc-mobile-panel-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: .98;
    transform: translate3d(0, 100%, 0);
  }
}

@media (max-width: 380px) {
  #tw-support-widget .twsc-panel-head {
    padding: max(15px, env(safe-area-inset-top, 0px)) 15px 15px;
  }

  #tw-support-widget .twsc-panel-body {
    padding: 0 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  #tw-support-widget,
  #tw-support-widget *,
  #tw-support-widget *::before,
  #tw-support-widget *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #tw-support-widget .twsc-system-chip,
  #tw-support-widget .twsc-dock {
    background: #f9fafb;
  }

  #tw-support-widget .twsc-form {
    background: #fff;
  }
}

@media (forced-colors: active) {
  #tw-support-widget .twsc-launcher,
  #tw-support-widget .twsc-channel,
  #tw-support-widget .twsc-panel,
  #tw-support-widget .twsc-message,
  #tw-support-widget .twsc-form,
  #tw-support-widget .twsc-submit {
    border: 1px solid CanvasText;
  }
}
