.sw-page {
  --sw-green: #008b7b;
  --sw-ink: #173d43;
  --sw-muted: #789099;
  --sw-line: #e4eded;
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 144px);
  min-height: 650px;
  gap: 18px;
  color: var(--sw-ink);
  font-size: 13px;
  padding: 4px 4px 0;
}
.sw-page * {
  box-sizing: border-box;
}
.sw-page button,
.sw-page select,
.sw-page input,
.sw-page textarea {
  font: inherit;
}
.sw-page button {
  cursor: pointer;
}
.sw-page button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.sw-page button:focus-visible,
.sw-page select:focus-visible,
.sw-page input:focus-visible,
.sw-page textarea:focus-visible {
  outline: 2px solid var(--sw-green);
  outline-offset: 3px;
}
.sw-page svg {
  flex-shrink: 0;
  font-size: 19px;
}
.sw-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.sw-heading-main {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sw-heading-icon {
  background: #e0f3ec;
  color: var(--sw-green);
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid #d7ebe5;
}
.sw-heading-icon svg {
  font-size: 29px;
}
.sw-page-heading h1 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.2px;
}
.sw-page-heading p {
  color: #708b94;
  margin: 5px 0 0;
  font-size: 13px;
}
.sw-demo {
  font-weight: 500;
  font-size: 11px;
  line-height: 22px;
  padding: 0 8px;
  border: 1px solid #e4d9bc;
  background: #fffaf0;
  color: #99712b;
  border-radius: 5px;
  letter-spacing: 0;
}
.sw-page-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.sw-demo-note {
  font-size: 12px;
  color: #829498;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sw-demo-note > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bdad8e;
}
.sw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #dce6e5;
  border-radius: 7px;
  padding: 8px 13px;
  color: #41626b;
  background: #fff;
  white-space: nowrap;
}
.sw-button svg {
  font-size: 17px;
}
.sw-button:hover {
  border-color: #78b9ad;
  background: #f4fbf8;
}
.sw-primary {
  background: var(--sw-green);
  border-color: var(--sw-green);
  color: #fff;
}
.sw-primary:hover {
  background: #007b6c;
  color: white;
}
.sw-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  flex-shrink: 0;
}
.sw-stat {
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  gap: 12px;
  min-height: 91px;
  border: 1px solid #dfebea;
  border-radius: 10px;
  background: white;
  padding: 15px 17px;
  transition: border-color 0.15s, background 0.15s;
}
.sw-stat.active {
  border-color: #8bc9ba;
  background: #f2fbf7;
}
.sw-stat-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  background: #eff8f5;
  color: #2e9a82;
  border-radius: 11px;
}
.sw-stat-icon svg {
  font-size: 23px;
}
.sw-stat:nth-child(2) .sw-stat-icon {
  color: #528cba;
  background: #eef5fc;
}
.sw-stat:nth-child(3) .sw-stat-icon {
  color: #be9350;
  background: #fcf7ed;
}
.sw-stat:nth-child(4) .sw-stat-icon {
  color: #8c87bd;
  background: #f4f2fc;
}
.sw-muted {
  color: var(--sw-muted);
  font-size: 12px;
}
.sw-stat strong {
  display: block;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-top: 4px;
  font-weight: 650;
}
.sw-stat strong small {
  font-size: 11px;
  color: #90a2a6;
  margin-left: 6px;
  letter-spacing: 0;
  font-weight: 400;
}
.sw-stat-hint {
  display: none;
}
.sw-stat-arrow {
  position: absolute;
  right: 14px;
  top: 16px;
  color: #a3bbb7;
  font-size: 14px !important;
}
.sw-workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 255px minmax(300px, 1fr) 282px;
  border: 1px solid #dce9e7;
  border-radius: 11px;
  background: white;
  overflow: hidden;
  box-shadow: 0 3px 12px #123a2e03;
}
.sw-members {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--sw-line);
  background: #fff;
}
.sw-group-picker {
  padding: 18px 17px 14px;
  border-bottom: 1px solid var(--sw-line);
}
.sw-group-picker label {
  color: #718990;
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
}
.sw-group-picker label > span {
  background: #edf4f3;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 5px;
}
.sw-group-picker > div {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sw-green);
}
.sw-group-picker select {
  width: 100%;
  min-width: 0;
  font-weight: 650;
  background: transparent;
  border: 0;
  color: var(--sw-ink);
  font-size: 14px;
  cursor: pointer;
}
.sw-group-picker p {
  font-size: 11px;
  color: #8a9da2;
  margin: 8px 0 0 25px;
}
.sw-member-tools {
  padding: 14px 13px 0;
  flex-shrink: 0;
}
.sw-switch {
  display: flex;
  gap: 4px;
  background: #f3f7f6;
  padding: 4px;
  border-radius: 7px;
  margin-bottom: 13px;
}
.sw-switch > button {
  border: 0;
  border-radius: 5px;
  padding: 7px 2px;
  flex: 1;
  white-space: nowrap;
  color: #758a91;
  background: transparent;
  font-size: 12px;
}
.sw-switch > button.active {
  background: #fff;
  color: var(--sw-green);
  font-weight: 600;
  box-shadow: 0 1px 3px #153a3010;
}
.sw-switch small {
  font-size: 10px;
  margin-left: 3px;
}
.sw-search {
  display: flex;
  align-items: center;
  border: 1px solid #e3eae9;
  border-radius: 6px;
  padding: 7px 8px;
  gap: 6px;
  color: #9aadaf;
  background: #fcfdfd;
}
.sw-search svg {
  font-size: 16px;
}
.sw-search input {
  border: 0;
  background: transparent;
  outline: 0;
  min-width: 0;
  width: 100%;
  font-size: 11px;
  color: #31535a;
}
.sw-search input::placeholder {
  color: #9aaeb1;
}
.sw-search button {
  border: 0;
  background: transparent;
  color: #7e969d;
}
.sw-list-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 13px 0 8px;
  color: #8a9b9f;
  font-size: 11px;
}
.sw-list-meta select {
  max-width: 85px;
  border: 0;
  background: white;
  color: #6c858c;
  font-size: 11px;
}
.sw-member-list {
  overflow: auto;
  min-height: 0;
  flex: 1;
  padding: 0 8px 10px;
}
.sw-member {
  border: 1px solid transparent;
  background: white;
  display: flex;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 14px 10px;
  border-radius: 8px;
  position: relative;
  margin-bottom: 2px;
}
.sw-member.selected {
  background: #eaf7f2;
  border-color: #e0f0e9;
}
.sw-member.selected:before {
  content: '';
  position: absolute;
  left: -1px;
  top: 22px;
  width: 3px;
  height: 28px;
  background: #0b9b80;
  border-radius: 0 3px 3px 0;
}
.sw-member:hover {
  background: #f3f9f7;
}
.sw-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  background: #dff0e9;
  color: #6d9f8e;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-top: 2px;
}
.sw-avatar svg {
  font-size: 26px;
}
.sw-avatar-blue {
  background: #e4eef5;
  color: #7f9eaf;
}
.sw-unread {
  position: absolute;
  right: -3px;
  top: -5px;
  background: #e9826a;
  color: white;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 2px solid white;
  text-align: center;
  line-height: 12px;
  padding: 0 2px;
}
.sw-member-copy {
  flex: 1;
  min-width: 0;
}
.sw-member-copy > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sw-member-copy strong {
  font-size: 13px;
  line-height: 20px;
  color: #274951;
  font-weight: 600;
}
.sw-member-copy time {
  margin-left: auto;
  color: #91a3a7;
  font-size: 10px;
  white-space: nowrap;
}
.sw-member-copy p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #809398;
  font-size: 11px;
  margin: 4px 0 7px;
  line-height: 1.6;
}
.sw-member-copy svg {
  font-size: 12px;
}
.sw-star {
  color: #c9a258;
}
.sw-mini-tag {
  display: inline-flex;
  font-size: 10px;
  line-height: 19px;
  padding: 0 6px;
  color: #60897d;
  background: #f0f6f3;
  border-radius: 4px;
  white-space: nowrap;
}
.sw-member.selected .sw-mini-tag {
  background: #dbefe6;
}
.sw-task-count {
  font-size: 10px;
  color: #b69669;
  margin-left: 7px;
}
.sw-member-footer {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  color: #9badae;
  background: #fcfdfc;
  border-top: 1px solid var(--sw-line);
  font-size: 10px;
}
.sw-member-footer svg {
  font-size: 13px;
}
.sw-conversation {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.sw-customer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 22px 15px;
  flex-shrink: 0;
}
.sw-customer-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.sw-customer-identity h2 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sw-status {
  font-size: 10px;
  color: #298f78;
  background: #edf8f1;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 400;
  white-space: nowrap;
}
.sw-customer-identity p {
  font-size: 11px;
  color: #85999e;
  margin: 0;
}
.sw-customer-identity p > span {
  margin: 0 4px;
  color: #c4d1d1;
}
.sw-icon-button {
  border: 1px solid #e3ebe9;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #78938c;
}
.sw-icon-button svg {
  font-size: 16px;
}
.sw-channel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e6eeee;
  padding: 0 22px;
  flex-shrink: 0;
}
.sw-channel-bar > div {
  display: flex;
  gap: 23px;
}
.sw-channel-bar > div > button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 12px 0;
  color: #849398;
  white-space: nowrap;
  font-size: 12px;
}
.sw-channel-bar > div > button svg {
  font-size: 16px;
}
.sw-channel-bar > div > button.active {
  border-bottom-color: var(--sw-green);
  color: var(--sw-green);
  font-weight: 600;
}
.sw-text-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sw-green);
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 11px;
  white-space: nowrap;
}
.sw-text-button svg {
  font-size: 14px;
}
.sw-channel-bar > .sw-text-button {
  font-size: 10px;
  color: #8a9fa3;
}
.sw-channel-tip {
  padding: 10px 20px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #f6faf8;
  color: #8b9f9c;
  font-size: 10px;
  border-bottom: 1px solid #eff4f1;
  line-height: 1.6;
  flex-shrink: 0;
}
.sw-channel-tip svg {
  font-size: 13px;
  color: #8caaa0;
}
.sw-message-history {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fcfdfc;
  padding: 0 23px 20px;
  scroll-behavior: smooth;
}
.sw-date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a2b0b2;
  font-size: 10px;
  margin: 19px 0 21px;
  gap: 12px;
}
.sw-date-divider:before,
.sw-date-divider:after {
  content: '';
  width: 32px;
  height: 1px;
  background: #e9efed;
}
.sw-message {
  display: flex;
  gap: 9px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.sw-chat-avatar {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: #e7f0eb;
  color: #82a497;
  border: 1px solid white;
  border-radius: 9px;
  flex-shrink: 0;
}
.sw-chat-avatar svg {
  font-size: 21px;
}
.sw-message-content {
  max-width: calc(100% - 42px);
  min-width: 0;
}
.sw-message-sender {
  font-size: 10px;
  color: #879e9e;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
  line-height: 1.6;
}
.sw-message-sender time {
  font-size: 9px;
  color: #a5b4b4;
}
.sw-bubble {
  border: 1px solid #e7edeb;
  border-radius: 0 10px 10px 10px;
  background: white;
  font-size: 12px;
  color: #3c5558;
  line-height: 1.9;
  padding: 11px 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 5px #203e3503;
}
.sw-message-source {
  font-size: 9px;
  color: #9dafad;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 6px 0 0;
}
.sw-message-source svg {
  font-size: 11px;
}
.sw-message.is-out {
  flex-direction: row-reverse;
}
.sw-message.is-out .sw-message-sender {
  justify-content: flex-end;
}
.sw-message.is-out .sw-chat-avatar {
  background: #d8eee4;
  color: #3b9a7b;
}
.sw-message.is-out .sw-bubble {
  border-radius: 10px 0 10px 10px;
  background: #e6f5ed;
  border-color: #d9eee2;
}
.sw-mention {
  color: #008b7b;
}
.sw-local-label {
  font-size: 9px;
  color: #af965f;
}
.sw-composer {
  flex-shrink: 0;
  min-width: 0;
  border-top: 1px solid var(--sw-line);
  padding: 13px 20px 14px;
  background: white;
}
.sw-composer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sw-reply-target {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #869b9b;
  flex-wrap: wrap;
}
.sw-reply-target svg {
  font-size: 15px;
  color: #6b9c89;
}
.sw-reply-target strong {
  font-weight: 500;
  color: #399980;
}
.sw-composer textarea {
  display: block;
  resize: vertical;
  min-height: 53px;
  max-height: 160px;
  height: 53px;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 0 6px;
  color: #38585f;
  font-size: 12px;
  background: white;
  line-height: 1.7;
}
.sw-composer textarea::placeholder {
  color: #aab8b9;
  font-size: 11px;
}
.sw-composer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}
.sw-composer-bottom > span {
  font-size: 9px;
  color: #a3afad;
}
.sw-composer-bottom small {
  margin-left: 8px;
  font-size: 9px;
}
.sw-composer-bottom .sw-button {
  padding: 8px 13px;
  font-size: 11px;
}
.sw-context {
  border-left: 1px solid var(--sw-line);
  background: #fff;
  min-height: 0;
  overflow: auto;
}
.sw-context-section {
  padding: 20px 18px;
  border-bottom: 1px solid #edf2ef;
}
.sw-context-section > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.sw-context-section h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
  margin: 0;
}
.sw-context-section h3 svg {
  font-size: 17px;
  color: #569483;
}
.sw-profile-name {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 11px;
}
.sw-profile-name > span {
  font-size: 10px;
  font-weight: 400;
}
.sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sw-tag-button {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  background: #fffaf0;
  color: #b2955e;
  border: 1px solid #f1e7d0;
  border-radius: 4px;
}
.sw-tag-button svg {
  font-size: 10px;
}
.sw-profile-facts {
  margin: 17px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
}
.sw-profile-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.sw-profile-facts dt {
  color: #8a9ea2;
  flex-shrink: 0;
}
.sw-profile-facts dd {
  color: #49666a;
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.sw-context-section h4 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 8px;
}
.sw-plan-sub {
  font-size: 10px;
  color: #8d9f9f;
  margin: 0 0 13px;
}
.sw-progress {
  height: 5px;
  border-radius: 3px;
  background: #edf4f0;
  overflow: hidden;
}
.sw-progress > span {
  display: block;
  height: 100%;
  background: #67bba1;
  border-radius: 3px;
}
.sw-plan-labels {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #99aaa6;
}
.sw-plan-labels strong {
  color: #6b9d8b;
  font-weight: 500;
}
.sw-count {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  color: #7d998e;
  background: #eef5f0;
  font-size: 10px;
  font-weight: 400;
}
.sw-task {
  border: 1px solid #e7ede8;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 10px;
}
.sw-task:last-child {
  margin-bottom: 0;
}
.sw-task-type {
  font-size: 9px;
  color: #8c9f99;
  display: inline-block;
  background: #f1f6f3;
  padding: 2px 5px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.sw-task-type.ai {
  color: #8e85a6;
  background: #f4f2f9;
}
.sw-task h4 {
  font-size: 11px;
  margin-bottom: 6px;
}
.sw-task p {
  font-size: 9px;
  color: #b19a7a;
  margin: 0 0 10px;
}
.sw-task .sw-text-button {
  font-size: 10px;
}
.sw-task .sw-text-button svg {
  font-size: 12px;
}
.sw-ai-note {
  padding: 18px;
  display: flex;
  gap: 9px;
  background: #fbfcfb;
  color: #859b94;
}
.sw-ai-note > svg {
  font-size: 18px;
  color: #80a595;
}
.sw-ai-note h4 {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 5px;
}
.sw-ai-note p {
  font-size: 10px;
  line-height: 1.8;
  color: #a0b0ab;
  margin: 0;
}
.sw-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: #a3b4b1;
  text-align: center;
  padding: 45px 15px;
}
.sw-empty > svg {
  font-size: 34px;
  margin-bottom: 6px;
  color: #b7cec4;
}
.sw-empty strong {
  font-size: 13px;
  font-weight: 500;
  color: #7d9891;
}
.sw-empty p {
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}
.sw-message-history > .sw-empty {
  height: 100%;
  min-height: 150px;
}
.sw-context-empty {
  color: #9aafa5;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.sw-context-empty svg {
  font-size: 17px;
}
.sw-task-board {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.sw-task-board > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--sw-line);
}
.sw-task-board h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}
.sw-task-board > header p {
  margin: 0;
  color: #8ea5a3;
  font-size: 11px;
}
.sw-board-list {
  overflow: auto;
  flex: 1;
  padding: 20px;
  background: #fcfdfb;
}
.sw-board-task {
  border: 1px solid #e1ebe5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 13px;
  background: white;
}
.sw-board-task h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.sw-board-task > p {
  color: #8d9f98;
  line-height: 1.8;
  font-size: 11px;
  margin: 0 0 13px;
}
.sw-board-task-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sw-board-task-footer > span {
  font-size: 9px;
  color: #b49f7d;
}
.sw-board-task-footer .sw-button {
  font-size: 10px;
  padding: 5px 7px;
}
.sw-board-task-footer .sw-button svg {
  font-size: 12px;
}
.sw-modal-note {
  font-size: 12px;
  line-height: 1.9;
  color: #859b9b;
  margin: 8px 0 20px;
}
.sw-modal-group {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid #e4ece8;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  text-align: left;
  color: #345b59;
  margin: 12px 0;
  cursor: pointer;
}
.sw-modal-group.selected {
  background: #f1fbf5;
  border-color: #81bea9;
}
.sw-modal-group > div {
  flex: 1;
}
.sw-modal-group strong {
  font-size: 14px;
  font-weight: 600;
}
.sw-modal-group p {
  font-size: 12px;
  color: #8d9f9a;
  margin: 6px 0;
}
.sw-modal-group small {
  font-size: 10px;
  color: #8d9f9a;
}
.sw-modal-name {
  font-size: 23px;
  color: #23534c;
  margin: 14px 0;
}
.sw-modal-facts {
  gap: 18px;
  font-size: 13px;
  padding-bottom: 20px;
}
.sw-quick-reply {
  border: 1px solid #e3ece5;
  border-radius: 8px;
  background: #fbfdfb;
  color: #517568;
  font-size: 13px;
  padding: 16px;
  line-height: 1.9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
  margin: 12px 0;
  cursor: pointer;
}
.sw-quick-reply:hover {
  background: #edf7f0;
}
.sw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.sw-member-list,
.sw-message-history,
.sw-context,
.sw-board-list {
  scrollbar-width: thin;
  scrollbar-color: #cbdcd5 transparent;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.sw-member-list::-webkit-scrollbar,
.sw-message-history::-webkit-scrollbar,
.sw-context::-webkit-scrollbar,
.sw-board-list::-webkit-scrollbar {
  width: 6px;
}
.sw-member-list::-webkit-scrollbar-thumb,
.sw-message-history::-webkit-scrollbar-thumb,
.sw-context::-webkit-scrollbar-thumb,
.sw-board-list::-webkit-scrollbar-thumb {
  background: #cbdcd5;
  border-radius: 4px;
}
@media (min-width: 1700px) {
  .sw-workspace {
    grid-template-columns: 285px minmax(400px, 1fr) 320px;
  }
  .sw-stat-hint {
    display: block;
    margin-left: auto;
    color: #95a9a1;
    font-size: 11px;
    margin-right: 12px;
  }
  .sw-context-section {
    padding: 23px;
  }
  .sw-message-history {
    padding-inline: 30px;
  }
  .sw-bubble {
    font-size: 13px;
  }
  .sw-member {
    padding: 16px 13px;
  }
  .sw-page {
    font-size: 14px;
  }
}
@media (max-width: 1250px) {
  .sw-workspace {
    grid-template-columns: 225px minmax(285px, 1fr);
  }
  .sw-context {
    display: none;
  }
  .sw-stat {
    padding: 12px;
    gap: 9px;
  }
  .sw-stat strong {
    font-size: 24px;
  }
  .sw-stat-icon {
    width: 33px;
    height: 33px;
  }
  .sw-stat-icon svg {
    font-size: 20px;
  }
  .sw-demo-note {
    display: none;
  }
  .sw-page-heading h1 {
    font-size: 23px;
  }
  .sw-channel-bar,
  .sw-customer-header {
    padding-inline: 17px;
  }
  .sw-message-history {
    padding-inline: 17px;
  }
}
@media (max-width: 760px) {
  .sw-page {
    height: auto;
    min-height: 0;
    gap: 13px;
    padding: 0;
  }
  .sw-page-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .sw-heading-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .sw-heading-main {
    gap: 9px;
    flex: 1 0 220px;
  }
  .sw-page-actions {
    margin-left: auto;
    gap: 8px;
  }
  .sw-page-heading h1 {
    font-size: 20px;
    gap: 5px;
    white-space: nowrap;
  }
  .sw-page-heading p {
    font-size: 11px;
    max-width: 230px;
    line-height: 1.6;
  }
  .sw-page-actions .sw-button {
    font-size: 12px;
    white-space: nowrap;
    padding: 8px;
  }
  .sw-page-actions .sw-button svg {
    font-size: 20px;
  }
  .sw-demo {
    font-size: 9px;
    padding: 0 4px;
  }
  .sw-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sw-stat {
    min-height: 73px;
  }
  .sw-stat strong {
    font-size: 22px;
  }
  .sw-workspace {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .sw-members {
    border-right: 0;
    border-bottom: 1px solid var(--sw-line);
  }
  .sw-group-picker {
    padding: 13px;
  }
  .sw-group-picker p {
    display: none;
  }
  .sw-group-picker label {
    margin-bottom: 6px;
  }
  .sw-member-tools {
    padding-top: 10px;
  }
  .sw-switch {
    margin-bottom: 10px;
  }
  .sw-list-meta {
    margin-top: 10px;
  }
  .sw-member-list {
    display: flex;
    overflow: auto;
    padding: 4px 9px 10px;
    flex: none;
    gap: 5px;
  }
  .sw-member {
    width: 165px;
    min-width: 165px;
    margin: 0;
    padding: 9px;
    align-items: center;
  }
  .sw-member-copy p {
    margin-bottom: 0;
    max-width: 100px;
  }
  .sw-member-copy .sw-mini-tag,
  .sw-member-copy .sw-task-count,
  .sw-member-copy time {
    display: none;
  }
  .sw-member-footer {
    display: none;
  }
  .sw-conversation {
    height: 570px;
  }
  .sw-customer-header {
    padding-block: 14px;
  }
  .sw-channel-bar > div {
    gap: 17px;
  }
  .sw-message-history {
    padding-inline: 13px;
  }
  .sw-composer {
    padding-inline: 13px;
  }
  .sw-composer-bottom > span {
    max-width: 190px;
    line-height: 1.7;
  }
  .sw-task-board {
    height: 570px;
  }
  .sw-member-list > .sw-empty {
    padding: 20px;
    min-width: 100%;
  }
  .sw-task-board > header {
    padding: 18px;
  }
  .sw-channel-tip {
    padding-inline: 16px;
  }
  .sw-message-content {
    max-width: calc(100% - 40px);
  }
  .sw-channel-bar > .sw-text-button {
    font-size: 0;
  }
  .sw-channel-bar > .sw-text-button svg {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-page * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html.dark .sw-page {
  --sw-ink: #d8e9e4;
  --sw-muted: #91aaa1;
  --sw-line: #304139;
  --sw-green: #6bc4aa;
}
.dark .sw-workspace,
.dark .sw-members,
.dark .sw-context,
.dark .sw-member,
.dark .sw-composer,
.dark .sw-composer textarea,
.dark .sw-list-meta select,
.dark .sw-icon-button,
.dark .sw-button,
.dark .sw-stat,
.dark .sw-bubble,
.dark .sw-board-task {
  background: #1a2a25;
  color: #c9dcd4;
  border-color: #30443b;
}
.dark .sw-stat.active,
.dark .sw-member.selected,
.dark .sw-message.is-out .sw-bubble {
  background: #214137;
  border-color: #3a6351;
}
.dark .sw-member-copy strong,
.dark .sw-profile-facts dd,
.dark .sw-bubble,
.dark .sw-group-picker select {
  color: #c9dcd4;
}
.dark .sw-message-history,
.dark .sw-board-list,
.dark .sw-channel-tip,
.dark .sw-member-footer,
.dark .sw-ai-note,
.dark .sw-switch,
.dark .sw-search {
  background: #17241f;
}
.dark .sw-primary,
.dark .sw-primary:hover {
  background: #29977c;
  color: white;
}
.dark .sw-switch > button.active {
  background: #2c4639;
  color: #a1d5be;
}

/* Keep working text legible alongside the platform's standard 14px controls. */
.sw-page {
  height: calc(100dvh - 126px);
  padding: 22px 20px 20px;
  background: #f2f8f7;
  gap: 16px;
}
.sw-page-heading p {
  font-size: 14px;
}
.sw-muted {
  font-size: 13px;
}
.sw-member-copy strong {
  font-size: 14px;
}
.sw-member-copy p {
  font-size: 12px;
}
.sw-mini-tag,
.sw-task-count {
  font-size: 11px;
}
.sw-list-meta {
  font-size: 12px;
}
.sw-search input {
  font-size: 12px;
}
.sw-switch > button {
  font-size: 13px;
}
.sw-bubble {
  font-size: 14px;
  line-height: 1.8;
}
.sw-message-sender {
  font-size: 11px;
}
.sw-message-sender time {
  font-size: 10px;
}
.sw-message-source {
  font-size: 10px;
}
.sw-composer textarea {
  font-size: 14px;
}
.sw-composer textarea::placeholder {
  font-size: 12px;
}
.sw-composer-top .sw-text-button {
  font-size: 12px;
}
.sw-profile-facts {
  font-size: 12px;
}
.sw-context-section h4 {
  font-size: 13px;
}
.sw-context-section .sw-plan-sub {
  font-size: 11px;
}
.sw-header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sw-mobile-profile {
  display: none;
}
.dark .sw-page {
  background: #14251f;
}
@media (max-width: 1250px) {
  .sw-mobile-profile {
    display: inline-flex;
  }
}
@media (max-width: 760px) {
  .sw-page {
    height: auto;
    padding: 14px 10px;
    min-height: 0;
    gap: 13px;
  }
  .sw-page-heading p {
    font-size: 11px;
  }
  .sw-member-copy strong {
    font-size: 13px;
  }
  .sw-member-copy p {
    font-size: 11px;
  }
  .sw-header-tools {
    gap: 8px;
  }
  .sw-mobile-profile {
    font-size: 10px;
  }
  .sw-bubble {
    font-size: 13px;
  }
}

.sw-load-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border: 1px solid #f0d7ac;
  border-radius: 8px;
  background: #fffbf2;
  color: #ad863f;
  flex-shrink: 0;
  font-size: 12px;
}
.sw-load-error .sw-text-button {
  margin-left: auto;
}
.sw-receive-note {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 18px;
  border-top: 1px solid #e4eded;
  color: #859e94;
  font-size: 12px;
}
.sw-history-control {
  padding: 10px 15px;
  text-align: center;
  border-top: 1px solid #edf3ef;
}
.sw-message-image {
  display: block;
  max-width: 100%;
  width: 240px;
  max-height: 300px;
  object-fit: contain;
  border-radius: 6px;
  margin-top: 8px;
}
.sw-image-error {
  font-size: 11px;
  color: #b28654;
  line-height: 1.8;
}

.sw-receive-state{display:flex;flex-wrap:wrap;gap:6px 20px;padding:10px 14px;border:1px solid #dbeae6;border-radius:8px;background:#f5faf8;color:#64817a;font-size:12px}.sw-receive-state strong{color:#216d5c;font-weight:600}.sw-page-actions .sw-button:disabled{opacity:.55;cursor:wait}

.sw-image-attachment{max-width:100%;margin-top:6px}.sw-image-trigger{display:block;padding:0;border:0;background:transparent;max-width:100%;cursor:zoom-in;text-align:left}.sw-image-trigger .sw-message-image{display:block;max-width:min(300px,100%);max-height:260px;width:auto;height:auto;object-fit:contain;border-radius:6px;margin:0}.sw-image-open{display:block;font-size:11px;color:#64837f;padding-top:5px}.sw-image-pending{font-size:12px;color:#758c8b;margin:6px 0;min-height:20px}.sw-image-preview .ant-modal{max-width:1100px}.sw-image-full{display:block;max-width:100%;max-height:75vh;width:auto;height:auto;object-fit:contain;margin:auto}.sw-image-error .sw-text-button{margin-left:8px}
/*$vite$:1*/