.portal-chat{position:fixed;right:22px;bottom:22px;z-index:1200;font-family:Geist,Arial,sans-serif}.portal-chat.is-auth-hidden{display:none}.portal-chat-launcher{width:54px;height:54px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:linear-gradient(145deg,#0f251d,#1c3c2f);color:#f7f1e7;box-shadow:0 16px 34px rgba(6,20,14,.24);display:grid;place-items:center;cursor:pointer;position:relative}.portal-chat-launcher:before{content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.13);border-radius:50%}.portal-chat-spark{font-size:17px;transform:translateY(-4px)}.portal-chat-launcher-label{position:absolute;bottom:8px;font-size:8px;font-weight:700;letter-spacing:.12em}.portal-chat-panel{position:absolute;right:0;bottom:66px;width:min(390px,calc(100vw - 28px));max-height:min(610px,calc(100vh - 120px));display:grid;grid-template-rows:auto minmax(130px,1fr) auto auto;overflow:hidden;border:1px solid rgba(19,38,30,.14);border-radius:20px;background:#f8f5ee;box-shadow:0 26px 70px rgba(6,23,15,.24)}.portal-chat-panel header{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid #dfe2de;background:linear-gradient(135deg,#10261e,#19362a);color:#f8f3ea}.portal-chat-panel header strong,.portal-chat-panel header span{display:block}.portal-chat-panel header strong{font-size:14px}.portal-chat-panel header span{margin-top:2px;font-size:10px;color:#c9d5cf}.portal-chat-close{width:30px;height:30px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.07);color:#fff;font-size:20px;line-height:1;cursor:pointer}.portal-chat-log{overflow:auto;padding:14px;display:grid;align-content:start;gap:9px;background:linear-gradient(#f8f5ee,#f5f3ed)}.portal-chat-message{max-width:86%;display:grid;gap:6px}.portal-chat-message span{display:block;padding:10px 12px;border-radius:14px;font-size:12px;line-height:1.5}.portal-chat-message.assistant{justify-self:start}.portal-chat-message.assistant span{background:#fff;border:1px solid #dfe2de;color:#34453d;border-bottom-left-radius:5px}.portal-chat-message.user{justify-self:end}.portal-chat-message.user span{background:#17372a;color:#f5f0e8;border-bottom-right-radius:5px}.portal-chat-message a{justify-self:start;text-decoration:none;color:#17372a;font-size:11px;font-weight:700;padding:0 4px}.portal-chat-message a b{font-size:10px}.portal-chat-typing{display:flex;align-items:center;gap:4px;color:#7d8882;font-size:10px;padding:4px 2px}.portal-chat-typing i{width:5px;height:5px;border-radius:50%;background:#7d8882;animation:portal-chat-pulse 1s infinite ease-in-out}.portal-chat-typing i:nth-child(2){animation-delay:.12s}.portal-chat-typing i:nth-child(3){animation-delay:.24s}.portal-chat-typing span{margin-left:3px}.portal-chat-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px;background:#f5f3ed}.portal-chat-suggestions button{border:1px solid #d8ddd9;border-radius:999px;background:#fff;color:#506159;padding:7px 9px;font-size:10px;cursor:pointer}.portal-chat-form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid #dfe2de;background:#fff}.portal-chat-form input{min-width:0;height:40px;border:1px solid #d5dbd7;border-radius:11px;background:#f8faf8;color:#22342b;padding:0 11px;outline:none;font:400 12px Geist,Arial,sans-serif}.portal-chat-form input:focus{border-color:#8ba296;box-shadow:0 0 0 3px rgba(38,78,60,.08)}.portal-chat-form button{border:0;border-radius:11px;background:#10261e;color:#f7f1e7;padding:0 12px;font:700 10px Geist,Arial,sans-serif;cursor:pointer}.portal-chat-form button span{margin-left:4px}@keyframes portal-chat-pulse{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@media(max-width:720px){.portal-chat{right:14px;bottom:14px}.portal-chat-launcher{width:50px;height:50px}.portal-chat-panel{position:fixed;left:12px;right:12px;bottom:74px;width:auto;max-height:calc(100vh - 98px);border-radius:18px}.portal-chat-panel header{padding:13px 14px}.portal-chat-log{padding:12px}.portal-chat-form{padding:10px}}