/* O chat tem estilos próprios e não depende do Tailwind do site. */
#talita-root { --talita-ink: #213d54; --talita-blue: #2f4b64; --talita-muted: #6b7a83; --talita-line: #e5e9ec; --talita-paper: #f7f8f8; font-family: 'Lato', system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--talita-ink); }
#talita-root *, #talita-root *::before, #talita-root *::after { box-sizing: border-box; }
#talita-root [hidden] { display: none !important; }
#talita-root button, #talita-root textarea, #talita-root a { font: inherit; -webkit-tap-highlight-color: transparent; }
#talita-root button { cursor: pointer; }
#talita-root button:disabled { cursor: wait; opacity: .5; }
#talita-root button:focus-visible, #talita-root a:focus-visible, #talita-root summary:focus-visible { outline: 3px solid #7ea9ca; outline-offset: 3px; }
#talita-root svg { width: 20px; height: 20px; flex: 0 0 auto; }
#talita-root .talita-launcher { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 2147483000; display: flex; align-items: center; gap: 12px; border: 1px solid #ffffff30; border-radius: 50px; padding: 12px 21px 12px 13px; background: var(--talita-blue); color: white; box-shadow: 0 8px 30px #142c4833; transition: transform .18s, background .18s; text-align: left; }
#talita-root .talita-launcher:hover { transform: translateY(-3px); background: #244158; }
#talita-root .talita-launcher > svg { width: 31px; height: 31px; padding: 3px; }
#talita-root .talita-launcher strong { display: block; font-family: 'New Order', 'Lato', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .2px; }
#talita-root .talita-launcher small { display: block; color: #d6e3ed; font-size: 11px; letter-spacing: .15px; }
#talita-root .talita-panel { position: fixed; z-index: 2147483001; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); width: min(412px, calc(100vw - 32px)); height: min(676px, calc(100vh - 48px)); height: min(676px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: white; border: 1px solid #dae2e8; box-shadow: 0 18px 70px #0c253c33, 0 2px 10px #0c253c0d; animation: talita-enter .2s ease-out; }
#talita-root .talita-header { flex-shrink: 0; display: flex; align-items: center; gap: 11px; padding: 19px 18px; color: white; background: var(--talita-blue); }
#talita-root .talita-brandmark { display: grid; place-items: center; width: 40px; height: 40px; background: #ffffff14; border: 1px solid #ffffff24; border-radius: 13px; }
#talita-root .talita-brandmark svg { width: 25px; height: 25px; }
#talita-root .talita-heading { flex: 1; min-width: 0; }
#talita-root .talita-heading h2 { margin: 0; font-family: 'New Order', 'Lato', sans-serif; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: .2px; color: white; }
#talita-root .talita-heading p { margin: 3px 0 0; font-size: 11px; color: #d3e0e8; }
#talita-root .talita-icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 0; border-radius: 9px; background: transparent; color: inherit; }
#talita-root .talita-icon-button:hover { background: #ffffff1c; }
#talita-root .talita-icon-button svg { width: 18px; height: 18px; }
#talita-root .talita-thread { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd5dd transparent; padding: 22px 20px 14px; background: linear-gradient(180deg, #f5f7f9 0, #fff 240px); }
#talita-root .talita-welcome { margin: 0 0 22px; }
#talita-root .talita-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #7e8f9b; margin: 0 0 8px; }
#talita-root .talita-welcome h3 { font-family: 'New Order', 'Lato', sans-serif; margin: 0 0 10px; color: #243f55; font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: -.6px; }
#talita-root .talita-welcome p:not(.talita-eyebrow) { margin: 0; color: #667680; font-size: 13px; line-height: 1.7; }
#talita-root .talita-chips { display: flex; flex-direction: column; gap: 7px; margin: 16px 0 22px; }
#talita-root .talita-chip { display: flex; align-items: center; justify-content: space-between; text-align: left; width: 100%; padding: 11px 13px; border: 1px solid #dfe6ec; border-radius: 11px; background: #fff; color: #38536a; font-size: 12px; transition: background .15s, border-color .15s; }
#talita-root .talita-chip:hover { background: #edf3f7; border-color: #a9bfce; }
#talita-root .talita-chip svg { width: 15px; height: 15px; color: #839aa9; }
#talita-root .talita-message { margin: 0 0 19px; max-width: 100%; }
#talita-root .talita-message-label { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #7b8c97; }
#talita-root .talita-message-body { font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; color: #304a5d; }
#talita-root .talita-message-body strong { font-weight: 700; color: #203e55; }
#talita-root .talita-message-body.talita-typewriter::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.13em; border-radius: 1px; background: #6d8da5; animation: talita-caret .85s step-end infinite; }
#talita-root .talita-message-user { display: flex; flex-direction: column; align-items: flex-end; margin-top: 18px; }
#talita-root .talita-message-user .talita-message-body { max-width: 90%; padding: 10px 13px; border: 1px solid #e0e7ed; border-radius: 13px 13px 3px 13px; background: #eef3f6; color: #243d50; }
#talita-root .talita-reply-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
#talita-root .talita-reply-links a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; background: #eef4f7; color: #284d69; border: 1px solid #d8e4ec; border-radius: 9px; font-size: 11px; font-weight: 700; line-height: 1.4; text-decoration: none; }
#talita-root .talita-reply-links a:hover { background: #dfeaf1; }
#talita-root .talita-reply-links svg { width: 14px; height: 14px; }
#talita-root .talita-typing { display: flex; align-items: center; gap: 5px; height: 25px; }
#talita-root .talita-typing i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #8fa5b5; animation: talita-breathe 1.1s infinite ease-in-out; }
#talita-root .talita-typing i:nth-child(2) { animation-delay: .15s; }
#talita-root .talita-typing i:nth-child(3) { animation-delay: .3s; }
#talita-root .talita-typing span { color: #7c8f9d; font-size: 11px; margin-left: 6px; }
#talita-root .talita-error { margin: 12px 0 18px; padding: 12px; border: 1px solid #e8dccb; border-radius: 12px; color: #785b32; background: #fcf9f3; font-size: 12px; line-height: 1.65; }
#talita-root .talita-error p { margin: 0; }
#talita-root .talita-retry { display: inline-block; background: transparent; border: 0; border-bottom: 1px solid currentColor; color: #785b32; font-size: 11px; padding: 2px 0; margin-top: 8px; }
#talita-root .talita-bottom { flex-shrink: 0; border-top: 1px solid var(--talita-line); padding: 12px 15px 11px; background: white; }
#talita-root .talita-contacts { display: flex; gap: 7px; margin-bottom: 10px; align-items: center; justify-content: center; }
#talita-root .talita-contacts a { display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; padding: 5px 8px; color: #687f90; font-size: 10px; text-decoration: none; }
#talita-root .talita-contacts a:hover { background: #f0f4f7; color: #244a66; }
#talita-root .talita-contacts svg { width: 12px; height: 12px; }
#talita-root .talita-compose { display: flex; gap: 8px; align-items: flex-end; padding: 9px 9px 9px 13px; border: 1px solid #dce4e9; border-radius: 13px; background: #f8fafa; transition: border-color .15s; }
#talita-root .talita-compose:focus-within { border-color: #7495ad; }
#talita-root .talita-compose textarea { display: block; width: 100%; min-height: 34px; max-height: 110px; padding: 5px 0; border: 0; background: transparent; resize: none; outline: none; box-shadow: none; color: #29465c; font-size: 13px; line-height: 24px; }
#talita-root .talita-compose textarea::placeholder { color: #8c9ba5; }
#talita-root .talita-send { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; background: var(--talita-blue); color: white; border: 0; border-radius: 9px; }
#talita-root .talita-send:hover { background: #21435e; }
#talita-root .talita-send:disabled { opacity: .3; cursor: default; }
#talita-root .talita-send svg { width: 18px; height: 18px; }
#talita-root .talita-composer-meta { min-height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 3px 0; color: #8898a4; font-size: 9px; }
#talita-root .talita-composer-meta details { max-width: 90%; }
#talita-root .talita-composer-meta summary { cursor: pointer; width: fit-content; }
#talita-root .talita-composer-meta details p { margin: 5px 0; font-size: 10px; line-height: 1.6; color: #728491; }
#talita-root .talita-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes talita-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes talita-caret { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes talita-breathe { 0%, 70%, 100% { opacity: .35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 520px) {
  #talita-root .talita-launcher { bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; padding: 11px 17px 11px 12px; }
  #talita-root .talita-panel { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); height: min(700px, calc(100vh - 24px)); height: min(700px, calc(100dvh - 24px)); border-radius: 18px; }
  #talita-root .talita-thread { padding: 19px 17px 12px; }
  #talita-root .talita-compose textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #talita-root *, #talita-root *::before, #talita-root *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
