/* SEG R1617.3-B9 — Document LaTeX brut, sans iframe ni HTML non fiable */
.seg-rawlatex-editor{margin:14px 0;padding:16px;border:1px solid #9ac8d4;border-radius:12px;background:#f7fcfe}
.seg-rawlatex-editor legend{font-weight:750;color:#0d5f76}
.seg-rawlatex-editor label{display:grid;gap:6px;margin:12px 0}
.seg-rawlatex-editor textarea{display:block;width:100%;max-width:100%;min-height:350px;resize:vertical;direction:ltr;font:14px/1.6 Consolas,'Courier New',monospace;white-space:pre;tab-size:2}
.seg-rawlatex-note,.seg-rawlatex-status{color:#355a6d;display:block;margin:9px 0;line-height:1.6}
.seg-rawlatex-preview{padding:18px;border:1px solid #d5e5ea;border-radius:10px;background:white;margin:10px 0;overflow-x:auto;max-height:660px;overflow-y:auto}
.seg-rawlatex-render{overflow-wrap:break-word;max-width:100%;font-size:inherit}
.seg-rawlatex-render .seg-rawlatex-paragraph{text-align:justify!important;text-justify:inter-word;line-height:1.8;hyphens:auto;margin:.6em 0 1em}
.seg-rawlatex-render .seg-rawlatex-heading{line-height:1.4;margin:16px 0 10px;font-weight:750}
.seg-rawlatex-render .seg-rawlatex-centered{text-align:center!important}
.seg-rawlatex-render .seg-rawlatex-list{padding-left:2em;margin:10px 0 18px}
.seg-rawlatex-render .seg-rawlatex-list .seg-rawlatex-item{text-align:justify;text-justify:inter-word;line-height:1.75;padding-left:.3em;margin:.45em 0;hyphens:auto}
.seg-rawlatex-math-display{overflow-x:auto;max-width:100%;text-align:center;margin:1.1em 0;direction:ltr}
.seg-rawlatex-math-inline{display:inline;white-space:nowrap;direction:ltr}
.seg-rawlatex-error,.seg-rawlatex-warning{display:block;color:#b91c1c;overflow-wrap:anywhere}
.seg-rawlatex-empty{color:#64748b}
.seg-rawlatex-student{max-width:100%;margin:14px 0}
.seg-rawlatex-title{font-weight:750}
@media(max-width:600px){.seg-rawlatex-preview{padding:10px}.seg-rawlatex-render .seg-rawlatex-list{padding-left:1.5em}.seg-rawlatex-editor{padding:9px}}
