/* Barra inferior do celular e rodapé compacto (04/12/2026) */
.bar-cel{display:none}
@media (max-width:760px){
  html.has-bar-cel body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .bar-cel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line,#E5E1D8);padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px rgba(20,40,65,.08)}
  .bar-cel button{all:unset;box-sizing:border-box;position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;border-radius:12px;color:var(--muted,#6B7A90);font:600 10.5px/1.1 inherit;font-family:inherit;-webkit-tap-highlight-color:transparent}
  .bar-cel button.on{color:#1E3A5C;background:#EEF1F6}
  .bar-cel button:focus-visible{outline:2px solid #1E3A5C}
  .bar-cel .bc-n{position:absolute;top:2px;left:calc(50% + 9px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:#4E0000;color:#fff;font:700 10px/16px inherit;font-family:inherit;font-style:normal;text-align:center}
  @media (max-width:380px){.bar-cel button{font-size:9.5px;letter-spacing:-.01em}}
  /* o botão flutuante da Vallore IA e a faixa da demonstração sobem para não ficarem sobre a barra */
  html.has-bar-cel .ai-fab{bottom:calc(76px + env(safe-area-inset-bottom))!important}
  html.has-bar-cel .demo-tag{bottom:calc(76px + env(safe-area-inset-bottom))!important}
  /* some quando há janela, tela de post ou barra de aprovação aberta */
  html:has(#modal-root:not(:empty)) .bar-cel{display:none}
  html:has(#modal-root:not(:empty)).has-bar-cel body{padding-bottom:0}
  /* rodapé institucional menor */
  html.vx .foot{padding:18px 16px!important;font-size:11.5px;line-height:1.5}
  html.vx .foot .vs-frase{font-size:16px;margin:0 0 6px}
}
