/* rem track: remainders in real life (class prefix wk-rem-). Builds on working.css. */
.wk-rem-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wk-rem-say { text-align: center; }
.wk-rem-line { font-size: 34px; line-height: 1.25; text-wrap: balance; }
.wk-rem-final { color: var(--orchid-deep); }
.wk-rem-fact { font-size: 40px; }
.wk-rem-chips { max-width: 520px; margin: 0 auto; }

/* quotient and remainder side by side */
.wk-rem-two { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.wk-rem-box {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 130px; padding: 8px 14px;
  border: 3px solid var(--ink); border-radius: var(--radius-s); background: var(--mint);
  font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--ink); text-align: center;
}
.wk-rem-box .wk-big { font-size: 44px; line-height: 1.1; }
.wk-rem-left { background: var(--butter); }

/* "question -> answer" rows */
.wk-rem-table, .wk-rem-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wk-rem-table li, .wk-rem-check li {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--paper);
  border: 3px solid var(--ink); border-radius: var(--radius-s); font-family: var(--font); font-size: 19px; font-weight: 700; color: var(--ink);
}
.wk-rem-q { flex: 1; text-align: left; }
.wk-rem-a { font-family: var(--font-num); font-weight: 800; padding: 2px 12px; border-radius: 999px; border: 3px solid var(--ink); background: var(--lilac); white-space: nowrap; font-size: 22px; }
.wk-rem-arrow { font-size: 24px; color: var(--ink-soft); }
.wk-rem-n { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); border: 3px solid var(--ink); font-family: var(--font-num); font-weight: 800; flex: none; }
.wk-rem-up { background: var(--peach); }
.wk-rem-down { background: var(--mint); }
.wk-rem-left.wk-rem-a, .wk-rem-cut { background: var(--butter); }
.wk-rem-cut { background: var(--blush); }
.wk-rem-check .wk-rem-a { font-size: 18px; }

@media (max-width: 480px) {
  .wk-rem-line { font-size: 28px; }
  .wk-rem-check li { flex-wrap: wrap; }
}
