.diff-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:1.5rem; }
        @media(max-width:700px){ .diff-grid { grid-template-columns:1fr; } }
        .panel-label { font-weight:700; margin-bottom:.5rem; }
        textarea.diff-area { width:100%; min-height:240px; padding:12px; background:var(--clr-surface,#1e1a17); border:1px solid var(--clr-border,#3a3330); border-radius:6px; color:var(--clr-text,#f0ebe6); font-size:.875rem; resize:vertical; font-family:monospace; box-sizing:border-box; }
        .btn-row { display:flex; gap:.75rem; margin-top:1rem; flex-wrap:wrap; }
        .btn-primary { background:var(--clr-accent,#e8633a); color:#fff; border:none; padding:10px 28px; border-radius:6px; font-size:.9rem; cursor:pointer; font-weight:600; }
        .btn-secondary { background:transparent; color:var(--clr-text,#f0ebe6); border:1px solid var(--clr-border,#3a3330); padding:10px 28px; border-radius:6px; font-size:.9rem; cursor:pointer; }
        .diff-output { margin-top:1.5rem; background:var(--clr-surface,#1e1a17); border:1px solid var(--clr-border,#3a3330); border-radius:8px; overflow:hidden; font-family:monospace; font-size:.875rem; }
        .diff-output .diff-line { padding:4px 16px; white-space:pre-wrap; word-break:break-all; line-height:1.6; display:flex; gap:.75rem; }
        .diff-line.added { background:rgba(76,175,80,0.15); }
        .diff-line.removed { background:rgba(244,67,54,0.15); }
        .diff-line.unchanged { color:var(--clr-muted,#888); }
        .line-marker { width:16px; flex-shrink:0; font-weight:700; }
        .line-marker.add { color:#4caf50; }
        .line-marker.rem { color:#f44336; }
        .line-marker.unc { color:var(--clr-muted,#888); }
        .stats { display:flex; gap:1.5rem; margin-top:1rem; flex-wrap:wrap; }
        .stat { padding:6px 16px; border-radius:6px; font-size:.875rem; font-weight:600; }
        .stat.added { background:rgba(76,175,80,0.15); color:#4caf50; }
        .stat.removed { background:rgba(244,67,54,0.15); color:#f44336; }
        .stat.unchanged { background:rgba(136,136,136,0.1); color:var(--clr-muted,#888); }
        #diffResult { display:none; }

[data-split-style="1"]:not(#split-style-guard-1):not(#split-style-guard-2):not(#split-style-guard-3):not(#split-style-guard-4):not(#split-style-guard-5):not(#split-style-guard-6):not(#split-style-guard-7):not(#split-style-guard-8):not(#split-style-guard-9):not(#split-style-guard-10) {text-align: center;}
