.article .term{position:relative}
.article .term.en-mode input[data-answer]{touch-action:none}
.article .term.quiz{z-index:0}
.article .term.quiz:has(.hw-pad){z-index:45}
.hw-pad{position:fixed;z-index:45;transform:none;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:transparent;pointer-events:none;touch-action:none;overscroll-behavior:contain}
.hw-pad:before,.hw-head,.hw-status{display:none!important}
.hw-pad canvas{display:block;width:100%;height:100%;border:0;border-radius:0;background:transparent;touch-action:none;overscroll-behavior:contain;cursor:crosshair;pointer-events:auto}
.hw-ink-preview{position:absolute;z-index:44;max-width:none;object-fit:fill;transform:none;pointer-events:none}
.term .verdict,.term .eye{position:relative;z-index:4}
.article .term.quiz:has(.hw-pad) .eye{z-index:60;pointer-events:auto}
.article .term.quiz .verdict{display:inline-block;flex:0 0 42px;width:42px;min-width:42px;white-space:nowrap;text-align:left}
.article .term.learning-mastered{background:#cfe9d1!important;border-color:#9bcba0!important}
.article .term.learning-unknown{background:#dcc3ae!important;border-color:#bc9675!important}
.compact .controls [data-action="compact-known"].active{background:#cfe9d1;color:#315b36;border-color:#9bcba0}
.compact .controls [data-action="compact-unknown"].active{background:#dcc3ae;color:#69482f;border-color:#bc9675}
@media (orientation:landscape) and (min-width:700px){#notebook #savedList{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;align-items:stretch}#notebook #savedList .word-row{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;padding:15px;border-radius:18px}#notebook #savedList .word-definition{flex:1}#notebook #savedList .row-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-top:auto}}
