/* R50 HUMAN — copy-length and touch refinements verified in browser. */
@media (max-width: 40rem) {
  body.appointment-page .ac26-sequence__items {
    grid-template-columns: 1fr !important;
  }

  body.appointment-page .ac26-sequence__item:last-child {
    grid-column: auto !important;
  }
}

/* R50.4 recovery — live form/instrument visual defects found in hosted E2E QA. */
/* Programare: redesign-2026.css applies width:100% to every input inside .ac26-form-shell.
   Restore intrinsic checkbox sizing so consent/help text keeps the full content column. */
body.ac29-r14.appointment-page #formular .p2-consent input,
body.ac29-r14.appointment-page #formular .p2-check-grid input[type="checkbox"],
body.ac29-r14.appointment-page #formular input[type="radio"] {
  width:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  padding:0!important;
  flex:0 0 20px!important;
}
body.ac29-r14.appointment-page #formular .p2-consent{
  display:flex!important;
  align-items:flex-start!important;
  gap:11px!important;
  font-size:13px!important;
  line-height:1.55!important;
  min-width:0!important;
}
body.ac29-r14.appointment-page #formular .p2-consent>span{
  display:block!important;
  min-width:0!important;
  flex:1 1 auto!important;
  overflow-wrap:anywhere!important;
}
/* Undo the over-compressed R26 desktop density on the real intake surface. */
@media (min-width:901px){
  body.ac29-r14.appointment-page #formular .p2-field label,
  body.ac29-r14.appointment-page #formular .p2-subfieldset>legend{font-size:13px!important;line-height:1.35!important}
  body.ac29-r14.appointment-page #formular .p2-field input:not([type="checkbox"]):not([type="radio"]),
  body.ac29-r14.appointment-page #formular .p2-field select,
  body.ac29-r14.appointment-page #formular .p2-field textarea{font-size:14px!important;line-height:1.4!important}
  body.ac29-r14.appointment-page #formular .p2-field-help{font-size:12px!important;line-height:1.5!important}
  body.ac29-r14.appointment-page #formular .p2-intake-nav .p2-btn{min-height:42px!important;padding:0 18px!important;font-size:13px!important}
  body.ac29-r14.appointment-page #formular .p2-field-intro{font-size:12.5px!important;line-height:1.5!important}
  body.ac29-r14.appointment-page #formular .p2-choice-grid strong,
  body.ac29-r14.appointment-page #formular .p2-choice-grid small{display:block!important}
  body.ac29-r14.appointment-page #formular .p2-choice-grid strong{font-size:15px!important;line-height:1.25!important}
  body.ac29-r14.appointment-page #formular .p2-choice-grid small{font-size:11.5px!important;line-height:1.4!important;margin-top:4px!important}
  body.ac29-r14.appointment-page #formular .p2-check-grid label{font-size:12.5px!important;line-height:1.4!important}
}
@media (min-width:901px) and (max-width:1180px){
  body.ac29-r14.appointment-page #formular .p2-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ac29-r14.appointment-page #formular .p2-choice-grid label:nth-child(3n){border-right:1px solid var(--ac26-line)!important}
  body.ac29-r14.appointment-page #formular .p2-choice-grid label:nth-child(2n){border-right:0!important}
}
/* Site audit: protect both consent rows and the final lead action against width/clipping regressions. */
body.audit-tool-page .audit-confirm{display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0!important;white-space:normal!important}
body.audit-tool-page .audit-confirm input[type="checkbox"]{width:20px!important;min-width:20px!important;max-width:20px!important;flex:0 0 20px!important;padding:0!important}
body.audit-tool-page .audit-confirm>span{display:block!important;min-width:0!important;flex:1 1 auto!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.audit-tool-page .audit-lead-form .btn{justify-self:start!important;min-width:0!important;white-space:normal!important}
