/* VƯỜN NGOẠI NGỮ v6.15.476 — compact Active Recall, ENGLISH COMMUNICATION ONLY.
   Cosmetic CSS. Never changes answer matching, PLUS access, Chinese, SGK or password recovery. */
body.vnn-en-recall-compact #vocabRecallTrainer {
  margin:12px 0 10px!important;
  border:1px solid #d9e7e2!important;
  border-radius:16px!important;
  background:#fbfdfc!important;
  box-shadow:none!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head {
  gap:9px!important;
  padding:12px 14px!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head .eyebrow {
  font-size:10px!important;letter-spacing:.05em!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head h3 {
  font-size:17px!important;margin:3px 0 0!important;line-height:1.3!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head p {
  display:none!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head>button{
  min-height:39px!important;padding:8px 12px!important;font-size:13px!important;
  border-radius:10px!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-access{
  padding:9px 12px!important;font-size:12px!important;line-height:1.4!important;
}
body.vnn-en-recall-compact #vocabRecallBody {
  padding:10px 12px 12px!important;
}
body.vnn-en-recall-compact #vocabRecallBody .vocab-recall-progress-row{
  gap:6px!important;margin:0 0 4px!important;font-size:11px!important;
  flex-wrap:wrap!important;
}
body.vnn-en-recall-compact #vocabRecallLessonSummary{
  font-size:11px!important;margin:0 0 6px!important;line-height:1.35!important;
}
body.vnn-en-recall-compact #vocabRecallBody .vocab-recall-progress{
  height:5px!important;margin-bottom:10px!important;
}
body.vnn-en-recall-compact #vocabRecallMistakeTray{
  margin:0 0 9px!important;padding:8px 10px!important;gap:4px!important;
  border-radius:10px!important;
}
body.vnn-en-recall-compact #vocabRecallMistakeTray>span{
  display:none!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-card{
  max-width:760px;
  padding:14px!important;
  border:1px solid #e0e9e5!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.65fr) minmax(100px,1fr)!important;
  column-gap:8px!important;row-gap:8px!important;
  align-items:start!important;
}
/* Flatten only layout wrappers. Existing input/button IDs and click handlers remain intact. */
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-card > * {
  grid-column:1 / -1;
  min-width:0;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-input-row,
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-actions {
  display:contents!important;
}
body.vnn-en-recall-compact #vocabRecallKindLabel {
  font-size:11px!important;line-height:1.3!important;
  letter-spacing:.04em!important;color:#9a6e19!important;
  margin:0!important;font-weight:850!important;
}
body.vnn-en-recall-compact #vocabRecallPrompt {
  min-height:0!important;
  margin:0 0 4px!important;
  font-size:clamp(20px,4.8vw,26px)!important;
  line-height:1.36!important;font-weight:850!important;
  overflow-wrap:anywhere;
}
body.vnn-en-recall-compact #vocabRecallLinkNote:not(.hidden){
  margin:0!important;padding:7px 10px!important;
  font-size:12px!important;line-height:1.4!important;
  border-left:3px solid #88aa7b!important;border-radius:8px!important;
  background:#f1f8f0!important;
}
body.vnn-en-recall-compact #vocabRecallHint:not(.hidden){
  margin:0!important;padding:8px 10px!important;
  font-size:12px!important;border-radius:9px!important;
}
body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-answer-label{
  margin:2px 0 0!important;
  font-size:13px!important;line-height:1.35!important;
  font-weight:800!important;color:#52625c!important;
}
body.vnn-en-recall-compact #vocabRecallRuleNote{
  display:none!important;
}
body.vnn-en-recall-compact #vocabRecallInput {
  grid-column:1 / -1;
  width:100%!important;min-height:48px!important;
  padding:10px 12px!important;font-size:16px!important;
  border:1px solid #b3d5cc!important;
  border-radius:11px!important;box-sizing:border-box!important;
}
body.vnn-en-recall-compact #vocabRecallCheck {
  grid-column:1;
  width:100%!important;min-width:0!important;
  min-height:44px!important;max-height:48px!important;
  margin:0!important;padding:8px!important;
  border-radius:11px!important;font-size:15px!important;
}
body.vnn-en-recall-compact #vocabRecallHintBtn {
  grid-column:2;
  width:100%!important;min-width:0!important;
  min-height:44px!important;max-height:48px!important;
  margin:0!important;padding:8px!important;
  border-radius:11px!important;font-size:14px!important;
  border:1px solid #d6e1dd!important;
}
body.vnn-en-recall-compact #vocabRecallSpeakAnswer,
body.vnn-en-recall-compact #vocabRecallNext {
  grid-column:1 / -1;
  width:100%!important;min-height:40px!important;
  margin:0!important;padding:7px 10px!important;border-radius:10px!important;
}
body.vnn-en-recall-compact #vocabRecallFeedback:not(.hidden){
  margin-top:2px!important;
  padding:9px 11px!important;
  font-size:13px!important;line-height:1.4!important;
  border-radius:10px!important;
}
body.vnn-en-recall-compact #vocabRecallDone {
  margin-top:10px!important;padding:13px!important;border-radius:12px!important;
}
body.vnn-en-recall-compact #enRecallNotebook475 {
  margin:9px 12px 12px!important;padding:11px 12px!important;
  border-radius:12px!important;
}
body.vnn-en-recall-compact #enRecallNotebook475 .en475-title{font-size:14px!important}
body.vnn-en-recall-compact #enRecallNotebook475 .en475-summary{
  font-size:12px!important;line-height:1.4!important;margin:4px 0 8px!important;
}
body.vnn-en-recall-compact #enRecallNotebook475 ul{
  max-height:136px;overflow:auto;margin:7px 0 0!important;
}
body.vnn-en-recall-compact #enRecallNotebook475 li{
  font-size:12px!important;line-height:1.4!important;
}
/* Only the navigation after the vocabulary / Recall area is condensed. */
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:8px!important;
  margin:9px 0 0!important;padding:10px 12px!important;
  border-radius:13px!important;box-shadow:none!important;
}
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next>div{
  display:flex!important;align-items:center!important;
  flex-wrap:wrap!important;gap:5px 8px!important;
}
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next span {
  font-size:10px!important;letter-spacing:.03em!important;
}
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next strong {
  font-size:14px!important;line-height:1.3!important;
}
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next small {
  display:none!important;
}
body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next button {
  width:auto!important;min-width:110px!important;min-height:40px!important;
  margin:0!important;padding:8px 12px!important;
  border-radius:10px!important;font-size:13px!important;
}
@media(max-width:700px){
  body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head{
    display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;
  }
  body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-head>button{
    width:auto!important;margin-left:auto!important;
  }
  body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-card {
    padding:12px!important;grid-template-columns:minmax(0,1.45fr) minmax(100px,1fr)!important;
  }
}
@media(max-width:360px){
  body.vnn-en-recall-compact #vocabRecallTrainer .vocab-recall-card {
    grid-template-columns:minmax(0,1fr) 100px!important;
  }
  body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next{
    grid-template-columns:1fr!important;
  }
  body.vnn-en-recall-compact #skill-vocabulary .lesson-flow-next button{
    width:100%!important;
  }
}