.bfs-rich-content{color:inherit;line-height:1.65;overflow-wrap:anywhere;word-break:normal}.bfs-rich-content>:first-child{margin-top:0!important}.bfs-rich-content>:last-child{margin-bottom:0!important}.bfs-rich-content p{margin:.45em 0}.bfs-rich-content h2,.bfs-rich-content h3,.bfs-rich-content h4,.bfs-rich-content h5,.bfs-rich-content h6{margin:.75em 0 .35em;color:inherit;line-height:1.3}.bfs-rich-content h2{font-size:1.35em}.bfs-rich-content h3{font-size:1.22em}.bfs-rich-content h4{font-size:1.12em}.bfs-rich-content ul,.bfs-rich-content ol{margin:.55em 0;padding-left:1.4em}.bfs-rich-content li{margin:.2em 0}.bfs-rich-content blockquote{margin:.7em 0;padding:.5em .8em;border-left:3px solid #e52f3a;background:#fff7f8;border-radius:0 8px 8px 0}.bfs-rich-content a{color:#cc2632;text-decoration:underline;text-underline-offset:2px}.bfs-rich-content code{padding:.12em .35em;border-radius:5px;background:#f1f4f8;font-size:.92em}.bfs-rich-content pre{max-width:100%;overflow:auto;padding:.75em;border-radius:8px;background:#122236;color:#eef4f9;white-space:pre-wrap}.bfs-rich-content hr{border:0;border-top:1px solid #e3e8ee;margin:1em 0}.bfs-rich-content img{display:block;max-width:100%;height:auto;border-radius:10px;margin:.75em auto}html[data-theme="dark"] .bfs-rich-content blockquote{background:#15283c;border-left-color:#ee5962}html[data-theme="dark"] .bfs-rich-content code{background:#20364c} 


/* Compact Student assignment instructions keep rich formatting without making list cards oversized. */
.portal-assignment-description {
    margin-top: 5px;
    color: var(--muted, #71839a);
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.portal-assignment-description > :first-child { margin-top: 0; }
.portal-assignment-description > :last-child { margin-bottom: 0; }
