.inbox-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(ellipse at 86% 30%, rgba(119, 96, 249, .15), transparent 39%),
    linear-gradient(180deg, #fbfaff, #fff);
}

.inbox-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 66px);
}

.inbox-hero-copy h1 {
  max-width: 580px;
  font-size: clamp(42px, 4.7vw, 62px);
}

.inbox-hero-copy .lead {
  max-width: 560px;
}

.inbox-hero-copy .hero-actions {
  margin-bottom: 30px;
}

.inbox-channel-note {
  margin-bottom: 11px;
  color: #77798c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.inbox-channel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.inbox-channel {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #e8e7f1;
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
  color: #38394f;
  font-size: 12px;
  font-weight: 700;
}

.inbox-channel img {
  width: 18px;
  height: 18px;
}

.inbox-availability {
  max-width: 500px;
  margin: 12px 0 0;
  color: #85869a;
  font-size: 11px;
  line-height: 1.6;
}

.inbox-preview-wrap {
  min-width: 0;
  padding: 10px 0;
}

.inbox-preview {
  overflow: hidden;
  border: 1px solid #e5e3ef;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 28px 75px rgba(48, 36, 124, .16), 0 3px 12px rgba(31, 31, 62, .05);
}

.inbox-appbar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #eeedf4;
  color: #37374c;
  font-size: 11px;
  font-weight: 800;
}

.inbox-app-brand,
.inbox-team-status {
  display: inline-flex;
  align-items: center;
}

.inbox-app-brand {
  gap: 7px;
}

.inbox-app-brand > img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

.inbox-app-brand span {
  margin-left: 3px;
  color: #85869a;
  font-size: 8px;
  letter-spacing: .1em;
}

.inbox-team-status {
  gap: 6px;
  color: #77798c;
  font-size: 9px;
  font-weight: 600;
}

.inbox-team-status i,
.inbox-preview-caption i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27b681;
}

.inbox-workspace {
  display: grid;
  min-height: 355px;
  grid-template-columns: 39px minmax(140px, .87fr) minmax(185px, 1.35fr) minmax(112px, .72fr);
  color: #36364b;
}

.inbox-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  padding: 13px 5px;
  border-right: 1px solid #efeff5;
  background: #fbfbfd;
}

.inbox-rail-item {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #7164df;
  font-size: 15px;
}

.inbox-rail-active {
  background: #efedff;
}

.inbox-rail-item img {
  width: 15px;
  height: 15px;
}

.inbox-queue {
  min-width: 0;
  border-right: 1px solid #efeff5;
}

.inbox-queue-head {
  display: flex;
  min-height: 53px;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 8px 10px;
}

.inbox-queue-head strong {
  display: block;
  font-size: 11px;
}

.inbox-queue-head small {
  display: block;
  margin-top: 3px;
  color: #9596a8;
  font-size: 8px;
}

.inbox-filter {
  padding: 5px 6px;
  border: 1px solid #edecf3;
  border-radius: 6px;
  color: #74758a;
  font-size: 8px;
}

.inbox-search {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 8px 5px;
  padding: 7px;
  border-radius: 6px;
  background: #f7f7fa;
  color: #9a9bac;
  font-size: 12px;
}

.inbox-search span {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-conversation {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 8px;
  border-bottom: 1px solid #f1f0f5;
}

.inbox-conversation-active {
  background: #f4f2ff;
}

.inbox-person-avatar {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: #5141bd;
  font-size: 9px;
  font-weight: 800;
}

.avatar-lavender {
  background: #e9e4ff;
}

.avatar-peach {
  background: #ffeadf;
  color: #a5532a;
}

.avatar-mint {
  background: #def6eb;
  color: #267c58;
}

.avatar-blue {
  background: #e2efff;
  color: #386897;
}

.inbox-platform-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
}

.inbox-platform-dot img {
  width: 10px;
  height: 10px;
}

.inbox-conversation-copy {
  min-width: 0;
  flex: 1;
}

.inbox-conversation-copy > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.inbox-conversation-copy strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-conversation-copy time {
  flex: 0 0 auto;
  color: #9a9bac;
  font-size: 7px;
}

.inbox-conversation-copy p {
  overflow: hidden;
  margin: 5px 0 0;
  color: #78798d;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inbox-order-tag,
.inbox-assignee {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 5px;
  border-radius: 4px;
  background: #e9e6ff;
  color: #5846ce;
  font-size: 7px;
}

.inbox-assignee {
  background: #eff8f3;
  color: #438269;
}

.inbox-unread {
  display: inline-grid;
  width: 14px;
  height: 14px;
  float: right;
  place-items: center;
  border-radius: 50%;
  background: #6251e8;
  color: white;
  font-size: 7px;
}

.inbox-thread {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.inbox-thread-head {
  display: flex;
  min-height: 53px;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-bottom: 1px solid #efeff5;
}

.inbox-thread-head > div:nth-child(2) {
  min-width: 0;
}

.inbox-thread-head strong {
  display: block;
  font-size: 9px;
}

.inbox-thread-head small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: #85869a;
  font-size: 7px;
}

.inbox-thread-head small img {
  width: 10px;
  height: 10px;
}

.inbox-more {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #85869a;
  letter-spacing: 2px;
  font-size: 12px;
}

.inbox-message-area {
  display: flex;
  min-height: 240px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 10px;
  background: #fdfdff;
}

.inbox-date {
  align-self: center;
  margin-bottom: 3px;
  color: #9a9bac;
  font-size: 7px;
}

.inbox-message {
  max-width: 90%;
  padding: 8px 9px;
  border-radius: 9px;
  font-size: 8px;
  line-height: 1.55;
}

.customer-message {
  border: 1px solid #efedf4;
  border-top-left-radius: 3px;
  background: #fff;
}

.team-message {
  align-self: flex-end;
  border-top-right-radius: 3px;
  background: #efedff;
  color: #4936ba;
}

.inbox-order-card {
  width: 88%;
  margin-top: 1px;
  padding: 8px;
  border: 1px solid #e9e7f3;
  border-radius: 8px;
  background: #fff;
}

.inbox-order-card > span {
  display: block;
  margin-bottom: 6px;
  color: #8b8b9d;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .08em;
}

.inbox-order-card strong {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
}

.inbox-order-card strong b {
  color: #4a3cc3;
}

.inbox-order-card small {
  display: block;
  margin-top: 5px;
  color: #77798c;
  font-size: 7px;
}

.inbox-reply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 9px 9px;
  padding: 7px 8px;
  border: 1px solid #e9e8f0;
  border-radius: 7px;
  color: #a0a0af;
  font-size: 8px;
}

.inbox-reply button {
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 5px;
  background: #5b49e6;
  color: #fff;
  font-weight: 800;
}

.inbox-context {
  padding: 12px 9px;
  border-left: 1px solid #efeff5;
  background: #fdfdff;
}

.inbox-context-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #efeff5;
  font-size: 9px;
  font-weight: 800;
}

.inbox-context-profile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 13px 0;
  text-align: center;
}

.inbox-context-profile .inbox-person-avatar {
  width: 36px;
  height: 36px;
  margin-bottom: 3px;
  font-size: 10px;
}

.inbox-context-profile strong {
  font-size: 8px;
}

.inbox-context-profile small {
  color: #85869a;
  font-size: 7px;
}

.inbox-context-stat {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 7px 0;
  border-top: 1px solid #f1f0f5;
  font-size: 7px;
}

.inbox-context-stat span {
  color: #85869a;
}

.inbox-context-stat strong {
  font-size: 7px;
}

.inbox-context-label {
  margin: 13px 0 7px;
  color: #9898a8;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .08em;
}

.inbox-context-chip {
  margin: 5px 0;
  padding: 5px 6px;
  border-radius: 5px;
  background: #f0eeff;
  color: #594bc0;
  font-size: 7px;
}

.inbox-context-hint {
  margin-top: 12px;
  color: #89899b;
  font-size: 7px;
  line-height: 1.6;
}

.inbox-preview-caption {
  display: flex;
  min-height: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-top: 1px solid #efeff5;
  color: #9293a4;
  font-size: 7px;
}

.inbox-preview-caption > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #686a7c;
}

.inbox-preview-caption i {
  width: 6px;
  height: 6px;
}

.inbox-benefits {
  background: #fff;
}

.inbox-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.inbox-benefit {
  min-height: 230px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.inbox-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(23, 23, 76, .08);
}

.inbox-benefit-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 12px;
  background: #f1efff;
  color: var(--blue);
  font-size: 19px;
  font-weight: 800;
}

.inbox-benefit h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.inbox-benefit p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.inbox-steps .step {
  background: #fff;
}

.inbox-context-section {
  gap: 60px;
}

.inbox-context-callout {
  padding: 34px;
  border: 1px solid #e9e6f5;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(119, 96, 249, .13), transparent 45%),
    #fbfaff;
}

.inbox-callout-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 13px;
  background: #efedff;
  color: var(--blue);
  font-size: 23px;
  font-weight: 700;
}

.inbox-context-callout h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.inbox-context-callout h3 span {
  color: var(--blue);
}

.inbox-context-callout > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.inbox-callout-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid #ebe9f4;
  border-radius: 10px;
  background: #fff;
}

.inbox-callout-flow span {
  color: #54556a;
  font-size: 10px;
  font-weight: 700;
}

.inbox-callout-flow b {
  color: #8376e9;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .inbox-workspace {
    grid-template-columns: 35px minmax(125px, .8fr) minmax(175px, 1.2fr);
  }

  .inbox-context {
    display: none;
  }
}

@media (max-width: 900px) {
  .inbox-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .inbox-hero-copy {
    max-width: 700px;
  }

  .inbox-preview-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .inbox-workspace {
    grid-template-columns: 39px minmax(180px, .8fr) minmax(220px, 1.2fr) minmax(130px, .7fr);
  }

  .inbox-context {
    display: block;
  }
}

@media (max-width: 720px) {
  .inbox-benefit-grid {
    grid-template-columns: 1fr;
  }

  .inbox-benefit {
    min-height: 0;
  }

  .inbox-context-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .inbox-context-callout {
    padding: 26px;
  }
}

@media (max-width: 600px) {
  .inbox-hero {
    padding: 60px 0 52px;
  }

  .inbox-hero-copy h1 {
    font-size: clamp(38px, 10vw, 50px);
  }

  .inbox-channel-list {
    gap: 7px;
  }

  .inbox-channel {
    min-height: 35px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .inbox-workspace {
    min-height: 335px;
    grid-template-columns: 33px minmax(115px, .85fr) minmax(160px, 1.15fr);
  }

  .inbox-context {
    display: none;
  }

  .inbox-queue-head {
    padding: 7px;
  }

  .inbox-conversation {
    gap: 5px;
    padding: 9px 6px;
  }

  .inbox-person-avatar {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .inbox-preview-caption {
    padding: 0 8px;
    font-size: 6px;
  }
}

@media (max-width: 430px) {
  .inbox-workspace {
    grid-template-columns: 1fr;
    min-height: 335px;
  }

  .inbox-rail,
  .inbox-queue {
    display: none;
  }

  .inbox-thread-head {
    min-height: 48px;
  }

  .inbox-message-area {
    min-height: 245px;
  }

  .inbox-callout-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .inbox-callout-flow b {
    transform: rotate(90deg);
  }

  .inbox-callout-flow span {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inbox-benefit {
    transition: none;
  }
}
