.iel-chat { display: flex; flex-direction: column; min-height: 0; background: #f4f6f9; color: #202633; font-family: "Manrope", Arial, sans-serif; }
.iel-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.iel-log { flex: 1; min-height: 160px; overflow-y: auto; padding: 18px; scroll-behavior: smooth; }
.iel-msg { width: fit-content; max-width: 90%; margin: 0 0 12px; padding: 11px 14px; border-radius: 4px 16px 16px; background: #fff; color: #2a303c; box-shadow: 0 4px 15px rgba(7,27,70,.07); font-size: .95rem; line-height: 1.55; }
.iel-msg a { color: #012169; font-weight: 700; }
.iel-user { margin-left: auto; border-radius: 16px 4px 16px 16px; background: #012169; color: #fff; }
.iel-digitando { display: flex; gap: 5px; padding: 14px 16px; }
.iel-digitando span { width: 7px; height: 7px; border-radius: 50%; background: #9aa5b8; animation: iel-pulsa 1s infinite ease-in-out; }
.iel-digitando span:nth-child(2) { animation-delay: .15s; }
.iel-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes iel-pulsa { 0%, 80%, 100% { opacity: .35; transform: scale(.85); } 40% { opacity: 1; transform: scale(1); } }
.iel-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid #e1e4e9; background: #fff; max-height: 168px; overflow-y: auto; }
.iel-chips:empty { display: none; }
.iel-chip { padding: 9px 13px; border: 1px solid #c8cfdb; border-radius: 999px; background: #fff; color: #10214a; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
.iel-chip:hover, .iel-chip:focus-visible { border-color: #012169; background: #eef2f9; }
.iel-form { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid #e1e4e9; background: #fff; }
.iel-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid #cdd2da; border-radius: 999px; background: #fff; color: #202633; font: inherit; font-size: .95rem; }
.iel-form input:focus { border-color: #012169; outline: 2px solid rgba(1,33,105,.15); }
.iel-form button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: #c8102e; color: #fff; font-size: 1.1rem; cursor: pointer; }
.iel-form button:hover { background: #9d0c26; }
.iel-nota { margin: 0; padding: 0 18px 14px; background: #fff; color: #565d6b; font-size: .72rem; line-height: 1.5; }
.iel-card { max-width: 92%; margin: 4px 0 14px; padding: 16px; border: 1px solid #e0d6c2; border-left: 4px solid #c4a574; background: #fffaf0; }
.iel-card strong { display: block; color: #10214a; font-size: 1rem; }
.iel-card span { display: block; margin: 4px 0 12px; color: #596273; font-size: .85rem; line-height: 1.5; }
.iel-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.iel-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid transparent; border-radius: 4px; background: #c8102e; color: #fff !important; font: inherit; font-size: .9rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.iel-btn:hover { background: #9d0c26; }
.iel-btn--claro { border-color: #c8cfdb; background: #fff; color: #10214a !important; }
.iel-btn--claro:hover { background: #eef2f9; }
.iel-chat--pagina { height: min(720px, calc(100vh - 220px)); min-height: 480px; border: 1px solid #dfe3e9; border-radius: 8px; overflow: hidden; box-shadow: 0 22px 60px rgba(16,33,74,.1); }
.iel-chat--painel { height: 100%; }
@media (prefers-reduced-motion: reduce) { .iel-digitando span { animation: none; } .iel-log { scroll-behavior: auto; } }
