/* NanoSys KBFIX2: preserve KBFIX1 and add organizational chat keyboard viewport safety */
@media(max-width:760px){
  body.ns-kb-viewport #app{bottom:auto!important;height:var(--ns-visual-height,100dvh)!important;min-height:0!important;max-height:var(--ns-visual-height,100dvh)!important}
  body.ns-kb-viewport #app .messenger.ns-r62-messenger{height:var(--ns-visual-height,100dvh)!important;min-height:0!important;max-height:var(--ns-visual-height,100dvh)!important}
  body.ns-kb-viewport #app .messenger.chat-open>.chat-pane{bottom:auto!important;height:var(--ns-visual-height,100dvh)!important;min-height:0!important;max-height:var(--ns-visual-height,100dvh)!important}
  body.ns-kb-viewport #app .messenger .composer-wrap{padding-bottom:max(6px,env(safe-area-inset-bottom))!important}
  body.ns-org-open.ns-kb-viewport .ns-primary-nav{display:none!important}
  body.ns-org-open.ns-kb-viewport .ns-org-workspace{inset:0!important;bottom:auto!important;height:var(--ns-visual-height,100dvh)!important;min-height:0!important;max-height:var(--ns-visual-height,100dvh)!important}
  body.ns-org-open.ns-kb-viewport .ns-org-body{min-height:0!important}
  body.ns-org-open.ns-kb-viewport .ns-org-main{min-height:0!important}
  body.ns-org-open.ns-kb-viewport .ns-org-chat{min-height:0!important;height:100%!important}
  body.ns-org-open.ns-kb-viewport .ns-org-messages{min-height:0!important}
  body.ns-org-open.ns-kb-viewport .ns-org-composer{padding-bottom:max(7px,env(safe-area-inset-bottom))!important}
}
