:root {
  font-family: system-ui, sans-serif;
  color: #193c32;
  background: #f5f5ee;
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
}
main {
  box-sizing: border-box;
  width: min(100%, 460px);
  padding: 40px 28px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
h1 {
  font-size: 36px;
  line-height: 1.12;
  font-weight: 550;
  margin: 24px 0 16px;
}
p {
  line-height: 1.5;
}
form {
  margin-top: 32px;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
input,
button {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  border-radius: 8px;
  padding: 14px 16px;
}
input {
  border: 1px solid #91a297;
  background: white;
  margin-bottom: 16px;
}
button {
  cursor: pointer;
  background: #234c3e;
  color: white;
  border: 1px solid #234c3e;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: #234c3e;
  margin-top: 14px;
}
.fine,
footer {
  font-size: 12px;
  color: #627267;
}
footer {
  margin-top: 60px;
}
#status {
  min-height: 24px;
  font-size: 14px;
}
input:focus-visible,
button:focus-visible {
  outline: 3px solid #a3bd8c;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.authenticated main {
  width: min(100%, 960px);
  padding-top: 28px;
}
.authenticated #welcome {
  display: none;
}
.team-header,
.conversation-heading,
.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.team-header button,
.compose-footer button {
  width: auto;
  flex-shrink: 0;
  margin: 0;
}
.team-header {
  border-bottom: 1px solid #d4ddd2;
  padding-bottom: 24px;
}
.conversation-heading h2 {
  margin-bottom: 0;
  font-weight: 550;
}
.conversation-heading p {
  color: #627267;
  font-size: 14px;
}
#connection {
  font-size: 12px;
  white-space: nowrap;
  background: #e5eadf;
  padding: 8px 12px;
  border-radius: 30px;
}
#messages {
  list-style: none;
  padding: 0 16px 0 0;
  height: min(48dvh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#messages li {
  border-bottom: 1px solid #e3e7dc;
  padding: 20px 0;
}
#messages li > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
#messages time {
  font-size: 12px;
  color: #627267;
}
#messages p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #2e3e35;
}
#message-form {
  margin-top: 24px;
}
textarea {
  box-sizing: border-box;
  width: 100%;
  resize: vertical;
  border: 1px solid #91a297;
  border-radius: 8px;
  font: inherit;
  padding: 14px 16px;
  background: #fff;
  color: inherit;
}
textarea:focus-visible {
  outline: 3px solid #a3bd8c;
  outline-offset: 3px;
}
.compose-footer {
  margin-top: 12px;
}
#message-notice {
  font-size: 14px;
  min-height: 21px;
}
.authenticated footer {
  margin-top: 24px;
}
@media (max-width: 580px) {
  .authenticated main {
    padding: 20px;
  }
  .conversation-heading {
    align-items: flex-start;
  }
  #connection {
    margin-top: 20px;
  }
  .compose-footer {
    align-items: flex-start;
  }
  .compose-footer button {
    padding: 12px;
  }
}
