/* Expert application — the page uses the full width, fields sit side by side: four across on a wide screen, two on a
   tablet, one on a phone. Rows of two share the width evenly; lists of choices pair up in halves. */
.pr-step.ex-wide { max-width: none; }
.ex-wide .ex-otp, .ex-wide > .pr-note, .ex-wide .pr-party { max-width: 46rem; }
.ex-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.25rem; align-items: start; }
.ex-form > * { grid-column: 1 / -1; min-width: 0; margin-bottom: 0; }
.ex-form > .form-row { display: contents; }
.ex-form > .form-row > .field-group { grid-column: auto; min-width: 0; margin: 0; }
.ex-form > .form-row:not(.ex-pack) > .field-group:first-child:nth-last-child(2), .ex-form > .form-row:not(.ex-pack) > .field-group:last-child:nth-child(2) { grid-column: span 2; }
.ex-form > .ex-half { grid-column: span 2; }
.ex-form > .section-label { margin: 1rem 0 0; }
.ex-form > .section-label:first-of-type { margin-top: 0; }
.ex-form .ex-checks { grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.ex-form .ex-idf .ex-rate-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ex-form .ex-rate .ex-rate-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); }
.ex-form .ex-rate-row .field-group { margin: 0; min-width: 0; }
.ex-form > button[type="submit"], .ex-form > .btn { justify-self: start; }
@media (max-width: 1199px) {
  .ex-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-form > .form-row:not(.ex-pack) > .field-group:first-child:nth-last-child(2), .ex-form > .form-row:not(.ex-pack) > .field-group:last-child:nth-child(2) { grid-column: auto; }
  .ex-form > .ex-half { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .ex-form { grid-template-columns: minmax(0, 1fr); }
  .ex-form .ex-rate .ex-rate-row, .ex-form .ex-idf .ex-rate-row { grid-template-columns: minmax(0, 1fr); }
  .ex-form .ex-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* two choices a row on a phone */
}
