.nav-count {
  position: absolute;
  color: #ff737d;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.nav-count[hidden] {
  display: none;
}
.rail-button:has(.nav-count) {
  position: relative;
}
.rail-nav-count {
  top: 2px;
  right: 1px;
}
.platform-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}
.platform-icon-whatsapp {
  color: #72e1b5;
}
.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
  vertical-align: middle;
}
.channel-badge .platform-icon {
  width: 13px;
  height: 13px;
  color: inherit;
}
.channel-whatsapp {
  background: #174835;
  color: #8cf0c5;
}
.conversation-account .channel-badge {
  margin-right: 5px;
  font-size: 9px;
  padding: 0 4px;
}
.workspace-mobile-nav {
  display: none;
}
.workspace-more-menu {
  display: grid;
  gap: 10px;
}
.workspace-more-menu button {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}
@media (max-width: 720px) {
  .inbox-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(104px, 1fr);
    column-gap: 8px;
    row-gap: 4px;
    padding: 6px 14px 4px;
  }
  .inbox-top > .inbox-header {
    grid-column: 1 / -1;
  }
  .inbox-top .inbox-header h1 {
    white-space: nowrap;
  }
  .inbox-top > .account-filter {
    min-width: 0;
    gap: 5px;
    align-self: stretch;
  }
  .inbox-top > .account-filter .account-picker {
    min-width: 0;
  }
  .inbox-top > .account-filter #account-filter-button {
    gap: 5px;
    padding: 5px 7px;
    min-height: 44px;
  }
  .inbox-top > .account-filter .account-presence {
    font-size: 10px;
    line-height: 14px;
    gap: 1px;
  }
  .inbox-top > .search {
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 9px;
    gap: 5px;
    align-self: stretch;
  }
  .inbox-top > .search svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .inbox-top > .search input {
    min-width: 0;
    width: 100%;
  }
  .workspace-mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: calc(55px + env(safe-area-inset-bottom));
    padding: 3px 8px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: #1b242b;
    flex: none;
  }
  .workspace-mobile-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 10px;
    color: var(--muted);
    min-height: 44px;
  }
  .workspace-mobile-nav button > span {
    font-size: 19px;
    line-height: 20px;
  }
  .workspace-mobile-nav button.active {
    color: var(--green);
  }
  .workspace-mobile-nav .mobile-nav-count {
    position: absolute;
    top: 1px;
    left: calc(50% + 11px);
    color: #ff737d;
    font-size: 11px;
    font-weight: 600;
    line-height: 14px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .workspace:not(.chat-open) {
    display: flex;
    flex-direction: column;
  }
  .workspace:not(.chat-open) > .inbox {
    height: 0;
    flex: 1;
    min-height: 0;
  }
  .workspace.chat-open > .workspace-mobile-nav {
    display: none;
  }
}

@media(min-width:721px){#workspace .rail{overflow-y:auto;scrollbar-width:thin} #workspace .rail-spacer{min-height:0}}
