:root {
  font-family: system-ui, sans-serif;
  color: #21473d;
  background: #f7f6f0;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 20px 5%;
  border-bottom: 1px solid #d9dfd8;
  font-size: 24px;
}
header b {
  font-size: 36px;
  color: #28775c;
}
header span {
  float: right;
  font-size: 13px;
  margin-top: 12px;
}
main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5vw;
  max-width: 1300px;
  margin: auto;
  padding: 55px 5%;
}
h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 450;
  letter-spacing: -1px;
}
h2 {
  font-size: 25px;
  font-weight: 500;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
}
.warning,
#caps {
  font-size: 13px;
  color: #64796e;
  line-height: 1.5;
}
aside {
  background: white;
  padding: 28px;
  border: 1px solid #dce1da;
  border-radius: 15px;
  align-self: start;
  min-width: 0;
}
button,
.file {
  background: #245b47;
  color: white;
  border: 0;
  border-radius: 7px;
  padding: 12px 17px;
  cursor: pointer;
  font: inherit;
}
button:disabled {
  opacity: 0.5;
}
button#stop {
  background: #8d4c37;
}
textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 14px;
  border: 1px solid #b9c7bd;
  border-radius: 8px;
  font: inherit;
  margin: 10px 0;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.file input {
  display: block;
  max-width: 200px;
  margin-top: 6px;
}
.message,
article,
#privacy {
  background: white;
  border: 1px solid #dce1da;
  padding: 17px;
  margin: 15px 0;
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
a {
  color: #26745c;
}
#demo {
  margin: 0;
  background: #fff0c8;
  text-align: center;
  padding: 12px;
}
#proposal button {
  margin: 6px;
}
del {
  background: #ffe1dd;
}
ins {
  background: #d7f4dc;
}
#activity {
  min-height: 1.3em;
}
#caps {
  margin-top: 25px;
}
@media (max-width: 750px) {
  main {
    grid-template-columns: 1fr;
    padding-top: 25px;
  }
  header span {
    display: none;
  }
  aside {
    padding: 20px;
  }
  #stop {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 5;
  }
  .actions {
    flex-wrap: wrap;
  }
}

#text-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    14px/1.7 Georgia,
    serif;
  max-height: 350px;
  overflow: auto;
}
#previous,
#next {
  margin: 5px;
}
