.airlock-chat-thread {
  max-width: 44rem;
  margin-inline: auto;
  overflow: hidden;
  color: #19282d;
  background: #fff;
  border: 1px solid #ccd7de;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgb(25 40 45 / 6%);
}

.airlock-chat-header {
  padding: 1.1rem 1.5rem;
  background: #f5f8fa;
  border-bottom: 1px solid #dce4e8;
}

.airlock-chat-header .airlock-chat-title {
  margin: 0;
  color: #19282d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.airlock-chat-header .airlock-chat-participants {
  margin: .15rem 0 0;
  color: #526169;
  font-size: .875rem;
  line-height: 1.5;
}

.airlock-chat {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  color: #19282d;
}

.airlock-chat > li {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: .35rem;
  max-width: 88%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.airlock-chat > li > div {
  padding: .85rem 1rem;
  background: #edf2f5;
  border-radius: 16px 16px 16px 4px;
}

.airlock-chat p {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.airlock-chat .airlock-chat-speaker {
  padding-inline: .25rem;
  color: #526169;
  font-size: .875rem;
  font-weight: 650;
}

.airlock-chat > .airlock-chat-outgoing { align-self: flex-end; }
.airlock-chat-outgoing .airlock-chat-speaker { text-align: right; }
.airlock-chat > .airlock-chat-outgoing > div {
  color: #fff;
  background: #176f9b;
  border-radius: 16px 16px 4px 16px;
}

.airlock-chat > .airlock-chat-finance > div {
  color: #244e3b;
  background: #e8f4ed;
}

.airlock-chat .airlock-chat-result {
  margin-top: .75rem;
  padding-top: .75rem;
  color: #654631;
  border-top: 1px solid #cbd6dc;
  font-size: .875rem;
}

.airlock-chat-result code {
  padding: 0;
  color: inherit;
  background: none;
  font-size: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

.airlock-chat > .airlock-chat-record {
  align-self: stretch;
  max-width: none;
  margin-top: .25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dce4e8;
}

.airlock-chat-record .airlock-chat-speaker { color: #285d46; }
.airlock-chat > .airlock-chat-record > div {
  color: #285d46;
  background: #f3f9f5;
  border: 1px solid #c4dece;
  border-radius: 8px;
}

.airlock-chat-note {
  max-width: 48rem;
  margin: 1rem 0;
  color: #526169;
  font-size: .875rem;
  line-height: 1.6;
}

.content-section .airlock-chat-note {
  color: #526169;
  font-size: .875rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .airlock-chat-thread { border-radius: 16px; }
  .airlock-chat-header { padding: 1rem; }
  .airlock-chat { gap: 1.1rem; padding: 1rem; }
  .airlock-chat > li { max-width: 94%; }
  .airlock-chat > li > div { padding: .75rem .85rem; }
}
