.clean-copy {
  color-scheme: dark;
  --bg: #17232a;
  --surface: #233640;
  --ink: #ebf5f3;
  --muted: #b8ccd1;
  --accent: #8df0d0;
  --accent-ink: #14372e;
  --line: #69848d;
  --radius: 6px;
}
.clean-copy .top {
  min-height: 64px;
  width: 100%;
  padding-inline: max(16px, calc((100% - 1232px) / 2));
  background: #21313a;
}
.clean-copy .mark {
  border-radius: 4px;
}
.tool-title {
  padding: 22px 0 16px;
}
.tool-title h1 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.045em;
}
.tool-title p {
  margin-top: 6px;
  color: var(--muted);
}
.editor {
  display: grid;
  grid-template-columns: minmax(165px, 0.65fr) minmax(0, 3fr);
  gap: 10px;
}
.editor-rail,
.editor-work {
  min-width: 0;
  padding: 16px;
  background: #233640;
}
.editor-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.editor-rail h2 {
  font-size: 1.2rem;
  letter-spacing: 0;
}
.editor-options {
  display: grid;
  gap: 4px;
}
.editor-options label {
  font-size: 0.93rem;
}
.editor-rail .outline,
.editor-pane .outline {
  background: #344c58;
}
.editor-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.editor-pane label {
  display: grid;
  gap: 8px;
  font-weight: 650;
}
.editor textarea {
  min-height: 250px;
  background: #142129;
}
.editor-pane > span,
.editor-work > p {
  display: block;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}
.editor-pane button {
  margin-top: 8px;
}
.editor-work > p {
  grid-column: 1/-1;
  min-height: 1.6em;
}
.clean-copy #help {
  padding-block: 32px;
}
@media (max-width: 740px) {
  .clean-copy .top {
    min-height: 0;
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .editor-rail {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .editor-rail h2,
  .editor-options {
    width: 100%;
  }
  .editor-options {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  }
}
@media (max-width: 560px) {
  .editor-work {
    grid-template-columns: 1fr;
  }
  .editor textarea {
    min-height: 145px;
  }
}
