:where(.ui-root) {
  color: var(--ui-color-text);
  font-family: var(--ui-font-family);
  box-sizing: border-box;
}

:where(.ui-root *, .ui-root *::before, .ui-root *::after) {
  box-sizing: inherit;
}

:where(.ui-visually-hidden) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Project-wide WCAG 2.2 keyboard focus indicator. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #f59e0b !important;
  outline-offset: 3px !important;
}

/* One accounting color convention for every balance, credit, and debit value. */
.balance-value.balance-value--credit {
  color: var(--ui-color-success) !important;
}

.balance-value.balance-value--debit {
  color: var(--ui-color-danger) !important;
}

.balance-value.balance-value--neutral {
  color: inherit;
}
