/* Math Solver family. */
.cas-input{font-size:1.15rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.cas-examples{margin-top:.5rem}.cas-examples .chip{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.cas-answer{margin:.25rem 0 .5rem}.cas-line{margin:.15rem 0;font-size:clamp(1.25rem,5vw,1.75rem);font-weight:700;overflow-wrap:anywhere}
.cas-approx{margin:.15rem 0;color:var(--muted);font-size:1.05rem;font-variant-numeric:tabular-nums}
.cas-steps{margin:0;padding-left:1.4rem;display:grid;gap:.75rem}.cas-steps li strong{display:block;margin-bottom:.15rem}
.cas-step-line{display:block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem;overflow-wrap:anywhere;color:var(--text)}
.cas-steps li::marker{font-weight:700;color:var(--accent-strong)}
.cas-plot,.cas-line-plot{display:block;width:100%;height:auto;margin-top:.75rem;border-radius:var(--radius-sm);background:var(--surface-2)}
.cas-axis{stroke:var(--line-strong);stroke-width:1}
.cas-curve{fill:none;stroke-width:2.2;stroke-linejoin:round}.cas-curve-0{stroke:var(--accent)}.cas-curve-1{stroke:#e2574c;stroke-dasharray:6 4}
.cas-area{fill:var(--accent);opacity:.22}
.cas-legend{display:flex;gap:1rem;margin:.4rem 0 0;font-size:.9rem;color:var(--muted)}.cas-key::before{content:'';display:inline-block;width:18px;height:3px;margin-right:.35rem;vertical-align:middle;background:var(--accent)}.cas-key-1::before{background:#e2574c}
.cas-seg{stroke:var(--accent);stroke-width:5;stroke-linecap:round}.cas-dot{fill:var(--accent);stroke:var(--accent);stroke-width:2}.cas-open{fill:var(--surface)}.cas-tick{fill:var(--text);font-size:11px;font-family:inherit}
