@media (max-width: 640px) {
  .ainna-page-footer,
  .ainna-page-footer-strip { box-sizing: border-box; }

  button,
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  select,
  textarea,
  summary,
  [role="button"],
  [role="tab"] {
    box-sizing: border-box;
    height: auto !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  button.ainna-theme-switch.theme-toggle,
  .ainna-nav-controls button.ainna-theme-switch.theme-toggle {
    height: auto !important;
    min-height: 44px !important;
  }
  .ainna-cookie-close,
  .ainna-cookie-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  button[aria-label="Open menu"],
  button[aria-label="Toggle menu"],
  button[aria-label="Toggle navigation"],
  #mobile-burger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    transform: none !important;
  }
  a[class~="btn"],
  a[class*="btn-"],
  a[class*="-btn"],
  a[class*="cta"],
  .hero-nav-link {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    min-height: 44px !important;
  }

  body.profile-page .hero-actions-bar,
  body.masli-theme .hero-actions-bar {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 10px !important;
    padding: 8px 10px !important;
  }
  body.profile-page .hero-actions-bar .hero-nav-links,
  body.masli-theme .hero-actions-bar .hero-nav-links {
    box-sizing: border-box;
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 5px !important;
  }
  body.profile-page .hero-actions-bar .hero-nav-link,
  body.masli-theme .hero-actions-bar .hero-nav-link {
    height: 48px !important;
    min-width: 44px !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 4px 9px !important;
    font-size: 11px !important;
  }
  body.profile-page .hero-actions-bar .hero-toggle-group,
  body.masli-theme .hero-actions-bar .hero-toggle-group {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  body.profile-page .hero-actions-bar .hero-bank-btn,
  body.masli-theme .hero-actions-bar .hero-bank-btn { min-height: 44px; }

  .mobile-toggle,
  .gov-nav-toggle,
  .ai-burger,
  .bl-burger,
  .nav-burger { min-width: 44px !important; min-height: 44px !important; }
  .mobile-toggle,
  .gov-nav-toggle { width: 44px !important; height: 44px !important; }
  .th-chip { height: 44px !important; }
  button[aria-label="Open menu"],
  button[aria-label="Toggle menu"],
  button[aria-label="Toggle navigation"] { width: 44px !important; height: 44px !important; }
  .ai-burger,
  .bl-burger { display: inline-flex; align-items: center; justify-content: center; }

  .gov-nav-cta,
  .th-chip,
  .demo-role-btn,
  .demo-filter,
  .ai-topic-chip,
  .bl-topic-chip,
  .esg-nops-strip button,
  .ce-preset-btn,
  .ce-hero-actions .ce-btn-lg,
  .ainna3d__focus button,
  .cli-guide-tab,
  .cli-guide-copy,
  .article-stat-like,
  .ainna-article-archive-sig-cta,
  .pitch-toolbar button,
  .search-box button,
  .language-switch button,
  .topbar-nav .btn,
  .ce-sound-btn,
  .ce-btn-lg,
  .ainna-footer-ticker-all,
  .demo-query-btn,
  .demo-im-step,
  .demo-analyze-btn,
  .journey-node,
  .th-chip,
  .spec-btn,
  .pagination-page-btn,
  .article-stat-like,
  .ainna-article-archive-sig-cta,
  .hero-actions-bar a,
  .pitch-search button,
  .pitch-view-toggle button,
  .pitch-sort-toggle button {
    box-sizing: border-box;
    min-height: 44px !important;
  }
  .toplinks .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px !important; }
}
