/* r174: keep the chapter lighting lab visible in its own reserved row.
 * The teaching reader and landscape rules use different grid row counts.
 * A column layout here lets the actual translated label determine the space,
 * while the lesson alone scrolls below the action. No overlay or fixed offset.
 */
#view-manual .manual-reader .book-right-leaf.book-with-lights{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
#view-manual .manual-reader .book-with-lights>.book-running-head,
#view-manual .manual-reader .book-with-lights>.book-chapter-lab,
#view-manual .manual-reader .book-with-lights>.book-folio{
  flex:0 0 auto;
  min-width:0;
}
#view-manual .manual-reader .book-with-lights>.book-chapter-lab{
  position:static;
  inset:auto;
  margin-block:8px 0;
  margin-inline:clamp(18px,3vw,38px);
  padding:0;
  transform:none;
}
#view-manual .manual-reader .book-with-lights>.book-page-scroll{
  flex:1 1 0;
  min-width:0;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
}
#view-manual .manual-reader .book-chapter-lab .manual-lights-launch{
  position:static;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
  line-height:1.4;
  touch-action:manipulation;
}
@media(max-height:500px) and (orientation:landscape){
  #view-manual .manual-reader .book-with-lights>.book-chapter-lab{
    margin-block:4px 0;
    margin-inline:16px;
  }
}
