/* 语音识别 · AI 实验室：单层层级 1024×576，由 ai-lab-scale 统一缩放，避免双层留白 */

#pptAiLabOverlay.ppt-ai-lab-open.ppt-ai-lab-speech-mode {
  touch-action: pan-y;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .ai-lab-scale-stage {
  transform: none !important;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .ai-lab-scale-stage,
#pptAiLabOverlay.ppt-ai-lab-speech-mode .ai-lab-app {
  width: 1024px;
  height: 576px;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .ai-lab-app {
  position: relative;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode #view-speech-rec {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  flex: none;
  display: block;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .view-speech-rec {
  display: block;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .speech-rec-scale-outer {
  width: 100%;
  height: 100%;
  display: block;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .speech-rec-scale-stage {
  position: relative;
  left: auto;
  top: auto;
  width: 1024px;
  height: 576px;
  transform: none !important;
}

#pptAiLabOverlay.ppt-ai-lab-speech-mode .view-speech-rec .sr-shell {
  width: 1024px;
  height: 576px;
}

#pptAiLabOverlay .view-speech-rec {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  pointer-events: auto;
  touch-action: pan-y;
}

#pptAiLabOverlay.ppt-ai-lab-open.ppt-ai-lab-speech-mode .ppt-ai-lab-shell,
#pptAiLabOverlay.ppt-ai-lab-open.ppt-ai-lab-speech-mode .ai-lab-scale-outer,
#pptAiLabOverlay.ppt-ai-lab-open.ppt-ai-lab-speech-mode .ai-lab-app {
  touch-action: pan-y;
}

#pptAiLabOverlay .view-speech-rec .sr-panel--right,
#pptAiLabOverlay .view-speech-rec .sr-history-scroll {
  z-index: 2;
  touch-action: pan-y;
}

#pptAiLabOverlay .speech-rec-scale-outer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
