/* 1.0.334 — final desktop AI-by-prompt spacing and disabled reason. */
@media (min-width: 769px) {
  /* The title already identifies the tool; its identical subtitle is noise. */
  #fotor-root .editor-shell:not(.is-mobile)
  .left-panel--tool-agent .left-panel-header .lp-subtitle {
    display: none !important;
  }

  /* 316 renders the disabled explanation as the native header's ::before.
     Once the header uses display:contents, explicitly order that generated
     item immediately before the real run button. */
  #fotor-root .editor-shell:not(.is-mobile)
  .left-panel--tool-agent .ai-agent__header.sg-action-has-reason::before {
    order: 98 !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 -5px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    color: rgba(189,201,216,.82) !important;
    font-size: 10.5px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    text-align: left !important;
  }

  /* Consent belongs to the selected 18+ mode but should not touch its tabs. */
  #fotor-root .editor-shell:not(.is-mobile)
  .left-panel--tool-agent .sg-agent-mode-tabs {
    margin: 0 0 10px !important;
  }

  #fotor-root .editor-shell:not(.is-mobile)
  .left-panel--tool-agent .sg-agent-adult-consent {
    margin: 0 0 10px !important;
    padding: 10px 0 10px 11px !important;
    border: 0 !important;
    border-left: 2px solid rgba(226,82,132,.68) !important;
    border-radius: 0 !important;
    background: rgba(105,28,56,.08) !important;
    color: rgba(244,224,233,.86) !important;
    box-shadow: none !important;
  }

  #fotor-root .editor-shell:not(.is-mobile)
  .left-panel--tool-agent .sg-agent-adult-consent__label {
    gap: 9px !important;
    line-height: 1.4 !important;
  }
}
