@media (max-width: 52rem) {
  form.filters { grid-template-columns: repeat(2,minmax(0,1fr)); }

}
@media (max-width: 39rem) {
  body { font-size: 16px; }
  .app-header-inner { min-height: 4.8rem; gap: .75rem; }
  .app-brand svg { width: 3.65rem; }
  .app-brand-name { display: none; }
  .account-nav { gap: .45rem; }
  .account-link, .header-nav-cta { padding-inline: .7rem; }
  .header-nav-long { display: none; }
  .header-nav-short { display: inline; }
  .account-menu > summary { padding-right: .4rem; }
  .account-menu-label { display: none; }
  .app-main { padding-top: 1rem; }
  .step-intro { grid-template-columns: minmax(0,1fr) auto; gap: .8rem; padding: 1.1rem; }
  .step-intro h1 { font-size: clamp(1.65rem,8vw,2.2rem); }
  .step-intro-copy > p:last-child:not(.eyebrow) { font-size: .9rem; }
  .step-status-mark { width: 2.8rem; height: 2.8rem; font-size: 1.15rem; }
  .step-intro-meta { display: none; }
  .case-nav {
    width: 100% !important; max-width: 100%; flex-wrap: nowrap !important;
    overflow-x: auto; overscroll-behavior-inline: contain;
  }
  .case-nav a { flex: 0 0 auto !important; white-space: nowrap; }
  form.filters { grid-template-columns: 1fr; padding: 1rem; }
  .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats li { min-height: 7.3rem; }
  .stats b { font-size: 1.7rem; }
  dl.facts { grid-template-columns: 1fr; gap: .15rem; }
  dl.facts dd { margin-bottom: .65rem; }
  .wizard-actions { align-items: stretch; flex-direction: column; }
  .wizard-action-group { display: grid; width: 100%; }
  .wizard-actions form,
  .wizard-actions form button,
  .wizard-actions .secondary-action,
  .wizard-actions .wizard-next-action,
  .wizard-actions .wizard-support-action {
    width: 100%; min-width: 0; justify-content: center;
  }
}
@media (max-width: 22rem) {
  .stats { grid-template-columns: 1fr; }
}
