body.writing-page,
body.lists-page {
  margin: 0;
  background: #fffdf5;
  color: #584738;
}
.writing-paper,
.lists-paper {
  box-sizing: border-box;
  max-width: 920px;
  margin: 100px auto 60px;
  padding: 24px 40px;
}
.writing-paper fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.writing-mode {
  color: #9b8a78;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
}
.writing-title,
.writing-tags,
.writing-body {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  outline: none;
  border-radius: 0;
}
.writing-title {
  font-size: 34px;
  line-height: 1.4;
  padding: 0 0 14px;
}
.writing-tags {
  font-size: 15px;
  padding: 0 0 14px;
  color: #96826b;
}
.writing-tools {
  min-height: 40px;
  margin-bottom: 8px;
}
.writing-tools button {
  border: 0;
  padding-left: 0;
  font-size: 14px;
}
.writing-tools .diary-status {
  flex: 1;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.writing-body {
  min-height: 64vh;
  resize: none;
  overflow: hidden;
  padding: 16px 0 36px;
  font-size: 19px;
  line-height: 1.95;
  tab-size: 4;
}
.writing-title:focus,
.writing-tags:focus {
  box-shadow: 0 1px #d9cdbb;
}
.writing-body:focus-visible {
  outline: 1px solid transparent;
}
.writing-options {
  font-size: 14px;
  color: #94816c;
  padding: 18px 0;
  border-top: 1px solid #e8e0d5;
}
.writing-options input {
  font: inherit;
  padding: 6px;
  margin: 12px;
  max-width: 80%;
}
.writing-options summary {
  cursor: pointer;
}
.writing-footer {
  padding-top: 16px;
}
#writingError {
  white-space: pre-wrap;
  color: #a2493a;
}
@media (max-width: 600px) {
  .writing-paper,
  .lists-paper {
    margin: 85px auto 24px;
    padding: 20px;
  }
  .writing-title {
    font-size: 28px;
  }
  .writing-body {
    font-size: 18px;
    min-height: 65vh;
  }
}

#recoverWriting {
  background: transparent;
  border: 0;
  color: #857361;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 18px;
  padding: 0;
  text-align: left;
}
