/* Bizgix native WebView presentation; active only with ?app=ios */
@media (max-width: 700px) {
  html.bgx-ios-ui, html.bgx-ios-ui body { width:100%; max-width:100%; min-width:0; }
  html.bgx-ios-ui { overflow-x:clip; -webkit-text-size-adjust:100%; }
  html.bgx-ios-ui body { overflow-x:clip; }
  html.bgx-ios-ui #app, html.bgx-ios-ui #content { min-width:0; max-width:100%; }
  html.bgx-ios-ui #content { box-sizing:border-box; }
  html.bgx-ios-ui #content .welcome { padding:16px !important; margin-bottom:12px !important; border-radius:14px !important; }
  html.bgx-ios-ui #content .welcome h1 { font-size:21px !important; line-height:1.25 !important; }
  html.bgx-ios-ui #content .welcome p { font-size:12px !important; line-height:1.5 !important; }
  html.bgx-ios-ui #content .welcome-art { display:none !important; }
  html.bgx-ios-ui #content .preview-notice { padding:10px 12px !important; font-size:12px !important; line-height:1.45 !important; }
  html.bgx-ios-ui #content .metrics { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
  html.bgx-ios-ui #content .metric { padding:12px !important; min-width:0 !important; border-radius:12px !important; }
  html.bgx-ios-ui #content .metric-icon { width:32px !important; height:32px !important; }
  html.bgx-ios-ui #content .metric-label { font-size:11px !important; line-height:1.35 !important; }
  html.bgx-ios-ui #content .dashboard-grid { grid-template-columns:minmax(0,1fr) !important; gap:12px !important; }
  html.bgx-ios-ui #content .dashboard-grid .panel { padding:14px !important; min-width:0 !important; }
  html.bgx-ios-ui #content .v49-wrap { width:100% !important; max-width:100% !important; padding:12px 10px 28px !important; }
  html.bgx-ios-ui #content .v49-head { padding:14px !important; }
  html.bgx-ios-ui #content .v49-head h1 { font-size:22px !important; }
  html.bgx-ios-ui #content .v49-panel { min-width:0 !important; }
  html.bgx-ios-ui #content .v49-scroll, html.bgx-ios-ui #content .table-responsive { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  html.bgx-ios-ui #content .action-grid { grid-template-columns:minmax(0,1fr) !important; }
  html.bgx-ios-ui #content img, html.bgx-ios-ui #content svg { max-width:100%; }
  html.bgx-ios-ui #content input, html.bgx-ios-ui #content select, html.bgx-ios-ui #content textarea { max-width:100%; }
}
