.tnx-executable-preview { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: .5rem .25rem 1rem; max-height: var(--tnx-workflow-collapsed-height, 420px); overflow: hidden; outline-offset: 3px; box-sizing: border-box; }
.tnx-executable-preview > * { flex-shrink: 0; }
.tnx-code-editor-visit { position: fixed; inset: 0; width: 100%; height: 100dvh; border: 0; z-index: 2147483646; background: var(--bg-color); }
.tnx-executable-preview.is-editable { cursor: pointer; transition: opacity .12s; }
.tnx-executable-preview.is-editable:hover { opacity: .8; }
.tnx-executable-preview.is-empty { opacity: .3; }
.tnx-executable-preview.is-empty.is-editable:hover { opacity: .24; }
.tnx-executable-preview * { box-sizing: border-box; }
.tnx-executable-preview .api-node { position: relative; min-height: 0; max-width: 100%; padding: .7rem .75rem; gap: .4rem; pointer-events: none; cursor: inherit; }
.tnx-executable-preview .api-node-title { font-size: .8rem; }
.tnx-executable-preview .api-node-summary { font-size: .72rem; }
.tnx-executable-preview .api-hat { position: relative; width: var(--api-block-width); max-width: 100%; height: 2rem; font-size: .8rem; }
.tnx-executable-source-header .code-action-wrapper, .tnx-executable-source-header .tnx-code-editor-actions,
.tnx-executable-source .code-action-wrapper, .tnx-executable-source .tnx-code-editor-actions { display: none !important; }
.tnx-executable-source [data-help-copy-target] { display: inline !important; }
.tnx-executable-source .tnx-code-editor-actions:has([data-help-copy-target]) { display: flex !important; }
.tnx-executable-source .tnx-code-editor-container { height: auto !important; max-height: none !important; overflow: visible !important; }
/* Source controls remain form values even when generic field refresh or history restoration changes visibility. */
[data-tnx-executable-source="1"] { display: none !important; }
.tnx-executable-source textarea[hidden] { display: none !important; }
