/* improve contrast for low-contrast screens */
:root:not([data-theme=dark]),
[data-theme=light] {
  --pico-muted-border-color: #d0d3d9;
}

/* research component date indicator */
.date-field {
  color: var(--pico-code-color);
  margin-left: 0.2rem;
}

/* center figure captions */
figcaption {
  text-align: center;
}

/* center and constrain figures */
figure img {
  display: block;
  margin: 0 auto;
  max-height: 400px;
}

/* give figures breathing room */
figure {
  margin: 1rem;
}

/* make all table header rows bold */
th {
  --pico-font-weight: 600;
}
/* action-table has no additional spacing around buttons and input and shrinks
 * to fit */
table.action-table {
  width: max-content;
}
table.action-table input.table-input, table.action-table select.table-input {
  margin-bottom: 0;
}
table.action-table [role="group"] {
  margin-bottom: 0;
}
table.action-table td .expand {
  width: 100%;
}
