.chico-botao{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:2100;display:flex;align-items:center;gap:8px;border:0;background:var(--painel,#fff);color:var(--tinta,#0f2a22);border-radius:40px;padding:5px 14px 5px 5px;box-shadow:0 4px 14px rgba(0,0,0,.35);cursor:pointer;font:inherit;font-weight:700}
.chico-botao img{width:52px;height:52px;display:block}
.chico-botao[hidden]{display:none}
.chico-balao{position:fixed;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:2100;max-width:300px;background:var(--painel,#fff);color:var(--tinta,#0f2a22);border:2px solid var(--ocre,#c88a17);border-radius:14px;padding:12px 14px;box-shadow:0 6px 20px rgba(0,0,0,.3);font-size:.98rem}
.chico-balao::after{content:"";position:absolute;right:34px;bottom:-9px;width:14px;height:14px;background:var(--painel,#fff);border-right:2px solid var(--ocre,#c88a17);border-bottom:2px solid var(--ocre,#c88a17);transform:rotate(45deg)}
.chico-balao p{margin:0 0 10px;padding-right:22px}
.chico-balao .acoes{display:flex;gap:8px;flex-wrap:wrap}
.chico-btn{border:0;border-radius:20px;padding:8px 14px;background:var(--verde,#14452f);color:var(--verde-txt,#fff);font:inherit;font-weight:700;cursor:pointer}
.chico-btn.sec{background:transparent;color:var(--tinta,#0f2a22);border:1.5px solid var(--linha,#c6d5cd)}
.chico-fechar-balao{position:absolute;top:4px;right:8px;border:0;background:none;font-size:1.2rem;cursor:pointer;color:var(--suave,#3f544b)}
.chico-janela{position:fixed;right:20px;bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:2200;width:380px;max-width:calc(100vw - 24px);height:min(600px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--painel,#fff);color:var(--tinta,#0f2a22);border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.4);overflow:hidden;border:1.5px solid var(--linha,#c6d5cd)}
.chico-janela[hidden]{display:none}
.chico-topo{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--verde,#14452f);color:var(--verde-txt,#fff)}
.chico-topo img{width:46px;height:46px;background:#fff;border-radius:50%}
.chico-topo b{display:block;font-size:1.1rem}
.chico-topo small{opacity:.9}
.chico-topo .x{margin-left:auto;border:0;background:rgba(255,255,255,.15);color:inherit;width:36px;height:36px;border-radius:50%;font-size:1.3rem;cursor:pointer}
.chico-corpo{flex:1;overflow-y:auto;padding:14px;background:var(--fundo,#eef3f0)}
.chico-msg{max-width:88%;margin:0 0 10px;padding:10px 12px;border-radius:14px;line-height:1.45;font-size:1rem;white-space:pre-line}
.chico-msg.dele{background:var(--painel,#fff);border:1.5px solid var(--linha,#c6d5cd);border-top-left-radius:4px}
.chico-msg.sua{margin-left:auto;background:var(--verde,#14452f);color:var(--verde-txt,#fff);border-top-right-radius:4px}
.chico-opcoes{display:flex;flex-direction:column;gap:8px;margin:4px 0 12px}
.chico-opcao{text-align:left;border:1.5px solid var(--verde,#14452f);background:var(--painel,#fff);color:var(--tinta,#0f2a22);border-radius:12px;padding:10px 12px;font:inherit;cursor:pointer}
.chico-opcao:hover{background:var(--campo,#eaf1ed)}
.chico-opcao.acao{background:var(--verde,#14452f);color:var(--verde-txt,#fff);font-weight:700;text-align:center}
.chico-rodape{display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid var(--linha,#c6d5cd);background:var(--painel,#fff)}
.chico-rodape button{border:0;background:none;color:var(--verde,#14452f);font:inherit;font-weight:700;cursor:pointer;padding:6px 8px;border-radius:8px}
.chico-rodape button:hover{background:var(--campo,#eaf1ed)}
.chico-rodape .desligar{margin-left:auto;color:var(--suave,#3f544b);font-weight:400;font-size:.9rem}
.chico-tour-luz{position:fixed;z-index:2300;border-radius:12px;box-shadow:0 0 0 4px var(--ocre,#c88a17),0 0 0 9999px rgba(0,0,0,.6);pointer-events:none;transition:all .25s ease}
.chico-tour-card{position:fixed;z-index:2400;width:min(330px,calc(100vw - 24px));background:var(--painel,#fff);color:var(--tinta,#0f2a22);border-radius:14px;padding:14px;box-shadow:0 8px 30px rgba(0,0,0,.4);border:2px solid var(--ocre,#c88a17)}
.chico-tour-card .cab{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.chico-tour-card .cab img{width:44px;height:44px}
.chico-tour-card .cab small{color:var(--suave,#3f544b)}
.chico-tour-card p{margin:0 0 12px;font-size:1rem}
.chico-tour-card .acoes{display:flex;justify-content:space-between;gap:8px}
@media (max-width:780px){
  .chico-botao{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:4px}
  .chico-botao span{display:none}
  .chico-botao img{width:56px;height:56px}
  .chico-balao{right:12px;left:12px;max-width:none;bottom:calc(82px + env(safe-area-inset-bottom,0px))}
  .chico-janela{right:0;left:0;bottom:0;width:100%;max-width:none;height:80vh;height:80dvh;border-radius:18px 18px 0 0}
  .chico-msg{font-size:1.02rem}
}
@media (prefers-reduced-motion: reduce){.chico-tour-luz{transition:none}}
