#preapply-app .preapply-payment { margin: 16px 0; padding: 20px; border: 1px solid var(--line); overflow-wrap: anywhere; }
#preapply-app .preapply-payment-choice { display: flex; gap: 8px; align-items: center; min-height: 44px; }
#preapply-app .preapply-payment-choice input { flex: none; }

/* Application page only, at the shared phone breakpoint of style.css. */
@media (max-width: 480px) {
  /* W5: each field is its own row, its name above the control and the control as wide as the row. A checkbox row keeps the box and its text on one line. */
  #preapply-app .field { display: block; margin: 0 0 12px; }
  #preapply-app .field[hidden] { display: none; }
  #preapply-app .field > span:first-child, #preapply-app .field > small { display: block; }
  #preapply-app .field > input:not([type="checkbox"]), #preapply-app .field > select, #preapply-app .field > textarea { display: block; width: 100%; }
  /* School-record box: a row's number box and its note are shown only when they have something to show. This rule weighs the same
     as the one above that makes a control a block, so it has to come after it: before it, a hidden number box stayed on screen. */
  #preapply-app .field > input[hidden], #preapply-app .field > small[hidden] { display: none; }
  /* W4: below 16px iOS zooms in when a control gets focus. */
  #preapply-app input, #preapply-app select, #preapply-app textarea { font-size: 16px; }
}

#preapply-app .preapply-guest-contact > a,
#preapply-app [data-role="phone-limit"] > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  vertical-align: middle;
  white-space: nowrap;
}
