/* Lumetra 5.27.12 — final phone layout authority: one tool rail, tightly fit track rows. */
@media(max-width:620px){
  html body #proEditor{--mobile-actions-h:0px!important;grid-template-rows:var(--mobile-header-h) minmax(0,1fr) var(--mobile-tools-h) 0px var(--mobile-splitter-h) var(--timeline-height) var(--mobile-nav-h)!important}
  html body #proEditor .proMobileQuickTools{grid-row:3!important;min-height:56px!important;height:56px!important;min-width:0!important;overflow-x:auto!important}
  html body #proEditor .proMobileQuickTools[hidden],html body #proEditor.mobileItemSelected .proMobileQuickTools{display:none!important}
  html body #proEditor .proMobileClipActions:not([hidden]){grid-row:3!important;height:56px!important;min-height:56px!important;width:100%!important;display:flex!important;align-items:center!important;padding:4px 8px!important;box-sizing:border-box!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
  html body #proEditor .proMobileClipActions[hidden]{display:none!important}
  html body #proEditor .proMobileClipActions button{min-height:44px!important;flex:0 0 67px!important}
  /* The ruler + actual visible tracks dictate the timeline's total height. */
  html body #proEditor:not([data-timeline-user-sized])>.proTimeline{height:var(--timeline-height)!important;min-height:0!important;max-height:var(--timeline-height)!important;grid-template-rows:minmax(0,1fr)!important;align-content:start!important;margin:0!important;padding:0!important}
  html body #proEditor:not([data-timeline-user-sized]) .proTimelineScroll{height:100%!important;min-height:0!important;max-height:100%!important;overflow-x:auto!important;overflow-y:hidden!important;margin:0!important;padding:0!important}
  html body #proEditor:not([data-timeline-user-sized]) .proTimelineCanvas{height:100%!important;min-height:0!important;max-height:100%!important;overflow-y:hidden!important;margin:0!important;box-sizing:border-box!important}
  html body #proEditor:not([data-timeline-user-sized]) #proTracks{min-height:0!important;max-height:none!important;margin:0!important;padding:0!important}
  html body #proEditor .proMonitorStage{contain:layout paint!important;overflow:hidden!important}
  html body #proEditor .proMonitor{max-width:100%!important;max-height:100%!important;overflow:hidden!important}
  html body #proEditor .proMonitor video{object-fit:contain!important}
}
