.note-editable p { 
    margin-bottom: 6px !important; 
    line-height: 1.4 !important;
}

.post-content {
    line-height: 1.4;
}

/* Hilangkan jarak antar paragraf dan heading */
.post-content p,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

/* Opsional: tambahkan sedikit jarak antar blok biar tidak terlalu nempel */
.post-content p+p,
.post-content p+h3,
.post-content h3+p,
.post-content h5+p {
    margin-top: 4px !important;
}

/* Jika ingin semua heading terlihat lebih kecil dan seragam */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-weight: bold;
    font-size: 1.05rem;
}

.toolbar {
  background: #e2e8f0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
}
button {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
button:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}
#pdfContainer {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}
canvas {
  background: white;
}