/* Employee OS v1.5.63 | Importer tutorial header and video viewer.
   The original sticky detail header (v1.5.46, z-index 2140) overlaps the video;
   remove it ONLY in importer training, and add an ordinary in-page back control. */
html body #deosApp #profileHub #pfDetailPage.pf-page.pf-import-training-open.open > .pf-page-header,
html body #deosApp #profileHub #pfDetailPage.pf-page.pf-import-training-open.open .pf-page-header{
  display:none!important;position:static!important;top:auto!important;
  height:0!important;min-height:0!important;max-height:0!important;
  padding:0!important;margin:0!important;border:0!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfDetailBody{
  padding-top:8px!important;
  padding-bottom:max(140px,calc(112px + env(safe-area-inset-bottom,0px)))!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy{
  display:flex!important;flex-direction:column!important;gap:12px!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-back-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:10px!important;order:0!important;
  background:transparent!important;border:0!important;
  margin:0!important;padding:0 2px 4px!important;
  position:relative!important;top:auto!important;z-index:1!important;
  min-height:42px!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-back-button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;width:auto!important;min-width:104px!important;height:40px!important;
  border:1px solid #e1e4eb!important;border-radius:13px!important;
  padding:7px 13px!important;background:#fff!important;color:#111827!important;
  -webkit-text-fill-color:#111827!important;box-shadow:0 4px 13px rgba(17,24,39,.06)!important;
  font-size:24px!important;line-height:1!important;font-weight:500!important;
  cursor:pointer!important;pointer-events:auto!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-back-button span{
  color:#111827!important;-webkit-text-fill-color:#111827!important;
  font-size:13px!important;font-weight:800!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-back-label{
  display:inline-block!important;color:#5d667b!important;-webkit-text-fill-color:#5d667b!important;
  text-align:right!important;font-size:12px!important;line-height:1.3!important;
}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy #diaAcademyBody{order:1!important}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-hero{order:2!important}
html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-note{order:3!important}
@media(max-width:760px){
  html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-hero{display:none!important}
  html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfImporterAcademy .dia-back-label{font-size:11px!important}
  html body #deosApp #profileHub #pfDetailPage.pf-import-training-open #pfDetailBody{padding-top:6px!important}
}
/* Viewer attached to <body>, not trapped under app transforms, sticky nav, or profile bars. */
html body .dia-watch-viewer{
  position:fixed!important;inset:0!important;
  width:100vw!important;height:100vh!important;height:100dvh!important;min-height:0!important;
  z-index:2147483647!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;gap:0!important;
  background:#07090e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)!important;
  overflow:hidden!important;
}
html body .dia-watch-viewer *{box-sizing:border-box!important}
html body .dia-watch-viewer .dia-watch-header{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;gap:10px!important;
  min-height:64px!important;padding:10px 14px!important;
  background:#111520!important;border-bottom:1px solid #323747!important;
}
html body .dia-watch-viewer .dia-watch-title{
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px!important;
  font-weight:750!important;line-height:1.35!important;text-align:center!important;
  max-height:38px!important;overflow:hidden!important;
}
html body .dia-watch-viewer button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;min-height:43px!important;max-width:45%!important;
  padding:10px 12px!important;margin:0!important;border:1px solid #51596b!important;
  border-radius:12px!important;background:#202737!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;font-size:12px!important;font-weight:800!important;
  text-transform:none!important;white-space:nowrap!important;cursor:pointer!important;
}
html body .dia-watch-viewer .dia-watch-close{border-color:#fc6274!important;background:#781d2b!important}
html body .dia-watch-viewer .dia-watch-stage{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:1 1 auto!important;min-height:0!important;min-width:0!important;
  padding:6px 0!important;background:#000!important;
}
html body .dia-watch-viewer video{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100vw!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
  background:#000!important;border:0!important;border-radius:0!important;
}
html body .dia-watch-viewer .dia-watch-status{
  min-height:35px!important;margin:0!important;padding:8px 16px!important;
  background:#111520!important;color:#c7cfdd!important;-webkit-text-fill-color:#c7cfdd!important;
  font-size:11px!important;text-align:center!important;
}
@media(max-width:390px){
  html body .dia-watch-viewer .dia-watch-header{gap:6px!important;padding:8px!important}
  html body .dia-watch-viewer button{padding:8px!important;font-size:11px!important}
  html body .dia-watch-viewer .dia-watch-title{font-size:11px!important}
}
@media(orientation:landscape) and (max-height:460px){
  html body .dia-watch-viewer .dia-watch-header{min-height:42px!important;padding:3px 12px!important}
  html body .dia-watch-viewer .dia-watch-status{display:none!important}
}
