body{margin:0;font-family:inter,sans-serif}.chat-container{max-width:400px;border:1px solid #ddd;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 4px 12px #0000001a;margin:20px auto}.msg{padding:10px 14px;margin-bottom:10px;border-radius:12px;max-width:80%;line-height:1.4;word-wrap:break-word}.msg.user{align-self:flex-end;background-color:#007bff;color:#fff;margin-left:auto}.msg.bot{align-self:flex-start;background-color:#e5e5ea;color:#333;margin-right:auto}.input-box{display:flex;padding:12px;background:#fff;border-top:1px solid #ddd}.input-box input{flex:1;padding:10px;border:1px solid #ccc;border-radius:8px;margin-right:8px;font-size:16px}.input-box button{background-color:#007bff;color:#fff;border:none;padding:10px 16px;border-radius:8px;cursor:pointer}.input-box button:hover{background-color:#0056b3}#root{margin:0 auto;padding:0;text-align:left;height:100vh;display:flex;flex-direction:column;font-family:inter,sans-serif;justify-content:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}.chat-container{display:flex;flex-direction:column;background:#e5ddd5;font-family:inter,sans-serif;margin:auto;max-width:600px;position:relative;@keyframes popInRight{0%{transform:translate(30%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes popInLeft{0%{transform:translate(-30%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}}.chat-container .chat-box{flex:1;background:#f9f9f9}.chat-container .chat-header{display:flex;flex-flow:row;gap:.75rem;padding:.5rem 1rem;border-bottom:1px solid #ccc;position:sticky;align-items:center}.chat-container .chat-content{padding:2rem 1rem 1rem;flex:1;display:flex;flex-direction:column;gap:0;overflow-y:scroll;height:60vh;gap:1.25rem}.chat-container .chat-header span{font-weight:700;font-family:inter,sans-serif;font-size:.875rem}.chat-container .version{background:#e9e9e9;padding:.25rem .5rem;border-radius:5px;width:fit-content;font-size:.7rem;font-weight:700;color:#d63aff;text-transform:uppercase}.chat-container .bubble{display:flex;align-items:flex-end;max-width:75%;transition:transform .3s ease}.chat-container .bubble.user{align-self:flex-end;flex-direction:row-reverse;animation:popInRight .3s ease-out}.chat-container .bubble.bot{align-self:flex-start;animation:popInLeft .3s ease-out}.chat-container .content-wrapper{display:flex;flex-flow:column;justify-content:flex-end;gap:.25rem}.chat-container .username{text-transform:uppercase;font-size:.6rem}.chat-container .user .username{text-align:right;padding-right:.5rem}.chat-container .bot .username{text-align:left;padding-left:.5rem}.chat-container .avatar{width:32px;height:32px;border-radius:50%;margin:0 .5rem;transition:.3s ease}.chat-container .content{background:#fff;padding:.5rem .75rem;border-radius:15px;box-shadow:0 1px 2px #0000001a;line-height:1.4;position:relative;white-space:pre-wrap;width:fit-content}.chat-container .bubble.user .content{background:#c6f5f8}.chat-container .article-link{margin-top:.5rem;font-size:.85rem}.chat-container .article-link a{text-decoration:underline;color:#0645ad}.chat-container .input-box{display:flex;padding:.75rem;border-top:1px solid #ccc;background:#fff;animation:fadeIn .4s ease-in}.chat-container .input-box input{flex:1;padding:.5rem .75rem;border:1px solid #ccc;border-radius:20px;margin-right:.5rem;outline:none;transition:all .2s}.chat-container .input-box input:focus{border-color:#00bfa5;box-shadow:0 0 0 2px #00bfa533}.chat-container .input-box button{padding:.5rem 1rem;border:none;background-image:linear-gradient(90deg,#49b3ff,#19ebe4);color:#fff;font-weight:700;border-radius:20px;cursor:pointer;transition:background .2s,transform .1s}.chat-container .input-box button:hover{background-image:linear-gradient(90deg,#49b3ff,#19ebe4)}.chat-container .input-box button:active{transform:scale(.95)}.chat-container .send-btn{padding:.5rem;border:none;background:#00bfa5;color:#fff;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,transform .1s}.chat-container .send-btn:hover{background:#009e88}.chat-container .send-btn:active{transform:scale(.95)}.chat-container .send-btn svg{width:20px;height:20px}.chat-container .consent-wrapper{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#fff}.chat-container .consent-card{display:flex;flex-flow:column;justify-content:center;color:#1b1b1b;padding:24px;border-radius:16px;max-width:520px;width:100%}.bubble .loading.dots{font-size:1rem;display:inline-flex;gap:.2rem;line-height:1;animation:none}.bubble .loading.dots span:nth-child(2){animation-delay:.2s}.bubble .loading.dots span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2}40%{opacity:1}}.bubble .loading.dots{align-items:flex-end;height:12px}.bubble .loading.dots span{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block;animation:dotBounce .9s infinite ease-in-out}.bubble .loading.dots span:nth-child(2){animation-delay:.15s}.bubble .loading.dots span:nth-child(3){animation-delay:.3s}@keyframes dotBounce{0%,80%,to{transform:translateY(0) scale(.9);opacity:.5}40%{transform:translateY(-4px) scale(1);opacity:1}}.admin-wrap{--bg:#0b0f14;--fg:#e5eef8;--muted:#9bb4ce;--card:#0f1520;--line:#1b2735;--btn:#183049;--btnLine:#274561;color:var(--fg);background:var(--bg);min-height:100vh;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;height:100vh;display:flex;flex-direction:column}.admin-wrap .adm-header{display:flex;flex:0 0 auto;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}.admin-wrap .adm-header input{flex:1;background:var(--card);border:1px solid var(--btnLine);color:var(--fg);padding:10px 12px;border-radius:10px}.admin-wrap .adm-header button{background:var(--btn);border:1px solid var(--btnLine);color:var(--fg);padding:8px 12px;border-radius:10px;cursor:pointer}.admin-wrap .adm-main{display:grid;grid-template-columns:380px 1fr;min-height:calc(100vh - 56px)}.admin-wrap .adm-list{border-right:1px solid var(--line);overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px}.admin-wrap .adm-item{background:var(--card);border:1px solid var(--btnLine);border-radius:12px;padding:12px;cursor:pointer}.admin-wrap .adm-item.active,.admin-wrap .adm-item:hover{background:#101a28}.admin-wrap .adm-item .sid{font-weight:600;word-break:break-all}.admin-wrap .muted{color:var(--muted)}.admin-wrap .small{font-size:12px}.admin-wrap .tiny{font-size:11px;margin-bottom:6px}.admin-wrap .adm-viewer{display:flex;flex-direction:column;min-width:0}.admin-wrap .adm-toolbar{display:flex;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--line)}.admin-wrap .adm-toolbar .spacer{flex:1}.admin-wrap .adm-toolbar button{background:var(--btn);border:1px solid var(--btnLine);color:var(--fg);padding:8px 12px;border-radius:10px;cursor:pointer}.admin-wrap .adm-log{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.admin-wrap .bubble{max-width:900px;padding:12px 14px;border-radius:12px;line-height:1.4;white-space:pre-wrap;border:1px solid var(--btnLine)}.admin-wrap .bubble.user{background:#17324a;align-self:flex-end}.admin-wrap .bubble.assistant{background:#121a25;align-self:flex-start}.admin-wrap .adm-main.three-cols{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:360px 1fr 360px}.admin-wrap .adm-userpanel{border-left:1px solid var(--line, #1b2735);display:flex;padding:12px;overflow:auto}.admin-wrap .panel-card{background:var(--card, #0f1520);border:1px solid var(--btnLine, #274561);border-radius:12px;padding:12px;width:100%;max-width:520px;margin-left:auto;height:fit-content}.admin-wrap .panel-title{font-weight:600;margin-bottom:8px}.admin-wrap .user-fields .row{display:grid;grid-template-columns:120px 1fr;gap:8px;padding:6px 0;align-items:baseline;border-bottom:1px dashed rgba(255,255,255,.06)}.admin-wrap .user-fields .row:last-child{border-bottom:0}.admin-wrap .label{color:var(--muted, #9bb4ce);font-size:12px}.admin-wrap .value{font-size:14px}.admin-wrap .mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.admin-wrap .divider{height:8px}.adm-list,.adm-viewer,.adm-userpanel{min-height:0;overflow:auto;border-right:1px solid var(--line, #1b2735)}.adm-userpanel{border-right:0;border-left:1px solid var(--line, #1b2735)}.adm-viewer{display:flex;flex-direction:column}.adm-toolbar{position:sticky;top:0;z-index:1;background:var(--appBg, #0b1220);border-bottom:1px solid var(--line, #1b2735);padding:8px 12px;flex:0 0 auto}.adm-log{flex:1 1 auto;min-height:0;overflow:auto;padding:12px}.adm-list,.adm-log,.adm-userpanel{scrollbar-width:thin}
