/**
 * T2 — remove-extra-spaces mobile V2
 * Opt-in: html[data-tl-mobile-v2="tool-v1"]
 */

/* from remove-extra-spaces-mobile.css */
/* Remove Extra Spaces — mobile-only sync CSS */
@media (max-width: 760px){
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] {
    --res-m-gutter: 0.875rem;
    --res-m-primary: #2563eb;
    --res-m-text: #172033;
    --res-m-body: #334155;
    --res-m-accent: #1d4ed8;
    padding-bottom: 1.25rem;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"].page-shell.tool-page {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.2rem var(--res-m-gutter) 0.75rem !important;
    overflow-x: hidden;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .breadcrumb {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    min-height: auto !important;
    height: auto !important;
    margin: 0 0 0.12rem !important;
    padding: 0.1rem 0 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: var(--res-m-body) !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .breadcrumb a {
    color: var(--res-m-primary) !important;
    font-weight: 700 !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .breadcrumb span:last-child {
    color: var(--res-m-text) !important;
    font-weight: 700 !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.65rem calc(-1 * var(--res-m-gutter)) 0.85rem !important;
    padding: 1.35rem var(--res-m-gutter) 1.45rem !important;
    text-align: center !important;
    background:
      linear-gradient(180deg, #f8fcff, #eff6ff),
      linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px) !important;
    background-size: 100% 100%, 22px 22px, 22px 22px !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    left: 8% !important;
    right: 8% !important;
    top: 0 !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(37, 99, 235, 0.34), rgba(59, 130, 246, 0.24), transparent) !important;
    box-shadow: 0 0 34px rgba(37, 99, 235, 0.12) !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-hero-copy {
    max-width: 34rem !important;
    margin-inline: auto !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero .eyebrow,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero .eyebrow {
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 auto 0.25rem !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: var(--res-m-primary) !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] section.tool-page-hero .tool-hero-copy h1,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero h1,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-hero-copy h1 {
    margin: 0.2rem auto 0 !important;
    max-width: 22ch !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    text-wrap: balance !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] section.tool-page-hero .tool-hero-copy p,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero p,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-hero-copy p {
    display: block !important;
    max-width: 34rem !important;
    margin: 0.55rem auto 0 !important;
    padding: 0 0.15rem !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: var(--res-m-body) !important;
    -webkit-text-fill-color: var(--res-m-body) !important;
    text-wrap: balance !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-page-hero .c100kb-h1-tail,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-hero-copy .c100kb-h1-tail {
    font-weight: inherit !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace.reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace.tool-panel.text-editor-workspace {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-inline: auto !important;
    border: 1px solid #dbe6f3 !important;
    border-radius: 18px !important;
    background: #fff !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08) !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 0 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace:not(.text-editor-workspace) {
    min-height: clamp(260px, 42svh, 320px) !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace:not(.text-editor-workspace) .utility-studio,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace:not(.text-editor-workspace) ~ .tool-workspace-note {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-studio.t1-editor-root,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-studio.t1-editor-root {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: "toolbar" "editor" "stats" "actions" "output" !important;
    grid-template-rows: auto auto auto auto auto !important;
    gap: 0 !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar {
    grid-area: toolbar !important;
    order: initial !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto repeat(2, minmax(44px, auto)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    padding: 12px 13px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar:before {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-count {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 0 2px !important;
    padding: 0 12px !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: var(--res-m-primary) !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    box-shadow: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar [data-t1-action="paste"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar [data-t1-action="clear"] {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar [data-t1-action="copy"] {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar [data-t1-action="wrap"] {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar [data-t1-action="download"] {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar button,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-count {
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    background: #fff !important;
    border-color: #dbe6f3 !important;
    min-height: 44px !important;
    width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04) !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar button[aria-pressed="true"] {
    color: var(--res-m-accent) !important;
    -webkit-text-fill-color: var(--res-m-accent) !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-form.utility-form {
    grid-area: editor !important;
    order: initial !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    grid-auto-rows: auto !important;
    align-content: start !important;
    gap: 8px !important;
    padding: 14px 13px !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid::before {
    content: "Clean options" !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    margin: 2px 0 0 !important;
    padding: 0 2px !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label.check-row,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:not(:has(textarea)) {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    justify-content: stretch !important;
    gap: 8px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 10px 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(textarea) {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 8px !important;
    align-content: start !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 13px !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.05) !important;
    white-space: normal !important;
    overflow: visible !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceCollapse) {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceTrim) {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceTabs) {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceEmpty) {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceDuplicateLines) {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(#spaceNormalizeBreaks) {
    grid-column: 2 !important;
    grid-row: 5 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid textarea {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 110px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 12px !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    opacity: 1 !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    resize: vertical !important;
    overflow: auto !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid .check-row,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:not(:has(textarea)) {
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
    background: #fff !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 1px 0 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    accent-color: var(--res-m-primary) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .mobile-editor-drawer {
    display: contents !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .mobile-editor-head,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .mobile-editor-tabs {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .mobile-editor-body {
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-live-stats {
    grid-area: stats !important;
    order: initial !important;
    display: block !important;
    min-height: 0 !important;
    padding: 14px 13px !important;
    border-left: 0 !important;
    border-top: 1px solid #e5e7eb !important;
    background: #fff !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-live-stats:before {
    display: block !important;
    margin: 0 0 10px !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-live-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-live-stats:before {
    grid-column: 1 / -1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-row,
  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-card,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-row,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: 72px !important;
    height: auto !important;
    padding: 12px 13px !important;
    border: 1px solid #dbeafe !important;
    border-bottom: 1px solid #dbeafe !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.06) !important;
    text-align: left !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-row span,
  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-card span,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-row span,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-card span {
    order: -1 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    color: var(--res-m-body) !important;
    -webkit-text-fill-color: var(--res-m-body) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-row strong,
  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-stat-card strong,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-row strong,
  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-card strong {
    order: 1 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    color: var(--res-m-primary) !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .tool-actions.sticky-mobile-action,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-actions.sticky-mobile-action,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-actions:not(.wrap) {
    grid-area: actions !important;
    order: initial !important;
    position: static !important;
    bottom: auto !important;
    z-index: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 10px 12px 12px !important;
    border-top: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityCopy,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityDownload,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityPrint,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityShare,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityClear {
    display: none !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    padding-inline: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    border-radius: 12px !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .tool-actions #utilityRun,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityRun {
    border-color: var(--res-m-primary) !important;
    background: var(--res-m-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18) !important;
    min-height: 44px !important;
    height: auto !important;
    padding-block: 0 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .tool-actions #utilityReset,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityReset {
    display: inline-flex !important;
    min-height: 44px !important;
    height: auto !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    background: #f8fafc !important;
    border-color: #dbe6f3 !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput {
    grid-area: output !important;
    order: initial !important;
    display: block !important;
    padding: 12px 13px 14px !important;
    background: #fff !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput .utility-insight-card span,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput .utility-result-status,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput .utility-code-output,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-diff-line,
  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-diff-line :is(b, em, span) {
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput .utility-insight-card strong {
    color: var(--res-m-primary) !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-workspace-note {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 12px auto 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(191, 219, 254, 0.72) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.88)) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08) !important;
    overflow: visible !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-workspace-note span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    white-space: normal !important;
    border: 1px solid rgba(191, 219, 254, 0.82) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04) !important;
    opacity: 1 !important;
  }

  body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-workspace-note svg {
    width: 16px !important;
    height: 16px !important;
    color: var(--res-m-primary) !important;
    flex-shrink: 0;
    opacity: 1 !important;
  }

  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #tool-workspace,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-studio.t1-editor-root,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-form.utility-form,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:has(textarea),
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .utility-control-grid label:not(:has(textarea)),
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-live-stats,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .tool-actions.sticky-mobile-action,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] #utilityOutput {
    background: #fff !important;
    border-color: #e5e7eb !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-row,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-card,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .text-editor-toolbar button {
    background: #f8fafc !important;
    color: var(--res-m-text) !important;
    -webkit-text-fill-color: var(--res-m-text) !important;
    opacity: 1 !important;
  }

  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-row strong,
  html[data-theme="dark"] body.flux-tool-body.flux-tool-text-tools main[data-tool="remove-extra-spaces"] .t1-stat-card strong {
    color: var(--res-m-primary) !important;
    -webkit-text-fill-color: var(--res-m-primary) !important;
    opacity: 1 !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-studio.t1-editor-root {
    grid-template-rows: auto auto auto auto auto !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-control-grid,
  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .t1-live-stats {
    min-height: 0 !important;
    height: auto !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-control-grid textarea {
    min-height: 110px !important;
    height: auto !important;
    padding: 12px !important;
    font-size: 15px !important;
  }

  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-control-grid .check-row,
  html body.flux-tool-body.flux-tool-text-tools main#main.page-shell.tool-page.flux-tool-page[data-tool="remove-extra-spaces"] .utility-control-grid label:not(:has(textarea)) {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: start !important;
    min-height: 44px !important;
    padding: 10px 11px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    overflow: visible !important;
    white-space: normal !important;
    opacity: 1 !important;
  }
}html[data-tl-mobile-v2="tool-v1"] /* T2 — shared calculator/utility workspace baseline */
@media (max-width: 760px){
  html[data-tl-mobile-v2="tool-v1"] body.flux-tool-body main[data-tool="remove-extra-spaces"] #tool-workspace.tool-panel {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-inline: auto;
  }
}
