[hidden]{display:none!important}.school-media{margin:20px 0;max-width:100%;break-inside:avoid}.school-media img,.school-media video{display:block;max-width:100%;max-height:480px;object-fit:contain;border-radius:12px}.school-media figcaption{font-size:.86rem;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin-top:10px}.choice .school-media{max-width:400px}.content-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.content-card{min-width:0}.content-card details{margin-top:18px}.content-card summary{cursor:pointer}.study-player{width:100%;max-height:520px}.cards-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.form-stack>section{min-width:0}.form-stack input[type=file]{max-width:100%;min-width:0}@media print{.school-media img{max-height:65mm;border-radius:0}.school-media figcaption{color:#222}.school-media video{display:none}}

.content-hash{overflow-wrap:anywhere;font-family:monospace}

.history-result{padding:1rem 0;border-bottom:1px solid var(--border,#ddd)}
.formatted-lesson {line-height:1.65; overflow-wrap:anywhere; white-space:normal}
.formatted-lesson pre {white-space:pre-wrap}
.formatted-lesson table {display:block; overflow:auto; max-width:100%}
.formatted-lesson[contenteditable] {min-height:18rem; padding:1rem; border:1px solid #768398; border-radius:.75rem; background:#fff; white-space:pre-wrap}
.formatted-lesson[contenteditable]:focus {outline:3px solid #3669b5; outline-offset:2px}
.study-thumbnail {width:100%; max-height:12rem; object-fit:contain}
.study-pdf {width:100%; height:36rem; border:1px solid #768398; border-radius:.5rem}
[hidden] {display:none!important}
