/* Merhav workspace: quiet, readable, right-to-left, touch friendly. */
.chat-app {
  --chat-ink: #263730;
  --chat-muted: #87908a;
  --chat-line: #e7ebe5;
  --chat-accent: #416954;
  --chat-light: #edf3ec;
  --chat-coral: #d5775d;
  color: var(--chat-ink);
  font-family: Arial, 'Noto Sans Hebrew', sans-serif;
  display: grid;
  grid-template-columns: 76px min(var(--sidebar-width, 292px), 45vw) minmax(0, 1fr);
  height: calc(100dvh - var(--notice-height, 0px));
  min-height: 450px;
  background: white;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
  isolation: isolate;
}
.chat-app *,
.chat-dialog * {
  box-sizing: border-box;
}
.chat-app button,
.chat-dialog button,
.chat-app input,
.chat-dialog input,
.chat-app textarea,
.chat-dialog textarea,
.chat-dialog select {
  font-family: inherit;
  font-size: inherit;
}
.chat-app button,
.chat-dialog button {
  cursor: pointer;
}
.chat-app button:disabled,
.chat-dialog button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.chat-app button:focus-visible,
.chat-dialog button:focus-visible,
.chat-app a:focus-visible,
.chat-dialog a:focus-visible {
  outline: 2px solid #7fa38a;
  outline-offset: 3px;
}
.chat-app [hidden],
.chat-dialog [hidden] {
  display: none !important;
}
.chat-app svg,
.chat-dialog svg {
  flex-shrink: 0;
  vertical-align: middle;
}
.chat-app button,
.chat-dialog button {
  color: inherit;
}
.chat-app h1,
.chat-app h2,
.chat-app h3,
.chat-app p,
.chat-dialog h2,
.chat-dialog h3,
.chat-dialog p {
  margin: 0;
}
.chat-app .chat-icon-button,
.chat-dialog .chat-icon-button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: transparent;
  color: #79847c;
  transition:
    background 0.15s,
    color 0.15s;
}
.chat-app .chat-icon-button:hover,
.chat-dialog .chat-icon-button:hover {
  background: #eef2ec;
  color: var(--chat-ink, #263730);
}
.chat-app .chat-button,
.chat-dialog .chat-button,
.chat-loading .chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  min-height: 44px;
  border: 1px solid #e1e7df;
  border-radius: 10px;
  background: #fff;
  color: #416954;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.chat-app .chat-button.primary,
.chat-dialog .chat-button.primary,
.chat-loading .chat-button.primary {
  background: #416954;
  color: #fff;
  border-color: #416954;
}
.chat-dialog .chat-button.danger {
  background: #bc5849;
  border-color: #bc5849;
  color: #fff;
}
.chat-dialog .chat-button.compact {
  padding: 8px 13px;
  min-height: 38px;
  font-size: 13px;
}
.chat-button:hover {
  filter: brightness(0.97);
}
.chat-loading {
  height: calc(100dvh - var(--notice-height, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #fbf8f3;
  color: #416954;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 30px;
}
.chat-loading-mark {
  height: 60px;
  width: 60px;
  background: #416954;
  color: #fff;
  border-radius: 19px;
  display: grid;
  place-items: center;
  font-size: 35px;
  font-weight: bold;
  animation: chat-breathe 1.2s ease-in-out infinite alternate;
}
.chat-loading h2 {
  margin: 0;
}
.chat-loading p {
  line-height: 1.7;
  max-width: 500px;
}
.chat-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f4ef;
  border-left: 1px solid #e6eae2;
  padding: 21px 8px 18px;
  gap: 32px;
}
.chat-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: #416954;
  border-radius: 13px;
  height: 43px;
  width: 43px;
  box-shadow: 0 3px 5px #2637300b;
}
.chat-brand-symbol {
  display: flex;
  align-items: center;
  gap: 3px;
  transform: rotate(-7deg);
}
.chat-brand-symbol i {
  display: block;
  width: 6px;
  height: 20px;
  background: #fff;
  border-radius: 5px;
}
.chat-brand-symbol i:first-child {
  height: 14px;
}
.chat-brand-symbol i:last-child {
  height: 25px;
  background: #d5e2c8;
}
.chat-rail-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.chat-rail-item {
  height: 66px;
  position: relative;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #8d968e !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  font-size: 10px !important;
  font-weight: 600;
  letter-spacing: 0.05px;
}
.chat-rail-item:hover {
  background: #e9eee7;
}
.chat-rail-item.selected {
  background: #e1e9dc;
  color: #416954 !important;
}
.chat-rail-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  background: #d5775d;
  border: 2px solid #f1f4ef;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.chat-rail-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  margin-top: auto;
}
.chat-profile-button {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
}
.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--avatar-bg, #e7ede8);
  color: #4d6055;
  border-radius: 13px;
  line-height: 1;
  font-size: 14px;
  font-weight: 600;
  width: 40px;
  height: 40px;
  min-width: 40px;
  letter-spacing: -0.7px;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-avatar.small {
  width: 29px;
  height: 29px;
  min-width: 29px;
  font-size: 11px;
  border-radius: 10px;
}
.chat-avatar.large {
  height: 58px;
  width: 58px;
  min-width: 58px;
  font-size: 21px;
  border-radius: 18px;
}
.chat-status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -1px;
  left: -2px;
  background: #c0c7c0;
}
.chat-status-dot.online,
.chat-inline-dot.online {
  background: #78a879;
}
.chat-status-dot.away,
.chat-inline-dot.away {
  background: #d3ad66;
}
.chat-status-dot.offline,
.chat-inline-dot.offline {
  background: #c5cbc5;
}
.chat-sidebar {
  min-width: 0;
  background: #f9faf7;
  border-left: 1px solid var(--chat-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 15px;
}
.chat-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 5px;
}
.chat-workspace-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: none;
  text-align: right;
}
.chat-workspace-name > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-workspace-name strong {
  font-size: 16px;
  max-width: 155px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 700;
}
.chat-workspace-name small {
  font-size: 11px;
  color: #9ba297;
  margin-top: 2px;
}
.chat-workspace-logo {
  height: 36px;
  width: 36px;
  min-width: 36px;
  border-radius: 11px;
  background: #f0e7d8;
  color: #8e795b;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.chat-workspace-header > .chat-icon-button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid #e4e8e0;
  background: white;
  border-radius: 9px;
}
.chat-demo-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #899182;
  margin: -4px 1px 15px;
}
.chat-demo-label > span {
  width: 5px;
  height: 5px;
  background: #be9b65;
  border-radius: 50%;
}
.chat-search-trigger {
  width: 100%;
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: #f0f3ec;
  border: 1px solid #e6eae2;
  border-radius: 8px;
  color: #929a90 !important;
  font-size: 12px !important;
  text-align: right;
}
.chat-search-trigger span {
  flex: 1;
}
.chat-search-trigger kbd {
  font-family: inherit;
  color: #a4aaa0;
  font-size: 10px;
  border: 1px solid #dde3d7;
  border-radius: 4px;
  padding: 1px 4px;
  direction: ltr;
}
.chat-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 23px 2px 12px;
}
.chat-sidebar-title h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.chat-sidebar-title > span {
  font-size: 11px;
  color: #939c91;
}
.chat-filters {
  display: flex;
  gap: 5px;
  margin-bottom: 17px;
}
.chat-filters button {
  border: 1px solid transparent;
  padding: 5px 12px;
  min-height: 30px;
  background: transparent;
  border-radius: 6px;
  color: #8c958b;
  font-size: 11px;
  font-weight: 500;
}
.chat-filters button.active {
  border-color: #dfe7db;
  background: #eaf0e4;
  color: #4f6d51;
}
.chat-filters button span {
  background: #dfe8d9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  margin-right: 4px;
  border-radius: 5px;
  font-size: 9px;
}
.chat-conversations-scroll {
  min-height: 0;
  overflow: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #dce3d8 transparent;
  margin: 0 -8px;
  padding: 0 8px 14px;
}
.chat-list-section {
  margin-bottom: 15px;
}
.chat-list-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 29px;
  color: #9aa292;
  font-size: 10px;
  font-weight: 600;
  padding: 0 8px;
  margin-bottom: 4px;
}
.chat-list-section-label .chat-icon-button {
  width: 23px;
  height: 23px;
  min-width: 23px;
  color: #a5ad9f;
}
.chat-list-section-label .chat-icon-button svg {
  width: 12px;
  height: 12px;
}
.chat-conversation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 69px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  padding: 11px 9px;
  text-align: right;
  position: relative;
  margin: 3px 0;
  transition: background 0.15s;
}
.chat-conversation-item:hover {
  background: #f0f3eb;
}
.chat-conversation-item.active {
  background: #eaf0e4;
  border-color: #e1e8da;
}
.chat-list-avatar {
  position: relative;
  display: block;
  flex-shrink: 0;
}
.chat-list-avatar .chat-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 11px;
  font-size: 12px;
}
.chat-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 36px;
  color: #8f9b89;
}
.chat-conversation-item.active .chat-channel-icon {
  color: #59754e;
}
.chat-channel-icon.announcement {
  color: #b18c62;
}
.chat-conversation-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  gap: 4px;
}
.chat-conversation-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.chat-conversation-item.has-unread .chat-conversation-title {
  font-weight: 700;
  color: #354d3d;
}
.chat-conversation-preview {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.3;
  color: #959d91;
}
.chat-conversation-item.active .chat-conversation-preview {
  color: #819177;
}
.chat-conversation-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  align-self: stretch;
  padding-top: 1px;
  min-width: 28px;
}
.chat-conversation-meta time {
  font-size: 9px;
  direction: ltr;
  color: #a2aa9c;
}
.chat-unread-count {
  min-width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #d8e3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #567247;
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
}
.chat-conversation-item.active .chat-unread-count {
  background: #647f55;
  color: #fff;
}
.chat-list-empty {
  font-size: 11px;
  color: #a3ab9c;
  padding: 10px 9px;
}
.chat-sidebar-empty {
  font-size: 14px;
  color: #79886f;
  text-align: center;
  padding: 35px 10px;
}
.chat-sidebar-empty p {
  font-size: 12px;
  margin-top: 7px;
}
.chat-invite-button {
  margin: 13px 0 17px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed #dce3d4;
  background: #f4f7ef;
  border-radius: 9px;
  color: #8a977d !important;
  font-size: 12px !important;
}
.chat-invite-button span {
  flex: 1;
  text-align: right;
}
.chat-invite-button > svg:last-child {
  color: #9fac92;
}
.chat-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.chat-conversation-header {
  min-height: 87px;
  border-bottom: 1px solid #eef0e9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 20px;
}
.chat-header-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.chat-header-symbol {
  color: #7c9273;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-header-symbol > .chat-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
}
.chat-header-name {
  border: 0;
  padding: 0;
  background: none;
  min-width: 0;
  text-align: right;
}
.chat-header-name h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-header-name > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a2aa9b;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 540px;
  margin-top: 4px;
}
.chat-header-name > span > span {
  color: #c4cabe;
}
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.chat-header-actions .chat-icon-button {
  color: #99a190;
}
.chat-header-divider {
  height: 20px;
  width: 1px;
  background: #e7ebe1;
  margin: 0 7px;
}
.chat-members-stack {
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 0 4px;
  direction: rtl;
}
.chat-members-stack .chat-avatar {
  border: 2px solid white;
  margin-left: -7px;
}
.chat-members-stack > span:last-child:not(.chat-avatar) {
  height: 28px;
  width: 28px;
  border: 2px solid white;
  border-radius: 50%;
  background: #f1f3ed;
  font-size: 9px;
  display: grid;
  place-items: center;
  color: #95a087;
  margin-right: 2px;
}
.chat-archived-label {
  font-size: 10px;
  font-weight: 400;
  color: #a0937f;
  background: #f3efe6;
  padding: 3px 7px;
  border-radius: 5px;
}
.chat-inline-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 2px;
}
.chat-header-main > [data-action='back-list'] {
  display: none;
}
.chat-content-wrap {
  position: relative;
  min-height: 0;
  flex: 1;
  display: flex;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: #e1e6da transparent;
  outline: none;
}
.chat-messages-inner {
  padding: 10px 34px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.chat-day-divider {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #a1aa96;
  font-size: 10px;
  margin: 19px 0 23px;
}
.chat-day-divider:before,
.chat-day-divider:after {
  content: '';
  height: 1px;
  background: #edf0e7;
  flex: 1;
}
.chat-day-divider > span {
  padding: 1px 10px;
  background: #fafbf7;
  border: 1px solid #edf1e6;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.8;
}
.chat-message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 13px;
  position: relative;
  margin-bottom: 24px;
  padding: 2px 0 0;
  border-radius: 9px;
  outline: none;
  transition: background 0.2s;
}
.chat-message.grouped {
  margin-top: -18px;
}
.chat-message.highlight {
  background: #f7f2df;
  box-shadow: 0 0 0 12px #f7f2df;
}
.chat-message-avatar {
  padding-top: 2px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.chat-message-avatar > time {
  opacity: 0;
  font-size: 9px;
  color: #bdc5b5;
  padding-top: 7px;
  direction: ltr;
}
.chat-message:hover .chat-message-avatar > time {
  opacity: 1;
}
.chat-message-author {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  margin-bottom: 3px;
  line-height: 1.3;
}
.chat-message-author > strong {
  font-size: 13px;
  font-weight: 700;
  color: #485e42;
}
.chat-message-author > time {
  font-size: 9px;
  font-weight: 400;
  color: #a7afa0;
  direction: ltr;
}
.chat-you-label {
  font-size: 9px;
  color: #a3ae96;
  padding: 0 4px;
}
.chat-message-inner {
  display: inline-flex;
  flex-direction: column;
  max-width: min(100%, 820px);
  min-width: 0;
  position: relative;
  padding: 0;
}
.chat-message.own .chat-message-inner {
  background: #f4f7ef;
  border: 1px solid #ecf0e5;
  border-radius: 3px 12px 12px 12px;
  padding: 11px 16px 6px;
  min-width: 180px;
}
.chat-message-text {
  font-size: 14px;
  line-height: 1.85;
  color: #5d6b52;
  overflow-wrap: anywhere;
  white-space: normal;
  unicode-bidi: plaintext;
}
.chat-message-text a {
  color: #527957;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chat-message.deleted .chat-message-text {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-style: italic;
  color: #a5ad9d;
}
.chat-message.deleted .chat-message-inner {
  background: transparent;
  border-color: transparent;
  padding: 0;
}
.chat-message-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a8b29e;
  min-height: 14px;
  font-size: 8px;
  margin-top: 2px;
  justify-content: flex-end;
}
.chat-message-footer svg {
  vertical-align: middle;
}
.chat-delivery {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 0;
  background: none;
  color: #9ba88f !important;
  padding: 0;
  font-size: 9px !important;
  min-height: 16px;
}
.chat-delivery.read {
  color: #729b75 !important;
}
.chat-message.failed .chat-message-inner {
  border-color: #e8d0c4;
  background: #fff9f5;
}
.chat-message.sending {
  opacity: 0.6;
}
.chat-message-actions {
  position: absolute;
  left: 0;
  top: -12px;
  display: flex;
  align-items: center;
  gap: 1px;
  border: 1px solid #e4eadd;
  background: #fff;
  box-shadow: 0 3px 9px #3149270a;
  padding: 2px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition:
    opacity 0.15s,
    transform 0.15s;
  z-index: 2;
}
.chat-message:hover .chat-message-actions,
.chat-message:focus-within .chat-message-actions {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.chat-message-actions .chat-icon-button {
  width: 29px;
  min-width: 29px;
  height: 27px;
  border-radius: 5px;
}
.chat-message-actions svg {
  width: 15px;
  height: 15px;
}
.chat-reactions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.chat-reaction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 37px;
  min-height: 26px;
  background: #f8faf4;
  border: 1px solid #edf1e5;
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 12px !important;
  line-height: 1;
}
.chat-reaction > span {
  font-size: 10px;
  color: #97a389;
}
.chat-reaction.mine {
  background: #edf3e5;
  border-color: #d9e5ce;
}
.chat-reply-preview {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 3px;
  border: 0;
  border-right: 3px solid #a8bc96;
  border-radius: 7px 2px 2px 7px;
  background: #f0f4e9;
  padding: 8px 11px;
  margin-bottom: 8px;
  max-width: 100%;
  min-width: 180px;
  overflow: hidden;
}
.chat-message.own .chat-reply-preview {
  background: #eaf0e0;
}
.chat-reply-preview strong {
  color: #6c855b;
  font-size: 11px;
  line-height: 1.3;
}
.chat-reply-preview > span {
  font-size: 11px;
  line-height: 1.6;
  color: #92a080;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 600px;
}
.chat-forward-note,
.chat-pin-note {
  font-size: 9px;
  color: #a7ae9c;
  margin-bottom: 5px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.chat-unread-divider {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c78d73;
  font-size: 9px;
  margin: 3px 0 20px;
}
.chat-unread-divider:before,
.chat-unread-divider:after {
  content: '';
  height: 1px;
  flex: 1;
  background: #f0dfd4;
}
.chat-retry {
  margin-top: 6px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: #b16a52 !important;
  font-size: 11px !important;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-attachment {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  min-width: 260px;
  padding: 12px 13px;
  border: 1px solid #e7eada;
  border-radius: 10px;
  background: #fcfdf9;
  text-align: right;
  margin: 8px 0 2px;
  color: #80916d !important;
}
.chat-attachment > span:first-child {
  background: #eef2e3;
  width: 38px;
  height: 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.chat-attachment > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}
.chat-attachment strong {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 270px;
}
.chat-attachment small {
  font-size: 9px;
  color: #a1ad93;
  direction: ltr;
  text-align: right;
}
.chat-attachment > svg {
  width: 16px;
  height: 16px;
}
.chat-attachment.unavailable {
  opacity: 0.65;
}
.chat-attachment-image {
  display: block;
  margin: 8px 0 2px;
  padding: 0;
  border: 1px solid #e7eada;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2e3;
  cursor: zoom-in;
  max-width: min(360px, 100%);
}
.chat-attachment-image img {
  display: block;
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.chat-attachment-image img:not([src]) {
  width: 240px;
  max-width: 100%;
  height: 160px;
}
.chat-context-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: none;
}
.chat-new-messages {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: #416954;
  color: #fff !important;
  box-shadow: 0 3px 20px #2637301c;
  padding: 8px 16px;
  border: 0;
  border-radius: 22px;
  font-size: 11px !important;
  z-index: 4;
}
.chat-connection {
  background: #fff4e5;
  color: #a5763a;
  font-size: 12px;
  padding: 9px 20px;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.chat-drag-overlay {
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #f3f8eced;
  border: 2px dashed #99b283;
  border-radius: 14px;
  z-index: 10;
  pointer-events: none;
  color: #65834f;
}
.chat-drag-overlay strong {
  font-size: 18px;
}
.chat-compose-area {
  padding: 2px 34px 15px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}
.chat-composer {
  border: 1px solid #dfe6d6;
  border-radius: 12px;
  box-shadow: 0 2px 4px #435c3104;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.chat-composer:focus-within {
  border-color: #a8bb96;
  box-shadow: 0 0 0 3px #eef3e6;
}
.chat-composer textarea {
  border: 0;
  outline: 0 !important;
  box-shadow: none !important;
  resize: none;
  display: block;
  background: transparent;
  width: 100%;
  min-height: 52px;
  max-height: 170px;
  padding: 15px 17px 6px;
  font-size: 13px;
  color: #536a48;
  line-height: 1.6;
  direction: rtl;
  scrollbar-width: thin;
}
.chat-composer textarea::placeholder {
  color: #a7b098;
}
.chat-composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 12px 10px;
}
.chat-composer-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}
.chat-composer-tools .chat-icon-button {
  width: 29px;
  min-width: 29px;
  height: 29px;
  color: #a4af95;
  border-radius: 6px;
}
.chat-composer-tools .chat-icon-button svg {
  width: 17px;
  height: 17px;
}
.chat-send {
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #729156;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 3px #344c2210;
}
.chat-send:hover {
  background: #5c7c43;
}
.chat-send:disabled {
  background: #d9e2cf !important;
  opacity: 1 !important;
  color: #f8faf5 !important;
}
.chat-compose-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  color: #b0b8a4;
  font-size: 9px;
  min-height: 16px;
  line-height: 1.5;
}
.chat-compose-hint kbd {
  font-family: inherit;
  font-size: 8px;
  direction: ltr;
  display: inline-block;
  color: #a1ad93;
}
.chat-hint-dot {
  padding: 0 4px;
}
.chat-typing {
  color: #8aa474;
  font-size: 10px;
}
.chat-composer-context {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 61px;
  padding: 8px 12px;
  background: #f4f7ef;
  border: 1px solid #e3e9db;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  margin: 0 7px;
}
.chat-composer-context + .chat-composer {
  position: relative;
}
.chat-context-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.chat-context-copy strong {
  font-size: 11px;
  color: #789264;
  display: flex;
  gap: 7px;
  align-items: center;
}
.chat-context-copy > span {
  font-size: 11px;
  color: #9fac91;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}
.chat-context-attachment {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
  color: #8b9f78;
}
.chat-context-attachment > span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-context-attachment small {
  font-size: 9px;
  direction: ltr;
}
.chat-upload-progress {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #8fa27d;
  font-size: 11px;
}
.chat-upload-progress svg {
  animation: chat-spin 1s linear infinite;
}
.chat-composer.is-disabled {
  background: #fafbf7;
  border-color: #e8eddf;
}
.chat-recording {
  font-size: 10px;
  color: #be795e;
  white-space: nowrap;
}
.chat-composer-tools .is-recording {
  background: #f9e9df;
  color: #bf7255;
}
.chat-composer-tools .is-recording svg {
  animation: chat-breathe 0.7s infinite alternate;
}
.chat-empty-state,
.chat-channel-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 50px 30px;
  text-align: center;
  gap: 14px;
  color: #6d805b;
}
.chat-empty-state > span,
.chat-channel-welcome > span {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: #eff4e7;
  color: #91a879;
  font-size: 45px;
  margin-bottom: 7px;
}
.chat-empty-state h2,
.chat-channel-welcome h2 {
  font-size: 27px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: -0.6px;
}
.chat-empty-state h3 {
  font-size: 21px;
  font-weight: 500;
}
.chat-empty-state p,
.chat-channel-welcome p {
  color: #a4af98;
  font-size: 13px;
  line-height: 1.8;
  max-width: 400px;
}
.chat-empty-state .chat-button,
.chat-channel-welcome .chat-button {
  margin-top: 9px;
}
.chat-welcome-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
  margin-top: 10px;
}
.chat-welcome-pills > span {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9cad8b;
}
.chat-collection-heading {
  text-align: center;
  padding: 40px 25px 25px;
  color: #6b8557;
}
.chat-collection-heading > span {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin: auto;
  background: #f0f5e7;
  border-radius: 19px;
}
.chat-collection-heading h2 {
  font-size: 23px;
  margin-top: 13px;
}
.chat-collection-heading p {
  font-size: 12px;
  color: #a0ad90;
  margin-top: 7px;
}
.chat-messages > .chat-search-result {
  margin: 0 30px 10px;
  width: calc(100% - 60px);
}
/* Dialog surfaces use the same restrained workspace language. */
.chat-dialog {
  color: #263730;
  text-align: right;
  font-family: Arial, 'Noto Sans Hebrew', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  width: min(560px, calc(100vw - 36px));
  max-height: calc(100dvh - 70px);
  display: flex;
  flex-direction: column;
}
.chat-dialog > header {
  padding: 23px 25px 17px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf0e8;
}
.chat-dialog > header h2 {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.4px;
}
.chat-dialog > header p {
  font-size: 12px;
  color: #919d86;
  margin-top: 5px;
}
.chat-dialog-body {
  padding: 22px 25px 25px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #dde5d4 transparent;
}
.chat-dialog .chat-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  color: #576d4b;
}
.chat-dialog .chat-field > span {
  font-size: 13px;
}
.chat-dialog .chat-field input,
.chat-dialog .chat-field select,
.chat-dialog .chat-field textarea,
.chat-dialog .chat-copy-field input,
.chat-search-filters select {
  min-height: 43px;
  border: 1px solid #dce5d4;
  border-radius: 9px;
  background: #fff;
  padding: 10px 12px;
  color: #567048;
  outline: none;
  font-size: 13px;
  width: 100%;
  box-shadow: none;
}
.chat-dialog .chat-field input:focus,
.chat-dialog .chat-field select:focus,
.chat-dialog .chat-field textarea:focus,
.chat-search-input:focus-within {
  border-color: #9eb78a;
  box-shadow: 0 0 0 3px #f0f5e8;
}
.chat-dialog .chat-field small {
  font-weight: 400;
  line-height: 1.7;
  font-size: 11px;
  color: #9aa88c;
}
.chat-dialog input[type='checkbox'],
.chat-dialog input[type='radio'] {
  accent-color: #62804e;
  min-width: 16px;
  width: 16px;
  height: 16px;
}
.chat-dialog input::placeholder,
.chat-dialog textarea::placeholder {
  color: #afbba2;
}
.chat-dialog-intro {
  font-size: 13px;
  color: #8b9b7c;
  line-height: 1.8;
  margin-bottom: 17px !important;
}
.chat-dialog-note {
  color: #9da98e;
  font-size: 11px;
  line-height: 1.8;
  margin: 12px 0 !important;
}
.chat-dialog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
.chat-dialog .chat-form-error {
  background: #fff1e9;
  border: 1px solid #edd8c9;
  color: #b07b5d;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 12px;
  margin-top: 12px;
}
.chat-action-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-action-list > button {
  display: flex;
  align-items: center;
  text-align: right;
  gap: 12px;
  min-height: 46px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #6d825c;
  font-size: 13px;
}
.chat-action-list > button:hover {
  background: #f3f7ed;
}
.chat-action-list > button svg {
  color: #a4b494;
}
.chat-action-list .danger-text {
  color: #bd7d60 !important;
}
.chat-action-list .danger-text svg {
  color: #bd7d60;
}
.chat-emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.chat-emoji-grid > button {
  width: 100%;
  height: 50px;
  background: #fafcf6;
  border: 1px solid #edf1e5;
  border-radius: 12px;
  font-size: 25px;
}
.chat-emoji-grid > button:hover {
  background: #edf4e4;
  transform: scale(1.06);
}
.chat-delete-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 17px;
  text-align: right;
  width: 100%;
  border: 1px solid #e1e8d9;
  background: #fafcf7;
  border-radius: 11px;
  margin-bottom: 12px;
}
.chat-delete-option strong {
  font-size: 14px;
  color: #6e855b;
}
.chat-delete-option span {
  font-size: 11px;
  color: #9baa8a;
  line-height: 1.8;
}
.chat-delete-option.danger {
  background: #fffbf5;
  border-color: #edddc9;
}
.chat-delete-option.danger strong {
  color: #ba8963;
}
.chat-delete-option.danger span {
  color: #b4a18a;
}
.chat-people-list {
  display: flex;
  flex-direction: column;
}
.chat-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3ea;
  min-height: 66px;
}
.chat-person-row:last-child {
  border: 0;
}
.chat-person-row
  > span:nth-last-child(n + 1):not(.chat-avatar):not(.chat-role-badge):not(.chat-read-color):not(
    .chat-muted
  ):not(.chat-pending-avatar) {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.chat-person-row strong {
  font-size: 13px;
  font-weight: 500;
  color: #6b8059;
}
.chat-person-row small {
  font-size: 10px;
  color: #a0ae90;
}
.chat-person-row strong small {
  font-size: 9px;
  margin-right: 6px;
}
.chat-person-row .chat-avatar {
  background: var(--avatar-bg);
  color: #6d825d;
}
.chat-read-color {
  color: #7fa265;
}
.chat-muted {
  color: #c5ceb9;
}
.chat-person-row.inactive {
  opacity: 0.55;
}
.chat-role-badge {
  white-space: nowrap;
  font-size: 9px;
  background: #f0f5e8;
  padding: 3px 7px;
  color: #93a67e;
  border-radius: 5px;
}
.chat-segmented {
  display: flex;
  padding: 4px;
  background: #f4f7ee;
  border: 1px solid #e8edde;
  border-radius: 11px;
  margin-bottom: 23px;
  gap: 3px;
}
.chat-segmented label {
  flex: 1;
  cursor: pointer;
}
.chat-segmented input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chat-segmented label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  border-radius: 8px;
  font-size: 12px;
  color: #9faf90;
}
.chat-segmented input:checked + span {
  background: white;
  color: #6c8856;
  box-shadow: 0 1px 5px #536a3512;
}
.chat-segmented input:focus-visible + span {
  outline: 2px solid #9ab282;
}
.chat-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 17px;
  cursor: pointer;
}
.chat-check-row > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-check-row strong {
  font-size: 12px;
  font-weight: 500;
  color: #758b64;
}
.chat-check-row small {
  color: #a3b092;
  font-size: 10px;
  line-height: 1.7;
}
.chat-member-picker {
  max-height: 230px;
  overflow: auto;
  border: 1px solid #e7edde;
  border-radius: 10px;
  padding: 0 12px;
  scrollbar-width: thin;
  margin-bottom: 17px;
}
.chat-member-picker .chat-person-row {
  cursor: pointer;
}
.chat-member-picker .chat-avatar {
  height: 33px;
  width: 33px;
  min-width: 33px;
  font-size: 12px;
  border-radius: 10px;
}
.chat-detail-intro {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.chat-detail-intro p {
  font-size: 12px;
  color: #9cab8a;
  line-height: 1.7;
}
.chat-detail-symbol {
  background: #f0f5e7;
  color: #8ca873;
  height: 52px;
  width: 52px;
  min-width: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
}
.chat-detail-tabs {
  display: flex;
  border-bottom: 1px solid #e9efde;
  margin-bottom: 13px;
  gap: 17px;
}
.chat-detail-tabs > button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 1px;
  font-size: 12px;
  color: #a7b596;
  display: flex;
  gap: 7px;
  align-items: center;
}
.chat-detail-tabs > button.active {
  border-bottom-color: #7f9d62;
  color: #718c58;
}
.chat-detail-tabs > button span {
  font-size: 9px;
  color: #b3c09f;
}
.chat-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce7cf;
  border-radius: 11px;
  padding: 10px 13px;
  color: #a1b28d;
}
.chat-search-input input {
  border: 0;
  outline: 0;
  width: 100%;
  background: none;
  min-height: 25px;
  font-size: 14px;
  color: #728b5b;
}
.chat-search-filters {
  display: flex;
  gap: 9px;
  margin: 14px 0 20px;
}
.chat-search-filters select {
  font-size: 11px;
  color: #96a87f;
  background: #fafcf6;
  min-width: 0;
}
.chat-search-results {
  max-height: 420px;
  overflow: auto;
  scrollbar-width: thin;
}
.chat-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 45px 15px;
  color: #c0cdb1;
  gap: 10px;
}
.chat-search-empty p {
  font-size: 16px;
  color: #95aa7e;
}
.chat-search-empty small {
  font-size: 11px;
  color: #b0bea0;
  line-height: 1.7;
}
.chat-search-result {
  display: block;
  text-align: right;
  background: #fafcf7;
  border: 1px solid #e7edde;
  border-radius: 10px;
  padding: 13px 15px;
  margin: 0 0 9px;
  width: 100%;
  cursor: pointer;
}
.chat-search-result:hover {
  background: #f0f6e7;
}
.chat-search-result > span {
  display: block;
  font-size: 10px;
  color: #a3b38e;
}
.chat-search-result p {
  font-size: 13px;
  color: #7c9268;
  margin: 6px 0 !important;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.chat-search-result small {
  font-size: 9px;
  color: #b1bfa0;
}
.chat-result-count {
  font-size: 10px;
  color: #a5b591;
  margin: 8px 0 12px !important;
}
.chat-invite-illustration {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #95ad79;
  background: #f7faef;
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 25px;
}
.chat-invite-illustration span {
  font-size: 14px;
}
.chat-success-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 10px 10px 25px;
}
.chat-success-inline > span {
  width: 60px;
  height: 60px;
  background: #edf5e1;
  color: #9ab77c;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.chat-success-inline h3 {
  font-size: 22px;
  color: #7e9866;
}
.chat-success-inline p {
  font-size: 14px;
  color: #a2b68a;
  direction: ltr;
}
.chat-success-inline small {
  font-size: 12px;
  color: #b0bf9d;
  line-height: 1.7;
}
.chat-copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.chat-copy-field input {
  min-width: 0;
  font-size: 11px !important;
  background: #f9fcf3 !important;
}
.chat-people-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.chat-people-toolbar > span {
  font-size: 11px;
  color: #abbb95;
}
.chat-subtitle {
  margin: 22px 0 13px !important;
  font-size: 14px;
  font-weight: 600;
  color: #839e69;
}
.chat-subtitle > span {
  font-size: 11px;
  font-weight: 400;
  color: #b3c39f;
  margin-right: 7px;
}
.chat-pending-avatar {
  height: 38px;
  width: 38px;
  border-radius: 12px;
  background: #f7f7eb;
  color: #c1bc90;
  display: grid;
  place-items: center;
}
.chat-text-button {
  border: 0;
  background: none;
  color: #9cad84 !important;
  font-size: 11px !important;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chat-person-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.chat-person-card strong {
  font-size: 18px;
  color: #8ba56d;
}
.chat-person-card > span:last-child {
  font-size: 12px;
  color: #bbc7a7;
}
.chat-workspace-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 11px;
  padding: 12px 10px 23px;
}
.chat-workspace-card > span {
  height: 65px;
  width: 65px;
  border-radius: 21px;
  background: #f1ebd5;
  color: #baad7f;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 600;
}
.chat-workspace-card h3 {
  font-size: 22px;
  color: #839f66;
}
.chat-workspace-card p {
  font-size: 12px;
  color: #b1c097;
}
.chat-profile-settings {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.chat-profile-settings > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chat-profile-settings strong {
  font-size: 18px;
  color: #8ba470;
}
.chat-profile-settings small {
  font-size: 11px;
  color: #b5c49f;
}
.chat-storage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f9fbf3;
  border: 1px solid #ecf0e2;
  border-radius: 10px;
  padding: 13px 14px;
}
.chat-storage-row > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b2c199;
}
.chat-storage-row strong {
  font-size: 11px;
  font-weight: 400;
  color: #a6b98a;
}
.chat-logout-button {
  margin: 23px auto 0;
  border: 0;
  background: none;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #b5bf9f !important;
  font-size: 11px !important;
}
.chat-media-preview img {
  max-width: 100%;
  max-height: 60dvh;
  display: block;
  border-radius: 10px;
  margin: auto auto 18px;
}
.chat-audio-player {
  display: block;
  width: 100%;
  margin: 15px 0 25px;
}
@keyframes chat-breathe {
  to {
    opacity: 0.65;
    transform: scale(0.97);
  }
}
@keyframes chat-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  .chat-app {
    grid-template-columns: 82px min(var(--sidebar-width, 320px), 45vw) minmax(0, 1fr);
  }
  .chat-conversation-header {
    padding-right: 46px;
    padding-left: 46px;
  }
  .chat-messages-inner {
    padding-right: 46px;
    padding-left: 46px;
  }
  .chat-compose-area {
    padding-right: 46px;
    padding-left: 46px;
  }
  .chat-message-text {
    font-size: 15px;
  }
  .chat-message-author > strong {
    font-size: 14px;
  }
  .chat-conversation-title {
    font-size: 14px;
  }
  .chat-conversation-preview {
    font-size: 12px;
  }
  .chat-sidebar {
    padding: 0 18px;
  }
  .chat-conversation-item {
    min-height: 74px;
  }
}
@media (max-width: 1100px) {
  .chat-app {
    grid-template-columns: 66px min(var(--sidebar-width, 265px), 45vw) minmax(0, 1fr);
  }
  .chat-rail {
    padding-left: 5px;
    padding-right: 5px;
  }
  .chat-header-name > span {
    max-width: 290px;
  }
  .chat-members-stack {
    display: none;
  }
  .chat-header-divider {
    display: none;
  }
  .chat-conversation-header {
    padding: 0 23px;
    gap: 10px;
  }
  .chat-messages-inner {
    padding-left: 23px;
    padding-right: 23px;
  }
  .chat-compose-area {
    padding-left: 23px;
    padding-right: 23px;
  }
  .chat-sidebar {
    padding: 0 12px;
  }
  .chat-workspace-name strong {
    max-width: 128px;
  }
  .chat-attachment {
    min-width: 230px;
  }
  .chat-attachment strong {
    max-width: 190px;
  }
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .chat-app {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    height: calc(100dvh - var(--notice-height, 0px));
  }
  .chat-rail {
    display: none;
  }
  .chat-sidebar {
    display: none;
    border: 0;
    padding: 0 20px;
  }
  .chat-main {
    display: flex;
  }
  .chat-app.show-mobile-list .chat-sidebar {
    display: flex;
  }
  .chat-app.show-mobile-list .chat-main {
    display: none;
  }
  .chat-header-main > [data-action='back-list'] {
    display: inline-flex;
    margin-right: -7px;
    width: 30px;
    min-width: 30px;
  }
  .chat-conversation-header {
    padding: 0 16px;
    min-height: 74px;
    gap: 7px;
  }
  .chat-header-main {
    gap: 8px;
  }
  .chat-header-symbol > svg {
    width: 22px;
    height: 22px;
  }
  .chat-header-symbol > .chat-avatar {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 12px;
    font-size: 13px;
  }
  .chat-header-name h1 {
    font-size: 17px;
  }
  .chat-header-name > span {
    font-size: 10px;
    max-width: 190px;
  }
  .chat-header-actions {
    gap: 0;
  }
  .chat-header-actions .chat-icon-button {
    width: 31px;
    min-width: 31px;
  }
  .chat-header-actions svg {
    width: 18px;
    height: 18px;
  }
  .chat-messages-inner {
    padding: 8px 17px 20px;
  }
  .chat-message {
    column-gap: 10px;
    grid-template-columns: 33px minmax(0, 1fr);
    margin-bottom: 24px;
  }
  .chat-message-avatar .chat-avatar {
    height: 33px;
    width: 33px;
    min-width: 33px;
    border-radius: 10px;
    font-size: 12px;
  }
  .chat-message-text {
    font-size: 14px;
    line-height: 1.8;
  }
  .chat-message-author > strong {
    font-size: 12px;
  }
  .chat-message-actions {
    left: -3px;
    top: -8px;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border-color: transparent;
    background: transparent;
    transform: none;
  }
  .chat-message-actions .chat-icon-button {
    display: none;
  }
  .chat-message-actions .chat-icon-button[data-action='message-menu'] {
    display: flex;
    color: #bac5ae;
    width: 26px;
    min-width: 26px;
    height: 24px;
  }
  .chat-message-author {
    padding-left: 27px;
  }
  .chat-message.own .chat-message-inner {
    padding: 10px 12px 5px;
    min-width: 150px;
  }
  .chat-reply-preview {
    min-width: 130px;
    padding: 7px 10px;
  }
  .chat-reply-preview > span {
    max-width: 230px;
    font-size: 10px;
  }
  .chat-attachment {
    min-width: 190px;
    padding: 10px;
    gap: 8px;
  }
  .chat-attachment > span:first-child {
    width: 31px;
    min-width: 31px;
    height: 36px;
  }
  .chat-attachment strong {
    font-size: 11px;
    max-width: 155px;
  }
  .chat-attachment small {
    font-size: 8px;
  }
  .chat-compose-area {
    padding: 0 12px max(10px, env(safe-area-inset-bottom));
    flex-shrink: 0;
  }
  .chat-composer {
    border-radius: 12px;
  }
  .chat-composer textarea {
    font-size: 16px;
    padding: 13px 13px 7px;
    min-height: 47px;
  }
  .chat-composer-bottom {
    padding: 2px 9px 8px;
  }
  .chat-composer-tools .chat-icon-button {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
  .chat-composer-tools .chat-icon-button svg {
    width: 19px;
    height: 19px;
  }
  .chat-send {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .chat-compose-hint {
    margin-top: 5px;
    min-height: 10px;
  }
  .chat-compose-hint > span:last-child {
    display: none;
  }
  .chat-typing {
    font-size: 10px;
    min-height: 12px;
  }
  .chat-day-divider {
    margin: 15px 0 21px;
  }
  .chat-connection {
    font-size: 11px;
    padding: 7px 12px;
    text-align: center;
  }
  .chat-recording {
    font-size: 9px;
    max-width: 95px;
    white-space: normal;
  }
  .chat-conversation-item {
    min-height: 77px;
    padding: 13px;
  }
  .chat-conversation-title {
    font-size: 15px;
  }
  .chat-conversation-preview {
    font-size: 12px;
  }
  .chat-conversation-meta time {
    font-size: 10px;
  }
  .chat-list-avatar .chat-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 13px;
    font-size: 14px;
  }
  .chat-list-section-label {
    font-size: 11px;
    padding: 0 12px;
  }
  .chat-workspace-header {
    min-height: 88px;
  }
  .chat-workspace-name strong {
    max-width: none;
    font-size: 19px;
  }
  .chat-workspace-name small {
    font-size: 11px;
  }
  .chat-sidebar-title h2 {
    font-size: 23px;
  }
  .chat-filters button {
    font-size: 12px;
    min-height: 35px;
  }
  .chat-search-trigger {
    height: 43px;
    font-size: 13px !important;
  }
  .chat-search-trigger kbd {
    display: none;
  }
  .chat-sidebar .chat-demo-label {
    font-size: 11px;
  }
  .chat-invite-button {
    min-height: 48px;
    font-size: 13px !important;
    margin-bottom: max(17px, env(safe-area-inset-bottom));
  }
  .chat-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 30px);
  }
  .chat-dialog > header {
    padding: 20px 20px 15px;
  }
  .chat-dialog > header h2 {
    font-size: 21px;
  }
  .chat-dialog-body {
    padding: 18px 20px 22px;
  }
  .chat-dialog .chat-field input,
  .chat-dialog .chat-field select,
  .chat-dialog .chat-field textarea {
    font-size: 16px;
  }
  .chat-dialog .chat-search-input input {
    font-size: 16px;
  }
  .chat-dialog .chat-search-filters select {
    font-size: 12px;
  }
  .chat-dialog .chat-action-list > button {
    min-height: 49px;
    font-size: 14px;
  }
  .chat-emoji-grid {
    gap: 6px;
  }
  .chat-emoji-grid > button {
    height: 45px;
    font-size: 24px;
  }
  .chat-person-row {
    gap: 9px;
  }
  .chat-person-row strong {
    font-size: 12px;
  }
  .chat-person-row small {
    font-size: 9px;
  }
  .chat-role-badge {
    font-size: 8px;
  }
  .chat-copy-field input {
    font-size: 11px !important;
  }
  .chat-collection-heading {
    padding: 30px 20px 15px;
  }
  .chat-messages > .chat-search-result {
    margin-right: 15px;
    margin-left: 15px;
    width: calc(100% - 30px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-app *,
  .chat-dialog * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.chat-load-history {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 5px auto 15px;
  padding: 8px 15px;
  min-height: 35px;
  font-size: 11px !important;
  border: 1px solid #e5ebdc;
  border-radius: 20px;
  background: #fafcf6;
  color: #90a378 !important;
}
/* Reading text remains comfortably legible, while secondary details stay quiet. */
.chat-message-text {
  font-size: 15px;
  color: #53614c;
}
.chat-conversation-preview {
  color: #7f8978;
}
.chat-message-author > time {
  font-size: 10px;
  color: #899580;
}
.chat-header-name > span {
  color: #85927a;
}
.chat-compose-hint {
  color: #8c9a80;
}
.chat-dialog .chat-field small,
.chat-dialog-note {
  color: #7b8e6b;
}
.chat-dialog .chat-field > span {
  color: #4d6241;
}
.chat-dialog .chat-person-row strong {
  color: #4d6241;
}
.chat-dialog .chat-person-row small {
  color: #859575;
}
.chat-dialog .chat-action-list > button {
  color: #526c43;
}
.chat-dialog .chat-check-row strong {
  color: #576f47;
}
.chat-dialog .chat-check-row small {
  color: #849573;
}
.chat-dialog .chat-search-result p {
  color: #5c764c;
}
.chat-dialog .chat-search-result > span {
  color: #899b77;
}
.chat-dialog .chat-copy-field input {
  color: #5d7550;
}
/* Accessibility pass: product controls and supporting text are readable at 100%. */
.chat-app,
.chat-dialog,
.chat-loading {
  font-family: var(--font, Arial, 'Noto Sans Hebrew', sans-serif);
}
.chat-app {
  --chat-muted: #6b766c;
}
.chat-rail-item {
  font-size: 12px !important;
  color: #707e71 !important;
  height: 70px;
}
.chat-workspace-name small,
.chat-demo-label {
  font-size: 12px;
  color: #6e7b69;
}
.chat-search-trigger {
  font-size: 14px !important;
  color: #6a7965 !important;
  min-height: 44px;
}
.chat-search-trigger kbd {
  font-size: 11px;
  color: #737f6c;
}
.chat-sidebar-title > span {
  font-size: 12px;
  color: #6e7c64;
}
.chat-filters button {
  font-size: 13px;
  min-height: 36px;
  color: #6b7a63;
}
.chat-filters button span {
  font-size: 11px;
  min-width: 18px;
  height: 18px;
}
.chat-list-section-label {
  font-size: 12px;
  color: #6d7a64;
  min-height: 36px;
}
.chat-conversation-title {
  font-size: 14px;
  line-height: 1.5;
  color: #42583a;
}
.chat-conversation-preview {
  font-size: 12px;
  color: #6e7c62;
  line-height: 1.5;
}
.chat-conversation-item.active .chat-conversation-preview {
  color: #667c57;
}
.chat-conversation-meta time {
  font-size: 11px;
  color: #768269;
}
.chat-unread-count {
  font-size: 11px;
  min-width: 20px;
  height: 20px;
}
.chat-list-empty,
.chat-sidebar-empty p {
  font-size: 12px;
  color: #728165;
}
.chat-invite-button {
  font-size: 14px !important;
  min-height: 46px;
  color: #667b55 !important;
}
.chat-header-name > span {
  font-size: 12px;
  color: #6b7961;
  max-width: 530px;
}
.chat-header-actions .chat-icon-button {
  color: #687c5c;
}
.chat-archived-label {
  font-size: 12px;
  color: #786b54;
}
.chat-message-text {
  font-size: 15px;
  line-height: 1.8;
  color: #43523d;
}
.chat-message-author > strong {
  font-size: 14px;
  color: #344c2d;
}
.chat-message-author > time,
.chat-message-avatar > time {
  font-size: 11px;
  color: #77856c;
}
.chat-you-label {
  font-size: 11px;
  color: #74856a;
}
.chat-message-footer {
  font-size: 11px;
  color: #75866b;
  min-height: 17px;
}
.chat-delivery {
  font-size: 11px !important;
  color: #7a8c70 !important;
  min-height: 20px;
}
.chat-day-divider {
  font-size: 12px;
  color: #718264;
}
.chat-reaction {
  font-size: 14px !important;
  min-height: 31px;
  padding: 4px 9px;
}
.chat-reaction > span {
  font-size: 12px;
  color: #657e52;
}
.chat-reply-preview strong {
  font-size: 12px;
  color: #4c6c38;
}
.chat-reply-preview > span {
  font-size: 12px;
  color: #6a8059;
}
.chat-pin-note,
.chat-forward-note {
  font-size: 11px;
  color: #788c68;
}
.chat-unread-divider {
  font-size: 12px;
  color: #98674e;
}
.chat-retry {
  font-size: 12px !important;
  min-height: 36px;
}
.chat-attachment strong {
  font-size: 14px;
  color: #4a6638;
}
.chat-attachment small {
  font-size: 12px;
  color: #6b8259;
  line-height: 1.4;
}
.chat-attachment > span:first-child {
  color: #728f57;
}
.chat-attachment {
  min-width: 285px;
  padding: 13px 15px;
}
.chat-new-messages {
  font-size: 13px !important;
  min-height: 40px;
}
.chat-composer textarea {
  font-size: 15px;
  color: #455e35;
  min-height: 56px;
}
.chat-composer textarea::placeholder {
  color: #7b8d6c;
}
.chat-composer-tools .chat-icon-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  color: #738a61;
}
.chat-send {
  width: 38px;
  height: 38px;
}
.chat-compose-hint,
.chat-compose-hint kbd {
  font-size: 11px;
  color: #778a68;
}
.chat-typing {
  font-size: 12px;
  color: #6d8857;
}
.chat-context-copy strong,
.chat-context-copy > span,
.chat-context-attachment > span,
.chat-upload-progress {
  font-size: 12px;
  color: #66834e;
}
.chat-context-attachment small,
.chat-recording {
  font-size: 11px;
}
.chat-empty-state p,
.chat-channel-welcome p {
  font-size: 15px;
  color: #748969;
}
.chat-welcome-pills > span {
  font-size: 12px;
  color: #738b63;
}
.chat-channel-welcome p.chat-welcome-pending {
  font-size: 13px;
  margin-top: 0;
  color: #65775d;
}
.chat-collection-heading p {
  font-size: 14px;
  color: #788e6b;
}
.chat-dialog > header p {
  font-size: 14px;
  color: #708263;
}
.chat-dialog .chat-field > span,
.chat-dialog .chat-field input,
.chat-dialog .chat-field select,
.chat-dialog .chat-field textarea {
  font-size: 15px;
  color: #3f5e30;
}
.chat-dialog .chat-field small,
.chat-dialog-note,
.chat-dialog .chat-form-error {
  font-size: 13px;
  color: #6b7e5e;
}
.chat-dialog-intro {
  font-size: 15px;
  color: #687c5a;
}
.chat-dialog .chat-button {
  font-size: 14px;
  min-height: 44px;
  color: #496b36;
}
.chat-dialog .chat-button.primary,
.chat-dialog .chat-button.danger {
  color: #fff;
}
.chat-dialog .chat-action-list > button {
  font-size: 15px;
  min-height: 48px;
  color: #4a6738;
}
.chat-dialog .chat-action-list > button svg {
  color: #6e8a58;
}
.chat-delete-option strong {
  font-size: 15px;
  color: #4d6c3a;
}
.chat-delete-option span {
  font-size: 13px;
  color: #6e865c;
}
.chat-delete-option.danger strong {
  color: #975d3b;
}
.chat-delete-option.danger span {
  color: #8c725d;
}
.chat-person-row strong,
.chat-dialog .chat-person-row strong {
  font-size: 14px;
  color: #445f34;
}
.chat-person-row small,
.chat-dialog .chat-person-row small {
  font-size: 12px;
  color: #6d825c;
}
.chat-person-row strong small {
  font-size: 11px;
}
.chat-role-badge {
  font-size: 11px;
  color: #587b3e;
}
.chat-segmented label > span {
  font-size: 14px;
  min-height: 42px;
  color: #70845e;
}
.chat-check-row strong,
.chat-dialog .chat-check-row strong {
  font-size: 14px;
  color: #506c3d;
}
.chat-check-row small,
.chat-dialog .chat-check-row small {
  font-size: 12px;
  color: #6c825a;
}
.chat-detail-intro p {
  font-size: 14px;
  color: #6c825b;
}
.chat-detail-tabs > button {
  font-size: 14px;
  min-height: 44px;
  color: #70875b;
}
.chat-detail-tabs > button.active {
  color: #4c6d35;
}
.chat-detail-tabs > button span {
  font-size: 12px;
  color: #728b5a;
}
.chat-search-input input {
  font-size: 15px;
  color: #496b33;
}
.chat-search-filters select {
  font-size: 13px;
  color: #58793f;
  min-height: 44px;
}
.chat-search-empty p {
  font-size: 16px;
  color: #6b8751;
}
.chat-search-empty small {
  font-size: 13px;
  color: #71895b;
}
.chat-search-result > span,
.chat-dialog .chat-search-result > span {
  font-size: 12px;
  color: #6c8656;
}
.chat-search-result p,
.chat-dialog .chat-search-result p {
  font-size: 15px;
  color: #476c30;
}
.chat-search-result small {
  font-size: 12px;
  color: #6c8557;
}
.chat-result-count {
  font-size: 13px;
  color: #6c8753;
}
.chat-invite-illustration {
  color: #6e8a53;
}
.chat-invite-illustration span {
  font-size: 15px;
}
.chat-success-inline h3 {
  color: #4f7139;
}
.chat-success-inline p {
  font-size: 15px;
  color: #6b8753;
}
.chat-success-inline small {
  font-size: 13px;
  color: #708a5a;
}
.chat-copy-field input,
.chat-dialog .chat-copy-field input {
  font-size: 13px !important;
  color: #577b3c;
}
.chat-people-toolbar > span {
  font-size: 13px;
  color: #6d8955;
}
.chat-subtitle {
  font-size: 15px;
  color: #4e7136;
}
.chat-subtitle > span {
  font-size: 12px;
  color: #6f8958;
}
.chat-text-button {
  font-size: 13px !important;
  min-height: 38px;
  color: #56793a !important;
}
.chat-person-card strong {
  color: #52753a;
}
.chat-person-card > span:last-child {
  font-size: 14px;
  color: #70885c;
}
.chat-workspace-card h3 {
  color: #4f7237;
}
.chat-workspace-card p {
  font-size: 14px;
  color: #6d8757;
}
.chat-profile-settings strong {
  color: #4c6c38;
}
.chat-profile-settings small {
  font-size: 13px;
  color: #6b8357;
}
.chat-storage-row strong {
  font-size: 13px;
  color: #617e49;
}
.chat-logout-button {
  font-size: 14px !important;
  min-height: 44px;
  color: #6b805a !important;
}
.chat-load-history {
  font-size: 12px !important;
  color: #617e49 !important;
  min-height: 40px;
}
@media (max-width: 1100px) {
  .chat-header-name > span {
    max-width: 300px;
  }
  .chat-attachment {
    min-width: 245px;
  }
  .chat-attachment strong {
    font-size: 13px;
  }
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .chat-app .chat-icon-button,
  .chat-dialog .chat-icon-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .chat-header-main > [data-action='back-list'] {
    min-width: 38px;
    width: 38px;
    height: 44px;
    margin-right: -10px;
  }
  .chat-header-actions .chat-icon-button {
    min-width: 38px;
    width: 38px;
    height: 44px;
  }
  .chat-header-actions {
    margin-left: -9px;
  }
  .chat-header-name h1 {
    font-size: 17px;
  }
  .chat-header-name > span {
    font-size: 12px;
    max-width: 170px;
  }
  .chat-header-symbol {
    display: none;
  }
  .chat-message-author > strong {
    font-size: 14px;
  }
  .chat-message-author > time {
    font-size: 11px;
  }
  .chat-message-author {
    padding-left: 33px;
  }
  .chat-message-actions {
    top: -14px;
    left: -12px;
  }
  .chat-message-actions .chat-icon-button[data-action='message-menu'] {
    min-width: 44px;
    width: 44px;
    height: 44px;
    color: #7a8b6a;
  }
  .chat-message-text {
    font-size: 15px;
  }
  .chat-composer textarea {
    font-size: 16px;
    padding-top: 14px;
  }
  .chat-composer-tools .chat-icon-button {
    min-width: 38px;
    width: 38px;
    height: 44px;
  }
  .chat-send {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .chat-reaction {
    min-height: 36px;
  }
  .chat-reply-preview > span {
    font-size: 12px;
    max-width: 210px;
  }
  .chat-attachment {
    min-width: 190px;
    padding: 12px 10px;
  }
  .chat-attachment strong {
    font-size: 13px;
    max-width: 155px;
  }
  .chat-attachment small {
    font-size: 11px;
  }
  .chat-recording {
    font-size: 11px;
    max-width: 100px;
  }
  .chat-conversation-title {
    font-size: 15px;
  }
  .chat-conversation-preview {
    font-size: 13px;
  }
  .chat-conversation-meta time {
    font-size: 12px;
  }
  .chat-dialog .chat-field input,
  .chat-dialog .chat-field select,
  .chat-dialog .chat-field textarea {
    font-size: 16px;
  }
  .chat-dialog .chat-action-list > button {
    font-size: 15px;
    min-height: 48px;
  }
  .chat-dialog .chat-person-row strong {
    font-size: 14px;
  }
  .chat-dialog .chat-person-row small {
    font-size: 12px;
  }
  .chat-role-badge {
    font-size: 11px;
  }
  .chat-dialog .chat-copy-field input {
    font-size: 13px !important;
  }
  .chat-person-row {
    gap: 10px;
  }
  .chat-person-row > span:not(.chat-avatar):not(.chat-role-badge) {
    overflow: hidden;
  }
  .chat-person-row small {
    overflow-wrap: anywhere;
  }
  .chat-people-toolbar {
    align-items: flex-start;
  }
  .chat-dialog .chat-button.compact {
    font-size: 13px;
    min-height: 44px;
  }
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .chat-header-main > [data-action='back-list'],
  .chat-header-actions .chat-icon-button,
  .chat-composer-tools .chat-icon-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .chat-header-name > span {
    max-width: 155px;
  }
  .chat-person-row .chat-role-badge {
    font-size: 11px;
    max-width: 76px;
    white-space: normal;
    text-align: center;
  }
  .chat-dialog .chat-person-row {
    gap: 8px;
  }
  .chat-dialog .chat-person-row > .chat-icon-button {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
}
.app-modal:has(.chat-dialog) {
  padding: 0;
  width: min(560px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  overflow: hidden;
  border-radius: 18px;
}
.app-modal .chat-dialog {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 56px);
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .app-modal:has(.chat-dialog) {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: auto;
    border-radius: 16px;
  }
  .app-modal .chat-dialog {
    max-height: calc(100dvh - 40px);
  }
  .chat-person-row > span {
    min-width: 0;
  }
}

/* Conversation bubbles: your messages on the right, teammates on the left. */
.chat-avatar {
  color: var(--avatar-fg, #4d6055);
}
.chat-messages {
  background: #fafbf8;
}
.chat-messages-inner {
  padding-top: 14px;
  padding-bottom: 28px;
}
.chat-message {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: flex-start;
  direction: ltr;
  gap: 0 11px;
  width: 100%;
  margin-bottom: 20px;
  padding: 2px 0;
  background: transparent;
  border-radius: 0;
}
.chat-message.own {
  flex-direction: row-reverse;
}
.chat-message.grouped {
  margin-top: -13px;
}
.chat-message-avatar {
  flex: 0 0 36px;
  width: 36px;
  min-width: 36px;
  padding-top: 4px;
  order: 1;
}
.chat-message-avatar .chat-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 12px;
}
.chat-message-avatar > time {
  white-space: nowrap;
  font-size: 10px;
  padding-top: 10px;
}
.chat-message-body {
  order: 2;
  flex: 0 1 auto;
  min-width: 0;
  width: fit-content;
  max-width: min(78%, 680px);
  direction: rtl;
  text-align: right;
}
.chat-message-author {
  min-height: 25px;
  margin: 0 3px 5px;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
}
.chat-message-author > strong {
  color: var(--member-accent, #344c2d);
  overflow-wrap: anywhere;
}
.chat-message-author > time {
  margin-inline-start: auto;
  white-space: nowrap;
  color: #78816f;
}
.chat-message-inner,
.chat-message.own .chat-message-inner {
  display: flex;
  max-width: 100%;
  min-width: 90px;
  padding: 10px 14px 7px;
  border: 1px solid #e4e9df;
  border-radius: 3px 15px 15px 15px;
  background: var(--member-bubble, #fff);
  box-shadow: 0 1px 2px #26373005;
}
.chat-message.own .chat-message-inner {
  background: #edf5e8;
  border-color: #dce8d4;
  border-radius: 15px 3px 15px 15px;
}
.chat-message:not(.own) .chat-message-inner {
  border-left: 2px solid var(--member-accent, #aab8a4);
}
.chat-message-text {
  font-size: 15px;
  line-height: 1.75;
  color: #344536;
  text-align: start;
  overflow-wrap: anywhere;
}
.chat-message-text strong {
  font-weight: 700;
  color: inherit;
}
.chat-message-text a {
  color: #315f4a;
  overflow-wrap: anywhere;
}
.chat-message-footer {
  margin-top: 4px;
  gap: 7px;
  min-height: 18px;
  color: #687d5c;
}
.chat-message.deleted .chat-message-inner {
  padding: 10px 14px;
  border: 1px dashed #dce2d4;
  background: #f6f8f2;
}
.chat-message.deleted .chat-message-text {
  color: #77836e;
  font-size: 13px;
}
.chat-message.failed .chat-message-inner {
  background: #fff5f0;
  border-color: #d7a493;
}
.chat-message.highlight {
  background: transparent;
  box-shadow: none;
}
.chat-message.highlight .chat-message-inner {
  box-shadow: 0 0 0 3px #dec77f99;
  background: #fff8de;
}
.chat-message:focus-visible .chat-message-inner {
  outline: 2px solid #78966d;
  outline-offset: 3px;
}
.chat-message.selected-message .chat-message-inner {
  outline: 2px solid #78966d;
  outline-offset: 3px;
}
.chat-message-actions {
  top: -10px;
  left: 44px;
  right: auto;
  direction: rtl;
  border-color: #dce5d6;
  box-shadow: 0 3px 10px #30472912;
  background: #fff;
  max-width: calc(100% - 50px);
}
.chat-message.own .chat-message-actions {
  left: auto;
  right: 44px;
}
.chat-message.selected-message .chat-message-actions {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.chat-message-actions .chat-icon-button {
  width: 32px;
  min-width: 32px;
  height: 30px;
}
.chat-reactions {
  direction: rtl;
  justify-content: flex-end;
  margin-top: 6px;
  max-width: 100%;
}
.chat-message.own .chat-reactions {
  justify-content: flex-start;
}
.chat-reaction {
  background: #fff;
  border-color: #e0e7da;
  border-radius: 11px;
}
.chat-reaction.mine {
  background: #e7f0df;
  border-color: #bacfac;
}
.chat-reply-preview,
.chat-message.own .chat-reply-preview {
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border-right-color: var(--member-accent, #7f9a6d);
  background: #e9eee480;
  border-radius: 7px;
}
.chat-message.own .chat-reply-preview {
  background: #dde9d880;
}
.chat-reply-preview > span {
  max-width: 100%;
  font-size: 12px;
  color: #627154;
}
.chat-reply-preview strong {
  color: var(--member-accent, #4c6c38);
}
.chat-attachment {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 10px;
  gap: 9px;
  background: #ffffffb3;
  border-color: #e1e8d9;
  border-radius: 10px;
}
.chat-attachment > span:first-child {
  flex-shrink: 0;
}
.chat-attachment strong {
  max-width: 100%;
  font-size: 13px;
}
.chat-attachment small {
  font-size: 11px;
  white-space: normal;
}
.chat-attachment > svg {
  flex-shrink: 0;
}
.chat-day-divider {
  direction: rtl;
  margin: 18px 0 24px;
  color: #708264;
}
.chat-day-divider > span {
  background: #f3f6ef;
  border-color: #e7ecdf;
  padding: 3px 13px;
  border-radius: 10px;
}
.chat-unread-divider {
  order: 0;
  flex: 0 0 100%;
  width: 100%;
  direction: rtl;
  margin: 2px 0 16px;
  justify-content: center;
  line-height: 1.5;
  color: #8c5f43;
}
.chat-unread-divider > span {
  background: #fbf1e9;
  padding: 4px 12px;
  border-radius: 9px;
  white-space: nowrap;
}
.chat-compose-area {
  border-top: 1px solid #edf0e8;
  padding-top: 12px;
}
.chat-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 0;
  direction: rtl;
}
.chat-shortcuts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e9eee3;
  color: #455e37;
  font-size: 14px;
}
.chat-shortcuts > div:last-child {
  border-bottom: 0;
}
.chat-shortcuts kbd {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  color: #4e6742;
  background: #f2f6ec;
  border: 1px solid #dce5d4;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
  text-align: center;
}
.chat-shortcut-hint {
  border: 0;
  background: transparent;
  padding: 2px 4px;
  color: #6c815d !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px !important;
  cursor: pointer;
}
.chat-shortcut-hint:hover {
  color: #3f6333 !important;
}

@media (max-width: 1100px) {
  .chat-messages-inner {
    padding-right: 20px;
    padding-left: 20px;
  }
  .chat-message-body {
    max-width: calc(100% - 72px);
  }
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .chat-messages-inner {
    padding: 10px 12px 24px;
  }
  .chat-message {
    gap: 0 8px;
    margin-bottom: 18px;
  }
  .chat-message.grouped {
    margin-top: -11px;
  }
  .chat-message-avatar {
    width: 29px;
    min-width: 29px;
    flex-basis: 29px;
    padding-top: 4px;
  }
  .chat-message-avatar .chat-avatar {
    width: 29px;
    height: 29px;
    min-width: 29px;
    border-radius: 10px;
    font-size: 11px;
  }
  .chat-message-avatar > time {
    font-size: 9px;
    opacity: 0;
  }
  .chat-message-body {
    max-width: calc(100% - 56px);
  }
  .chat-message-author {
    margin: 0 2px 4px;
    padding-left: 38px;
    padding-right: 0;
    gap: 5px;
    min-height: 29px;
  }
  .chat-message.own .chat-message-author {
    padding-right: 38px;
    padding-left: 0;
  }
  .chat-message-author > strong {
    font-size: 13px;
  }
  .chat-message-author > time {
    font-size: 10px;
  }
  .chat-you-label {
    font-size: 10px;
  }
  .chat-message-inner,
  .chat-message.own .chat-message-inner {
    min-width: 72px;
    padding: 9px 11px 6px;
  }
  .chat-message-text {
    font-size: 15px;
    line-height: 1.7;
  }
  .chat-message-actions {
    left: 33px;
    right: auto;
    top: -6px;
    max-width: 44px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .chat-message.own .chat-message-actions {
    left: auto;
    right: 33px;
  }
  .chat-message.grouped .chat-message-actions {
    left: -7px;
    right: auto;
    top: -3px;
  }
  .chat-message.own.grouped .chat-message-actions {
    left: auto;
    right: -7px;
  }
  .chat-message-actions .chat-icon-button {
    display: none;
  }
  .chat-message-actions .chat-icon-button[data-action='message-menu'] {
    display: flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    color: #7b8a70;
  }
  .chat-message-actions .chat-icon-button[data-action='message-menu']:hover {
    background: #e7ede1;
  }
  .chat-reactions {
    gap: 4px;
  }
  .chat-reaction {
    min-height: 34px;
    padding: 4px 7px;
  }
  .chat-attachment {
    min-width: 0;
    padding: 9px;
    gap: 7px;
  }
  .chat-attachment > span:first-child {
    width: 29px;
    min-width: 29px;
    height: 34px;
  }
  .chat-attachment strong {
    font-size: 12px;
    max-width: 100%;
  }
  .chat-attachment small {
    font-size: 11px;
  }
  .chat-reply-preview > span {
    max-width: 100%;
    font-size: 12px;
  }
  .chat-compose-area {
    padding-top: 9px;
  }
  .chat-unread-divider {
    margin-bottom: 14px;
    font-size: 11px;
  }
  .chat-shortcuts > div {
    gap: 10px;
    font-size: 13px;
    padding: 11px 0;
  }
  .chat-shortcuts kbd {
    font-size: 11px;
    padding: 4px 6px;
  }
}
.chat-billing-notice {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  margin-bottom: 12px;
  border: 1px solid #e3d8bc;
  border-radius: 11px;
  background: #faf5e7;
  color: #756442;
  font-size: 13px;
  line-height: 1.6;
}
.chat-billing-notice[hidden] {
  display: none;
}
.chat-billing-notice button {
  flex-shrink: 0;
  color: #416954;
  font-weight: 650;
  text-decoration: underline;
  padding: 4px;
}
.chat-billing-notice button:focus-visible {
  outline: 2px solid #416954;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .chat-billing-notice {
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }
}
.chat-account-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  padding: 15px 16px;
  margin: 0 0 24px;
  border: 1px solid #e0e7d9;
  border-radius: 13px;
  background: #f6f8f2;
  color: #455e37;
  cursor: pointer;
}
.chat-account-link > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chat-account-link strong {
  font-size: 14px;
  font-weight: 650;
}
.chat-account-link small {
  font-size: 12px;
  line-height: 1.7;
  color: #708264;
  overflow-wrap: anywhere;
}
.chat-account-link > svg {
  flex-shrink: 0;
}
.chat-account-link:hover {
  background: #eef3e7;
  border-color: #bdcbb0;
}
.chat-account-link:focus-visible {
  outline: 2px solid #66854f;
  outline-offset: 3px;
}

/* Resizable conversation list (drag the edge, like Slack). */
.chat-sidebar-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -3px;
  width: 8px;
  z-index: 6;
  cursor: col-resize;
  touch-action: none;
}
.chat-sidebar-resizer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 3px;
  width: 2px;
  background: transparent;
  transition: background 0.15s;
}
.chat-sidebar-resizer:hover::after,
.chat-sidebar-resizer:focus-visible::after,
.chat-app.resizing .chat-sidebar-resizer::after {
  background: var(--chat-accent);
}
.chat-app.resizing {
  cursor: col-resize;
  user-select: none;
}
.chat-app.sidebar-collapsed .chat-sidebar {
  visibility: hidden;
  padding: 0;
  border: 0;
}

/* Narrow desktop windows: compact icon rail so the conversation keeps its room. */
@media (max-width: 950px) and (min-width: 801px), (max-width: 800px) and (min-width: 601px) and (pointer: fine) {
  .chat-app {
    grid-template-columns: 58px min(var(--sidebar-width, 240px), 42vw) minmax(0, 1fr);
  }
  .chat-rail {
    padding: 16px 4px;
    gap: 22px;
  }
  .chat-rail-item {
    height: 48px !important;
    width: 46px;
  }
  .chat-rail-item > span:not(.chat-rail-dot) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .chat-conversation-header,
  .chat-messages-inner,
  .chat-compose-area {
    padding-left: 16px;
    padding-right: 16px;
  }
  .chat-attachment {
    min-width: 0;
  }
}
@media (max-width: 600px), (max-width: 800px) and (pointer: coarse) {
  .chat-sidebar-resizer {
    display: none;
  }
  .chat-app.sidebar-collapsed .chat-sidebar {
    visibility: visible;
    padding: 0 20px;
  }
}

/* Compact menus (message actions, status). */
.chat-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  z-index: 1000;
  min-width: 210px;
  max-width: min(280px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
  overflow: auto;
  padding: 5px;
  border: 1px solid #e3e8df;
  border-radius: 10px;
  background: #fff;
  color: #263730;
  box-shadow: 0 10px 30px rgba(38, 55, 48, 0.16);
  font-family: var(--font, Arial, 'Noto Sans Hebrew', sans-serif);
  font-size: 14px;
  text-align: right;
  animation: chat-popover-in 0.09s ease-out;
}
@keyframes chat-popover-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
}
.chat-popover hr {
  border: 0;
  border-top: 1px solid #eef1eb;
  margin: 4px 2px;
}
.chat-popover > button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 5px 9px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
}
.chat-popover > button > span {
  flex: 1;
}
.chat-popover > button svg {
  color: #6b766c;
  flex: none;
}
.chat-popover > button:hover,
.chat-popover > button:focus-visible {
  background: #edf3ec;
  outline: none;
}
.chat-popover > button.danger-text,
.chat-popover > button.danger-text svg {
  color: #b5513a;
}
.chat-popover > button.danger-text:hover {
  background: #fbefeb;
}
.chat-popover-reactions {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  padding: 2px;
}
.chat-popover-reactions button,
.chat-popover-emoji-grid button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #6b766c;
}
.chat-popover-reactions button:hover,
.chat-popover-reactions button:focus-visible,
.chat-popover-emoji-grid button:hover,
.chat-popover-emoji-grid button:focus-visible {
  background: #edf3ec;
  outline: none;
}
.chat-popover-emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 34px);
  gap: 2px;
}
.chat-popover-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 9px 10px;
}
.chat-popover-header > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat-popover-header small {
  color: #6b766c;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Personal status. */
.chat-status-emoji {
  display: inline-block;
  margin-inline-start: 5px;
  font-size: 0.95em;
  line-height: 1;
  vertical-align: baseline;
  font-weight: normal;
}
.chat-profile-emoji {
  position: absolute;
  top: -6px;
  left: -8px;
  font-size: 13px;
  line-height: 1;
  background: #fff;
  border-radius: 50%;
  padding: 1px;
}
.chat-status-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dfe5da;
  border-radius: 10px;
  padding: 4px 6px;
}
.chat-status-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font: inherit;
  padding: 8px 4px;
  background: none;
}
.chat-status-emoji-button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f1f4ef;
  font-size: 20px;
  cursor: pointer;
}
.chat-status-presets {
  display: flex;
  flex-direction: column;
  margin: 12px 0 4px;
}
.chat-status-presets button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  text-align: right;
  cursor: pointer;
  color: inherit;
}
.chat-status-presets button:hover,
.chat-status-presets button:focus-visible {
  background: #edf3ec;
}
.chat-status-presets button span {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

/* Status visible to the team: emoji with its text next to the name. */
.chat-status-emoji {
  display: none;
}
.chat-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 6px;
  padding: 1px 7px 1px 6px;
  border-radius: 999px;
  background: #f1f4ef;
  color: #5d6b5f;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.6;
  vertical-align: middle;
  max-width: 160px;
  white-space: nowrap;
}
.chat-status-badge > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-conversation-title .chat-status-badge {
  max-width: 110px;
  font-size: 11px;
}

/* Presence: nothing for offline (no gray circle), crossed bell for do-not-disturb. */
.chat-status-dot.offline,
.chat-inline-dot.offline {
  display: none;
}
.chat-status-dot.dnd {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  bottom: -3px;
  left: -4px;
  background: #fff;
  color: #b5513a;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px #e6d2cb;
}
.chat-status-dot.dnd svg {
  width: 9px;
  height: 9px;
  stroke-width: 2.4;
}

/* Bubbles hug their text instead of stretching across the conversation. */
.chat-message-body {
  max-width: min(70%, 600px);
}
.chat-message-inner,
.chat-message.own .chat-message-inner {
  min-width: 0;
  width: fit-content;
}

/* Slack-like author line: name, status emoji and time sit together; the
   status text appears on hover (title) and in full in the profile and DM header. */
.chat-message-author {
  justify-content: flex-start;
  gap: 6px;
}
.chat-message-author > time {
  margin-inline-start: 2px;
}
.chat-message-author .chat-status-badge,
.chat-conversation-title .chat-status-badge {
  margin-inline-start: 0;
  padding: 0;
  background: none;
  font-size: 15px;
  line-height: 1;
  cursor: default;
}
.chat-message-author .chat-status-badge > span,
.chat-conversation-title .chat-status-badge > span {
  display: none;
}
.chat-conversation-title .chat-status-badge {
  font-size: 13px;
  margin-inline-start: 4px;
}

/* ===== WhatsApp-style conversation ===== */
.chat-messages {
  background: #f2efe9;
}
.chat-message {
  margin-bottom: 8px;
  gap: 0 8px;
}
.chat-message.grouped {
  margin-top: -5px;
}
.chat-message-avatar {
  flex: 0 0 32px;
  width: 32px;
  min-width: 32px;
  padding-top: 0;
}
.chat-message-avatar .chat-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  font-size: 12px;
}
.chat-message-body {
  max-width: min(75%, 560px);
}
.chat-message-inner,
.chat-message.own .chat-message-inner {
  position: relative;
  padding: 6px 10px 4px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.chat-message:not(.own) .chat-message-inner {
  border-left: 0;
}
.chat-message.own .chat-message-inner {
  background: #dcf5d0;
}
/* Tail on the first bubble of a run. */
.chat-message:not(.grouped):not(.own) .chat-message-inner {
  border-top-left-radius: 0;
}
.chat-message.own:not(.grouped) .chat-message-inner {
  border-top-right-radius: 0;
}
.chat-message:not(.grouped):not(.own) .chat-message-inner::before,
.chat-message.own:not(.grouped) .chat-message-inner::before {
  content: '';
  position: absolute;
  top: 0;
  width: 8px;
  height: 11px;
}
.chat-message:not(.grouped):not(.own) .chat-message-inner::before {
  left: -7px;
  background: #fff;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.chat-message.own:not(.grouped) .chat-message-inner::before {
  right: -7px;
  background: #dcf5d0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.chat-message-inner > .chat-message-author {
  min-height: 0;
  margin: 0 0 1px;
  padding: 0;
  gap: 4px;
}
.chat-message-inner > .chat-message-author > strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--member-accent, #344c2d);
}
.chat-message-text {
  font-size: 14.5px;
  line-height: 1.5;
  color: #111b21;
}
.chat-message-footer {
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  min-height: 0;
  font-size: 11px;
  color: #667781;
}
.chat-message-footer > time {
  direction: ltr;
  font-size: 11px;
  color: #667781;
}
.chat-message-footer .chat-delivery.read,
.chat-message-footer .chat-delivery.read svg {
  color: #3b9ad9;
}
.chat-message.deleted .chat-message-inner {
  border: 0;
  background: #fff;
  font-style: italic;
}
.chat-message.highlight .chat-message-inner {
  box-shadow: 0 0 0 3px #dec77f99;
}

/* Status: emoji only next to the name; text in a tooltip on hover/focus. */
.chat-status-badge,
.chat-message-author .chat-status-badge,
.chat-conversation-title .chat-status-badge {
  position: relative;
  display: inline-block;
  margin-inline-start: 4px;
  padding: 0;
  background: none;
  font-size: 14px;
  line-height: 1;
  vertical-align: middle;
  max-width: none;
  cursor: default;
}
.chat-status-badge[data-tip='']::after {
  display: none;
}
.chat-status-badge::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  right: 50%;
  transform: translateX(50%);
  padding: 4px 9px;
  border-radius: 6px;
  background: #263730;
  color: #fff;
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s;
  z-index: 20;
}
.chat-status-badge:hover::after,
.chat-status-badge:focus-visible::after {
  opacity: 1;
}
.chat-conversation-title .chat-status-badge::after {
  bottom: auto;
  top: calc(100% + 4px);
}

/* Unavailable: hollow circle with a gray ring and an X (Teams style). */
.chat-status-dot.away,
.chat-inline-dot.away {
  width: 12px;
  height: 12px;
  border: 1.5px solid #8b928b;
  box-shadow: 0 0 0 1.5px #fff;
  background:
    linear-gradient(45deg, transparent 41%, #8b928b 41%, #8b928b 59%, transparent 59%),
    linear-gradient(-45deg, transparent 41%, #8b928b 41%, #8b928b 59%, transparent 59%), #fff;
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
}
