body,html{margin:0;min-height:100%;height:100%;font-family:Cairo,"Times New Roman",Times,serif}.left-bar{background-color:gray;height:100vh;overflow-y:auto;overflow-x:hidden;padding-right:1px;padding-left:0;margin:0}#root{width:100%;margin:0}button{margin:0;width:100%;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Cairo,"Times New Roman",Times,serif}::-webkit-scrollbar{width:0}*{scrollbar-width:none}*{-ms-overflow-style:none}.katex{direction:ltr;unicode-bidi:isolate}.q-answer,.q-explanation{text-align:center;font-size:1.25em}.q-answer .katex,.q-explanation .katex{font-size:1.3em}button.choice.correct,button.choice.correct:disabled,button.choice.correct:hover{background:#0f0;color:#000;opacity:1}button.choice.wrong,button.choice.wrong:disabled,button.choice.wrong:hover{background:red;color:#000;opacity:1}.result-cell.correct{background:#0f0}.result-cell.wrong{background:red}.result-cell.timeout{background:#8000ff}.result-cell.flagged{background:#ff69b4}.result-cell.answered{background:#0d20cc}.result-cell.current{outline:2px solid}p{font-size:larger}.flag-btn.on{background:#ff69b4}button.solved-btn.on{background:#0d20cc;color:#fff}.run-bar{background:var(--page-color);width:100%}.run-timer{font-family:Consolas,"Courier New",monospace;font-variant-numeric:tabular-nums;text-align:center;font-size:larger;font-weight:700;padding:8px 24px;border:2px dashed #999;background:#f2f2f2;border-radius:6px}.hearts{align-items:center;justify-content:center}.heart{width:58px;height:58px;display:block}.run-timer.warning{color:#f34747}.run-timer.danger{color:red}button.choice,button.mode-btn{height:fit-content;padding:8px 12px;white-space:normal;overflow:visible;text-overflow:clip;justify-content:center}button.history-tab{width:fit-content;padding:8px}button.history-tab.active{background:var(--buttonSelectedColor)}button.discard-btn,button.resume-btn{width:100%;font-size:1.15em;padding:4px}.history-tabs{justify-content:center;background:var(--buttonDisabled)}.history-row{padding:2px;border:1px solid var(--textColor)}.q-answer p,.q-explanation p,.q-header p,.q-hint p,.q-sentence p,button.choice p{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;hyphens:manual}.question.lang-en .choice-text,.question.lang-en .q-answer,.question.lang-en .q-explanation,.question.lang-en .q-header,.question.lang-en .q-hint,.question.lang-en .q-sentence{direction:ltr;text-align:left}.question.lang-en .choice-text{flex:1}a.lesson-pdf-btn{align-self:center;padding:6px 14px;border:1px solid currentColor;color:inherit;text-decoration:none}a.lesson-pdf-btn:hover{background:var(--buttonHoverColor,#ddd)}.match-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.match-col{display:flex;flex-direction:column;gap:6px;min-width:0}.match-title{text-align:center;font-weight:700}button.match-cell{display:flex;align-items:center;gap:8px;width:100%;height:fit-content;min-height:2.6em;margin:0;padding:6px 8px;text-align:start;white-space:normal;overflow:visible}.match-text{flex:1;min-width:0;overflow-wrap:break-word}.match-text p{white-space:pre-wrap;margin:0}button.match-cell.sel{outline:3px solid var(--textColor);outline-offset:-3px}button.match-cell.paired{box-shadow:inset 0 0 0 3px var(--c)}button.match-cell.hit,button.match-cell.hit:disabled,button.match-cell.hit:hover{background:#0f0!important;color:#000;opacity:1}button.match-cell.done:disabled{background:var(--buttonDisabled);opacity:.55}.match-grid.shake{animation:match-shake .5s}@keyframes match-shake{0%,100%{transform:translateX(0)}15%,55%{transform:translateX(-8px)}35%,75%{transform:translateX(8px)}}@media (prefers-reduced-motion:reduce){.match-grid.shake{animation:none;outline:3px solid #ff0000}}button.match-cell.bad{box-shadow:inset 0 0 0 3px red}.match-mark{font-weight:700}.match-nums{display:flex;flex-wrap:wrap;gap:4px}.m-num{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:1.7em;height:1.7em;padding:0 3px;font-weight:700;background:var(--c);color:var(--t)}.m-num.bad{background:0 0;color:var(--textColor);outline:2px solid #ff0000;outline-offset:-2px;text-decoration:line-through}.m-num.missed{background:0 0;color:var(--textColor);outline:2px dashed var(--c);outline-offset:-2px}.match-board{display:flex;flex-direction:column;gap:10px}button.match-end{align-self:center;width:fit-content;height:fit-content;padding:8px 18px}.top-bar .lang-btn{width:auto;flex:0 0 auto}.frac{display:inline-flex;flex-direction:column;vertical-align:middle;position:relative;margin:0 .15em;line-height:1.35;text-align:center;white-space:nowrap;unicode-bidi:isolate}.frac-n{padding:0 .3em .1em;border-bottom:.06em solid currentColor}.frac-d{padding:.1em .3em 0}.frac-s{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.idx{font-size:.7em;vertical-align:-.35em;line-height:0}