/* Remove Extra Spaces — mobile workspace action icons first-paint (no Lucide required). */
@media (max-width: 760px) {
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace .tool-actions i[data-lucide] {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    flex: 0 0 16px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    vertical-align: middle !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace .tool-actions i[data-lucide]::before {
    content: "" !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    background: #334155 !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace .tool-actions i[data-lucide]:has(svg)::before {
    display: none !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace .tool-actions i[data-lucide] svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityRun i[data-lucide="eraser"]::before {
    background: #fff !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21'/%3E%3Cpath d='M22 21H7'/%3E%3Cpath d='m5 11 9 9'/%3E%3C/svg%3E") center/contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21'/%3E%3Cpath d='M22 21H7'/%3E%3Cpath d='m5 11 9 9'/%3E%3C/svg%3E") center/contain no-repeat !important;
  }

  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityReset i[data-lucide="rotate-ccw"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E") center/contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E") center/contain no-repeat !important;
  }
}
