/* LEVELUP V340 — focused fixes; only training area on narrow screens.
   Header stays with its original application shell. Week + exercise list form the viewport. */
@media (max-width: 767px) {
  /* The actual scrolling ancestor in the LEVELUP client is sectionOutlet.
     V338 used sticky inside this scrolling ancestor: week overlapped exercise cards. */
  ._sectionOutlet_10chu_162:has(._page_1edfv_1) {
    display:block !important;
    height:100% !important;
    min-height:0 !important;
    overflow:hidden !important;
    overscroll-behavior:none;
  }
  /* PageTransition adds one div between outlet and the TrainingPage. */
  ._sectionOutlet_10chu_162:has(._page_1edfv_1) > div {
    height:100% !important;
    min-height:0 !important;
    display:flex;
    flex-direction:column;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 {
    box-sizing:border-box !important;
    flex:1 1 auto;
    height:100% !important;
    min-height:0 !important;
    max-height:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    gap:5px !important;
    padding:5px 0 max(5px,env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 > ._weekCard_1edfv_29 {
    position:relative !important;
    top:auto !important;
    z-index:2;
    flex:0 0 auto;
    margin:0 !important;
    padding:.66rem .72rem !important;
    border-radius:1rem;
    box-shadow:0 4px 17px #0005;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._weekDays_1edfv_71 {margin-top:.45rem !important;}
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._scheduleLegend_1edfv_98 {margin-top:.35rem !important;}
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._exerciseSection_1edfv_30 {
    flex:1 1 auto !important;
    height:0 !important;
    min-height:0 !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    position:relative !important;
    contain:none !important;
    content-visibility:visible !important;
    padding:0 !important;
    margin:0 !important;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._exerciseList_1edfv_196 {
    flex:1 1 auto !important;
    min-height:0 !important;
    height:100% !important;
    width:100%;
    display:flex !important;
    flex-direction:column !important;
    gap:.6rem !important;
    margin:0 !important;
    padding:4px 1px max(1.1rem,env(safe-area-inset-bottom)) !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._exerciseList_1edfv_196 > * {
    flex:0 0 auto;
    width:100%;
    min-width:0;
  }
}
/* Long exercises must grow vertically, never collide with the result count / hint. */
._page_1edfv_1 ._exerciseHead_1edfv_201 { min-width:0; align-items:stretch; }
._page_1edfv_1 ._exerciseMain_1edfv_202 {
  box-sizing:border-box;
  min-width:0;
  min-height:4.3rem;
  height:auto !important;
  align-items:center;
}
._page_1edfv_1 ._exerciseCopy_1edfv_205 {
  min-width:0;
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:.18rem;
  overflow:visible;
}
._page_1edfv_1 ._exerciseCopy_1edfv_205 > strong {
  min-width:0;
  display:block !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:normal;
  overflow-wrap:anywhere;
  max-height:none !important;
  line-height:1.33 !important;
  margin:0 !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
}
._page_1edfv_1 ._exerciseCopy_1edfv_205 > span,
._page_1edfv_1 ._exerciseCopy_1edfv_205 > small {
  display:block !important;
  position:static !important;
  min-width:0;
  max-width:100%;
  height:auto !important;
  white-space:normal !important;
  overflow-wrap:anywhere;
  margin:0 !important;
  line-height:1.35;
}
._page_1edfv_1 ._exerciseCopy_1edfv_205 > .lu338-details-hint {
  padding-top:.1rem;
  color:#dcba78;
}
._page_1edfv_1 .lu338-pair ._exerciseMain_1edfv_202 {min-height:3.7rem;}
._page_1edfv_1 .lu338-superhead {min-width:0;}
._page_1edfv_1 .lu338-superheading {min-width:0;}
._page_1edfv_1 .lu338-superheading strong {overflow-wrap:anywhere;}
