/**
 * eCW iframe embed only. Applied when ScribeAI is loaded inside eCW's modal (html.ecw-embed).
 * Fills the iframe and allows zoom; no impact when not embedded.
 */

html.ecw-embed {
  height: 100%;
  overflow: hidden;
}

html.ecw-embed body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

html.ecw-embed #app-content {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

html.ecw-embed .main-content {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

html.ecw-embed .main-content-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Transcript tab: allow scroll so Save Instructions and content above stay reachable */
html.ecw-embed .transcript-tab-panel {
  overflow-y: auto;
  min-height: 0;
}
