@layer pdf-workspace {
  html.pdf-workspace[data-converter-hosted] main.converterApp {
    width:100% !important;
    height:100dvh !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    transform:none !important;
  }
  html.pdf-workspace[data-converter-hosted] .pdf-window-head {
    display:none !important;
  }
  html.pdf-workspace[data-converter-hosted] .pdf-content {
    flex:1 1 auto !important;
  }
}

@layer quotation-overrides {
  @media screen {
    #fp-stage[data-converter-window] .caja-module-chrome > header {
      height:44px !important;
      min-height:44px !important;
      flex-basis:44px !important;
      background:#e4dfed !important;
      border-bottom:1px solid #d2c9df !important;
    }
    #fp-stage[data-converter-window] .caja-module-chrome > header button {
      color:#574e64 !important;
      -webkit-text-fill-color:#574e64 !important;
      flex:0 0 32px !important;
      width:32px !important;
      min-width:32px !important;
      height:32px !important;
      min-height:32px !important;
      padding:0 !important;
      background:transparent !important;
      border:0 !important;
      box-shadow:none !important;
    }
    #fp-stage[data-converter-window] .caja-module-chrome > header button:is(:hover,:focus-visible) {
      background:#d9d1e5 !important;
    }
    #fp-stage[data-converter-window] .caja-module-chrome > header [data-close]:is(:hover,:focus-visible) {
      background:#eadce1 !important;
    }
    @media (max-width:767px), (pointer:coarse) {
      #fp-stage[data-converter-window] .caja-module-chrome > header {
        height:48px !important;
        min-height:48px !important;
        flex-basis:48px !important;
      }
      #fp-stage[data-converter-window] .caja-module-chrome > header button {
        flex-basis:44px !important;
        width:44px !important;
        min-width:44px !important;
        height:44px !important;
        min-height:44px !important;
      }
    }
  }
}

@layer quotation-overrides {
  @media screen {
    #fp-stage[data-converter-window] {
      --converter-heading-height: 44px;
    }
    #fp-stage[data-converter-window] > .fp-page-frame[data-converter-host] {
      top: calc(var(--caja-module-top) + var(--converter-heading-height) + 1px) !important;
      block-size: calc(var(--caja-module-height) - var(--converter-heading-height) - 2px) !important;
    }
    @media (max-width:767px), (pointer:coarse) {
      #fp-stage[data-converter-window] { --converter-heading-height: 48px; }
    }
  }
}
