#sch{position:fixed;left:20px;bottom:22px;z-index:999990;font:15px/1.45 "Open Sans",system-ui,sans-serif;color:#16202b}
#sch *{box-sizing:border-box}
#sch [hidden]{display:none!important}
#sch-abrir{display:flex;align-items:center;gap:8px;height:52px;padding:0 20px;border:0;border-radius:999px;background:#084f94;color:#fff;font:600 15px/1 inherit;font-family:inherit;cursor:pointer;box-shadow:0 6px 20px rgba(8,45,84,.32)}
#sch-abrir:hover{background:#0a5fb2}
#sch-abrir:focus-visible,#sch button:focus-visible,#sch-texto:focus-visible{outline:3px solid #f5a623;outline-offset:2px}
#sch-painel{position:absolute;left:0;bottom:0;width:380px;height:min(600px,calc(100dvh - 44px));display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 14px 44px rgba(8,30,60,.32)}
#sch-painel header{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 12px 16px;background:#084f94;color:#fff}
#sch-painel header strong{display:block;font-size:16px;line-height:1.2}
#sch-painel header small{font-size:12px;opacity:.9}
#sch-fechar{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}
#sch-fechar:hover{background:rgba(255,255,255,.16)}
#sch-msgs{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:8px;background:#f3f6f9;overscroll-behavior:contain}
.sch-b{max-width:86%;padding:9px 12px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.06)}
.sch-b.sch-eu{align-self:flex-end;background:#084f94;color:#fff;border-radius:14px;border-bottom-right-radius:4px}
.sch-b a{color:#084f94;font-weight:600;text-decoration:underline}
.sch-nota{align-self:flex-start;font-size:13px;color:#5b6876;padding:2px 4px}
#sch-form{display:flex;align-items:flex-end;gap:8px;padding:10px;background:#fff;border-top:1px solid #e3e8ee}
#sch-texto{flex:1;min-height:44px;max-height:120px;resize:none;border:1px solid #c5ced8;border-radius:22px;padding:10px 14px;font:inherit;font-size:16px;color:inherit;background:#fff}
#sch-form button{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:#084f94;color:#fff;display:grid;place-items:center;cursor:pointer}
#sch-form button:disabled{background:#9aa9b9;cursor:default}
.sch-oculto{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:600px){
  #sch{left:12px;bottom:14px}
  #sch.sch-alto{bottom:84px}
  #sch-abrir{height:48px;padding:0 16px}
  #sch-painel{position:fixed;inset:0;width:auto;height:auto;border-radius:0}
}
@media (prefers-reduced-motion:no-preference){#sch-painel{animation:sch-sobe .18s ease-out}@keyframes sch-sobe{from{opacity:0;transform:translateY(10px)}}}
