/*! Copyright (c) 2026 Mark T. Fulwider. All rights reserved. */
.auto-latex-preview{margin:12px 0 18px;padding:15px 18px;border:1px solid #b0c1c9;border-left:3px solid #b88b56;border-radius:3px;background:linear-gradient(110deg,#edf3f5,#f8faf9);color:#18313f;min-width:0}
.auto-latex-preview[hidden]{display:none}
.auto-latex-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 14px;margin-bottom:9px}
.auto-latex-heading strong{font-size:1rem}
.auto-latex-heading span,.auto-latex-status{font-size:.875rem;color:#475e69}
.auto-latex-status{margin:10px 0 0;line-height:1.5}
.auto-latex-output{overflow-x:auto;max-height:340px}
.auto-latex-equation{padding:8px 0;overflow-x:auto;font-size:1.15rem}
.auto-latex-equation svg{max-width:none}
.auto-latex-badge{display:inline-block;color:#245253;font-size:.875rem;font-weight:650;border:1px solid #a8c1be;border-radius:3px;background:#eaf3f1;padding:5px 9px}
.edit-strip [data-edit="latex"][aria-pressed="true"]{background:#1a3f6e;color:#fff}
.auto-latex-equation mjx-assistive-mml{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip:rect(1px,1px,1px,1px)!important;white-space:nowrap!important}
@media print{.auto-latex-preview{display:none!important}}
/* Under each equation: the picture tools. Blue-gray outlines. */
.auto-latex-tools{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:0 0 8px;font:14px/1.3 Georgia,'Times New Roman',serif}
.auto-latex-tools button{padding:2px 9px;border:1px solid #c5d0d4;border-radius:2px;background:#fff;color:#1a3f6e;font:inherit;cursor:pointer}
.auto-latex-tools button:hover{border-color:#7f97a0}
.auto-latex-said{color:#3d5560}
.auto-latex-said:empty{display:none}
.auto-latex-done{display:inline-block;vertical-align:middle}
.auto-latex-done.is-display{display:block;margin:.4em 0;text-align:center;text-indent:0}
.auto-latex-done svg{max-width:100%;vertical-align:middle}
@media print{.auto-latex-tools{display:none!important}}
