/* LV Typing Suite 6.1.4 — narrow typing-engine regression containment only. */

/* Learn Typing: no pre-existing grey bars on spaces. Only the active slot gets
   a subtle blue cue; completed characters are clear saturated green/red text. */
.lv50-target-text .lv573-char-future.lv573-char-space, .lv50-target-text .lv573-char-done.lv573-char-space, .lv50-target-text .lv573-char-wrong.lv573-char-space, .lv50-target-text .lv573-char-wrong-fixed.lv573-char-space{
  background:transparent!important;color:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;
  padding:0!important;margin:0!important;text-decoration:none!important;
}
.lv50-target-text .lv573-char-current.lv573-char-space{
  background:#dbeafe!important;color:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;
  padding:0!important;margin:0!important;text-decoration:none!important;
}
.lv50-target-text .lv573-char-done:not(.lv573-char-space){
  background:transparent!important;color:#008a3b!important;font-weight:800!important;border:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;
}
.lv50-target-text .lv573-char-wrong:not(.lv573-char-space), .lv50-target-text .lv573-char-wrong-fixed:not(.lv573-char-space){
  background:transparent!important;color:#e11d2e!important;font-weight:800!important;border:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;
}
.lv50-target-text .lv573-char-current:not(.lv573-char-space){
  background:#dbeafe!important;color:#1d4ed8!important;font-weight:800!important;border:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;
}

/* Mangal repeated combining-key stress: never create horizontal page/input
   scroll. The physical-step renderer in 6.1.4 keeps target progress moving. */
.lv50-lesson-card[data-lesson-mode="mangal"] .lv50-lesson-input, .lv50-check-card[data-mode="mangal"] .lv50-run-input{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-all!important;
  overflow-x:hidden!important;overflow-y:auto!important;resize:none!important;
}

/* Kruti repeated combining marks remain inside the approved box. Isolated
   marks receive a visual dotted base through CSS only; raw input/scoring stays untouched. */
.lv6140-stable-preview{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-all!important;
  overflow-x:hidden!important;overflow-y:auto!important;
}
.lv6140-isolated-mark{display:inline-block!important;min-width:.95em!important;white-space:nowrap!important;vertical-align:baseline!important}
.lv6140-isolated-mark::before{content:"◌";color:#94a3b8;font-weight:400}


/* UPSSSC: current word stays blue until Space commits it. Completed words are
   plain green/red, with no lingering filled box. */
.lvt-template-upsssc .lvt-exam-source .lv6140-upsssc-current{
  background:#dbeafe!important;color:#1d4ed8!important;font-weight:800!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;padding:0!important;
}
.lvt-template-upsssc .lvt-exam-source .lv6140-upsssc-correct{
  background:transparent!important;color:#008a3b!important;font-weight:800!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;padding:0!important;
}
.lvt-template-upsssc .lvt-exam-source .lv6140-upsssc-wrong{
  background:transparent!important;color:#e11d2e!important;font-weight:800!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;text-decoration:none!important;padding:0!important;
}
