/* v0.6.6 (Kleversom 22/11 10:55 — "tela inicial buga ao abrir o teclado"; print 2026-11-22_1050).
   Antes: só a barra subia com o teclado (translateY de --kx-kb) e a entidade + frase continuavam centralizadas
   na tela inteira, então a barra parava POR CIMA delas. Agora, com o teclado aberto na tela INICIAL do celular,
   o painel inteiro tem a altura visível (--kx-vvh, do visualViewport): topo (☰ e sino) em cima, barra colada
   acima do teclado (no fluxo, sem translate) e a saudação centralizada no espaço que sobra entre os dois.
   Se não couber: encolhe (kx66-sm: entidade 32 px, frase em 1 linha); no limite some com fade (kx66-off).
   A conversa (kx-chat-live) segue com as regras de antes. A barra é a mesma da v0.6.3 (nada muda nela). */
@media (max-width:700px){
  html body.kx-v-chat.kx-kb:not(.kx-chat-live) main.main-panel{
    min-height:0!important;height:var(--kx-vvh,100dvh)!important;overflow:hidden!important;top:var(--kx-vvt,0px)}
  html body.kx-v-chat.kx-kb:not(.kx-chat-live) #kxChat.on{
    min-height:0!important;height:calc(var(--kx-vvh,100dvh) - var(--kx-chtop,123px))!important;padding:0!important;justify-content:flex-end!important}
  html body.kx-v-chat.kx-kb:not(.kx-chat-live) #kxChat .kx-hero{
    flex:1 1 auto!important;min-height:0!important;padding:0 0 8px!important;justify-content:center!important;overflow:hidden}
  html body.kx-v-chat.kx-kb:not(.kx-chat-live) #kxChat .kx-dock{transform:none!important;flex:none!important;transition:none!important}
  /* saudação: entra/encolhe/some suave (sem pulo ao abrir e fechar o teclado) */
  html body.kx-v-chat:not(.kx-chat-live) #kxChat .kx-hero .kx-hi{transition:opacity .18s ease,transform .18s ease,visibility 0s linear 0s}
  html body.kx-v-chat.kx-kb.kx66-sm:not(.kx-chat-live) #kxChat .kx-hero .kx-orbw{width:32px!important;height:32px!important;min-width:32px!important}
  html body.kx-v-chat.kx-kb.kx66-sm:not(.kx-chat-live) #kxGreet{font-size:1.05rem!important;line-height:1.3!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;max-width:calc(100vw - 96px)!important}
  html body.kx-v-chat.kx-kb.kx66-off:not(.kx-chat-live) #kxChat .kx-hero .kx-hi{opacity:0!important;transform:translateY(6px);pointer-events:none;
    visibility:hidden;transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
}
