/* Fotor Photo Editor 1.0.289 — stage 4.4: compact service actions. */

@media (min-width: 769px) {
  /* The panel header already names the tool: keep only the useful explanation. */
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .tool-header h4,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .tool-header h4 {
    display: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .tool-description br,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .tool-description small {
    display: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .tool-header,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .tool-header {
    margin: 0 0 12px !important;
    padding: 0 0 11px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .tool-description,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .tool-description {
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  /* One predictable vertical flow instead of an accidental two-column grid. */
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg > .tool-controls,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale > .tool-controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .upscale-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .upscale-label {
    display: grid !important;
    gap: 6px !important;
    min-width: 0 !important;
    color: rgba(174, 183, 195, .72) !important;
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .upscale-select {
    height: 40px !important;
    min-height: 40px !important;
  }

  /* Primary actions are bars, not floating tiles. */
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .remove-bg-btn,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .upscale-btn {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-remove-bg .status-info,
  #fotor-root .editor-shell:not(.is-mobile) .left-panel .tool-upscale .processing-status {
    margin: 0 !important;
  }
}
