/* Keep the existing companion beside the explanation so the first field stays in reach. */
@media (max-width:760px), (max-height:500px) and (pointer:coarse) {
  body.contact-simple #main .cf-intro .gx-page-heading > .gx-page-dog { display:none!important; }
  body.contact-simple #main .cf-intro .gx-intro-summary {
    display:grid!important;grid-template-columns:minmax(0,1fr) 64px;gap:12px!important;
    align-items:center;margin-top:12px!important;
  }
  body.contact-simple #main .cf-intro .gx-intro-summary > p {
    margin:0!important;min-width:0;font-size:14px!important;line-height:1.8!important;
  }
  body.contact-simple #main .cf-intro .gx-intro-summary > .gx-mobile-companion {
    display:block!important;width:64px!important;height:64px!important;min-height:0!important;
    margin:0!important;align-self:center;
  }
  body.contact-simple #main .cf-intro .gx-intro-summary > .gx-mobile-companion > .gx-dog-pose {
    height:100%!important;
  }
  body.contact-simple #main .cf-intro h1 { padding-top:16px!important;margin-bottom:12px!important; }
  body.contact-simple #main #contact-form .cf-required-note { margin-bottom:16px!important; }
  body.contact-simple #main #contact-form :is(input:not([type=hidden]),select,textarea) {
    scroll-margin-top:124px;scroll-margin-bottom:24px;
  }
}

@media (pointer:coarse) {
  body.contact-simple.contact-form-compact-view > #top { position:static!important; }
}
