html.pdf3001-workspace-embed,
html.pdf3001-workspace-embed body {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

html.pdf3001-workspace-embed body[data-viewer-version] {
  height: 100%;
  overflow: hidden;
}

html.pdf3001-workspace-embed body[data-page] {
  min-height: 100dvh;
  overflow: auto;
}

html.pdf3001-workspace-embed .topbar,
html.pdf3001-workspace-embed .site-header,
html.pdf3001-workspace-embed .pdf-development-side-menu {
  display: none !important;
}

html.pdf3001-workspace-embed .app-shell {
  min-height: 0 !important;
  height: 100dvh !important;
  grid-template-rows: 44px minmax(0, 1fr) 24px !important;
}

html.pdf3001-workspace-embed .commandbar {
  min-height: 44px !important;
  padding: 4px 6px !important;
}

html.pdf3001-workspace-embed .command-button,
html.pdf3001-workspace-embed .icon-button,
html.pdf3001-workspace-embed .zoom-value,
html.pdf3001-workspace-embed .search-control button {
  min-height: 32px !important;
}

html.pdf3001-workspace-embed .empty-state,
html.pdf3001-workspace-embed .error-state {
  gap: 10px !important;
  padding: 12px 8px !important;
}

html.pdf3001-workspace-embed .drop-zone,
html.pdf3001-workspace-embed .error-card {
  width: min(640px, 100%) !important;
  padding: 20px 14px !important;
}

html.pdf3001-workspace-embed .empty-capabilities {
  display: none !important;
}

html.pdf3001-workspace-embed .statusbar {
  min-height: 24px !important;
}

html.pdf3001-workspace-embed .tool-landing-page {
  min-height: 100dvh !important;
  padding-top: 0 !important;
}

html.pdf3001-workspace-embed .tool-landing-hero {
  padding: 22px 14px 18px !important;
}

html.pdf3001-workspace-embed .tool-landing-hero h1 {
  margin-bottom: 8px !important;
  font-size: clamp(28px, 5vw, 40px) !important;
}

html.pdf3001-workspace-embed .tool-breadcrumb,
html.pdf3001-workspace-embed .tool-benefit-section {
  display: none !important;
}

html.pdf3001-workspace-embed .primary-dropzone {
  margin-top: 16px !important;
  padding: 20px !important;
}

@media (max-width: 820px) {
  html.pdf3001-workspace-embed .app-shell {
    grid-template-rows: 42px minmax(0, 1fr) 22px !important;
  }

  html.pdf3001-workspace-embed .commandbar {
    min-height: 42px !important;
    padding: 3px 5px !important;
  }

  html.pdf3001-workspace-embed .drop-zone {
    padding: 16px 12px !important;
  }

  html.pdf3001-workspace-embed .empty-state {
    justify-content: flex-start !important;
    padding-top: 10px !important;
  }
}
