/* DialogLab v1.69.30 — one action language for Vocabulary, Phrasal Verb and Grammar. */
html body .learning-course-actions-v16930 {
  display:flex!important;
  direction:ltr!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  min-width:0!important;
  max-width:min(100%,660px)!important;
  overflow:visible!important;
}
html body .learning-course-actions-v16930 > * {
  box-sizing:border-box!important;
  direction:rtl!important;
  flex:0 1 195px!important;
  width:195px!important;
  min-width:170px!important;
  max-width:195px!important;
  min-height:68px!important;
  height:auto!important;
  margin:0!important;
  padding:9px 13px!important;
  border-radius:14px!important;
  align-self:stretch!important;
  overflow:hidden!important;
}
html body .learning-course-actions-v16930 > .learning-back-v16916 {
  order:1!important;
  flex-basis:118px!important;
  width:118px!important;
  min-width:118px!important;
  max-width:118px!important;
}
html body .learning-course-actions-v16930 > .learning-continue-v16916 {order:2!important;}
html body .learning-course-actions-v16930 > .learning-placement-action-v16930 {order:3!important;}
html body .learning-course-actions-v16930 .learning-continue-v16916 span,
html body .learning-course-actions-v16930 .learning-continue-v16916 b,
html body .learning-course-actions-v16930 .learning-placement-action-v16930 span,
html body .learning-course-actions-v16930 .learning-placement-action-v16930 small {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-align:center!important;
  line-height:1.35!important;
}
html body .learning-course-actions-v16930 .learning-continue-v16916 span,
html body .learning-course-actions-v16930 .learning-placement-action-v16930 span {font-size:.88rem!important;font-weight:950!important;}
html body .learning-course-actions-v16930 .learning-continue-v16916 b,
html body .learning-course-actions-v16930 .learning-placement-action-v16930 small {font-size:.68rem!important;font-weight:800!important;margin-top:3px!important;}

/* Lesson header order: back is always the left-most control on desktop/tablet. */
html body .learning-lesson-head-v16930 {direction:ltr!important;}
html body .learning-lesson-head-v16930 > * {min-width:0;}
html body .learning-lesson-head-v16930 > a.learning-lesson-back-v16916 {
  direction:rtl!important;
  justify-self:start!important;
  align-self:center!important;
  margin:0!important;
}
html body .learning-lesson-head-v16930 .edu-runner-title,
html body .learning-lesson-head-v16930 .phrase-stage2-title,
html body .learning-lesson-head-v16930 .grammar-game-mission-title {direction:rtl!important;}
html body .learning-lesson-head-v16930 .edu-runner-progress,
html body .learning-lesson-head-v16930 .phrase-stage2-progress,
html body .learning-lesson-head-v16930 .grammar-game-runner-score {direction:ltr!important;}

@media (max-width:760px) {
  html body .learning-course-actions-v16930 {
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:none!important;
    gap:8px!important;
  }
  html body .learning-course-actions-v16930 > *,
  html body .learning-course-actions-v16930 > .learning-back-v16916 {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:56px!important;
  }
  html body .learning-course-actions-v16930 > .learning-back-v16916 {min-height:46px!important;}
  html body .learning-lesson-head-v16930 > a.learning-lesson-back-v16916 {justify-self:start!important;}
}

/* DialogLab v1.69.31 — hard ownership for course action order.
   Older :has() rules in learning_polish_v16916.css have higher specificity than
   the generic v1.69.30 selector, so explicitly out-rank them here. */
html body .edu-hero-actions.learning-course-actions-v16930:has(> .learning-back-v16916),
html body .phrase-hero-actions-v16837.learning-course-actions-v16930:has(> .learning-back-v16916) {
  display:flex!important;
  flex-direction:row!important;
  direction:ltr!important;
  justify-content:flex-start!important;
}
html body .edu-hero-actions.learning-course-actions-v16930:has(> .learning-back-v16916) > .learning-back-v16916,
html body .phrase-hero-actions-v16837.learning-course-actions-v16930:has(> .learning-back-v16916) > .learning-back-v16916 {
  order:-100!important;
  margin-left:0!important;
  margin-right:0!important;
}
html body .edu-hero-actions.learning-course-actions-v16930:has(> .learning-back-v16916) > .learning-continue-v16916,
html body .phrase-hero-actions-v16837.learning-course-actions-v16930:has(> .learning-back-v16916) > .learning-continue-v16916 {
  order:0!important;
}
html body .edu-hero-actions.learning-course-actions-v16930:has(> .learning-back-v16916) > .learning-placement-action-v16930 {
  order:10!important;
}

@media (max-width:760px) {
  html body .edu-hero-actions.learning-course-actions-v16930:has(> .learning-back-v16916),
  html body .phrase-hero-actions-v16837.learning-course-actions-v16930:has(> .learning-back-v16916) {
    display:grid!important;
    grid-template-columns:1fr!important;
    direction:ltr!important;
  }
}
