/** Destaque de expressões matemáticas — promptx (tema escuro, acento ciano). */
.math-out {
  position: relative;
  margin: 1.7rem 0;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  background: linear-gradient(135deg, rgb(101 242 255 / 0.07), rgb(255 255 255 / 0.02));
  border: 1px solid rgb(101 242 255 / 0.28);
  border-left: 4px solid var(--color-primary);
  border-radius: 14px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 1rem;
  line-height: 1.7;
  color: #eafeff;
  overflow-x: auto;
}
.math-out::after {
  content: "Σ";
  position: absolute;
  top: .6rem;
  right: .9rem;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: .78;
}
.math-inline {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: .95em;
  padding: .08em .42em;
  border-radius: 7px;
  background: rgb(101 242 255 / 0.10);
  border: 1px solid rgb(101 242 255 / 0.30);
  color: #eafeff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: normal;
}
@media (max-width: 40rem) {
  .math-out { padding: .95rem 2.5rem .95rem 1rem; font-size: .95rem; }
}
