/* Scope strictly to profile page. Never hide the AI launcher elsewhere. */
body:has(form.profile-manager) .conagrim-ai-fab{display:none!important}
@media(max-width:800px){
 body:has(form.profile-manager) .profile-manager-intro .profile-main-save,
 body:has(form.profile-manager) .profile-manager-intro.cg-header-compact .profile-main-save{
   position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;
   display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
   align-items:stretch!important;justify-content:stretch!important;
   width:100%!important;max-width:none!important;box-sizing:border-box!important;gap:10px!important;
   padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;
   margin:0!important;
 }
 body:has(form.profile-manager) .profile-manager-intro .profile-main-save>.btn,
 body:has(form.profile-manager) .profile-manager-intro.cg-header-compact .profile-main-save>.btn,
 body:has(form.profile-manager) .profile-manager-intro .profile-main-save>.cg-cancel-pending,
 body:has(form.profile-manager) .profile-manager-intro.cg-header-compact .profile-main-save>.cg-cancel-pending{
   flex:1 1 0!important;min-width:0!important;width:0!important;max-width:none!important;
   height:44px!important;padding:8px 6px!important;margin:0!important;
   font-size:13px!important;white-space:nowrap!important;box-sizing:border-box!important;
 }
 body:has(form.profile-manager) .profile-main-save>.cg-cancel-pending[hidden]{display:none!important}
}
