.seg-r1617-latex-editor{margin:12px 0;padding:16px;border:1px solid #93c5d4;border-radius:12px;background:#f5fcfe;color:#133c54}.seg-r1617-latex-editor legend{font-weight:750}.seg-r1617-latex-editor label{display:grid;gap:6px;margin:8px 0}.seg-r1617-latex-editor textarea{font:14px/1.65 Consolas,monospace;width:100%;min-height:140px;resize:vertical;direction:ltr}.seg-r1617-latex-templates{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.seg-r1617-latex-templates button{border:1px solid #badde6;border-radius:7px;padding:7px 10px;cursor:pointer;background:white;color:#155e75}.seg-r1617-latex-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.seg-r1617-latex-preview,.seg-r1617-latex-student{border:1px solid #d6e7ec;padding:16px;overflow-x:auto;border-radius:10px;background:white;margin:12px 0;max-width:100%}.seg-r1617-latex-view .katex-display{margin:.4em 0}.seg-r1617-latex-error{color:#a11527;display:block;white-space:normal;overflow-wrap:anywhere}.seg-r1617-latex-student{border:0;background:transparent}