#atipChat, #atipChat *{box-sizing:border-box}.chat-widget{position:fixed;right:22px;bottom:22px;z-index:50;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eef4ff}.chat-launcher{display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:14px 19px;background:linear-gradient(135deg,#198cff,#0756cf);box-shadow:0 12px 36px rgba(0,55,135,.45);color:#fff;font:700 14px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.chat-launcher span:first-child{font-size:20px}.chat-launcher:hover{filter:brightness(1.12)}.chat-panel{position:absolute;right:0;bottom:72px;max-width:none;margin:0;padding:0;width:min(410px,calc(100vw - 28px));height:min(610px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(127,163,218,.35);border-radius:22px;background:#081426;box-shadow:0 22px 70px rgba(0,0,0,.55)}.chat-panel[hidden]{display:none!important}.chat-header{position:relative;top:auto;z-index:1;max-width:none;margin:0;padding:17px 18px;border:0;border-bottom:1px solid rgba(127,163,218,.2);border-radius:0;backdrop-filter:none;box-shadow:none;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(110deg,#0c2549,#0a172a)}.chat-header h2{margin:0;color:#fff;font-size:17px;letter-spacing:0}.chat-header p{margin:3px 0 0;color:#b7c7df;font-size:12px}.chat-close{width:34px;height:34px;border:1px solid rgba(127,163,218,.3);border-radius:50%;background:transparent;color:#fff;font-size:22px;line-height:1;cursor:pointer}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}.chat-message{max-width:90%;padding:11px 13px;border-radius:15px;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.assistant{align-self:flex-start;border:1px solid rgba(127,163,218,.2);background:#10213a;color:#e4edfa;border-bottom-left-radius:5px}.chat-message.user{align-self:flex-end;background:#126fdf;color:#fff;border-bottom-right-radius:5px}.chat-message.typing{color:#9db2d0}.chat-sources{margin-top:9px;padding-top:8px;border-top:1px solid rgba(127,163,218,.2);display:grid;gap:5px}.chat-sources strong{font-size:11px;color:#a9cfff}.chat-sources a,.chat-sources span{font-size:11px;color:#b9c8dc;line-height:1.35}.chat-sources a{text-decoration:underline;text-underline-offset:2px}.chat-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid rgba(127,163,218,.2)}.chat-form textarea{flex:1;min-width:0;resize:none;max-height:120px;padding:11px 12px;border:1px solid #334969;border-radius:13px;outline:none;background:#0d1b30;color:#f0f5ff;font:14px/1.4 Inter,ui-sans-serif,system-ui,sans-serif}.chat-form textarea:focus{border-color:#55a5ff;box-shadow:0 0 0 3px rgba(52,143,255,.15)}.chat-form button{height:42px;padding:0 15px;border:0;border-radius:12px;background:#1684ff;color:#fff;font:700 13px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.chat-form button:disabled{opacity:.55;cursor:wait}.chat-privacy{margin:0;padding:0 14px 12px;color:#8da2c0;font-size:10px;line-height:1.35}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:600px){.chat-widget{right:12px;bottom:12px}.chat-panel{right:0;bottom:66px;width:calc(100vw - 24px);height:min(600px,calc(100dvh - 90px));border-radius:19px}.chat-launcher{padding:12px 16px}.chat-messages{padding:12px}}@media(prefers-reduced-motion:reduce){.chat-panel{scroll-behavior:auto}}.chat-action{display:inline-flex;align-items:center;justify-content:center;margin:8px 6px 0 0;padding:9px 12px;border:0;border-radius:10px;background:#1684ff;color:#fff;font:700 12px/1.2 Inter,Arial,sans-serif;cursor:pointer}.chat-action:hover{filter:brightness(1.1)}.chat-action:disabled{opacity:.5;cursor:not-allowed}.chat-action.secondary{background:transparent;border:1px solid #526782;color:#dce7fa}.chat-consent{display:flex;align-items:flex-start;gap:8px;margin-top:12px;color:#dce7fa;font-size:12px;line-height:1.4}.chat-consent input{margin-top:3px;accent-color:#1684ff}
