.text-diff-results{border:1px solid var(--border-control);background:var(--editor-bg);min-width:0;color:var(--editor-fg);border-radius:8px;overflow:hidden}.text-diff-toolbar{background:var(--editor-chrome);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px;font-size:14px;display:flex}#diff-summary{flex-wrap:wrap;gap:12px;font-weight:600;display:flex}#stat-removals{color:var(--error-text)}#stat-additions{color:var(--success-text)}.text-diff-scroll{overflow:auto}.text-diff-editors{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-width:664px;display:grid}.text-diff-editors .code-editor{border:0;border-radius:0}.text-diff-editors .code-editor+.code-editor{border-left:1px solid var(--border)}.text-diff-editors .code-editor-header{min-height:54px}.text-diff-editors .code-editor-mode{display:none}.text-diff-editors .cm-content{min-height:320px;padding-block:12px}.text-diff-editors .cm-scroller{max-height:560px}.text-diff-editors .cm-gutters{border-right:0}.text-diff-editors .cm-line{padding-inline:6px 12px}.text-diff-editors .cm-diff-signs{width:20px}.text-diff-editors .cm-diff-signs .cm-gutterElement{text-align:center;width:20px}.text-diff-editors .cm-line.cm-diff-removed{background:var(--editor-removed)}.text-diff-editors .cm-line.cm-diff-added{background:var(--editor-added)}.text-diff-editors .cm-gutterElement.cm-diff-removed{background:var(--editor-removed-word);color:var(--editor-fg)}.text-diff-editors .cm-gutterElement.cm-diff-added{background:var(--editor-added-word);color:var(--editor-fg)}.text-diff-editors .cm-diff-removed-word{background:var(--editor-removed-word);border-radius:2px}.text-diff-editors .cm-diff-added-word{background:var(--editor-added-word);border-radius:2px}.text-diff-editors .cm-diff-gap{background:repeating-linear-gradient(135deg, transparent 0 4px, var(--border) 4px 5px, transparent 5px 9px), var(--editor-chrome);opacity:.55}.text-diff-editors .cm-line.cm-diff-current{box-shadow:inset 3px 0 var(--focus)}.text-diff-modes{border:1px solid var(--border-control);border-radius:6px;display:flex;overflow:hidden}.text-diff-modes label{cursor:pointer;align-items:center;gap:6px;min-height:44px;padding-inline:12px;display:flex}.text-diff-modes label+label{border-left:1px solid var(--border-control)}.text-diff-modes label:has(:checked){background:var(--editor-selection);font-weight:600}.text-diff-modes input{accent-color:var(--link)}#text-diff [hidden]{display:none}#text-diff[data-diff-view=unified] .text-diff-editors{min-width:0;display:block}#text-diff[data-diff-view=unified] .code-editor+.code-editor{border-left:0}#text-diff[data-diff-view=unified] #left-input{border-bottom:1px solid var(--border-control)}#text-diff[data-diff-view=unified] #right-input .cm-editor{font-size:14px;line-height:22px}#text-diff[data-diff-view=unified] #right-input .cm-content{padding-block:0}#text-diff[data-diff-view=unified] #right-input .cm-lineNumbers,#text-diff[data-diff-view=unified] #right-input .cm-diff-signs{display:none!important}#text-diff[data-diff-view=unified] .cm-activeLine:not(.cm-diff-added),#text-diff[data-diff-view=unified] .cm-activeLineGutter{background:0 0}.text-diff-editors .cm-unified-numbers{text-align:right;grid-template-columns:minmax(36px,auto) minmax(36px,auto) 20px;display:grid}.text-diff-editors .cm-unified-numbers>span{padding-inline:6px}.text-diff-editors .cm-unified-numbers>span:last-child{text-align:center;padding:0}.text-diff-editors .cm-unified-removed{background:var(--editor-removed-word);color:var(--editor-fg)}.text-diff-editors .cm-unified-added{background:var(--editor-added-word);color:var(--editor-fg)}.text-diff-editors .cm-unified-range{background:var(--editor-hunk);color:var(--editor-muted);white-space:pre;min-height:26px;line-height:26px}.text-diff-editors .cm-unified-deleted{background:var(--editor-removed);white-space:pre;min-height:22px}.text-diff-editors .cm-unified-deleted,.text-diff-editors .cm-content>.cm-unified-range{padding-inline:6px 12px}.text-diff-editors .cm-lineWrapping .cm-unified-deleted{white-space:pre-wrap;overflow-wrap:anywhere}.text-diff-editors .cm-unified-deleted.cm-diff-current{box-shadow:inset 3px 0 var(--focus)}
