/* Utils */
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid transparent; border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.typing-dots span { display: inline-block; width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; margin: 0 2px; animation: bounce .8s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: .16s; }
.typing-dots span:nth-child(3) { animation-delay: .32s; }
@keyframes bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.diff-line { white-space:pre-wrap;word-break:break-word;padding:1px 4px;border-radius:2px;min-height:1.5em }
.diff-line.add { background:#2dd4a015;color:var(--green) }
.diff-line.del { background:#f0525215;color:var(--red);text-decoration:line-through }
.diff-line.same { color:var(--text-secondary) }
.diff-line.empty { color:transparent;pointer-events:none }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
