@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(../media/77d9a04c69f7b11b-s.p.1uklb5el4zgvl.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(../media/d81b50f8e1aba043-s.05i4gb4p0piv4.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:400;font-display:swap;src:url(../media/dd018b41519c2d93-s.p.2g-0we2o5_ngd.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(../media/b4fb5dfe9580f890-s.p.1zvg0ggiaivzo.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(../media/1f6c95fdd7b08cc8-s.0jaqhc1tb-5xm.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:500;font-display:swap;src:url(../media/7f1976624c2b6255-s.p.1hvvd1t-trplq.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(../media/6ac706d910f2bd04-s.p.25pbmqxk8u2s7.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(../media/3c61b7007b1b2764-s.0n_ln9vqskgts.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:600;font-display:swap;src:url(../media/25d341d5876d8ede-s.p.2wu4yy186g04j.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(../media/6bf0d8dd0c866b9f-s.p.10uaeld2xxvpt.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(../media/341181aba0db3eca-s.2bbpeapf-lbjw.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:700;font-display:swap;src:url(../media/83940f62350fcaa7-s.p.13y-iz2lazqtb.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:800;font-display:swap;src:url(../media/7d827713c9830e8a-s.p.1ubek13yfcpkr.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:800;font-display:swap;src:url(../media/8ff72baa89522a13-s.0t1_atrj_pkiu.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Be Vietnam Pro;font-style:normal;font-weight:800;font-display:swap;src:url(../media/851ce0e34689f040-s.p.0unco9n87mni8.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Be Vietnam Pro Fallback;src:local(Arial);ascent-override:90.61%;descent-override:24.01%;line-gap-override:0.0%;size-adjust:110.36%}.gduDua_className{font-family:Be Vietnam Pro,Be Vietnam Pro Fallback;font-style:normal}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--orange:#f97316;--navy:#0f2747;--ink:#172033;--muted:#64748b;--line:#e5e7eb;--bg:#f6f8fb}*{box-sizing:border-box}body{color:var(--ink);background:var(--bg);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.password-input{align-items:center;display:flex;position:relative}.password-input input{padding-right:48px!important}.password-input button{color:#94a3b8;background:0 0;border:0;border-radius:8px;width:38px;height:36px;font-size:19px;position:absolute;right:5px}.password-input button:hover{color:var(--orange);background:#f9731614}.auth-google-button{color:#1f2937;background:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;gap:11px;width:100%;margin-top:24px;padding:12px 14px;font-weight:750;display:flex;box-shadow:0 1px 2px #0f172a0d}.auth-google-button:hover{background:#f8fafc;border-color:#94a3b8}.auth-google-button span{background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);color:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;font-weight:900;display:grid}.auth-divider{color:#94a3b8;align-items:center;gap:12px;margin:20px 0 0;font-size:13px;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.auth-email-form{margin-top:18px!important}label:has(input[name=showBranding]){display:none!important}.widget-branding{letter-spacing:.02em;background:#fff7ed;border-top:1px solid #fed7aa;font-weight:800;color:#0f2747!important;padding:9px!important;font-size:0!important}.widget-branding:after{content:"Chat BOT xây dựng bởi NET5S";font-size:11px}.source-actions{align-items:flex-start;gap:8px;display:flex}.source-actions .button{padding:8px 10px;font-size:13px}.shell{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--navy);color:#fff;flex-direction:column;gap:28px;padding:24px 18px;display:flex}.brand{letter-spacing:.02em;align-items:center;gap:11px;font-weight:800;display:flex}.brand-mark{background:var(--orange);border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.nav{gap:6px;display:grid}.nav a,.nav-disabled{color:#c8d4e5;border-radius:10px;padding:11px 12px}.nav a.active,.nav a:hover{color:#fff;background:#ffffff18}.nav-disabled{opacity:.55;cursor:not-allowed}.main{padding:28px 34px}.topbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.topbar h1{margin:0;font-size:26px}.topbar-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.notification-permission{white-space:nowrap}.muted{color:var(--muted)}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:20px;box-shadow:0 8px 28px #0f274708}.metric{margin-top:10px;font-size:30px;font-weight:750}.wide{grid-column:span 2}.notice{border-left:4px solid var(--orange)}.button{background:var(--orange);color:#fff;border:0;border-radius:10px;padding:11px 16px;font-weight:700}.button.secondary{color:var(--ink);background:#eef2f7}.auth-wrap{background:radial-gradient(circle at top right,#ffedd5,transparent 35%),var(--bg);place-items:center;min-height:100vh;padding:22px;display:grid}.auth-card{border:1px solid var(--line);background:#fff;border-radius:20px;width:min(460px,100%);padding:30px;box-shadow:0 24px 70px #0f274716}.auth-card h1{margin:22px 0 8px}.form{gap:14px;margin-top:24px;display:grid}.field{gap:7px;font-weight:650;display:grid}.field input{border:1px solid #cbd5e1;border-radius:10px;outline:none;padding:12px 13px}.field input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #f9731620}.error{color:#b42318;background:#fff1f0;border-radius:9px;padding:10px}.success{color:#087443;background:#ecfdf3;border-radius:9px;padding:10px}.auth-links{gap:12px;display:grid}.auth-links .button{text-align:center;text-decoration:none}.auth-links .muted{width:max-content}.sidebar-footer{color:#c8d4e5;border:1px solid #ffffff18;border-radius:12px;gap:4px;margin-top:auto;padding:14px 12px;display:grid}.sidebar-footer strong{color:#fff}.sidebar-footer span{color:#fdba74;font-size:12px}.account-menu{width:100%;position:relative}.account-trigger{width:100%;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.account-copy{min-width:0;display:grid}.account-copy strong,.account-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-avatar{overflow:hidden}.workspace-avatar img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}.account-popover{z-index:100;color:#e8edf5;background:#182230;border:1px solid #354154;border-radius:12px;width:240px;padding:8px;position:absolute;bottom:calc(100% + 10px);left:0;box-shadow:0 18px 50px #0008}.account-popover>div{border-bottom:1px solid #354154;padding:8px 10px 12px;display:grid}.account-popover small{color:#91a0b8;text-overflow:ellipsis;overflow:hidden}.account-popover a,.account-popover button{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;padding:10px;display:block}.account-popover a:hover,.account-popover button:hover{background:#253145}.account-settings-grid{grid-template-columns:minmax(0,1fr) 340px;gap:20px;display:grid}.account-avatar-preview{text-align:center}.account-avatar-preview .workspace-avatar{width:110px;height:110px;margin:12px auto;font-size:38px}.notification-settings{grid-column:1/-1}.notification-settings>h2{margin-bottom:4px}.notification-settings>p{margin-top:0}.notification-setting-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:18px 0;display:flex}.notification-setting-row strong,.notification-setting-row small,.notification-setting-row em{display:block}.notification-setting-row small,.notification-setting-row em{color:var(--muted);margin-top:4px;font-size:14px}.notification-setting-row em{color:#f5a5a5;font-style:normal}.toggle{flex:none;width:48px;height:26px;position:relative}.toggle input{opacity:0;position:absolute}.toggle span{background:#46566d;border-radius:999px;width:100%;height:100%;transition:all .18s;display:block}.toggle span:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .18s;position:absolute;top:4px;left:4px}.toggle input:checked+span{background:#1677ff}.toggle input:checked+span:after{transform:translate(22px)}.toggle input:disabled+span{opacity:.45}.notification-sound-test{margin-top:4px}.notification-consent-overlay{z-index:200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#02081499;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.notification-consent{color:#eff6ff;background:#172334;border:1px solid #3c506c;border-radius:16px;width:min(100%,460px);padding:26px;box-shadow:0 18px 60px #0009}.notification-consent strong{font-size:20px;display:block}.notification-consent p{color:#aebed2;margin:9px 0 0;line-height:1.6}.notification-consent>div:last-child{white-space:nowrap;justify-content:flex-end;gap:8px;margin-top:22px;display:flex}@media (max-width:760px){.account-settings-grid{grid-template-columns:1fr}.account-popover{width:auto;position:fixed;bottom:14px;left:14px;right:14px}.notification-consent{padding:22px}.notification-setting-row{align-items:flex-start}}.panel{border:1px solid var(--line);background:#fff;border-radius:16px;padding:22px;box-shadow:0 8px 28px #0f274708}.panel h2{margin:0 0 8px}.builder-layout{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);align-items:start;gap:22px;display:grid}.builder-fields{gap:18px;display:grid}.preview-panel{background:linear-gradient(145deg,#eef2ff,#fff7ed);border:1px solid #dfe5ef;border-radius:20px;flex-direction:column;gap:24px;min-height:650px;padding:24px;display:flex;position:sticky;top:24px}.section-heading{align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.section-heading h2{margin:0}.section-heading p{margin:4px 0 0}.step{color:#c2410c;background:#fff0e6;border-radius:10px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.field{gap:7px;margin-bottom:14px;font-weight:650;display:grid}.field input,.field select,.field textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;padding:12px 13px}.field textarea{resize:vertical;line-height:1.5}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #f9731620}.field .color-input{height:46px;padding:5px}.check{align-items:center;gap:9px;font-weight:600;display:flex}.check input{width:18px;height:18px;accent-color:var(--orange)}.form-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.button.danger{color:#b42318;background:#fee2e2;margin-right:auto}.button:disabled{opacity:.55;cursor:not-allowed}.eyebrow{letter-spacing:.1em;color:#c2410c;font-size:12px;font-weight:800}.widget-stage{flex-direction:column;justify-content:flex-end;gap:12px;min-height:470px;display:flex}.widget-left{align-items:flex-start}.widget-right{align-items:flex-end}.widget-window{color:#172033;background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:min(340px,100%);overflow:hidden;box-shadow:0 18px 55px #0f274725}.widget-header{color:#fff;align-items:center;gap:11px;padding:16px;display:flex}.widget-header div:last-child{gap:2px;display:grid}.widget-header small{opacity:.82}.avatar{color:#0f2747;background:#fff;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.avatar.large{color:#fff;width:48px;height:48px}.widget-body{color:#172033;background:#f8fafc;min-height:180px;padding:18px}.bot-bubble{color:#172033;background:#fff;border-radius:5px 14px 14px;max-width:85%;padding:11px 13px;line-height:1.45;box-shadow:0 4px 15px #0f27470c}.widget-composer{color:#64748b;border-top:1px solid #edf0f4;justify-content:space-between;padding:13px 15px;display:flex}.widget-composer button{color:#94a3b8;background:0 0;border:0}.widget-branding{text-align:center;color:#94a3b8;padding:0 0 8px;font-size:10px}.widget-launcher{color:#fff;border-radius:999px;align-items:center;gap:8px;padding:12px 17px;font-weight:750;display:flex;box-shadow:0 12px 30px #0f274725}.list-summary{justify-content:space-between;margin-bottom:18px;display:flex}.list-summary div{gap:4px;display:grid}.chatbot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.chatbot-card{border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0;padding:20px;transition:all .2s}.chatbot-card:hover{border-color:#fdba74;transform:translateY(-2px);box-shadow:0 14px 35px #0f274710}.chatbot-card-head{justify-content:space-between;align-items:center;display:flex}.chatbot-card h2{margin:16px 0 8px}.chatbot-card p{height:44px;color:var(--muted);line-height:1.45;overflow:hidden}.status{border-radius:99px;padding:6px 9px;font-size:12px;font-weight:750}.status-active{color:#087443;background:#dcfce7}.status-draft{color:#475569;background:#f1f5f9}.status-paused{color:#c2410c;background:#ffedd5}.card-meta{border-top:1px solid var(--line);color:#64748b;gap:12px;padding-top:14px;font-size:12px;display:flex}.card-meta span:last-child{color:#c2410c;margin-left:auto;font-weight:700}.empty-state{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;align-content:center;place-items:center;gap:9px;min-height:330px;padding:32px;display:grid}.empty-state h2,.empty-state p{margin:0}.empty-icon{color:var(--orange);font-size:34px}.playground-layout{grid-template-columns:1fr 1fr;align-items:start;gap:22px;display:grid}.playground-disabled{gap:10px;margin-top:24px;display:flex}.playground-disabled textarea{border:1px solid var(--line);border-radius:10px;flex:1;min-height:90px;padding:12px}@media (max-width:1100px){.builder-layout{grid-template-columns:1fr}.preview-panel{min-height:auto;position:static}.chatbot-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.playground-layout{grid-template-columns:1fr}}@media (max-width:720px){.shell{display:block}.sidebar{gap:14px;padding:16px}.nav{display:flex;overflow:auto}.nav a,.nav-disabled{white-space:nowrap}.sidebar-footer{display:none}.main{padding:20px}.grid,.chatbot-grid{grid-template-columns:1fr}.wide{grid-column:auto}.topbar{flex-direction:column;align-items:flex-start}.form-grid{grid-template-columns:1fr}.builder-layout{display:block}.preview-panel{margin-top:18px;padding:18px}.form-actions{flex-wrap:wrap}.button.danger{width:100%;margin:0}.widget-window{width:100%}.playground-disabled{flex-direction:column}}.knowledge-layout{grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);align-items:start;gap:20px;display:grid}.mode-tabs{gap:6px;margin-bottom:18px;display:flex}.mode-tabs button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 11px}.mode-tabs button.active{background:var(--navy);color:#fff}.small{font-size:12px}.source-list{gap:10px;display:grid}.source-list-head{justify-content:space-between;align-items:center;display:flex}.source-card{border:1px solid var(--line);background:#fff;border-radius:14px;justify-content:space-between;gap:12px;padding:16px;display:flex}.source-card>div{gap:5px;display:grid}.source-card .status{justify-self:start}.source-card small{color:var(--muted)}.status-ready{color:#087443;background:#dcfce7}.status-queued,.status-processing{color:#1d4ed8;background:#dbeafe}.status-failed{color:#b42318;background:#fee2e2}.error-inline{color:#b42318;font-size:12px}.icon-danger{color:#b42318;background:#fff1f0;border:0;border-radius:9px;height:max-content;padding:8px 10px}.playground-chat{max-width:1000px;margin:auto}.playground-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.playground-toolbar .field{min-width:260px}.live-badge{color:#087443;background:#ecfdf3;border-radius:99px;padding:7px 11px;font-size:12px;font-weight:750}.chat-canvas{border:1px solid var(--line);background:#f8fafc;border-radius:14px;align-items:flex-end;min-height:330px;padding:22px;display:flex}.empty-chat{text-align:center;color:var(--muted);gap:7px;margin:auto;display:grid}.assistant-answer{white-space:pre-wrap;background:#fff;border-radius:5px 16px 16px;max-width:85%;padding:16px;line-height:1.65;box-shadow:0 5px 20px #0f27470c}.typing{color:var(--muted)}.citations{background:#fff7ed;border-radius:10px;gap:5px;margin:14px 0;padding:12px;font-size:13px;display:grid}.usage-line{text-align:right;color:var(--muted);margin:10px 0;font-size:12px}.chat-form{gap:10px;margin-top:14px;display:flex}.chat-form textarea{resize:vertical;border:1px solid #cbd5e1;border-radius:12px;flex:1;min-height:80px;padding:12px}.chat-form .button{align-self:flex-end}@media (max-width:850px){.knowledge-layout{grid-template-columns:1fr}.chat-form{flex-direction:column}.chat-form .button{align-self:stretch}.playground-toolbar{flex-direction:column;align-items:flex-start}}.inbox{border:1px solid var(--line);background:#fff;border-radius:16px;grid-template-columns:300px minmax(0,1fr) 230px;height:calc(100dvh - 135px);min-height:520px;display:grid;overflow:hidden}.inbox-list,.inbox-info{background:#f8fafc;min-height:0;padding:16px;overflow:auto}.inbox-list{border-right:1px solid var(--line)}.inbox-info{border-left:1px solid var(--line)}.conversation-row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:1fr auto;gap:5px;width:100%;padding:13px 9px;display:grid}.conversation-row.selected{background:#fff7ed;border-radius:10px}.conversation-row span{display:grid}.conversation-row small{color:var(--muted);font-size:10px}.conversation-row b{background:var(--orange);color:#fff;border-radius:99px;place-items:center;min-width:20px;height:20px;font-size:11px;display:grid}.conversation-row p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;grid-column:1/-1;margin:0;overflow:hidden}.inbox-thread{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.thread-head{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;gap:12px;padding:16px;display:flex}.thread-head>div:first-child{display:grid}.thread-head small{color:var(--muted)}.thread-actions{flex-wrap:wrap;gap:7px;display:flex}.thread-messages{overscroll-behavior:contain;scrollbar-gutter:stable;background:#f8fafc;flex-direction:column;flex:1;gap:10px;min-height:0;padding:18px;display:flex;overflow:auto}.thread-message{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:14px;gap:3px;max-width:78%;padding:10px 12px;display:grid}.thread-message small{color:var(--muted);font-size:9px}.thread-message.visitor{align-self:flex-start}.thread-message.ai,.thread-message.agent{background:#fff7ed;align-self:flex-end}.thread-message.system{text-align:center;color:var(--muted);background:0 0;align-self:center}.thread-composer{border-top:1px solid var(--line);flex:none;gap:8px;padding:13px;display:flex}.thread-composer input{border:1px solid #cbd5e1;border-radius:10px;flex:1;min-width:0;padding:11px}.inbox-info dl{grid-template-columns:1fr 1fr;gap:10px;display:grid}.inbox-info dt{color:var(--muted)}.inbox-info dd{text-align:right;margin:0;font-weight:700}@media (max-width:1100px){.inbox{grid-template-columns:260px 1fr}.inbox-info{display:none}}@media (max-width:760px){.inbox{height:auto;min-height:0;display:block}.inbox-list{border-right:0;border-bottom:1px solid var(--line);max-height:240px}.inbox-thread{height:calc(100dvh - 110px);min-height:520px}.thread-head{flex-direction:column}.thread-actions .button{padding:8px 10px}}.ai-options{background:#f8fafc;border-radius:12px;flex-wrap:wrap;gap:12px;margin:12px 0;padding:14px;display:flex}.ai-options>strong{width:100%}.ai-options .field{min-width:180px;margin:0}.safe-markdown p{margin:0 0 9px}.safe-markdown p:last-child{margin:0}.safe-markdown ul,.safe-markdown ol{margin:8px 0;padding-left:22px}.safe-markdown a,.citations a{color:#c2410c;text-decoration:underline}.suggested-replies{gap:8px;margin:10px 0;display:flex;overflow:auto}.suggested-replies button{white-space:nowrap;color:#9a3412;background:#fff7ed;border:1px solid #fdba74;border-radius:99px;padding:8px 11px}.intent-line{color:var(--muted);margin-top:8px;font-size:11px}.typing-dots{letter-spacing:3px;animation:1s infinite pulse}@keyframes pulse{50%{opacity:.3}}.analytics-panel{margin-top:18px}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%}.table-wrap th,.table-wrap td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:11px}.budget-warning{color:#9a3412;background:#fff7ed;border-radius:10px;margin-top:18px;padding:13px}.threshold-100{color:#b42318;background:#fee2e2}.chatbot-edit-stack{gap:20px;display:grid}.embed-panel{margin-top:2px}.embed-warning{color:#9a3412;background:#fff7ed;border-radius:10px;margin:10px 0;padding:11px 13px}.embed-code-wrap{position:relative}.embed-code-wrap pre{color:#e2e8f0;background:#0f172a;border-radius:12px;margin:0;padding:18px 150px 18px 18px;line-height:1.6;overflow:auto}.embed-code-wrap .button{position:absolute;top:10px;right:10px}.embed-notes{gap:7px;margin-top:14px;font-size:13px;display:grid}.embed-notes code{overflow-wrap:anywhere}@media (max-width:620px){.embed-code-wrap pre{padding:58px 16px 16px}.embed-code-wrap .button{left:10px;right:auto}}.embed-preview-action{align-items:center;gap:12px;margin:14px 0;display:flex}.widget-test-site{color:#172033;background:#fff;min-height:100vh}.widget-test-toolbar{z-index:100;color:#fff;background:#0f2747;justify-content:space-between;align-items:center;gap:16px;padding:12px 5vw;display:flex;position:sticky;top:0;box-shadow:0 4px 20px #0f274720}.widget-test-toolbar>div{align-items:center;gap:12px;display:flex}.widget-test-toolbar span{color:#c8d4e5;font-size:12px}.widget-test-toolbar-actions{justify-content:flex-end}.preview-runtime{background:#ffffff15;border-radius:99px;padding:6px 9px}.preview-ready{color:#86efac!important}.preview-error{color:#fca5a5!important}.demo-nav{justify-content:space-between;align-items:center;padding:24px 7vw;display:flex}.demo-nav div{color:#64748b;gap:24px;display:flex}.demo-hero{background:radial-gradient(circle at 85% 20%,#ffedd5,#0000 30%),linear-gradient(135deg,#f8fafc,#fff);grid-template-columns:1.3fr .7fr;align-items:center;gap:50px;min-height:500px;padding:70px 8vw;display:grid}.demo-hero h1{max-width:720px;margin:12px 0;font-size:clamp(38px,6vw,72px);line-height:1.04}.demo-hero p{color:#64748b;max-width:650px;font-size:18px;line-height:1.7}.demo-buttons{gap:12px;margin-top:24px;display:flex}.demo-buttons button{color:#fff;background:#f97316;border:0;border-radius:11px;padding:13px 18px;font-weight:750}.demo-buttons .outline{color:#172033;background:#fff;border:1px solid #cbd5e1}.demo-visual{aspect-ratio:1;color:#fff;text-align:center;background:#0f2747;border-radius:35%;place-items:center;font-size:48px;font-weight:900;display:grid;box-shadow:25px 25px #f97316}.demo-features{grid-template-columns:repeat(3,1fr);gap:18px;padding:50px 8vw;display:grid}.demo-features article{border:1px solid #e2e8f0;border-radius:16px;padding:24px}.demo-features p{color:#64748b;line-height:1.6}.widget-test-checks{background:#f8fafc;border-radius:16px;margin:20px 8vw 60px;padding:24px}.widget-test-checks li{margin:8px 0}.demo-footer{color:#c8d4e5;background:#0f2747;padding:25px 8vw}@media (max-width:760px){.widget-test-toolbar,.widget-test-toolbar>div,.embed-preview-action{flex-direction:column;align-items:flex-start}.widget-test-toolbar{position:static}.widget-test-toolbar-actions{width:100%}.demo-nav div{display:none}.demo-hero{grid-template-columns:1fr;padding:50px 6vw}.demo-visual{display:none}.demo-features{grid-template-columns:1fr;padding:30px 6vw}.widget-test-checks{margin:20px 6vw 40px}}.billing-layout{gap:24px;display:grid}.billing-current{background:linear-gradient(135deg,#172638,#111a27)}.billing-eyebrow{letter-spacing:.12em;color:#ff7417;font-size:12px;font-weight:800}.billing-current h2,.payment-box h2{margin:10px 0;font-size:30px}.billing-status{align-items:center;gap:12px;display:flex}.billing-status b{color:#55e3a4;background:#153f31;border-radius:999px;padding:5px 10px}.billing-status span{color:var(--muted)}.billing-plans{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.billing-plan h3{margin:10px 0;font-size:28px}.billing-plan p{color:var(--muted)}.payment-box{grid-template-columns:1fr auto;align-items:center;gap:24px;display:grid}.payment-box dl{gap:8px;display:grid}.payment-box dl div{gap:10px;display:flex}.payment-box dt{color:var(--muted);min-width:110px}.payment-box dd{margin:0;font-weight:700}.payment-qr{background:#fff;border-radius:14px;width:260px;max-width:100%}@media (max-width:720px){.payment-box{grid-template-columns:1fr}.payment-qr{justify-self:center}}.billing-auto-refresh{color:var(--muted);margin:10px 0 16px;font-size:14px}.billing-success{color:#087443;background:#ecfdf3;border:1px solid #86efac;border-radius:10px;padding:13px 15px;font-weight:700}.billing-expiry-notice{color:#9a3412;background:#fff7ed;border:1px solid #fdba74;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin:0 0 20px;padding:16px 18px;display:flex}.billing-expiry-notice div{gap:4px;display:grid}.billing-expiry-notice span{font-size:14px}.billing-expiry-notice .button{flex:none}@media (max-width:620px){.billing-expiry-notice{flex-direction:column;align-items:flex-start}.billing-expiry-notice .button{text-align:center;width:100%}}.nav-disabled{display:none!important}
:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--orange:#ff7200;--navy:#111821;--ink:#f8fafc;--muted:#91a0b8;--line:#2a3442;--bg:#080d14;--surface:#141b25;--surface-2:#1a2331}html,body{background:var(--bg);min-height:100%}body{color:var(--ink)}.shell{background:var(--bg);grid-template-columns:264px minmax(0,1fr);font-size:17px}.sidebar{background:#111821;border-right:1px solid #26303d;gap:20px;height:100vh;padding:18px 14px 14px;position:sticky;top:0}.brand{width:100%;display:block;overflow:hidden}.brand-logo{background:#536c74;border-radius:10px;width:190px;height:71px;display:block;position:relative;overflow:hidden}.brand-logo img{width:217px;max-width:none;height:auto;display:block;position:absolute;top:-5px;left:-14px}.brand-logo-compact{width:184px;height:69px}.brand-logo-compact img{width:210px}.nav{gap:5px;display:grid}.nav a,.nav-disabled{color:#aab7ca;border:1px solid #0000;border-radius:10px;align-items:center;gap:12px;min-height:47px;padding:11px 12px;font-size:16px;font-weight:650;display:flex}.nav a.active,.nav a:hover{color:#fff;background:#1c2c42;border-color:#253c5b}.nav a.active .nav-icon{color:var(--orange)}.nav-disabled small{color:#68778d;text-transform:uppercase;margin-left:auto;font-size:9px}.nav-icon{flex:0 0 19px;width:19px;height:19px}.sidebar-status{color:#3ddc97;background:#182230;border:1px solid #314052;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-top:auto;padding:12px;font-size:14px;font-weight:700;display:flex}.status-dot{border:2px solid;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #3ddc9714}.sidebar-footer{color:#fff;border:0;align-items:center;gap:10px;margin:0;padding:12px 8px 4px;display:flex}.sidebar-footer>div{gap:2px;min-width:0;display:grid}.sidebar-footer strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.sidebar-footer small{color:var(--muted);font-size:13px}.workspace-avatar{color:#fff;background:#6c4d40;border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;font-weight:800;display:grid}.workspace-chevron{color:#718096;margin-left:auto}.main{background:var(--bg);min-width:0;padding:24px 32px 40px}.topbar{margin-bottom:22px}.topbar h1{color:#fff;letter-spacing:-.02em;font-size:32px}.topbar .muted{margin-top:6px;font-size:15px}.muted{color:var(--muted)}.button{background:var(--orange);color:#fff;box-shadow:none}.button:hover{filter:brightness(1.08)}.button.secondary{color:#e7edf6;background:#1d2735;border:1px solid #344154}.overview-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.overview-card,.dashboard-panel{background:var(--surface);border:1px solid var(--line);border-radius:14px}.overview-card{min-width:0;padding:15px 16px}.overview-card-head{color:#afbdd0;align-items:center;gap:9px;font-size:15px;display:flex}.overview-card-head small{color:#8190a5;border:1px solid #303c4d;border-radius:6px;margin-left:auto;padding:3px 8px;font-size:12px}.stat-icon{color:#9fb0c8;background:#1c2635;border:1px solid #334155;border-radius:9px;place-items:center;width:31px;height:31px;font-size:17px;display:grid}.overview-card>strong{color:#fff;margin-top:14px;font-size:31px;display:block}.overview-card>p{color:#84a4d1;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:14px;overflow:hidden}.overview-layout{grid-template-columns:minmax(0,1.5fr) minmax(340px,.9fr);gap:14px;margin-top:16px;display:grid}.dashboard-panel{min-height:360px;padding:16px}.panel-title{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px;display:flex}.panel-title h2{color:#fff;margin:0;font-size:20px}.panel-title p{color:var(--muted);margin:5px 0 0;font-size:14px}.panel-title>a{color:#e8edf5;background:#1b2432;border:1px solid #344154;border-radius:8px;padding:7px 10px;font-size:13px;font-weight:700}.activity-list,.dashboard-bot-list{gap:8px;display:grid}.activity-row,.dashboard-bot-row{background:#182230;border:1px solid #2c394a;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:53px;padding:9px 11px;display:grid}.activity-row>div,.dashboard-bot-row>div{gap:3px;min-width:0;display:grid}.activity-row strong,.dashboard-bot-row strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.activity-row small,.dashboard-bot-row small{color:#8190a5;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.activity-row>span:last-child{color:#8fa1b8;font-size:12px}.activity-mark{background:#64748b;border-radius:50%;width:8px;height:8px}.activity-succeeded{background:#22c55e}.activity-failed{background:#ef4444}.activity-cancelled{background:#f59e0b}.bot-pulse{background:#2c2b26;border-radius:9px;place-items:center;width:36px;height:36px;font-size:22px;font-weight:900;display:grid}.panel-empty{min-height:260px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:7px;display:grid}.panel-empty>span{color:var(--orange);font-size:26px}.panel-empty p{margin:0;font-size:13px}.panel-empty.compact{min-height:180px}.text-link{color:var(--orange);font-size:13px;font-weight:700}.card,.panel,.chatbot-card,.source-card,.empty-state{color:var(--ink);background:var(--surface);border-color:var(--line);box-shadow:none}.shell .field,.shell button,.shell input,.shell select,.shell textarea,.shell table{font-size:16px}.shell .status,.shell .small,.shell small{font-size:13px}.panel h2,.chatbot-card h2,.empty-state h2{color:#fff}.chatbot-card:hover{background:#182230;border-color:#7a4a28;box-shadow:0 14px 35px #0003}.card-meta{border-color:var(--line);color:#8291a6}.field input,.field select,.field textarea,.chat-form textarea,.thread-composer input{color:#eaf0f8;background:#0f151e;border-color:#354154}.field input::placeholder,.field textarea::placeholder,.thread-composer input::placeholder{color:#657389}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #ff720020}.preview-panel{border-color:var(--line);background:linear-gradient(145deg,#151e2a,#111821)}.widget-window,.widget-window *{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.ai-options,.knowledge-layout .panel,.inbox-list,.inbox-info,.thread-messages,.chat-canvas{background:#101720}.mode-tabs button{color:#b7c3d4;border-color:var(--line);background:#161f2b}.mode-tabs button.active{color:#fff;background:#253752}.source-card,.assistant-answer,.citations,.thread-message{background:#182230}.citations{color:#cbd5e1}.inbox{background:var(--surface);border-color:var(--line)}.inbox-list,.inbox-info,.thread-head,.thread-composer{border-color:var(--line)}.conversation-row{color:#e8edf5;border-color:var(--line)}.conversation-row.selected{background:#263043}.thread-message.ai,.thread-message.agent{background:#2b241e}.table-wrap th,.table-wrap td{border-color:var(--line)}.table-wrap th{color:#aab7ca}.embed-warning,.budget-warning{color:#fdba74;background:#2a2119}.status-draft{color:#cbd5e1;background:#273241}.status-active,.status-ready{color:#6ee7b7;background:#123427}.status-paused,.status-processing,.status-queued{color:#fdba74;background:#3b2b18}.auth-wrap{background:radial-gradient(circle at 75% 5%, #2b241d 0, transparent 32%), var(--bg)}.auth-card{color:var(--ink);background:var(--surface);border-color:var(--line);box-shadow:0 30px 90px #0008}.auth-card .brand{width:190px}.auth-card h1{color:#fff}.error{color:#fca5a5;background:#3c1e24}.success{color:#6ee7b7;background:#13372a}.widget-test-site{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.auth-page{background:#080d14;grid-template-columns:minmax(420px,.9fr) minmax(520px,1.1fr);min-height:100vh;display:grid}.auth-showcase{background:radial-gradient(circle at 10% 15%,#ff720029,#0000 34%),linear-gradient(145deg,#111d2c,#0b121c);border-right:1px solid #253142;flex-direction:column;justify-content:space-between;padding:54px clamp(36px,6vw,88px);display:flex;position:relative;overflow:hidden}.auth-showcase:after{content:"";border:70px solid #ff72000d;border-radius:32%;width:480px;height:480px;position:absolute;bottom:-210px;right:-180px;transform:rotate(32deg)}.auth-showcase>.brand-logo{width:220px;height:82px}.auth-showcase>.brand-logo img{width:250px}.auth-showcase>div{z-index:1;max-width:600px;position:relative}.auth-showcase h2{color:#fff;letter-spacing:-.04em;max-width:560px;margin:22px 0 16px;font-size:clamp(34px,4vw,58px);line-height:1.08}.auth-showcase p{color:#a9b7ca;max-width:550px;font-size:18px;line-height:1.7}.auth-pill{color:#ffad72;letter-spacing:.04em;text-transform:uppercase;background:#ff720014;border:1px solid #ff720035;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800;display:inline-flex}.auth-showcase ul{z-index:1;color:#cbd5e1;gap:13px;margin:28px 0;padding:0;list-style:none;display:grid;position:relative}.auth-showcase li{align-items:center;gap:10px;display:flex}.auth-showcase li span{color:#7df0bb;background:#123427;border-radius:50%;place-items:center;width:24px;height:24px;font-size:12px;display:grid}.auth-showcase>small{z-index:1;color:#6f7e91;position:relative}.auth-panel{place-items:center;padding:40px;display:grid}.auth-page .auth-card{background:#141b25;border:1px solid #2b3747;border-radius:24px;width:min(560px,100%);padding:42px;box-shadow:0 30px 100px #0007}.auth-mobile-brand{display:none}.auth-heading{margin-bottom:24px}.auth-heading h1{color:#fff;letter-spacing:-.035em;margin:8px 0 9px;font-size:36px}.auth-heading p{color:#91a0b8;margin:0;font-size:16px;line-height:1.6}.auth-page .form{gap:3px;margin-top:20px}.auth-page .field{color:#eaf0f8;margin-bottom:15px;font-size:14px}.auth-page .field input{background:#0e151e;border-color:#354154;border-radius:11px;min-height:50px;padding:13px 15px}.auth-field-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.auth-submit{width:100%;min-height:50px;margin-top:6px;font-size:16px}.auth-form-meta{color:#94a3b8;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:13px;display:flex}.auth-form-meta .check{font-size:13px}.auth-form-meta a,.auth-alternate a{color:#ff8a3d;font-weight:700}.auth-alternate{color:#91a0b8;text-align:center;border-top:1px solid #2b3747;margin:24px 0 0;padding-top:22px}.auth-terms{color:#718096;margin:0 0 8px;font-size:12px;line-height:1.6}.auth-success-state{text-align:center;gap:16px;display:grid}.auth-success-state .button{display:block}.auth-success-icon{color:#6ee7b7;background:#13372a;border:1px solid #256447;border-radius:50%;place-items:center;width:62px;height:62px;margin:0 auto;font-size:28px;font-weight:800;display:grid}.auth-security-note{color:#b8c5d6;background:#101720;border:1px solid #2a3442;border-radius:11px;align-items:flex-start;gap:12px;padding:14px;display:flex}.auth-security-note p{margin:0;font-size:13px;line-height:1.55}.verification-loading{text-align:center;background:#101720;border:1px solid #2a3442;border-radius:16px;align-content:center;place-items:center;gap:12px;min-height:230px;padding:28px;display:grid}.verification-loading strong{color:#fff;font-size:18px}.verification-loading p{color:#8190a5;margin:0;font-size:13px}.verification-spinner{border:4px solid #283648;border-top-color:#f97316;border-radius:50%;width:54px;height:54px;animation:.85s linear infinite scan-spin}.verification-result{gap:18px}.verification-check{width:74px;height:74px;font-size:36px;box-shadow:0 0 0 10px #13372a55}.verification-ready{text-align:left;gap:8px;display:grid}.verification-ready>div{background:#101720;border:1px solid #2a3442;border-radius:11px;align-items:center;gap:11px;padding:12px 14px;display:flex}.verification-ready>div>span{color:#6ee7b7;background:#123427;border-radius:50%;flex:0 0 27px;place-items:center;width:27px;height:27px;font-size:12px;font-weight:800;display:grid}.verification-ready p{gap:2px;margin:0;display:grid}.verification-ready strong{color:#eaf0f8;font-size:14px}.verification-ready small{color:#8190a5;font-size:12px}.verification-error-icon{color:#fca5a5;background:#3c1e24;border:1px solid #713040;border-radius:50%;place-items:center;width:62px;height:62px;margin:0 auto 18px;font-size:30px;font-weight:800;display:grid}.verification-help{margin:16px 0;line-height:1.65}.verification-result .success{width:100%}.knowledge-layout{position:relative}.knowledge-toast{z-index:150;color:#c9f7df;background:#123427;border:1px solid #27664a;border-radius:12px;align-items:center;gap:12px;max-width:min(460px,100vw - 32px);padding:14px 16px;display:flex;position:fixed;top:24px;right:24px;box-shadow:0 18px 60px #0008}.knowledge-toast button{color:inherit;background:0 0;border:0;margin-left:auto;font-size:20px}.source-scanning{background:linear-gradient(110deg,#182230,#211d19,#182230) 0 0/200% 100%;border-color:#80532d;animation:2.4s linear infinite scan-card}.source-main{min-width:0}.scan-live{color:#fdba74;align-items:center;gap:7px;font-size:12px;display:flex}.scan-live i{background:#f97316;border-radius:50%;width:8px;height:8px;animation:1s infinite scan-pulse}.scan-spinner{vertical-align:-2px;border:2px solid;border-right-color:#0000;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite scan-spin;display:inline-block}.scan-progress{background:#303947;border-radius:99px;width:min(360px,100%);height:5px;overflow:hidden}.scan-progress span{background:linear-gradient(90deg,#f97316,#fdba74);border-radius:99px;width:35%;height:100%;animation:1.4s ease-in-out infinite scan-progress;display:block}@keyframes scan-spin{to{transform:rotate(360deg)}}@keyframes scan-pulse{50%{opacity:.35;transform:scale(.75)}}@keyframes scan-progress{0%{transform:translate(-110%)}to{transform:translate(310%)}}@keyframes scan-card{to{background-position:-200% 0}}@media (max-width:900px){.auth-page{grid-template-columns:1fr}.auth-showcase{display:none}.auth-panel{min-height:100vh;padding:22px}.auth-mobile-brand{margin-bottom:26px;display:block}.auth-page .auth-card{padding:28px}.auth-heading h1{font-size:30px}.auth-field-grid{grid-template-columns:1fr}}.knowledge-add-button{align-items:center;gap:7px;display:inline-flex}.knowledge-intro{color:var(--muted);margin:-14px 0 24px;font-size:14px}.knowledge-toolbar{grid-template-columns:minmax(260px,1fr) 210px 180px;gap:10px;margin-bottom:15px;display:grid}.knowledge-toolbar select,.knowledge-search{color:#e8edf5;background:var(--surface);border:1px solid var(--line);border-radius:11px;min-height:46px}.knowledge-toolbar select{font:inherit;padding:0 12px}.knowledge-search{align-items:center;gap:10px;padding:0 14px;display:flex}.knowledge-search>span{color:#9aa9bd;font-size:23px}.knowledge-search input{color:#e8edf5;width:100%;font:inherit;background:0 0;border:0;outline:0;padding:0}.knowledge-search input::placeholder{color:#76859a}.knowledge-count{color:#8ea2bd;margin:0 0 14px;font-size:13px}.knowledge-table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow-x:auto}.knowledge-table{border-collapse:collapse;width:100%;min-width:900px}.knowledge-table th{color:#8fa2bd;text-align:left;white-space:nowrap;background:#1b2533;padding:15px 18px;font-size:13px}.knowledge-table td{color:#b6c3d5;border-top:1px solid var(--line);vertical-align:middle;padding:18px}.knowledge-source-name{align-items:center;gap:11px;min-width:250px;display:flex}.knowledge-source-name>span:last-child{gap:2px;display:grid}.knowledge-source-name strong{color:#fff;font-size:15px}.knowledge-source-name small{color:#91a0b8;font-size:12px}.knowledge-source-icon{color:#a8b6ca;background:#1b2635;border:1px solid #354257;border-radius:9px;flex:0 0 38px;place-items:center;width:38px;height:38px;font-size:19px;display:grid}.knowledge-state{color:#cbd5e1;white-space:nowrap;align-items:center;gap:7px;font-size:13px;font-weight:700;display:inline-flex}.knowledge-state i{background:currentColor;border-radius:50%;width:8px;height:8px}.knowledge-state-ready{color:#31d985}.knowledge-state-queued,.knowledge-state-processing{color:#fbbf24}.knowledge-state-failed{color:#f87171}.knowledge-row-error{color:#fca5a5;margin-top:3px;display:block}.knowledge-manage{color:#a8b6ca;letter-spacing:2px;border-radius:8px;place-items:center;width:36px;height:32px;display:inline-grid}.knowledge-manage:hover{color:#fff;background:#253145}.knowledge-empty{min-height:350px}.knowledge-create{gap:20px;max-width:1080px;margin:0 auto;display:grid}.knowledge-chatbot-select{background:#12213a;border:1px solid #245598;border-radius:13px;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;display:flex}.knowledge-chatbot-select>div{align-items:center;gap:12px;display:flex}.knowledge-chatbot-select>div>span:last-child{gap:3px;display:grid}.knowledge-chatbot-select small{color:#8fa2bd}.knowledge-chatbot-select strong{color:#fff;font-size:16px}.knowledge-chatbot-select select{color:#e8edf5;min-width:260px;font:inherit;background:#192536;border:1px solid #3a485b;border-radius:9px;padding:10px 12px}.knowledge-mode-tabs{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.knowledge-mode-tabs button{color:#b7c3d4;background:var(--surface);border:1px solid var(--line);border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:48px;font-weight:700;display:flex}.knowledge-mode-tabs button:hover,.knowledge-mode-tabs button.active{color:#fff;background:#10294c;border-color:#1560b8}.knowledge-create-form{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:20px}.knowledge-create-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.knowledge-create-heading h2{color:#fff;margin:0;font-size:20px}.knowledge-create-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.knowledge-security-note{color:#6ee7b7;white-space:nowrap;background:#123427;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:700}.knowledge-form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.knowledge-full-field{grid-column:1/-1}.knowledge-dropzone{color:#d7e0ec;cursor:pointer;text-align:center;background:#101720;border:1px dashed #445167;border-radius:12px;align-content:center;place-items:center;gap:7px;min-height:220px;display:grid}.knowledge-dropzone:hover{border-color:var(--orange)}.knowledge-dropzone input{opacity:0;width:1px;height:1px;position:absolute}.knowledge-dropzone>span{color:var(--orange);font-size:30px}.knowledge-dropzone small{color:var(--muted)}.knowledge-submit-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:10px;padding-top:18px;display:flex}.knowledge-submit-row p{color:var(--muted);margin:0;font-size:12px}.knowledge-submit-row .button{flex:none}.route-loading{z-index:1000;color:#fff;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#07111be8;justify-content:center;align-items:center;gap:12px;font-size:16px;font-weight:700;display:flex;position:fixed;inset:0}.route-loading-spinner{border:3px solid #fff5;border-top-color:var(--orange);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite route-spin}.page-loading{background:var(--bg);min-height:100dvh;padding:42px clamp(20px,5vw,76px)}.page-loading-card{gap:22px;max-width:620px;display:grid}.page-loading-mark,.page-loading-lines i,.page-loading-grid i{background:linear-gradient(90deg,#182231 25%,#243247 50%,#182231 75%) 0 0/200% 100%;border-radius:10px;animation:1.3s ease-in-out infinite loading-shimmer;display:block}.page-loading-mark{width:225px;height:42px}.page-loading-lines{gap:10px;display:grid}.page-loading-lines i{height:16px}.page-loading-lines i:nth-child(2){width:74%}.page-loading-lines i:nth-child(3){width:45%}.page-loading-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:34px;display:grid}.page-loading-grid i{height:150px}@keyframes route-spin{to{transform:rotate(360deg)}}@keyframes loading-shimmer{to{background-position:-200% 0}}@media (max-width:1200px){.overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-layout{grid-template-columns:1fr}.knowledge-toolbar{grid-template-columns:1fr 190px 170px}}.inbox{grid-template-columns:300px minmax(0,1fr)}.inbox-info{display:none}@media (max-width:1100px){.inbox{grid-template-columns:260px minmax(0,1fr)}}@media (max-width:720px){.shell{font-size:16px;display:block}.sidebar{width:100%;height:auto;padding:12px;position:static}.sidebar .brand{width:154px}.brand-logo{width:154px;height:58px}.brand-logo img{width:176px;top:-4px;left:-11px}.nav{padding-bottom:4px;display:flex;overflow-x:auto}.nav a,.nav-disabled{white-space:nowrap;flex:none}.nav-disabled small,.sidebar-status,.sidebar-footer{display:none}.main{padding:20px 14px 32px}.topbar h1{font-size:28px}.overview-stats,.overview-layout{grid-template-columns:1fr}.dashboard-panel{min-height:auto}.knowledge-intro{margin-top:-8px}.knowledge-toolbar{grid-template-columns:1fr}.knowledge-mode-tabs{grid-template-columns:repeat(2,1fr)}.knowledge-chatbot-select,.knowledge-create-heading,.knowledge-submit-row{flex-direction:column;align-items:stretch}.knowledge-chatbot-select select{width:100%;min-width:0}.knowledge-form-grid{grid-template-columns:1fr}.knowledge-full-field{grid-column:auto}.knowledge-submit-row .button{width:100%}}
