/* From Uiverse.io by vinodjangid07 - https://uiverse.io/vinodjangid07/nervous-gecko-43
   MIT License, Copyright (c) vinodjangid07 (Vinod Jangid) */
.fity-support [hidden],
.support-admin-layout [hidden] {
  display: none !important;
}

.fity-support .visually-hidden,
.support-admin-layout .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fity-support {
  --support-launcher-bottom: max(20px, env(safe-area-inset-bottom));
  --support-launcher-size: 58px;
  --support-panel-gap: 13px;
  --support-red: #e52335;
  --support-ink: #25282d;
  --support-muted: #747a83;
  --support-line: #e5e7eb;
  --support-soft: #fff;
  position: relative;
  z-index: 1300;
  font-family: inherit;
}

.fity-support-launcher {
  position: fixed;
  right: var(--support-launcher-right, max(20px, env(safe-area-inset-right)));
  left: var(--support-launcher-left, auto);
  bottom: var(--support-launcher-bottom);
  display: flex;
  min-width: var(--support-launcher-size);
  height: var(--support-launcher-size);
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background-color: var(--support-red);
  background-image: linear-gradient(147deg, #f34150, #171717 54%, #e52335);
  background-size: 300%;
  background-position: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .24);
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background-position .6s ease, transform .2s ease, box-shadow .2s ease;
}

.fity-support-launcher:hover {
  background-position: right;
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(0, 0, 0, .28);
}

.fity-support-launcher:focus-visible,
.fity-support-close:focus-visible,
.fity-support-minimize:focus-visible,
.fity-support-topic-grid button:focus-visible,
.fity-support-compose button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.fity-support-launcher svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: currentColor;
}

.fity-support-tooltip {
  position: absolute;
  right: 3px;
  bottom: calc(100% + 13px);
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: var(--support-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
}

.fity-support-launcher:hover .fity-support-tooltip,
.fity-support-launcher:focus-visible .fity-support-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.fity-support-panel {
  position: fixed;
  right: var(--support-panel-right, max(20px, env(safe-area-inset-right)));
  left: var(--support-panel-left, auto);
  bottom: calc(var(--support-launcher-bottom) + var(--support-launcher-size) + var(--support-panel-gap));
  display: flex;
  width: min(400px, calc(100vw - 28px));
  height: min(590px, calc(100dvh - var(--support-launcher-bottom) - var(--support-launcher-size) - var(--support-panel-gap) - 16px));
  max-height: min(590px, calc(100dvh - var(--support-launcher-bottom) - var(--support-launcher-size) - var(--support-panel-gap) - 16px));
  min-height: min(390px, calc(100dvh - var(--support-launcher-bottom) - var(--support-launcher-size) - var(--support-panel-gap) - 16px));
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e4e6e9;
  border-radius: 18px;
  color: var(--support-ink);
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
  animation: fity-support-appear .22s ease-out both;
}

.fity-support-panel.is-maximized {
  inset: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  width: auto;
  height: auto;
  max-height: none;
  min-height: 0;
  border-radius: 16px;
}

@keyframes fity-support-appear {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fity-support-header {
  position: relative;
  display: flex;
  min-height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(120deg, #ed303f, #cf1e2d);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.fity-support-brand {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.fity-support-mark {
  position: relative;
}

.fity-support-mark i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border: 2px solid #cf1e2d;
  border-radius: 50%;
  background: #8d9297;
}

.fity-support-mark i.is-available {
  background: #38c976;
}

.fity-support-mark i.is-assigned {
  background: #7c6ce8;
}

.fity-support-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.fity-support-settings-toggle {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
}

.fity-support-settings-toggle:hover,
.fity-support-settings-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .24);
}

.fity-support-settings-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fity-support-settings-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 5px);
  right: 12px;
  width: min(320px, calc(100vw - 42px));
  overflow: hidden;
  border: 1px solid #e1e3e7;
  border-radius: 12px;
  color: #292c31;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

.fity-support-account-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--support-line);
}

.fity-support-account-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #777;
  font-size: .55rem;
}

.fity-support-account-email {
  overflow: hidden;
  font-size: .72rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fity-support-account-row a {
  color: #bf1e2b;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}

.fity-support-menu-action,
.fity-support-notification-row {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border: 0;
  border-bottom: 1px solid #eceef1;
  color: #34383e;
  background: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  text-align: left;
}

.fity-support-menu-action {
  cursor: pointer;
}

.fity-support-menu-action:hover:not(:disabled) {
  background: #f5f6f7;
}

.fity-support-menu-action:disabled {
  color: #9298a0;
  cursor: not-allowed;
}

.fity-support-notification-row {
  cursor: pointer;
}

.fity-support-notification-row input {
  width: 38px;
  height: 21px;
  flex: 0 0 38px;
  appearance: none;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  background: #e7e7e7;
  cursor: pointer;
  transition: background .2s ease;
}

.fity-support-notification-row input::before {
  display: block;
  width: 15px;
  height: 15px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  content: "";
  transition: transform .2s ease;
}

.fity-support-notification-row input:checked {
  border-color: #5145e5;
  background: #5145e5;
}

.fity-support-notification-row input:checked::before {
  transform: translateX(17px);
}

.fity-support-settings-status {
  margin: 0;
  padding: 8px 13px 10px;
  color: #737982;
  font-size: .7rem;
  line-height: 1.4;
}

.fity-support-settings-status:not([hidden]) {
  display: block;
}

.fity-support-brand > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.fity-support-brand strong {
  overflow: hidden;
  font-size: .96rem;
  letter-spacing: -.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fity-support-brand small {
  overflow: hidden;
  color: #ffe8ea;
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fity-support-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: linear-gradient(135deg, #442c75, #346dc5 58%, #22c5b7);
}

.fity-support-mark svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fity-support-close {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.fity-support-close:hover {
  background: rgba(255, 255, 255, .22);
}

.fity-support-close:disabled {
  cursor: wait;
  opacity: .55;
}

.fity-support-minimize {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.fity-support-minimize:hover {
  background: rgba(255, 255, 255, .16);
}

.fity-support-minimize svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.fity-support-topics {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 17px 16px 15px;
  background: #f4f5f6;
}

.fity-support-signin,
.fity-support-prechat {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 17px 16px 15px;
  background: #f4f5f6;
}

.fity-support-signin > p:not(.fity-support-greeting) {
  margin: 0 0 15px;
  color: #59616b;
  font-size: .86rem;
  line-height: 1.5;
}

.fity-support-signin-link,
.fity-support-start {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--support-red);
  cursor: pointer;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.fity-support-signin-link:hover,
.fity-support-start:hover {
  color: #fff;
  background: #bd1d30;
}

.fity-support-signin-note {
  margin: 12px 0 0 !important;
  color: #747a83 !important;
  font-size: .72rem !important;
}

.fity-support-intro {
  margin: 0 0 14px;
  color: #373c43;
  font-size: .97rem;
  font-weight: 750;
}

.fity-support-greeting {
  margin: 0 0 8px;
  color: #25282d;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
}

.fity-support-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.fity-support-back {
  margin: 0 0 14px;
  padding: 4px 0;
  border: 0;
  color: #bf1e2b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
}

.fity-support-back:hover {
  text-decoration: underline;
}

.fity-support-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 0 16px;
}

.fity-support-suggestion {
  padding: 7px 10px;
  border: 1px solid #e4e6e9;
  border-radius: 999px;
  color: #525961;
  background: #f8f9fa;
  cursor: pointer;
  font: inherit;
  font-size: .71rem;
  line-height: 1.35;
  text-align: left;
}

.fity-support-suggestion:hover,
.fity-support-suggestion:focus-visible {
  border-color: var(--support-red);
  background: #fff1f2;
}

.fity-support-name-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.fity-support-name-fields label,
.fity-support-message-label {
  display: grid;
  gap: 5px;
  color: #4a5058;
  font-size: .73rem;
  font-weight: 750;
}

.fity-support-name-fields input,
.fity-support-first-message textarea {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #dfe2e6;
  border-radius: 8px;
  color: var(--support-ink);
  background: #fff;
  font: inherit;
  font-size: .8rem;
}

.fity-support-first-message {
  display: grid;
  gap: 11px;
}

.fity-support-message-label {
  margin-bottom: -6px;
}

.fity-support-first-message textarea {
  min-height: 76px;
  resize: vertical;
}

.fity-support-name-fields input:focus,
.fity-support-first-message textarea:focus {
  border-color: var(--support-red);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(229, 35, 53, .1);
}

.fity-support-start {
  justify-self: end;
}

.fity-support-start:disabled {
  opacity: .6;
  cursor: wait;
}

.fity-support-prechat-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #626a74;
  font-size: .75rem;
}

.fity-support-prechat-typing[hidden] {
  display: none;
}

.fity-support-topic-grid button {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #e1e4e8;
  border-radius: 11px;
  color: #343a40;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.fity-support-topic-grid button:hover {
  transform: translateY(-1px);
  border-color: var(--support-red);
  background: #fff7f7;
}

.fity-support-topic-grid svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: var(--support-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fity-support-privacy,
.fity-support-footnote {
  display: block;
  margin-top: 14px;
  color: #737982;
  font-size: .72rem;
  line-height: 1.5;
}

.fity-support-thread {
  display: flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 0 14px 13px;
  background: #f4f5f6;
}

.fity-support-thread-meta {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid #e1e4e8;
  color: #343a40;
  font-size: .72rem;
  font-weight: 750;
}

.fity-support-thread-meta span:last-child {
  color: #747a83;
  font-weight: 600;
  text-align: right;
}

.fity-support-quick-replies {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: 7px;
  padding: 8px 2px 12px;
}

.fity-support-quick-replies:empty {
  display: none;
}

.fity-support-quick-reply {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #60666f;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.fity-support-quick-reply:hover,
.fity-support-quick-reply:focus-visible {
  border-color: var(--support-red);
  color: #a91c29;
  background: #fff8f8;
}

.fity-support-quick-reply:disabled {
  cursor: wait;
  opacity: .6;
}

.fity-support-transcript {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  flex: 1 1 auto;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 8px 2px;
  overscroll-behavior: contain;
  scrollbar-color: #b8bdc5 transparent;
  scrollbar-width: thin;
}

.fity-support-transcript::-webkit-scrollbar,
.fity-support-topics::-webkit-scrollbar,
.fity-support-signin::-webkit-scrollbar,
.fity-support-prechat::-webkit-scrollbar,
.fity-support-settings-menu::-webkit-scrollbar {
  width: 5px;
}

.fity-support-transcript::-webkit-scrollbar-track,
.fity-support-topics::-webkit-scrollbar-track,
.fity-support-signin::-webkit-scrollbar-track,
.fity-support-prechat::-webkit-scrollbar-track,
.fity-support-settings-menu::-webkit-scrollbar-track {
  background: transparent;
}

.fity-support-transcript::-webkit-scrollbar-thumb,
.fity-support-topics::-webkit-scrollbar-thumb,
.fity-support-signin::-webkit-scrollbar-thumb,
.fity-support-prechat::-webkit-scrollbar-thumb,
.fity-support-settings-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8bdc5;
}

.fity-support-transcript::-webkit-scrollbar-button,
.fity-support-topics::-webkit-scrollbar-button,
.fity-support-signin::-webkit-scrollbar-button,
.fity-support-prechat::-webkit-scrollbar-button,
.fity-support-settings-menu::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.fity-support-messages {
  display: flex;
  min-width: 0;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 9px;
  overflow: visible;
  padding: 5px 2px 8px;
}

.fity-support-message {
  min-width: 0;
  max-width: 90%;
  align-self: flex-start;
  padding: 9px 11px;
  border: 1px solid #e1e4e8;
  border-radius: 13px 13px 13px 4px;
  color: #30353b;
  background: #fff;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.fity-support-message.is-customer {
  align-self: flex-end;
  border-color: #d52333;
  border-radius: 13px 13px 4px 13px;
  color: #fff;
  background: #e52335;
}

.fity-support-message.is-pending {
  opacity: .78;
}

.fity-support-message strong {
  display: block;
  margin-bottom: 3px;
  font-size: .68rem;
  opacity: .8;
}

.fity-support-message p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
}

.fity-support-message-attachment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: inherit;
  font-size: .75rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fity-support-message time {
  display: block;
  margin-top: 5px;
  font-size: .62rem;
  color: #858b94;
}

.fity-support-loader {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 4px 2px;
  color: #656c75;
  font-size: .74rem;
}

/* From Uiverse.io by PriyanshuGupta28 - https://uiverse.io/PriyanshuGupta28/popular-cobra-49
   MIT License, Copyright (c) PriyanshuGupta28 (Priyanshu Gupta) */
.fity-support-spinner {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, #0000 40%, #6121d1 41%);
  mask: radial-gradient(farthest-side, #0000 40%, #6121d1 41%);
  background:
    linear-gradient(0deg, rgba(229, 35, 53, .5) 50%, rgba(229, 35, 53, 1) 0) center / 4px 100%,
    linear-gradient(90deg, rgba(229, 35, 53, .25) 50%, rgba(229, 35, 53, .75) 0) center / 100% 4px;
  background-repeat: no-repeat;
  animation: fity-support-spinner 1s infinite steps(12);
}

.fity-support-spinner::before,
.fity-support-spinner::after {
  grid-area: 1 / 1;
  border-radius: 50%;
  background: inherit;
  content: "";
  opacity: .915;
  transform: rotate(30deg);
}

.fity-support-spinner::after {
  opacity: .83;
  transform: rotate(60deg);
}

@keyframes fity-support-spinner {
  to { transform: rotate(1turn); }
}

.fity-support-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fity-support-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--support-red);
  animation: fity-support-dot 1.1s infinite ease-in-out;
}

.fity-support-dots i:nth-child(2) { animation-delay: .14s; }
.fity-support-dots i:nth-child(3) { animation-delay: .28s; }

@keyframes fity-support-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.fity-support-typing {
  min-height: 18px;
  margin: 0 0 5px 2px;
  color: #747a83;
  font-size: .7rem;
  font-style: italic;
}

.fity-support-error {
  margin: 5px 0;
  color: #a91c29;
  font-size: .76rem;
}

.fity-support-compose {
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) 35px 36px;
  align-items: end;
  gap: 7px;
  padding: 7px;
  border: 1px solid #dfe2e6;
  border-radius: 12px;
  background: #fff;
}

.fity-support-attach {
  display: grid;
  width: 35px;
  height: 36px;
  flex: 0 0 35px;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  border-radius: 9px;
  color: #737a83;
  cursor: pointer;
}

.fity-support-attach:hover,
.fity-support-attach:focus-within {
  color: var(--support-red);
  background: #fff1f2;
}

.fity-support-attach svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.fity-support-compose:focus-within {
  border-color: var(--support-red);
  box-shadow: 0 0 0 3px rgba(229, 35, 53, .1);
}

.fity-support-compose textarea {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 38px;
  max-height: 95px;
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1;
  resize: none;
  border: 0;
  outline: 0;
  color: var(--support-ink);
  background: transparent;
  font: inherit;
  font-size: .82rem;
}

.fity-support-compose textarea:disabled {
  cursor: not-allowed;
}

.fity-support-attachment-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 2px 0;
  padding: 6px 9px;
  border-radius: 8px;
  color: #4a2b30;
  background: #fff1f2;
  font-size: .72rem;
}

.fity-support-attachment-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fity-support-attachment-preview button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.fity-support-compose button {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  grid-column: 3;
  grid-row: 1;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--support-red);
  cursor: pointer;
}

.fity-support-compose button:hover {
  background: #bd1d30;
}

.fity-support-compose button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.fity-support-restart {
  align-self: flex-start;
  margin-top: 9px;
  padding: 5px 0;
  border: 0;
  color: #bf1e2b;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .75rem;
  font-weight: 750;
}

.fity-support-restart:hover {
  text-decoration: underline;
}

.support-admin-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.support-agent-status {
  display: grid;
  min-width: 170px;
  gap: 6px;
  color: #444;
  font-size: .78rem;
  font-weight: 750;
}

.support-agent-status select {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--support-line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}

.support-admin-notice {
  margin: 0 0 12px;
}

.support-admin-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  min-height: 580px;
  margin: 18px 0 32px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}

.support-admin-list {
  min-width: 0;
  border-right: 1px solid #e7e7e7;
  background: #fafafa;
}

.support-admin-list-heading {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid #e7e7e7;
}

.support-admin-list-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.support-admin-empty-list {
  margin: 0;
  padding: 18px 15px;
  color: #707070;
  font-size: .82rem;
}

.support-admin-list-heading .btn {
  padding: 7px 10px;
  font-size: .75rem;
}

.support-admin-conversation-row {
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 13px 15px;
  border: 0;
  border-bottom: 1px solid #ededed;
  border-left: 3px solid transparent;
  color: #222;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.support-admin-conversation-row:hover,
.support-admin-conversation-row[aria-current="true"] {
  border-left-color: var(--support-red);
  background: #fff;
}

.support-admin-conversation-row strong {
  font-size: .84rem;
}

.support-admin-conversation-row span,
.support-admin-conversation-row small {
  overflow: hidden;
  color: #707070;
  font-size: .72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-conversation {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.support-admin-empty {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  padding: 30px;
  color: #727272;
  text-align: center;
}

.support-admin-empty svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #b6b6b6;
  stroke-width: 1.5;
}

.support-admin-empty h2 {
  margin: 12px 0 5px;
  color: #303030;
  font-size: 1.06rem;
}

.support-admin-empty p {
  max-width: 300px;
  margin: 0;
  font-size: .84rem;
}

.support-admin-active {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.support-admin-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  border-bottom: 1px solid #e7e7e7;
}

.support-admin-chat-header h2 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.support-admin-chat-header small {
  color: #777;
  font-size: .75rem;
}

.support-admin-chat-header .eyebrow {
  margin: 0 0 4px;
  color: var(--support-red);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.support-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.support-admin-actions .btn {
  padding: 8px 11px;
  font-size: .76rem;
}

.support-admin-messages {
  display: flex;
  min-height: 250px;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 18px;
}

.support-admin-message {
  max-width: min(78%, 650px);
  align-self: flex-start;
  padding: 10px 12px;
  border: 1px solid #e9e9e9;
  border-radius: 12px 12px 12px 4px;
  background: #f7f7f7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.support-admin-message.is-agent {
  align-self: flex-end;
  border-color: #f3c9ce;
  color: #fff;
  background: var(--support-red);
}

.support-admin-message strong,
.support-admin-message time {
  display: block;
  font-size: .68rem;
  opacity: .75;
}

.support-admin-message p {
  margin: 4px 0;
  font-size: .84rem;
  line-height: 1.45;
}

.support-admin-message-attachment {
  display: inline-flex;
  margin: 4px 0;
  color: inherit;
  font-size: .78rem;
  font-weight: 750;
  text-underline-offset: 2px;
}

.support-admin-compose {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 13px 16px;
  border-top: 1px solid #e7e7e7;
}

.support-admin-attach {
  display: grid;
  width: 36px;
  height: 40px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
}

.support-admin-attach:hover {
  color: var(--support-red);
  background: #fff3f4;
}

.support-admin-attach svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-admin-compose textarea {
  min-height: 42px;
  flex: 1;
  padding: 10px;
  resize: vertical;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  font: inherit;
  font-size: .84rem;
}

.support-admin-attachment-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 16px 10px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #4a2b30;
  background: #fff1f2;
  font-size: .75rem;
}

.support-admin-attachment-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-attachment-preview button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 720px) {
  .fity-support {
    --support-launcher-bottom: max(16px, env(safe-area-inset-bottom));
    --support-launcher-size: 54px;
    --support-panel-gap: 12px;
  }

  .fity-support-panel {
    right: var(--support-panel-right, 12px);
    left: var(--support-panel-left, auto);
    width: min(400px, calc(100vw - 24px));
  }

  .fity-support-name-fields {
    grid-template-columns: 1fr;
  }

  .fity-support-launcher {
    right: var(--support-launcher-right, 16px);
    left: var(--support-launcher-left, auto);
    padding: 0 14px;
  }

  .support-admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-admin-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .support-admin-list {
    max-height: 260px;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 1px solid #e7e7e7;
  }

  .support-admin-conversation {
    min-height: 460px;
  }

  .support-admin-chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-admin-message {
    max-width: 92%;
  }
}

@media (max-width: 420px) {
  .fity-support-panel.is-maximized {
    inset: 0;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fity-support-launcher,
  .fity-support-tooltip,
  .fity-support-topic-grid button,
  .fity-support-panel {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .fity-support-spinner,
  .fity-support-spinner::before,
  .fity-support-spinner::after { animation: none; }

  .fity-support-dots i {
    animation: none;
  }
}

.support-admin-page {
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px clamp(14px, 2.4vw, 36px) 28px;
  color: #252a33;
}

.support-admin-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.support-admin-page-heading .eyebrow {
  margin: 0 0 3px;
  font-size: .65rem;
  letter-spacing: .12em;
}

.support-admin-page-heading h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -.035em;
}

.support-admin-top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.support-admin-page .support-agent-status {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #596273;
  font-size: .76rem;
  font-weight: 700;
}

.support-admin-page .support-agent-status select {
  min-height: 38px;
  padding: 6px 30px 6px 11px;
  border: 1px solid #e3e7ed;
  border-radius: 9px;
  color: #273245;
  background-color: #fff;
  box-shadow: none;
  font: inherit;
  font-weight: 700;
}

.support-admin-refresh {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid #e2e6ec;
  border-radius: 9px;
  color: #384357;
  background: #fff;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
}

.support-admin-refresh:hover {
  border-color: #c9d0dc;
  background: #f8f9fb;
}

.support-admin-refresh svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.support-admin-page .support-admin-notice {
  margin: 0 0 12px;
  padding: 10px 12px;
}

.support-admin-page .support-admin-layout {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(280px, 320px) minmax(0, 1fr);
  height: min(760px, calc(100dvh - 210px));
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e4e8ee;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(31, 41, 55, .08);
}

.support-admin-page .support-admin-layout.has-details {
  grid-template-columns: 58px minmax(270px, 300px) minmax(0, 1fr) 260px;
}

body.focused-support-agent .support-admin-page .support-admin-layout,
body.focused-support-agent .support-admin-page .support-admin-layout.has-details {
  height: min(760px, calc(100dvh - 135px));
}

.support-admin-rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 11px 6px;
  border-right: 1px solid #e8ebf0;
  background: #fbfcfe;
}

.support-admin-rail-brand {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  margin: 0 0 9px;
  border-radius: 10px;
  background: #fff;
}

.support-admin-rail-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.support-admin-rail-link {
  display: flex;
  width: 45px;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 2px;
  border: 0;
  border-radius: 9px;
  color: #727d8e;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .59rem;
  font-weight: 750;
  text-decoration: none;
}

.support-admin-rail-link:hover,
.support-admin-rail-link.is-active {
  color: #b51e2e;
  background: #fff0f2;
}

.support-admin-rail-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-admin-rail-spacer {
  flex: 1;
}

.support-admin-rail-signout {
  display: flex;
  width: 100%;
  justify-content: center;
}

.support-admin-rail-user {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  margin-bottom: 2px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6b67e8, #e52335);
  box-shadow: 0 0 0 1px #e4e8ee;
  font-size: .8rem;
  font-weight: 850;
}

.support-admin-rail-user img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.support-admin-page .support-admin-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #e8ebf0;
  background: #fff;
}

.support-admin-page .support-admin-list-heading {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 9px;
  border: 0;
}

.support-admin-list-heading h2 {
  margin: 0 0 3px;
  color: #222b3a;
  font-size: 1.04rem;
  letter-spacing: -.025em;
}

.support-admin-list-heading [data-support-admin-count] {
  color: #8a93a1;
  font-size: .67rem;
}

.support-admin-page .support-admin-sort select {
  max-width: 104px;
  min-height: 32px;
  padding: 5px 24px 5px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #687487;
  background-color: #f7f8fa;
  box-shadow: none;
  font-size: .68rem;
  font-weight: 700;
}

.support-admin-search {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  margin: 2px 12px 11px;
  padding: 0 9px;
  border: 1px solid #e5e8ed;
  border-radius: 8px;
  color: #8b95a4;
  background: #fbfcfd;
}

.support-admin-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.support-admin-search input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #313b4b;
  background: transparent;
  box-shadow: none;
  font-size: .75rem;
}

.support-admin-search input::placeholder {
  color: #99a2af;
}

.support-admin-search kbd {
  padding: 1px 5px;
  border: 1px solid #e1e5eb;
  border-radius: 4px;
  color: #9aa2ad;
  background: #fff;
  font-size: .63rem;
}

.support-admin-filters {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 0 10px;
  border-bottom: 1px solid #edf0f3;
  scrollbar-width: none;
}

.support-admin-filters::-webkit-scrollbar {
  display: none;
}

.support-admin-filters button {
  display: inline-flex;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #778191;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .65rem;
  font-weight: 750;
  white-space: nowrap;
}

.support-admin-filters button[aria-pressed="true"] {
  border-bottom-color: #e52335;
  color: #252d3b;
}

.support-admin-filters button span {
  display: inline-grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding: 0 3px;
  border-radius: 999px;
  color: #758093;
  background: #f0f2f5;
  font-size: .59rem;
}

.support-admin-conversations {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.support-admin-page .support-admin-empty-list {
  padding: 25px 16px;
  color: #8992a0;
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}

.support-admin-page .support-admin-conversation-row {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0 9px;
  min-height: 88px;
  padding: 12px 12px;
  border: 0;
  border-bottom: 1px solid #f0f1f3;
  border-left: 3px solid transparent;
  color: #263043;
  text-align: left;
  transition: background .14s ease, border-color .14s ease;
}

.support-admin-page .support-admin-conversation-row:hover,
.support-admin-page .support-admin-conversation-row[aria-current="true"] {
  border-left-color: #e52335;
  background: #f8f9fb;
}

.support-admin-row-avatar {
  position: relative;
  display: grid;
  grid-row: span 4;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6963e7;
  font-size: .77rem;
  font-weight: 850;
}

.support-admin-row-avatar.is-coral { background: #ed6a55; }
.support-admin-row-avatar.is-violet { background: #6963e7; }
.support-admin-row-avatar.is-teal { background: #28a99c; }
.support-admin-row-avatar.is-gold { background: #c58a27; }

.support-admin-row-avatar i {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #38bf79;
}

.support-admin-row-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.support-admin-row-heading strong {
  overflow: hidden;
  color: #30394a;
  font-size: .75rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-row-heading time {
  flex: 0 0 auto;
  color: #9aa2ae;
  font-size: .6rem;
}

.support-admin-row-email {
  overflow: hidden;
  margin-top: 3px;
  color: #788394;
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-row-preview {
  overflow: hidden;
  margin-top: 4px;
  color: #707b8b;
  font-size: .67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-row-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #929aa7;
  font-size: .58rem;
}

.support-admin-row-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7d8795;
}

.support-admin-row-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aab1bb;
  content: "";
}

.support-admin-row-state.is-needs-agent::before { background: #e52335; }
.support-admin-row-state.is-assigned::before { background: #36b678; }

.support-admin-page .support-admin-conversation {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  background: #f7f8fa;
}

.support-admin-page .support-admin-empty {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  padding: 36px;
  color: #727d8d;
  text-align: center;
}

.support-admin-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #e7eaf0;
  border-radius: 17px;
  color: #7471d9;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 41, 55, .06);
}

.support-admin-empty-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-admin-page .support-admin-empty h2 {
  margin: 14px 0 5px;
  color: #30394a;
  font-size: 1.02rem;
}

.support-admin-page .support-admin-empty p {
  max-width: 310px;
  color: #7d8795;
  font-size: .78rem;
  line-height: 1.55;
}

.support-admin-page .support-admin-active {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  background: #f7f8fa;
}

.support-admin-page .support-admin-chat-header {
  position: relative;
  display: flex;
  min-height: 69px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid #e9ecf1;
  background: #fff;
}

.support-admin-customer {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.support-admin-customer-avatar {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #756bf0, #5f5be1);
  font-size: .87rem;
  font-weight: 850;
}

.support-admin-customer-copy {
  min-width: 0;
}

.support-admin-page .support-admin-chat-header h2 {
  overflow: hidden;
  margin: 0 0 4px;
  color: #283144;
  font-size: .89rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-customer-copy > div {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: #788394;
}

.support-admin-customer-copy small {
  overflow: hidden;
  color: #7c8797;
  font-size: .66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-admin-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #e3a32f;
}

.support-admin-live-dot.is-online { background: #35b77b; }
.support-admin-live-dot.is-closed { background: #9aa2ad; }

.support-admin-header-separator {
  color: #c0c5ce;
}

.support-admin-page .support-admin-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.support-admin-topic-pill {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #e9e3f7;
  border-radius: 999px;
  color: #6960a3;
  background: #f8f5ff;
  font-size: .63rem;
  font-weight: 750;
  white-space: nowrap;
}

.support-admin-action-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #748093;
  background: transparent;
  cursor: pointer;
}

.support-admin-action-button:hover,
.support-admin-action-button[aria-expanded="true"],
.support-admin-action-button[aria-pressed="true"] {
  border-color: #e8ebf0;
  color: #424f65;
  background: #f6f7f9;
}

.support-admin-action-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-admin-page .support-admin-end-button {
  display: inline-flex;
  width: auto;
  min-width: 82px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 9px;
  border-color: #f0d7dc;
  color: #a4434e;
  background: #fff;
  font-size: .68rem;
  font-weight: 750;
}

.support-admin-page .support-admin-end-button[hidden] {
  display: none;
}

.support-admin-page .support-admin-end-button:hover {
  border-color: #e7b9c0;
  color: #8d2937;
  background: #fff7f8;
}

.support-admin-page .support-admin-end-button svg {
  width: 16px;
  height: 16px;
}

.support-admin-more-menu {
  position: absolute;
  z-index: 4;
  top: calc(100% + 7px);
  right: 0;
  width: 205px;
  padding: 5px;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 41, 55, .16);
}

.support-admin-more-menu button {
  width: 100%;
  min-height: 37px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  color: #3a4558;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  text-align: left;
}

.support-admin-more-menu button:hover {
  background: #f5f6f8;
}

.support-admin-more-menu-topic {
  display: grid;
  gap: 4px;
  padding: 8px 9px;
  border-bottom: 1px solid #eceef2;
}

.support-admin-more-menu-topic > span {
  color: #858e9d;
  font-size: .62rem;
  font-weight: 700;
}

.support-admin-more-menu-topic .support-admin-topic-pill {
  min-height: 0;
  align-self: start;
  padding: 0;
  border: 0;
  color: #4a5261;
  background: transparent;
  font-size: .74rem;
  white-space: normal;
}

.support-admin-more-menu .support-admin-menu-action {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  min-height: 37px;
  height: auto;
  justify-content: flex-start;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  color: #3a4558;
  background: transparent;
  font: inherit;
  font-size: .72rem;
  text-align: left;
}

.support-admin-more-menu .support-admin-menu-action svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-admin-claim-banner {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 17px;
  border-bottom: 1px solid #f1e7d4;
  color: #745a28;
  background: #fffaf0;
  font-size: .72rem;
  font-weight: 650;
}

.support-admin-claim-banner .btn {
  min-height: 34px;
  padding: 6px 12px;
  font-size: .7rem;
}

.support-admin-transfer-banner {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border-bottom: 1px solid #e4e0f5;
  color: #4f477f;
  background: #f8f6ff;
  font-size: .68rem;
}

.support-admin-transfer-banner strong {
  color: #564a96;
  font-size: .72rem;
  font-weight: 800;
}

.support-admin-transfer-banner span {
  color: #77728c;
}

.support-admin-page .support-admin-messages {
  display: flex;
  min-height: 180px;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 22px clamp(18px, 4vw, 55px);
  background:
    radial-gradient(ellipse at 50% 5%, rgba(255,255,255,.9), transparent 58%),
    #f7f8fa;
  overscroll-behavior: contain;
}

.support-admin-page .support-admin-message {
  max-width: min(76%, 620px);
  align-self: flex-start;
  padding: 10px 13px 8px;
  border: 1px solid #e7eaf0;
  border-radius: 13px 13px 13px 4px;
  color: #313b4c;
  background: #fff;
  box-shadow: 0 2px 6px rgba(31, 41, 55, .035);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  animation: support-admin-message-in .16s ease-out both;
}

@keyframes support-admin-message-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.support-admin-page .support-admin-message.is-agent {
  align-self: flex-end;
  border-color: #ede8fc;
  color: #343148;
  background: #f4f1ff;
}

.support-admin-page .support-admin-message strong {
  display: block;
  margin-bottom: 4px;
  color: #706c92;
  font-size: .65rem;
  font-weight: 800;
}

.support-admin-page .support-admin-message p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
}

.support-admin-page .support-admin-message time {
  display: block;
  margin-top: 5px;
  color: #8c95a3;
  font-size: .59rem;
}

.support-admin-page .support-admin-message-attachment {
  display: inline-flex;
  max-width: 100%;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: #5e58bd;
  font-size: .74rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-admin-page .support-admin-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0 18px 8px;
  color: #7c8796;
  background: #f7f8fa;
  font-size: .68rem;
  font-style: italic;
}

.support-admin-page .support-admin-compose {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 0 18px 15px;
  padding: 8px 10px 9px;
  border: 1px solid #e2e6ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(31, 41, 55, .04);
}

.support-admin-compose:focus-within {
  border-color: #cfcaf2;
  box-shadow: 0 0 0 3px rgba(105, 99, 231, .09);
}

.support-admin-compose-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}

.support-admin-compose-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #7d8795;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.support-admin-compose-icon:hover,
.support-admin-compose-icon[aria-expanded="true"] {
  color: #5b55c2;
  background: #f3f1ff;
}

.support-admin-compose-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-admin-emoji-wrap {
  position: relative;
}

.support-admin-emoji-picker {
  position: absolute;
  z-index: 3;
  bottom: calc(100% + 7px);
  left: 0;
  display: grid;
  grid-template-columns: repeat(6, 34px);
  gap: 3px;
  padding: 6px;
  border: 1px solid #e3e7ed;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 41, 55, .15);
}

.support-admin-emoji-picker button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
}

.support-admin-emoji-picker button:hover {
  background: #f4f2ff;
}

.support-admin-page .support-admin-compose textarea {
  width: 100%;
  min-height: 47px;
  max-height: 145px;
  padding: 5px 2px;
  resize: none;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #303a4b;
  background: transparent;
  box-shadow: none;
  font-size: .79rem;
  line-height: 1.5;
}

.support-admin-compose textarea::placeholder {
  color: #9aa2ad;
}

.support-admin-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-admin-compose-footer small {
  color: #99a1ad;
  font-size: .6rem;
}

.support-admin-send {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #4f62e8;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.support-admin-send:hover {
  transform: translateY(-1px);
  background: #3f50d0;
}

.support-admin-send:disabled {
  opacity: .55;
  cursor: wait;
}

.support-admin-send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.support-admin-page .support-admin-attachment-preview {
  margin: 0 18px 10px;
  border: 1px solid #f0d7da;
  background: #fff7f7;
}

.support-admin-details {
  min-width: 0;
  overflow-y: auto;
  border-left: 1px solid #e8ebf0;
  background: #fff;
}

.support-admin-details > header {
  display: flex;
  min-height: 57px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-bottom: 1px solid #edf0f3;
}

.support-admin-details > header h2 {
  margin: 0;
  color: #30394a;
  font-size: .79rem;
}

.support-admin-details > header button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #7d8795;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}

.support-admin-details-profile {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 20px 12px 18px;
  border-bottom: 1px solid #edf0f3;
  text-align: center;
}

.support-admin-details-profile .support-admin-customer-avatar {
  width: 52px;
  height: 52px;
  font-size: 1rem;
}

.support-admin-details-profile strong {
  color: #30394a;
  font-size: .82rem;
}

.support-admin-details-profile a {
  max-width: 100%;
  overflow: hidden;
  color: #798394;
  font-size: .68rem;
  text-overflow: ellipsis;
  text-decoration: none;
  white-space: nowrap;
}

.support-admin-details dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 7px 13px;
}

.support-admin-details dl div {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f1f3;
}

.support-admin-details dt {
  color: #929aa6;
  font-size: .62rem;
  font-weight: 700;
}

.support-admin-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #394457;
  font-size: .71rem;
  font-weight: 700;
}

.support-admin-mobile-back {
  display: none;
}

@media (max-width: 1120px) {
  .support-admin-page .support-admin-layout.has-details {
    grid-template-columns: 54px minmax(250px, 280px) minmax(0, 1fr) 230px;
  }

  .support-admin-page .support-admin-layout {
    grid-template-columns: 54px minmax(250px, 280px) minmax(0, 1fr);
  }
}

@media (max-width: 850px) {
  .support-admin-page .support-admin-layout.has-details {
    grid-template-columns: 50px minmax(230px, 260px) minmax(0, 1fr);
  }

  .support-admin-details {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    bottom: 0;
    width: 260px;
    box-shadow: -8px 0 24px rgba(31, 41, 55, .12);
  }
}

@media (max-width: 720px) {
  .support-admin-page {
    padding: 8px;
  }

  .support-admin-page-heading {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
  }

  .support-admin-page-heading .eyebrow {
    display: none;
  }

  .support-admin-page-heading > div:first-child {
    min-width: 0;
  }

  .support-admin-top-actions {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 4px;
    margin-left: auto;
  }

  .support-admin-page-heading h1 {
    overflow: hidden;
    font-size: clamp(.85rem, 3.8vw, 1.05rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .support-admin-page .support-agent-status {
    display: block;
    min-width: 0;
    font-size: .6rem;
  }

  .support-admin-page .support-agent-status > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .support-admin-page .support-agent-status select {
    width: 70px;
    min-width: 64px;
    min-height: 32px;
    padding: 4px 18px 4px 7px;
    font-size: .65rem;
  }

  .support-admin-page-heading .support-admin-refresh {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .support-admin-page-heading .support-admin-refresh svg {
    flex: 0 0 16px;
  }

  .support-admin-page .support-admin-layout,
  .support-admin-page .support-admin-layout.has-details {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 44px minmax(0, 1fr);
    height: calc(100dvh - 180px);
    min-height: 0;
  }

  body.focused-support-agent > main {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  body.focused-support-agent .support-admin-page {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    box-sizing: border-box;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
  }

  body.focused-support-agent .support-admin-page-heading {
    flex: 0 0 auto;
  }

  body.focused-support-agent .support-admin-page .support-admin-layout,
  body.focused-support-agent .support-admin-page .support-admin-layout.has-details {
    height: auto;
    min-height: 0;
    flex: 1 1 0%;
  }

  .support-admin-rail {
    height: 44px;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    padding: 4px 6px;
    border-right: 0;
    border-bottom: 1px solid #e8ebf0;
    scrollbar-width: none;
  }

  .support-admin-rail::-webkit-scrollbar {
    display: none;
  }

  .support-admin-rail-brand {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin: 0 2px 0 0;
  }

  .support-admin-rail-brand img {
    width: 24px;
    height: 24px;
  }

  .support-admin-rail-link {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
  }

  .support-admin-rail-link span {
    display: none;
  }

  .support-admin-rail-link svg {
    width: 17px;
    height: 17px;
  }

  .support-admin-rail-spacer {
    min-width: 0;
    flex: 1 1 0%;
  }

  .support-admin-rail-signout {
    width: 34px;
    flex: 0 0 34px;
  }

  .support-admin-rail-user {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .support-admin-page .support-admin-list {
    min-height: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .support-admin-page .support-admin-layout:not(.is-chat-open) .support-admin-conversation {
    display: none;
  }

  .support-admin-page .support-admin-layout.is-chat-open .support-admin-list {
    display: none;
  }

  .support-admin-page .support-admin-layout.is-chat-open .support-admin-conversation {
    grid-row: 2;
  }

  .support-admin-page .support-admin-layout.is-chat-open .support-admin-details {
    top: 44px;
    width: min(290px, 86%);
  }

  .support-admin-page .support-admin-list-heading {
    min-height: 55px;
  }

  .support-admin-filters {
    padding: 0 9px;
  }

  .support-admin-filters button {
    min-height: 36px;
    padding: 0 8px;
  }

  .support-admin-page .support-admin-chat-header {
    z-index: 2;
    min-height: 50px;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 6px;
    padding: 5px 8px;
  }

  .support-admin-mobile-back {
    display: grid;
    width: 28px;
    height: 32px;
    flex: 0 0 28px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    color: #6d7787;
    background: transparent;
    cursor: pointer;
    font-size: 1.45rem;
  }

  .support-admin-customer {
    min-width: 0;
    flex: 1 1 auto;
    gap: 7px;
  }

  .support-admin-customer-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: .75rem;
  }

  .support-admin-customer-copy {
    min-width: 0;
  }

  .support-admin-customer-copy > div {
    display: none;
  }

  .support-admin-page .support-admin-chat-header h2 {
    max-width: 180px;
    margin: 0;
    font-size: .8rem;
  }

  .support-admin-page .support-admin-actions {
    flex: 0 0 auto;
    gap: 0;
  }

  .support-admin-action-button {
    width: 30px;
    height: 30px;
  }

  .support-admin-more-menu {
    top: calc(100% + 5px);
    width: min(230px, calc(100vw - 32px));
    max-height: min(65dvh, 380px);
    overflow-y: auto;
  }

  .support-admin-page .support-admin-messages {
    min-height: 0;
    flex: 1 1 0%;
    padding: 10px 11px;
  }

  .support-admin-page .support-admin-message {
    max-width: 88%;
  }

  .support-admin-page .support-admin-compose {
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas:
      "tools tools"
      "textarea send";
    gap: 4px 6px;
    margin: 0 8px 8px;
    padding: 6px;
    border-radius: 14px;
  }

  .support-admin-page .support-admin-compose-tools {
    grid-area: tools;
    min-height: 26px;
    align-items: center;
  }

  .support-admin-page .support-admin-compose-icon {
    width: 28px;
    height: 28px;
  }

  .support-admin-page .support-admin-compose textarea {
    grid-area: textarea;
    min-height: 42px;
    max-height: 112px;
    padding: 7px 9px;
    resize: none;
    overflow-y: hidden;
    border: 1px solid #e4e8ef;
    border-radius: 10px;
    background: #f8f9fc;
    font-size: .84rem;
    line-height: 1.4;
  }

  .support-admin-page .support-admin-compose:focus-within textarea {
    border-color: #cfcaf2;
    background: #fff;
  }

  .support-admin-page .support-admin-compose-footer {
    display: contents;
  }

  .support-admin-page .support-admin-compose-footer small {
    display: none;
  }

  .support-admin-page .support-admin-send {
    grid-area: send;
    width: 34px;
    height: 34px;
    align-self: end;
  }

  .support-admin-page .support-admin-internal-notes-summary {
    min-height: 30px;
    gap: 6px;
    padding: 4px 10px;
  }

  .support-admin-page .support-admin-internal-notes-summary strong {
    font-size: .68rem;
  }

  .support-admin-page .support-admin-internal-notes-summary > span {
    display: none;
  }

  .support-admin-page .support-admin-internal-notes[open] .support-admin-notes-content {
    max-height: min(28dvh, 180px);
    overflow-y: auto;
  }

  .support-admin-page .support-admin-typing {
    padding: 0 12px 6px;
  }

  .support-admin-claim-banner {
    min-height: 48px;
    padding: 7px 10px;
    font-size: .65rem;
  }
}

@media (max-width: 390px) {
  .support-admin-page .support-admin-layout,
  .support-admin-page .support-admin-layout.has-details {
    height: calc(100dvh - 165px);
    min-height: 0;
  }

  .support-admin-page .support-admin-customer-copy small:last-child,
  .support-admin-header-separator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-admin-page .support-admin-message {
    animation: none;
  }
}

.support-admin-internal-notes {
  padding: 0;
  border-top: 1px solid #e8ebf0;
  background: #fffaf0;
}
.support-admin-internal-notes-summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  color: #333b4e;
  cursor: pointer;
  list-style: none;
}
.support-admin-internal-notes-summary::-webkit-details-marker {
  display: none;
}
.support-admin-internal-notes-summary strong {
  font-size: 13px;
}
.support-admin-internal-notes-summary span {
  color: #8a7043;
  font-size: 11px;
  font-weight: 500;
}
.support-admin-internal-notes-summary::after {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}
.support-admin-internal-notes[open] > .support-admin-internal-notes-summary {
  border-bottom: 1px solid #f1e7d0;
}
.support-admin-internal-notes[open] > .support-admin-internal-notes-summary::after {
  transform: rotate(225deg) translate(-2px, -1px);
}
.support-admin-internal-notes-summary:focus-visible {
  outline: 2px solid #765fc1;
  outline-offset: -3px;
}
.support-admin-notes-content {
  padding: 10px 18px 12px;
}
.support-admin-internal-note-list { display: grid; gap: 8px; max-height: 150px; overflow-y: auto; }
.support-admin-internal-note {
  padding: 9px 11px;
  border: 1px solid #f0dfb8;
  border-radius: 9px;
  background: #fff;
  color: #424a59;
  font-size: 12px;
}
.support-admin-internal-note strong { display: block; margin-bottom: 4px; color: #6b5429; }
.support-admin-internal-note p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-admin-note-empty { margin: 0; color: #828a99; font-size: 12px; }
.support-admin-internal-notes form { display: flex; gap: 8px; margin-top: 10px; }
.support-admin-internal-notes textarea {
  min-width: 0;
  flex: 1;
  resize: vertical;
  padding: 9px 10px;
  border: 1px solid #dfd6c1;
  border-radius: 9px;
  font: inherit;
  font-size: 12px;
}
.support-admin-internal-notes form button,
.support-admin-transfer-control button {
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  background: #df3041;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.support-admin-transfer-control { display: grid; gap: 7px; padding: 9px; border-bottom: 1px solid #eceef2; }
.support-admin-transfer-control span { color: #616a7a; font-size: 11px; font-weight: 700; }
.support-admin-transfer-control select { max-width: 220px; padding: 7px; border: 1px solid #dfe3e9; border-radius: 7px; }

.fity-support-rating {
  display: grid;
  gap: 8px;
  margin: 10px 14px;
  padding: 13px;
  border: 1px solid #e8ebf0;
  border-radius: 12px;
  background: #fff;
}
.fity-support-rating strong { color: #252b3a; font-size: 13px; }
.fity-support-rating label { color: #596173; font-size: 11px; }
.fity-support-rating select,
.fity-support-rating textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 12px;
}
.fity-support-rating button {
  justify-self: start;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: #df3041;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.fity-support-rating-thanks { margin: 10px 14px; color: #18764b; font-size: 12px; }

.fity-support {
  --support-red: #df172c;
  --support-ink: #242938;
  --support-muted: #737b8d;
}

.fity-support.is-open .fity-support-launcher {
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.fity-support-panel {
  width: min(360px, calc(100vw - 24px));
  height: min(570px, calc(100dvh - 28px));
  max-height: min(570px, calc(100dvh - 28px));
  min-height: min(430px, calc(100dvh - 28px));
  bottom: max(12px, env(safe-area-inset-bottom));
  padding: 0;
  border: 1px solid #e6e9f1;
  border-bottom: 3px solid var(--support-red);
  border-radius: 20px;
  background: #f7f8fc;
  box-shadow: 0 22px 65px rgba(28, 36, 55, .25);
}

.fity-support-header {
  min-height: 60px;
  flex-basis: 60px;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(118deg, #f13242, #d9182d 72%, #c9152b);
}

.fity-support-brand {
  min-width: 0;
  flex: 1 1 auto;
  gap: 8px;
}

.fity-support-brand > div {
  flex: 1 1 auto;
  min-width: 0;
  gap: 2px;
}

.fity-support-brand strong {
  font-size: .84rem;
  line-height: 1.15;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.fity-support-brand small {
  font-size: .66rem;
  line-height: 1.2;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.fity-support-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  overflow: visible;
  border: 2px solid rgba(255, 255, 255, .86);
  background: #fff;
  box-shadow: 0 2px 8px rgba(77, 12, 24, .2);
}

.fity-support-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.fity-support-mark i {
  right: -2px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-color: #df172c;
}

.fity-support-status-pill {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  background: rgba(106, 0, 20, .2);
  font-size: .58rem;
  font-weight: 800;
  white-space: nowrap;
}

.fity-support-status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffc24a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

.fity-support-status-pill.is-online i {
  background: #42e28a;
}

.fity-support-header-actions {
  gap: 2px;
}

.fity-support-settings-toggle,
.fity-support-minimize,
.fity-support-close {
  width: 28px;
  height: 30px;
  flex-basis: 28px;
}

.fity-support-settings-toggle {
  border-color: transparent;
  background: transparent;
}

.fity-support-thread {
  position: relative;
  padding: 0 8px 4px;
  background: linear-gradient(180deg, #f8f9fd, #f4f6fb);
}

.fity-support-thread-meta {
  min-height: 36px;
  padding: 0 4px;
  border-bottom-color: #e7e9f0;
  color: #6b7282;
  font-size: .67rem;
}

.fity-support-loader {
  min-height: 57px;
  flex: 0 0 auto;
  gap: 10px;
  margin: 7px 0 1px;
  padding: 9px 12px;
  border: 1px solid #e8e9f3;
  border-radius: 15px;
  color: #51586a;
  background: linear-gradient(110deg, #fff, #f1f1fb);
  box-shadow: 0 5px 14px rgba(38, 45, 70, .07);
}

.fity-support-wait-dots {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 42px;
  height: 20px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f2dce0;
  border-radius: 999px;
  background: #fff7f8;
}

.fity-support-wait-dots::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: -45%;
  width: 45%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(223, 23, 44, .24), transparent);
  animation: fity-support-agent-scan 1.8s linear infinite;
  content: "";
}

.fity-support-wait-dots i {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--support-red);
  transform: translateY(-50%);
  animation: fity-support-agent-dot-scan 1.8s ease-in-out infinite;
}

.fity-support-wait-dots i:nth-child(2) {
  left: 16px;
  animation-delay: .3s;
}

.fity-support-wait-dots i:nth-child(3) {
  left: 28px;
  animation-delay: .6s;
}

@keyframes fity-support-agent-scan {
  0% { opacity: 0; transform: translateX(0); }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(48px); }
}

@keyframes fity-support-agent-dot-scan {
  0% { opacity: .25; transform: translate(0, -50%) scale(.75); }
  20%, 75% { opacity: 1; }
  100% { opacity: 0; transform: translate(26px, -50%) scale(.75); }
}

.fity-support-wait-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.fity-support-wait-copy strong {
  color: #303649;
  font-size: .7rem;
}

.fity-support-wait-copy small {
  min-height: 2.6em;
  color: #73798b;
  font-size: .63rem;
  line-height: 1.35;
  transition: opacity .18s ease, transform .18s ease;
}

.fity-support-wait-copy small.is-changing {
  opacity: 0;
  transform: translateY(3px);
}

.fity-support-transcript {
  padding: 7px 2px 3px;
  scrollbar-color: #c5cad7 transparent;
}

.fity-support-messages {
  gap: 8px;
  padding: 4px 1px 9px;
}

.fity-support-wait-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 3px 0;
  color: #777e8e;
  font-size: .59rem;
  font-weight: 750;
  white-space: nowrap;
}

.fity-support-wait-divider::before,
.fity-support-wait-divider::after {
  flex: 1;
  border-top: 1px solid #dfe3ed;
  content: "";
}

.fity-support-message-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-end;
  gap: 6px;
  align-self: flex-start;
  animation: fity-support-message-in .2s ease-out both;
}

.fity-support-message-row.is-customer {
  justify-content: flex-end;
  align-self: flex-end;
}

.fity-support-message-row.is-pending {
  opacity: .75;
}

.fity-support-agent-joined {
  display: inline-flex;
  max-width: 100%;
  align-self: center;
  align-items: center;
  gap: 8px;
  margin: 7px auto;
  padding: 7px 12px 7px 8px;
  border: 1px solid #e2e6ee;
  border-radius: 999px;
  color: #596173;
  background: linear-gradient(120deg, #fff, #f7f8fc);
  box-shadow: 0 3px 10px rgba(32, 40, 62, .06);
  animation: fity-support-message-in .2s ease-out both;
}

.fity-support-agent-joined .fity-support-message-avatar {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  margin: 0;
}

.fity-support-agent-joined-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.fity-support-agent-joined-copy strong {
  overflow: hidden;
  color: #303649;
  font-size: .69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fity-support-agent-joined-copy small {
  color: #73798b;
  font-size: .61rem;
  line-height: 1.25;
}

.fity-support-message-avatar {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  margin-bottom: 2px;
  border: 1px solid #e7e9ef;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(25, 32, 52, .12);
}

.fity-support-message {
  max-width: min(88%, 300px);
  padding: 8px 10px;
  border: 1px solid #e5e8f0;
  border-radius: 14px 14px 14px 4px;
  color: #33394a;
  background: #fff;
  box-shadow: 0 3px 10px rgba(32, 40, 62, .06);
}

.fity-support-message-row.is-customer .fity-support-message {
  border-color: #d91c31;
  border-radius: 14px 14px 4px 14px;
  color: #fff;
  background: linear-gradient(140deg, #ed3142, #d81930);
}

.fity-support-message strong {
  margin-bottom: 3px;
  color: #d7192e;
  font-size: .61rem;
  opacity: 1;
}

.fity-support-message-row.is-customer .fity-support-message strong,
.fity-support-message-row.is-customer .fity-support-message time {
  color: rgba(255, 255, 255, .78);
}

.fity-support-message p {
  font-size: .73rem;
  line-height: 1.42;
}

.fity-support-message time {
  margin-top: 4px;
  color: #9aa0ad;
  font-size: .57rem;
}

.fity-support-quick-replies {
  gap: 6px;
  padding: 7px 2px 10px;
}

.fity-support-quick-reply {
  min-height: 37px;
  border-color: #e2e5ec;
  border-radius: 11px;
  font-size: .72rem;
}

.fity-support-compose {
  grid-template-columns: 32px minmax(0, 1fr) 36px;
  align-items: end;
  gap: 4px;
  padding: 5px 6px;
  border-color: #dfe3e8;
  border-radius: 20px;
  box-shadow: none;
}

.fity-support-compose:focus-within {
  border-color: #c9cfd9;
  box-shadow: 0 0 0 3px rgba(229, 35, 53, .08);
}

.fity-support-compose button.fity-support-emoji-toggle {
  position: absolute;
  right: 3px;
  bottom: 4px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #777e8d;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
}

.fity-support-compose-field {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

.fity-support-emoji-toggle:hover:not(:disabled) {
  color: var(--support-red) !important;
  background: #fff1f2 !important;
}

.fity-support-compose textarea {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 36px;
  max-height: 100px;
  padding: 8px 36px 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  font-size: .86rem;
  line-height: 1.4;
}

.fity-support-attach {
  grid-column: 1;
  width: 32px;
  height: 34px;
}

.fity-support-compose button[type="submit"] {
  grid-column: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(217, 25, 47, .24);
}

.fity-support-emoji-picker:not([hidden]) {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 69px;
  display: grid;
  grid-template-columns: repeat(6, 34px);
  gap: 3px;
  padding: 7px;
  border: 1px solid #e1e4ec;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(29, 37, 58, .18);
}

.fity-support-emoji-picker button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}

.fity-support-emoji-picker button:hover,
.fity-support-emoji-picker button:focus-visible {
  background: #fff0f2;
  outline: 0;
}

.fity-support-footnote {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 4px 0 0;
  padding-bottom: 1px;
  color: #7d8492;
  font-size: .59rem;
  line-height: 1.35;
  text-align: center;
}

.fity-support-footnote a {
  color: #697184;
  text-decoration: none;
}

.fity-support-footnote a:hover {
  color: var(--support-red);
  text-decoration: underline;
}

.fity-support-footnote strong {
  color: var(--support-red);
}

.fity-support-close-confirm {
  width: min(350px, calc(100vw - 34px));
  padding: 24px;
  border: 1px solid #eceef3;
  border-radius: 19px;
  color: #272d3d;
  background: #fff;
  box-shadow: 0 22px 70px rgba(17, 24, 39, .3);
}

.fity-support-close-confirm::backdrop {
  background: rgba(24, 29, 43, .48);
  backdrop-filter: blur(3px);
}

.fity-support-confirm-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #c8192e;
  background: #fff0f2;
  font-weight: 850;
}

.fity-support-close-confirm h2 {
  margin: 0 0 7px;
  font-size: 1rem;
}

.fity-support-close-confirm p {
  margin: 0;
  color: #687083;
  font-size: .82rem;
  line-height: 1.5;
}

.fity-support-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.fity-support-confirm-actions button {
  min-height: 39px;
  padding: 8px 12px;
  border: 1px solid #e0e3eb;
  border-radius: 10px;
  color: #42495b;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 750;
}

.fity-support-confirm-actions button:last-child {
  border-color: var(--support-red);
  color: #fff;
  background: var(--support-red);
}

.fity-support-confirm-actions button:hover {
  filter: brightness(.97);
}

@keyframes fity-support-message-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .fity-support-panel {
    right: max(8px, env(safe-area-inset-right));
    left: max(8px, env(safe-area-inset-left));
    top: max(8px, env(safe-area-inset-top));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .fity-support-name-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .fity-support-header {
    padding-right: 7px;
    padding-left: 8px;
  }

  .fity-support-brand {
    gap: 6px;
  }

  .fity-support-brand strong {
    font-size: .8rem;
  }

  .fity-support-brand small {
    font-size: .64rem;
  }

  .fity-support-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .fity-support-header-actions {
    gap: 0;
  }

  .fity-support-settings-toggle,
  .fity-support-minimize,
  .fity-support-close {
    width: 25px;
    flex-basis: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fity-support-message-row,
  .fity-support-agent-joined,
  .fity-support-wait-dots::before,
  .fity-support-wait-dots i {
    animation: none;
  }

  .fity-support-wait-copy small {
    transition: none;
  }
}

.support-image-attachment {
  display: grid;
  justify-items: start;
  gap: 5px;
  max-width: 100%;
  margin-top: 7px;
}

.fity-support-message-row.is-customer .support-image-attachment {
  justify-items: end;
}

.support-image-preview-link {
  display: grid;
  width: fit-content;
  min-width: 120px;
  min-height: 64px;
  max-width: 100%;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(75, 82, 98, .16);
  border-radius: 10px;
  background: rgba(245, 246, 249, .92);
  text-decoration: none;
}

.support-image-preview-link:focus-visible,
.support-image-error button:focus-visible,
.support-image-lightbox button:focus-visible,
.support-image-lightbox a:focus-visible {
  outline: 3px solid #df172c;
  outline-offset: 3px;
}

.support-image-attachment:not(.is-loading):not(.has-error) .support-image-preview-link {
  min-width: 0;
  min-height: 0;
}

.support-image-preview-link img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(280px, 70vw);
  max-height: 300px;
  object-fit: contain;
}

.support-image-loading {
  padding: 12px;
  color: #687083;
  font-size: .72rem;
}

.support-image-error {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8d2632;
  font-size: .72rem;
}

.support-image-error button,
.support-image-lightbox-retry {
  padding: 5px 9px;
  border: 1px solid #d6d9e0;
  border-radius: 7px;
  color: #353b49;
  background: #fff;
  cursor: pointer;
  font: inherit;
}

.support-message-attachment-download,
.support-image-lightbox-download {
  color: inherit;
  font-size: .7rem;
  text-underline-offset: 2px;
}

.support-document-attachment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 7px;
  font-size: .72rem;
}

.support-document-attachment > a:first-child {
  font-weight: 700;
  text-underline-offset: 2px;
}

.support-image-lightbox {
  position: fixed;
  width: min(1200px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 10px;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  color: #25282d;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.support-image-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
}

.support-image-lightbox::backdrop {
  background: rgba(17, 20, 27, .78);
}

.support-image-lightbox-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.support-image-lightbox-toolbar strong {
  flex: 1;
  overflow: hidden;
  font-size: .9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-image-lightbox-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #262a32;
  background: #f0f1f4;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.support-image-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  justify-self: center;
  object-fit: contain;
}

.support-image-lightbox-status {
  margin: 0;
  color: #626a78;
  font-size: .8rem;
  text-align: center;
}

.support-image-lightbox-retry {
  justify-self: center;
}

.support-upload-progress {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #71343c;
  font-size: .68rem;
  white-space: nowrap;
}

.support-upload-spinner {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  box-sizing: border-box;
  border: 2px solid rgba(223, 23, 44, .22);
  border-top-color: #df172c;
  border-radius: 50%;
  animation: support-upload-spin .7s linear infinite;
}

@keyframes support-upload-spin {
  to { transform: rotate(360deg); }
}

.support-admin-message .support-image-preview-link {
  border-color: rgba(85, 88, 123, .18);
}

.support-admin-page .support-image-attachment {
  justify-items: start;
}

@media (max-width: 520px) {
  .support-image-lightbox {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 7px;
  }

  .support-image-lightbox img {
    max-height: calc(100dvh - 105px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-upload-spinner {
    animation: none;
  }
}
