/* Compass IA - capa independiente para deploy compilado */
#compass-ia-root{--cia-blue:#243bb5;--cia-purple:#9f66cb;--cia-ink:#15152a;--cia-muted:#66667a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cia-launcher{position:fixed;right:22px;bottom:22px;z-index:9998;border:0;border-radius:999px;background:linear-gradient(135deg,var(--cia-blue),var(--cia-purple));color:#fff;padding:14px 18px;font-weight:800;box-shadow:0 14px 40px rgba(36,59,181,.28);cursor:pointer;display:flex;align-items:center;gap:9px}
.cia-launcher:hover{transform:translateY(-1px)}
.cia-launcher-dot{width:9px;height:9px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.18)}
.cia-panel{position:fixed;right:22px;bottom:84px;z-index:9999;width:min(390px,calc(100vw - 24px));height:min(610px,calc(100vh - 120px));background:#fff;border:1px solid #e7e7f1;border-radius:22px;box-shadow:0 28px 80px rgba(21,21,42,.22);overflow:hidden;display:none;flex-direction:column}
.cia-panel.cia-open{display:flex}
.cia-header{background:linear-gradient(135deg,#243bb5,#7255bf);color:#fff;padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cia-header-copy{display:flex;flex-direction:column;gap:2px}.cia-header-copy strong{font-size:16px}.cia-header-copy span{font-size:11px;opacity:.85}
.cia-close{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:21px;line-height:1}
.cia-messages{flex:1;overflow-y:auto;padding:16px;background:#f7f7fb;display:flex;flex-direction:column;gap:11px}
.cia-message{max-width:86%;padding:11px 13px;border-radius:16px;line-height:1.42;font-size:14px;white-space:pre-wrap;word-wrap:break-word}
.cia-message.assistant{align-self:flex-start;background:#fff;color:var(--cia-ink);border:1px solid #e7e7f1;border-bottom-left-radius:5px}
.cia-message.user{align-self:flex-end;background:var(--cia-blue);color:#fff;border-bottom-right-radius:5px}
.cia-message.error{align-self:flex-start;background:#fff0f0;color:#8c2020;border:1px solid #ffd0d0}
.cia-quick{padding:0 14px 10px;background:#f7f7fb;display:flex;gap:7px;overflow-x:auto}.cia-quick button{white-space:nowrap;border:1px solid #dcdcf0;background:#fff;color:var(--cia-blue);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}
.cia-form{padding:12px;background:#fff;border-top:1px solid #e7e7f1;display:flex;gap:8px;align-items:flex-end}
.cia-input{flex:1;resize:none;max-height:120px;min-height:42px;border:1px solid #dcdcec;border-radius:13px;padding:10px 12px;outline:none;font:inherit;font-size:13px;line-height:1.4}.cia-input:focus{border-color:var(--cia-blue);box-shadow:0 0 0 3px rgba(36,59,181,.09)}
.cia-send{border:0;border-radius:12px;background:var(--cia-blue);color:#fff;min-width:44px;height:42px;padding:0 12px;font-weight:800;cursor:pointer}.cia-send:disabled{opacity:.5;cursor:not-allowed}
.cia-foot{padding:0 13px 10px;color:#838394;background:#fff;font-size:9.5px;line-height:1.35}
.cia-typing{display:inline-flex;gap:4px;align-items:center}.cia-typing i{width:6px;height:6px;background:#8f8fa0;border-radius:50%;display:block;animation:cia-bounce 1s infinite ease-in-out}.cia-typing i:nth-child(2){animation-delay:.15s}.cia-typing i:nth-child(3){animation-delay:.3s}@keyframes cia-bounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
@media(max-width:640px){.cia-launcher{right:12px;bottom:12px}.cia-panel{right:12px;bottom:72px;width:calc(100vw - 24px);height:min(70vh,610px)}}
