/* Only SQL print layout changes; every screen-media rule remains intact. */
@media print {
  body[data-wfta]:has(#extra-form[data-focused="sql-escape"]) > a.skip {
    display: none !important;
  }
  #extra-form[data-focused="sql-escape"],
  #extra-form[data-focused="sql-escape"] .editor-result,
  #extra-form[data-focused="sql-escape"] .workspace-output-surface,
  #extra-form[data-focused="sql-escape"] .line-editor:has(#extra-output) {
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    break-inside: auto !important;
  }
  #extra-form[data-focused="sql-escape"] #extra-output {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: pre-wrap !important;
    overflow-wrap: anywhere !important;
    resize: none !important;
    color: #000;
    font-size: 10pt !important;
    line-height: 1.5 !important;
  }
  #extra-form[data-focused="sql-escape"] :is(.editor-input, .line-editor-gutter, [data-editor-offset731], .output-search, .output-action-row, .un-result-actions, .pilot-output-actions, #extra-copy, #extra-download) {
    display: none !important;
  }
}
