/* Floor-friendly defaults: large touch targets, readable at arm's length. */
html {
  font-size: 16px;
}

@media (max-width: 576px) {
  html {
    font-size: 17px;
  }
}

body {
  background: #f6f7f9;
}

.btn,
.form-control,
.form-select {
  min-height: 2.75rem;
}

.scan-input {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.02em;
}

.qty {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* The CSP blocks inline style attributes, so hide the empty validation summary here instead. */
.validation-summary-valid {
  display: none;
}

.form-narrow {
  max-width: 32rem;
}

/* WH-041 B2: a field of a new-part request whose proposed value differs from the source part's - the Manager's "orange
   line" (owner Q8 a). Always paired with a visible "changed" word: colour is never the only signal. */
tr.field-changed > * {
  --bs-table-bg: #fff1e0;   /* Bootstrap's table cells paint this variable */
  background-color: #fff1e0;
}

tr.field-changed > :first-child {
  border-left: 0.3rem solid #e8590c;
}

.mom-field {
  background: #fff;
  border: 1px solid #c9d1db;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  min-width: 5rem;
  display: inline-block;
}
