:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #26362f;
  background: #f5f4ee;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}
header {
  margin-bottom: 36px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #547061;
}
h1 {
  font-size: clamp(2.3rem, 7vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin: 12px 0 18px;
}
h1 span {
  color: #4b8065;
}
header > p:last-child {
  color: #58645e;
  line-height: 1.6;
}
h2 {
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.composer {
  border: 1px solid #dedfd6;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
textarea {
  width: 100%;
  resize: vertical;
  min-height: 120px;
  padding: 14px;
  border: 1px solid #c9d0c9;
  border-radius: 8px;
  font: inherit;
  line-height: 1.6;
  color: inherit;
}
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid #6ba787;
  outline-offset: 3px;
}
.form-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.form-footer p,
#sync-status,
.conversation-heading p,
footer {
  font-size: 0.8rem;
  color: #647067;
}
button {
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: #2d5942;
  color: white;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  background: #244734;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#post-status {
  font-size: 0.875rem;
  margin: 14px 0 0;
}
#post-status:empty {
  display: none;
}
.conversation {
  margin-top: 36px;
}
.conversation-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.conversation-heading h2,
.conversation-heading p {
  margin: 0;
}
#sync-status {
  margin: 10px 0 24px;
}
#empty-state {
  padding: 32px 0;
  color: #647067;
}
ol {
  padding: 0;
  list-style: none;
}
li {
  padding: 22px 0;
  border-top: 1px solid #dddfd6;
}
.message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.8rem;
  align-items: baseline;
}
.message-meta span {
  font-weight: 650;
}
time {
  color: #69756b;
}
.message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.65;
  margin-bottom: 0;
}
footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #dddfd6;
}
@media (max-width: 480px) {
  main {
    padding: 36px 16px 24px;
  }
  .composer {
    padding: 18px;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .form-footer p {
    margin: 0;
  }
}
