.editor-title {
  align-items: start;
  gap: 48px;
}

.editor-heading {
  min-width: 0;
  max-width: 650px;
}

.editor-heading p {
  line-height: 1.7;
}

.editor-actions {
  width: min(470px, 100%);
  display: grid;
  gap: 14px;
}

.editor-quick-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.editor-quick-actions form {
  display: block;
}

.publish-panel {
  border: 1px solid var(--line);
  background: #f4f0e8;
}

.publish-panel summary {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 48px 18px 20px;
  cursor: pointer;
  list-style: none;
}

.publish-panel summary::-webkit-details-marker {
  display: none;
}

.publish-panel summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  font-size: 22px;
  color: var(--rust);
}

.publish-panel[open] summary::after {
  content: "−";
}

.publish-panel summary span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--rust);
}

.publish-panel summary b {
  font: 600 18px "Noto Serif TC";
}

.publish-panel summary small,
.sync-state {
  color: var(--muted);
}

.editor-title .publish-panel form {
  display: block;
  border-top: 1px solid var(--line);
  padding: 20px;
}

.review-action {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.publish-settings {
  display: grid;
  gap: 14px;
}

.publish-settings .check {
  grid-template-columns: auto 1fr;
  align-items: start;
  line-height: 1.5;
}

.publish-settings .check input {
  width: auto;
  margin-top: 3px;
}

.publish-settings .button {
  justify-self: start;
}

.sync-state {
  display: block;
  margin-top: 13px;
  overflow-wrap: anywhere;
}

@media (max-width: 850px) {
  .editor-actions {
    width: 100%;
  }

  .editor-quick-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .editor-quick-actions {
    display: grid;
  }

  .editor-quick-actions .button,
  .editor-quick-actions form,
  .editor-quick-actions form .button {
    width: 100%;
    text-align: center;
  }

  .publish-panel summary {
    padding: 16px 44px 16px 16px;
  }

  .editor-title .publish-panel form {
    padding: 16px;
  }
}

.landing-head {
  padding: 80px max(24px, calc((100vw - 1240px) / 2)) 35px;
}

.landing-head > span {
  color: var(--rust);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
}

.landing-head h1 {
  margin: 14px 0;
  font: 600 clamp(38px, 5vw, 62px) "Noto Serif TC";
}

.landing-head p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.8;
}

.landing-shelf {
  padding-top: 30px;
}

.reader-author {
  color: inherit;
}

.knowledge-choice,
.knowledge-preference {
  margin: 12px 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #f4f0e8;
}

.knowledge-choice legend {
  padding: 0 8px;
  font: 600 18px "Noto Serif TC";
}

.knowledge-choice p,
.knowledge-preference p {
  color: var(--muted);
  line-height: 1.7;
}

.knowledge-choice .check + .check {
  margin-top: 12px;
}
