/* OdiHub V129.1 — conversa com o ODI no estilo de app de mensagens.
   Computador: janela flutuante maior (continua arrastável). Celular: tela cheia. */
html body #odi-panel#odi-panel{width:min(400px,calc(100vw - 28px))!important;height:min(640px,calc(100dvh - 110px))!important;border-radius:20px!important;border:1px solid rgba(11,110,115,.18)!important;box-shadow:0 24px 60px rgba(4,40,46,.28)!important;background:#EAF3F1!important;overflow:hidden!important}
html body #odi-panel#odi-panel #odi-head{background:#0B5F63!important;background-image:linear-gradient(100deg,#0A4F53,#0B6E73)!important;padding:10px 10px 10px 12px!important;gap:10px!important;min-height:58px;box-sizing:border-box}
html body #odi-panel#odi-panel #odi-head #odi-avatar{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:50%!important;background:#DFF4F1!important;overflow:hidden!important;box-shadow:0 0 0 2px rgba(255,255,255,.35)!important}
html body #odi-panel#odi-panel #odi-head #odi-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
html body #odi-panel#odi-panel #odi-head strong{font-size:15.5px!important;letter-spacing:.01em}
html body #odi-panel#odi-panel #odi-head small{font-size:11.5px!important;color:#BFEDE6!important;display:flex!important;align-items:center;gap:5px}
html body #odi-panel#odi-panel #odi-head small:before{content:"";width:7px;height:7px;border-radius:50%;background:#5BE3B0;display:inline-block}
html body #odi-panel#odi-panel #odi-head button{background:rgba(255,255,255,.12)!important;color:#fff!important;border:0!important;border-radius:10px!important;min-width:34px!important;height:34px!important;font-size:18px!important;cursor:pointer}
html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat{font-size:11.5px!important;padding:0 10px!important;font-weight:700!important;white-space:nowrap}
html body #odi-panel#odi-panel #odi-body{background-color:#EAF3F1!important;background-image:radial-gradient(rgba(11,110,115,.06) 1px,transparent 1.2px)!important;background-size:16px 16px!important;padding:14px 12px 8px!important;display:flex!important;flex-direction:column!important;gap:6px!important;scroll-behavior:smooth}
html body #odi-panel#odi-panel #odi-body>.odi-msg{position:relative;align-self:flex-start;max-width:86%!important;background:#fff!important;color:#123a40!important;border:0!important;border-radius:4px 16px 16px 16px!important;padding:8px 11px 18px!important;margin:2px 0 4px 6px!important;box-shadow:0 1px 1.5px rgba(4,40,46,.13)!important;font-size:14px!important;line-height:1.45!important;min-width:64px;box-sizing:border-box}
html body #odi-panel#odi-panel #odi-body>.odi-msg:before{content:"";position:absolute;left:-6px;top:0;border-top:8px solid #fff;border-left:8px solid transparent}
html body #odi-panel#odi-panel #odi-body>.odi-msg.odi-user{align-self:flex-end;background:#D7F5EE!important;color:#0B3B42!important;border-radius:16px 4px 16px 16px!important;margin:2px 6px 4px 0!important}
html body #odi-panel#odi-panel #odi-body>.odi-msg.odi-user:before{left:auto;right:-6px;border-top-color:#D7F5EE;border-left:0;border-right:8px solid transparent}
html body #odi-panel#odi-panel #odi-body>.odi-msg .odi-hora{position:absolute;right:9px;bottom:4px;font-size:10.5px;color:#7A9A9E;line-height:1}
html body #odi-panel#odi-panel #odi-body>.odi-msg.odi-user .odi-hora{color:#5E8E87}
html body #odi-panel#odi-panel #odi-body>.odi-msg.odi-user .odi-hora:after{content:" ✓✓";color:#34B7F1;letter-spacing:-2px}
html body #odi-panel#odi-panel #odi-body .odi-card{max-width:92%;align-self:flex-start;margin-left:6px!important;border-radius:14px!important}
html body #odi-panel#odi-panel #odi-quick-actions{background:transparent!important;border:0!important;padding:4px 2px!important;justify-content:center}
html body #odi-panel#odi-panel #odi-quick-actions .odi-quick-heading{text-align:center;color:#4E7377!important}
html body #odi-panel#odi-panel .odi-quick-btn{background:#fff!important;border:1px solid #CDE7E3!important;color:#0B6E73!important;border-radius:999px!important;padding:8px 12px!important;font-size:12.5px!important;box-shadow:0 1px 1px rgba(4,40,46,.06)}
html body #odi-panel#odi-panel #odi-footnote{background:transparent!important;text-align:center;color:#6C8C90!important;padding:2px 12px 4px!important;position:relative;top:-2px}
html body #odi-panel#odi-panel #odi-form{background:#EAF3F1!important;border-top:0!important;padding:6px 10px 10px!important;gap:8px!important;align-items:flex-end}
html body #odi-panel#odi-panel #odi-question{background:#fff!important;border:0!important;border-radius:22px!important;padding:12px 16px!important;font-size:15px!important;box-shadow:0 1px 1.5px rgba(4,40,46,.13)!important;min-height:44px;box-sizing:border-box}
html body #odi-panel#odi-panel #odi-question:focus{outline:2px solid #9FE6DD!important;outline-offset:0}
html body #odi-panel#odi-panel #odi-send{width:44px!important;min-width:44px!important;height:44px!important;border-radius:50%!important;background:#0B6E73!important;color:#fff!important;font-size:18px!important;box-shadow:0 2px 6px rgba(4,40,46,.25)!important;display:grid!important;place-items:center!important;padding:0!important}
html body #odi-panel#odi-panel.odi-recolhido{height:auto!important}

/* celular: tela cheia, como abrir uma conversa */
@media (max-width:600px){
  html body #odi-panel#odi-panel{left:0!important;top:0!important;right:0!important;bottom:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;border-radius:0!important;border:0!important;box-shadow:none!important;transform:none!important;z-index:2147480000!important}
  html body #odi-panel#odi-panel #odi-head{padding-top:calc(10px + env(safe-area-inset-top))!important;min-height:calc(60px + env(safe-area-inset-top));cursor:default!important}
  html body #odi-panel#odi-panel #odi-head #odi-minimize{display:none!important}
  html body #odi-panel#odi-panel #odi-head #odi-close{order:-1;background:transparent!important;font-size:0!important;min-width:32px!important;width:32px!important}
  html body #odi-panel#odi-panel #odi-head #odi-close:before{content:"‹";font-size:34px;line-height:30px;font-weight:300}
  html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat{margin-left:auto}
  html body #odi-panel#odi-panel #odi-form{padding-bottom:calc(10px + env(safe-area-inset-bottom))!important}
  html body #odi-panel#odi-panel #odi-question{font-size:16px!important}
  html body #odi-panel#odi-panel #odi-body>.odi-msg{max-width:88%!important}
  html body.odi-chat-aberto{overflow:hidden!important}
  html body.odi-chat-aberto #odi-launcher,html body.odi-chat-aberto .oca-tabs,html body.odi-chat-aberto .oc-mobile-bottom,html body.odi-chat-aberto .oc-demo-strip{display:none!important}
}
html body #odi-panel#odi-panel #odi-head>div:not(#odi-avatar){display:flex!important;flex-direction:column!important;align-items:flex-start!important;flex:1 1 auto!important;min-width:0!important;gap:1px!important}
html body #odi-panel#odi-panel #odi-head>div:not(#odi-avatar) strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
html body #odi-panel#odi-panel #odi-head>div:not(#odi-avatar) small{white-space:nowrap!important}
html body #odi-panel#odi-panel #odi-head #odi-avatar{display:block!important}
@media (max-width:600px){
  html body #odi-panel#odi-panel #odi-head{gap:8px!important;padding-left:6px!important}
  html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat{font-size:0!important;width:38px!important;min-width:38px!important;padding:0!important}
  html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat:before{content:"📋";font-size:17px}
  html body #odi-panel#odi-panel #odi-head button{min-width:36px!important;width:36px!important;height:36px!important;padding:0!important;flex:0 0 auto!important}
}
html body #odi-panel#odi-panel #odi-head:before{content:none!important;display:none!important}
html body #odi-panel#odi-panel #odi-head strong{display:block!important;color:#fff!important}
html body #odi-panel#odi-panel #odi-head small{display:flex!important}
html body #odi-panel#odi-panel #odi-footnote{display:block!important}
html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat{font-size:0!important;width:34px!important;min-width:34px!important;padding:0!important;flex:0 0 auto!important}
html body #odi-panel#odi-panel #odi-head #odi-daily-open-from-chat:before{content:"📋";font-size:16px}
html body #odi-panel#odi-panel #odi-head>button,html body #odi-panel#odi-panel #odi-head>*:not(#odi-avatar):not(div){flex:0 0 auto!important;position:static!important}
html body #odi-panel#odi-panel #odi-head>div:not(#odi-avatar){overflow:hidden!important}
html body #odi-panel#odi-panel #odi-head>div:not(#odi-avatar) small{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body #odi-panel#odi-panel #odi-head #odi-voz svg,html body #odi-panel#odi-panel #odi-head #odi-voz-cfg svg{stroke:#fff!important}
html body #odi-panel#odi-panel #odi-head #odi-voz[aria-pressed=false] svg{stroke:rgba(255,255,255,.55)!important}
html body #odi-panel#odi-panel #odi-head #odi-voz{background:rgba(255,255,255,.12)!important}
/* V130.3: o cartão "Confere para mim" (e qualquer cartão do Odi) nunca é espremido pela conversa */
html body #odi-panel#odi-panel #odi-body>*,html body #odi-panel#odi-panel .odi-card{flex-shrink:0!important;min-height:min-content}
