/* Sixty mental-arithmetic exercises: the same groups and row spacing as division. */
.pm-mental-sheet{container-type:inline-size}
.pm-mental-sheet .pm-mental-grid{
  display:grid;
  grid-auto-flow:column;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(4,1.454545em) 2.181818em repeat(4,1.454545em) 2.181818em repeat(4,1.454545em) 2.181818em repeat(5,1.454545em);
  column-gap:3.5%;
  row-gap:0;
  height:auto;
  font-size:clamp(6px,2vw,22px);
  -webkit-text-size-adjust:none;
  text-size-adjust:none;
}
.pm-mental-sheet .pm-mental-grid>.math-exercise{
  display:grid;
  grid-template-columns:var(--pm-operand-width,2.2ch) 1.2ch var(--pm-operand-width,2.2ch) 1.2ch var(--pm-answer-width,2.2em);
  align-items:center;
  justify-content:start;
  column-gap:.28em;
  width:auto;
  min-width:0;
  height:calc(clamp(6px,2vw,22px)*1.454545);
  min-height:0;
  margin:0;
  padding:0;
  border:0;
  color:#1f2f2a;
  font-family:"DM Sans",Arial,sans-serif;
  font-size:calc(clamp(6px,2vw,22px)*var(--pm-font-scale,1));
  font-weight:500;
  font-variant-numeric:tabular-nums;
  line-height:1.25;
  text-align:left;
}
.pm-mental-grid .pm-operand{text-align:right}
.pm-mental-grid .pm-operator,.pm-mental-grid .pm-equals{text-align:center}
.pm-mental-sheet .pm-mental-grid .pm-answer-line{
  display:block;
  width:var(--pm-answer-width,2.2em);
  height:0;
  margin:0;
  border-bottom:1.5px solid #333;
  transform:translateY(-.045455em);
}
.pm-mental-sheet .pm-mental-grid .pm-answer{
  padding:0;
  font-size:inherit;
  font-weight:700;
  text-align:left;
}
@supports(font-size:1cqw){
  .pm-mental-sheet .pm-mental-grid{font-size:min(3.142857cqw,22px)}
  .pm-mental-sheet .pm-mental-grid>.math-exercise{
    font-size:min(var(--pm-fluid-font,3.142857cqw),var(--pm-max-font,22px));
    height:min(4.571428cqw,32px);
  }
}
@supports not (font-size:1cqw){
  @media screen and (max-width:980px){
    .pm-mental-sheet .pm-mental-grid{display:block}
    .pm-mental-sheet .pm-mental-grid>.math-exercise{height:32px;font-size:var(--pm-max-font,22px)}
    .pm-mental-sheet .pm-mental-grid>.math-exercise:nth-child(5n){margin-bottom:16px}
  }
}
@media print{
  .pm-mental-sheet{container-type:normal}
  .pm-mental-sheet .pm-mental-grid{font-size:22px}
  .pm-mental-sheet .pm-mental-grid>.math-exercise{height:32px;font-size:var(--pm-max-font,22px)}
}
