#conversation-composer {
  display: flex;
  max-width: none;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid #2b3c58;
  border-radius: 0;
  background: #121c2d;
}

.chat-sidebar-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.chat-sidebar-heading .new-chat-button {
  margin: 0;
}

.conversation-list {
  display: grid;
  gap: 4px;
}

.conversation-button {
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  overflow: hidden;
  border-color: transparent;
  background: transparent;
  color: #cbd6e8;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-button:hover,
.conversation-button.is-selected {
  border-color: #3a5e9a;
  background: #1a2b47;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 8px 16px;
  border-bottom: 1px solid #2b3c58;
}

.chat-header > div {
  display: grid;
}

.conversation-messages {
  min-height: 0;
  padding: 18px max(18px, calc((100% - 760px) / 2));
  overflow: auto;
}

.message {
  display: grid;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto 18px;
}

.message-user {
  justify-items: end;
}

.message-body {
  max-width: min(100%, 680px);
  padding: 10px 12px;
  border: 1px solid #30415f;
  border-radius: 12px;
  background: #15243a;
  line-height: 1.6;
  white-space: pre-wrap;
}

.message-user .message-body {
  background: #254f96;
}

.message-status {
  color: #91a2bb;
  font-size: 12px;
}

.status-failed {
  color: #ffadad;
}

.project-picker {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.project-picker .project-button {
  min-height: 52px;
  padding: 10px 12px;
  border-color: #30415f;
  background: #111d31;
}

@media (max-width: 980px) {
  .conversation-messages {
    padding: 16px;
  }
}
