.bv-number-response { min-inline-size: 0; padding: 0; margin: 1em 0; border: 0; }
.bv-number-response legend { padding: 0; margin-bottom: .55em; font-weight: 700; }
.bv-number-response [hidden] { display: none !important; }
.bv-number-response .bv-fraction-entries { display: inline-flex; max-width: 100%; gap: .45em; align-items: center; }
.bv-number-response .bv-fraction-stack { display: grid; grid-template-rows: auto 2px auto; gap: 4px; justify-items: center; }
.bv-fraction-stack::after { grid-row: 2; grid-column: 1; content: ""; width: 100%; height: 2px; background: currentColor; }
.bv-number-response .bv-fraction-entries input {
  box-sizing: border-box; width: 6.5em; max-width: 27vw; min-width: 0; min-height: 44px;
  padding: .35em .2em; text-align: center; font: inherit; font-variant-numeric: tabular-nums;
  border: 1px solid #729285; border-radius: 6px; color: inherit; background: white;
}
.bv-number-response .bv-fraction-stack input { width: 5.8em; grid-column: 1; }
.bv-fraction-stack [data-numerator] { grid-row: 1; }
.bv-fraction-stack [data-denominator] { grid-row: 3; }
.bv-number-response .bv-answer-switch { min-height: 44px; padding: .3em 0; color: #235b49; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.bv-number-response .bv-answer-unit { overflow-wrap: anywhere; }
@media print { .bv-number-response .bv-answer-switch { display: none; } }
