::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.lesson-content { line-height: 2; }
.lesson-content h1 { font-size: 1.5rem; font-weight: 800; color: #1f2937; margin: 2.25rem 0 1rem; }
.lesson-content h2 { font-size: 1.25rem; font-weight: 700; color: #1f2937; margin: 2rem 0 1rem; }
.lesson-content h3 { font-size: 1.125rem; font-weight: 700; color: #1f2937; margin: 1.75rem 0 0.75rem; }
.lesson-content h4 { font-size: 1rem; font-weight: 700; color: #1f2937; margin: 1.5rem 0 0.5rem; }
.lesson-content p { margin-bottom: 1rem; }
.lesson-content ul { list-style: disc; padding-right: 1.5rem; margin-bottom: 1rem; }
.lesson-content ol { list-style: decimal; padding-right: 1.5rem; margin-bottom: 1rem; }
.lesson-content li { margin-bottom: 0.5rem; }
.lesson-content li > p:last-child { margin-bottom: 0; }
.lesson-content li > ul, .lesson-content li > ol { margin-top: 0.5rem; margin-bottom: 0; }
.lesson-content strong, .lesson-content b { font-weight: 700; color: #374151; }
.lesson-content blockquote { background: #f0fdfa; border-right: 4px solid #14b8a6; color: #0f766e; border-radius: 0.75rem; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.lesson-content pre { background: #111827; color: #5eead4; direction: ltr; text-align: left; padding: 1.25rem; border-radius: 0.75rem; overflow-x: auto; margin: 1.5rem 0; line-height: 1.7; }
.lesson-content pre > code { background: transparent; color: inherit; font-size: inherit; padding: 0; white-space: pre-wrap; word-break: break-word; }
.lesson-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem; }
.lesson-content img { border-radius: 0.75rem; max-width: 100%; height: auto; margin: 1.5rem auto; display: block; }
.lesson-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.lesson-content th, .lesson-content td { border: 1px solid #e5e7eb; padding: 0.5rem 0.75rem; text-align: right; }
.lesson-content th { background: #f9fafb; font-weight: 700; }
.lesson-content a { color: #0d9488; }
.lesson-content a:hover { color: #0f766e; text-decoration: underline; }

.lesson-content .code-block { margin: 1.5rem 0; border-radius: 0.75rem; overflow: hidden; background: #111827; }
.lesson-content .code-block pre { margin: 0; border-radius: 0; }
.lesson-content .code-block-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; background: #1f2937; padding: 0.6rem 1rem; }
.lesson-content .code-block-header .code-lang { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; color: #9ca3af; }
.lesson-content .code-block-copy { font-size: 0.75rem; font-weight: 700; color: #9ca3af; background: transparent; border: 0; cursor: pointer; }
.lesson-content .code-block-copy:hover { color: #ffffff; }
