/* Shared by the app and public quote builder. Rules 21 and P4.
   Safari's native date/time controls have an intrinsic width and center their
   value. Reset the control and its value, rather than clipping each form. */
:root input:is([type="date"], [type="time"], [type="datetime-local"]) {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  text-align: left;
}
:root input:is([type="date"], [type="time"], [type="datetime-local"])::-webkit-date-and-time-value {
  text-align: left;
  margin: 0;
  min-height: 1.2em;
}
:root input:is([type="date"], [type="time"], [type="datetime-local"])::-webkit-datetime-edit {
  padding: 0;
}

/* A field or a content column must be allowed to shrink inside a grid/flex row.
   Long names, addresses and emails wrap instead of setting the track minimum. */
:where(form, fieldset, label, article, section, .pf, .wiz-f, .pair, .group) {
  min-width: 0;
}
:where(.pair, .profile-form, .wiz-row, .mailbox-booking-pair, .inc-range-form, .asg-times) > * {
  min-width: 0;
}
:where(body, p, h1, h2, h3, h4, dd, dt, a, button, label, summary, td, th) {
  overflow-wrap: anywhere;
}

/* A summary label keeps its word intact; the value beside it yields the space. */
.ne-fold > summary > :is(.ne-fold-add, .ne-fold-label) { flex: none; }
.ne-fold > summary > .ne-fold-value { min-width: 0; }
