@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap";:root{font-family:Inter,system-ui,sans-serif;color:#20263a;background:#f8f9ff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dfe3f7;border-radius:10px;background:#fff;color:#303a58;padding:10px 14px;font-weight:600}button:hover:not(:disabled){border-color:#4f46e5;color:#4f46e5}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Plus Jakarta Sans,Inter,sans-serif}h1{font-size:clamp(30px,4vw,42px);line-height:1.15;margin-bottom:10px}h2{font-size:19px;margin-bottom:20px}h3{font-size:15px}p{line-height:1.6}small{font-size:12px;color:#69728b}input,textarea,select{background:#f7f8ff;border:1px solid #d8ddf0;border-radius:10px;padding:11px 12px;color:#20263a;min-width:0}input:focus,textarea:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #a8a5ff;outline-offset:2px}textarea{min-height:140px;resize:vertical}label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:13px;margin:0 0 18px}label input,label select,label textarea{width:100%;font-weight:400}.primary{background:#4f46e5;border-color:#4f46e5;color:#fff}.primary:hover:not(:disabled){background:#352bc9!important;color:#fff!important}.small{padding:8px 13px}.wide{width:100%}.lang{white-space:nowrap}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:#fff;border-right:1px solid #e8ebf5;padding:22px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-family:Plus Jakarta Sans,sans-serif;font-weight:800;font-size:15px;line-height:1.15;margin:0 0 26px}.brand small{display:block;color:#928dec;background:#f0eeff;border-radius:20px;padding:3px 8px;width:max-content;margin-top:4px;font-weight:500}.brand-icon{display:grid;place-items:center;background:#4f46e5;color:#fff;width:38px;height:38px;border-radius:10px;font-size:23px;font-weight:400}.connection{display:flex;align-items:center;gap:7px;background:#f5f7ff;padding:9px 12px;border-radius:8px;font-size:12px;margin-bottom:18px}.connection b{margin-left:auto;font-size:11px;color:#b91c1c}.connection.ok b{color:#006d4d}.dot{width:8px;height:8px;border-radius:100%;background:#e44}.ok .dot{background:#00845c}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav a{padding:12px 14px;border-radius:10px;font-size:14px;color:#454d63}.sidebar nav a:hover{background:#f1f2ff}.sidebar nav a.active{background:#4f46e5;color:#fff;font-weight:700}.sidebar-bottom{margin-top:auto;padding-top:20px}.user-box{background:#f3f4ff;padding:14px;border-radius:11px;overflow-wrap:anywhere;font-size:12px}.text-danger{color:#bf252f!important}.sidebar-bottom button{margin-top:12px;width:100%;border:none}.main-area{margin-left:256px;width:calc(100% - 256px);min-width:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fffffff0;border-bottom:1px solid #eceefa;position:sticky;top:0;z-index:10}.breadcrumb{font-size:13px;color:#6b7187}.breadcrumb strong{color:#4f46e5}.top-actions{display:flex;align-items:center;gap:10px}.content{padding:30px;max-width:1450px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 28px}.page-title p{color:#59637a;margin:0}.eyebrow{color:#4f46e5;font-size:11px;font-weight:800;letter-spacing:.13em;margin-bottom:8px}.grid{display:grid;gap:20px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-grid{grid-template-columns:minmax(220px,300px) minmax(0,1fr)}.panel,.stat{background:#fff;border:1px solid #e7e9f8;box-shadow:0 2px 6px #2b277709;border-radius:17px;padding:24px}.narrow{max-width:680px}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{margin:0}.panel-heading button{border:0;color:#4f46e5}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}.stat small{display:block;text-transform:uppercase;letter-spacing:.07em;font-weight:700}.stat strong{font-family:Plus Jakarta Sans,sans-serif;font-size:35px;display:block;margin-top:15px}.list-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #eef0f8}.list-row:first-of-type{border-top:0}.list-row>div:first-child{min-width:0;margin-right:auto}.list-row b{display:block;font-size:14px;overflow-wrap:anywhere}.list-row small{display:block;margin-top:6px;overflow-wrap:anywhere}.list-row button{white-space:nowrap;font-size:12px}.status{display:inline-block;border-radius:50px;background:#f1f1fa;color:#515970;font-size:11px;font-weight:700;padding:6px 9px;text-transform:capitalize}.status-completed{background:#dff8ec;color:#06734e}.status-failed{background:#ffe7e8;color:#b91c1c}.status-processing{background:#fff1d5;color:#946200}.status-queued{background:#e8ebff;color:#4640b8}.quick-actions,.actions,.filters,.tabs,.pager{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.quick-actions{margin-top:20px}.quick-actions button{padding:15px 20px}.filters{margin-bottom:16px}.filters input{flex:1}.pager{justify-content:flex-end;margin-top:20px;font-size:12px}.state{text-align:center;padding:38px 15px;color:#737b91}.alert{padding:13px 15px;border-radius:10px;margin:12px 0;font-size:13px}.alert.error{background:#fff0f1;color:#a91e2a}.alert.success{background:#e7f9ef;color:#086442}.alert button{background:transparent;border:0;text-decoration:underline;color:inherit}.toast{position:fixed;bottom:24px;right:24px;background:#252844;color:#fff;padding:14px 18px;border-radius:10px;z-index:50;box-shadow:0 8px 30px #0002}.details{display:grid;grid-template-columns:120px 1fr;gap:12px;font-size:13px;margin:0 0 25px}.details dt{color:#667088}.details dd{margin:0;overflow-wrap:anywhere}.tabs{margin-bottom:25px}.tabs button.selected{background:#4f46e5;color:#fff;border-color:#4f46e5}.dropzone{border:2px dashed #b7b7ef;background:#f8f8ff;border-radius:14px;min-height:145px;align-items:center;justify-content:center;text-align:center;padding:20px;color:#4d46b9;cursor:pointer}.dropzone input{max-width:240px}.hint{font-size:12px;color:#68728a}.answer-text{background:#f4f5ff;padding:24px;border-radius:13px;white-space:pre-wrap;line-height:1.8}.citations{margin-top:20px}.citation{background:#f6f7ff;padding:14px;border-radius:10px;margin-top:9px;border:1px solid #e7e9ff}.citation>div{display:flex;justify-content:space-between;gap:10px;font-size:12px}.citation p{font-size:12px;margin:12px 0;color:#556078}.citation button{padding:5px 8px;font-size:11px}.thread-link{width:100%;text-align:left;margin-bottom:8px}.chat-history{max-height:520px;overflow:auto;display:flex;flex-direction:column;gap:13px;margin-bottom:15px}.chat-turn{padding:14px;border-radius:14px;background:#f2f3ff;max-width:85%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}.chat-turn.user{align-self:flex-end;background:#4f46e5;color:#fff}.chat-turn.user small{color:#e0dfff}.chat-turn.assistant{align-self:flex-start}.chat-turn small{display:block;margin-top:8px}.chat-form{display:flex;gap:8px}.chat-form input{flex:1}.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 80% 10%,#edeaff,#f8f9ff 50%)}.auth-card{background:#fff;border:1px solid #e7e8f5;border-radius:22px;padding:30px;width:min(100%,430px);box-shadow:0 18px 60px #302a9910}.auth-card h1{font-size:29px}.auth-card p{font-size:13px;color:#657087}.auth-head{display:flex;align-items:start;justify-content:space-between}.auth-head .brand{margin-bottom:26px}.link-button{margin-top:18px;border:0;background:none;color:#4f46e5;padding:0}.mobile-menu{display:none}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}}@media(max-width:760px){.sidebar{transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:translate(0)}.main-area{margin-left:0;width:100%}.mobile-menu{display:block}.content{padding:18px}.topbar{padding:0 15px}.breadcrumb{display:none}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.page-title{align-items:flex-start;flex-direction:column}.panel{padding:17px}.agent-grid{grid-template-columns:1fr}.list-row{flex-wrap:wrap}.list-row>div:first-child{width:100%}.top-actions .primary{display:none}.details{grid-template-columns:90px 1fr}.chat-form{position:sticky;bottom:0;background:#fff;padding:8px 0}}
