@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_f367f3;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_f367f3;src:local("Arial");ascent-override:90.49%;descent-override:22.56%;line-gap-override:0.00%;size-adjust:107.06%}.__className_f367f3{font-family:__Inter_f367f3,__Inter_Fallback_f367f3;font-style:normal}.__variable_f367f3{--font-inter:"__Inter_f367f3","__Inter_Fallback_f367f3"}@font-face{font-family:__Pacifico_a5c4ba;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/9940be41d763cd40-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Pacifico_a5c4ba;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/d0204c37d9a66afa-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Pacifico_a5c4ba;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/424a6f0e872a6c22-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Pacifico_a5c4ba;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/870840a80857d4d7-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Pacifico_a5c4ba;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/be955174636e5369-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Pacifico_Fallback_a5c4ba;src:local("Arial");ascent-override:137.32%;descent-override:47.74%;line-gap-override:0.00%;size-adjust:94.89%}.__className_a5c4ba{font-family:__Pacifico_a5c4ba,__Pacifico_Fallback_a5c4ba;font-weight:400;font-style:normal}.__variable_a5c4ba{--font-pacifico:"__Pacifico_a5c4ba","__Pacifico_Fallback_a5c4ba"}:root{--chat-accent:#5ed3a9;--chat-accent-dark:#3dbf94;--chat-border-radius:24px;--chat-max-width:720px;--chat-bar-height:102px;--chat-textarea-max-height:200px;--chat-bottom-offset:24px}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain;touch-action:pan-x}.overscroll-y-contain{overscroll-behavior-y:contain;touch-action:pan-y}.chat-bar-container{position:fixed;bottom:var(--chat-bottom-offset);left:calc(var(--sidebar-width, 0px) + ((100vw - var(--sidebar-width, 0px)) / 2));transform:translateX(-50%);z-index:1000;width:var(--chat-max-width);max-width:calc(100% - var(--sidebar-width, 0px) - 40px);padding:0;display:flex;flex-direction:column;gap:0;transition:all .3s cubic-bezier(.4,0,.2,1)}.chat-bar-container .suggestions-row{margin-bottom:8px}.chat-bar-container.with-sidebar{left:calc(320px + ((100vw - 320px) / 2))}.chat-bar-container.scroll-hidden{transform:translateX(-50%) translateY(calc(100% + var(--chat-bottom-offset)));opacity:0;pointer-events:none}.chat-bar-wrapper{position:fixed;bottom:var(--chat-bottom-offset);left:var(--sidebar-width,0);right:0;z-index:1000;display:flex;flex-direction:column;align-items:center;padding:0 12px;transition:transform .3s ease,opacity .3s ease,left .3s ease}.chat-bar-wrapper.hidden{transform:translateY(calc(100% + 40px));opacity:0;pointer-events:none}.chat-bar-wrapper .chat-bar-container{position:relative;bottom:auto;left:auto;transform:none}.chat-input-container{display:grid;grid-template-columns:36px 1fr 36px;grid-template-rows:auto 36px;gap:4px 8px;width:100%;min-height:var(--chat-bar-height);background:hsla(0,0%,100%,.98);border:1px solid rgba(0,0,0,.08);border-radius:var(--chat-border-radius);padding:8px 12px 6px;box-shadow:0 4px 16px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.04);transition:all .2s ease;backdrop-filter:blur(10px);box-sizing:border-box;align-items:end}.chat-input-container.focused{border-color:var(--chat-accent);box-shadow:0 4px 20px rgba(94,211,169,.15),0 0 0 3px rgba(94,211,169,.1)}.chat-input-container.has-content{border-color:rgba(94,211,169,.3)}.chat-input-container.streaming{border-color:var(--chat-accent);background:linear-gradient(135deg,#fff,#f8fdf9)}.chat-input-container.has-docked-response{border-radius:4px 4px var(--chat-border-radius) var(--chat-border-radius);border-top-color:transparent;margin-top:-1px;position:relative;z-index:2}.response-toggle-circle{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0 auto 8px;background:hsla(0,0%,100%,.95);border:1px solid rgba(94,211,169,.4);border-radius:50%;color:var(--chat-accent-dark);cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(0,0,0,.08)}.response-toggle-circle:hover{background:rgba(94,211,169,.1);border-color:var(--chat-accent);transform:translateY(-2px);box-shadow:0 4px 12px rgba(94,211,169,.25)}.response-toggle-circle:active{transform:translateY(0)}.response-toggle-circle svg{width:16px;height:16px;color:var(--chat-accent)}.input-row{display:contents}.ai-avatar{grid-column:1;grid-row:2;width:36px;height:36px;border-radius:50%;background:#333;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;transition:all .3s ease;align-self:end;position:relative;overflow:hidden}.ai-avatar .avatar-image{width:20px;height:20px;border-radius:0;object-fit:contain}.ai-avatar .avatar-signature{position:absolute;bottom:-2px;right:-8px;font-family:var(--font-pacifico),"Pacifico","Dancing Script","Brush Script MT",cursive;font-size:10px;color:var(--chat-accent);white-space:nowrap;transform:rotate(-15deg);transform-origin:left bottom;text-shadow:0 1px 2px rgba(0,0,0,.1);font-weight:400;letter-spacing:.5px;opacity:.9;pointer-events:none}.chat-textarea{grid-column:1/4;grid-row:1;align-self:center}.action-buttons{grid-column:3;grid-row:2;justify-self:end;align-self:end}.ai-avatar.streaming{animation:avatar-pulse 1.5s ease-in-out infinite}@keyframes avatar-pulse{0%,to{transform:scale(1);box-shadow:0 0 0 0 rgba(94,211,169,.4)}50%{transform:scale(1.05);box-shadow:0 0 0 8px rgba(94,211,169,0)}}.chat-textarea{border:none;outline:none;font-size:16px;line-height:24px;resize:none;background:transparent;font-family:ui-sans-serif,-apple-system,"system-ui",Segoe UI,Helvetica,Arial,sans-serif;color:#1f2937;min-height:24px;max-height:208px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}.chat-textarea::-webkit-scrollbar{width:6px}.chat-textarea::-webkit-scrollbar-track{background:transparent}.chat-textarea::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.2);border-radius:3px}.chat-textarea::placeholder{color:#9ca3af}.chat-textarea:disabled{opacity:.7;cursor:not-allowed}.action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:4px}.inline-suggestions{grid-column:2;grid-row:2;display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:visible;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;padding:4px;margin:-4px 0;max-width:100%;-webkit-overflow-scrolling:touch}.inline-suggestions::-webkit-scrollbar{display:none}.inline-suggestions .suggestion-chip{flex-shrink:0;padding:4px 10px;font-size:12px;border-radius:14px;background:rgba(94,211,169,.1);border:1px solid rgba(94,211,169,.3);color:var(--chat-accent-dark);cursor:pointer;transition:all .2s ease;white-space:nowrap;display:flex;align-items:center;gap:4px;height:28px;box-sizing:border-box}.inline-suggestions .suggestion-chip:hover{background:rgba(94,211,169,.25);border-color:var(--chat-accent);box-shadow:0 2px 6px rgba(94,211,169,.2)}.inline-suggestions .suggestion-chip .chip-icon{font-size:12px}.action-btn{width:36px;height:36px;border-radius:50%;border:none;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s ease;animation:buttonFadeIn .2s ease}@keyframes buttonFadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.action-btn:hover:not(:disabled){background:#f3f4f6;color:#374151}.action-btn:disabled{opacity:.5;cursor:not-allowed}.action-btn.voice-btn{background:#1f2937;color:#fff;width:38px;height:38px;position:relative}.action-btn.voice-btn:hover:not(:disabled){background:#111827;color:#fff;transform:scale(1.08);box-shadow:0 0 0 3px rgba(31,41,55,.2)}.action-btn.voice-btn:hover:not(:disabled) svg path{animation:voice-hover-wave .5s ease-in-out forwards}.action-btn.voice-btn:hover:not(:disabled) svg path:first-child{animation-delay:0s}.action-btn.voice-btn:hover:not(:disabled) svg path:nth-child(2){animation-delay:.08s}.action-btn.voice-btn:hover:not(:disabled) svg path:nth-child(3){animation-delay:.16s}.action-btn.voice-btn:hover:not(:disabled) svg path:nth-child(4){animation-delay:.12s}.action-btn.voice-btn:hover:not(:disabled) svg path:nth-child(5){animation-delay:.04s}@keyframes voice-hover-wave{0%{transform:scaleY(1)}50%{transform:scaleY(1.3)}to{transform:scaleY(1)}}.action-btn.voice-btn.listening{background:var(--chat-accent);animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{box-shadow:0 0 0 0 rgba(94,211,169,.4)}50%{box-shadow:0 0 0 8px rgba(94,211,169,0)}}.action-btn.send-btn{background:#e5e7eb;color:#9ca3af}.action-btn.send-btn.active{background:var(--chat-accent);color:#fff}.action-btn.send-btn.active:hover{background:var(--chat-accent-dark)}.action-btn.stop-btn{background:#f3f4f6;color:#374151}.action-btn.stop-btn:hover{background:#e5e7eb}.action-btn.recording{background:#fee2e2;color:#ef4444;animation:recording-pulse 1.5s infinite}@keyframes recording-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.action-btn.voice-btn{background:transparent;color:#9ca3af;transition:all .2s ease}.action-btn.voice-btn:hover{background:#f3f4f6;color:var(--chat-accent)}.action-btn.voice-btn.listening{background:linear-gradient(135deg,var(--chat-accent) 0,#4ec299 100%);color:#fff;animation:voice-pulse 1.5s infinite}@keyframes voice-pulse{0%,to{box-shadow:0 0 0 0 rgba(91,215,166,.4)}50%{box-shadow:0 0 0 8px rgba(91,215,166,0)}}.voice-listening-indicator{display:flex;align-items:center;justify-content:center;gap:2px;height:20px}.voice-wave{width:3px;height:12px;background:#fff;border-radius:2px;animation:voice-wave .8s ease-in-out infinite}.voice-wave:first-child{animation-delay:0s}.voice-wave:nth-child(2){animation-delay:.15s;height:16px}.voice-wave:nth-child(3){animation-delay:.3s}@keyframes voice-wave{0%,to{transform:scaleY(.5);opacity:.7}50%{transform:scaleY(1);opacity:1}}.suggestions-row{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 0;scrollbar-width:none}.suggestions-row::-webkit-scrollbar{display:none}.suggestion-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:hsla(0,0%,100%,.95);border:1px solid rgba(0,0,0,.08);border-radius:20px;font-size:13px;font-weight:500;color:#374151;cursor:pointer;transition:all .15s ease;white-space:nowrap;backdrop-filter:blur(8px)}.suggestion-chip:hover{background:#f3f4f6;border-color:rgba(0,0,0,.12);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.08)}.suggestion-chip:active{transform:translateY(0)}.suggestion-chip .chip-icon{font-size:14px}.attachments-preview{display:flex;gap:8px;padding-bottom:12px;margin-bottom:8px;border-bottom:1px solid #f3f4f6;overflow-x:auto}.attachment-item{display:flex;align-items:center;gap:8px;padding:6px 10px;background:#f3f4f6;border-radius:8px;font-size:13px;flex-shrink:0}.attachment-item .attachment-thumbnail{width:32px;height:32px;object-fit:cover;border-radius:4px}.attachment-item .file-icon{font-size:20px}.attachment-item .file-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#374151}.attachment-item .remove-btn{width:20px;height:20px;border-radius:50%;border:none;background:#e5e7eb;color:#6b7280;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center}.attachment-item .remove-btn:hover{background:#d1d5db;color:#374151}.typing-dots{display:flex;align-items:center;gap:5px;padding:4px 0}.typing-dots.inline{padding:8px 4px}.typing-dots .dot{width:8px;height:8px;border-radius:50%;background:var(--chat-accent);animation:typingBounce 1.4s ease-in-out infinite}.typing-dots .dot:first-child{animation-delay:0s}.typing-dots .dot:nth-child(2){animation-delay:.2s}.typing-dots .dot:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-6px);opacity:1}}.typing-cursor{display:inline-block;animation:blink 1s infinite;color:var(--chat-accent);margin-left:2px;font-weight:600}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.agent-fab{position:fixed;bottom:24px;right:24px;z-index:1000;width:56px;height:56px;border-radius:50%;border:none;cursor:pointer;background:linear-gradient(135deg,var(--chat-accent),#4ec299);box-shadow:0 4px 8px rgba(94,211,169,.3),0 8px 16px rgba(94,211,169,.15);transition:all .3s cubic-bezier(.4,0,.2,1)}.agent-fab:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 6px 12px rgba(94,211,169,.4),0 12px 24px rgba(94,211,169,.2)}.agent-fab:active{transform:scale(.98)}.agent-fab.has-unread{animation:fab-pulse 2s infinite}@keyframes fab-pulse{0%,to{box-shadow:0 4px 8px rgba(94,211,169,.3),0 8px 16px rgba(94,211,169,.15)}50%{box-shadow:0 4px 12px rgba(94,211,169,.5),0 8px 24px rgba(94,211,169,.3),0 0 0 4px rgba(94,211,169,.2)}}.fab-content{width:100%;height:100%;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center}.fab-content img{width:100%;height:100%;object-fit:cover}.fab-icon{font-size:28px;color:#fff}.unread-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#ef4444;color:#fff;font-size:11px;font-weight:600;display:flex;align-items:center;justify-content:center;border:2px solid #fff}.message{display:flex;flex-direction:column;margin-bottom:24px;position:relative}.sidebar-messages .message{margin-bottom:10px}.user-message{align-self:flex-end;margin-left:auto;max-width:80%}.user-message .message-content{background:linear-gradient(135deg,var(--chat-accent) 0,#4ec299 100%);color:#fff;border-radius:16px 16px 4px 16px;padding:10px 14px;font-size:16px;line-height:1.5}.assistant-message{align-self:flex-start;margin-right:auto;max-width:85%}.assistant-message .message-content{background:transparent;color:#1f2937;padding:2px 0;font-size:16px;line-height:1.6}.assistant-message .message-content p{margin:0}.assistant-message .message-content p+p{margin-top:16px}.assistant-message .message-content h1,.assistant-message .message-content h2,.assistant-message .message-content h3{margin-top:20px;margin-bottom:12px;font-weight:600}.assistant-message .message-content h1:first-child,.assistant-message .message-content h2:first-child,.assistant-message .message-content h3:first-child{margin-top:0}.assistant-message .message-content ol,.assistant-message .message-content ul{margin:16px 0;padding-left:24px}.assistant-message .message-content li{margin-bottom:8px}.assistant-message .message-content li:last-child{margin-bottom:0}.message.streaming .message-content{background:transparent;border-left:3px solid var(--chat-accent);padding-left:12px}.message-footer{display:flex;align-items:center;gap:12px;margin-top:4px;height:24px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.message-footer.visible{opacity:1;visibility:visible}.message-timestamp{font-size:11px;color:hsla(220,9%,46%,.8);font-weight:400}.message-actions-row{display:flex;align-items:center;gap:2px}.message-action-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:hsla(220,9%,46%,.7);transition:all .15s ease}.message-action-btn:hover{background:hsla(220,9%,46%,.1);color:#374151}.message-action-btn:active{transform:scale(.92)}.message-action-btn.copied{color:#10b981}.user-message .message-footer{justify-content:flex-end}@media (prefers-color-scheme:dark){.message-action-btn,.message-timestamp{color:rgba(156,163,175,.7)}.message-action-btn:hover{background:hsla(0,0%,100%,.1);color:#e5e7eb}}.message-actions{display:flex;gap:4px;position:absolute;bottom:-28px;opacity:0;transition:opacity .15s ease}.message:hover .message-actions{opacity:1}.message-actions button{padding:4px 8px;border:none;background:#f3f4f6;border-radius:4px;cursor:pointer;font-size:14px;color:#6b7280}.message-actions button:hover{background:#e5e7eb;color:#374151}.message-actions button.active{background:#dbeafe;color:#3b82f6}.markdown-content{line-height:1.7}.markdown-content p{margin:0 0 16px}.markdown-content p:last-child{margin-bottom:0}.markdown-content code{background:#f3f4f6;padding:2px 6px;border-radius:4px;font-size:14px;font-family:JetBrains Mono,Fira Code,monospace}.markdown-content pre{background:#1f2937;color:#f9fafb;padding:16px;border-radius:8px;overflow-x:auto;margin:16px 0}.markdown-content pre code{background:none;padding:0;color:inherit}.markdown-content ol,.markdown-content ul{margin:16px 0;padding-left:24px}.markdown-content li{margin-bottom:8px}.markdown-content table{width:100%;border-collapse:collapse;margin:16px 0}.markdown-content td,.markdown-content th{border:1px solid #e5e7eb;padding:8px 12px;text-align:left}.markdown-content th{background:#f9fafb;font-weight:600}.markdown-content blockquote{border-left:4px solid var(--chat-accent);padding-left:16px;margin:16px 0;color:#6b7280}@media (max-width:639px){:root{--chat-bottom-offset:12px;--chat-border-radius:20px}.chat-bar-wrapper{left:0;right:0;padding:0 12px}.chat-bar-container{position:fixed;left:12px;right:12px;width:auto;transform:none;max-width:none;padding:0}.chat-bar-wrapper .chat-bar-container{position:relative;left:auto;right:auto;width:100%}.chat-input-container{width:100%;max-width:100%;box-sizing:border-box;border-radius:var(--chat-border-radius);padding:10px 12px}.input-row{gap:8px}.ai-avatar{display:none}.chat-textarea{font-size:16px}.action-btn{width:40px;height:40px}.suggestions-row{gap:6px;padding:2px 0}.suggestion-chip{padding:8px 12px;font-size:13px;border-radius:16px}.agent-fab{bottom:12px;right:12px;width:48px;height:48px}.fab-icon{font-size:22px}.message{max-width:90%}.user-message .message-content{padding:10px 14px;border-radius:16px 16px 4px 16px}.typing-dots .dot{width:6px;height:6px}}@media (min-width:640px) and (max-width:1024px){:root{--chat-bottom-offset:20px;--chat-border-radius:22px;--chat-max-width:560px}.chat-bar-container{left:50%;transform:translateX(-50%);max-width:var(--chat-max-width);padding:0 16px}.chat-input-container{border-radius:var(--chat-border-radius);padding:11px 14px}.input-row{gap:10px}.ai-avatar{width:28px;height:28px}.chat-textarea{font-size:15px}.action-btn{width:36px;height:36px}.suggestions-row{gap:8px}.suggestion-chip{padding:8px 14px;font-size:13px}.agent-fab{bottom:20px;right:20px;width:52px;height:52px}.message{max-width:85%}}@media (min-width:1025px){:root{--chat-bottom-offset:24px;--chat-border-radius:24px;--chat-max-width:720px}.chat-bar-container{left:50%;transform:translateX(-50%);width:var(--chat-max-width);max-width:calc(100% - 40px)}.chat-input-container{padding:12px 16px}.input-row{gap:12px}.ai-avatar{width:32px;height:32px}.chat-textarea{font-size:16px}.action-btn{width:36px;height:36px}.suggestion-chip{padding:8px 14px;font-size:13px}.agent-fab{bottom:24px;right:24px;width:56px;height:56px}.fab-icon{font-size:28px}.message{max-width:85%}}@media (min-width:1440px){:root{--chat-max-width:720px}}@media (max-height:500px) and (orientation:landscape){:root{--chat-bottom-offset:8px;--chat-textarea-max-height:80px}.ai-avatar,.suggestions-row{display:none}.chat-input-container{padding:8px 12px}}@supports (padding-bottom:env(safe-area-inset-bottom)){.chat-bar-container{padding-bottom:env(safe-area-inset-bottom)}}.docked-response-container{width:100%;margin-bottom:0;overflow:hidden;position:relative;z-index:1;box-sizing:border-box}.docked-response-card{width:100%;background:hsla(0,0%,100%,.7);backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-radius:0;box-shadow:0 -4px 30px rgba(0,0,0,.08),inset 0 0 0 1px hsla(0,0%,100%,.5);display:flex;flex-direction:column;border:1px solid hsla(0,0%,100%,.3);border-top:none;border-bottom:none;box-sizing:border-box;overflow:hidden}.docked-response-container.minimized .docked-response-card{border-radius:16px;border-bottom:1px solid hsla(0,0%,100%,.3);margin-bottom:8px}.docked-resize-handle{position:relative;height:10px;cursor:ns-resize;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,hsla(0,0%,100%,.9),hsla(0,0%,100%,.7));border-radius:10px 10px 0 0;border:1px solid hsla(0,0%,100%,.4);border-bottom:none;transition:background .2s ease}.docked-resize-handle:hover{background:linear-gradient(180deg,rgba(16,185,129,.15),hsla(0,0%,100%,.8))}.docked-resize-handle:active,.docked-response-container.resizing .docked-resize-handle{background:linear-gradient(180deg,rgba(16,185,129,.25),hsla(0,0%,100%,.9))}.resize-handle-grip{display:flex;gap:2px;opacity:.35;transition:opacity .2s ease}.docked-resize-handle:hover .resize-handle-grip{opacity:.6}.resize-handle-grip span{width:3px;height:3px;background:#9ca3af;border-radius:50%}.docked-response-container.resizing{user-select:none}.docked-response-container.resizing .docked-response-card{transition:none}.floating-response-container{position:fixed;bottom:calc(var(--chat-bottom-offset) + 140px);left:50%;transform:translateX(-50%);z-index:999;width:100%;max-width:var(--chat-max-width);padding:0 20px;cursor:grab}.floating-response-container.detached{bottom:auto;left:auto;right:auto;top:50%;left:50%;transform:translate(-50%,-50%);cursor:grab}.floating-response-container.minimized{width:auto!important;max-width:none}.floating-response-container.minimized .floating-response-card{min-width:200px;border-radius:12px}.floating-response-container.dragging{cursor:grabbing}.floating-response-container.dragging .floating-response-card{box-shadow:0 20px 50px rgba(0,0,0,.15),0 8px 20px rgba(0,0,0,.1),inset 0 0 0 1px hsla(0,0%,100%,.5)}.floating-response-container.resizing{cursor:auto!important}.floating-response-container.resizing .floating-response-card{box-shadow:0 12px 40px rgba(0,0,0,.12),0 4px 16px rgba(0,0,0,.08),inset 0 0 0 2px var(--chat-accent)}.floating-response-container.with-sidebar{max-width:calc(var(--chat-max-width) - 100px);left:calc((100vw - 420px) / 2);transform:translateX(-50%)}.floating-response-card{background:hsla(0,0%,100%,.4);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border-radius:20px;box-shadow:0 8px 32px rgba(0,0,0,.1),0 2px 8px rgba(0,0,0,.05),inset 0 0 0 1px hsla(0,0%,100%,.35),inset 0 1px 0 hsla(0,0%,100%,.5);overflow:visible;max-height:none;display:flex;flex-direction:column;position:relative}.floating-response-header{position:absolute;top:4px;left:50%;transform:translateX(-50%);z-index:10;display:flex;align-items:center;gap:2px;padding:2px;background:hsla(0,0%,100%,.6);backdrop-filter:blur(8px);border-radius:8px;border:none;opacity:.6;transition:opacity .2s ease}.docked-response-card:hover .floating-response-header,.floating-response-card:hover .floating-response-header{opacity:1}.floating-response-header button{padding:3px;border-radius:4px}.floating-response-header svg{width:12px;height:12px}.floating-response-content{flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:10px 12px;font-size:14px;line-height:1.5;color:#1a1a1a;min-height:0;background:transparent}.floating-response-content p{margin:0 0 12px}.floating-response-content p:last-child{margin-bottom:0}.floating-response-content code{background:rgba(0,0,0,.05);padding:2px 6px;border-radius:4px;font-family:monospace;font-size:13px}.floating-response-content pre{background:#1e1e1e;color:#d4d4d4;padding:12px;border-radius:8px;overflow-x:auto;margin:12px 0}.floating-response-content ol,.floating-response-content ul{margin:8px 0;padding-left:20px}.floating-response-content li{margin:4px 0}.floating-response-footer{display:flex;align-items:center;justify-content:center;padding:8px 16px;border-top:1px solid rgba(0,0,0,.05);background:rgba(0,0,0,.02);font-size:11px;color:#999}.floating-message{display:flex;flex-direction:column;width:100%;margin-bottom:24px!important;position:relative}.floating-message:last-child{margin-bottom:8px!important}.floating-message-user{align-items:flex-end}.floating-message-assistant{align-items:flex-start}.floating-message-actions{display:flex;align-items:center;gap:2px;margin-top:4px;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease}.floating-assistant-bubble:hover+.floating-message-actions,.floating-message-actions:hover,.floating-user-bubble:hover+.floating-message-actions{opacity:1;visibility:visible}.floating-message-user .floating-message-actions{justify-content:flex-end}.floating-message-assistant .floating-message-actions{justify-content:flex-start}.floating-message-timestamp{font-size:11px;color:hsla(220,9%,46%,.8);font-weight:400;margin-right:8px}.floating-action-btn{display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:none;background:transparent;border-radius:6px;cursor:pointer;color:hsla(220,9%,46%,.7);transition:all .15s ease}.floating-action-btn:hover{background:hsla(220,9%,46%,.1);color:#374151}.floating-action-btn:active{transform:scale(.92)}.floating-action-btn.copied{color:#10b981}.floating-action-btn svg{flex-shrink:0}.floating-user-bubble{background:linear-gradient(135deg,var(--chat-accent) 0,#4ec299 100%);color:#fff;padding:8px 14px;border-radius:16px 16px 4px 16px;max-width:85%;word-wrap:break-word}.floating-assistant-bubble{background:transparent;border:none;padding:0;border-radius:0;max-width:90%;font-size:16px;line-height:1.6}.floating-assistant-bubble p{margin:0}.floating-assistant-bubble p+p{margin-top:16px}.floating-assistant-bubble h1,.floating-assistant-bubble h2,.floating-assistant-bubble h3{margin-top:20px;margin-bottom:12px;font-weight:600}.floating-assistant-bubble h1:first-child,.floating-assistant-bubble h2:first-child,.floating-assistant-bubble h3:first-child{margin-top:0}.floating-assistant-bubble ol,.floating-assistant-bubble ul{margin:16px 0;padding-left:24px}.floating-assistant-bubble li{margin-bottom:8px}.floating-assistant-bubble li:last-child{margin-bottom:0}.resize-handle{position:absolute;background:transparent;z-index:10}.resize-handle-nw{top:-4px;left:-4px;width:16px;height:16px;cursor:nw-resize;border-radius:8px 0 0 0}.resize-handle-ne{top:-4px;right:-4px;width:16px;height:16px;cursor:ne-resize;border-radius:0 8px 0 0}.resize-handle-sw{bottom:-4px;left:-4px;width:16px;height:16px;cursor:sw-resize;border-radius:0 0 0 8px}.resize-handle-se{bottom:-4px;right:-4px;width:16px;height:16px;cursor:se-resize;border-radius:0 0 8px 0}.resize-handle-n{top:-4px;left:16px;right:16px;height:8px;cursor:n-resize}.resize-handle-s{bottom:-4px;left:16px;right:16px;height:8px;cursor:s-resize}.resize-handle-e{top:16px;bottom:16px;right:-4px;width:8px;cursor:e-resize}.resize-handle-w{top:16px;bottom:16px;left:-4px;width:8px;cursor:w-resize}.floating-response-card:hover .resize-handle-se:after{content:"";position:absolute;bottom:4px;right:4px;width:8px;height:8px;border-right:2px solid rgba(0,0,0,.2);border-bottom:2px solid rgba(0,0,0,.2);border-radius:0 0 4px 0}.floating-response-card:hover .resize-handle-nw:after{content:"";position:absolute;top:4px;left:4px;width:8px;height:8px;border-left:2px solid rgba(0,0,0,.2);border-top:2px solid rgba(0,0,0,.2);border-radius:4px 0 0 0}.main-canvas{transition:margin-right .3s cubic-bezier(.4,0,.2,1)}.main-canvas.sidebar-open{margin-right:420px}@media (max-width:1024px){.main-canvas.sidebar-open{margin-right:0}}@keyframes pulse-ring{0%{transform:scale(1);opacity:.8}50%{transform:scale(1.15);opacity:0}to{transform:scale(1);opacity:0}}.sidebar-toggle-pulse:before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--chat-accent);animation:pulse-ring 2s ease-out infinite;z-index:-1}@media (max-width:640px){.floating-response-container{bottom:calc(var(--chat-bottom-offset) + 120px);padding:0 12px}.floating-response-card{border-radius:16px;max-height:300px}.floating-response-content{padding:12px;font-size:13px}}.sidebar-input-area{padding:12px 16px 16px;background:linear-gradient(180deg,transparent,rgba(248,250,252,.8))}.sidebar-input-container{display:grid;grid-template-columns:1fr 36px;grid-template-rows:auto 36px;gap:4px 8px;width:100%;min-height:80px;background:hsla(0,0%,100%,.98);border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:8px 12px 6px;box-shadow:0 2px 8px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.03);transition:all .2s ease;backdrop-filter:blur(10px);box-sizing:border-box;align-items:end}.sidebar-input-container.focused{border-color:var(--chat-accent);box-shadow:0 2px 12px rgba(94,211,169,.15),0 0 0 3px rgba(94,211,169,.1)}.sidebar-input-container.has-content{border-color:rgba(94,211,169,.3)}.sidebar-input-container.streaming{border-color:var(--chat-accent);background:linear-gradient(135deg,#fff,#f8fdf9)}.sidebar-chat-textarea{grid-column:1/-1;grid-row:1;width:100%;background:transparent;border:none;outline:none;resize:none;font-size:15px;line-height:1.5;color:#1a1a2e;padding:4px 0;min-height:24px;max-height:100px;font-family:inherit;overflow-y:auto;overscroll-behavior:contain;-ms-overflow-style:none;scrollbar-width:none}.sidebar-chat-textarea::-webkit-scrollbar{display:none}.sidebar-chat-textarea::placeholder{color:rgba(0,0,0,.35);font-size:14px}.sidebar-chat-textarea:disabled{cursor:not-allowed;opacity:.6}.sidebar-inline-suggestions{grid-column:1;grid-row:2;display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;-ms-overflow-style:none;scrollbar-width:none;padding-bottom:2px;align-self:center}.sidebar-inline-suggestions::-webkit-scrollbar{display:none}.sidebar-suggestion-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:rgba(94,211,169,.08);border:1px solid rgba(94,211,169,.2);border-radius:14px;font-size:12px;color:#3dbf94;white-space:nowrap;cursor:pointer;transition:all .15s ease;flex-shrink:0}.sidebar-suggestion-chip:hover{background:rgba(94,211,169,.15);border-color:rgba(94,211,169,.4);transform:translateY(-1px)}.sidebar-suggestion-chip .chip-icon{font-size:11px}.sidebar-action-buttons{grid-column:2;grid-row:2}.sidebar-action-btn,.sidebar-action-buttons{display:flex;align-items:center;justify-content:center}.sidebar-action-btn{width:32px;height:32px;border-radius:50%;border:none;cursor:pointer;transition:all .2s ease;background:transparent;color:#9ca3af}.sidebar-action-btn.voice-btn{color:var(--chat-accent)}.sidebar-action-btn.voice-btn:hover{background:rgba(94,211,169,.1);transform:scale(1.05)}.sidebar-action-btn.voice-btn.listening{background:var(--chat-accent);color:#fff;animation:pulse-voice 1.5s ease-in-out infinite}.sidebar-action-btn.send-btn{color:#9ca3af}.sidebar-action-btn.send-btn.active{background:var(--chat-accent);color:#fff;transform:scale(1)}.sidebar-action-btn.send-btn.active:hover{background:var(--chat-accent-dark);transform:scale(1.05)}.sidebar-action-btn.stop-btn{background:#f3f4f6;color:#374151}.sidebar-action-btn.stop-btn:hover{background:#e5e7eb;transform:scale(1.05)}.sidebar-action-btn .voice-listening-indicator{display:flex;align-items:center;justify-content:center;gap:2px}.sidebar-action-btn .voice-wave{width:2px;height:10px;background:#fff;border-radius:1px;animation:sidebar-wave .8s ease-in-out infinite}.sidebar-action-btn .voice-wave:first-child{animation-delay:0s}.sidebar-action-btn .voice-wave:nth-child(2){animation-delay:.15s;height:14px}.sidebar-action-btn .voice-wave:nth-child(3){animation-delay:.3s}@keyframes sidebar-wave{0%,to{transform:scaleY(.5)}50%{transform:scaleY(1)}}@keyframes pulse-voice{0%,to{box-shadow:0 0 0 0 rgba(94,211,169,.4)}50%{box-shadow:0 0 0 8px rgba(94,211,169,0)}}