#quotes-form .p42-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#quotes-form fieldset { min-inline-size:0; margin:0; }
#quotes-form input, #quotes-form select { width:100%; max-width:100%; box-sizing:border-box; }
#quotes-form label { font-weight:600; }
#quotes-form button { margin-block:18px; }
#quotes-results table { width:100%; table-layout:fixed; overflow-wrap:anywhere; }
#quotes-results th, #quotes-results td { text-align:left; vertical-align:top; }
@media (max-width:560px) {
  #quotes-form .p42-grid { grid-template-columns:1fr; }
  #quotes-results th, #quotes-results td { padding:8px 4px; }
}
#quotes-form [hidden] { display:none; }
#quotes-form input[type="checkbox"] { width:auto; }
#quotes-results [hidden] { display:none; }
@media print {
  body > :not(main), main > :not(#quotes-results), #quotes-print { display:none !important; }
  main, #quotes-results { margin:0; padding:0; max-width:none; }
  #quotes-results thead { display:table-header-group; }
  #quotes-results tr { break-inside:avoid; }
}
