/* LEVELUP V341 TEST ONLY - layout below shell header, compact cards & visible linked pairs.
   Overrides V338/V340; no global header, API, trainer or database changes. */
@media (max-width:767px) {
  /* Header (sectionChrome) remains its own row of sectionContent.
     The 5px breathing space belongs to the content outlet below the header. */
  ._sectionContent_10chu_69:has(._page_1edfv_1) {
    grid-template-rows:auto minmax(0,1fr) !important;
    overflow:hidden !important;
    min-height:0 !important;
  }
  ._sectionContent_10chu_69 ._sectionOutlet_10chu_162:has(._page_1edfv_1) {
    box-sizing:border-box !important;
    padding-top:5px !important;
    height:100% !important;
    min-height:0 !important;
    overflow:hidden !important;
  }
  ._sectionOutlet_10chu_162 .page._page_1edfv_1 {
    box-sizing:border-box !important;
    height:100% !important;
    min-height:0 !important;
    padding:0 0 max(5px,env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:5px !important;
    overflow:hidden !important;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 > ._weekCard_1edfv_29 {
    position:relative !important;
    top:auto !important;
    flex:0 0 auto !important;
    margin:0 !important;
    z-index:3;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 > ._exerciseSection_1edfv_30 {
    flex:1 1 auto !important;
    min-height:0 !important;
    height:0 !important;
    overflow:hidden !important;
  }
  ._sectionOutlet_10chu_162 ._page_1edfv_1 ._exerciseList_1edfv_196 {
    height:100% !important;
    min-height:0 !important;
    flex:1 1 auto !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom,0px)) !important;
  }
}
/* Remove a column after removing the miniature GIF from the closed exercise row. */
._page_1edfv_1 ._exerciseMain_1edfv_202 {
  grid-template-columns:2.18rem minmax(0,1fr) 1rem !important;
  gap:.6rem !important;
  min-width:0 !important;
}
._page_1edfv_1 .lu338-mini-media {display:none!important}
._page_1edfv_1 ._exerciseCopy_1edfv_205,
._page_1edfv_1 ._exerciseCopy_1edfv_205 > strong {
  min-width:0 !important;
  max-width:100% !important;
  overflow-wrap:anywhere !important;
  white-space:normal !important;
  height:auto !important;
}
._page_1edfv_1 ._exerciseCopy_1edfv_205 > strong {
  display:block !important;
  text-overflow:clip !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
}
._page_1edfv_1 .lu341-superset {
  box-sizing:border-box;
  width:100%;
  min-width:0;
  flex:none;
}
._page_1edfv_1 .lu341-superset .lu338-superhead {
  grid-template-columns:2.1rem minmax(0,1fr) auto;
  gap:.4rem;
}
._page_1edfv_1 .lu341-superset .lu338-superheading small {
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.35;
}
@media (max-width:385px) {
  ._page_1edfv_1 ._exerciseMain_1edfv_202 {
    grid-template-columns:1.94rem minmax(0,1fr) .9rem !important;
    gap:.38rem !important;
  }
  ._page_1edfv_1 .lu338-superhead {padding:.62rem .45rem !important;}
  ._page_1edfv_1 .lu338-progress {font-size:.52rem;padding:.28rem !important;}
}
