[data-math-lab="set-operations"] .set-operations-endpoints {
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line, #d9e1d5);
  border-radius: 0.5rem;
  min-width: 0;
}
[data-math-lab="set-operations"] .set-operations-endpoints label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  cursor: pointer;
}
[data-math-lab="set-operations"] input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}
[data-math-lab="set-operations"] .set-operations-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 0.75rem;
}
[data-math-lab="set-operations"] .set-operations-presets button {
  padding: 0.55rem 0.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line, #d9e1d5);
  border-radius: 0.5rem;
  background: var(--paper, #fffefa);
  color: inherit;
  font: inherit;
  cursor: pointer;
}
[data-math-lab="set-operations"] .set-operations-presets button:hover {
  border-color: var(--accent, #256c56);
}
[data-math-lab="set-operations"] .set-operations-presets button:focus-visible,
[data-math-lab="set-operations"] input:focus-visible {
  outline: 3px solid #315c82;
  outline-offset: 3px;
}
[data-math-lab="set-operations"] canvas.math-lab-plot {
  display: block;
  width: 100%;
  height: 320px;
}
[data-math-lab="set-operations"] .math-lab-output p {
  overflow-wrap: anywhere;
}
