
/* v3.24.43 — mobile workbook title alignment only.
   Keep content anchored to the RTL/right edge; do not touch BMC. */
@media(max-width:900px){

  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-paper-head,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-head{
    text-align:right!important;
    direction:rtl!important;
  }

  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-paper-head > h1,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-head > h1{
    display:block!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    margin-right:0!important;
    margin-left:0!important;
    padding-right:0!important;
    padding-left:54px!important;
    box-sizing:border-box!important;
    text-align:right!important;
    direction:rtl!important;
    justify-content:flex-start!important;
  }

  /* Keep the optional round icon on the opposite edge while title text starts at right. */
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-paper-head > h1 .sfwb-v3-title-icon,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-head > h1 .sfwb-v3-title-icon{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
  }

  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-title-prefix,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-objective,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-page > h2,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-page > h3{
    text-align:right!important;
    direction:rtl!important;
    margin-right:0!important;
    padding-right:0!important;
  }

  /* Page 1: project type title/options must start from the right edge, not float inward. */
  html body #sfwb-v3-capture.sfwb-v3-page-1 .sfwb-p1-project-text-row{
    width:100%!important;
    margin-right:0!important;
    padding-right:0!important;
    text-align:right!important;
    direction:rtl!important;
  }
  html body #sfwb-v3-capture.sfwb-v3-page-1 .sfwb-p1-project-text-row > b{
    width:100%!important;
    margin-right:0!important;
    padding-right:0!important;
    text-align:right!important;
    justify-self:stretch!important;
  }
  html body #sfwb-v3-capture.sfwb-v3-page-1 .sfwb-p1-project-option{
    width:100%!important;
    margin-right:0!important;
    padding-right:0!important;
    justify-content:flex-start!important;
    text-align:right!important;
    direction:rtl!important;
  }
}


/* v3.24.44 — smaller mobile worksheet titles; icon comes first from the RTL/right edge */
@media(max-width:900px){
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-paper-head > h1,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-head > h1{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding-right:0!important;
    padding-left:0!important;
    font-size:clamp(17px,4.8vw,20px)!important;
    line-height:1.55!important;
    text-align:right!important;
    direction:rtl!important;
  }

  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-paper-head > h1 .sfwb-v3-title-icon,
  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-ref-head > h1 .sfwb-v3-title-icon{
    position:static!important;
    order:-1!important;
    flex:0 0 auto!important;
    transform:none!important;
    margin:0!important;
    font-size:clamp(24px,7vw,30px)!important;
    line-height:1!important;
  }

  html body .sfwb-trainee-coach-clone[data-trainee-tab="workbook"] #sfwb-v3-capture:not(.sfwb-v3-page-14)
  .sfwb-v3-title-prefix{
    font-size:inherit!important;
    line-height:inherit!important;
  }
}
