/* Multiline proportional sizing for Person/s Involved, ID Number,
   and Specific Accident / Incident Location. This file intentionally
   overrides only these three fields and leaves the rest of the form unchanged. */

/* Give the combined Person/s and ID cells more usable writing space. */
.people-cell,
.id-cell {
  padding-bottom: 1mm !important;
}

.people-cell label,
.id-cell label {
  min-height: 23mm;
}

.people-cell textarea,
.id-cell textarea {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 20mm;
  margin-top: 1.2mm;
  padding: .5mm .7mm !important;
  font-size: 9.3pt;
  line-height: 1.28;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Increase the location row so the location can wrap across several lines. */
.people-row-location {
  height: 13mm;
}

.people-row-location .side-input {
  padding: .8mm 1.1mm !important;
}

.people-row-location .side-input textarea {
  display: block;
  width: 100%;
  height: 10.5mm !important;
  min-height: 10.5mm;
  margin: 0;
  padding: .45mm .6mm !important;
  font-size: 9.3pt;
  line-height: 1.25;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Keep the official printout clean while retaining all line breaks. */
@media print {
  .people-cell textarea,
  .id-cell textarea,
  .people-row-location .side-input textarea {
    overflow: hidden !important;
    scrollbar-width: none;
  }
}
