.line-editor{display:grid;grid-template-columns:auto minmax(0,1fr);min-width:0;border:1px solid #cbd5e1;border-radius:.5rem;background:#f8fafc;overflow:hidden}
.line-editor-gutter{--digits:2;position:relative;overflow:hidden;width:calc((var(--digits) + 1) * 1ch);background:#eef2f7;color:#475569;text-align:right;font:14px/1.5 ui-monospace,monospace;user-select:none;pointer-events:none}
.line-editor-rail{position:absolute;inset:0 .5ch auto 0;will-change:transform}
.line-editor-content{box-sizing:border-box;display:block!important;margin:0!important;border:0!important;border-radius:0!important;min-width:0;width:100%;height:clamp(20rem,55vh,42rem);overflow:auto;white-space:pre;overflow-wrap:normal;word-break:normal;tab-size:2;font:14px/1.5 ui-monospace,monospace;padding:12px;resize:vertical}
.line-editor-content:focus-visible{outline:3px solid #315bd6;outline-offset:-3px}

.line-editor > .output-search{grid-column:1 / -1;grid-row:1}
.line-editor > .line-editor-gutter{grid-column:1;grid-row:2}
.line-editor > .line-editor-content{grid-column:2;grid-row:2}

form[data-local-layout-pilot] .workspace-output-surface{height:auto!important;max-height:none!important;overflow:visible!important}

form[data-local-layout-pilot] .line-editor{min-height:clamp(20rem,55vh,42rem)}
form[data-local-layout-pilot] .line-editor-content{height:clamp(20rem,55vh,42rem)!important;min-height:0!important;max-height:none!important;white-space:pre!important;overflow:auto!important}
