.exam-content { font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; min-width: 0; }
.exam-content p { margin: 0 0 1rem; }
.exam-content h1, .exam-content h2, .exam-content h3, .exam-content h4 { font-weight: 650; line-height: 1.3; margin: 1.5rem 0 .75rem; }
.exam-content h1 { font-size: 1.5rem; }
.exam-content h2 { font-size: 1.25rem; }
.exam-content h3, .exam-content h4 { font-size: 1.1rem; }
.exam-content ul, .exam-content ol { padding-left: 1.6rem; margin: .75rem 0 1rem; }
.exam-content ul { list-style: disc; }
.exam-content ol { list-style: decimal; }
.exam-content li { margin: .4rem 0; }
.exam-content table { display: block; overflow-x: auto; border-collapse: collapse; margin: 1rem 0; max-width: 100%; }
.exam-content th, .exam-content td { border: 1px solid #94a3b8; padding: .55rem .8rem; text-align: left; }
.exam-content th { font-weight: 650; }
.exam-content pre { overflow-x: auto; padding: 1rem; border-radius: .35rem; background: #f1f5f9; color: #0f172a; }
.exam-content blockquote { border-left: 3px solid #94a3b8; padding-left: 1rem; margin: 1rem 0; }
.exam-content img { max-width: 100%; height: auto; margin: 1rem 0; }
.exam-content mjx-container[display="true"], .exam-content .equation { overflow-x: auto; overflow-y: hidden; max-width: 100%; padding: .5rem 0; }
.exam-content a { text-decoration: underline; }
.dark .exam-content pre { background: #1e293b; color: #e2e8f0; }
.exam-content .step-number { display: flex; align-items: center; justify-content: center; flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 650; margin-right: .75rem; }
.exam-content .equation { margin: .75rem 0; padding: 1rem; border-radius: .4rem; background: rgba(59,130,246,.06); }
