/* Home A Loan Mortgage v340 mobile CRM/public safety overrides */
@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  img, video, iframe { max-width: 100%; height: auto; }
  table { display: block; width: 100%; overflow-x: auto; }
  .container, .wrap, .page, .content, .main, .dashboard, .crm-content, .portal-content { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
  .grid, .cards, .dashboard-grid, .portal-grid, .kpi-grid, .command-grid { grid-template-columns: 1fr !important; }
  .sidebar, .crm-sidebar { position: static !important; width: 100% !important; min-height: auto !important; }
  .btn, button, input, select, textarea { max-width: 100%; box-sizing: border-box; }
  input, select, textarea { width: 100%; }
}

#lead-popup,.lead-popup,.popup-modal,.modal-overlay{display:none!important;visibility:hidden!important;opacity:0!important;}
