/* Desktop action controls keep their natural width and cannot shrink vertically.
   Learning cards and Hebrew word targets retain their own layout. */
@media (min-width:781px){
 .ai-hero-actions>.ai-hero-primary{min-height:54px;flex:0 0 auto;padding:14px 22px;font-size:16px;line-height:1.45;white-space:normal}
 .ai-hero-actions>.ai-hero-secondary{min-height:48px;flex:0 0 auto;font-size:15px;line-height:1.45;padding:12px 0}
 .ai-hero-actions>button>svg{flex-shrink:0}
 .home-demo-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
 #home-practice .home-demo-actions>button{flex:0 0 auto;width:auto;min-width:132px;min-height:48px;height:auto;padding:12px 18px;font-size:15px;line-height:1.5;white-space:normal}
 #home-practice .home-demo-actions>.home-begin{min-width:160px}
 .home-teacher-actions{flex-wrap:wrap;gap:12px}
 .home-teacher-actions>button{flex:0 0 auto;min-height:48px;padding:12px 18px;font-size:15px;line-height:1.5}
 .home-site-header .header-actions,.home-site-header .home-desktop-nav{flex-shrink:0}
 .home-site-header .nav-account{min-height:48px;padding:12px 18px;font-size:15px;line-height:1.5}
 .app-header :is(.app-navigation-button,.app-course-button),.app-navigation button{flex-shrink:0;min-height:44px;height:auto;line-height:1.5}
 .app-content :is(.primary,.secondary,.skip-button){flex-shrink:0;min-height:48px;height:auto;line-height:1.5}
}
