@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8d697b304b401681-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba015fad6dcf6784-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:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/569ce4b8f30dc480-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:Geist Fallback;src:local("Arial");ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.00%;size-adjust:104.76%}.__className_5cfdac{font-family:Geist,Geist Fallback;font-style:normal}.__variable_5cfdac{--font-geist-sans:"Geist","Geist Fallback"}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/9610d9e46709d722-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/747892c23ea88013-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:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/93f479601ee12b01-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:Geist Mono Fallback;src:local("Arial");ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.00%;size-adjust:134.59%}.__className_9a8899{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.__variable_9a8899{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}*{box-sizing:border-box}*,body,html{padding:0;margin:0}body,html{max-width:100vw;height:100%;overflow-x:hidden;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit}.page-layout{height:100vh}.page-layout,.page-layout.embedded-mode{display:flex;flex-direction:column;overflow:hidden}.page-layout.embedded-mode{position:relative;height:100%;border:none;border-radius:0;box-shadow:none;background:transparent;width:100%;font-family:Mulish,sans-serif}.page-layout.embedded-mode body{background:transparent}.page-layout.embedded-mode footer{display:none}.page-layout.embedded-mode .chat-inner{padding:1.25rem;max-width:none}.page-layout.embedded-mode .chat-row{margin-bottom:1.75rem}.page-layout.chat-started{display:grid;grid-template-rows:1fr auto;grid-template-areas:"chat" "bottom";min-height:100vh}.page-layout.embedded-mode.chat-started{display:flex;flex-direction:column;min-height:100%}main{flex:1 1;min-height:0;padding:1rem 1rem 0;display:flex;flex-direction:column;overflow:hidden}.page-layout.chat-started main{grid-area:chat;padding:0;overflow:hidden;min-height:0}.page-layout.embedded-mode.chat-started main{grid-area:none;padding:1rem 0 8rem;overflow-y:auto;flex:1 1}.page-layout.chat-started .bottom-area{grid-area:bottom;background:#ffffff;display:flex;flex-direction:column}.offline-banner{position:fixed;top:0;left:0;right:0;background:#ff6b6b;color:white;padding:.75rem;text-align:center;font-size:.9rem;z-index:10000;box-shadow:0 2px 4px rgba(0,0,0,.1)}.chat-scroll-container{flex:1 1;min-height:0;width:100%;display:flex;justify-content:center;overflow:hidden}.page-layout.chat-started .chat-scroll-container{flex:none;height:100%;overflow:hidden;padding-bottom:.5rem}.chat-window{height:100%;display:flex;justify-content:center;overflow-y:auto;overflow-x:hidden}.chat-inner,.chat-window{width:100%;box-sizing:border-box}.chat-inner{max-width:720px;padding:1rem}.page-layout.chat-started .chat-inner{padding-bottom:3rem}.chat-row{display:flex;width:100%;margin-bottom:1.5rem}.chat-row.user{justify-content:flex-end;margin-bottom:2rem}.chat-row.assistant{justify-content:flex-start;margin-bottom:1.5rem}.chat-row.user+.chat-row.user{margin-top:-.5rem}.chat-row.assistant+.chat-row.assistant{margin-top:-1.5rem}.chat-bubble{max-width:100%;padding:1rem 1.25rem;border-radius:1rem;word-wrap:break-word;line-height:1.6;color:#374151;font-feature-settings:"liga" 1,"kern" 1;text-rendering:optimizeLegibility}.user-bubble{background:#f7f7f8;border:1px solid #e0e0e0;border-radius:.75rem;box-shadow:0 2px 4px rgba(0,0,0,.06);padding:.75rem 1rem;max-width:70%;color:#111}.assistant-bubble{background:transparent;border:none;color:black;padding:.75rem 0;width:100%;max-width:100%}.page-layout.embedded-mode .assistant-bubble,.page-layout.embedded-mode .user-bubble{background:#f7f7f8;border:1px solid #e0e0e0;border-radius:.75rem;box-shadow:0 2px 4px rgba(0,0,0,.06);padding:.75rem 1rem;max-width:90%;color:#111}.page-layout.embedded-mode .user-bubble{background:var(--custom-background-color);color:var(--custom-text-color)}.typing-container{display:flex;align-items:center;gap:.75rem}.retry-button{background:#f0f0f0;border:1px solid #e0e0e0;border-radius:50%;width:2rem;height:2rem;font-size:.9rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.retry-button:hover{background:#e0e0e0;border-color:#d0d0d0;transform:scale(1.05)}.retry-button:active{transform:scale(.95)}.typing{display:flex;align-items:center;gap:.25rem;font-style:italic;font-size:1rem;color:#999}.typing .dot{animation:blink 1.5s infinite;opacity:.2}.typing .dot:nth-child(2){animation-delay:.2s}.typing .dot:nth-child(3){animation-delay:.4s}.typing .dot:nth-child(4){animation-delay:.6s}@keyframes blink{0%,80%,to{opacity:.2}40%{opacity:1}}.input-bar{display:flex;align-items:center;background:#f2f2f2;padding:.75rem 1rem;border-radius:2rem;box-shadow:0 4px 10px rgba(0,0,0,.05);width:100%;max-width:720px;margin:0 auto;gap:.5rem;transition:all .4s ease}.input-bar input{flex:1 1;border:none;outline:none;background:transparent;font-size:1rem}.input-bar.disabled,.input-bar.disabled .send-button,.input-bar.disabled input{opacity:.5;cursor:not-allowed}.input-bar.centered{position:static;padding:.75rem 1rem;border-radius:2rem;gap:.5rem}.input-bar.bottom,.input-bar.centered{display:flex;max-width:600px;width:90%;background:#f2f2f2;box-shadow:0 4px 10px rgba(0,0,0,.1)}.input-bar.bottom{position:fixed;bottom:5rem;left:50%;height:48px;align-items:center;transform:translateX(-50%);padding:1rem;border-radius:999px;z-index:9999}.input-bar.active{box-shadow:0 0 12px 2px rgba(31,31,31,.2);background:#f7f7f7}.input-area-wrapper.centered{max-width:720px;padding:0 1.5rem;position:absolute;top:50%;transform:translate(-50%,-50%);justify-content:center;gap:1.25rem}.input-area-wrapper.bottom,.input-area-wrapper.centered{width:100%;box-sizing:border-box;left:50%;display:flex;flex-direction:column;align-items:center}.input-area-wrapper.bottom{position:fixed;bottom:6rem;transform:translateX(-50%);gap:1rem;padding:1rem 1.5rem;background:linear-gradient(0deg,rgba(255,255,255,.98) 0,rgba(255,255,255,.95) 50%,rgba(255,255,255,.8));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.page-layout.chat-started .input-area-wrapper.bottom{position:static;transform:none;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;padding:.2rem 1.5rem .5rem;border-top:none}.page-layout.embedded-mode .input-area-wrapper.bottom,.page-layout.embedded-mode .input-area-wrapper.centered{position:absolute;top:auto;bottom:2.5rem;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.5rem;width:calc(100% - 2rem);max-width:400px;padding:.5rem;box-sizing:border-box;background:transparent}.send-button{background:transparent;border:none;font-size:1.25rem;cursor:pointer;color:black;width:2.5rem;height:2.5rem;border-radius:50%;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.send-button:hover{background:rgba(0,0,0,.05);color:#333}.send-button:active{background:rgba(0,0,0,.1);transform:scale(.95)}.round-button{width:2.5rem;height:2.5rem;border-radius:50%;background:#f4f4f4;border:none;font-size:1.25rem;cursor:pointer}.round-button:disabled{opacity:.5;cursor:not-allowed}.long-button{background:#f4f4f4;border:none;padding:.5rem 1.25rem;border-radius:1.5rem;font-size:1rem;cursor:pointer}.input-tools{display:flex;justify-content:space-between;align-items:center;width:100%;max-width:720px;padding:0 1rem;margin:0 auto;box-sizing:border-box}.tools-left,.tools-right{display:flex;align-items:center;gap:.5rem}#Model-selector{cursor:not-allowed}#Back-Button,#Refresh-button{color:black}.ice-breaker{font-size:1.25rem;font-weight:500;color:#222;text-align:center;width:100%;max-width:640px;line-height:1.6;margin-bottom:1rem}.page-footer{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.75rem 0;z-index:1000;border-top:1px solid rgba(0,0,0,.05)}.page-layout.chat-started .page-footer{position:static;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-top:none;z-index:auto;padding:.5rem 0}.footer-content{text-align:center;font-size:.85rem;color:#666;opacity:.8;line-height:1.4}.footer-content p{margin:.25rem 0}.footer-content a{color:#666;text-decoration:underline}.footer-content a:hover{color:#333}@media (max-width:768px){main{padding:.5rem 1rem 0}.input-area-wrapper.bottom{bottom:5.5rem}.page-layout.chat-started .chat-inner{padding-bottom:2.5rem}.message-content{font-size:.9rem!important}.input-tools{padding:0!important}.page-footer{padding-left:10px!important;padding-right:10px!important;font-size:.65rem}}@media (min-height:601px) and (max-height:900px){.input-area-wrapper.centered{top:35%;transform:translate(-50%,-40%)}}@media (max-height:600px){main{padding:.25rem 1rem 0}.input-area-wrapper.bottom{bottom:5rem}.input-area-wrapper.centered{position:absolute;top:2rem;left:50%;transform:translateX(-50%);justify-content:flex-start;height:calc(100vh - 10rem);overflow-y:auto}.page-layout.chat-started .chat-inner{padding-bottom:2rem}.message-content{font-size:.85rem!important}.input-tools{padding:0!important}.page-footer{padding-left:10px!important;padding-right:10px!important;font-size:.6rem}.ice-breaker{max-height:50vh;overflow-y:auto;padding:.5rem;border-radius:.5rem;scrollbar-width:thin;scrollbar-color:#d1d5db #f9fafb}.ice-breaker::-webkit-scrollbar{width:6px}.ice-breaker::-webkit-scrollbar-track{background:#f9fafb;border-radius:3px}.ice-breaker::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.ice-breaker::-webkit-scrollbar-thumb:hover{background:#9ca3af}}@media (max-height:500px){main{padding:0 1rem}.input-area-wrapper.bottom{bottom:4.5rem}.input-area-wrapper.centered{top:1rem;height:calc(100vh - 8rem);gap:1rem}.page-layout.chat-started .chat-inner{padding-bottom:1.5rem}.message-content{font-size:.8rem!important}.input-tools{padding:0!important}.page-footer{padding-left:10px!important;padding-right:10px!important;font-size:.55rem}.ice-breaker{max-height:40vh}}@media (max-height:400px){.input-area-wrapper.centered{top:.5rem;height:calc(100vh - 7rem);gap:.75rem;padding:0 1rem}.ice-breaker{max-height:35vh;font-size:1.1rem}}.quick-response-button{display:inline-block;padding:8px 16px;margin:4px 8px 4px 0;background-color:#f0f0f0;border:1px solid #ddd;border-radius:20px;cursor:pointer;font-size:14px;font-family:inherit;color:#333;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;vertical-align:middle;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.quick-response-button:hover{background-color:#e0e0e0;border-color:#ccc;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.quick-response-button:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.1)}.quick-response-button:focus{outline:none;box-shadow:0 0 0 2px rgba(59,130,246,.3)}.quick-response-container{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}@media (max-width:768px){.quick-response-button{max-width:200px;font-size:13px;padding:6px 12px}}@media (max-width:480px){.quick-response-button{max-width:320px;font-size:12px;padding:5px 10px}}.page-layout.embedded-mode{font-size:.9rem}.powered-by-aimployee{position:fixed;right:1.5rem;bottom:1rem;z-index:9999;display:none}.page-layout.embedded-mode .powered-by-aimployee{display:block}.powered-by-link{display:inline-block;padding:4px 8px;background:rgba(0,0,0,.7);color:white;text-decoration:none;font-size:10px;font-weight:500;border-radius:3px;letter-spacing:.5px;transition:all .2s ease;pointer-events:auto;opacity:.8}.powered-by-link:hover{background:rgba(0,0,0,.9);opacity:1;transform:translateY(-1px);text-decoration:none;color:white}.page-layout.embedded-mode .powered-by-aimployee{position:absolute;bottom:1rem;right:1.5rem;z-index:1000}.page-layout.embedded-mode .powered-by-link{background:transparent;font-size:12px;padding:3px 6px;color:#8c52ff}@media (max-width:480px){.powered-by-aimployee{bottom:8px;right:12px}.powered-by-link{font-size:9px;padding:3px 6px}.page-layout.embedded-mode .powered-by-link{font-size:10px;padding:3px 6px}}.embedded-header{background:var(--custom-background-color);color:var(--custom-text-color);padding:1rem;box-shadow:0 2px 8px rgba(0,0,0,.15);position:relative;flex-shrink:0}.embedded-header-content{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.embedded-header .header-left{display:flex;align-items:center;gap:.75rem}.embedded-header .company-logo{width:16px;height:20.34px;object-fit:cover;flex-shrink:0}.embedded-header .company-info{display:flex;flex-direction:row;align-items:center;gap:1rem}.embedded-header .company-name{font-weight:600;font-size:1.5rem;line-height:1.3;color:var(--custom-text-color,#fff)}.embedded-header .company-tagline{font-size:.875rem;opacity:.9;line-height:1.2}.embedded-header .header-right{display:flex;align-items:center;gap:.5rem}.embedded-header .minimize-button{background:rgba(255,255,255,.1);border:none;border-radius:6px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:white;cursor:pointer;transition:all .2s ease}.embedded-header .minimize-button:hover{background:rgba(255,255,255,.2);transform:scale(1.05)}.embedded-header .minimize-button:active{transform:scale(.95)}.embedded-header .intro-section{border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}.embedded-header .intro-message{display:none}.embedded-header .intro-message:hover{background:rgba(255,255,255,.05)}.embedded-header .intro-message.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.embedded-header .intro-message.expanded{white-space:pre-wrap}.embedded-header .expand-indicator{color:rgba(255,255,255,.7);font-size:.8rem;margin-left:.25rem}.embedded-header .action-prompt{font-size:.875rem;opacity:.9;font-weight:500;line-height:1.5}.page-layout.embedded-mode main{padding:1rem 1rem 8rem;flex:1 1;min-height:0;overflow-y:auto}.page-layout.embedded-mode .input-bar{border-radius:8px;padding:.75rem;box-shadow:0 2px 8px rgba(0,0,0,.1);border:1px solid #e2e8f0}.chat-bubble ul{margin:.75rem 0;padding-left:1.5rem;list-style:none}.chat-bubble ul li{position:relative;margin:.25rem 0;line-height:1.6}.chat-bubble ul li:before{content:"•";color:#9ca3af;font-size:1.1em;position:absolute;left:-1rem;top:0}.chat-bubble ol{margin:.75rem 0;padding-left:2rem;list-style:decimal;list-style-position:outside}.chat-bubble ol li{margin:.25rem 0;line-height:1.6;display:list-item}.chat-bubble ol li::marker{color:#6b7280;font-weight:600;font-size:.9em}.chat-bubble ol ol,.chat-bubble ol ul,.chat-bubble ul ol,.chat-bubble ul ul{margin:.25rem 0;padding-left:1.5rem}.chat-bubble ol ol li::marker{color:#9ca3af;font-weight:500;font-size:.85em}.chat-bubble ul ul li:before{content:"◦";font-size:1em;color:#d1d5db}.chat-bubble ul ul ul li:before{content:"▪";font-size:.8em;color:#d1d5db}.chat-bubble ul.task-list{list-style:none;padding-left:0}.chat-bubble ul.task-list li{padding-left:1.5rem}.chat-bubble ul.task-list li:before{content:none}.chat-bubble .task-list-item-checkbox{margin-right:.5rem;margin-left:-1.5rem;vertical-align:middle}.chat-bubble blockquote{margin:1rem 0;padding:.75rem 1rem;background:#f9fafb;border-left:3px solid #e5e7eb;border-radius:0 .25rem .25rem 0;color:#6b7280;font-style:normal}.chat-bubble blockquote p{margin:0}.chat-bubble blockquote>:first-child{margin-top:0}.chat-bubble blockquote>:last-child{margin-bottom:0}.chat-bubble blockquote blockquote{margin:.5rem 0;border-left-color:#d1d5db;background:#f3f4f6}.chat-bubble a{color:#2563eb;text-decoration:none;border-bottom:1px solid transparent;transition:all .15s ease}.chat-bubble a:hover{color:#1d4ed8;border-bottom-color:#93c5fd}.chat-bubble a:visited{color:#7c3aed}.chat-bubble a:visited:hover{color:#6d28d9;border-bottom-color:#c4b5fd}.chat-bubble a[href^=http]:not([href*=localhost]):not([href*="127.0.0.1"]):after{content:" ↗";font-size:.75em;color:#9ca3af;margin-left:.1em}.chat-bubble b,.chat-bubble strong{font-weight:600;color:#111827}.chat-bubble em,.chat-bubble i{font-style:italic;color:#374151}.chat-bubble del,.chat-bubble s{text-decoration:line-through;color:#9ca3af;opacity:.8}.chat-bubble u{text-decoration:underline;-webkit-text-decoration-color:#d1d5db;text-decoration-color:#d1d5db;text-underline-offset:2px}.chat-bubble mark{background:#fef3c7;color:#92400e;padding:.1em .2em;border-radius:.125rem}.chat-bubble code:not(pre code){background:#f3f4f6;color:#e11d48;padding:.125rem .25rem;border-radius:.25rem;font-size:.875em;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;border:1px solid #e5e7eb}.chat-bubble .emoji,.chat-bubble img.emoji{display:inline-block;width:1.2em;height:1.2em;vertical-align:-.1em;margin:0 .05em}.chat-bubble p{margin:.75rem 0;line-height:1.6}.chat-bubble p:first-child{margin-top:0}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble h1,.chat-bubble h2,.chat-bubble h3,.chat-bubble h4,.chat-bubble h5,.chat-bubble h6{font-weight:600;color:#111827;margin:1.5rem 0 .75rem;line-height:1.3}.chat-bubble h1:first-child,.chat-bubble h2:first-child,.chat-bubble h3:first-child,.chat-bubble h4:first-child,.chat-bubble h5:first-child,.chat-bubble h6:first-child{margin-top:0}.chat-bubble h1{font-size:1.5rem}.chat-bubble h2{font-size:1.3rem}.chat-bubble h3{font-size:1.15rem}.chat-bubble h4{font-size:1.05rem}.chat-bubble h5{font-size:1rem;font-weight:600}.chat-bubble h6{font-size:.95rem;font-weight:600;color:#6b7280}.chat-bubble hr{border:none;border-top:1px solid #e5e7eb;margin:1.5rem 0}.chat-bubble kbd{background:#f3f4f6;border:1px solid #d1d5db;border-bottom:2px solid #9ca3af;border-radius:.25rem;padding:.125rem .375rem;font-size:.8em;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;color:#374151}.markdown-table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.95rem;background:#fff;border-radius:.5rem;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08)}.markdown-thead{background:#f8f9fa}.markdown-th{padding:.75rem 1rem;text-align:left;font-weight:600;color:#2c3e50;border-bottom:2px solid #e9ecef;position:relative}.markdown-th:not(:last-child){border-right:1px solid #e9ecef}.markdown-tbody .markdown-tr:nth-child(2n){background:#f8f9fa}.markdown-tbody .markdown-tr:hover{background:#e3f2fd;transition:background-color .2s ease}.markdown-td{padding:.75rem 1rem;border-bottom:1px solid #e9ecef;color:#495057;line-height:1.5}.markdown-td:not(:last-child){border-right:1px solid #e9ecef}.markdown-tbody .markdown-tr:last-child .markdown-td{border-bottom:none}.chat-bubble pre{background:#f8f9fa;border:1px solid #e9ecef;border-radius:.5rem;padding:1rem;margin:.75rem 0;line-height:1.6;color:#495057;overflow:auto;white-space:pre;position:relative;max-height:min(300px,40vh)}.chat-bubble code,.chat-bubble pre{font-family:Courier New,Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem}.chat-bubble code{background:#f1f3f4;color:#d63384;padding:.2rem .4rem;border-radius:.25rem;border:none}.chat-bubble pre code{background:transparent;color:inherit;padding:0;border-radius:0;font-size:inherit}.chat-bubble pre{-webkit-user-select:text;-moz-user-select:text;user-select:text}.chat-bubble pre::-webkit-scrollbar{width:8px;height:8px}.chat-bubble pre::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.chat-bubble pre::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.chat-bubble pre::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.chat-bubble pre::-webkit-scrollbar-corner{background:#f1f1f1}.code-block-container{position:relative;margin:.75rem 0}.code-block-container pre{margin:0;padding-right:3rem}.copy-button{position:absolute;top:.75rem;right:.75rem;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;padding:.375rem;cursor:pointer;font-size:.875rem;color:#6b7280;transition:all .2s ease;box-shadow:0 1px 2px rgba(0,0,0,.05);z-index:10;min-width:2rem;height:2rem;display:flex;align-items:center;justify-content:center}.copy-button:hover{background:#f9fafb;border-color:#9ca3af;color:#374151;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.copy-button:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.05)}.copy-button:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.code-block-container:after{content:"";position:absolute;bottom:0;left:0;right:3rem;height:20px;background:linear-gradient(transparent,rgba(248,249,250,.8));pointer-events:none;opacity:0;transition:opacity .3s ease}.code-block-container:hover:after{opacity:1}@media (max-width:768px){.markdown-table{font-size:.875rem}.markdown-td,.markdown-th{padding:.5rem .75rem}}@media (max-height:800px){.chat-bubble pre{max-height:min(250px,35vh)}}@media (max-height:600px){.chat-bubble pre{max-height:min(200px,30vh)}}@media (max-height:500px){.chat-bubble pre{max-height:min(150px,25vh)}}.mermaid-container{position:relative;background:#f8f9fa;border:1px solid #e9ecef;border-radius:.5rem;margin:1rem 0;overflow:hidden}.mermaid-chart{display:flex;justify-content:center;align-items:flex-start;padding:1.5rem 1rem 1rem;min-height:100px;max-height:min(400px,50vh);overflow:auto;transition:all .3s ease}.mermaid-chart svg{max-width:100%;height:auto;display:block;margin:0 auto;vertical-align:top}.mermaid-controls{position:absolute;top:.5rem;left:.75rem;display:flex;gap:.25rem;z-index:10}.mermaid-control-btn{background:rgba(255,255,255,.95);border:1px solid #e5e7eb;border-radius:.5rem;padding:.375rem .75rem;cursor:pointer;font-size:.75rem;font-weight:500;color:#4b5563;transition:all .2s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 2px 4px rgba(0,0,0,.1);display:flex;align-items:center;gap:.25rem}.mermaid-control-btn:hover{background:rgba(255,255,255,1);border-color:#d1d5db;color:#1f2937;transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.mermaid-control-btn:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.1)}.mermaid-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem;box-sizing:border-box}.mermaid-modal-content{background:white;border-radius:.75rem;max-width:95vw;max-height:95vh;overflow:auto;position:relative;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}.mermaid-modal-content::-webkit-scrollbar{width:8px;height:8px}.mermaid-modal-content::-webkit-scrollbar-track{background:transparent;border-radius:.75rem}.mermaid-modal-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:4px;border:2px solid transparent;background-clip:content-box}.mermaid-modal-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3);background-clip:content-box}.mermaid-modal-content::-webkit-scrollbar-corner{background:transparent}.mermaid-modal-header{position:-webkit-sticky;position:sticky;top:0;background:white;border-bottom:1px solid #e5e7eb;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;z-index:10;border-top-left-radius:.75rem;border-top-right-radius:.75rem}.mermaid-modal-title{font-size:1.125rem;font-weight:600;color:#1f2937}.mermaid-modal-close{background:#f3f4f6;border:none;border-radius:.5rem;width:2rem;height:2rem;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#6b7280;transition:all .2s ease}.mermaid-modal-close:hover{background:#e5e7eb;color:#374151}.mermaid-modal-body{padding:1.5rem;display:flex;justify-content:center;align-items:center;border-bottom-left-radius:.75rem;border-bottom-right-radius:.75rem;background:white}.mermaid-modal-chart{max-width:100%;max-height:100%;overflow:visible}.mermaid-modal-chart svg{max-width:100%;height:auto;display:block}.mermaid-height-indicator{position:absolute;bottom:0;left:0;right:0;height:30px;background:linear-gradient(transparent,rgba(255,255,255,.95));display:flex;align-items:center;justify-content:center;font-size:.75rem;color:#6b7280;pointer-events:none;opacity:0;transition:opacity .3s ease}.mermaid-container:hover .mermaid-height-indicator.show{opacity:1}.mermaid-container.loading{background:#f8f9fa}.mermaid-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;color:#6c757d;font-size:.9rem}.loading-spinner{width:2rem;height:2rem;border:3px solid #e9ecef;border-top-color:#007bff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:.5rem}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.mermaid-container.error{background:#fff5f5;border-color:#fed7d7}.mermaid-error{padding:1rem;color:#c53030;font-size:.9rem}.mermaid-error details{margin-top:.5rem}.mermaid-error summary{cursor:pointer;color:#2d3748;font-size:.8rem}.mermaid-error pre{margin-top:.5rem;background:#f7fafc;border:1px solid #e2e8f0;border-radius:.25rem;padding:.75rem;font-size:.8rem;overflow-x:auto}@media (max-width:768px){.mermaid-chart{padding:1.25rem .75rem .75rem;max-height:min(300px,40vh)}.mermaid-chart svg{font-size:12px}.mermaid-controls{top:.375rem;left:.5rem}.mermaid-modal{padding:1rem}.mermaid-modal-content{max-width:98vw;max-height:98vh}.mermaid-modal-header{padding:.75rem 1rem}.mermaid-modal-body{padding:1rem}}@media (max-height:600px){.mermaid-chart{max-height:min(250px,35vh)}.mermaid-modal-content{max-height:95vh}}@media (max-height:500px){.mermaid-chart{max-height:min(200px,30vh)}}