.neeto-kb-diff-toggle {
  position: fixed;
  bottom: 24px;
  inset-inline: 0;
  margin-inline: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 9998;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  -webkit-box-align: center;
          align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 9999px;
  border: 1px solid var(--color-sidebar-border);
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none !important;
}
.neeto-kb-diff-toggle__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.neeto-kb-diff-toggle__switch {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 20px;
  border-radius: 9999px;
  background: var(--color-sidebar-border);
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.neeto-kb-diff-toggle__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  -webkit-transition: inset-inline-start 0.2s ease;
  transition: inset-inline-start 0.2s ease;
}
.neeto-kb-diff-toggle--on .neeto-kb-diff-toggle__switch {
  background: var(--color-primary);
}
.neeto-kb-diff-toggle--on .neeto-kb-diff-toggle__switch::after {
  inset-inline-start: 18px;
}

.neeto-kb-diff-mode ins {
  background: #dcfce7;
  color: #166534;
  text-decoration: none;
}
.neeto-kb-diff-mode del {
  background: #fee2e2;
  color: #991b1b;
  text-decoration: line-through;
}
.neeto-kb-diff-mode ins img {
  outline: 3px solid #22c55e;
  outline-offset: -3px;
}
.neeto-kb-diff-mode del img {
  outline: 3px solid #ef4444;
  outline-offset: -3px;
  opacity: 0.6;
}
