/* Phone-only touch-ups for the public pages and the sign-in pages (audit QD-25, 2026-11-10).
   Every rule sits inside the phone breakpoint, so tablets and desktops are untouched, and every selector starts from the
   public (.qd-pub) or sign-in (.qd-auth-body) page body, so the app itself never sees them. Loaded after every other stylesheet. */
@media (max-width: 767.98px) {
  /* 44px tap targets: the header button, the language button and the main button of each sign-in form */
  .qd-pub .qd-pub__acts .btn-primary { display: inline-flex; align-items: center; min-height: 44px; }
  .qd-pub .qd-langbtn, .qd-auth-body .qd-langbtn { min-height: 44px; }
  .qd-auth-body .qd-auth__card .btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }

  /* footer links: room for a finger between them */
  .qd-pub .qd-pub__foot nav a { padding: 10px 0; }
  .qd-pub .qd-credit a, .qd-auth-body .qd-credit a { display: inline-block; padding-block: 10px; }

  /* card text no smaller than 16px on a phone (the large feature card is already bigger) */
  .qd-pub .qd-vw p, .qd-pub .qd-feat:not(.qd-feat--a) p { font-size: 1rem; }

  /* Bangla script needs more line height than Latin in running text */
  html[lang="bn"] .qd-pub .qd-land__lead, html[lang="bn"] .qd-pub .qd-sec__head p, html[lang="bn"] .qd-pub .qd-vw p,
  html[lang="bn"] .qd-pub .qd-feat p, html[lang="bn"] .qd-pub .qd-qa__copy p, html[lang="bn"] .qd-pub .qd-steps p,
  html[lang="bn"] .qd-pub .qd-faq details p, html[lang="bn"] .qd-pub .qd-endcta p, html[lang="bn"] .qd-pub .qd-pub__foot-brand p,
  html[lang="bn"] .qd-pub .qd-legal p, html[lang="bn"] .qd-pub .qd-legal li { line-height: 1.7; }
}
