@font-face {
  font-family: Manrope;
  src: local("Manrope");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body.support-app {
  margin: 0;
  background: var(--sc-soft);
  overflow: hidden;
  font-family: Manrope, Inter, system-ui, sans-serif;
}
.support-app .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.support-app button {
  border: 0;
  background: transparent;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
}
.support-app button:hover {
  background: #158f9210;
}
.support-app input,
.support-app textarea,
.support-app select {
  outline: none;
}
.support-app textarea {
  resize: vertical;
}
.sa-shell {
  display: grid;
  grid-template-columns: 68px 300px minmax(340px, 1fr) 292px;
  grid-template-rows: 82px minmax(0, 1fr);
  height: 100dvh;
  max-width: 1920px;
  margin: auto;
  background: var(--sc-bg);
}
.sa-rail {
  grid-area: 1/1/3/2;
  background: var(--sc-bg);
  border-right: 1px solid var(--sc-line);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 22px 10px 15px;
  gap: 17px;
}
.sa-brand-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: #dcefeb;
  border: 1px solid #c4e2dc;
  border-radius: 13px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  color: #1d6665;
}
.sa-brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.sa-rail > .sa-brand-mark {
  margin-bottom: 20px;
}
.sa-rail > button {
  width: 38px;
  height: 38px;
  color: var(--sc-muted);
}
.sa-rail > button.is-selected {
  color: var(--sc-accent);
  background: #14989915;
}
.sa-rail .sc-icon {
  width: 20px;
  height: 20px;
}
.sa-rail-spacer {
  flex: 1;
}
.sa-self .sc-avatar {
  height: 34px;
  width: 34px;
  background: #e2e5fa;
  color: #6264a1;
}
.sa-top {
  grid-area: 1/2/2/5;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 28px;
  border-bottom: 1px solid var(--sc-line);
  min-width: 0;
}
.sa-top-title small {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--sc-muted);
  font-weight: 750;
}
.sa-top-title h1 {
  margin: 3px 0 0;
  font-size: 19px;
  letter-spacing: -0.6px;
  font-weight: 800;
  line-height: 1.4;
}
.sa-metrics {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: auto;
}
.sa-metrics > div {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 22px;
  border-right: 1px solid var(--sc-line);
}
.sa-metrics span {
  font-size: 10px;
  color: var(--sc-muted);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.sa-metrics strong {
  font-size: 14px;
  color: var(--sc-text);
}
.sa-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #12ad9d;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #12ad9d0e;
}
.sa-metrics > div:first-child .sa-dot {
  background: #e8ac42;
  box-shadow: 0 0 0 3px #e8ac420e;
}
.sa-connection {
  font-size: 9px;
  color: var(--sc-muted);
  white-space: nowrap;
}
.sa-connection.is-online {
  color: #0a9c84;
}
.sa-presence {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--sc-line);
  border-radius: 9px;
  padding: 7px 9px;
  background: var(--sc-soft);
}
.sa-presence i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17b78b;
}
.sa-presence select {
  font-size: 11px;
  border: 0;
  background: transparent;
  width: 77px;
  padding: 0;
}
.sa-presence option {
  background: var(--sc-bg);
}
.sa-inbox {
  grid-area: 2/2/3/3;
  border-right: 1px solid var(--sc-line);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--sc-bg);
}
.sa-inbox-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 21px 15px;
}
.sa-inbox-title h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
  margin: 0;
}
.sa-inbox-title h2 > span {
  font-size: 10px;
  color: var(--sc-muted);
  background: var(--sc-soft);
  padding: 2px 7px;
  border-radius: 5px;
  margin-left: 6px;
  font-weight: 500;
}
.sa-inbox-title button {
  color: var(--sc-muted);
}
.sa-inbox-title .sc-icon {
  width: 16px;
  height: 16px;
}
.sa-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 19px 17px;
  padding: 9px 10px;
  background: var(--sc-soft);
  border: 1px solid transparent;
  border-radius: 8px;
}
.sa-search:focus-within {
  border-color: #32b8b9;
}
.sa-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  font-size: 10px;
}
.sa-search > span {
  display: flex;
  color: var(--sc-muted);
}
.sa-search .sc-icon {
  width: 15px;
  height: 15px;
}
.sa-filters {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 14px 20px;
  border-bottom: 1px solid var(--sc-line);
}
.sa-filters button {
  justify-content: flex-start;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--sc-muted);
  gap: 10px;
  text-align: left;
}
.sa-filters button > span {
  display: flex;
}
.sa-filters .sc-icon {
  width: 15px;
  height: 15px;
}
.sa-filters button.is-active {
  background: #079c9010;
  color: var(--sc-accent);
  font-weight: 750;
}
.sa-filters b {
  margin-left: auto;
  font-size: 9px;
  background: var(--sc-soft);
  border-radius: 5px;
  padding: 1px 5px;
  font-weight: 600;
}
.sa-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 23px 10px;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--sc-muted);
}
.sa-list-title > span:last-child {
  display: flex;
}
.sa-list-title .sc-icon {
  width: 13px;
  height: 13px;
}
.sa-conversations {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 0 9px;
  scrollbar-width: thin;
}
.sa-conversations .sc-skeleton {
  margin-left: 14px;
  width: 90%;
  height: 80px;
}
.sa-conversation {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100%;
  padding: 15px 11px !important;
  text-align: left;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  position: relative;
  margin-bottom: 4px;
  color: var(--sc-text);
}
.sa-conversation.is-selected {
  background: linear-gradient(115deg, #0db0a50b, #2085b408) !important;
  border-color: #1baca725 !important;
}
.sa-conversation.is-selected:before {
  position: absolute;
  left: -10px;
  top: 23px;
  bottom: 23px;
  width: 3px;
  background: #0f9a93;
  border-radius: 2px;
  content: "";
}
.sa-conversation-avatar {
  position: relative;
  align-self: flex-start;
  margin-top: 2px;
}
.sa-conversation-avatar .sc-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #edf0f8;
  color: #687793;
}
.sa-conversation-avatar > i {
  position: absolute;
  right: -1px;
  bottom: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--sc-bg);
  border-radius: 50%;
  background: #a5afb7;
}
.sa-conversation-avatar > i.is-online {
  background: #17b38d;
}
.sa-conversation-copy {
  min-width: 0;
  flex: 1;
}
.sa-conversation-copy > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.sa-conversation-copy strong {
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.sa-conversation-copy time {
  font-size: 8px;
  color: var(--sc-muted);
  white-space: nowrap;
}
.sa-conversation-copy p {
  font-size: 10px;
  color: var(--sc-muted);
  margin: 4px 0 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.sa-conversation.has-unread p {
  color: var(--sc-text);
  font-weight: 600;
}
.sa-conversation-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sa-conversation-meta > small:not(.sa-tag) {
  font-size: 8px;
  color: var(--sc-muted);
  max-width: 74px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sa-conversation-meta > b {
  margin-left: auto;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  background: #129e98;
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
}
.sa-tag {
  display: inline-block;
  font-size: 8px;
  line-height: 1.7;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--sc-soft);
  color: var(--sc-muted);
}
.sa-tag.is-ai {
  background: #8771d312;
  color: #8b6ac2;
}
.sa-tag.is-waiting {
  background: #eab34718;
  color: #ad7a1f;
}
.sa-tag.is-active {
  background: #0aaf9412;
  color: #168e7e;
}
.sa-tag.is-closed {
  background: #71819810;
  color: var(--sc-muted);
}
.sa-inbox-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  border-top: 1px solid var(--sc-line);
  font-size: 8px;
  color: var(--sc-muted);
}
.sa-inbox-foot .sa-dot {
  width: 5px;
  height: 5px;
}
.sa-more {
  font-size: 10px !important;
  border-top: 1px solid var(--sc-line) !important;
  border-radius: 0 !important;
  padding: 9px !important;
  color: var(--sc-accent) !important;
}
.sa-chat {
  grid-area: 2/3/3/4;
  min-width: 0;
  min-height: 0;
  background: var(--sc-soft);
  display: flex;
  flex-direction: column;
}
.sa-welcome {
  margin: auto;
  text-align: center;
  padding: 30px;
  max-width: 470px;
}
.sa-welcome-orbit {
  width: 130px;
  height: 130px;
  border: 1px solid #159b9b15;
  border-radius: 50%;
  margin: 0 auto 32px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(circle, #19a3a812, transparent 70%);
}
.sa-welcome-orbit:before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed #159b9b30;
  border-radius: 50%;
  animation: sa-orbit 55s linear infinite;
}
.sa-welcome-orbit:after {
  content: "";
  position: absolute;
  left: 0;
  top: 49%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #88c9c9;
  box-shadow:
    117px -36px 0 -1px #b3dfe0,
    73px 64px 0 -2px #71bcc8;
}
.sa-welcome-orbit > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #54c2be40;
  border-radius: 21px;
  background: linear-gradient(135deg, #e0f8f5, #e0eef9);
  box-shadow: 0 8px 24px #169b9d13;
  color: #138d92;
}
.sa-welcome-orbit .sc-icon {
  width: 30px;
  height: 30px;
}
.sa-eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: var(--sc-accent);
  font-weight: 800;
}
.sa-welcome h2 {
  font-size: 24px;
  letter-spacing: -0.9px;
  line-height: 1.4;
  margin: 12px 0;
}
.sa-welcome p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--sc-muted);
  max-width: 315px;
  margin: 0 auto;
}
.sa-ai-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: var(--sc-muted);
  margin: 25px 0;
}
.sa-ai-status .sc-icon {
  width: 14px;
  height: 14px;
  color: #9d85c7;
}
.support-app .sa-primary {
  background: linear-gradient(130deg, #128f91, #207eaa);
  color: white;
  border: 1px solid #79cfcd26;
  box-shadow:
    inset 0 1px #ffffff26,
    0 3px 9px #159e9820;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 650;
  border-radius: 8px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.support-app .sa-primary:hover {
  background: linear-gradient(130deg, #118587, #1d729b);
  box-shadow: 0 5px 13px #159e9830;
}
.support-app .sa-primary:active {
  transform: scale(0.97);
}
.sa-primary .sc-icon {
  width: 14px;
  height: 14px;
}
.sa-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.sa-thread-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 21px 24px 17px;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-line);
}
.sa-thread-head > span {
  display: flex;
}
.sa-thread-head .sc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 13px;
}
.sa-thread-head h2 {
  font-size: 14px;
  letter-spacing: -0.2px;
  margin: 0;
}
.sa-thread-head p {
  font-size: 10px;
  color: var(--sc-muted);
  margin: 3px 0 0;
}
.sa-thread-head > button:last-child {
  margin-left: auto;
  color: var(--sc-muted);
}
.sa-thread-head .sa-mobile-back {
  display: none;
}
.sa-thread-actions {
  display: flex;
  gap: 5px;
  padding: 10px 17px;
  background: var(--sc-bg);
  border-bottom: 1px solid var(--sc-line);
  flex-wrap: wrap;
}
.sa-thread-actions button:not(.sa-primary) {
  font-size: 10px;
  padding: 6px 8px;
  color: var(--sc-muted);
}
.sa-thread-actions .sc-icon {
  width: 14px;
  height: 14px;
}
.sa-message-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  border-bottom: 1px solid var(--sc-line);
}
.sa-message-search > span {
  display: flex;
  color: var(--sc-muted);
}
.sa-message-search .sc-icon {
  width: 13px;
  height: 13px;
}
.sa-message-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 10px;
  padding: 4px 0;
}
.sa-message-search button {
  font-size: 9px;
  color: var(--sc-muted);
}
.sa-message-log {
  flex: 1;
  min-height: 0;
  padding: 16px 26px;
}
.sa-message-log .sc-message {
  margin: 22px 0;
}
.sa-message-log .sc-message-content {
  max-width: min(82%, 520px);
}
.sa-message-log .sc-bubble p {
  font-size: 12px;
}
.sa-message-log .sc-sender {
  font-size: 10px;
}
.sa-typing {
  padding: 4px 27px;
  color: var(--sc-muted);
  font-size: 10px;
}
.sa-typing span {
  animation: sa-blink 1.1s infinite;
}
.sa-composer {
  margin: 12px 20px 18px;
  border: 1px solid var(--sc-line);
  border-radius: 13px;
  background: var(--sc-bg);
  box-shadow: 0 2px 9px #133b4a04;
  padding: 10px 12px;
  position: relative;
}
.sa-composer:focus-within {
  border-color: #41aaa990;
  box-shadow: 0 0 0 3px #41aaa909;
}
.sa-composer-hint {
  font-size: 9px;
  color: var(--sc-muted);
  margin: 0 4px 5px;
}
.sa-composer > textarea {
  width: 100%;
  border: 0;
  background: none;
  font-size: 12px;
  resize: none;
  padding: 6px 4px;
  line-height: 1.7;
  min-height: 65px;
  max-height: 200px;
}
.sa-compose-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}
.sa-compose-tools .sc-icon {
  width: 16px;
  height: 16px;
}
.sa-compose-tools > button:not(.sa-primary) {
  color: var(--sc-muted);
  padding: 6px;
}
.sa-compose-tools > .sa-ai-draft-button {
  font-size: 9px;
  color: #9576bd !important;
  margin-left: 3px;
}
.sa-compose-tools > span {
  flex: 1;
}
.sa-compose-tools > small {
  font-size: 8px;
  color: var(--sc-muted);
  margin-right: 9px;
}
.sa-compose-tools .sa-primary {
  padding: 8px 12px;
}
.sa-draft {
  margin: 0 20px;
  border: 1px solid #9a87d040;
  border-radius: 10px;
  background: var(--sc-bg);
  padding: 12px;
  max-height: 230px;
  overflow: auto;
}
.sa-draft > div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #9c82c8;
}
.sa-draft > div > span {
  display: flex;
}
.sa-draft .sc-icon {
  width: 13px;
  height: 13px;
}
.sa-draft > div > button {
  margin-left: auto;
}
.sa-draft > p {
  font-size: 11px;
  white-space: pre-wrap;
  line-height: 1.8;
}
.sa-draft .sa-primary {
  font-size: 9px;
  padding: 5px 9px;
}
.sa-templates,
.sa-emoji {
  position: absolute;
  bottom: 60px;
  left: 10px;
  right: 10px;
  background: var(--sc-bg);
  border: 1px solid var(--sc-line);
  box-shadow: var(--sc-shadow);
  border-radius: 10px;
  padding: 8px;
  z-index: 2;
}
.sa-templates button {
  display: block;
  width: 100%;
  font-size: 11px;
  text-align: left;
  padding: 9px;
  line-height: 1.7;
  border-radius: 5px;
}
.sa-templates button + button {
  border-top: 1px solid var(--sc-line);
  border-radius: 0;
}
.sa-emoji {
  right: auto;
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  max-width: 250px;
}
.sa-emoji button {
  font-size: 23px;
  padding: 5px;
}
.sa-transfer {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: var(--sc-bg);
}
.sa-transfer select {
  border: 1px solid var(--sc-line);
  border-radius: 7px;
  background: var(--sc-soft);
  font-size: 11px;
  padding: 6px;
  min-width: 0;
  flex: 1;
}
.sa-details {
  grid-area: 2/4/3/5;
  border-left: 1px solid var(--sc-line);
  overflow: auto;
  background: var(--sc-bg);
  scrollbar-width: thin;
}
.sa-details-title {
  padding: 24px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sa-details-title h2 {
  margin: 0;
  font-size: 12px;
  letter-spacing: -0.2px;
}
.sa-details-close {
  display: none !important;
}
.sa-profile {
  text-align: center;
  padding: 10px 20px 22px;
}
.sa-profile .sc-avatar {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  font-size: 20px;
  background: #f0eaf8;
  color: #8d6fac;
}
.sa-profile h3 {
  font-size: 14px;
  margin: 11px 0 3px;
}
.sa-profile > span:not(.sc-avatar) {
  font-size: 10px;
  color: var(--sc-muted);
}
.sa-profile-fields {
  margin: 0;
  padding: 0 22px 19px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sa-profile-fields > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  font-size: 10px;
  line-height: 1.7;
}
.sa-profile-fields dt {
  color: var(--sc-muted);
}
.sa-profile-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.sa-balances {
  display: flex;
  gap: 9px;
  margin: 0 20px 16px;
}
.sa-balances > div {
  flex: 1;
  min-width: 0;
  padding: 11px;
  background: var(--sc-soft);
  border: 1px solid var(--sc-line);
  border-radius: 9px;
}
.sa-balances span {
  font-size: 8px;
  color: var(--sc-muted);
  display: block;
}
.sa-balances strong {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: -0.4px;
}
.sa-restricted {
  font-size: 8px;
  color: var(--sc-muted);
  margin: -5px 23px 17px;
}
.sa-detail-section {
  border-top: 1px solid var(--sc-line);
  padding: 19px 22px;
}
.sa-detail-section h3 {
  font-size: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
  letter-spacing: 0.1px;
  margin: 0 0 12px;
}
.sa-detail-section h3 > span {
  display: flex;
  color: #a89563;
}
.sa-detail-section h3 .sc-icon {
  width: 12px;
  height: 12px;
}
.sa-detail-section > p {
  color: var(--sc-muted);
  font-size: 9px;
  margin: -4px 0 12px;
}
.sa-subtle {
  color: var(--sc-muted);
  font-size: 9px;
  line-height: 1.8;
}
.sa-order {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--sc-line);
  font-size: 10px;
}
.sa-order span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sa-order span:last-child {
  text-align: right;
}
.sa-order small {
  font-size: 8px;
  color: var(--sc-muted);
}
.sa-order b,
.sa-order strong {
  font-size: 10px;
  font-weight: 650;
}
.sa-previous {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  width: 100%;
  border-radius: 0 !important;
  font-size: 10px !important;
  border-bottom: 1px solid var(--sc-line) !important;
}
.sa-detail-section form {
  border: 1px solid var(--sc-line);
  border-radius: 8px;
  padding: 8px;
  background: var(--sc-soft);
}
.sa-detail-section textarea {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 10px;
  resize: vertical;
  min-height: 55px;
  max-height: 150px;
  line-height: 1.7;
}
.sa-detail-section form > button {
  display: flex;
  margin-left: auto;
  background: var(--sc-bg);
  border: 1px solid var(--sc-line);
  padding: 5px 8px;
  font-size: 9px;
}
.sa-note {
  padding: 10px 0;
  border-bottom: 1px dashed var(--sc-line);
}
.sa-note p {
  white-space: pre-wrap;
  font-size: 10px;
  line-height: 1.7;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.sa-note small {
  font-size: 8px;
  color: var(--sc-muted);
}
.sa-history-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 9px;
  padding: 8px 0;
  color: var(--sc-muted);
}
.sa-history-item i {
  width: 5px;
  height: 5px;
  background: #95b1b4;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.sa-history-item small {
  font-size: 8px;
  display: block;
  margin-top: 3px;
  opacity: 0.7;
}
.sa-toasts {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 9px;
  z-index: 100;
  max-width: calc(100vw - 30px);
  pointer-events: none;
}
.sa-toast {
  background: var(--sc-bg);
  border: 1px solid #13bda550;
  box-shadow: var(--sc-shadow);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 12px;
  animation: sc-message-in 0.2s ease-out;
  color: var(--sc-text);
}
.sa-toast.is-error {
  border-color: #d56b7260;
}
.sa-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  height: 100dvh;
  font-size: 12px;
  color: var(--sc-muted);
}
.sa-flash {
  animation: sa-flash 1.2s ease-out;
}
.sa-details .sc-empty {
  min-height: 330px;
  font-size: 11px;
}
.sa-details .sc-empty .sc-icon {
  width: 30px;
  height: 30px;
}
.sa-details .sc-empty p {
  max-width: 180px;
  font-size: 11px;
}
.sa-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  overflow: auto !important;
  background: var(--sc-bg) !important;
}
.sa-login-card {
  width: min(395px, calc(100% - 48px));
  margin: auto;
  padding: 48px 0;
}
.sa-login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 50px;
}
.sa-login-brand > img {
  width: 45px;
  height: 45px;
}
.sa-login-brand > span {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}
.sa-login-brand > span > span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--sc-accent);
  margin-top: 4px;
}
.sa-login-card h1 {
  font-size: 29px;
  letter-spacing: -1.1px;
  line-height: 1.3;
  margin: 12px 0;
}
.sa-login-card > p {
  font-size: 12px;
  color: var(--sc-muted);
  line-height: 1.8;
  max-width: 330px;
}
.sa-login-card form {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 29px;
}
.sa-login-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 650;
}
.sa-login-card label > small {
  font-size: 9px;
  font-weight: 400;
  color: var(--sc-muted);
  margin-top: -6px;
}
.sa-login-card input {
  width: 100%;
  border: 1px solid var(--sc-line);
  border-radius: 9px;
  padding: 12px;
  background: var(--sc-soft);
  font-size: 12px;
}
.sa-login-card form > .sa-primary {
  padding: 12px;
  justify-content: space-between;
  margin-top: 3px;
  font-size: 12px;
}
.sa-login-card .sa-login-foot {
  font-size: 10px;
  border-top: 1px solid var(--sc-line);
  padding-top: 22px;
  margin-top: 27px;
  max-width: 100%;
}
.sa-login-error {
  font-size: 11px;
  color: #c94858;
  margin: 0;
}
.sa-login-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
  background:
    radial-gradient(circle at 65% 35%, #bfe4e8aa, transparent 50%),
    linear-gradient(145deg, #edf7f6, #e5eff6);
  border-left: 1px solid var(--sc-line);
  color: #22515b;
}
.sa-login-aside h2 {
  font-size: 35px;
  line-height: 1.3;
  letter-spacing: -1.2px;
  margin: 16px 0;
}
.sa-login-aside p {
  font-size: 12px;
  max-width: 290px;
  line-height: 1.8;
  color: #648a94;
}
.sa-login-aside > small {
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 70px;
  color: #6c939a;
}
.sa-login-art {
  width: 260px;
  height: 230px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
}
.sa-login-art > span {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid #7bbebd30;
  border-radius: 50%;
}
.sa-login-art > span:nth-child(2) {
  width: 260px;
  height: 260px;
  border-style: dashed;
}
.sa-login-art > span:nth-child(3) {
  width: 140px;
  height: 140px;
  background: #ffffff35;
}
.sa-login-art > div {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 95px;
  height: 95px;
  background: linear-gradient(125deg, #ffffffaa, #d2edf099);
  border: 1px solid #ffffffd0;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 15px 35px #509c9b24,
    inset 0 1px #fff;
  transform: rotate(-8deg);
}
.sa-login-art .sc-icon {
  width: 43px;
  height: 43px;
  color: #268f98;
}
@keyframes sa-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sa-blink {
  50% {
    opacity: 0.2;
  }
}
@keyframes sa-flash {
  0% {
    background: #18baac30;
  }
  100% {
    background: transparent;
  }
}
@media (min-width: 1600px) {
  .sa-shell {
    grid-template-columns: 76px 330px minmax(340px, 1fr) 320px;
  }
  .sa-message-log {
    padding: 22px 40px;
  }
  .sa-top {
    padding-inline: 32px;
  }
  .sa-metrics {
    gap: 32px;
  }
  .sa-top-title h1 {
    font-size: 21px;
  }
  .sa-conversation-copy strong {
    font-size: 12px;
  }
}
@media (max-width: 1200px) {
  .sa-shell {
    grid-template-columns: 60px 270px minmax(340px, 1fr);
    grid-template-rows: 76px minmax(0, 1fr);
  }
  .sa-top {
    grid-area: 1/2/2/4;
    padding: 0 20px;
    gap: 16px;
  }
  .sa-details {
    display: none;
    position: fixed;
    right: 0;
    top: 76px;
    bottom: 0;
    width: 300px;
    box-shadow: var(--sc-shadow);
    z-index: 10;
  }
  .sa-info-open .sa-details {
    display: block;
  }
  .sa-details-close {
    display: inline-flex !important;
  }
  .sa-metrics {
    gap: 15px;
  }
  .sa-metrics > div {
    padding-right: 15px;
  }
  .sa-metrics span {
    font-size: 9px;
    gap: 7px;
  }
  .sa-connection {
    display: none;
  }
  .sa-message-log {
    padding: 12px 22px;
  }
  .sa-thread-actions {
    padding-inline: 15px;
  }
  .sa-thread-actions button:not(.sa-primary) {
    font-size: 9px;
  }
  .sa-chat {
    grid-column: 3/4;
  }
}
@media (max-width: 800px) {
  .sa-shell {
    grid-template-columns: 54px 240px minmax(300px, 1fr);
  }
  .sa-metrics > div:last-child {
    display: none;
  }
  .sa-top-title h1 {
    font-size: 16px;
  }
  .sa-top-title small {
    font-size: 7px;
  }
  .sa-presence {
    padding: 6px;
  }
  .sa-top {
    gap: 10px;
    padding-inline: 16px;
  }
  .sa-metrics {
    gap: 10px;
  }
  .sa-metrics > div {
    padding-right: 10px;
  }
  .sa-conversation {
    padding-inline: 9px !important;
    gap: 7px !important;
  }
  .sa-conversation-avatar .sc-avatar {
    width: 28px;
    height: 28px;
  }
  .sa-conversation-copy strong {
    font-size: 10px;
  }
  .sa-compose-tools > small {
    display: none;
  }
  .sa-message-log {
    padding-inline: 15px;
  }
  .sa-composer {
    margin-inline: 12px;
  }
  .sa-compose-tools > .sa-ai-draft-button {
    font-size: 8px;
  }
  .sa-message-log .sc-message-content {
    max-width: 82%;
  }
  .sa-search {
    margin-inline: 14px;
  }
  .sa-filters {
    padding-inline: 10px;
  }
  .sa-login-aside {
    padding: 30px;
  }
  .sa-login-aside h2 {
    font-size: 27px;
  }
  .sa-login-art {
    transform: scale(0.8);
    margin-bottom: 20px;
  }
  .sa-login-card h1 {
    font-size: 26px;
  }
}
@media (max-width: 650px) {
  body.support-app {
    overflow: hidden;
  }
  .sa-shell {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: 72px minmax(0, 1fr);
  }
  .sa-rail {
    padding: 18px 5px 12px;
    gap: 12px;
  }
  .sa-rail .sa-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .sa-rail .sa-brand-mark img {
    width: 25px;
    height: 25px;
  }
  .sa-rail > button {
    width: 33px;
    height: 33px;
  }
  .sa-top {
    grid-area: 1/2/2/3;
    padding: 0 13px;
    gap: 10px;
  }
  .sa-top-title {
    flex: 1;
  }
  .sa-top-title h1 {
    font-size: 15px;
  }
  .sa-top-title small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .sa-metrics {
    display: none;
  }
  .sa-presence select {
    font-size: 10px;
    width: 68px;
  }
  .sa-presence {
    padding: 5px;
  }
  .sa-inbox {
    grid-area: 2/2/3/3;
    border-right: 0;
  }
  .sa-chat {
    display: none;
    grid-area: 2/2/3/3;
  }
  .sa-has-thread .sa-inbox {
    display: none;
  }
  .sa-has-thread .sa-chat {
    display: flex;
  }
  .sa-thread-head {
    padding: 14px 12px;
    gap: 8px;
  }
  .sa-thread-head .sa-mobile-back {
    display: inline-flex;
    padding: 0;
    width: 22px;
  }
  .sa-thread-head h2 {
    font-size: 12px;
  }
  .sa-thread-head p {
    font-size: 9px;
  }
  .sa-thread-head .sc-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .sa-thread-head .sc-icon {
    width: 16px;
    height: 16px;
  }
  .sa-thread-actions {
    padding: 7px;
    gap: 2px;
  }
  .sa-thread-actions .sa-primary {
    font-size: 9px;
    padding: 7px 8px;
  }
  .sa-thread-actions .sc-icon {
    width: 12px;
    height: 12px;
  }
  .sa-thread-actions button:not(.sa-primary) {
    padding: 5px;
    font-size: 8px;
    gap: 3px;
  }
  .sa-message-search {
    padding: 6px 10px;
    gap: 5px;
  }
  .sa-message-search input {
    font-size: 9px;
  }
  .sa-message-search button {
    padding: 3px;
    font-size: 8px;
  }
  .sa-message-log {
    padding: 8px 10px;
  }
  .sa-message-log .sc-message {
    gap: 5px;
    margin: 15px 0;
  }
  .sa-message-log .sc-avatar {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 8px;
    border-radius: 7px;
  }
  .sa-message-log .sc-message-content {
    max-width: calc(100% - 28px);
  }
  .sa-message-log .sc-bubble {
    padding: 8px 10px;
  }
  .sa-message-log .sc-bubble p {
    font-size: 11px;
  }
  .sa-composer {
    margin: 8px;
    border-radius: 10px;
    padding: 8px;
  }
  .sa-composer > textarea {
    font-size: 11px;
    min-height: 52px;
  }
  .sa-compose-tools {
    gap: 0;
    flex-wrap: wrap;
  }
  .sa-compose-tools > button:not(.sa-primary) {
    padding: 4px;
  }
  .sa-compose-tools .sc-icon {
    width: 13px;
    height: 13px;
  }
  .sa-compose-tools .sa-primary {
    font-size: 9px;
    padding: 7px 8px;
  }
  .sa-compose-tools > .sa-ai-draft-button {
    font-size: 8px;
    gap: 3px;
  }
  .sa-composer-hint {
    font-size: 8px;
  }
  .sa-details {
    top: 72px;
    width: calc(100vw - 48px);
  }
  .sa-draft {
    margin-inline: 8px;
  }
  .sa-login {
    display: block;
    padding: 0 4px;
  }
  .sa-login-aside {
    display: none;
  }
  .sa-login-card {
    width: min(395px, calc(100% - 40px));
    padding: 38px 0;
  }
  .sa-login-brand {
    margin-bottom: 39px;
  }
  .sa-login-card h1 {
    font-size: 27px;
  }
  .sa-transfer {
    padding: 7px;
    gap: 5px;
  }
  .sa-transfer select {
    font-size: 9px;
  }
  .sa-transfer .sa-primary {
    font-size: 9px;
    padding: 6px;
  }
}
