:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#16202a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#eef3f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{border:0}.shell{grid-template-rows:auto auto auto auto minmax(420px,1fr) minmax(280px,34vh);gap:16px;min-height:100vh;padding:18px;display:grid}.loginShell{place-items:center;min-height:100vh;padding:18px;display:grid}.loginPanel{background:#ffffffe6;border:1px solid #d6dee3;border-radius:8px;gap:22px;width:min(420px,100%);padding:22px;display:grid;box-shadow:0 18px 50px #10202b1a}.loginBrand{align-items:center;gap:12px;display:flex}.loginBrand h1{font-size:25px;line-height:1.1}.loginBrand p{color:#5d6873;margin-top:4px;font-size:14px}.loginForm{gap:14px;display:grid}.loginForm label{color:#33404c;gap:7px;font-size:13px;display:grid}.inputWrap{background:#fbfdfd;border:1px solid #d6dee3;border-radius:8px;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:9px;height:44px;padding:0 12px;display:grid}.inputWrap:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.inputWrap svg{color:#66727d}.inputWrap input{color:#16202a;background:0 0;border:0;outline:0;min-width:0}.loginError{color:#7f1d1d;background:#fff1f0;border:1px solid #f0b9b3;border-radius:8px;padding:10px 12px;font-size:13px}.loginButton{min-height:48px}.topbar,.projectBar,.memoryBar,.composer,.officeFloor,.sidePanel,.transcript{background:#ffffffd1;border:1px solid #d6dee3;box-shadow:0 18px 50px #10202b14}.topbar{border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:78px;padding:14px 16px;display:flex}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brandMark{color:#fff;background:#17212f;border-radius:8px;place-items:center;width:46px;height:46px;display:grid}h1,h2,h3,p{margin:0}.brand h1{letter-spacing:0;font-size:24px;line-height:1.1}.brand p{color:#5d6873;white-space:nowrap;text-overflow:ellipsis;max-width:920px;margin-top:4px;font-size:14px;overflow:hidden}.toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.connection{color:#33404c;text-transform:uppercase;background:#f7faf9;border:1px solid #d6dee3;border-radius:8px;align-items:center;gap:8px;height:38px;padding:0 12px;font-size:13px;display:inline-flex}.modelBadge{color:#17324d;background:#eef6ff;border:1px solid #c8d3d9;border-radius:8px;align-items:center;gap:8px;max-width:260px;min-height:38px;padding:0 12px;font-size:13px;display:inline-flex}.modelBadge span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pulse{background:#9ca3af;border-radius:50%;width:9px;height:9px}.pulse.open{background:#16a34a;box-shadow:0 0 0 4px #16a34a24}.pulse.closed{background:#dc2626}.segmented{background:#e7eef0;border:1px solid #d6dee3;border-radius:8px;grid-template-columns:1fr 1fr;height:38px;padding:3px;display:inline-grid}.segmented button{color:#52606b;cursor:pointer;background:0 0;border-radius:6px;min-width:74px;padding:0 12px}.segmented .selected{color:#111827;background:#fff;box-shadow:0 5px 16px #1227341f}.projectBar{border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:74px;padding:12px 16px;display:flex}.projectSelector{flex:1;grid-template-columns:minmax(220px,320px) minmax(0,1fr);align-items:end;gap:14px;min-width:0;display:grid}.projectSelector label,.projectForm label{color:#33404c;gap:7px;min-width:0;font-size:13px;display:grid}.projectSelector select,.projectForm input,.projectForm select,.projectForm textarea{color:#16202a;background:#fbfdfd;border:1px solid #d6dee3;border-radius:8px;outline:none;width:100%;min-width:0}.projectSelector select,.projectForm input,.projectForm select{height:42px;padding:0 11px}.projectForm textarea{resize:vertical;min-height:220px;padding:12px;line-height:1.48}.projectSelector select:focus,.projectForm input:focus,.projectForm select:focus,.projectForm textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.projectPath{color:#52606b;background:#f7faf9;border:1px solid #d6dee3;border-radius:8px;align-items:center;gap:8px;min-width:0;height:42px;padding:0 12px;font-size:13px;display:flex}.projectPath svg{color:#2f7c7a;flex:none}.projectPath span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.projectActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.projectError{color:#b42318;max-width:360px;font-size:13px}.secondaryButton{color:#17212f;cursor:pointer;background:#fff;border:1px solid #c8d3d9;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;display:inline-flex}.secondaryButton:hover{background:#f7faf9;border-color:#aebdc6}.secondaryButton:disabled{cursor:not-allowed;color:#7d8a94;background:#edf2f4}.memoryBar{background:#eef5f3;border-radius:8px;grid-template-columns:minmax(0,1fr) auto minmax(180px,300px);align-items:center;gap:14px;min-height:72px;padding:12px 16px;display:grid}.memorySummary{gap:6px;min-width:0;display:grid}.memoryTitle{color:#183d3c;align-items:center;gap:7px;font-size:13px;font-weight:700;display:inline-flex}.memoryTitle svg{color:#2f7c7a}.memorySummary p,.memoryDetails p{color:#52606b;min-width:0;margin:0;font-size:13px;line-height:1.42}.memoryStats{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.memoryStats span{color:#24423f;background:#fbfdfd;border:1px solid #c8dcd6;border-radius:7px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;display:inline-flex}.memoryDetails{color:#33404c;min-width:0;font-size:13px}.memoryDetails summary{cursor:pointer;font-weight:700}.memoryDetails div{gap:4px;margin-top:8px;display:grid}.composer{border-radius:8px;grid-template-columns:minmax(0,1fr) 160px;gap:12px;padding:12px;display:grid}.composer textarea{resize:vertical;color:#16202a;background:#fbfdfd;border:1px solid #d6dee3;border-radius:8px;outline:none;width:100%;min-height:82px;padding:13px 14px}.composer textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.primaryButton{color:#fff;cursor:pointer;background:#17212f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:82px;display:inline-flex}.primaryButton:disabled{cursor:not-allowed;background:#87939c}.iconButton{color:#33404c;cursor:pointer;background:#f7faf9;border:1px solid #d6dee3;border-radius:8px;place-items:center;width:38px;height:38px;display:inline-grid}.iconButton:hover{color:#111827;background:#fff}.workspace{grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:16px;min-height:0;display:grid}.officeFloor,.sidePanel,.transcript{border-radius:8px;min-width:0}.officeFloor{grid-template-rows:auto minmax(0,1fr);padding:16px;display:grid;overflow:hidden}.floorHeader,.panelHeader{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.floorHeader h2,.panelHeader h2{letter-spacing:0;font-size:16px}.floorHeader span,.panelHeader span{color:#66727d;font-size:13px}.desks{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-content:start;gap:14px;min-height:0;padding-right:4px;display:grid;overflow:auto}.desk{border:1px solid #dbe3e8;border-top:4px solid var(--accent);background:#fbfdfd;border-radius:8px;grid-template-rows:auto auto auto minmax(54px,1fr) 18px;gap:12px;min-height:210px;padding:14px;display:grid}.desk.coreDesk{background:#fff;box-shadow:0 10px 24px #12273412}.desk.plannedDesk{border-color:color-mix(in srgb, var(--accent) 38%, #dbe3e8);background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, white), #fff 58%)}.desk header{grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}.avatar{width:38px;height:38px;color:var(--accent);background:color-mix(in srgb, var(--accent) 11%, white);border-radius:8px;place-items:center;display:grid}.desk h3{font-size:15px;line-height:1.1}.desk p,.lastMessage{color:#66727d;min-width:0;font-size:13px;line-height:1.45}.deskCode{color:#7d8a94;font-size:12px}.statusRow{color:#33404c;background:#eef4f5;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;height:28px;padding:0 9px;font-size:12px;display:flex}.roleMeta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.roleMeta span{color:#42505c;background:#f4f8f8;border:1px solid #d7e0e5;border-radius:7px;align-items:center;min-height:24px;padding:0 8px;font-size:12px;display:inline-flex}.coreDesk .roleMeta span:last-child{color:#0f3f35;background:#e4f6ef;border-color:#b8e1d1}.plannedDesk .roleMeta span:last-child{color:#112f45;background:#dff0fb;border-color:#9cc9e7}.desk.running .statusRow{color:#0f3f35;background:#dff3ec}.desk.complete .statusRow{color:#25451d;background:#e5f3d8}.desk.failed .statusRow{color:#6b1111;background:#f8dfdc}.lastMessage{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.desk time{color:#7d8a94;font-size:12px}.sidePanel{grid-template-rows:auto auto auto minmax(0,1fr);min-height:0;padding:16px;display:grid}.mergeGate{background:#fff;border:1px solid #c8d3d9;border-left:4px solid #64748b;border-radius:8px;gap:10px;margin-bottom:12px;padding:12px;display:grid}.mergeGate.open{border-left-color:#2563eb}.mergeGate.ready{border-left-color:#15803d}.mergeGate.merged{background:#f0fdfa;border-left-color:#0f766e}.mergeGate.empty{border-left-color:#7d8a94}.mergeGate.failed,.mergeGate.disabled{background:#fff8f7;border-left-color:#dc2626}.mergeGate header{justify-content:space-between;align-items:center;gap:10px;display:flex}.mergeGate header div{gap:3px;min-width:0;display:grid}.mergeGate header span,.gateMeta span,.gateMessage{color:#66727d;font-size:12px}.mergeGate header strong{color:#17212f;font-size:14px}.mergeGate p{color:#40505d;font-size:13px;line-height:1.45}.gateMeta{gap:4px;min-width:0;display:grid}.gateMeta code{white-space:nowrap;color:#253242;min-width:0;font-size:12px;overflow:auto}.mergeGate details{gap:8px;display:grid}.mergeGate summary{color:#253242;cursor:pointer;font-size:13px}.mergeGate pre{white-space:pre-wrap;word-break:break-word;color:#40505d;max-height:120px;margin:8px 0 0;font-size:12px;line-height:1.45;overflow:auto}.mergeButton{color:#fff;cursor:pointer;background:#15803d;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.mergeButton:disabled{cursor:not-allowed;background:#8fb79d}.resultGuide{background:#f7faf9;border:1px solid #cbd8de;border-radius:8px;gap:10px;margin-bottom:12px;padding:12px;display:grid}.resultGuide header{color:#17212f;justify-content:space-between;align-items:center;gap:10px;display:flex}.resultGuide strong{font-size:14px}.resultGuide ol{color:#40505d;gap:7px;margin:0;padding-left:18px;font-size:13px;line-height:1.45;display:grid}.resultGuide code{vertical-align:bottom;white-space:nowrap;color:#17212f;max-width:100%;display:inline-block;overflow:auto}.artifactList{align-content:start;gap:10px;min-height:0;padding-right:4px;display:grid;overflow:auto}.artifact{background:#fbfdfd;border:1px solid #dbe3e8;border-radius:8px;padding:12px}.artifact header{color:#273340;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:8px;display:grid}.artifact strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.artifact pre{white-space:pre-wrap;word-break:break-word;color:#40505d;max-height:130px;margin:10px 0 0;font-size:12px;line-height:1.45;overflow:auto}.transcript{grid-template-rows:auto minmax(0,1fr);min-height:0;padding:16px;display:grid}.messageStream{align-content:start;gap:12px;min-height:0;padding-right:4px;display:grid;overflow:auto}.bubble{border-left:4px solid var(--accent);background:#fbfdfd;border-radius:8px;padding:12px 14px}.bubble.error{background:#fff1f0;border-left-color:#dc2626}.bubble header{align-items:center;gap:10px;margin-bottom:7px;display:flex}.bubble strong{font-size:13px}.bubble span,.bubble time{color:#66727d;font-size:12px}.bubble p{color:#202b36;font-size:14px;line-height:1.55}.emptyState{color:#71808a;background:#f7faf9;border:1px dashed #cbd8de;border-radius:8px;align-content:center;place-items:center;gap:8px;min-height:96px;font-size:13px;display:grid}.emptyState.wide{min-height:170px}.modalBackdrop{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a6b;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.projectModal{background:#fff;border:1px solid #c8d3d9;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(980px,100%);max-height:min(860px,100vh - 40px);display:grid;overflow:hidden;box-shadow:0 28px 80px #0f172a3d}.projectModal>header{border-bottom:1px solid #e2e8ec;justify-content:space-between;align-items:center;gap:12px;min-height:70px;padding:16px 18px;display:flex}.projectModal h2{font-size:18px}.projectModal p{color:#66727d;margin-top:4px;font-size:13px}.projectForm{gap:16px;min-height:0;padding:18px;display:grid;overflow:auto}.formGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.commandsGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.rulesField{min-height:0}.projectForm footer{justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.saveButton{min-height:42px;padding:0 16px}@media (width<=980px){.shell{grid-template-rows:auto auto auto auto auto minmax(320px,40vh);padding:12px}.topbar,.projectBar,.memoryBar,.composer{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.projectSelector{grid-template-columns:1fr}.projectActions{justify-content:space-between}.memoryStats{justify-content:flex-start}.brand p{white-space:normal}.toolbar{justify-content:space-between}.composer{grid-template-columns:1fr}.primaryButton{min-height:48px}.workspace{grid-template-columns:1fr}.sidePanel{min-height:420px}.desks,.commandsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.desks{grid-template-columns:1fr}.brand h1{font-size:21px}.toolbar{align-items:stretch}.connection,.segmented,.modelBadge{width:100%;max-width:none}.projectForm{padding:14px}.formGrid,.commandsGrid{grid-template-columns:1fr}.projectForm footer{flex-direction:column-reverse;align-items:stretch}.secondaryButton,.saveButton{width:100%}}
