:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#111317;color:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#171717}button,input,textarea{font:inherit}button{border:0}.appShell{display:grid;grid-template-columns:minmax(240px,280px) minmax(420px,1fr) minmax(320px,380px);gap:0;min-height:100vh;padding:0}.sidebar,.chatWorkspace,.inspector{min-width:0}.sidebar,.inspector{border:1px solid rgba(255,255,255,.09);background:#1b1c1c;border-radius:0}.sidebar{display:flex;flex-direction:column;gap:18px;padding:18px}.brandBlock,.sectionTitle,.inspectorHeader,.messageMeta,.headerActions,.toolActions,.statusPill,.iconTextButton,.primaryButton,.secondaryButton,.notice,.fieldTitle,.toolRow{display:flex;align-items:center}.brandBlock{gap:12px}.brandMark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;color:#ecfeff;background:linear-gradient(135deg,#0891b2,#0f766e);flex:0 0 auto}.eyebrow{margin:0 0 4px;color:#9ca3af;font-size:.76rem;text-transform:uppercase}h1,h2,p{margin-top:0}h1,h2{margin-bottom:0;line-height:1.1}h1{font-size:1.45rem}h2{font-size:1.35rem}.statusStack{display:flex;gap:8px;flex-wrap:wrap}.statusPill{gap:6px;padding:7px 9px;border-radius:999px;font-size:.82rem;white-space:nowrap}.statusPill.ready{color:#d1fae5;background:#10b98124}.statusPill.warning{color:#fed7aa;background:#f9731621}.statusPill.idle{color:#bfdbfe;background:#3b82f61f}.sidebarSection{border-top:1px solid rgba(255,255,255,.08);padding-top:14px}.sidebarSection.subtle{color:#cbd5e1;line-height:1.5}.sectionTitle{gap:8px;margin-bottom:12px;color:#f8fafc;font-weight:700}.mutedLabel,.mutedText{color:#94a3b8;font-size:.86rem}.mutedLabel{margin-bottom:4px}.monoLine{margin-bottom:12px;color:#dbeafe;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.84rem;overflow-wrap:anywhere}.chatWorkspace{display:flex;flex-direction:column;height:100vh;min-height:500px;border-radius:0;background:#212222;border:1px solid rgba(255,255,255,.09);overflow:hidden}.workspaceHeader{display:flex;justify-content:space-between;gap:16px;padding:18px 18px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.headerActions{gap:8px}.iconButton{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;color:#e5e7eb;background:#343737;cursor:pointer}.iconButton:disabled{cursor:not-allowed;opacity:.45}.messageList{flex:1;min-height:0;overflow-y:auto;padding:18px}.messageBubble{max-width:860px;margin-bottom:14px;padding:14px;border-radius:8px;border:1px solid rgba(255,255,255,.08)}.messageBubble.user{margin-left:auto;background:#0e749038}.messageBubble.assistant{background:#2a2d2c}.messageBubble p{margin-bottom:0;white-space:pre-wrap;line-height:1.55;overflow-wrap:anywhere}.messageMeta{justify-content:space-between;gap:10px;margin-bottom:8px;color:#8adbbd;font-size:.8rem;font-weight:700}.messageMeta time{color:#94a3b8;font-weight:500}.composer{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border-top:1px solid rgba(255,255,255,.08);background:#0c1016b8}.composer textarea,.field textarea,.field input{width:100%;min-width:0;color:#f8fafc;background:#161818;border:1px solid rgba(148,163,184,.28);border-radius:8px;outline:none}.composer textarea{min-height:74px;max-height:180px;resize:vertical;padding:12px}.field input{height:38px;padding:0 10px}.field textarea{padding:10px;resize:vertical}.composer textarea:focus,.field textarea:focus,.field input:focus{border-color:#22d3ee;box-shadow:0 0 0 3px #22d3ee1f}.primaryButton,.secondaryButton,.iconTextButton{justify-content:center;gap:8px;min-height:38px;border-radius:8px;cursor:pointer;font-weight:700}.primaryButton{align-self:end;padding:0 15px;color:#062f35;background:#67e8f9}.primaryButton:disabled,.secondaryButton:disabled{cursor:not-allowed;opacity:.55}.secondaryButton,.iconTextButton{padding:0 12px;color:#e2e8f0;background:#343737}.inspector{display:flex;flex-direction:column;gap:14px;padding:14px;max-height:100vh;overflow-y:auto}.inspectorSection{display:flex;flex-direction:column;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.inspectorHeader{justify-content:space-between;gap:10px}.field{display:grid;gap:7px;min-width:0;color:#dbe4f0;font-size:.9rem}.fieldTitle{gap:6px}.dualFields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.smallTextarea{min-height:96px}.jsonTextarea{min-height:155px;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.82rem}.checkboxField{grid-template-columns:auto 1fr;align-items:center}.checkboxField input{width:18px;height:18px}.toolsList{display:grid;gap:8px}.toolRow{align-items:flex-start;gap:8px;padding:9px;border-radius:8px;background:#ffffff0d}.toolRow p{margin:3px 0 0;color:#aebbd0;font-size:.86rem;line-height:1.4}.notice{gap:8px;padding:10px;border-radius:8px;line-height:1.4;overflow-wrap:anywhere}.notice.success{color:#d1fae5;background:#10b98121}.notice.warning{color:#fed7aa;background:#f9731624}@media(max-width:1180px){.appShell{grid-template-columns:minmax(220px,260px) 1fr}.inspector{grid-column:1 / -1;max-height:none}}@media(max-width:760px){.appShell{grid-template-columns:1fr;padding:0}.chatWorkspace{height:72vh}.workspaceHeader,.composer{grid-template-columns:1fr}.workspaceHeader{flex-direction:column}.primaryButton{width:100%}.dualFields{grid-template-columns:1fr}}.modelName{margin:0;font-weight:600;line-height:1.5}.modelName span{display:block;color:#aab8b2;font-size:13px;font-weight:400}.toolActions{gap:8px;flex-wrap:wrap}.inspectorHeader .sectionTitle{margin-bottom:0}.sectionTitle svg,.notice svg,.toolRow svg{flex-shrink:0}.field select{background:#161818;color:inherit;border:1px solid #4c5454;border-radius:6px;padding:8px;font:inherit;width:100%}button:focus-visible,select:focus-visible{outline:2px solid #67e8f9;outline-offset:3px}.runtimeLog{font-size:12px;max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.emptyChat{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#d2ded7}.emptyChat p{font-size:20px;margin-bottom:10px}.emptyChat span{font-size:13px;color:#9ba69f}.iconTextButton:disabled{cursor:not-allowed;opacity:.5}summary{cursor:pointer;font-size:14px}.appShell.guest{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.centerScreen{min-height:100vh;max-width:420px;margin:0 auto;padding:24px 16px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:14px;text-align:center}.centerScreen .brandMark{margin:0 auto}.centerScreen .field{text-align:left}.centerScreen .primaryButton{align-self:stretch}.sectionTitle.spaced{justify-content:space-between}.sectionTitle.inline{margin-bottom:0}.iconButton.small{width:30px;height:30px}.sessionsSection{display:flex;flex-direction:column;min-height:0}.sessionList{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;max-height:38vh;overflow-x:hidden;overflow-y:auto}.sessionItem{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border-radius:8px;color:#cbd5e1;background:transparent;text-align:left;cursor:pointer}.sessionItem span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.sessionItem:hover{background:#ffffff0d}.sessionItem.active{color:#f8fafc;background:#22d3ee1f}.sessionItem svg{color:#67e8f9;flex-shrink:0}.busyDot{width:8px;height:8px;border-radius:50%;background:#fbbf24;flex-shrink:0;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{opacity:.35}}.personLine{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:.9rem}.badge{padding:1px 7px;border-radius:999px;font-size:.72rem;font-style:normal;font-weight:600;color:#fde68a;background:#f59e0b29;margin-left:6px}.badge.host{color:#a5f3fc;background:#22d3ee24}.headerTitle{min-width:0}.headerTitle h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.presence{display:flex;align-items:center;gap:6px;padding:0 10px;height:38px;border-radius:8px;color:#94a3b8;background:#2a2d2c;font-size:.85rem}.presence.online{color:#a7f3d0}.messageBubble.guest{background:#d9770629}.messageBubble.mcp{margin-left:0;background:#6366f11f}.messageBubble p+p,.messageBubble p+pre,.messageBubble pre+p{margin-top:10px}.codeBlock{margin:10px 0 0;padding:12px;border-radius:6px;background:#151717;border:1px solid rgba(255,255,255,.06);overflow-x:auto;font-family:Cascadia Code,SFMono-Regular,Consolas,monospace;font-size:.84rem;line-height:1.5}.typing{color:#94a3b8}.thumbnails{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.thumbnails img{display:block;max-width:220px;max-height:160px;border-radius:6px;border:1px solid rgba(255,255,255,.1)}.toolCall{margin-top:10px;padding:8px 10px;border-radius:6px;background:#ffffff0a;font-size:.85rem}.toolCall summary{display:flex;align-items:center;gap:6px}.toolCall summary span{margin-left:auto;color:#94a3b8}.toolCall.error summary span{color:#fdba74}.toolCall.complete summary span{color:#86efac}.toolCall pre{margin:8px 0 0;max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.78rem;color:#cbd5e1}.stageLine{color:#67e8f9;font-size:.85rem}.composerInput{display:grid;gap:6px;min-width:0}.composerActions{display:flex;align-items:flex-end;gap:8px}.attachment{display:inline-flex;align-items:center;gap:6px;justify-self:start;padding:3px 4px 3px 10px;border-radius:999px;background:#22d3ee1f;color:#cffafe;font-size:.8rem}.attachment button{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.inviteBox{display:grid;gap:8px;padding:10px;border-radius:8px;background:#161818;border:1px solid rgba(34,211,238,.3)}.inviteBox code{font-size:.78rem;color:#a5f3fc;overflow-wrap:anywhere}.linkButton{padding:0;background:none;color:#67e8f9;text-decoration:underline;cursor:pointer}.secondaryButton.danger{color:#fecaca;background:#ef444429}.contextMeter{display:grid;gap:6px}.meterLabel{display:flex;justify-content:space-between;color:#cbd5e1;font-size:.85rem}.meterTrack{height:6px;border-radius:999px;background:#ffffff14;overflow:hidden}.meterFill{height:100%;background:#22d3ee}.meterFill.hot{background:#f97316}.toast{position:fixed;right:16px;bottom:16px;max-width:min(420px,calc(100vw - 32px));z-index:10}@media(max-width:760px){.appShell.guest{grid-template-columns:1fr}.appShell.guest .chatWorkspace{order:-1;height:88vh}.composerActions .primaryButton{flex:1}.sessionList{max-height:30vh}}
