/* Image to Text — mobile upload + fast SEO stack */
html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] {
  --c100kb-radius: 16px;
  --c100kb-radius-lg: 20px;
  --c100kb-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  --c100kb-border: 1px solid rgba(191, 219, 254, 0.85);
  --c100kb-gap: clamp(14px, 2vw, 22px);
  --c100kb-section-pad: clamp(18px, 2.4vw, 28px);
}

html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.8vw, 32px);
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .premium-content-section {
  border-radius: var(--c100kb-radius-lg);
  padding: var(--c100kb-section-pad);
}

@media (max-width: 760px) {
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] :is(
    .tool-content-stack,
    .premium-content-section,
    .related-tools-section,
    .tool-faq,
    .content-section
  ) {
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
  }
}

/* Hide legacy mobile shell — modern workspace on all viewports */
.image-to-text-legacy-mobile {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body main.image-to-text-seo-page[data-tool="image-to-text"] section.image-to-text-desktop-only,
html body main.image-to-text-seo-page[data-tool="image-to-text"] .image-to-text-desktop-only {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

/* Desktop: hide mobile-only upload chrome */
html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-title,
html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-subtitle,
html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-drag-helper,
html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-arrow-badge {
  display: none;
}

/* Mobile idle upload redesign — single ownership layer, max-width 760px */
@media (max-width: 760px) {
  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] #image-to-text-desktop-workspace.tool-panel {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader:not(.has-uploaded-file) label.upload-box[data-upload-box] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 1.5rem 1.125rem 1.35rem !important;
    margin: 0;
    border: 1px dashed rgba(147, 197, 253, 0.72) !important;
    border-radius: 23px !important;
    outline: none !important;
    outline-offset: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f5f8ff 100%) !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08) !important;
    overflow: visible !important;
    text-align: center;
    color: #172033;
    isolation: isolate;
  }

  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] form.image-optimizer-100kb-form:not(.has-uploaded-file) label.upload-box[data-upload-box] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 1.5rem 1.125rem 1.35rem !important;
    margin: 0;
    border: 1px dashed rgba(147, 197, 253, 0.72) !important;
    border-radius: 23px !important;
    outline: none !important;
    outline-offset: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f5f8ff 100%) !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08) !important;
    overflow: visible !important;
    text-align: center;
    color: #172033;
    isolation: isolate;
  }

  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] form.image-optimizer-100kb-form:not(.has-uploaded-file) label.upload-box[data-upload-box]::before,
  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] form.image-optimizer-100kb-form:not(.has-uploaded-file) label.upload-box[data-upload-box]::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    inset: auto !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-title {
    display: block;
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.3px !important;
    color: #101828 !important;
    text-transform: none !important;
    opacity: 1;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-subtitle {
    display: block;
    margin: 8px 0 22px;
    max-width: 18rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #667085 !important;
    text-transform: none !important;
    opacity: 1;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .upload-formats.c100kb-upload-formats {
    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;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .upload-icon.ic-m-upload-icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    margin: 0 auto 0.15rem;
    padding: 0;
    border: 1px solid rgba(191, 219, 254, 0.88);
    border-radius: 24px;
    background: linear-gradient(168deg, #ffffff 0%, #f5f9ff 52%, #eaf2ff 100%);
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 10px 26px rgba(37, 99, 235, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
    color: #1d4ed8;
    flex-shrink: 0;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .upload-icon.ic-m-upload-icon-wrap svg,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .upload-icon.ic-m-upload-icon-wrap i {
    width: 38px;
    height: 38px;
    stroke-width: 1.85;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-upload-arrow-badge  {
    display: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 270px;
    margin: 0 auto !important;
  }

  /* Phase9 button — mirror style.min.css #tool-workspace rule for #image-to-text-desktop-workspace */
  html body.flux-tool-body:not(.generic-tool-studio-active):not(.passport-editor-active) main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-primary-cta,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-primary-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 270px !important;
    min-width: 0 !important;
    min-height: 53px !important;
    height: 53px !important;
    margin: 0 !important;
    padding: 0.74rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 54%, #7c3aed 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: Inter, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    filter: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-primary-cta svg {
    width: 18px;
    height: 18px;
    color: #fff;
    stroke: #fff;
    flex-shrink: 0;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-cta-label {
    font-size: 0;
    line-height: 0;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-cta-label::after {
    content: "Choose Image";
    font-family: Inter, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    color: #fff;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-primary-cta:hover {
    filter: brightness(1.03) !important;
    transform: translateY(-1px);
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-primary-cta:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) .upload-secondary-cta.ic-m-desktop-drag {
    display: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-drag-helper {
    display: block;
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #98a2b3 !important;
    text-transform: none !important;
  }

  @media (hover: none) and (pointer: coarse) {
    html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .ic-m-drag-helper {
      color: #98a2b3 !important;
    }
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] label.upload-box[data-upload-box]:focus-within {
    outline: 3px solid rgba(37, 99, 235, 0.38);
    outline-offset: 2px;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] label.upload-box[data-upload-box].is-dragover {
    border-color: #6366f1 !important;
    background: linear-gradient(180deg, #f5f8ff 0%, #eef2ff 100%) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14), 0 10px 28px rgba(37, 99, 235, 0.1) !important;
  }

  /* Idle workspace — hide compression/settings until a file is selected (mobile lacks style.min.css hide rule) */
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] form.image-optimizer-100kb-form:not(.has-uploaded-file) > :not([data-upload-box]):not(.c100kb-trust-badges) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Phase9 global upload shield — match main#main#main #image-to-text-desktop-workspace specificity */
  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: center !important;
    align-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 1.5rem 1.125rem 1.35rem !important;
    gap: 0 !important;
    border: 1px dashed rgba(147, 197, 253, 0.72) !important;
    border-radius: 23px !important;
    outline: none !important;
    outline-offset: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f5f8ff 100%) !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08) !important;
    overflow: visible !important;
    isolation: isolate !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box]::before,
  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box]::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    inset: auto !important;
    background: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
    transform: none !important;
    pointer-events: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-cta-row {
    margin: 0 auto !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-icon.ic-m-upload-icon-wrap {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    margin: 0 auto 0.15rem !important;
    padding: 0 !important;
    border: 1px solid rgba(191, 219, 254, 0.88) !important;
    border-radius: 24px !important;
    background: linear-gradient(168deg, #ffffff 0%, #f5f9ff 52%, #eaf2ff 100%) !important;
    box-shadow:
      0 1px 2px rgba(15, 23, 42, 0.04),
      0 10px 26px rgba(37, 99, 235, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
    color: #1d4ed8 !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-icon.ic-m-upload-icon-wrap::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    mask: none !important;
    -webkit-mask: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-icon.ic-m-upload-icon-wrap svg,
  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-icon.ic-m-upload-icon-wrap i {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    color: #1d4ed8 !important;
    stroke: #1d4ed8 !important;
    stroke-width: 1.85 !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] .upload-formats.c100kb-upload-formats,
  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) .upload-formats.c100kb-upload-formats {
    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;
    display: block !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) .upload-secondary-cta.ic-m-desktop-drag,
  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) .upload-secondary-cta {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-image-tools.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] div#image-to-text-desktop-workspace.tool-panel form.image-optimizer-100kb-form.premium-uploader.image-to-text-desktop-form:not(.has-uploaded-file) label.upload-box[data-upload-box] > strong {
    display: none !important;
  }

  /* ── Image Compressor parity: workspace shell + hero (trust pills hidden on mobile) ── */
  html body.compress-100kb-pro.compress-100kb-ready:not(:has(main[data-tool="image-to-text"] .c100kb-editor-app[data-c100kb-portaled="true"])) main[data-tool="image-to-text"] .c100kb-tool-intent-header,
  html body.compress-100kb-pro.compress-100kb-ready:not(:has(main[data-tool="image-to-text"] .c100kb-editor-app[data-c100kb-portaled="true"])) main[data-tool="image-to-text"] .image-optimizer-100kb-form:not(.has-uploaded-file) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  html body.compress-100kb-pro.compress-100kb-ready:not(:has(main[data-tool="image-to-text"] .c100kb-editor-app[data-c100kb-portaled="true"])) main[data-tool="image-to-text"] #image-to-text-desktop-workspace.tool-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    contain: none !important;
  }

  html body.compress-100kb-pro.flux-tool-image-tools main.image-to-text-seo-page[data-tool="image-to-text"] section.tool-layout.image-to-text-desktop-only.c100kb-intent-first,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] section.tool-layout.image-to-text-desktop-only.c100kb-intent-first {
    width: 100% !important;
    max-width: min(100%, 720px) !important;
    margin: 12px auto 0 !important;
    padding: 0 0.72rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] #image-to-text-desktop-workspace.tool-panel,
  html body.flux-tool-body.compress-100kb-pro main#main#main.image-to-text-seo-page[data-tool="image-to-text"] #image-to-text-desktop-workspace.tool-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
    color: #0f172a !important;
  }

  /* Page shell — Image Compressor parity (H1, lead, badge) */
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .breadcrumb {
    margin-bottom: 0.35rem !important;
    font-size: 0.8125rem !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-tool-intent-header {
    text-align: center !important;
    margin: 0 0 0.55rem !important;
    padding: 0 0.25rem !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-tool-intent-header h1 {
    margin: 0 !important;
    font-size: clamp(1.28rem, 5.8vw, 1.72rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    color: #181d20 !important;
    opacity: 1 !important;
    text-wrap: balance;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-tool-intent-header .c100kb-h1-tail {
    white-space: normal;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-tool-intent-header .c100kb-hero-lead {
    max-width: 42rem !important;
    margin: 0.35rem auto 0 !important;
    font-size: clamp(0.875rem, 0.95vw, 0.9375rem) !important;
    line-height: 1.55 !important;
    color: #334155 !important;
    opacity: 1 !important;
  }

  /* SEO stack — Image Compressor parity: single layer, no nested card */
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin: 19.2px auto 0 !important;
    padding: 0 !important;
    gap: clamp(20px, 2.8vw, 32px) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] section.tool-layout:has(.tool-content-stack) {
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack > section.premium-content-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .premium-content-section {
    padding: 28.8px 14px !important;
    border: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07) !important;
    color: #0f172a !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .premium-content-section::before {
    content: none !important;
    display: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack > section.premium-content-section > p,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack > section.premium-content-section li,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack > section.premium-content-section details p {
    max-width: 100% !important;
    line-height: 1.7 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack h2,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack h3,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack p,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .section-kicker {
    opacity: 1 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack h2 {
    color: #0f172a !important;
    line-height: 1.28 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .tool-content-stack p {
    color: #334155 !important;
    line-height: 1.65 !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .section-kicker {
    color: #2563eb !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .premium-uploader.image-optimizer-100kb-form:not(.has-uploaded-file) {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-target-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.4rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    background: #fff;
    color: #1d4ed8 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 1 !important;
  }

  /* Trust pills hidden on mobile — Image Compressor parity */
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-trust-badges--below-upload,
  html body.compress-100kb-pro main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-trust-badges--top,
  html body.compress-100kb-pro.compress-100kb-ready main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-trust-badges--below-upload,
  html body.compress-100kb-pro.compress-100kb-ready main.image-to-text-seo-page[data-tool="image-to-text"] .c100kb-trust-badges--top {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Dark mode — workspace + trust stay light/readable (Image Compressor parity) */
  html[data-theme="dark"] main[data-tool="image-to-text"] #image-to-text-desktop-workspace,
  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-trust-badge,
  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-target-badge,
  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-tool-intent-header,
  html[data-theme="dark"] main[data-tool="image-to-text"] .premium-content-section {
    background: #fff !important;
    color: #0f172a !important;
  }

  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-trust-badge {
    color: #334155 !important;
  }

  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-tool-intent-header h1 {
    color: #0f172a !important;
  }

  html[data-theme="dark"] main[data-tool="image-to-text"] .c100kb-hero-lead {
    color: #334155 !important;
  }
}

/* Master keyword review highlights — content stack only (no legend box) */
mark.seo-kw { padding: 0 2px; border-radius: 3px; font: inherit; color: inherit; }
mark.seo-kw--k1 { background: rgba(255, 193, 7, 0.5); }
mark.seo-kw--k2 { background: rgba(129, 212, 250, 0.42); }
mark.seo-kw--k3 { background: rgba(165, 214, 167, 0.48); }
mark.seo-kw--k4 { background: rgba(206, 147, 216, 0.42); }

/* image-tool-mobile-upload-premium-v2 */
/* Premium mobile upload chrome — all image tools (max-width 760px only) */
@media (max-width: 760px) {
  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-upload-title {
    display: block !important;
    margin: 0 !important;
    font-family: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    color: #101828 !important;
    opacity: 1 !important;
    text-transform: none !important;
    -webkit-text-fill-color: #101828 !important;
  }

  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-upload-subtitle {
    display: block !important;
    margin: 8px 0 20px !important;
    max-width: 18rem;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.01em !important;
    color: #667085 !important;
    opacity: 1 !important;
    text-transform: none !important;
    -webkit-text-fill-color: #667085 !important;
  }

  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 270px;
    margin: 8px auto 0 !important;
    padding: 0 !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    opacity: 1 !important;
    white-space: nowrap;
    -webkit-text-fill-color: #94a3b8 !important;
  }

  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper::before,
  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper::after {
    content: "";
    flex: 1 1 0;
    min-width: 0;
    max-width: 44px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.42) 30%, rgba(148, 163, 184, 0.42) 70%, transparent);
  }

  html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper strong,
  html body.flux-tool-body.flux-tool-image-tools main#main.tool-page[data-tool] div#tool-workspace.tool-panel label.upload-box[data-upload-box] .ic-m-drag-helper strong,
  html body.flux-tool-body.flux-tool-image-tools main#main.tool-page[data-tool] #tool-workspace.tool-panel .premium-uploader:not(.has-uploaded-file) label.upload-box[data-upload-box] .ic-m-drag-helper strong {
    color: #3b82f6 !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
    -webkit-text-fill-color: #3b82f6 !important;
  }

  @media (hover: none) and (pointer: coarse) {
    html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper {
      opacity: 1 !important;
      color: #94a3b8 !important;
      -webkit-text-fill-color: #94a3b8 !important;
    }

    html body.flux-tool-image-tools main[data-tool] label.upload-box[data-upload-box] .ic-m-drag-helper strong,
    html body.flux-tool-body.flux-tool-image-tools main#main.tool-page[data-tool] div#tool-workspace.tool-panel label.upload-box[data-upload-box] .ic-m-drag-helper strong,
    html body.flux-tool-body.flux-tool-image-tools main#main.tool-page[data-tool] #tool-workspace.tool-panel .premium-uploader:not(.has-uploaded-file) label.upload-box[data-upload-box] .ic-m-drag-helper strong {
      color: #3b82f6 !important;
      -webkit-text-fill-color: #3b82f6 !important;
    }
  }
}
