:root{
  --nav:#10274d;--nav-dark:#0a1d3c;--nav-soft:#183765;--blue:#1769ff;--blue2:#0c57e8;--blue-soft:#edf4ff;
  --bg:#f4f7fb;--card:#fff;--text:#132343;--text2:#324463;--muted:#7b8aa5;--line:#e5ebf3;--line2:#d5deeb;
  --green:#12a66a;--green-soft:#e7f8f1;--red:#db4b4b;--red-soft:#fff0f0;--amber:#c98512;--amber-soft:#fff5df;
  --shadow:0 8px 30px rgba(28,54,98,.055);--shadow2:0 18px 60px rgba(23,48,91,.12);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);background:var(--bg);font-synthesis:none
}
*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{background:var(--bg);font-size:14px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}a{color:inherit}.icon{display:inline-block;vertical-align:-3px;flex:0 0 auto}.boot{min-height:100vh;display:grid;place-items:center;color:var(--muted)}

/* auth */
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(520px,1.08fr) minmax(420px,.92fr);background:white}.auth-hero{position:relative;overflow:hidden;padding:64px clamp(48px,7vw,120px);display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(circle at 85% 18%,#357dff35,transparent 28%),radial-gradient(circle at 18% 82%,#5e73ff24,transparent 30%),linear-gradient(145deg,#0b2042 0%,#12315c 55%,#0d2850 100%);color:white}.auth-hero:before,.auth-hero:after{content:"";position:absolute;border:1px solid #ffffff12;border-radius:50%}.auth-hero:before{width:620px;height:620px;right:-310px;bottom:-250px}.auth-hero:after{width:410px;height:410px;right:-205px;bottom:-145px}.auth-brand,.mobile-brand{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.auth-brand b{font-size:20px;display:block}.auth-brand small{display:block;color:#95add0;font-size:10px;letter-spacing:1.2px;margin-top:2px}.brand-mark{width:38px;height:38px;border-radius:12px;position:relative;background:linear-gradient(145deg,#377fff,#66a7ff);box-shadow:0 7px 24px #0a72ff45;overflow:hidden;flex:0 0 auto}.brand-mark span{position:absolute;border-radius:50%}.brand-mark span:nth-child(1){width:24px;height:24px;left:-3px;top:7px;background:#2369ee}.brand-mark span:nth-child(2){width:22px;height:22px;right:-2px;top:-2px;background:#6a64ff}.brand-mark span:nth-child(3){width:18px;height:18px;right:2px;bottom:-2px;background:#18376d}.auth-copy{position:relative;z-index:1;max-width:650px}.eyebrow{display:inline-flex;align-items:center;letter-spacing:1.5px;font-size:12px;font-weight:700;color:#b9c9e3;text-transform:uppercase}.eyebrow.blue{color:var(--blue);background:var(--blue-soft);border-radius:999px;padding:6px 10px;letter-spacing:.3px}.auth-copy h1{font-size:clamp(45px,4.2vw,70px);line-height:1.08;letter-spacing:-2px;margin:22px 0 24px;font-weight:760}.auth-copy h1 em{font-style:normal;color:#75a8ff}.auth-copy p{max-width:610px;color:#bccbe0;font-size:17px;line-height:1.8}.auth-points{display:flex;gap:28px;position:relative;z-index:1;color:#aebfda;font-size:13px}.auth-points span{display:flex;align-items:center;gap:7px}.auth-panel{display:grid;place-items:center;padding:48px}.auth-card{width:min(440px,100%)}.auth-card h2{font-size:30px;letter-spacing:-.7px;margin:0 0 10px}.auth-card>p{color:var(--muted);margin:0 0 28px;line-height:1.7}.auth-card .field{margin-bottom:16px}.auth-foot{text-align:center;color:#a0aec1;font-size:11px;margin-top:32px}.mobile-brand{display:none;margin-bottom:28px}.secure-note{margin-top:16px;border:1px solid var(--line);border-radius:11px;padding:12px 13px;color:var(--muted);font-size:12px;display:flex;gap:8px;align-items:flex-start}.copy-field{display:flex;align-items:center;border:1px solid var(--line2);border-radius:10px;background:#f8fafd;overflow:hidden}.copy-field code{flex:1;padding:12px;overflow:auto}.copy-field .icon-btn{margin-right:6px}

/* shell */
.shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:linear-gradient(180deg,var(--nav) 0%,var(--nav-dark) 100%);color:white;padding:18px 12px 14px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:4px 10px 22px}.brand-title{font-size:17px;font-weight:750}.brand-sub{color:#8fa8cd;font-size:9px;letter-spacing:.6px;margin-top:2px}.nav-label{font-size:10px;color:#7691b8;letter-spacing:1.1px;text-transform:uppercase;padding:0 12px 9px}.nav{display:flex;flex-direction:column;gap:3px}.nav a{display:flex;align-items:center;gap:11px;color:#b7c6dc;text-decoration:none;padding:10px 11px;border-radius:9px;font-size:13px;transition:.15s}.nav a:hover{background:#ffffff0c;color:white}.nav a.active{background:linear-gradient(90deg,#ffffff17,#ffffff0e);color:white;box-shadow:inset 2px 0 var(--blue)}.nav-ico{width:22px;height:22px;display:grid;place-items:center;color:#90a8ca}.nav a.active .nav-ico{color:#69a1ff}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff12;padding:12px 5px 0}.scope-switch{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#9fb4d2;font-size:12px;padding:8px 9px;margin-bottom:8px}.scope-switch:hover{color:white}.user-chip{display:flex;align-items:center;gap:9px;padding:9px}.avatar,.mini-avatar,.human-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#4c7df0,#5c65dc);color:white;font-weight:700}.avatar.soft{background:var(--blue-soft);color:var(--blue)}.user-chip div:nth-child(2){min-width:0}.user-chip strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}.user-chip span{font-size:10px;color:#8fa3c1}.logout-btn{width:100%;border:1px solid #ffffff18;background:transparent;color:#9fb4d2;border-radius:8px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px}.logout-btn:hover{color:white;border-color:#ffffff30;background:#ffffff0c}.main{min-width:0}.topbar{height:70px;background:#ffffffed;backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:0 24px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}.topbar h1{font-size:16px;margin:1px 0 0;font-weight:700}.top-kicker{font-size:10px;color:#94a1b5}.top-actions{display:flex;align-items:center;gap:12px}.service-pill,.preview-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#667995;background:#f7f9fc;border:1px solid var(--line);padding:6px 9px;border-radius:999px}.service-pill i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #18aa6a17}.preview-pill{color:#9a6711;background:#fff8e7;border-color:#f4dfaa}.mini-avatar{width:30px;height:30px;font-size:12px}.content{padding:24px clamp(18px,2.1vw,34px) 50px;max-width:1680px;margin:0 auto;width:100%}.page-loading{height:240px;display:grid;place-items:center;color:var(--muted);gap:9px}.page-loading span,.source-loading span{width:22px;height:22px;border:2px solid #dce7f7;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

/* generic */
.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:0 0 18px}.page-head h2{font-size:24px;letter-spacing:-.4px;margin:0 0 5px}.page-head p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.6}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{border:1px solid var(--line2);background:white;border-radius:9px;padding:8px 12px;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;min-height:36px;transition:.15s}.btn:hover{border-color:#b9c8dd;background:#fbfcfe}.btn.primary{background:linear-gradient(180deg,#2575ff,#1261ef);border-color:#1464f5;color:white;box-shadow:0 5px 14px #1769ff22}.btn.primary:hover{background:var(--blue2)}.btn.danger-fill{background:var(--red);border-color:var(--red);color:white}.btn.small{padding:6px 9px;min-height:30px;font-size:11.5px}.btn.full{width:100%;min-height:43px}.btn:disabled{opacity:.52;cursor:not-allowed}.icon-btn{width:34px;height:34px;border:0;background:transparent;border-radius:8px;display:grid;place-items:center;color:#6c7e99;padding:0}.icon-btn:hover{background:#f1f5fb;color:var(--text)}.icon-btn.danger:hover{background:var(--red-soft);color:var(--red)}.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow)}.card.no-pad{padding:0}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card-head.pad{padding:18px 18px 10px}.card-head h3,.section-bar h3{font-size:15px;margin:0 0 4px}.card-head p,.section-bar p{font-size:11.5px;color:var(--muted);margin:0;line-height:1.6}.top-card{margin-top:14px}.top-gap{margin-top:14px}.muted{color:var(--muted)}.text-good{color:var(--green)}.text-link{font-size:11.5px;color:var(--blue);text-decoration:none;display:inline-flex;align-items:center;gap:2px}.text-link:hover{text-decoration:underline}.mono,code,.runtime-pre{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace}.grid{display:grid;gap:14px}.grid.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric{display:flex;align-items:center;gap:13px;min-height:103px}.metric-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue);flex:0 0 auto}.metric-copy{min-width:0}.metric .label{font-size:11.5px;color:var(--muted)}.metric .value{font-size:25px;font-weight:760;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.metric .hint{font-size:10.5px;color:var(--muted);margin-top:2px}.section-bar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:22px 2px 10px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:10.5px;background:#eef3fb;color:#5c6e89;white-space:nowrap}.badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.badge.ok{background:var(--green-soft);color:#087b4b}.badge.err{background:var(--red-soft);color:#b63333}.badge.warn{background:var(--amber-soft);color:#92620f}.alert{border:1px solid var(--line2);border-radius:10px;padding:11px 13px;margin:10px 0;font-size:12px;line-height:1.6}.alert.info{background:#f3f7ff;border-color:#cfe0ff;color:#315c9b}.alert.warning{background:#fff8e8;border-color:#f1dfae;color:#8c651c}.alert.error{background:#fff2f2;border-color:#f1c8c8;color:#a93030}.count-pill{font-size:11px;color:var(--muted);background:#f4f6f9;border-radius:999px;padding:5px 9px}

/* form */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px}.field.full,.check-row.full{grid-column:1/-1}.field label{font-size:11.5px;color:#53647f;font-weight:650}.field input,.field textarea,.field select,.list-toolbar select,.chat-toolbar select{width:100%;border:1px solid var(--line2);background:white;border-radius:9px;padding:9px 10px;outline:none;transition:.15s}.field input,.field select{height:39px}.field textarea{min-height:88px;resize:vertical;line-height:1.65}.field textarea.editor{min-height:280px}.field input:focus,.field textarea:focus,.field select:focus,.list-toolbar select:focus,.chat-toolbar select:focus{border-color:#7aa5ff;box-shadow:0 0 0 3px #1769ff12}.help{font-size:10.5px;color:var(--muted);line-height:1.5}.check-row{display:flex;align-items:flex-start;gap:9px;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fbfcfe}.check-row input{margin-top:2px;width:16px;height:16px}.check-row strong{display:block;font-size:11.5px}.check-row span{display:block;color:var(--muted);font-size:10.5px;margin-top:2px}.search-input{height:36px;min-width:240px;border:1px solid var(--line2);background:white;border-radius:9px;display:flex;align-items:center;gap:7px;padding:0 10px;color:#8b9ab1}.search-input:focus-within{border-color:#7aa5ff;box-shadow:0 0 0 3px #1769ff10}.search-input input{border:0;outline:0;min-width:0;flex:1;font-size:12px;background:transparent}

/* tables and lists */
.list-card{overflow:hidden}.list-toolbar{min-height:58px;padding:10px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.toolbar-right{display:flex;align-items:center;gap:8px}.list-toolbar select{height:36px;width:auto;min-width:120px;font-size:11.5px;padding:0 28px 0 9px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{text-align:left;padding:11px 14px;border-bottom:1px solid #edf1f6;font-size:11.5px;vertical-align:middle}.table th{font-size:10.5px;color:#7787a2;background:#fafbfd;font-weight:650;letter-spacing:.1px}.table tr:last-child td{border-bottom:0}.table tbody tr:hover{background:#fbfcff}.table strong{font-weight:650}.table code{font-size:10.5px;color:#526783;background:#f4f6fa;padding:2px 5px;border-radius:5px}.table-sub{display:block;color:var(--muted);font-size:10px;margin-top:3px;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-actions{display:flex;align-items:center;gap:4px}.error-text{display:block;color:var(--red);font-size:9.5px;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.seg{display:flex;gap:4px}.seg button{border:0;background:transparent;border-radius:8px;padding:7px 11px;color:#657693;font-size:11.5px}.seg button span{display:inline-grid;place-items:center;min-width:20px;height:20px;background:#f0f3f8;border-radius:7px;margin-left:3px;font-size:10px}.seg button.active{background:var(--blue-soft);color:var(--blue);font-weight:650}.seg button.active span{background:#d9e8ff}.empty-state{text-align:center;padding:38px 20px;color:var(--muted)}.empty-state .empty-icon{width:45px;height:45px;border-radius:14px;background:#f0f4fa;color:#7487a5;display:grid;place-items:center;margin:0 auto 10px}.empty-state h3{font-size:13.5px;color:var(--text2);margin:0 0 5px}.empty-state p{font-size:11.5px;margin:0 auto 13px;max-width:380px}.error-state{background:white;border:1px solid var(--line);border-radius:14px}.mini-empty{text-align:center;color:var(--muted);font-size:11px;padding:26px}.product-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:12px}.product-summary>div{background:white;padding:12px 16px;display:flex;align-items:center;gap:9px}.product-summary span{font-size:11px;color:var(--muted)}.product-summary b{font-size:17px}.product-cell,.file-cell,.user-cell{display:flex;align-items:center;gap:10px}.product-cell>div:last-child,.file-cell>div,.user-cell>div{min-width:0}.product-cell strong,.file-cell strong,.user-cell strong{display:block}.product-cell span,.file-cell span,.user-cell span{display:block;color:var(--muted);font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:330px}.product-thumb{width:42px;height:42px;border-radius:8px;background:linear-gradient(145deg,#eef3fa,#e6ebf3);display:grid;place-items:center;color:#6b7e9b;font-weight:700;overflow:hidden;flex:0 0 auto}.product-thumb img{width:100%;height:100%;object-fit:cover}.file-type{width:37px;height:39px;border-radius:7px;display:grid;place-items:center;font-size:9px;font-weight:800;letter-spacing:.2px;background:#eef3ff;color:#356adb}.file-type.pdf{background:#fff0f0;color:#d74444}.file-type.xls{background:#eaf8f1;color:#16915e}.file-type.doc{background:#edf4ff;color:#3776e8}.role-pill{display:inline-flex;border-radius:999px;background:#eef3fb;color:#5f718d;padding:4px 8px;font-size:10.5px}.role-pill.admin{background:#eeeaff;color:#6753c9}.role-pill.user{background:#edf6ff;color:#3872b9}

/* dashboard */
.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.service-card{background:white;border:1px solid var(--line);border-radius:12px;padding:13px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;box-shadow:var(--shadow)}.service-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--green-soft);color:var(--green)}.service-icon.degraded,.service-icon.unavailable{background:var(--amber-soft);color:var(--amber)}.service-card strong{font-size:11.5px;display:block}.service-card span:not(.badge){font-size:9.5px;color:var(--muted);display:block;margin-top:2px}.dashboard-two{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:14px}.activity-list{margin-top:10px}.activity{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 2px;border-bottom:1px solid #f0f3f7}.activity:last-child{border-bottom:0}.activity-dot{width:7px;height:7px;border-radius:50%;background:#6f99ef}.activity strong{display:block;font-size:11px}.activity small{display:block;color:var(--muted);font-size:9.5px;margin-top:1px}.activity time{font-size:9.5px;color:#98a5b8}.steps{margin-top:8px}.steps a{display:grid;grid-template-columns:27px minmax(0,1fr) 18px;gap:9px;align-items:center;padding:8px 0;text-decoration:none}.steps b{width:25px;height:25px;border-radius:7px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:10.5px}.steps strong{font-size:11px;display:block}.steps span{font-size:9.5px;color:var(--muted);display:block;margin-top:1px}.steps .icon{color:#a1afc1}.license-strip{margin-top:8px;background:#f8fafd;border-radius:9px;padding:9px 10px;font-size:10.5px;color:#667994;display:flex;align-items:center;gap:7px}.user-hero{min-height:210px;background:radial-gradient(circle at 86% 40%,#3a7bff28,transparent 22%),linear-gradient(115deg,#fff,#f5f9ff);display:flex;align-items:center;justify-content:space-between;padding:28px 34px;margin-bottom:14px;overflow:hidden}.user-hero h2{font-size:28px;line-height:1.25;letter-spacing:-.6px;margin:12px 0 9px}.user-hero p{color:var(--muted);max-width:610px;font-size:12px;line-height:1.7}.hero-orb{width:116px;height:116px;border-radius:34px;background:linear-gradient(145deg,#2878ff,#6767e8);display:grid;place-items:center;color:white;font-size:48px;font-weight:800;transform:rotate(-7deg);box-shadow:0 25px 50px #246bff33;margin-right:30px}.user-two{grid-template-columns:1.2fr .8fr}.user-two .service-grid{grid-template-columns:1fr 1fr}.user-two .service-card{box-shadow:none;padding:10px}.api-quick{margin-top:12px;border-top:1px solid var(--line);padding-top:11px;display:flex;align-items:center;gap:8px}.api-quick>div{min-width:0;flex:1}.api-quick span{display:block;font-size:9.5px;color:var(--muted)}.api-quick code{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.bar-chart{height:185px;display:flex;align-items:flex-end;gap:5px;padding:20px 4px 2px}.bar-col{height:100%;flex:1;min-width:8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}.bar-track{width:min(18px,72%);height:130px;border-radius:6px;background:#f1f4f8;position:relative;overflow:hidden;display:flex;align-items:flex-end}.bar-track i{width:100%;background:linear-gradient(180deg,#6aa0ff,#2a6ff1);border-radius:6px;min-height:4px;transition:.2s}.bar-col span{font-size:8px;color:#9aa7b9;white-space:nowrap}.bar-value{height:10px;font-size:8px;color:#71809a}.chart-empty{height:180px;display:grid;place-items:center;color:var(--muted);font-size:11px}

/* knowledge/workspace/settings */
.knowledge-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px}.knowledge-side{height:max-content}.knowledge-side .search-input{min-width:0;width:100%}.knowledge-count{display:flex;align-items:baseline;gap:6px;margin:20px 2px}.knowledge-count b{font-size:25px}.knowledge-count span{font-size:10.5px;color:var(--muted)}.knowledge-tips{border-top:1px solid var(--line);padding-top:13px;display:flex;flex-direction:column;gap:8px}.knowledge-tips strong{font-size:10.5px;color:#556680}.knowledge-tips span{font-size:10.5px;color:var(--muted)}.upload-zone{border:1.5px dashed #b8c7db;background:#fafcff;border-radius:12px;padding:24px;text-align:center;margin-bottom:14px}.upload-zone input{display:none}.upload-zone h3{font-size:13px;margin:8px 0 4px}.upload-zone p{color:var(--muted);font-size:10.5px;max-width:520px;margin:0 auto 12px}.upload-zone>span{display:block;font-size:10px;color:var(--muted);margin-top:8px}.upload-icon{width:45px;height:45px;border-radius:13px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin:auto}.workspace-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace-card{display:grid;grid-template-columns:40px minmax(0,1fr) 30px;gap:10px;align-items:center}.workspace-icon{width:40px;height:40px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.workspace-card strong{display:block;font-size:11.5px}.workspace-card code{display:block;font-size:9.5px;color:#60718c;margin-top:3px;overflow:hidden;text-overflow:ellipsis}.workspace-card span{display:block;color:var(--muted);font-size:9.5px}.settings-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:13px}.settings-nav{display:flex;flex-direction:column;gap:3px}.settings-nav button{border:0;background:transparent;text-align:left;border-radius:8px;padding:9px 11px;color:#64748e;font-size:11.5px}.settings-nav button.active{background:white;color:var(--blue);font-weight:650;box-shadow:var(--shadow);border:1px solid var(--line)}.settings-panel{display:none}.settings-panel.active{display:block}.settings-save{display:flex;justify-content:flex-end;margin-top:12px}.system-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:14px}.kv-list{display:flex;flex-direction:column}.kv-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f6}.kv-list>div:last-child{border-bottom:0}.kv-list span{font-size:10.5px;color:var(--muted)}.kv-list strong,.kv-list code{font-size:10.5px}.runtime-pre{background:#0f203b;color:#d8e5f7;border-radius:10px;padding:13px;font-size:10px;line-height:1.55;max-height:310px;overflow:auto;margin:10px 0 0}.license-hero{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:15px;align-items:center;margin-bottom:14px}.license-shield{width:58px;height:58px;border-radius:17px;background:var(--green-soft);color:var(--green);display:grid;place-items:center}.license-hero span:not(.badge){font-size:10.5px;color:var(--muted)}.license-hero h2{font-size:20px;margin:2px 0}.license-hero p{margin:0;color:var(--muted);font-size:11px}.rule-list{display:flex;flex-direction:column;gap:11px;margin-top:13px}.rule-list>div{display:flex;gap:9px;color:#647691;font-size:11px;line-height:1.5}.rule-list .icon{color:var(--blue)}

/* chat */
.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px}.chat-card{padding:0;height:calc(100vh - 142px);min-height:610px;display:flex;flex-direction:column;overflow:hidden}.chat-toolbar{height:68px;border-bottom:1px solid var(--line);padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-agent{display:flex;align-items:center;gap:9px}.bot-avatar{width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#2373fb,#546be5);color:white;display:grid;place-items:center;font-weight:800;box-shadow:0 5px 14px #1769ff25;flex:0 0 auto}.bot-avatar.small{width:29px;height:29px;border-radius:9px;font-size:10px}.chat-agent strong{font-size:11.5px;display:block}.chat-agent span{font-size:9.5px;color:var(--muted);display:flex;align-items:center;gap:5px;margin-top:2px}.chat-agent i{width:6px;height:6px;background:var(--green);border-radius:50%}.chat-toolbar select{width:180px;height:35px;font-size:10.5px}.workspace-pill{font-size:10.5px;border:1px solid var(--line);border-radius:8px;padding:7px 9px;color:#657690;display:flex;align-items:center;gap:5px}.messages{flex:1;overflow:auto;padding:16px 17px;background:linear-gradient(180deg,#fff,#fbfcfe)}.message-row{display:flex;align-items:flex-end;gap:8px;margin:11px 0}.message-row.user{justify-content:flex-end}.bubble{max-width:min(76%,720px)}.bubble-text{padding:10px 12px;border-radius:12px;background:#f0f4f9;line-height:1.7;font-size:12.5px;color:#283b5b;box-shadow:0 1px 0 #e8edf4}.message-row.user .bubble-text{background:#eaf2ff;color:#1a3f79}.bubble time{display:block;color:#a1adbd;font-size:8.5px;margin:3px 4px 0}.human-avatar{width:29px;height:29px;font-size:10px}.chat-suggestions{display:flex;gap:6px;padding:0 14px 8px;overflow:auto}.chat-suggestions button{border:1px solid var(--line);background:#fafcff;color:#657692;border-radius:999px;padding:6px 9px;white-space:nowrap;font-size:9.5px}.chat-suggestions button:hover{background:var(--blue-soft);border-color:#cee0ff;color:var(--blue)}.composer{display:flex;gap:8px;padding:10px 12px 6px;border-top:1px solid var(--line);background:white}.composer textarea{flex:1;min-height:42px;max-height:110px;border:1px solid var(--line2);border-radius:10px;resize:none;padding:10px 11px;outline:0;font-size:11.5px;line-height:1.5}.composer textarea:focus{border-color:#7aa5ff;box-shadow:0 0 0 3px #1769ff10}.send-btn{width:42px;height:42px;border:0;border-radius:10px;background:var(--blue);color:white;display:grid;place-items:center}.send-btn:disabled{opacity:.5}.composer-foot{text-align:center;color:#a0adbd;font-size:8.5px;padding:0 10px 8px}.context-card{height:calc(100vh - 142px);min-height:610px;overflow:auto}.source-loading{height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:10.5px}.source-list{margin-top:12px;display:flex;flex-direction:column;gap:8px}.source-item{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fbfcfe}.source-item>span{width:22px;height:22px;border-radius:7px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-size:9.5px;font-weight:700}.source-item strong{font-size:10.5px}.source-item p{font-size:9.5px;line-height:1.55;color:var(--muted);margin:4px 0 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

/* api */
.api-banner{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;background:linear-gradient(110deg,#fff,#f6f9ff)}.api-banner-icon{width:42px;height:42px;border-radius:11px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.api-banner span{font-size:10px;color:var(--muted);display:block}.api-banner code{font-size:12px;display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-card{position:relative;padding:0;overflow:hidden;background:#0f203b;border-color:#0f203b}.code-tabs{height:45px;padding:0 12px;display:flex;align-items:center;gap:4px;border-bottom:1px solid #ffffff14}.code-tabs button{border:0;background:transparent;color:#92a8c7;padding:7px 9px;border-radius:7px;font-size:10.5px}.code-tabs button.active{background:#ffffff12;color:white}.code-model{margin-left:auto;color:#7f97b8;font-size:9.5px}.code-card pre{margin:0;padding:16px 18px 20px;color:#d9e6f7;font-size:10.5px;line-height:1.7;min-height:150px;overflow:auto}.copy-code{position:absolute;right:12px;bottom:10px;border:1px solid #ffffff20;background:#ffffff10;color:#bacce4;border-radius:7px;padding:6px 8px;font-size:9.5px;display:flex;gap:5px;align-items:center}.success-panel{text-align:center}.success-check{width:55px;height:55px;border-radius:50%;background:var(--green-soft);color:var(--green);display:grid;place-items:center;margin:0 auto 12px}.success-panel h3{margin:0 0 5px}.success-panel p{color:var(--muted);font-size:11px}.secret-box{display:flex;align-items:center;gap:8px;background:#0f203b;border-radius:10px;padding:10px 11px;margin-top:14px;text-align:left}.secret-box code{color:#e2ecfa;overflow:auto;flex:1;font-size:10px}.secret-box button{border:0;background:#ffffff14;color:#d5e3f5;border-radius:7px;padding:7px 9px;font-size:10px;display:flex;gap:5px;align-items:center}

/* account */
.account-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:14px}.profile-card{text-align:center}.profile-avatar{width:76px;height:76px;border-radius:23px;background:linear-gradient(145deg,#367cff,#6665e7);color:white;display:grid;place-items:center;font-size:28px;font-weight:750;margin:4px auto 11px}.profile-card h3{margin:0;font-size:16px}.profile-card>p{margin:4px 0 8px;color:var(--muted);font-size:10.5px}.profile-meta{margin-top:18px;border-top:1px solid var(--line);text-align:left}.profile-meta>div{padding:10px 0;border-bottom:1px solid #eef2f6;display:flex;justify-content:space-between;gap:10px}.profile-meta span{font-size:10px;color:var(--muted)}.profile-meta strong,.profile-meta code{font-size:9.5px;max-width:170px;overflow:hidden;text-overflow:ellipsis}

/* modal/toast */
.modal-bg{position:fixed;inset:0;background:#07152e80;backdrop-filter:blur(3px);z-index:100;display:grid;place-items:center;padding:20px}.modal{width:min(660px,100%);max-height:90vh;overflow:auto;background:white;border-radius:16px;box-shadow:var(--shadow2);animation:modalIn .16s ease}.modal.wide{width:min(820px,100%)}@keyframes modalIn{from{opacity:.6;transform:translateY(5px) scale(.99)}to{opacity:1;transform:none}}.modal-head{padding:18px 20px 13px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:16px;margin:0}.modal-head p{font-size:10.5px;color:var(--muted);margin:3px 0 0}.modal-head .icon-btn{font-size:20px}.modal-body{padding:18px 20px 20px}.modal-copy{color:#5f708a;line-height:1.7;font-size:12px;margin:0 0 18px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;align-items:center;gap:9px;background:#122a4f;color:white;border-radius:10px;padding:10px 13px;min-width:210px;max-width:420px;box-shadow:0 15px 45px #001b4545;transform:translateY(12px);opacity:0;transition:.2s;font-size:11.5px}.toast.show{transform:none;opacity:1}.toast>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ffffff18;font-weight:800}.toast.err{background:#862f36}.toast.ok{background:#143a55}


/* Product image upload */
.product-image-editor{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fbfcff}.product-image-preview{width:150px;height:150px;border-radius:10px;background:#eef3fa;overflow:hidden;display:grid;place-items:center;border:1px solid #e1e8f1;grid-row:1 / span 2}.product-image-preview img{width:100%;height:100%;object-fit:cover}.image-placeholder{display:flex;flex-direction:column;align-items:center;gap:7px;color:#8a9ab0;font-size:10.5px}.product-image-drop{min-height:105px;border:1.5px dashed #b7c7dc;border-radius:10px;background:white;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:15px;cursor:pointer;transition:.15s ease;outline:none}.product-image-drop:hover,.product-image-drop:focus,.product-image-drop.drag{border-color:var(--blue);background:#f6f9ff;box-shadow:0 0 0 3px rgba(49,101,245,.07)}.product-image-drop input{display:none}.product-image-drop .drop-icon{width:38px;height:38px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center}.product-image-drop strong{display:block;font-size:11.5px;color:var(--text2)}.product-image-drop span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.product-image-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px}.link-btn{border:0;background:transparent;color:var(--blue);padding:3px 0;font-size:10.5px;cursor:pointer}.link-btn.danger{color:var(--red)}.link-btn:disabled{opacity:.45;cursor:not-allowed}.image-url-fallback{margin-top:8px}.image-url-fallback summary{cursor:pointer;color:#697b96;font-size:10.5px;user-select:none}.image-url-fallback input{margin-top:7px}
@media(max-width:1250px){.service-grid{grid-template-columns:repeat(2,1fr)}.workspace-grid{grid-template-columns:repeat(2,1fr)}.chat-layout{grid-template-columns:minmax(0,1fr) 290px}.toolbar-right{width:100%}.list-toolbar{align-items:flex-start}.metrics-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.shell{grid-template-columns:76px 1fr}.sidebar{padding-inline:8px}.brand{justify-content:center;padding-inline:0}.brand>div:last-child,.nav-label,.nav a span:last-child,.user-chip>div:last-child,.scope-switch,.logout-btn{display:none}.nav a{justify-content:center;padding:10px}.nav-ico{width:auto}.sidebar-bottom{display:flex;justify-content:center}.user-chip{padding:8px}.dashboard-two,.knowledge-layout,.settings-layout,.system-grid,.account-grid{grid-template-columns:1fr}.settings-nav{flex-direction:row;overflow:auto}.settings-nav button{white-space:nowrap}.chat-layout{grid-template-columns:1fr}.context-card{height:auto;min-height:0}.chat-card{height:680px}.user-two{grid-template-columns:1fr}.hero-orb{display:none}.auth-wrap{grid-template-columns:1fr}.auth-hero{display:none}.mobile-brand{display:flex}.auth-panel{min-height:100vh}}
@media(max-width:700px){.product-image-editor{grid-template-columns:1fr}.product-image-preview{width:100%;height:220px;grid-row:auto}.product-image-drop{grid-template-columns:38px 1fr}.product-image-drop .btn{grid-column:1/-1;width:100%}.shell{display:block}.sidebar{height:auto;position:relative;padding:9px}.brand{justify-content:flex-start;padding:3px 8px 8px}.brand>div:last-child{display:block}.nav{display:grid;grid-template-columns:repeat(3,1fr);max-height:132px;overflow:auto}.nav a{justify-content:flex-start;padding:8px}.nav a span:last-child{display:block;font-size:10.5px}.sidebar-bottom{display:none}.topbar{height:58px;padding:0 14px}.top-actions .service-pill,.preview-pill{display:none}.content{padding:16px 12px 40px}.page-head{flex-direction:column}.metrics-grid,.service-grid,.product-summary,.workspace-grid,.grid.cols2{grid-template-columns:1fr 1fr}.dashboard-two{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full,.check-row.full{grid-column:auto}.toolbar-right{flex-wrap:wrap}.search-input{min-width:100%;width:100%}.chat-card{height:650px;min-height:0}.bubble{max-width:85%}.user-hero{padding:22px}.user-hero h2{font-size:23px}.bar-col span{display:none}.api-banner{grid-template-columns:40px 1fr}.api-banner>.btn{grid-column:1/-1}.modal-bg{padding:8px}.modal{max-height:96vh}.account-grid{grid-template-columns:1fr}.auth-panel{padding:22px}.product-summary>div{padding:10px}.product-summary span{display:none}.metrics-grid{gap:8px}.metric{padding:13px;min-height:92px}.metric .value{font-size:21px}.chat-suggestions{display:none}}
@media(max-width:430px){.nav{grid-template-columns:repeat(2,1fr)}.metrics-grid,.service-grid,.product-summary,.workspace-grid,.grid.cols2{grid-template-columns:1fr}.top-kicker{display:none}.topbar h1{font-size:14px}.page-head h2{font-size:20px}.auth-card h2{font-size:25px}}
.btn.danger{color:var(--red);border-color:#efc8c8;background:#fffafa}.btn.danger:hover{background:var(--red-soft);border-color:#e9aaaa}.token-source{display:inline-flex;margin-left:5px;border-radius:999px;padding:2px 6px;font-size:9px;vertical-align:middle}.token-source.exact{background:var(--green-soft);color:#087b4b}.token-source.estimated{background:var(--amber-soft);color:#92620f}.token-source.unavailable{background:#eef2f7;color:#718096}.runtime-group{border:1px solid var(--line);border-radius:12px;padding:14px;margin:0 0 12px;background:#fbfcff}.runtime-group h4{font-size:13px;margin:0 0 4px}.runtime-group>p{font-size:10.5px;color:var(--muted);margin:0 0 12px;line-height:1.55}.tech-key{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#7b8aa1;font-size:9.5px;margin-left:5px;font-weight:400}

/* 0.4.0 UX RED TEAM — simplify hierarchy, increase readability, hide implementation noise */
body{font-size:15px}.shell{grid-template-columns:252px minmax(0,1fr)}.sidebar{padding:20px 14px 16px}.brand{padding:4px 10px 26px}.brand-title{font-size:18px}.brand-sub{font-size:10px}.nav{gap:5px}.nav a{padding:12px 12px;font-size:14px;border-radius:10px}.nav-label{font-size:11px;padding-bottom:10px}.topbar{height:74px;padding:0 30px}.topbar h1{font-size:17px}.content{padding:30px clamp(24px,3vw,48px) 60px;max-width:1540px}.page-head{margin-bottom:22px}.page-head h2{font-size:28px;letter-spacing:-.6px}.page-head p{font-size:14px;max-width:760px}.card{border-radius:16px;padding:22px}.card-head h3,.section-bar h3{font-size:17px}.card-head p,.section-bar p{font-size:13px}.btn{font-size:13.5px;min-height:40px;padding:9px 14px}.btn.small{font-size:12.5px;min-height:32px}.metric{min-height:112px}.metric .label{font-size:13px}.metric .value{font-size:28px}.metric .hint{font-size:12px}.table{font-size:13.5px}.table th{font-size:12px}.table td{padding-top:14px;padding-bottom:14px}.table-sub,.product-cell span,.user-cell span,.file-cell span{font-size:12px}.field label{font-size:13px}.field input,.field textarea,.field select,select{min-height:42px;font-size:13.5px}.help{font-size:11.5px}.modal{border-radius:18px}.modal.wide{width:min(860px,100%)}.modal-head h2{font-size:18px}.modal-body{padding:20px 22px 24px}.modal-copy{font-size:13px}

.content-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}.content-tabs a{display:flex;align-items:center;gap:11px;padding:14px 16px;border:1px solid var(--line);background:#fff;border-radius:13px;text-decoration:none;color:var(--text2);transition:.15s}.content-tabs a:hover{border-color:#c7d5e8;box-shadow:var(--shadow)}.content-tabs a.active{border-color:#9ebeff;background:linear-gradient(180deg,#f7faff,#edf4ff);color:var(--blue);box-shadow:0 7px 22px rgba(23,105,255,.08)}.content-tabs a>span{display:flex;flex-direction:column;min-width:0}.content-tabs b{font-size:14px}.content-tabs small{font-size:11.5px;color:var(--muted);margin-top:2px}.content-tabs a.active small{color:#6785b5}.content-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:12px 14px;border:1px solid #e3eaf4;background:#f9fbfe;border-radius:12px}.content-intro>div{display:flex;align-items:baseline;gap:10px;min-width:0}.content-intro strong{font-size:14px;white-space:nowrap}.content-intro span{font-size:12.5px;color:var(--muted);line-height:1.5}.search-input.grow{flex:1;min-width:260px}.product-summary.simple{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.product-summary.simple>div{padding:13px 16px}.product-summary.simple span{font-size:12px}.product-summary.simple b{font-size:20px}.knowledge-title{display:flex;flex-direction:column;gap:4px}.knowledge-title strong{font-size:14px}.knowledge-title span{font-size:12px;color:var(--muted);max-width:760px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.setup-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(115deg,#fff,#f4f8ff);padding:28px 30px;margin-bottom:12px}.setup-hero h2{font-size:26px;margin:10px 0 6px}.setup-hero p{font-size:14px;color:var(--muted);margin:0;line-height:1.7}.setup-ring{width:88px;height:88px;border-radius:50%;background:#eef3fb;box-shadow:inset 0 0 0 10px white;display:grid;place-items:center;position:relative;flex:0 0 auto}.setup-ring b{font-size:28px;color:var(--blue);line-height:1}.setup-ring span{position:absolute;margin-top:34px;font-size:11px;color:var(--muted)}.setup-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.setup-step{display:grid;grid-template-columns:36px minmax(0,1fr) auto 18px;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;text-decoration:none;min-height:88px;transition:.15s}.setup-step:hover{transform:translateY(-1px);box-shadow:var(--shadow);border-color:#cbd7e8}.setup-step.done{background:#fbfefc}.setup-num{width:32px;height:32px;border-radius:9px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;font-weight:750}.setup-step.done .setup-num{background:var(--green-soft);color:var(--green)}.setup-step strong{display:block;font-size:13.5px}.setup-step span{display:block;font-size:11.5px;color:var(--muted);line-height:1.4;margin-top:3px}.setup-step>b{font-size:11px;color:var(--blue);white-space:nowrap}.setup-step.done>b{color:var(--green)}.metrics-grid.compact .metric{min-height:100px}.quick-create-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-create-grid a{border:1px solid var(--line);border-radius:14px;padding:20px;text-decoration:none;display:flex;flex-direction:column;gap:8px;color:var(--text2);background:#fbfcff}.quick-create-grid a:hover{border-color:#aac4f4;background:#f4f8ff;color:var(--blue)}.quick-create-grid strong{font-size:15px}.quick-create-grid span{font-size:12px;color:var(--muted);line-height:1.5}

.form-section{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid var(--line)}.form-section:last-of-type{border-bottom:0}.form-section>h3{font-size:14px;margin:0 0 12px}.advanced-box{border:1px solid var(--line);border-radius:12px;background:#fafbfd;margin-top:12px}.advanced-box>summary{padding:12px 14px;cursor:pointer;color:#657792;font-size:12.5px;font-weight:650;user-select:none}.advanced-box[open]>summary{border-bottom:1px solid var(--line)}.advanced-box>.form-grid,.advanced-box>.field{padding:14px}.attr-rows{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.attr-row{display:grid;grid-template-columns:minmax(130px,.55fr) minmax(220px,1.45fr) 34px;gap:8px;align-items:center}.attr-row input{min-height:38px;border:1px solid var(--line2);border-radius:9px;padding:8px 10px;background:#fff}.drop-large.drag,.product-image-drop.drag{border-color:var(--blue);background:#f6f9ff}

.upload-explain{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.upload-explain>div{display:flex;align-items:flex-start;gap:8px;border:1px solid var(--line);border-radius:11px;padding:10px;background:#fbfcff;color:#5e708b}.upload-explain strong{display:block;font-size:11.5px;color:var(--text2)}.upload-explain small{display:block;font-size:10.5px;line-height:1.45;margin-top:2px;color:var(--muted)}

.simple-settings{grid-template-columns:190px minmax(0,1fr)}.settings-hero{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.settings-icon{width:44px;height:44px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;flex:0 0 auto}.settings-hero h3{font-size:17px;margin:1px 0 4px}.settings-hero p{font-size:12.5px;color:var(--muted);margin:0}.settings-nav button{font-size:13px;padding:11px 12px}.advanced-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}.advanced-links a,.advanced-link-btn{display:grid;grid-template-columns:22px minmax(0,1fr) 18px;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:12px 13px;text-decoration:none;text-align:left;color:var(--text2);font:inherit}.advanced-link-btn{width:100%;cursor:pointer}.advanced-links a:hover,.advanced-link-btn:hover{border-color:#c5d4e8;background:#fafcff}.advanced-links strong{display:block;font-size:12.5px}.advanced-links small{display:block;font-size:10.5px;color:var(--muted);margin-top:2px}.settings-save{position:sticky;bottom:14px;display:flex;justify-content:flex-end;padding-top:12px}.settings-save .btn{min-width:130px;box-shadow:0 8px 25px rgba(23,105,255,.18)}

.chat-layout.single{grid-template-columns:minmax(0,960px);justify-content:center}.chat-layout.single .chat-card{width:100%}.bubble{font-size:14px;line-height:1.75}.bubble-text{line-height:1.75}.composer textarea{font-size:14px}.chat-suggestions button{font-size:12px}.context-card .card-head h3{font-size:14px}

.integration-details{margin-top:16px}.integration-details>summary{cursor:pointer;color:var(--text2);font-weight:700;font-size:14px;margin-bottom:10px}.integration-details .code-card{margin-top:10px}

@media(max-width:1280px){.setup-list{grid-template-columns:repeat(2,1fr)}.upload-explain{grid-template-columns:1fr}.advanced-links{grid-template-columns:1fr}.content{padding-left:26px;padding-right:26px}}
@media(max-width:980px){.shell{grid-template-columns:78px 1fr}.content-tabs{grid-template-columns:1fr 1fr 1fr}.setup-list{grid-template-columns:1fr 1fr}.simple-settings{grid-template-columns:1fr}.settings-nav{display:flex}.advanced-links{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.content-tabs{grid-template-columns:1fr}.content-tabs small{display:none}.setup-list{grid-template-columns:1fr}.setup-hero{padding:20px}.setup-ring{width:72px;height:72px}.quick-create-grid{grid-template-columns:1fr}.product-summary.simple{grid-template-columns:repeat(3,1fr)}.content-intro{align-items:flex-start;flex-direction:column}.content-intro>div{align-items:flex-start;flex-direction:column;gap:4px}.attr-row{grid-template-columns:1fr 1fr 34px}.advanced-links{grid-template-columns:1fr}.topbar{padding:0 14px}.content{padding:18px 12px 40px}.page-head h2{font-size:23px}.page-head p{font-size:13px}}
