#qform .fgrid > label { min-width: 0; }
#qform .quote-room-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#qform .quote-room-counts > label { min-width: 0; }
#qform .quote-room-counts[hidden] { display: none; }
#qform select { padding-right: 42px; text-overflow: ellipsis; }
#qform .referred-by[hidden] { display: none; }
@media (max-width: 640px) {
  #qform .quote-room-counts select { padding-left: 8px; padding-right: 28px; background-position: right 8px center; }
}
@media (max-width: 360px) {
  #qform .quote-room-counts select { padding-left: 4px; padding-right: 15px; background-position: right 2px center; background-size: 10px 10px; }
}

/* Referral line under the quote "thanks" message (js/main.js). */
.form__ref { margin: 6px 0 0; color: var(--navy); font-size: 15px; }
.form__ref[hidden] { display: none; }
