/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid}}}.fixed{position:fixed}.static{position:static}.container{width:100%}.contents{display:contents}.flex{display:flex}.grid{display:grid}.inline-block{display:inline-block}.border{border-style:var(--tw-border-style);border-width:1px}#__next,body,html{justify-content:center;align-items:center;height:100%;display:flex}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;line-height:1.7}code{background:#f3f3f3;border-radius:4px;padding:2px 6px}li,p{line-height:1.7}section{margin-bottom:2rem}h1,h2,h3,h4,h5,h6{margin-top:1.5rem}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;background:linear-gradient(145deg,#e9eff5,#dce3ec);height:100vh;display:flex;justify-content:center;align-items:center}.app-container{width:1400px;max-width:98vw;height:90vh;max-height:850px;background:#fff;border-radius:2rem;box-shadow:0 25px 45px -12px rgba(0,0,0,.3),0 2px 6px rgba(0,0,0,.05);display:flex;overflow:hidden;position:relative}.chat-sidebar{width:280px;background:#f8fafd;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;overflow-y:auto;flex-shrink:0}.sidebar-header{padding:1.5rem 1.2rem 1rem;border-bottom:1px solid #e9edf2}.sidebar-header h3{font-size:1.25rem;font-weight:600;background:linear-gradient(135deg,#3b82f6,#8b5cf6);background-clip:text;-webkit-background-clip:text;color:transparent}.new-chat-btn{margin:1rem 1rem .75rem;background:#fff;border:1px solid #cbd5e1;border-radius:40px;padding:.6rem 0;font-weight:500;font-size:.85rem;color:#1e293b;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s}.new-chat-btn:hover{background:#f1f5f9;border-color:#94a3b8}.chat-list{flex:1;overflow-y:auto;padding:.5rem .8rem 1rem;display:flex;flex-direction:column;gap:.4rem;max-height:calc(100vh - 180px)}.chat-list::-webkit-scrollbar{width:4px}.chat-list::-webkit-scrollbar-track{background:#eef2ff;border-radius:10px}.chat-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.chat-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.delete-chat{background:none;border:none;cursor:pointer;color:#94a3b8;font-weight:700;font-size:1rem;padding:0;margin:0;width:auto;height:auto;line-height:1;transition:all .2s}.delete-chat:hover{color:#ef4444;background:none;transform:scale(1.1)}.delete-chat:focus{outline:none;background:none}.delete-chat::-moz-focus-inner{border:0;padding:0}.chat-item{padding:.75rem 1rem;border-radius:1rem;background:transparent;transition:all .2s;cursor:pointer;display:flex;align-items:center;gap:10px;font-size:.9rem;color:#1e293b;font-weight:500;border:1px solid transparent}.chat-item.active{background:#fff;border-color:#e2e8f0;border-left:3px solid #3b82f6;font-weight:600}.chat-item:not(.active):hover{background:#eef2ff}.chat-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-main{flex:1;display:flex;flex-direction:column;background:#fff}.chat-header{padding:1rem 1.8rem;border-bottom:1px solid #edf2f7}.chat-header h2{font-size:1.3rem;font-weight:600;color:#0f172a}.chat-messages{flex:1;overflow-y:auto;padding:1.5rem 1.8rem;gap:1.2rem;scroll-behavior:smooth;background:#fefefe}.chat-messages,.message{display:flex;flex-direction:column}.message{max-width:80%;animation:fadeInUp .2s ease}.message.user{align-self:flex-end}.message.bot{align-self:flex-start}.bubble{padding:.75rem 1.2rem;border-radius:1.5rem;line-height:1.45;font-size:.95rem;word-wrap:break-word;white-space:pre-wrap}.user .bubble{background:#3b82f6;color:#fff;border-bottom-right-radius:.25rem;box-shadow:0 2px 5px rgba(0,0,0,.05)}.bot .bubble{background:#f1f5f9;color:#0f172a;border-bottom-left-radius:.25rem;border:1px solid #e9edf2}.timestamp{font-size:.65rem;color:#94a3b8;margin:.3rem .6rem 0}.suggestions-container{margin:1rem 0;padding:.5rem;background:#f8fafc;border-radius:1rem}.suggestions-header{font-size:.8rem;font-weight:600;color:#475569;margin-bottom:.5rem}.suggestions-bar{display:flex;flex-wrap:wrap;gap:.7rem}.suggestion-chip{background:#f1f5f9;border-radius:40px;padding:.45rem 1.2rem;font-size:.8rem;font-weight:500;color:#1e293b;cursor:pointer;transition:all .2s;border:1px solid #e2e8f0}.suggestion-chip:hover{background:#e0e7ff;transform:translateY(-1px)}.input-area{padding:.8rem 1.8rem 1.5rem;background:#fff;border-top:1px solid #edf2f7}.input-row{display:flex;gap:.8rem;align-items:flex-end}.input-wrapper{flex:1;background:#f8fafc;border-radius:2rem;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.5rem;padding:.2rem .5rem .2rem .8rem;transition:all .2s}.input-wrapper:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.2);background:#fff}.tool-buttons-group{gap:.25rem;flex-shrink:0;border-right:1px solid #e2e8f0;padding-right:.5rem;margin-right:.25rem}.tool-btn,.tool-buttons-group{display:flex;align-items:center}.tool-btn{background:transparent;border:none;border-radius:2rem;padding:.4rem .7rem;font-size:.7rem;font-weight:500;cursor:pointer;gap:4px;color:#475569;transition:all .2s;font-family:inherit;white-space:nowrap}.tool-btn:hover{background:#eef2ff;color:#1e40af}#userInput{flex:1;border:none;background:transparent;padding:.7rem .2rem .7rem 0;font-size:.9rem;outline:none;font-family:inherit;resize:none;max-height:120px;min-width:0}#sendBtn{background:#3b82f6;border:none;border-radius:2rem;padding:.6rem 1.4rem;color:#fff;font-weight:600;font-size:.85rem;cursor:pointer;transition:.2s}#sendBtn:hover:not(:disabled){background:#2563eb;transform:scale(.97)}#sendBtn:disabled{opacity:.5;cursor:not-allowed}.typing-indicator{background:#f1f5f9;border-radius:1.5rem;padding:.5rem 1rem;display:inline-flex;gap:.3rem;align-items:center;font-size:.8rem;color:#475569}.dot{width:6px;height:6px;background:#5b6e8c;border-radius:50%;display:inline-block;animation:blink 1.4s infinite}.dot:nth-child(2){animation-delay:.2s}.dot:nth-child(3){animation-delay:.4s}@keyframes blink{0%,60%,to{opacity:.2;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.api-key-popup{box-shadow:0 10px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.02);padding:.9rem 1.2rem;z-index:100}.api-key-popup,.topic-dropup{position:fixed;background:#fff;border-radius:1rem;border:1px solid #e2e8f0;backdrop-filter:blur(4px)}.topic-dropup{bottom:85px;left:140px;box-shadow:0 10px 25px -5px rgba(0,0,0,.15);padding:.8rem 1rem;width:220px;z-index:50}.topic-dropup h4{font-size:.75rem;color:#475569;margin-bottom:.6rem;font-weight:600}.api-key-popup{bottom:85px;left:30px;width:280px}.api-key-popup input,.topic-dropup input{width:100%;padding:.5rem .7rem;border:1px solid #cbd5e1;border-radius:2rem;font-size:.8rem;margin:.5rem 0;outline:none}.api-key-popup button,.topic-dropup button{background:#3b82f6;color:#fff;border:none;border-radius:2rem;padding:.4rem 1rem;font-size:.75rem;cursor:pointer;width:100%}.topic-option{display:flex;align-items:center;gap:8px;padding:.4rem 0;font-size:.8rem;cursor:pointer}.topic-option input{cursor:pointer;width:16px;height:16px;accent-color:#3b82f6}.topic-option label{cursor:pointer;flex:1;color:#1e293b}.topic-footer{margin-top:.5rem;font-size:.7rem;color:#64748b;text-align:center;border-top:1px solid #edf2f7;padding-top:.5rem}.topic-footer button{background:#3b82f6;color:#fff;border:none;border-radius:2rem;padding:.4rem 1rem;font-size:.75rem;cursor:pointer;width:100%}.topic-footer button:hover{background:#2563eb}.hidden-dropup{display:none}.chat-messages::-webkit-scrollbar{width:5px}.chat-messages::-webkit-scrollbar-track{background:#eef2ff;border-radius:10px}.chat-messages::-webkit-scrollbar-thumb{background:#b9c3da;border-radius:10px}@media (max-width:720px){.app-container{flex-direction:column}.chat-sidebar{width:100%;max-height:180px}.chat-list{flex-direction:row;overflow-x:auto}.message{max-width:95%}.tool-btn{padding:.3rem .5rem;font-size:.65rem}}.hmac-example-setup,.hmac-example-setup td,.hmac-example-setup th{border:1px solid #cfcfcf}.hmac-example-setup{border-collapse:collapse;margin-top:8px}.hmac-example-setup td,.hmac-example-setup th{padding:6px 10px;text-align:left}.docs-article .code{background:#f8f8fb;padding:12px;border-radius:6px;overflow:auto;white-space:pre-wrap;word-break:break-word}.headers-table{width:100%;border-collapse:collapse;margin:12px 0}.headers-table td,.headers-table th{border:1px solid #d1d5db;padding:8px 10px;text-align:left}.headers-table thead th{background:#f3f4f6;font-weight:600}