:root{color:#f5f7fb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--text-primary:#f4f5f7;--text-secondary:#dddfe5;--text-muted:#969ba7;--text-dim:#686d78;--accent-strong:#8f86ff;--panel-strong:#1a1c23f0;--border-soft:#ffffff14;--shadow-soft:0 20px 45px #00000047;background:#08090d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:#08090d;min-width:320px;margin:0}button,input,textarea{font:inherit}#root{min-height:100vh}.app-shell{min-height:100vh;color:var(--text-primary);background:radial-gradient(circle at top,#494f8d2e,#0000 26%),radial-gradient(circle at 100%,#353b6c1f,#0000 28%),linear-gradient(#0a0d16 0%,#090b12 100%);grid-template-columns:315px minmax(0,1fr);align-items:start;display:grid}.sidebar{background:radial-gradient(circle at 0 0,#5d5fb514,#0000 26%),linear-gradient(#0b0f1a 0%,#090d18 100%);border-right:1px solid #ffffff0f;flex-direction:column;min-height:100vh;padding:20px 20px 18px;display:flex}.sidebar-top,.brand-block,.account-card,.topbar,.topbar-right,.page-header,.hero-card,.hero-left,.header-actions,.knowledge-nav-left,.knowledge-nav-right,.content-panel-header,.collection-card,.collection-actions,.design-layout,.stats-card-header,.filter-pills,.deploy-card-header{align-items:center;display:flex}.sidebar-top,.page-header,.hero-card,.knowledge-nav-card,.content-panel-header,.settings-item,.stats-card-header,.deploy-card-header{justify-content:space-between}.sidebar-top{gap:16px;margin-bottom:30px}.brand-block{gap:14px}.brand-mark{background:radial-gradient(circle at 35% 35%,#927effe6 0% 22%,#0000 23%),linear-gradient(135deg,#7558ff,#a999ff);border-radius:50%;width:44px;height:44px;box-shadow:inset 0 0 0 1px #ffffff14,0 12px 24px #5847bf38}.brand-mark svg{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.55px;width:25px;height:25px;margin:9.5px}.workspace-label,.menu-title,.account-role,.page-copy,.hero-card a,.knowledge-nav-card p,.content-panel-header p,.collection-copy p,.settings-sheet span,.settings-sheet select,.custom-label,.deploy-card p,.code-block,.widget-message span,.widget-input span{color:var(--text-muted)}.workspace-label{color:#f8f8fb;margin:0;font-size:18px;font-weight:700}.collapse-button,.icon-button,.topbar-avatar,.menu-item,.submenu-item,.primary-action,.secondary-action,.ghost-action,.floating-item,.settings-item,.range-pill,.mini-pill,.linkish-button,.modal-link,.sheet-link{font:inherit;cursor:pointer;border:0}.collapse-button,.icon-button{width:34px;height:34px;color:var(--text-muted);background:0 0;border-radius:10px}.menu{flex-direction:column;gap:26px;display:flex}.menu-group{flex-direction:column;gap:8px;display:flex}.menu-title{letter-spacing:.16em;text-transform:uppercase;color:#cfd5ec99;margin:0;font-size:12px}.menu-list{flex-direction:column;gap:6px;display:flex}.menu-item{color:#eef1fa;text-align:left;background:0 0;border-radius:14px;justify-content:flex-start;gap:0;width:100%;padding:12px 10px 12px 8px;transition:background-color .22s,color .18s,border-color .18s,box-shadow .22s}.menu-item.is-active{color:#fff;background:linear-gradient(#474c8157,#2a2f554d);box-shadow:inset 0 0 0 1px #7d82ff2e,0 10px 26px #14172c52}.knowledge-submenu{opacity:0;border-left:1px solid #ffffff12;flex-direction:column;gap:6px;max-height:0;margin:2px 0 0 18px;padding-left:18px;transition:max-height .26s,opacity .22s,transform .22s,margin-top .22s;display:flex;overflow:hidden;transform:translateY(-6px)}.knowledge-submenu.is-open{opacity:1;max-height:320px;margin-top:6px;transform:translateY(0)}.submenu-item{color:#d4d9eb;text-align:left;background:0 0;border-radius:14px;justify-content:flex-start;gap:10px;width:100%;padding:10px 12px 10px 8px;transition:background-color .22s,color .22s,transform .22s}.submenu-item.is-current{color:#fff;background:linear-gradient(#4f528b57,#3a3f6b47);box-shadow:inset 0 0 0 1px #7d82ff1f}.submenu-dot{background:#7d84ff;border-radius:50%;width:6px;height:6px}.sidebar-footer{z-index:5;width:275px;position:fixed;bottom:18px;left:20px}.topbar-avatar{color:#d8cbff;background:#7856ff3d;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-weight:700;display:inline-flex}.credits-card{background:radial-gradient(circle at 100% 0,#6369dc21,#0000 48%),linear-gradient(150deg,#181e31fa,#0e1320fa);border:1px solid #7082eb33;border-radius:12px;padding:14px 15px 12px;box-shadow:0 12px 28px #0407104d}.credits-card strong,.credits-card>span{display:block}.credits-card strong{color:#f2f3f6;font-size:16px}.credits-card>span{color:#00c99a;margin-top:2px;font-size:13px;font-weight:700}.credits-track{background:#566fe633;border-radius:999px;height:8px;margin-top:10px;overflow:hidden}.credits-track i{border-radius:inherit;background:linear-gradient(90deg,#6176ff,#8695ff);height:100%;display:block}.credits-card p{color:#adb2bd;justify-content:space-between;gap:8px;margin:10px 0 12px;font-size:12px;display:flex}.credits-card p b{color:#f0f1f4}.upgrade-button{color:#fff;cursor:pointer;background:linear-gradient(100deg,#4c36ad,#7554e8);border:0;border-radius:8px;width:100%;min-height:38px;font-weight:700}.upgrade-button i{vertical-align:-2px;border:2px solid #d7d1ff;border-right-color:#0000;border-radius:50%;width:14px;height:14px;margin-right:8px;display:inline-block}.account-name,.account-role,.page-title,.hero-card h2,.knowledge-nav-card h3,.content-panel h2,.collection-copy h3,.settings-card h2,.settings-panel h3,.stats-card h2,.deploy-card h2,.modal-header h3,.theme-option span,.topic-head span,.leads-head span,.lead-row strong{margin:0}.account-name{font-size:15px;font-weight:600}.account-role{margin-top:4px;font-size:14px}.workspace{padding:18px 28px 28px}.topbar{justify-content:flex-end;gap:18px;margin-bottom:28px}.search-shell{border:1px solid var(--border-soft);background:#0a0d18c7;border-radius:16px;align-items:center;gap:12px;min-width:min(100%,380px);padding:13px 16px;display:flex}.search-mark,.search-key{color:#e1e5f294}.search-key{border:1px solid #ffffff14;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;margin-left:auto;display:inline-flex}.search-shell input{width:100%;color:var(--text-secondary);background:0 0;border:0;outline:0}.topbar-right{gap:14px}.icon-button{background:#ffffff08}.page-shell{flex-direction:column;gap:22px;display:flex}.page-header{gap:18px}.page-title{letter-spacing:-.05em;color:#fff;font-size:32px;font-weight:700;line-height:1.1}.page-title.small{font-size:32px}.page-copy{margin:12px 0 0;font-size:14px;line-height:1.45}.collection-copy p{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.header-actions,.action-menu{position:relative}.primary-action,.secondary-action,.ghost-action,.range-pill,.mini-pill,.sheet-link{border-radius:14px}.primary-action,.secondary-action{align-items:center;gap:10px;min-height:48px;padding:0 18px;font-weight:600;display:inline-flex}.primary-action{color:#fff;background:linear-gradient(135deg,#4e61ff,#6f70ff);box-shadow:0 16px 34px #4e61ff3d}.primary-action.compact{min-height:44px}.secondary-action{color:#f3f5fb;background:#ffffff0a;box-shadow:inset 0 0 0 1px #ffffff14}.floating-menu,.hero-card,.knowledge-nav-card,.tip-banner,.content-panel,.collection-card,.settings-card,.settings-detail-card,.stats-card,.deploy-card,.link-card,.modal-card{border:1px solid var(--border-soft);background:var(--panel-strong);box-shadow:var(--shadow-soft);border-radius:22px}.floating-menu{z-index:4;min-width:200px;padding:10px;position:absolute;top:calc(100% + 12px);right:0}.floating-item{width:100%;color:var(--text-secondary);text-align:left;background:0 0;border-radius:14px;padding:12px 14px}.floating-item:hover,.menu-item:hover,.submenu-item:hover,.settings-item:hover,.ghost-action:hover,.secondary-action:hover,.range-pill:hover,.mini-pill:hover,.linkish-button:hover,.sheet-link:hover,.modal-link:hover{background:#ffffff0e}.menu-item:hover,.submenu-item:hover{color:#fff}.menu-item:hover{box-shadow:inset 0 0 0 1px #ffffff0a}.knowledge-overview,.knowledge-card-list,.collection-list,.settings-list,.topic-list,.modal-body{flex-direction:column;display:flex}.knowledge-overview,.knowledge-card-list,.collection-list,.topic-list{gap:16px}.knowledge-overview{gap:14px}.knowledge-card-list.compact{gap:12px}.hero-card{background:radial-gradient(circle at 0,#5f6cff17,#0000 25%),#121729eb;border-color:#7175ffb8;gap:16px;padding:18px 20px}.hero-left{gap:14px}.hero-icon{color:#d6dbff;background:radial-gradient(circle at 28% 30%,#7a6fff2e,#0000 40%),#242948f5;border:1px solid #6c76ff3d;border-radius:24px;place-items:center;width:72px;height:72px;font-size:22px;font-weight:700;display:grid}.hero-card h2{color:#fff;letter-spacing:-.05em;font-size:22px;font-weight:700}.hero-card a{color:#7181ff;margin-top:6px;font-size:14px;text-decoration:none;display:inline-block}.hero-tags{margin-top:10px}.knowledge-nav-card{width:100%;color:inherit;text-align:left;cursor:pointer;background:#0f1423b8;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 16px;display:grid}.knowledge-nav-card.compact{padding:12px 14px}.knowledge-nav-left{gap:14px;min-width:0}.nav-icon-box{color:#f3f4f7;letter-spacing:.04em;background:linear-gradient(#31374beb,#272c3ef0);border-radius:12px;flex:none;justify-content:center;align-items:center;width:42px;height:42px;font-size:11px;font-weight:600;display:inline-flex}.nav-icon-box.small{border-radius:12px;width:42px;height:42px;font-size:11px}.knowledge-nav-card h3,.content-panel h2,.stats-card h2,.deploy-card h2{color:#fff;letter-spacing:-.04em;font-size:22px;font-weight:700}.knowledge-nav-card h3{font-size:15px;font-weight:600}.knowledge-nav-card p,.content-panel-header p,.collection-copy p,.stats-card-header p,.deploy-card p{margin:8px 0 0;font-size:14px;line-height:1.45}.knowledge-nav-card p{margin-top:3px;font-size:13px;line-height:1.35}.knowledge-nav-right{color:#687dff;white-space:nowrap;flex:none;justify-content:flex-end;align-self:center;align-items:center;gap:10px;font-size:14px;font-weight:700;line-height:1;display:inline-flex}.knowledge-item-count{text-align:right;color:#6276ff;justify-content:flex-end;align-items:center;min-width:14px;font-size:15px;font-weight:700;line-height:1;display:inline-flex}.knowledge-item-arrow{color:#0000;border-top:2px solid #d8dceb;border-right:2px solid #d8dceb;flex:none;justify-content:center;align-items:center;width:8px;height:8px;display:inline-flex;transform:rotate(45deg)}.tip-banner{justify-content:space-between;gap:16px;padding:24px 28px}.tip-banner p{color:#d6d9e4;margin:0}.linkish-button{color:#7181ff;background:0 0;padding:0}.content-panel{padding:26px}.knowledge-detail-layout{grid-template-columns:minmax(0,1fr) 352px;align-items:start;gap:18px;display:grid}.knowledge-used-panel{flex-direction:column;gap:14px;display:flex}.knowledge-used-panel h3{color:#fff;letter-spacing:-.03em;margin:0;font-size:20px}.knowledge-used-card{background:#1c1f28d6;border:1px solid #ffffff0f;border-radius:18px;padding:14px 16px}.knowledge-used-row{color:#cdd2df;justify-content:space-between;align-items:center;gap:12px;display:flex}.knowledge-used-row strong{color:#f2f4f9;font-size:14px}.knowledge-used-row.muted{color:#868d9d;margin-top:8px;font-size:13px}.knowledge-used-track{background:#ffffff0d;border-radius:999px;height:7px;margin-top:12px;overflow:hidden}.knowledge-used-track span{border-radius:inherit;background:linear-gradient(90deg,#6676ff,#8692ff);height:100%;display:block}.content-panel-header{gap:18px;margin-bottom:20px}.content-panel-header-with-back{align-items:flex-start}.content-panel-header-copy{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.content-panel-title-row{align-items:center;gap:14px;min-height:28px;display:flex}.content-panel-title-row .back-link{flex:none}.content-panel-title-row h2{margin:0}.editor-card,.settings-sheet,.code-editor{background:#181c28c2;border:1px solid #ffffff12;border-radius:18px}.editor-card textarea,.code-editor textarea,.modal-body input,.modal-body textarea,.settings-sheet select{width:100%;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0}.editor-card textarea{resize:none;min-height:280px;padding:18px 20px}.collection-card{align-items:flex-start;gap:20px;padding:18px 20px}.collection-copy{flex:1;min-width:0}.collection-copy h3{letter-spacing:-.04em;color:#fff;overflow-wrap:anywhere;font-size:18px;font-weight:600}.collection-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.ghost-action{min-height:38px;color:var(--text-secondary);background:#ffffff0a;padding:0 14px}.ghost-action.danger{color:#ff9d9d}.status-badge{text-transform:capitalize;border-radius:999px;justify-content:center;align-items:center;min-height:34px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.status-badge.success{color:#53e1a6;background:#22c17b24}.status-badge.processing{color:#9dbdff;background:#5685ff29;animation:1.6s ease-in-out infinite processingPulse}.status-badge.error{color:#faa;background:#ff5b5b24}.design-layout,.design-overview-layout{align-items:stretch;gap:22px}.settings-detail-card,.design-preview{flex:1;padding:22px}.design-layout.single-panel,.design-overview-layout{grid-template-columns:minmax(0,.78fr) minmax(320px,.62fr);display:grid}.design-overview-list{padding:0}.settings-panel{flex-direction:column;gap:18px;display:flex}.settings-panel-header{grid-template-columns:auto 1fr;align-items:center;gap:14px;display:grid}.back-link{color:#4f95ff;font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.settings-panel h3{color:#fff;font-size:22px;font-weight:700}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.theme-option{color:var(--text-muted);cursor:pointer;background:0 0;border:0;flex-direction:column;gap:8px;padding:0;display:flex}.theme-option.is-selected .theme-preview{box-shadow:0 0 0 2px #2f8dff}.theme-option span{font-size:13px}.theme-preview{isolation:isolate;border-radius:16px;grid-template-rows:18px 1fr 18px;gap:10px;height:112px;padding:12px;display:grid;position:relative;overflow:hidden}.theme-preview-header,.theme-preview-bubble,.theme-preview-input{z-index:1;border-radius:999px;display:block}.theme-preview-header{width:100%}.theme-preview-bubble{place-self:center end;width:64%}.theme-preview-input{width:46%}.theme-preview:before,.theme-preview:after{content:"";pointer-events:none;position:absolute}.theme-light{background:linear-gradient(135deg,#fffdf6,#e9e2d4)}.theme-light:before{background:#ceb8893d;border-radius:50%;width:128px;height:128px;bottom:-38px;right:-28px}.theme-light .theme-preview-header,.theme-light .theme-preview-input{background:#fff}.theme-light .theme-preview-bubble{background:#ff477b}.theme-light-accent{background:linear-gradient(135deg,#ffcedd,#fff5f8)}.theme-light-accent:before{background:#ff5b8e33;border-radius:20px;width:64px;height:64px;bottom:18px;left:18px;transform:rotate(24deg)}.theme-light-accent .theme-preview-header,.theme-light-accent .theme-preview-bubble{background:#ff477b}.theme-light-accent .theme-preview-input{background:#fff}.theme-light-soft{background:linear-gradient(135deg,#8298cf2e 1px,#0000 1px) 0 0/14px 14px,linear-gradient(135deg,#fafcff,#e3e9f7)}.theme-light-soft:before{background:#7e93cb2e;border-radius:999px;width:72px;height:42px;top:31px;right:18px}.theme-light-soft .theme-preview-header,.theme-light-soft .theme-preview-input{background:#fff}.theme-light-soft .theme-preview-bubble{background:#ff477b}.theme-pattern-light{background:radial-gradient(circle at 18% 18%,#ffc5d999 0 8%,#0000 8.5%),radial-gradient(circle at 72% 28%,#ffe8f0e6 0 14%,#0000 14.5%),#fff7fa}.theme-pattern-light:after{border:12px solid #ffa9c740;border-radius:50%;width:96px;height:96px;top:-15px;right:-12px}.theme-pattern-light .theme-preview-header,.theme-pattern-light .theme-preview-input{background:#fff}.theme-pattern-light .theme-preview-bubble{background:#ff477b}.theme-pattern-accent{background:radial-gradient(circle at 24% 30%,#ffc8dbb3 0 9%,#0000 9.5%),radial-gradient(circle at 76% 62%,#ffdce8cc 0 12%,#0000 12.5%),#ffeaf1}.theme-pattern-accent:before{background:#ff5a8f29;border-radius:50%;width:48px;height:48px;top:28px;left:18px}.theme-pattern-accent .theme-preview-header,.theme-pattern-accent .theme-preview-bubble{background:#ff477b}.theme-pattern-accent .theme-preview-input{background:#fff}.theme-dark{background:radial-gradient(circle at 80% 20%,#7460ff47,#0000 34%),linear-gradient(135deg,#252632,#101116)}.theme-dark:before{background:#ffffff2e;border-radius:999px;width:54px;height:10px;top:38px;left:18px}.theme-dark .theme-preview-bubble{background:linear-gradient(90deg,#8d75ff,#b69eff);width:52%}.theme-dark .theme-preview-header,.theme-dark .theme-preview-input{background:#2a2a31}.theme-dark .theme-preview-bubble{background:#ff477b}.color-panel{flex-direction:column;align-items:flex-start;gap:12px;display:flex}.color-panel p{color:#fff;margin:0;font-weight:600}.color-grid{grid-template-columns:repeat(8,28px);justify-content:start;gap:8px;width:max-content;display:grid}.color-dot{border:0;border-radius:50%;width:28px;height:28px;position:relative}.color-dot.is-selected:after{content:"";border:2px solid #fff;border-radius:50%;position:absolute;inset:-4px}.settings-sheet{padding:16px}.sheet-link{color:#2f90ff;text-align:left;background:0 0;margin-top:14px;padding:12px 0 0}.dropdown-field{flex-direction:column;gap:10px;display:flex;position:relative}.dropdown-trigger,.dropdown-option{width:100%;font:inherit;text-align:left;border:0}.dropdown-trigger{color:#2f90ff;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:16px;min-height:40px;padding:0;display:flex}.dropdown-trigger strong{color:#7199ff;transition:transform .22s}.dropdown-field.is-open .dropdown-trigger strong{transform:rotate(180deg)}.dropdown-menu{opacity:0;max-height:0;transition:max-height .22s,opacity .2s,transform .2s,margin-top .2s;overflow:hidden;transform:translateY(-6px)}.dropdown-field.is-open .dropdown-menu{opacity:1;scrollbar-width:thin;scrollbar-color:#b5bac56b transparent;max-height:240px;margin-top:6px;overflow-y:auto;transform:translateY(0)}.dropdown-menu::-webkit-scrollbar{width:5px}.dropdown-menu::-webkit-scrollbar-track{background:0 0}.dropdown-menu::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.dropdown-option{color:#dbe0ef;cursor:pointer;background:#ffffff08;border-radius:12px;padding:12px 14px;display:block}.dropdown-option+.dropdown-option{margin-top:8px}.dropdown-option.is-selected,.dropdown-option:hover{color:#fff;background:#5262d433}.code-editor{grid-template-columns:40px minmax(0,1fr);min-height:320px;display:grid;overflow:hidden}.code-lines{text-align:center;color:#ffffff6b;background:#ffffff08;padding:14px 0}.code-editor textarea{resize:none;min-height:320px;padding:14px 16px}.code-panel-hint{max-width:640px;color:var(--text-muted);margin:0 0 18px;font-size:14px;line-height:1.5}.design-preview{place-items:center;min-height:720px;display:grid}.widget-stage{flex-direction:column;justify-content:center;align-items:center;gap:18px;width:100%;min-height:100%;display:flex}.widget-frame{border-radius:28px;flex-direction:column;width:min(360px,100%);height:670px;min-height:0;padding:18px;display:flex;overflow:hidden}.widget-head{justify-content:flex-start;display:flex}.widget-agent{align-items:center;gap:10px;display:inline-flex}.widget-ring{border:4px solid;border-radius:50%;width:22px;height:22px;display:inline-block}.widget-online{border-radius:50%;width:7px;height:7px}.widget-message{border:1px solid;border-radius:18px;margin-top:28px;padding:14px 14px 18px;position:relative}.widget-message p{margin:0;font-weight:700}.widget-message span{margin-top:10px;display:block}.widget-message time{margin-top:10px;font-size:12px;line-height:1;display:block}.widget-suggestions{flex-direction:column;align-items:flex-end;gap:8px;margin-top:18px;margin-bottom:10px;display:flex}.widget-suggestions button{color:#fff;text-align:right;cursor:pointer;border:0;border-radius:999px;max-width:100%;padding:9px 12px;font-size:13px;line-height:1.2}.widget-thread{scrollbar-width:thin;scrollbar-color:#b5bac56b transparent;flex-direction:column;flex:1;gap:8px;min-height:0;margin-top:16px;margin-bottom:10px;padding-right:3px;display:flex;overflow-y:auto}.widget-thread::-webkit-scrollbar{width:6px}.widget-thread::-webkit-scrollbar-track{background:0 0}.widget-thread::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.widget-chat-message{border-radius:14px;width:fit-content;max-width:92%;margin:0;padding:9px 11px;font-size:13px;line-height:1.35;animation:.22s both widgetMessageIn}.widget-chat-message span{display:block}.widget-chat-message time{color:inherit;opacity:.62;text-align:right;margin-top:5px;font-size:11px;display:block}.widget-chat-message.is-user{background:var(--widget-accent,#2377f3);color:#fff;align-self:flex-end}.widget-chat-message.is-agent{color:#25262b;background:#ffffffa6;border-bottom-left-radius:5px;align-self:flex-start}.widget-chat-message.is-user{border-bottom-right-radius:5px}.widget-thinking{color:#92949d;background:#ecedf1db;border-radius:14px 14px 14px 5px;width:fit-content;margin:0;padding:8px 12px;font-size:13px;animation:.9s ease-in-out infinite thinkingPulse}.widget-input{border:2px solid #d2273161;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;min-height:54px;margin-top:auto;padding:8px 10px 8px 18px;display:flex;box-shadow:0 0 0 4px #d227310a}.widget-input input{min-width:0;font:inherit;caret-color:currentColor;cursor:text;background:0 0;border:0;outline:0;flex:1;font-size:14px}.widget-input input::placeholder{color:#8b8c94}.widget-input button{color:#fff;width:30px;height:30px;box-shadow:0 5px 11px color-mix(in srgb, var(--widget-accent,#2377f3) 32%, transparent);cursor:pointer;border:0;border-radius:50%}.widget-input button span{font-size:16px;font-weight:700;color:#fff!important}.widget-input button:disabled,.widget-input input:disabled{cursor:wait;opacity:.65}.stats-layout,.stats-bottom,.deploy-grid{gap:22px;display:grid}.stats-layout{grid-template-columns:1fr}.stats-bottom{grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr)}.stats-card,.deploy-card{padding:22px 24px}.range-pill{color:#ebeef9;background:#ffffff0a;min-height:40px;padding:0 14px}.performance-grid{border-top:1px solid #ffffff14;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px;display:grid}.metric-block{padding:20px 24px 20px 0}.metric-block+.metric-block{border-left:1px solid #ffffff14;padding-left:24px}.metric-block p,.topic-head,.leads-head,.lead-row,.deploy-card-header p{margin:0}.metric-block p,.topic-head span,.leads-head span{text-transform:uppercase;letter-spacing:.05em;color:#b4b9c6;font-size:14px}.metric-block strong{color:#14e39d;margin-top:14px;font-size:clamp(42px,4vw,58px);line-height:1;display:block}.metric-block .metric-accent{color:#7f6dff}.metric-up,.metric-down{color:#19dc9a;margin-top:12px;font-size:14px;font-weight:700;display:inline-block}.micro-bars{grid-template-columns:repeat(12,1fr);align-items:end;gap:4px;margin-top:22px;display:grid}.micro-bars span{background:#17d79673;border-radius:4px;height:14px}.micro-bars span:nth-child(2),.micro-bars span:nth-child(4),.micro-bars span:nth-child(7),.micro-bars span:nth-child(10){height:18px}.micro-bars span:nth-child(6),.micro-bars span:nth-child(8),.micro-bars span:nth-child(11),.micro-bars span:nth-child(12){height:26px}.topic-row{flex-direction:column;gap:8px;display:flex}.question-list{flex-direction:column;gap:14px;margin-top:18px;display:flex}.question-row{background:#ffffff08;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.question-row strong,.lead-bar-column strong{color:#fff}.question-row p,.lead-bar-column p,.history-item-copy p,.conversation-header p,.message-bubble p,.history-empty p{color:var(--text-muted);margin:6px 0 0;font-size:14px;line-height:1.45}.conversation-header h2{font-size:22px;font-weight:700}.question-count{color:#9e99ff;background:#6f6dff29;border-radius:14px;justify-content:center;align-items:center;min-width:44px;height:44px;font-weight:700;display:inline-flex}.leads-header-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.history-shell{gap:0}.history-title-row{align-items:center;gap:12px;display:flex}.preview-pill{color:#c8cedc;border:1px solid #ffffff14;border-radius:999px;padding:7px 12px;font-size:14px}.history-layout{background:linear-gradient(#181a20db,#15171eeb);border:1px solid #ffffff0f;border-radius:0 0 22px 22px;grid-template-columns:378px minmax(0,1fr);height:660px;min-height:0;margin-top:0;display:grid;overflow:hidden}.history-list-pane{background:#1a1c2394;border-right:1px solid #ffffff0f;flex-direction:column;min-height:0;display:flex}.history-search{border-bottom:1px solid #ffffff0f;padding:10px 18px}.history-search input{color:#cfd4de;background:#ffffff05;border:1px solid #ffffff14;border-radius:12px;width:100%;min-height:42px;padding:0 14px}.history-list{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.history-list,.conversation-thread{scrollbar-width:thin;scrollbar-color:#b5bac56b transparent}.history-list::-webkit-scrollbar{width:6px}.conversation-thread::-webkit-scrollbar{width:6px}.history-list::-webkit-scrollbar-track{background:0 0}.conversation-thread::-webkit-scrollbar-track{background:0 0}.history-list::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.conversation-thread::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.history-list-item{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #ffffff0f;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.history-list-item.is-active,.history-list-item:hover{background:#ffffff08}.history-avatar{color:#cfe8ff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:inline-flex}.history-avatar.teal{background:#1da88e42}.history-avatar.blue{background:#396dc33d}.history-avatar.violet{background:#7152b440}.history-avatar.green{background:#258e683d}.history-avatar.amber{background:#aa7a243d}.history-item-copy{flex:1;min-width:0}.history-item-head,.history-item-meta,.conversation-header,.message-row{align-items:center;display:flex}.history-item-head{justify-content:space-between;gap:12px}.history-item-head strong,.conversation-header h2{color:#fff}.history-item-head span,.history-item-meta span,.message-bubble span{color:#969daa;font-size:13px}.history-item-meta{flex-wrap:wrap;gap:10px;margin-top:10px}.history-status{color:#f0f1f4;background:#ffffff14;border-radius:999px;padding:4px 9px;font-weight:600}.history-detail-pane{justify-content:center;align-items:stretch;min-height:0;padding:24px;display:flex;overflow:hidden}.conversation-card,.history-empty{border-radius:18px;width:100%;min-height:100%}.conversation-card{flex-direction:column;gap:22px;min-height:0;display:flex}.conversation-header{justify-content:space-between;gap:18px}.conversation-thread{flex-direction:column;flex:1;gap:14px;min-height:0;padding-right:8px;display:flex;overflow-y:auto}.message-row.is-user{justify-content:flex-start}.message-row.is-agent{justify-content:flex-end}.message-bubble{background:#ffffff0a;border:1px solid #ffffff0f;border-radius:18px;max-width:min(520px,100%);padding:14px 16px}.message-row.is-agent .message-bubble{background:#5f69ff1f;border-color:#6f77ff29}.message-bubble strong,.history-empty h2{color:#fff}.history-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex}.history-empty-icon{color:#8f96a8;background:#ffffff0a;border-radius:50%;place-items:center;width:52px;height:52px;display:grid}.topic-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.topic-head span{text-transform:none;color:#fff;font-size:16px}.topic-head strong{color:#c7ccdb}.topic-track{background:#ffffff0a;border-radius:999px;height:6px;overflow:hidden}.topic-track span{border-radius:inherit;background:linear-gradient(90deg,#7b6dff,#998cff);height:100%;display:block}.filter-pills{flex-wrap:wrap;gap:10px}.mini-pill{color:#cbd0de;background:0 0;min-height:34px;padding:0 10px}.mini-pill.is-selected{color:#fff;background:#ffffff0f}.custom-label{margin:0}.leads-table{margin-top:18px}.leads-head,.lead-row{grid-template-columns:1.1fr 1.2fr 1fr 1.2fr;gap:16px;padding:14px 0;display:grid}.leads-head{border-bottom:1px solid #ffffff14}.lead-row{border-bottom:1px solid #ffffff0f}.lead-row span{color:#c3c8d5}.deploy-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.code-block,.link-card{margin-top:18px}.code-block{white-space:pre-wrap;background:#0d101aeb;border:1px solid #ffffff14;border-radius:18px;padding:18px;overflow:auto}.link-card{padding:18px}.link-card a{color:#7b87ff;overflow-wrap:anywhere;text-decoration:none}.copy-toast{color:#fff;opacity:0;pointer-events:none;z-index:20;background:#0a0c14f5;border:1px solid #7e8bb28f;border-radius:10px;padding:10px 14px;font-size:14px;line-height:1;transition:opacity .18s,transform .18s;position:fixed;top:50%;left:50%;transform:translate(-50%,calc(8px - 50%))scale(.98);box-shadow:0 12px 24px #00000042}.copy-toast.is-visible{opacity:1;transform:translate(-50%,-50%)scale(1)}.modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10;background:#04060cc2;place-items:center;padding:20px;animation:.18s modalFadeIn;display:grid;position:fixed;inset:0}.modal-card{width:min(560px,100%);padding:22px;animation:.18s modalCardIn}.modal-backdrop.is-closing{animation:.18s forwards modalFadeOut}.modal-backdrop.is-closing .modal-card{animation:.18s forwards modalCardOut}.modal-header{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-bottom:18px;display:grid}.modal-header h3{text-align:center;color:#fff;font-size:22px;font-weight:700}.modal-link{color:#4f95ff;background:0 0;justify-self:start;padding:0}.modal-link.strong{color:#fff;justify-self:end;font-weight:700}.modal-link:hover{color:#75a7ff;background:0 0}.modal-body{gap:12px}.modal-body label{color:#dbe0ef;font-size:14px}.modal-body input,.modal-body textarea{background:#1f2331eb;border:1px solid #ffffff14;border-radius:14px;padding:14px 16px}.modal-body textarea{resize:none}.editor-card textarea,.code-editor textarea,.modal-body textarea{scrollbar-width:thin;scrollbar-color:#b5bac56b transparent}.editor-card textarea::-webkit-scrollbar{width:6px}.code-editor textarea::-webkit-scrollbar{width:6px}.modal-body textarea::-webkit-scrollbar{width:6px}.editor-card textarea::-webkit-scrollbar-track{background:0 0}.code-editor textarea::-webkit-scrollbar-track{background:0 0}.modal-body textarea::-webkit-scrollbar-track{background:0 0}.editor-card textarea::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.code-editor textarea::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.modal-body textarea::-webkit-scrollbar-thumb{background:#b5bac56b;border-radius:999px}.visually-hidden-file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.file-upload-control{cursor:pointer;background:#2f396233;border:1px dashed #6d81ff7a;border-radius:14px;align-items:center;gap:12px;min-height:72px;padding:12px;transition:background-color .18s,border-color .18s;display:flex}.file-upload-control:hover{background:#3e4b844d;border-color:#7e93ffe0}.file-upload-control span{color:#fff;background:#697cff;border-radius:9px;flex:none;padding:9px 12px;font-size:13px;font-weight:700}.file-upload-control strong{color:#d8ddea;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:500;overflow:hidden}.file-upload-note{color:var(--text-muted);margin:-2px 0 0;font-size:13px}@keyframes processingPulse{0%,to{opacity:1;box-shadow:0 0 #5685ff2e}50%{opacity:.78;box-shadow:0 0 0 8px #5685ff05}}@keyframes widgetMessageIn{0%{opacity:0;transform:translateY(7px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes thinkingPulse{0%,to{opacity:.56;transform:scale(.98)}50%{opacity:1;transform:scale(1)}}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeOut{0%{opacity:1}to{opacity:0}}@keyframes modalCardIn{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes modalCardOut{0%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(8px)scale(.99)}}@media (width<=1260px){.design-layout,.design-overview-layout,.knowledge-detail-layout,.deploy-grid,.stats-bottom,.performance-grid,.history-layout{grid-template-columns:1fr}.design-sidebar{width:100%}.history-layout{grid-template-rows:320px minmax(0,1fr);height:920px}.metric-block,.metric-block+.metric-block{border-top:1px solid #ffffff14;border-left:0;padding:20px 0}.metric-block:first-child{border-top:0}.history-list-pane{border-bottom:1px solid #ffffff0f;border-right:0}}@media (width<=980px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border-soft);min-height:auto}.workspace{padding:18px}.topbar,.page-header,.hero-card,.content-panel-header,.collection-card,.deploy-card-header{flex-direction:column;align-items:flex-start}.topbar{align-items:stretch}.topbar-right{align-self:flex-end}.header-actions,.action-menu,.primary-action{width:100%}.floating-menu{width:100%;left:0;right:auto}.collection-actions{justify-content:flex-start;width:100%}}@media (width<=760px){.workspace{padding:14px}.page-title{font-size:38px}.hero-icon{width:82px;height:82px;font-size:24px}.knowledge-nav-card,.tip-banner,.content-panel,.settings-detail-card,.design-preview,.stats-card,.deploy-card,.modal-card{padding:18px}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.color-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.leads-head,.lead-row{grid-template-columns:1fr;gap:8px}.knowledge-used-panel h3{font-size:18px}}@media (width<=560px){.sidebar{padding:16px 14px}.sidebar-footer{width:min(275px,100vw - 28px);left:14px}.workspace{padding:12px}.search-shell{min-width:0}.knowledge-nav-left,.hero-left{flex-direction:column;align-items:flex-start}.knowledge-nav-right{justify-content:space-between;width:100%;margin-left:0}.theme-grid{grid-template-columns:1fr}.color-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.leads-header-actions{justify-content:space-between;width:100%}.modal-header{grid-template-columns:1fr}.modal-header h3{text-align:left}.modal-link.strong{justify-self:start}}
