:root{font-family:DM Sans,Inter,ui-sans-serif,system-ui,sans-serif;color:#e8eaf2;background:#090b12;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #090b12;--panel: #10131e;--panel-2: #141827;--line: rgba(154, 166, 205, .13);--muted: #858da4;--soft: #b5bdd0;--accent: #9d8cff;--accent-2: #6b8cff;--mint: #65d8b1}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{display:flex;min-height:100vh;background:radial-gradient(ellipse at 74% -10%,rgba(82,77,158,.16),transparent 38%),var(--bg)}.sidebar{width:252px;flex:0 0 252px;display:flex;flex-direction:column;background:#0c0f18f5;border-right:1px solid var(--line);padding:24px 15px 15px;z-index:20}.brand-row{display:flex;align-items:center;gap:11px;padding:0 9px 25px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;color:#fff;border-radius:12px;background:linear-gradient(140deg,#9e80ff,#587cff);box-shadow:0 5px 24px #7d69ff52}.brand-name{font:800 17px Manrope,sans-serif;letter-spacing:-.7px;color:#f4f3ff}.brand-name span{color:#aa9bff}.brand-caption{margin-top:2px;color:#737b91;font-size:8px;letter-spacing:1.55px;font-weight:700}.sidebar-close,.mobile-menu{display:none!important}.new-chat-button{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;padding:11px 12px;border:1px solid rgba(158,140,255,.25);border-radius:10px;background:linear-gradient(105deg,#8b75ff29,#5c75ff12);color:#dcd6ff;font-size:12px;font-weight:600}.new-chat-button kbd{margin-left:auto;color:#8c91a7;font-size:10px;border:1px solid var(--line);padding:2px 5px;border-radius:4px}.nav-scroll{overflow-y:auto;flex:1;padding-top:25px}.nav-group-label{padding:0 11px 9px;color:#687188;font-size:9px;font-weight:700;letter-spacing:1.35px}.group-spaced{margin-top:24px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:39px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:#8f97ac;text-align:left;font-size:12px;margin:2px 0;transition:.18s ease}.nav-item:hover{background:#ffffff0b;color:#e4e6f2}.nav-item.active{color:#d8d0ff;background:linear-gradient(90deg,#8b75ff2b,#8b75ff0e)}.nav-item.active svg{color:#a9f}.nav-item span:nth-child(2){flex:1}.active-indicator{width:5px;height:5px;border-radius:50%;background:#a997ff;box-shadow:0 0 10px #a997ff}.soon-tag{border:1px solid rgba(146,155,183,.18);border-radius:4px;padding:3px 5px;color:#747e96;font-size:8px;font-weight:700;letter-spacing:.45px;white-space:nowrap}.sidebar-bottom{position:relative;padding-top:14px}.plan-card{border:1px solid var(--line);border-radius:10px;background:linear-gradient(145deg,#5d569c1f,#121623b3);padding:12px;margin-bottom:12px}.plan-card-top{display:flex;align-items:center;gap:7px;color:#b8aaff;font-size:10px}.online-label{margin-left:auto;color:#69cda9;font-size:7px;letter-spacing:.5px}.plan-card strong{display:block;margin-top:9px;font-size:11px}.plan-card p{margin:5px 0 0;color:#818ba2;font-size:10px;line-height:1.5}.account-row{display:flex;align-items:center;gap:9px;width:100%;padding:9px 6px;border:0;background:transparent;text-align:left}.avatar{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:linear-gradient(145deg,#7160c6,#344a83);font-size:11px;font-weight:700}.account-copy{min-width:0;flex:1}.account-copy strong,.account-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-copy strong{font-size:10px;font-weight:600}.account-copy span{margin-top:3px;color:#788198;font-size:9px}.account-row>svg{color:#788198}.account-menu{position:absolute;bottom:55px;right:0;width:100%;padding:5px;background:#1b2030;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 32px #0008}.account-menu button{display:flex;gap:8px;align-items:center;width:100%;padding:9px;border:0;border-radius:6px;background:transparent;color:#cbd1e0;font-size:11px}.account-menu button:hover{background:#ffffff0f}.main-panel{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:68px;flex:0 0 68px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:#0a0c1499}.topbar-left,.topbar-right{display:flex;align-items:center;gap:11px}.topbar-left{color:#dce0eb;font-size:11px}.breadcrumb-muted,.breadcrumb-slash{color:#697289}.topbar-left strong{font-weight:600}.topbar-right{gap:15px}.connection-pill{display:flex;align-items:center;gap:7px;color:#8992a9;font-size:10px}.status-dot,.model-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px #65d8b18c}.top-signin{padding:7px 12px;border:1px solid rgba(155,138,255,.3);border-radius:7px;background:#8a74ff1f;color:#cfc5ff;font-size:10px}.icon-button{display:grid;place-items:center;width:32px;height:32px;border:1px solid transparent;border-radius:8px;background:transparent;color:#838ba1}.icon-button:hover{border-color:var(--line);background:#ffffff0b;color:#e4e6f2}.content-area{width:min(1160px,100%);margin:0 auto;padding:44px 48px 70px}.overview-page{max-width:930px;margin:0 auto}.welcome-block{margin:8px 0 29px}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:#9c91df;font-size:9px;font-weight:700;letter-spacing:1.45px}.eyebrow-line{width:17px;height:1px;background:#9c91df}.welcome-block h1,.chat-heading h1,.coming-page h1{margin:14px 0 12px;color:#f0f0fa;font:800 clamp(34px,5vw,52px)/1.13 Manrope,sans-serif;letter-spacing:-2.2px}.welcome-block h1 span{background:linear-gradient(100deg,#c0aaff,#809bff 70%,#7bd7c6);-webkit-background-clip:text;background-clip:text;color:transparent}.welcome-copy{max-width:510px;color:#919ab0;font-size:13px;line-height:1.7}.overview-prompt{border:1px solid rgba(154,139,255,.24);border-radius:14px;background:linear-gradient(145deg,#191a2df0,#101420f2);padding:16px 17px 12px;box-shadow:0 14px 50px #00000029,inset 0 1px #ffffff06}.prompt-label{display:flex;align-items:center;gap:7px;margin:0 0 8px 2px;color:#aaa0ee;font-size:9px;font-weight:700;letter-spacing:1px}.composer{width:100%;border:1px solid rgba(151,162,193,.17);border-radius:12px;background:#111522;padding:14px 14px 10px}.composer:focus-within{border-color:#a08dff8c;box-shadow:0 0 0 3px #927eff12}.composer textarea{display:block;width:100%;min-height:54px;max-height:180px;resize:vertical;border:0;outline:0;background:transparent;color:#e9eaf5;font-size:12px;line-height:1.6}.composer textarea::placeholder{color:#69738b}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.composer-hint{display:flex;align-items:center;gap:7px;color:#778198;font-size:9px}.model-dot{width:5px;height:5px}.hint-divider{color:#41495e}.send-button{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:9px;background:linear-gradient(135deg,#a48dff,#6d83ff);color:#fff;box-shadow:0 5px 16px #7e70ff40}.send-button:disabled{background:#34394b;box-shadow:none}.prompt-foot{display:flex;justify-content:space-between;gap:10px;padding:10px 2px 0;color:#737d95;font-size:9px}.prompt-foot span:first-child{display:flex;align-items:center;gap:5px}.prompt-foot svg{color:#7dceaf}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:37px 0 14px}.section-heading h2{margin:6px 0 0;color:#e7e8f3;font:700 18px Manrope,sans-serif;letter-spacing:-.5px}.section-subtitle{color:#6f7890;font-size:10px}.suggestion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.suggestion-card{position:relative;min-height:150px;padding:16px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(145deg,#131827eb,#0f121deb);text-align:left;transition:transform .18s ease,border-color .18s ease,background .18s ease}.suggestion-card:hover{transform:translateY(-2px);border-color:#9f8fff66;background:#151a2a}.suggestion-icon{display:grid;place-items:center;width:32px;height:32px;margin-bottom:12px;border:1px solid rgba(157,140,255,.18);border-radius:9px;background:#8b77ff1a;color:#b4a5ff}.suggestion-card strong{display:block;margin-bottom:6px;font-size:11px}.suggestion-card p{max-width:235px;margin:0;color:#7f899f;font-size:9px;line-height:1.55}.card-arrow{position:absolute;top:17px;right:16px;color:#78819a;transform:rotate(45deg)}.overview-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.info-panel{padding:16px;border:1px solid var(--line);border-radius:11px;background:#101420cc}.panel-title{display:flex;align-items:center;gap:8px;color:#8c96ad;font-size:9px;font-weight:700;letter-spacing:.9px}.panel-title svg{color:#a99bff}.model-large{margin-top:16px;font:700 18px Manrope,sans-serif;color:#e5e6f3}.model-provider{margin-top:4px;color:#838da4;font-size:10px}.panel-divider{height:1px;margin:14px 0 10px;background:var(--line)}.panel-meta{display:flex;justify-content:space-between;color:#788198;font-size:9px}.panel-meta strong{font-size:9px;font-weight:600}.text-success{color:#77d7b4}.text-muted{color:#929ab0}.status-line{display:flex;align-items:center;gap:8px;margin-top:14px;color:#9da5b9;font-size:10px}.status-line strong{flex:1;font-weight:500}.status-value{color:#737e95;font-size:9px}.muted-dot{background:#657087;box-shadow:none}.fine-print{margin-top:15px;color:#68728a;font-size:9px;line-height:1.6}.chat-page,.models-page{max-width:900px;min-height:calc(100vh - 150px);margin:0 auto;display:flex;flex-direction:column}.chat-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:24px}.chat-heading h1{margin:8px 0 5px;font-size:31px;letter-spacing:-1.2px}.chat-heading p{margin:0;color:#8791a8;font-size:11px}.secondary-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#ffffff09;color:#c6cce0;font-size:10px;font-weight:600}.secondary-button:hover{border-color:#9e8cff61;background:#8f7cff14}.primary-button{border-color:transparent;background:linear-gradient(120deg,#967bff,#667fff);color:#fff}.primary-button:hover{filter:brightness(1.08)}.full-width{width:100%}.messages-area{flex:1;min-height:310px;display:flex;flex-direction:column;justify-content:center;padding:15px 5px 25px}.messages-area.has-messages{justify-content:flex-start;gap:24px}.empty-chat{text-align:center;padding:25px 0}.empty-orbit{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 16px;border:1px solid rgba(158,139,255,.28);border-radius:17px;background:radial-gradient(circle at 30% 20%,#a991ff3d,#566ac714);color:#c1b3ff;box-shadow:0 0 40px #7a68ff1a}.empty-chat h2{margin:0 0 8px;font:700 18px Manrope,sans-serif}.empty-chat p{margin:0;color:#7d879e;font-size:11px}.chat-starters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:21px}.chat-starters button{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#ffffff06;color:#9da6bb;font-size:9px}.chat-starters button:hover{border-color:#9e8cff59;color:#d7d0ff}.chat-starters svg{color:#a998ff;transform:rotate(45deg)}.message-row{display:flex;gap:12px;align-items:flex-start;max-width:100%}.message-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#232941;color:#b4a5ff;font-size:10px;font-weight:700}.message-avatar.user{background:#27364b;color:#a8c9ed}.message-content{min-width:0;flex:1}.message-author{margin:3px 0 7px;color:#a5aec3;font-size:10px;font-weight:700}.message-text{color:#d7dbe7;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.typing-dots{display:inline-flex;gap:4px;padding:6px 0}.typing-dots i{width:5px;height:5px;border-radius:50%;background:#a99aff;animation:pulse 1s infinite ease-in-out}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}@keyframes pulse{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.chat-error{display:flex;justify-content:space-between;gap:10px;padding:9px 11px;margin-bottom:10px;border:1px solid rgba(255,133,133,.2);border-radius:8px;background:#822d391a;color:#e7a6ad;font-size:10px}.chat-error button{border:0;background:transparent;color:inherit}.chat-disclaimer{padding-top:10px;color:#68728a;text-align:center;font-size:9px}.chat-auth-gate{display:grid;place-items:center;align-content:center;flex:1;min-height:360px;text-align:center}.auth-icon{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 12px;border:1px solid rgba(154,138,255,.22);border-radius:13px;background:#8f7bff1a;color:#b9aaff}.chat-auth-gate h2{margin:0 0 7px;font:700 17px Manrope,sans-serif}.chat-auth-gate p{max-width:330px;margin:0 0 18px;color:#828ca3;font-size:10px;line-height:1.6}.model-card{display:flex;align-items:center;gap:15px;padding:19px;border:1px solid rgba(153,137,255,.22);border-radius:12px;background:linear-gradient(120deg,#2d2a4c38,#101420db)}.model-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:#907bff21;color:#b6a5ff}.model-card-main{flex:1;min-width:0}.model-card-title{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font:700 15px Manrope,sans-serif}.active-tag{padding:3px 5px;border-radius:4px;background:#67d0ae1a;color:#77d7b4;font:700 7px DM Sans,sans-serif;letter-spacing:.7px}.model-card-main p{margin:5px 0 10px;color:#8791a8;font-size:10px}.capability-tags{display:flex;gap:6px}.capability-tags span{padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:#9ba5bc;font-size:8px}.model-card-status{display:flex;align-items:center;gap:6px;color:#8c97ac;font-size:9px;white-space:nowrap}.notice-panel{display:flex;gap:11px;margin-top:14px;padding:15px;border:1px solid rgba(103,205,174,.15);border-radius:10px;background:#306e5b12;color:#79c9ac}.notice-panel>svg{flex:0 0 auto}.notice-panel strong{color:#c4e8dc;font-size:10px}.notice-panel p{margin:5px 0 0;color:#8a9d9b;font-size:9px;line-height:1.65}.planned-models{margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}.planned-models h3{margin:0 0 7px;font:700 14px Manrope,sans-serif}.planned-models p{max-width:620px;margin:0 0 12px;color:#8490a7;font-size:10px;line-height:1.7}.coming-page{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:65vh;max-width:560px;margin:0 auto}.coming-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:25px;border:1px solid rgba(157,140,255,.2);border-radius:14px;background:#8b77ff17;color:#b3a2ff}.coming-page h1{margin:10px 0;font-size:34px}.coming-page>p{max-width:480px;color:#8b95ab;font-size:12px;line-height:1.8}.coming-status{display:flex;align-items:center;gap:10px;margin:13px 0 22px;color:#6e7890;font-size:9px}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#03050cb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-modal{position:relative;width:min(410px,100%);padding:15px;border:1px solid rgba(158,140,255,.2);border-radius:16px;background:#111522;box-shadow:0 25px 80px #0009}.modal-close{position:absolute;top:12px;right:12px}.auth-card{padding:23px 18px 16px}.auth-card h3{margin:0 0 7px;text-align:center;font:700 19px Manrope,sans-serif}.auth-card>p{margin:0 auto 18px;max-width:300px;color:#8a94aa;text-align:center;font-size:10px;line-height:1.6}.auth-card label{display:block;margin:13px 0;color:#aab2c6;font-size:10px}.auth-card input{display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid var(--line);border-radius:7px;outline:0;background:#0c101b;color:#edf0fa;font-size:11px}.auth-card input:focus{border-color:#9f8cff8c}.auth-card code{display:block;margin:8px 0;padding:8px;border:1px solid var(--line);border-radius:6px;color:#b5a8ff;font-size:10px}.auth-card .small{margin-top:14px;font-size:9px}.muted{color:#788399!important}.form-error,.form-notice{padding:8px;border-radius:6px;text-align:left!important}.form-error{background:#8b364526;color:#f0a4ad!important}.form-notice{background:#3f866a21;color:#8ddbb8!important}.text-button{display:block;margin:12px auto 0;border:0;background:transparent;color:#aa9cff;font-size:10px}.spinner{width:13px;height:13px;border:2px solid #ffffff60;border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-scrim{display:none}@media(max-width:900px){.sidebar{width:225px;flex-basis:225px}.content-area{padding:34px 28px 55px}.topbar{padding:0 26px}}@media(max-width:700px){.sidebar{position:fixed;inset:0 auto 0 0;width:270px;transform:translate(-102%);transition:transform .22s ease;box-shadow:15px 0 45px #0007}.sidebar.sidebar-open{transform:translate(0)}.sidebar-close,.mobile-menu{display:grid!important}.sidebar-close{margin-left:auto}.mobile-scrim{display:block;position:fixed;inset:0;z-index:15;border:0;background:#0000008c}.topbar{height:58px;flex-basis:58px;padding:0 15px}.topbar-left{gap:7px}.topbar-right{gap:8px}.connection-pill{font-size:0;gap:0}.connection-pill .status-dot{width:7px;height:7px}.settings-button{display:none}.content-area{padding:29px 17px 45px}.welcome-block{margin-top:3px}.welcome-block h1{font-size:clamp(34px,10vw,45px);letter-spacing:-1.7px}.welcome-copy{font-size:12px}.suggestion-grid{grid-template-columns:1fr}.suggestion-card{min-height:116px}.suggestion-card p{max-width:90%}.overview-bottom-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}.section-subtitle{padding-top:15px}.composer-hint{font-size:8px}.chat-heading{margin-bottom:18px}.chat-heading h1{font-size:28px}.chat-heading p{max-width:250px;line-height:1.6}.messages-area{min-height:280px}.chat-starters{flex-direction:column;align-items:center}.chat-starters button{width:min(280px,100%);justify-content:space-between}.model-card{align-items:flex-start;flex-wrap:wrap;padding:14px}.model-card-status{margin-left:60px}.coming-page{min-height:60vh}.chat-page{min-height:calc(100vh - 105px)}}@media(max-width:390px){.content-area{padding-inline:13px}.prompt-foot{font-size:8px}.chat-heading{flex-direction:column}}.history-section{margin-top:4px}.history-empty{padding:7px 10px 9px 29px;color:#667187;font-size:9px;line-height:1.5}.history-item{display:flex;align-items:center;gap:3px;margin:2px 0;border-radius:7px;color:#9ba5ba}.history-item:hover,.history-item.active{background:#9684ff17;color:#e2ddff}.history-open{display:flex;align-items:center;gap:8px;min-width:0;flex:1;padding:8px 8px 8px 10px;border:0;background:transparent;color:inherit;text-align:left;font-size:10px}.history-open span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-delete{display:grid;place-items:center;width:26px;height:26px;margin-right:4px;border:0;border-radius:5px;background:transparent;color:#748097;opacity:.55}.history-item:hover .history-delete{opacity:1}.history-delete:hover{background:#dc5a6e24;color:#f09aa7}.history-error{margin:6px 8px;padding:7px;border-radius:6px;background:#8b364526;color:#f0a4ad;font-size:9px;line-height:1.5}.provider-list{display:grid;gap:8px;margin:15px 0}.provider-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#ffffff04}.provider-row strong{color:#e6e9f4;font-size:11px}.provider-row p{margin:4px 0 0;color:#8791a7;font-size:9px;line-height:1.5}.provider-row .secondary-button{flex:0 0 auto;padding:8px 10px;font-size:9px}@media(max-width:430px){.provider-row{align-items:flex-start;flex-direction:column}}.capability-directory{margin-top:22px}.capability-row{align-items:flex-start}.capability-row>div{min-width:0}.capability-row .capability-tags{margin-top:8px}.capability-row .active-tag,.capability-row .soon-tag{flex:0 0 auto}@media(max-width:430px){.capability-row{align-items:flex-start}}.chat-model-select{max-width:190px;min-width:100px;border:1px solid var(--line);border-radius:6px;padding:4px 7px;background:var(--panel, #151a27);color:#dce3f2;font:inherit;font-size:10px}.chat-model-select:focus-visible{outline:2px solid var(--accent, #8b83ff);outline-offset:2px}.chat-model-select:disabled{opacity:.6}.chat-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.message-copy{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:5px 8px;border:1px solid rgba(153,166,194,.16);border-radius:6px;background:#1c2233b3;color:#9da8bf;font-size:10px;cursor:pointer}.message-copy:hover{border-color:#a99aff73;color:#c2b7ff}.chat-heading-actions button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:560px){.chat-heading-actions{width:100%}.chat-heading-actions .secondary-button{flex:1;justify-content:center}}.stop-button{background:#dc5c692e;color:#f0a2aa;border:1px solid rgba(220,92,105,.3)}.stop-button:hover{background:#dc5c6947}.history-search{display:block;width:100%;margin:8px 0 6px;padding:8px 9px;border:1px solid rgba(143,157,185,.16);border-radius:7px;outline:none;background:#0c101bb8;color:#d9deeb;font:inherit;font-size:10px}.history-search::placeholder{color:#68748b}.history-search:focus{border-color:#a99aff8c;box-shadow:0 0 0 2px #a99aff14}.knowledge-page{max-width:1050px;min-height:calc(100vh - 150px);margin:0 auto}.knowledge-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:22px 0 14px}.knowledge-search{display:flex;flex:1;max-width:560px;gap:8px}.knowledge-search input,.knowledge-editor input,.knowledge-editor select,.knowledge-editor textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;background:#111522;color:#e8eaf2;padding:10px 12px;outline:none;font-size:11px}.knowledge-search input:focus,.knowledge-editor input:focus,.knowledge-editor select:focus,.knowledge-editor textarea:focus{border-color:#a08dff8c}.knowledge-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr);gap:14px;align-items:start}.knowledge-list,.knowledge-editor{min-width:0;border:1px solid var(--line);border-radius:11px;background:#101420d1;padding:13px}.knowledge-item{display:flex;align-items:center;gap:5px;border-bottom:1px solid var(--line)}.knowledge-item:last-child{border-bottom:0}.knowledge-item.selected{background:#8f7cff17}.knowledge-item>button:first-child{flex:1;min-width:0;padding:11px 7px;border:0;background:transparent;text-align:left}.knowledge-item strong,.knowledge-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-item strong{color:#dfe2f0;font-size:11px}.knowledge-item span,.knowledge-document-heading span{margin-top:5px;color:#788198;font-size:9px}.knowledge-delete{display:grid;place-items:center;width:29px;height:29px;border:0;border-radius:7px;background:transparent;color:#818aa0}.knowledge-delete:hover{background:#ff64781a;color:#ff9aaa}.knowledge-editor form{display:grid;gap:13px}.knowledge-editor label{display:grid;gap:7px;color:#aab2c7;font-size:10px;font-weight:600}.knowledge-editor textarea{resize:vertical;line-height:1.6}.knowledge-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#778198;font-size:9px}.knowledge-document-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.knowledge-document-heading strong,.knowledge-document-heading span{display:block}.knowledge-document-content{overflow:auto;max-height:65vh;margin:0;padding:16px 2px 4px;color:#c4cadb;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:720px){.knowledge-layout{grid-template-columns:1fr}.knowledge-toolbar{align-items:stretch;flex-direction:column}.knowledge-search{max-width:none}.knowledge-footer{align-items:flex-start;flex-direction:column}}.knowledge-chat-picker{position:relative;padding:0 2px 8px}.knowledge-picker-toggle{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#8f7cff12;color:#b9b2ff;font-size:10px;cursor:pointer}.knowledge-picker-toggle:disabled{opacity:.55;cursor:not-allowed}.knowledge-picker-panel{position:absolute;z-index:20;left:0;bottom:calc(100% + 4px);width:min(360px,calc(100vw - 48px));max-height:300px;overflow:auto;padding:12px;border:1px solid var(--line);border-radius:10px;background:#141827;box-shadow:0 14px 40px #00000059}.knowledge-picker-heading{display:grid;gap:4px;padding-bottom:9px;border-bottom:1px solid var(--line)}.knowledge-picker-heading strong{color:#e7e9f4;font-size:11px}.knowledge-picker-heading span,.knowledge-picker-option small,.knowledge-picker-footer{color:#828ba2;font-size:9px;line-height:1.5}.knowledge-picker-option{display:flex;align-items:center;gap:9px;padding:9px 2px;border-bottom:1px solid rgba(255,255,255,.045);cursor:pointer}.knowledge-picker-option input{accent-color:#9b8aff}.knowledge-picker-option span,.knowledge-picker-option strong,.knowledge-picker-option small{display:block;min-width:0}.knowledge-picker-option strong{overflow:hidden;color:#dce0ed;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.knowledge-picker-footer{display:flex;align-items:center;justify-content:space-between;padding-top:9px}.knowledge-picker-footer .text-button{border:0;background:transparent;color:#b9b2ff;font-size:9px;cursor:pointer}.knowledge-selected-preview{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 0 8px}.knowledge-selected-label{width:100%;color:#858da4;font-size:9px}.knowledge-selected-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 7px;border:1px solid rgba(155,138,255,.28);border-radius:7px;background:#8f7cff14;color:#c9c2ff;font-size:9px}.knowledge-selected-chip>svg{flex:0 0 auto}.knowledge-selected-chip button{display:grid;place-items:center;width:17px;height:17px;padding:0;border:0;border-radius:4px;background:transparent;color:#aaa1d9;cursor:pointer}.knowledge-selected-chip button:hover{background:#ffffff17}.knowledge-selected-chip button:disabled{opacity:.45;cursor:not-allowed}.knowledge-picker-footer{flex-wrap:wrap;gap:8px}.agent-builder{display:grid;gap:13px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.agent-builder-title{display:flex;align-items:center;gap:10px;color:#c6bdff}.agent-builder-title div{display:grid;gap:3px}.agent-builder-title strong{color:var(--text);font-size:13px}.agent-builder-title span,.field-hint{color:var(--muted);font-size:10px;font-weight:400}.agent-builder label{display:grid;gap:6px;color:var(--text);font-size:11px;font-weight:600}.agent-builder input,.agent-builder textarea{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid var(--line);border-radius:8px;outline:none;background:var(--surface);color:var(--text);font:inherit;font-size:12px;resize:vertical}.agent-builder input:focus,.agent-builder textarea:focus{border-color:#9b8aff}.agent-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:10px}.agents-list-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}.agents-list-heading h2{margin:0;font-size:15px}.agents-list-heading span{color:var(--muted);font-size:10px}.agents-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.agent-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.agent-card-head{display:flex;align-items:center;justify-content:space-between}.agent-card-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#8f7cff1f;color:#b9b2ff}.agent-card h3{margin:12px 0 5px;font-size:13px}.agent-card p{min-height:28px;margin:0 0 10px;color:var(--muted);font-size:10px;line-height:1.5}.agent-instructions-preview{display:-webkit-box;overflow:hidden;min-height:38px;margin-bottom:13px;color:#a2abc0;font-size:10px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.agent-card .secondary-button{width:100%;justify-content:center}.agent-chat-selector{display:flex;align-items:center;gap:8px;padding:0 2px 8px;color:#b9b2ff;font-size:10px}.agent-chat-selector select{max-width:220px;padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit}.agent-chat-selector button{border:0;background:transparent;color:var(--muted);font-size:10px;cursor:pointer}@media(max-width:600px){.agent-form-footer{align-items:flex-start;flex-direction:column}.agents-grid{grid-template-columns:1fr}}.studio-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.8fr);align-items:start;gap:15px}.studio-builder{display:grid;gap:13px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.studio-builder label{display:grid;gap:6px;color:var(--text);font-size:11px;font-weight:600}.studio-builder input,.studio-builder textarea,.studio-builder select{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid var(--line);border-radius:8px;outline:none;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.studio-builder textarea{resize:vertical}.studio-builder input:focus,.studio-builder textarea:focus,.studio-builder select:focus{border-color:#9b8aff}.studio-side{display:grid;gap:12px}.studio-preview-card{padding:17px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.studio-preview-card h2{margin:9px 0 6px;font-size:16px}.studio-preview-card>p{margin:0 0 17px;color:var(--muted);font-size:11px;line-height:1.6}.studio-step{display:flex;gap:11px;padding:12px 0;border-top:1px solid var(--line)}.studio-step>span{display:grid;place-items:center;flex:0 0 27px;height:27px;border-radius:8px;background:#8f7cff1f;color:#b9b2ff;font-size:10px;font-weight:700}.studio-step strong{color:var(--text);font-size:11px}.studio-step p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.5}@media(max-width:850px){.studio-layout{grid-template-columns:1fr}}.automation-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.automation-last-result{margin:10px 0;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.automation-last-result strong{color:var(--text);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.automation-last-result p{display:-webkit-box;overflow:hidden;margin:6px 0 0;color:#aeb6c9;font-size:10px;line-height:1.55;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:6}.history-filter{width:100%;margin:4px 0 8px;padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);text-align:left;font-size:10px;cursor:pointer}.history-actions{display:flex;align-items:center;gap:2px;opacity:.75}.history-item:hover .history-actions,.history-item:focus-within .history-actions{opacity:1}.history-rename{display:flex;width:100%;gap:4px;padding:3px}.history-rename input{min-width:0;flex:1;padding:5px 7px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:10px}.history-rename button{padding:4px 7px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-size:10px;cursor:pointer}.settings-page{max-width:1100px;margin:0 auto}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.settings-card-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:13px;border-radius:10px;background:#8f7cff1f;color:#b9b2ff}.settings-card h2{margin:0 0 6px;color:var(--text);font-size:15px}.settings-card>p{margin:0 0 16px;color:var(--muted);font-size:11px;line-height:1.6}.settings-detail{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:10px}.settings-detail span{color:var(--muted)}.settings-detail strong{color:var(--text);text-align:right;overflow-wrap:anywhere}.settings-card ul{display:grid;gap:8px;padding-left:17px;color:var(--muted);font-size:10px;line-height:1.55}.settings-note{display:block;margin-top:12px;color:#d6b67a;font-size:10px;line-height:1.5}.settings-card .secondary-button,.settings-card .primary-button{margin-top:12px}@media(max-width:700px){.settings-grid{grid-template-columns:1fr}.history-actions{opacity:1}}
