/* user-web · Side Panel 嵌入：隐藏顶栏/侧栏，内容区全宽 */
html.jx-sp-embed,
body.jx-sp-embed {
  min-width: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #f5f7fa !important;
}

body.jx-sp-embed #loginPage {
  display: none !important;
}

body.jx-sp-embed #mainPage {
  display: block !important;
  height: 100%;
  min-height: 0;
}

body.jx-sp-embed .jx-navbar,
body.jx-sp-embed .mobile-menu-btn,
body.jx-sp-embed .sidebar,
body.jx-sp-embed .sidebar-header {
  display: none !important;
}

body.jx-sp-embed .main-body {
  padding: 0 !important;
  height: 100%;
}

body.jx-sp-embed .main-row {
  margin: 0 !important;
  height: 100%;
}

body.jx-sp-embed .main-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 14px 20px;
  box-sizing: border-box;
}

body.jx-sp-embed .page-header {
  margin-bottom: 12px;
}

body.jx-sp-embed .page-title {
  font-size: 1.15rem;
}

body.jx-sp-embed .container-fluid.main-body {
  max-width: 100%;
}

body.jx-sp-embed .table {
  font-size: 0.8125rem;
}

body.jx-sp-embed .modal-dialog {
  max-width: calc(100vw - 24px);
  margin: 0.5rem auto;
}
