/* ── Note Card / Markdown Content ── */
.wb-note-content {
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.wb-note-content p {
  margin: 0 0 8px;
}

.wb-note-content p:last-child {
  margin-bottom: 0;
}

.wb-note-content h1,
.wb-note-content h2,
.wb-note-content h3,
.wb-note-content h4,
.wb-note-content h5,
.wb-note-content h6 {
  margin: 14px 0 8px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.wb-note-content h1 {
  font-size: 22px;
  padding-bottom: 6px;
}
.wb-note-content h2 {
  font-size: 18px;
  padding-bottom: 4px;
}
.wb-note-content h3 { font-size: 15px; }
.wb-note-content h4 { font-size: 13px; }

.wb-note-content ul,
.wb-note-content ol {
  margin: 6px 0 10px;
  padding-left: 24px;
}

.wb-note-content li {
  margin-bottom: 4px;
}

.wb-note-content li > ul,
.wb-note-content li > ol {
  margin: 2px 0 4px;
}

.wb-note-content code {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  background: var(--bg3);
  padding: 2px 6px;
  border-radius: 4px;
  color: #f472b6;
}

.wb-note-content pre {
  background: var(--bg2);
  border-radius: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  margin: 8px 0;
  border: 1px solid var(--border);
}

.wb-note-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--text);
  font-size: 12px;
}

.wb-note-content blockquote {
  margin: 8px 0;
  padding: 6px 14px;
  border-left: 4px solid var(--primary);
  color: var(--text2);
  font-style: italic;
  background: var(--primary-bg);
  border-radius: 0 4px 4px 0;
}

.wb-note-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 14px 0;
}

.wb-note-content a {
  color: var(--primary);
  text-decoration: underline;
}

.wb-note-content a:hover {
  color: var(--primary-hover);
}

.wb-note-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 8px 0;
  display: block;
}

.wb-note-content s {
  text-decoration: line-through;
  opacity: 0.6;
}

.wb-note-content strong {
  font-weight: 700;
}

.wb-note-content em {
  font-style: italic;
}

.wb-note-content table {
  border-collapse: collapse;
  margin: 8px 0;
  width: 100%;
  font-size: 12px;
}

.wb-note-content th,
.wb-note-content td {
  border: 1px solid var(--border);
  padding: 6px 10px;
  text-align: left;
}

.wb-note-content th {
  background: var(--bg3);
  font-weight: 600;
}

.wb-note-content tr:nth-child(even) {
  background: var(--bg2);
}
