body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: #FBF9F6;
  background-image: repeating-linear-gradient(-45deg, #F5F1EB 0, #F5F1EB 1px, transparent 0, transparent 50%);
  background-size: 10px 10px;
  background-attachment: fixed;
  color: #4A443C;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Gowun Batang", Georgia, serif;
  color: #4A443C;
}

.note-body {
  line-height: 1.65;
  word-wrap: break-word;
}
.note-body > :first-child {
  margin-top: 0;
}
.note-body h1,
.note-body h2,
.note-body h3,
.note-body h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.note-body h1 { font-size: 1.9rem; }
.note-body h2 { font-size: 1.5rem; }
.note-body h3 { font-size: 1.25rem; }
.note-body p,
.note-body ul,
.note-body ol,
.note-body blockquote,
.note-body pre,
.note-body table {
  margin: 0.75em 0;
}
.note-body ul { list-style: disc; padding-left: 1.5rem; }
.note-body ol { list-style: decimal; padding-left: 1.5rem; }
.note-body a { color: #4338ca; text-decoration: underline; }
.note-body a:hover { color: #3730a3; }
.note-body code {
  background: #f4f1ea;
  border: 1px solid #e7e2d7;
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
}
.note-body pre {
  background: #faf8f3;
  border: 1px solid #e7e2d7;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
}
.note-body pre code {
  background: transparent;
  border: none;
  padding: 0;
}
.note-body blockquote {
  border-left: 3px solid #d6cfc2;
  padding-left: 1rem;
  color: #6b635a;
  font-style: italic;
}
.note-body table {
  border-collapse: collapse;
  width: 100%;
}
.note-body th,
.note-body td {
  border: 1px solid #e7e2d7;
  padding: 0.4rem 0.7rem;
  text-align: left;
}
.note-body th { background: #f4f1ea; }
.note-body hr {
  border: none;
  border-top: 1px solid #e7e2d7;
  margin: 1.5rem 0;
}
.note-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.note-body .mermaid {
  margin: 0.75em 0;
  overflow-x: auto;
}
.note-body .mermaid svg {
  max-width: 100%;
  height: auto;
}
.note-body li.task-item {
  list-style: none;
  margin-left: -1.25rem;
}
.note-body li.task-item > input[type="checkbox"] {
  margin-right: 0.5rem;
  vertical-align: baseline;
  transform: translateY(1px);
}
