/* Version: v1.2.0 (2026-07-21) | html.adm-mobile — 첫 페인트 · 하단탭 스크롤 여백 */
html.adm-mobile {
  --adm-bottom-nav-offset: calc(160px + env(safe-area-inset-bottom, 0px));
}

html.adm-mobile body.adm-body:not(.demo-console-body) .adm-sidebar,
html.adm-mobile body.adm-body:not(.demo-console-body) #admSidebar,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-overlay,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-menu-btn {
  display: none !important;
  visibility: hidden !important;
  position: fixed !important;
  left: -100vw !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

html.adm-mobile body.adm-body:not(.demo-console-body) .adm-main {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
}

html.adm-mobile body.adm-body:not(.demo-console-body) .adm-bottom-nav {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
}

/* 하단 고정 탭에 가리지 않도록 스크롤 끝 여백 */
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-content,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-content.adm-content--flush,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-form-body,
html.adm-mobile body.adm-body:not(.demo-console-body) .ptn-prod-drawer-body {
  padding-bottom: var(--adm-bottom-nav-offset) !important;
  scroll-padding-bottom: var(--adm-bottom-nav-offset) !important;
}

html.adm-mobile body.adm-body:not(.demo-console-body) .adm-lang-wrap,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-lang-btn,
html.adm-mobile body.adm-body:not(.demo-console-body) .adm-lang-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
