/* AI Tutor rendered Markdown, isolated from raw lesson HTML */
.tutor-content.tmd,.tutor-answer.tmd{white-space:normal;overflow-wrap:anywhere;line-height:1.75}
.tmd p{margin:.5em 0 1em}.tmd h3,.tmd h4,.tmd h5,.tmd h6{margin:1.2em 0 .55em;line-height:1.35;letter-spacing:normal}
.tmd ul,.tmd ol{padding-left:1.6em;margin:.6em 0 1em}.tmd li{margin:.3em 0}.tmd blockquote{border-left:3px solid #6b9886;padding:.3em .9em;margin:.8em 0;background:#e5ece6}
.tmd :not(pre)>code{background:#e1e7e0;border-radius:4px;padding:.12em .36em;font: .92em ui-monospace,monospace}
.tmd-code{margin:14px 0;background:#17252a;border:1px solid #3f5555;border-radius:9px;overflow:hidden;max-width:100%}
.tmd-codebar{display:flex;justify-content:space-between;align-items:center;background:#28383d;color:#d0dbd8;padding:7px 12px;font:12px ui-monospace,monospace}
.tmd-copy{background:#435953;border:1px solid #73877f;color:#fff;border-radius:5px;padding:6px 10px;cursor:pointer}
.tmd-copy:focus-visible{outline:3px solid #c2d5ca}.tmd-code pre{color:#d5e2df;white-space:pre;overflow:auto;padding:16px;font:12px/1.65 ui-monospace,monospace;margin:0;tab-size:4}
.tmd-code .tk-keyword{color:#a8c8ef}.tmd-code .tk-string{color:#ddc398}.tmd-streaming:after{content:' ▍';animation:tmdblink .8s steps(2) infinite;color:#427c66}@keyframes tmdblink{50%{opacity:0}}
@media(max-width:480px){.tmd-code pre{font-size:11px;padding:10px}.tmd-codebar{padding:6px 9px}}
