/* JPM-LMS Interpolation grid (ltc/grid): the 9-box grid used for interpolating. */
.ltc-grid { box-sizing: border-box; width: 100%; max-width: 30rem; margin: 0 auto; padding: .9rem; background: #fff; border: 1px solid var(--fc-line, #d6dde5); border-radius: 8px; }
/* Centre it even inside Lesson cards, whose figure rule sets margin: 0. */
.ltc-grid.ltc-grid.ltc-grid.ltc-grid.ltc-grid.ltc-grid { margin-left: auto; margin-right: auto; }
.ltc-grid-in { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 1px; background: #1f2328; border: 1px solid #1f2328; }
.ltc-grid-c { position: relative; display: flex; align-items: center; justify-content: center; min-height: 4.75rem; padding: 1.1rem .35rem .5rem; background: #fff; color: #1f2328; font-size: 1rem; line-height: 1.25; text-align: center; font-variant-numeric: tabular-nums; }
.ltc-grid-n { position: absolute; top: .2rem; left: .35rem; font-size: .8rem; font-weight: 600; line-height: 1; }
.ltc-grid-c.is-new { background: #a9c5e4; }
.ltc-grid-c.is-calc .ltc-grid-v { color: #d42020; font-weight: 700; }
.ltc-grid-arrow { position: absolute; top: 56%; width: 17%; height: .8rem; overflow: visible; fill: #4472c4; stroke: #4472c4; stroke-width: 2.5; }
.ltc-grid-arrow path + path { stroke: none; }
.ltc-grid-arrow-right { left: 22%; }
.ltc-grid-arrow-left { right: 22%; transform: scaleX(-1); }
.ltc-grid-arrow-back { left: 22%; transform: scaleX(-1); }
@media (max-width: 480px) {
  .ltc-grid { padding: .6rem; }
  .ltc-grid-c { min-height: 3.9rem; font-size: .92rem; padding: 1rem .25rem .4rem; }
}
