.tn2-note-content {
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    overflow-x: auto;
}

.tn2-note-content p {
    margin: 0.25rem 0 0.625rem;
}

.tn2-note-content h1,
.tn2-note-content h2,
.tn2-note-content h3,
.tn2-note-content h4,
.tn2-note-content h5,
.tn2-note-content h6 {
    font-weight: 700;
    line-height: 1.25;
    margin: 0.75rem 0 0.375rem;
}

.tn2-note-content h1 { font-size: 1.5rem; }
.tn2-note-content h2 { font-size: 1.25rem; }
.tn2-note-content h3 { font-size: 1.125rem; }
.tn2-note-content h4 { font-size: 1rem; }
.tn2-note-content h5 { font-size: 0.875rem; }
.tn2-note-content h6 { font-size: 0.75rem; }

.tn2-note-content ul,
.tn2-note-content ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.tn2-note-content ul { list-style: disc; }
.tn2-note-content ol { list-style: decimal; }

.tn2-note-content blockquote {
    border-left: 3px solid #cbd5e1;
    color: #64748b;
    margin: 0.625rem 0;
    padding-left: 0.75rem;
}

.tn2-note-content a {
    color: #0284c7;
    text-decoration: underline;
}

.tn2-note-content img {
    height: auto;
    max-width: 100%;
}

.tn2-note-content table {
    border-collapse: collapse;
    margin: 0.625rem 0;
    min-width: 20rem;
}

.tn2-note-content th,
.tn2-note-content td {
    border: 1px solid #cbd5e1;
    padding: 0.375rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.tn2-note-content pre {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    overflow-x: auto;
    padding: 0.625rem;
}

.tn2-notes-list {
    column-count: 1;
    column-gap: 0.75rem;
}

.tn2-notes-list > article {
    break-inside: avoid;
    display: inline-block;
    margin-bottom: 0.75rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .tn2-notes-list {
        column-count: 2;
    }
}
