/**
 * PDF idle upload — master desktop lock (Merge PDF / Compress parity).
 * Load last on tool pages (before </body>) so it wins over per-tool inline shells.
 */
@media (min-width: 761px) {
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box] {
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 340px !important;
    height: 340px !important;
    max-height: 340px !important;
    margin: 0 !important;
    padding: 42px 36px !important;
    gap: 0 !important;
    border: 1px dashed rgba(255, 48, 48, 0.38) !important;
    border-radius: 16px !important;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    cursor: pointer !important;
    text-transform: none !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]::before {
    content: none !important;
    display: none !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]:has(.pdf-upload-file-tab)::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    [class*="-m-upload-title"],
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    [class*="-m-upload-subtitle"],
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    [class*="-m-drag-helper"],
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    [class*="-format-mobile"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    position: absolute !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    > strong,
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    > small {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: 1px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    max-width: 1px !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .pdf-upload-file-tab {
    position: absolute !important;
    left: 32px !important;
    top: 32px !important;
    z-index: 2 !important;
    width: 76px !important;
    min-width: 76px !important;
    height: 54px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: #ff3030 !important;
    color: #fff !important;
    font: 800 18px/1 Inter, Arial, sans-serif !important;
    box-shadow: 0 14px 24px rgba(255, 48, 48, 0.18) !important;
    transform: none !important;
    pointer-events: none !important;
    text-transform: none !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-icon {
    width: 88px !important;
    min-width: 88px !important;
    height: 88px !important;
    min-height: 88px !important;
    margin: 0 auto 6.72px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.54) !important;
    background: #ff3030 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(255, 48, 48, 0.2) !important;
    display: grid !important;
    place-items: center !important;
    transform: none !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-icon
    svg {
    width: 42px !important;
    height: 42px !important;
    stroke-width: 2.2 !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-cta-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    width: auto !important;
    max-width: none !important;
    margin: 18px auto 0 !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-primary-cta,
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-secondary-cta {
    box-sizing: border-box !important;
    width: 188px !important;
    min-width: 188px !important;
    max-width: 188px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    margin: 0 !important;
    padding: 13.6px 20.8px !important;
    gap: 8.96px !important;
    border-radius: 14px !important;
    font: 800 16px/1 Inter, Arial, sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-primary-cta {
    border: 1px solid #ff3030 !important;
    background: linear-gradient(#ff3030, #f01818) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 14px 28px rgba(255, 48, 48, 0.22) !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-secondary-cta {
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  }

  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    .upload-formats,
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.merge-mobile-editor-active):not(.split-mobile-editor-active):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool]
    #tool-workspace.tool-panel
    .pdf-studio:not(.has-selected-file)
    label.upload-box.pdf-desktop-upload[data-upload-box]
    [class*="-format-desktop"] {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 8.8px 14.4px !important;
    border: 1px solid rgba(255, 48, 48, 0.14) !important;
    border-radius: 999px !important;
    background: rgba(255, 48, 48, 0.08) !important;
    background-image: none !important;
    color: #b91c1c !important;
    -webkit-text-fill-color: #b91c1c !important;
    font: 800 13.76px/1.35 Inter, Arial, sans-serif !important;
    text-transform: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Compress PDF idle shell */
  html:not([data-theme="dark"])
    body.flux-tool-body.flux-tool-pdf-tools:not([data-theme="dark"]):not(.compress-clean-editor-open)
    main#main.tool-page[data-tool="compress-pdf"]
    #tool-workspace.tool-panel
    .compress-clean-app:not(.is-editor)
    label.compress-clean-upload-box.pdf-desktop-upload {
    position: relative !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 340px !important;
    height: 340px !important;
    max-height: 340px !important;
    padding: 42px 36px !important;
    border: 1px dashed rgba(255, 48, 48, 0.38) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
}
