/* Act 10: the tan(x ± y) fractions are wider than the kit's phone term column: on phones each term stacks
   (the equation over its label) so no fraction is ever clipped. The allied proof's three rows sit a size smaller. */
@media (max-width: 899px) {
  #s-tan .xs-term { grid-template-columns: 1fr; gap: 6px; }
  #s-tan .xs-term > .xs-tlab { padding: 0 0 0 14px; }
  #s-tan .xs-term > .xs-tlab::before { top: .6em; }
  .a10-allied .mx-eq { font-size: clamp(1.1rem, 5.2vw, 1.6rem); gap: 2px 10px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .a10-allied .xp-canvas { bottom: 42svh; }
  .a10-allied .mx-eq { bottom: calc(clamp(24px, 6svh, 64px) + 64px); }
}
