.diff-options{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;border-bottom:1px solid var(--p-soft)}.diff-options .toolbar-group{flex-wrap:wrap;gap:16px}.diff-counts{display:flex;gap:16px;font:12px ui-monospace,monospace}.diff-minus{color:#a83838}.diff-plus{color:#267546}.diff-column-titles{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--p-soft);font-size:12px;font-weight:600}.diff-column-titles span{padding:10px 16px;min-width:0}.diff-column-titles span+span{border-left:1px solid var(--p-soft)}.diff-workbench .cm-mergeView{min-width:0}.diff-workbench .cm-mergeViewEditor{width:50%;min-width:0}.diff-workbench .cm-editor{height:clamp(300px,58vh,760px)}.diff-workbench .cm-scroller{overflow:auto}.diff-workbench .cm-deletedLine{background:#fce7e7!important}.diff-workbench .cm-insertedLine{background:#e3f3e8!important}.diff-workbench .cm-deletedText{background:#f1b5b5!important;text-decoration:none!important}.diff-workbench .cm-insertedText{background:#a6dcb6!important}.diff-workbench .cm-changedLineGutter{background:#f5cfba}.diff-footnote{margin:0;padding:9px 16px;font-size:11px;color:var(--p-muted);border-top:1px solid var(--p-soft)}.diff-inputs-hidden{display:none!important}.diff-open-result{margin-left:4px}.diff-result{scroll-margin-top:20px}@media(max-width:700px){.diff-options{padding:10px;gap:10px}.diff-options .toolbar-group{gap:10px}.diff-column-titles span{padding:8px}.diff-workbench .cm-content,.diff-workbench .cm-gutters{font-size:11px}.diff-workbench .cm-editor{height:55vh;min-height:300px}}
.diff-workbench .diff-host{height:clamp(300px,58vh,760px);flex:none}.diff-workbench .diff-host .cm-editor{height:100%;min-height:0}.diff-workbench .cm-scroller{min-height:0;max-height:100%}@media(max-width:700px){.diff-workbench .diff-host{height:55vh;min-height:300px}}
.diff-workbench .diff-host .cm-mergeView .cm-editor{height:100%!important;overflow:hidden!important}.diff-workbench .diff-host .cm-mergeView .cm-editor .cm-scroller{height:100%!important;overflow:auto!important}.diff-workbench .cm-merge-a .cm-changedLine{background:#fce7e7!important}.diff-workbench .cm-merge-b .cm-changedLine{background:#e3f3e8!important}.diff-workbench .cm-merge-a .cm-changedText{background:#f1b5b5!important}.diff-workbench .cm-merge-b .cm-changedText{background:#a6dcb6!important}
.diff-result .removed-key{color:#a83838}.diff-result .added-key{color:#267546}.diff-result .removed-key:before{background:#c04b4b}.diff-result .added-key:before{background:#43835b}
/* The old 350px result card clipped the new independently scrolling editors. */
.tool-content .diff-result{flex:0 0 auto;height:auto;min-height:0;overflow:hidden}
.diff-result .diff-workbench{display:flex;flex-direction:column;min-width:0;min-height:0}
.diff-workbench .diff-host{flex:0 0 auto;overflow:hidden}
.diff-workbench .diff-host .cm-mergeView{overflow:hidden}
.diff-workbench .diff-host .cm-mergeView .cm-editor .cm-scroller{touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:auto}
