#ideModelSetup{width:min(620px,calc(100% - 26px));max-height:93dvh;overflow:auto;border:1px solid #dce4ef;border-radius:19px;padding:0;box-shadow:0 25px 100px #223c6380;background:#fff;color:#263b57;font:13px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;overscroll-behavior:contain}#ideModelSetup::backdrop{background:#10274880}#ideModelSetup *{box-sizing:border-box}#ideModelSetup .dialog-body{padding:clamp(15px,2vw,24px)}#ideModelSetup .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}#ideModelSetup .dialog-head small{color:#2387ee;letter-spacing:1.6px;font-size:10px;font-weight:800}#ideModelSetup .dialog-head h2{font-size:22px;margin:6px 0 0;letter-spacing:-.5px}#ideModelSetup .icon-btn{background:#fff;border:1px solid #dce4ef;border-radius:9px;min-height:36px;min-width:36px;font-size:21px;color:#526887}#ideModelSetup .btn{display:inline-flex;justify-content:center;align-items:center;border:1px solid #d8e5f4;border-radius:9px;padding:10px 12px;font:700 12px/1.3 system-ui;cursor:pointer;background:#fff;color:#26517e;max-width:100%}#ideModelSetup .btn.primary{background:#267fe9;color:#fff;border-color:#267fe9}#ideModelSetup .btn.danger{background:#b53e43;color:#fff;border-color:#b53e43}#ideModelSetup .btn:disabled{opacity:.55;cursor:not-allowed}#ideModelSetup .field-label{display:block;font-size:12px;font-weight:760;margin:19px 0 7px}#ideModelSetup select{width:100%;border:1px solid #dce6f6;border-radius:9px;padding:12px;background:#fff;color:#263b57}#ideModelSetup .setting-caption{font-size:11px;line-height:1.6;color:#71849e}#ideModelSetup .resource-refresh-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#ideModelSetup .resource-refresh-actions .btn{min-height:39px;white-space:normal}#ideModelSetup .resource-meter{height:12px;border-radius:999px;background:#e3eaf4;overflow:hidden;border:1px solid #d7e1ef}#ideModelSetup .resource-meter span{height:100%;display:block;width:0;background:linear-gradient(90deg,#55b7ee,#2f76ed)}#ideModelSetup .resource-meter.resource-unknown{background:repeating-linear-gradient(115deg,#e8edf5 0,#e8edf5 10px,#f6f8fc 10px,#f6f8fc 20px)}#ideModelSetup .resource-meter.resource-unknown span{display:none}#ideModelSetup .model-bulk-clean .recovery-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}#ideModelSetup .model-bulk-clean .recovery-actions .btn{width:100%;min-height:39px}#ideModelSetup .dialog-actions{position:sticky;bottom:0;background:#fff;z-index:4;border:1px solid #e0e9f8;border-radius:12px;padding:7px;box-shadow:0 -8px 28px #1b3b6c21;display:flex;flex-wrap:wrap;gap:8px}#ideModelSetup .dialog-actions #ide-connect-model{flex:1 1 100%;min-height:45px;font-size:14px;order:-1}#ideModelSetup .dialog-actions #ide-check-device{display:none}#ideModelSetup .dialog-actions #ide-unload-model{display:none}#ideModelSetup .model-download-help{border:1px solid #d4e6fc;background:#f3f8ff;padding:10px 12px;border-radius:10px;margin:12px 0;font-size:12px}#ideModelSetup .model-download-help summary{cursor:pointer;font-weight:750;color:#1d64b3}#ideModelSetup .model-bulk-clean{border:1px solid #cfe0f3;background:#f4f9ff;border-radius:14px;margin:9px 0 14px;padding:13px 14px}#ideModelSetup .model-bulk-clean h3{font-size:15px;margin:4px 0 6px}#ideModelSetup .model-bulk-clean small{font-size:10px;letter-spacing:.07em;font-weight:750;color:#246aaf}#ideModelSetup .model-bulk-clean .setting-caption{margin:7px 0}#ideModelSetup .model-disclosure{display:flex;gap:13px;background:#f0f6ff;border:1px solid #deebfc;border-radius:13px;margin:18px 0 13px;padding:14px;color:#235189}#ideModelSetup .model-disclosure>span{display:grid;place-items:center;flex:none;background:#dceaff;border-radius:10px;width:38px;height:38px;font-size:24px}#ideModelSetup .model-disclosure strong{display:block;font-size:13px}#ideModelSetup .model-disclosure p{font-size:11px;color:#6680a3;margin:4px 0 0}#ideModelSetup .setup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0 0 16px;padding:0;gap:6px}#ideModelSetup .setup-steps li{font-size:10px;text-align:center;color:#8493ab;padding:10px 3px;border:1px solid #e7eaf0;border-radius:8px;background:#fafbfd}#ideModelSetup .setup-steps li.active{border-color:#83b0ff;background:#eaf3ff;color:#195dc1;font-weight:750}#ideModelSetup .setup-steps li.done{border-color:#bee6d6;background:#f0fbf7;color:#23735d}#ideModelSetup .model-resources{background:#f7faff;border:1px solid #dce7f6;border-radius:14px;padding:15px;margin:14px 0 12px;display:grid;gap:12px}#ideModelSetup .resource-heading{display:flex;justify-content:space-between;gap:10px;align-items:baseline}#ideModelSetup .resource-heading h3{font-size:13px;margin:0}#ideModelSetup .resource-hint,#ideModelSetup .resource-note{font-size:10px;color:#7a8da6}#ideModelSetup .resource-label{display:flex;justify-content:space-between;gap:8px;font-size:11px}#ideModelSetup .progress-wrap{border:1px solid #d9e7ff;background:#f6faff;padding:15px;border-radius:12px;font-size:11px}#ideModelSetup .progress-track{height:9px;background:#e2edf9;border-radius:9px;overflow:hidden}#ideModelSetup .progress-track div{height:100%;width:0;background:linear-gradient(90deg,#37b9f2,#2181ed)}#ideModelSetup .progress-status{display:flex;gap:8px;align-items:center;justify-content:space-between}#ideModelSetup .capability{padding:12px;border-radius:9px;background:#f3f8ff;color:#50759e;font-size:12px;margin:15px 0}#ideModelSetup .ide-model-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px;color:#71849e;font-size:11px}#ideModelSetup .model-description{font-size:11px;color:#71849e;margin:8px 0}#ideModelSetup button:focus-visible,#ideModelSetup select:focus-visible{outline:3px solid #73b4ff;outline-offset:2px}#ide-bulk-cache-confirm{border:1px solid #dce4ef;border-radius:17px;padding:24px;width:min(510px,calc(100% - 25px));background:#fff;color:#253b59}#ide-bulk-cache-confirm::backdrop{background:#10274880}#ide-bulk-cache-confirm .dialog-head{display:flex;justify-content:space-between;align-items:center}#ide-bulk-cache-confirm .dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}#ide-bulk-cache-confirm button{border:1px solid #d7e2f0;border-radius:9px;padding:9px 12px;cursor:pointer;background:#fff;color:#275b90}#ide-bulk-cache-confirm button.danger{background:#b53e43;color:#fff}#ide-bulk-cache-confirm button:disabled{opacity:.5}@media(max-width:500px){#ideModelSetup .resource-refresh-actions{grid-template-columns:1fr}#ideModelSetup .setup-steps{gap:3px}#ideModelSetup .setup-steps li{font-size:9px;padding:8px 2px}#ideModelSetup .dialog-head h2{font-size:19px}}@media(prefers-reduced-motion:reduce){#ideModelSetup *{scroll-behavior:auto!important;transition:none!important}}#ideModelSetup .btn{border:1px solid #e0e7f3;background:#fff;color:#425571;border-radius:9px;padding:10px 14px;font-size:12px;font-weight:730;transition:background .16s,transform .16s;white-space:nowrap}#ideModelSetup .btn:not(:disabled):hover{background:#eff5fd}#ideModelSetup .btn.primary{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 4px 12px #298cff32}#ideModelSetup .btn.primary:not(:disabled):hover{background:#0f6ed9}#ideModelSetup .btn.danger{color:#ba384b;background:#fff4f5;border-color:#ffd9df}#ideModelSetup .btn.stop{background:#fef2f2;color:#be334d;border-color:#f9d0d7}#ideModelSetup .btn.full{width:100%}#ideModelSetup .icon-btn{border:0;background:0 0;border-radius:9px;color:#75859e;font-size:20px;min-width:34px;min-height:34px;display:inline-grid;place-items:center}#ideModelSetup .icon-btn:hover{background:#eaf2fc;color:#3578c5}#ideModelSetup .send-btn{width:33px;height:33px;border:0;color:#fff;background:var(--blue);border-radius:9px;font-weight:800;font-size:22px}#ideModelSetup .send-btn:not(:disabled):hover{background:var(--blue2)}.ide-model-setup{border:1px solid var(--line);width:min(520px,calc(100% - 30px));max-height:calc(100dvh - 28px);overflow:auto;border-radius:18px;box-shadow:0 25px 100px #223c6380;padding:0}.ide-model-setup::backdrop{background:#10274880}#ideModelSetup .dialog-body{padding:26px}#ideModelSetup .dialog-head{display:flex;justify-content:space-between;align-items:center}#ideModelSetup .dialog-head small{color:#2387ee;letter-spacing:1.6px;font-size:10px;font-weight:800}#ideModelSetup .dialog-head h2{margin:6px 0 0;font-size:23px;letter-spacing:-.5px}#ideModelSetup .dialog-copy,#ideModelSetup .privacy-note,#ideModelSetup .setting-caption{font-size:12px;line-height:1.7;color:#7e8da3}#ideModelSetup .field-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:760;margin:22px 0 8px}#ideModelSetup .dialog-body select{border:1px solid #dce6f6;border-radius:9px;padding:12px;background:#fff;width:100%;color:#263b57}#ideModelSetup .model-description{font-size:12px;color:#71849e;margin-top:9px;line-height:1.6}#ideModelSetup .capability{border-radius:9px;background:#f3f8ff;padding:12px;color:#50759e;font-size:12px;margin:15px 0;line-height:1.6}#ideModelSetup .capability.warn{background:#fff6e7;color:#9c6e34}#ideModelSetup .progress-track{height:9px;border-radius:9px;background:#e2edf9;overflow:hidden}#ideModelSetup .progress-track>div{height:100%;width:0;background:linear-gradient(90deg,#37b9f2,#2181ed);transition:width .2s}#ideModelSetup .progress-wrap{margin:15px 0;font-size:11px;color:#7e8da2}#ideModelSetup .progress-wrap #progress-label{margin-top:7px}#ideModelSetup .backup-controls,#ideModelSetup .dialog-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}#ideModelSetup .dialog-body hr{border:0;border-top:1px solid var(--line);margin:20px 0}#ideModelSetup #context-dialog{width:min(760px,calc(100% - 24px))}#ideModelSetup .conversation-actions .icon-btn{font-size:18px}#ideModelSetup .send-btn{width:36px;height:36px;border-radius:11px}#ideModelSetup .dialog-body{padding:25px}#ideModelSetup .dialog-head h2{font-size:22px}#ideModelSetup .model-disclosure{display:flex;gap:13px;background:#f0f6ff;border:1px solid #deebfc;border-radius:13px;margin:18px 0 13px;padding:14px;color:#235189}#ideModelSetup .model-disclosure>span{display:grid;place-items:center;flex:none;font-size:24px;border-radius:10px;background:#dceaff;width:38px;height:38px}#ideModelSetup .model-disclosure strong{display:block;font-size:13px;line-height:1.4}#ideModelSetup .model-disclosure p{font-size:11px;line-height:1.6;margin:4px 0 0;color:#6680a3}#ideModelSetup .setup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;margin:0 0 16px;padding:0;gap:6px}#ideModelSetup .setup-steps li{font-size:10px;line-height:1.3;text-align:center;color:#8493ab;padding:10px 3px;border:1px solid #e7eaf0;border-radius:8px;background:#fafbfd}#ideModelSetup .setup-steps li.active{border-color:#83b0ff;background:#eaf3ff;color:#195dc1;font-weight:750}#ideModelSetup .setup-steps li.done{color:#23735d;background:#f0fbf7;border-color:#bee6d6}#ideModelSetup .progress-wrap{padding:15px;border:1px solid #d9e7ff;background:#f6faff;border-radius:12px;margin:14px 0}#ideModelSetup .progress-status{display:flex;align-items:center;gap:10px;color:#285b9c;margin-bottom:11px;font-size:12px}#ideModelSetup .progress-status strong{flex:1;min-width:0}#ideModelSetup .progress-status>span:last-child{font-weight:750;white-space:nowrap}#ideModelSetup .progress-track{height:8px;background:#dce9fb}#ideModelSetup .progress-track>div.indeterminate{animation:pkIndeterminate 1.5s ease-in-out infinite}#ideModelSetup .progress-hint{margin:9px 0 0;font-size:10px;color:#6986a9}#ideModelSetup .ai-chat-v5 .side-quick-actions .btn{font-size:11px;padding:9px 5px;min-width:0;white-space:normal;line-height:1.4}#ideModelSetup .ai-chat-v5 #project-instructions,#ideModelSetup .ai-chat-v5 .dialog-input{border:1px solid #dce6f6;border-radius:9px;padding:11px;background:#fff;width:100%;color:#243b55}#ideModelSetup .ai-chat-v5 .dialog-body .mini-action{padding:7px 10px}#ideModelSetup .ai-chat-v5 .project-knowledge .setting-caption{margin:6px 0 12px}#ideModelSetup .ai-chat-v5 .model-live{border:1px solid #dce9f8;background:#f9fcff;border-radius:11px;padding:13px;margin:12px 0;display:grid;gap:5px}#ideModelSetup .ai-chat-v5 .model-live strong{font-size:12px;color:#315d91}#ideModelSetup .ai-chat-v5 #model-live-name{font-size:13px;font-weight:750}#ideModelSetup .ai-chat-v5 #model-live-memory{font-size:11px;color:#7a8ca5}#ideModelSetup .ai-chat-v5 .model-live button{justify-self:start;margin-top:5px}#ideModelSetup .ai-chat-v5 .workbench-approval .btn{font-size:12px}#ideModelSetup .ai-chat-v6 .workspace-buttons .btn{padding:8px 10px;font-size:11px}#ideModelSetup .ai-chat-v6 .conversation-actions .icon-btn{min-width:32px;min-height:32px}#ideModelSetup .ai-chat-v6 .send-btn{flex:0 0 38px;order:20;width:38px;height:38px;border-radius:12px;font-size:21px;background:#2563eb}#ideModelSetup .ai-chat-v6 .send-btn:disabled{opacity:.38}#ideModelSetup body.ai-chat-v7 .workspace-buttons .btn{border-radius:10px}#ideModelSetup body.ai-chat-v7 .send-btn{border-radius:50%;height:38px;width:38px;flex-basis:38px;transition:transform .16s ease,box-shadow .16s ease}#ideModelSetup body.ai-chat-v7 .send-btn:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 16px #2763da50}#ideModelSetup .recovery-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 10px}#ideModelSetup .recovery-actions .btn{min-height:38px}#ideModelSetup .cache-confirm-dialog{max-width:min(520px,calc(100vw - 24px));width:100%}#ideModelSetup .cache-confirm-check{display:flex;align-items:flex-start;gap:10px;margin:15px 0;line-height:1.5;font-size:14px}#ideModelSetup .cache-confirm-check input{margin-top:4px;accent-color:#2563eb}#ideModelSetup .model-bulk-clean{border:1px solid var(--line,#dae4ee);background:var(--panel,#f8fafc);border-radius:14px;margin:14px 0;padding:16px}#ideModelSetup .model-bulk-clean h3{font-size:17px;margin:5px 0 10px;line-height:1.3}#ideModelSetup .model-bulk-clean .bulk-cache-header small{font-size:10px;letter-spacing:.07em;font-weight:750;color:#246aaf}#ideModelSetup .model-bulk-clean p{line-height:1.6;overflow-wrap:anywhere}#ideModelSetup .model-bulk-clean .btn.danger{border-color:#b53e43;color:#fff;background:#b53e43}#ideModelSetup .model-bulk-clean .btn.danger:hover{background:#9f3036}#ideModelSetup .dialog-body{padding:clamp(15px,2vw,24px)}#ideModelSetup .model-resources{background:#f7faff;border:1px solid #dce7f6;border-radius:14px;margin:14px 0 12px;padding:15px;display:grid;gap:12px}#ideModelSetup .resource-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}#ideModelSetup .resource-heading h3{margin:0;font-size:14px;font-weight:760;color:#274466}#ideModelSetup .resource-hint,#ideModelSetup .resource-note{font-size:11px;line-height:1.5;color:#73819a;margin:0}#ideModelSetup .resource-item{display:grid;gap:7px}#ideModelSetup .resource-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:11px;color:#375475}#ideModelSetup .resource-label strong{font-size:11px}#ideModelSetup .resource-label span{font-size:11px;font-weight:680;color:#2b639f}#ideModelSetup .resource-meter{height:12px;border-radius:999px;background:#e3eaf4;overflow:hidden;border:1px solid #d7e1ef}#ideModelSetup .resource-meter span{display:block;background:linear-gradient(90deg,#55b7ee,#2f76ed);height:100%;width:0;transition:width .2s ease}#ideModelSetup .resource-meter.resource-unknown{background:repeating-linear-gradient(115deg,#e8edf5 0,#e8edf5 10px,#f6f8fc 10px,#f6f8fc 20px)}#ideModelSetup .resource-meter.resource-unknown span{display:none}#ideModelSetup .resource-refresh-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}#ideModelSetup .resource-refresh-actions .btn{white-space:normal;min-height:38px;padding:9px 10px;text-align:center}#ideModelSetup .dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}#ideModelSetup .dialog-actions #connect-model{flex:1 1 190px;order:-1;min-height:46px;font-size:14px;font-weight:760;box-shadow:0 5px 18px #367eed29}#ideModelSetup .dialog-actions #cancel-load{background:#fff0f0;color:#a72e40}#ideModelSetup .model-download-help{padding:10px 12px;margin:10px 0 14px;background:#f3f8ff;border:1px solid #d4e6fc;border-radius:10px;font-size:12px;line-height:1.65;color:#405c7c}#ideModelSetup .model-download-help summary{cursor:pointer;font-weight:750;color:#1d64b3}#ideModelSetup .model-download-help p{margin:8px 0}#ideModelSetup .model-download-help .btn{white-space:normal}#ideModelSetup .send-btn.needs-model:not(:disabled){background:#367cee;color:#fff;opacity:1;cursor:pointer}#ideModelSetup .send-btn.needs-model:not(:disabled):hover{filter:brightness(.93)}#ideModelSetup .dialog-actions #connect-model{flex:1 1 100%;order:1}#ideModelSetup .dialog-actions #cancel-load{order:2}#ideModelSetup .model-bulk-clean{margin:9px 0 14px;padding:13px 14px;border-color:#cfe0f3;background:#f4f9ff}#ideModelSetup .model-bulk-clean h3{font-size:15px;margin:4px 0 6px}#ideModelSetup .model-bulk-clean .setting-caption{margin:7px 0;font-size:11px;line-height:1.55}#ideModelSetup .model-bulk-clean .recovery-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:10px}#ideModelSetup .model-bulk-clean .recovery-actions .btn{width:100%;min-height:39px;white-space:normal}#ideModelSetup .model-bulk-clean #bulk-cache-status{margin-top:9px}#ideModelSetup .dark-theme #settings .model-bulk-clean{background:#192f48;border-color:#3a5577}#ide-bulk-cache-confirm [hidden],#ideModelSetup [hidden]{display:none!important}