/* docutils tags every table align-default, whose rule centres it. Furo's
   override resets the display and the alignment but not the margins. */
table.align-default {
  margin-left: 0;
  margin-right: auto;
}

/* One dataset of an output, set off from the next by a rule down its side.
   The class is written above the block in the markdown, which MyST attaches to
   the block itself, or to the section where that block is a heading. */
.field {
  border-left: 0.15rem solid var(--color-background-border);
  padding-left: 1rem;
  margin: 1.4rem 0;
}

.field > h3 {
  margin-top: 0;
}

/* A set of tabs is a block of its own, so that two of them in a row read as
   two choices rather than one run of labels. */
.tab-set {
  border: 0.05rem solid var(--color-background-border);
  border-radius: 0.2rem;
  padding: 0 1rem 0.8rem;
  margin: 1.5rem 0;
}

/* The tab colours ship as fixed light-theme values, which leave the rule under
   the labels bright against a dark background. These follow the theme. */
:root {
  --tabs--border: var(--color-background-border);
  --tabs--label-text: var(--color-foreground-secondary);
  --tabs--label-text--hover: var(--color-foreground-primary);
  --tabs--label-text--active: var(--color-brand-primary);
  --tabs--label-text--active--hover: var(--color-brand-primary);
  --tabs--label-border--hover: var(--color-foreground-border);
  --tabs--label-border--active: var(--color-brand-primary);
  --tabs--label-border--active--hover: var(--color-brand-primary);
}
