.content-editor {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 90px) clamp(16px, 4vw, 48px);
  color: #172c3b;
  background: #f7fafb;
  min-height: 85vh;
  text-align: left;
}
.content-editor h1 {
  font-size: clamp(27px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  margin: 22px 0;
}
.content-editor a {
  color: #164f68;
  text-decoration: underline;
}
.content-editor button,
.content-editor input,
.content-editor textarea {
  font: inherit;
  letter-spacing: normal;
}
.content-editor button {
  border: 1px solid #718591;
  padding: 8px 15px;
  background: #fff;
  color: #13394b;
  border-radius: 7px;
  cursor: pointer;
}
.content-editor button:hover:not(:disabled),
.content-editor button[aria-pressed="true"] {
  background: #163f50;
  color: #fff;
}
.content-editor button:disabled {
  opacity: 0.48;
  cursor: default;
}
.editor-tabs,
.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.editor-tabs {
  margin: 18px 0;
}
.content-editor details,
.editor-switch {
  background: #fff;
  border: 1px solid #bdcdd4;
  border-radius: 8px;
  margin: 8px 0;
}
.content-editor summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.editor-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  padding: 16px;
}
.editor-fields label {
  display: grid;
  gap: 5px;
  align-content: start;
}
.editor-fields input,
.editor-fields textarea {
  width: 100%;
  padding: 9px;
  border: 1px solid #8ea4af;
  border-radius: 5px;
  background: #fff;
  color: #142b35;
}
.editor-fields textarea {
  min-height: 90px;
}
.editor-actions {
  padding: 14px 0;
}
.content-editor details .editor-actions {
  padding: 0 16px 16px;
}
.content-editor .editor-save {
  background: #114d5f;
  color: #fff;
}
.content-editor [role="status"] {
  min-height: 1.5em;
  margin: 12px 0;
}
.editor-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
.editor-switch input {
  width: 18px;
  height: 18px;
  accent-color: #12607a;
}
